-
Notifications
You must be signed in to change notification settings - Fork 0
/
fastlane.yml
155 lines (155 loc) · 5.33 KB
/
fastlane.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
lanes:
generate-my-report:
title: Generate my report
briefing: We'll generate an individual report on project x
questions:
- id: report_type
type: select-dropdown
title: What kind of report?
description: Can have a full one or a short, compact one
options:
- id: Compact
- id: Full
- id: customer_no
type: text
title: Customer \#
#hasConfirm: false # (later: implement confirm step w/ accept terms)
#access: invite (later: different access modes)
#analytics: none (later: add analytics - e.g. GA)
endpoint:
type: api
format: markdown
method: get
endpoint: http://localhost:8080/mocks/some-report.md
#lambda: (later: possibility to call Lambda directly)
#agentScript: (later: possibility to have an executor agent)
authorization: Bearer 123
processing:
type: default
#template: (later: allow HTML/MD templates to format e.g. JSON responses)
#templateFormat: (later: see prev)
permissions:
request-express-change:
title: Request express change
questions:
- id: ident_type
type: select-dropdown
title: How to delete?
options:
- id: id
title: By ID
- id: tag
title: "By Tag"
- id: id_tag
type: text
title: ID/Tag
description: Give the ID or tag to remove
#hasConfirm: false # (later: implement confirm step w/ accept terms)
#access: invite (later: different access modes)
#analytics: none (later: add analytics - e.g. GA)
endpoint:
type: api
format: markdown
method: get
endpoint: http://localhost:8080/mocks/remove-success.md
#lambda: (later: possibility to call Lambda directly)
#agentScript: (later: possibility to have an executor agent)
authorization: Bearer 123
processing:
type: default
#template: (later: allow HTML/MD templates to format e.g. JSON responses)
#templateFormat: (later: see prev)
permissions:
reserve-my-timeslot:
title: Reserve my timeslot
questions:
- id: about
type: select-dropdown
title: What can we help you with?
options:
- id: Fastlane solutions
- id: NiFi consulting
- id: details
type: text-multiline
title: Details
description: Feel free to share some more details
- id: time
type: select-dropdown
title: Select a time
limited: my-timeslots # here: use all available options
#hasConfirm: false # (later: implement confirm step w/ accept terms)
#access: invite (later: different access modes)
#analytics: none (later: add analytics - e.g. GA)
endpoint:
type: api
format: html
method: get
endpoint: http://localhost:8080/mocks/reserve-timeslot.html
#lambda: (later: possibility to call Lambda directly)
#agentScript: (later: possibility to have an executor agent)
authorization: Bearer 123
processing:
type: default
#template: (later: allow HTML/MD templates to format e.g. JSON responses)
#templateFormat: (later: see prev)
permissions:
jupyter-test: # first full integration test
title: Jupyter-test
questions:
- id: upper
type: text
title: How far up should we go?
description: (we'll count up to the number you give)
endpoint:
type: api
format: html
method: get
endpoint: http://localhost:5000/?code=topsecret123
#authorization:
processing:
type: default
permissions:
landings:
- id: tm200sro
template: topmixer200
links:
- link: http://localhost:8080/mocks/gettingstarted-sro.pdf
title: Your personal getting started guide
permissions:
landing-templates:
topmixer200:
title: Topmixer 200
briefing: We've put together some more info below
links:
- link: http://localhost:8080/mocks/gettingstarted.pdf
title: Getting started
- link: http://localhost:8080/mocks/manual.pdf
title: Manual
- link: http://localhost:8080/mocks/topmixer200-accessories.html
title: Accessories
- lane: reserve-my-timeslot
title: Book onboarding session
limited-resources:
my-timeslots:
- id: jan22_14_00
title: Jan 22, 14:00
count: 3
- id: jan23_14_00
title: Jan 23, 14:00
count: 2
users: # generate hashes by e.g. salt = require('crypto').randomBytes(16).toString('hex'); salt + '$' + require('crypto').createHash('sha256').update(salt + '$' + '<password>').digest('hex')
- user: [email protected]
passwordHash: 09ae9d46385a12d7b0c1852bc6a4fb9b$1dc41ed2ddb274e3b7b4e8981a386ad8e326a87252a87a2bd48f64f2e0e502bc # topsecret
admins:
apiKeys: # e.g. require('crypto').randomBytes(48).toString('base64') gives a 64 char Key
- key: M9aHScjTfUTmYpBG3onrEZqUKN7SYdlNOBYwrN4DSyJWejmZnD6WOfFajo2Yyhhl
user: [email protected]
baseUrl: http://localhost:8090