@toa.io/extensions.exposition 1.0.0-alpha.271 → 1.0.0-alpha.273
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -0
- package/components/{exposition.stash → exposition.atom}/manifest.toa.yaml +4 -4
- package/components/{exposition.stash → exposition.atom}/operations/meter.js +1 -1
- package/components/exposition.octets/manifest.toa.yaml +28 -10
- package/components/exposition.octets/operations/put.js +20 -5
- package/components/identity.bans/manifest.toa.yaml +26 -7
- package/components/identity.bans/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.basic/manifest.toa.yaml +106 -30
- package/components/identity.basic/operations/authenticate.js +6 -3
- package/components/identity.basic/operations/authenticate.js.map +1 -1
- package/components/identity.basic/operations/incept.js +3 -2
- package/components/identity.basic/operations/incept.js.map +1 -1
- package/components/identity.basic/operations/transit.js +16 -5
- package/components/identity.basic/operations/transit.js.map +1 -1
- package/components/identity.basic/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.basic/source/authenticate.ts +7 -3
- package/components/identity.basic/source/incept.ts +3 -2
- package/components/identity.basic/source/transit.ts +19 -5
- package/components/identity.credentials/manifest.toa.yaml +34 -13
- package/components/identity.credentials/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.federation/manifest.toa.yaml +120 -28
- package/components/identity.federation/operations/authenticate.js +3 -2
- package/components/identity.federation/operations/authenticate.js.map +1 -1
- package/components/identity.federation/operations/create.js +4 -2
- package/components/identity.federation/operations/create.js.map +1 -1
- package/components/identity.federation/operations/lib/errors.d.ts +70 -11
- package/components/identity.federation/operations/lib/errors.js +40 -11
- package/components/identity.federation/operations/lib/errors.js.map +1 -1
- package/components/identity.federation/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.federation/source/authenticate.ts +3 -2
- package/components/identity.federation/source/create.ts +4 -2
- package/components/identity.federation/source/lib/errors.ts +49 -12
- package/components/identity.keys/manifest.toa.yaml +14 -6
- package/components/identity.keys/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.otp/manifest.toa.yaml +44 -15
- package/components/identity.otp/operations/authenticate.js +9 -4
- package/components/identity.otp/operations/authenticate.js.map +1 -1
- package/components/identity.otp/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.otp/source/authenticate.ts +11 -4
- package/components/identity.passkeys/manifest.toa.yaml +38 -8
- package/components/identity.passkeys/operations/authenticate.js +3 -2
- package/components/identity.passkeys/operations/authenticate.js.map +1 -1
- package/components/identity.passkeys/operations/create.js +6 -3
- package/components/identity.passkeys/operations/create.js.map +1 -1
- package/components/identity.passkeys/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.passkeys/operations/use.js +6 -3
- package/components/identity.passkeys/operations/use.js.map +1 -1
- package/components/identity.passkeys/source/authenticate.ts +3 -2
- package/components/identity.passkeys/source/create.ts +7 -3
- package/components/identity.passkeys/source/use.ts +7 -3
- package/components/identity.roles/manifest.toa.yaml +41 -10
- package/components/identity.roles/operations/grant.js +3 -2
- package/components/identity.roles/operations/grant.js.map +1 -1
- package/components/identity.roles/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.roles/source/grant.ts +3 -2
- package/components/identity.tokens/manifest.toa.yaml +99 -39
- package/components/identity.tokens/operations/authenticate.js +6 -3
- package/components/identity.tokens/operations/authenticate.js.map +1 -1
- package/components/identity.tokens/operations/decrypt.js +9 -4
- package/components/identity.tokens/operations/decrypt.js.map +1 -1
- package/components/identity.tokens/operations/encrypt.js +3 -2
- package/components/identity.tokens/operations/encrypt.js.map +1 -1
- package/components/identity.tokens/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.tokens/source/authenticate.ts +7 -3
- package/components/identity.tokens/source/decrypt.ts +11 -4
- package/components/identity.tokens/source/encrypt.ts +3 -2
- package/documentation/identity.md +4 -1
- package/documentation/notes/throttling.md +1 -1
- package/features/cors.feature +1 -1
- package/features/dev.feature +1 -1
- package/features/identity.federation.feature +3 -2
- package/features/{identtiy.tokens.custom.feature → identity.tokens.custom.feature} +39 -0
- package/features/introspection.feature +27 -34
- package/features/map.feature +1 -1
- package/features/octets.download.feature +1 -1
- package/features/octets.meta.feature +1 -1
- package/features/passkeys.feature +8 -8
- package/features/query.feature +27 -0
- package/features/require.feature +2 -2
- package/features/response.feature +3 -3
- package/features/steps/Components.ts +12 -4
- package/features/steps/Database.ts +9 -0
- package/features/steps/Gateway.ts +13 -13
- package/features/steps/HTTP.ts +3 -5
- package/features/steps/Parameters.ts +2 -3
- package/features/steps/Realtime.ts +4 -4
- package/features/steps/Workspace.ts +8 -3
- package/features/steps/components/audit/manifest.toa.yaml +12 -5
- package/features/steps/components/echo/manifest.toa.yaml +33 -8
- package/features/steps/components/notify/manifest.toa.yaml +12 -5
- package/features/steps/components/octets.tester/manifest.toa.yaml +43 -14
- package/features/steps/components/orders/manifest.toa.yaml +22 -5
- package/features/steps/components/pots/manifest.toa.yaml +71 -17
- package/features/steps/components/pricing/manifest.toa.yaml +8 -2
- package/features/steps/components/sequences/manifest.toa.yaml +3 -1
- package/features/steps/components/users/manifest.toa.yaml +18 -3
- package/features/steps/components/users.properties/manifest.toa.yaml +12 -2
- package/package.json +6 -7
- package/schemas/annotation.cos.yaml +37 -17
- package/schemas/directive.cos.yaml +7 -3
- package/schemas/io/throttle.cos.yaml +47 -8
- package/schemas/method.cos.yaml +21 -9
- package/schemas/node.cos.yaml +22 -7
- package/schemas/octets/delete.cos.yaml +15 -2
- package/schemas/octets/get.cos.yaml +5 -2
- package/schemas/octets/put.cos.yaml +6 -3
- package/schemas/octets/workflow.cos.yaml +0 -1
- package/schemas/query.cos.yaml +31 -14
- package/schemas/querystring.cos.yaml +19 -7
- package/schemas/range.cos.yaml +10 -2
- package/schemas/route.cos.yaml +6 -2
- package/source/Branch.test.ts +37 -0
- package/source/Branch.ts +37 -0
- package/source/Factory.ts +5 -5
- package/source/Gateway.ts +29 -14
- package/source/HTTP/formats/yaml.test.ts +4 -2
- package/source/RTD/Tree.ts +4 -1
- package/source/Tenant.ts +15 -4
- package/source/deployment.ts +3 -4
- package/source/directives/io/IO.ts +2 -2
- package/source/directives/io/lib/throttle/Sync.ts +4 -4
- package/source/directives/map/Headers.ts +8 -1
- package/source/directives/octets/Put.ts +6 -3
- package/source/root.ts +2 -2
- package/transpiled/Branch.d.ts +23 -0
- package/transpiled/Branch.js +16 -0
- package/transpiled/Branch.js.map +1 -1
- package/transpiled/Factory.js +4 -4
- package/transpiled/Factory.js.map +1 -1
- package/transpiled/Gateway.d.ts +7 -0
- package/transpiled/Gateway.js +26 -8
- package/transpiled/Gateway.js.map +1 -1
- package/transpiled/RTD/Tree.js +4 -1
- package/transpiled/RTD/Tree.js.map +1 -1
- package/transpiled/Tenant.d.ts +8 -2
- package/transpiled/Tenant.js +12 -2
- package/transpiled/Tenant.js.map +1 -1
- package/transpiled/deployment.js +3 -4
- package/transpiled/deployment.js.map +1 -1
- package/transpiled/directives/io/IO.d.ts +1 -1
- package/transpiled/directives/io/IO.js +2 -2
- package/transpiled/directives/io/IO.js.map +1 -1
- package/transpiled/directives/io/lib/throttle/Sync.d.ts +2 -2
- package/transpiled/directives/io/lib/throttle/Sync.js +4 -4
- package/transpiled/directives/io/lib/throttle/Sync.js.map +1 -1
- package/transpiled/directives/map/Headers.js +7 -1
- package/transpiled/directives/map/Headers.js.map +1 -1
- package/transpiled/directives/octets/Put.js.map +1 -1
- package/transpiled/root.js +1 -1
- package/transpiled/root.js.map +1 -1
- package/transpiled/tsconfig.tsbuildinfo +1 -1
|
@@ -3,11 +3,18 @@ name: audit
|
|
|
3
3
|
operations:
|
|
4
4
|
record:
|
|
5
5
|
input:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
properties:
|
|
7
|
+
id:
|
|
8
|
+
type: string
|
|
9
|
+
title:
|
|
10
|
+
type: string
|
|
11
|
+
volume:
|
|
12
|
+
type: number
|
|
13
|
+
price:
|
|
14
|
+
type: number
|
|
15
|
+
type: object
|
|
16
|
+
output:
|
|
17
|
+
{}
|
|
11
18
|
|
|
12
19
|
receivers:
|
|
13
20
|
orders.created: record
|
|
@@ -3,24 +3,48 @@ name: echo
|
|
|
3
3
|
operations:
|
|
4
4
|
compute:
|
|
5
5
|
input:
|
|
6
|
-
|
|
6
|
+
properties:
|
|
7
|
+
name:
|
|
8
|
+
type: string
|
|
9
|
+
type: object
|
|
10
|
+
required:
|
|
11
|
+
- name
|
|
7
12
|
affect:
|
|
8
13
|
input:
|
|
9
|
-
|
|
14
|
+
properties:
|
|
15
|
+
name:
|
|
16
|
+
type: string
|
|
17
|
+
type: object
|
|
18
|
+
required:
|
|
19
|
+
- name
|
|
10
20
|
identity:
|
|
11
21
|
input:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
22
|
+
properties:
|
|
23
|
+
identity:
|
|
24
|
+
properties:
|
|
25
|
+
id:
|
|
26
|
+
type: string
|
|
27
|
+
roles:
|
|
28
|
+
type: array
|
|
29
|
+
items:
|
|
30
|
+
type: string
|
|
31
|
+
type: object
|
|
32
|
+
type: object
|
|
15
33
|
parameters:
|
|
16
|
-
input:
|
|
34
|
+
input:
|
|
35
|
+
type: object
|
|
36
|
+
properties:
|
|
37
|
+
a:
|
|
38
|
+
type: string
|
|
39
|
+
b:
|
|
40
|
+
type: string
|
|
41
|
+
output:
|
|
17
42
|
type: object
|
|
18
43
|
properties:
|
|
19
44
|
a:
|
|
20
45
|
type: string
|
|
21
46
|
b:
|
|
22
47
|
type: string
|
|
23
|
-
output: *parameters
|
|
24
48
|
echo:
|
|
25
49
|
input:
|
|
26
50
|
type: object
|
|
@@ -28,4 +52,5 @@ operations:
|
|
|
28
52
|
input:
|
|
29
53
|
type: object
|
|
30
54
|
properties:
|
|
31
|
-
buf:
|
|
55
|
+
buf:
|
|
56
|
+
type: string
|
|
@@ -3,11 +3,18 @@ name: notify
|
|
|
3
3
|
operations:
|
|
4
4
|
send:
|
|
5
5
|
input:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
properties:
|
|
7
|
+
id:
|
|
8
|
+
type: string
|
|
9
|
+
title:
|
|
10
|
+
type: string
|
|
11
|
+
volume:
|
|
12
|
+
type: number
|
|
13
|
+
price:
|
|
14
|
+
type: number
|
|
15
|
+
type: object
|
|
16
|
+
output:
|
|
17
|
+
{}
|
|
11
18
|
|
|
12
19
|
receivers:
|
|
13
20
|
orders.created: send
|
|
@@ -6,13 +6,27 @@ storages: octets
|
|
|
6
6
|
operations:
|
|
7
7
|
foo: &operation
|
|
8
8
|
input:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
properties:
|
|
10
|
+
identity:
|
|
11
|
+
type: string
|
|
12
|
+
parameters:
|
|
13
|
+
type: object
|
|
14
|
+
steps:
|
|
15
|
+
type: object
|
|
16
|
+
authority:
|
|
17
|
+
type: string
|
|
18
|
+
storage:
|
|
19
|
+
type: string
|
|
20
|
+
path:
|
|
21
|
+
type: string
|
|
22
|
+
entry:
|
|
23
|
+
type: object
|
|
24
|
+
type: object
|
|
25
|
+
required:
|
|
26
|
+
- authority
|
|
27
|
+
- storage
|
|
28
|
+
- path
|
|
29
|
+
- entry
|
|
16
30
|
bar: *operation
|
|
17
31
|
baz: *operation
|
|
18
32
|
err: *operation
|
|
@@ -25,18 +39,33 @@ operations:
|
|
|
25
39
|
identity: *operation
|
|
26
40
|
redirect:
|
|
27
41
|
input:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
42
|
+
properties:
|
|
43
|
+
parameters:
|
|
44
|
+
type: object
|
|
45
|
+
patternProperties:
|
|
46
|
+
^.+$:
|
|
47
|
+
type: string
|
|
48
|
+
authority:
|
|
49
|
+
type: string
|
|
50
|
+
path:
|
|
51
|
+
type: string
|
|
52
|
+
type: object
|
|
53
|
+
required:
|
|
54
|
+
- authority
|
|
55
|
+
- path
|
|
31
56
|
output:
|
|
32
57
|
type: object
|
|
33
58
|
properties:
|
|
34
|
-
url:
|
|
59
|
+
url:
|
|
60
|
+
type: string
|
|
35
61
|
options:
|
|
36
62
|
type: object
|
|
37
63
|
properties:
|
|
38
|
-
method:
|
|
39
|
-
|
|
40
|
-
|
|
64
|
+
method:
|
|
65
|
+
type: string
|
|
66
|
+
headers:
|
|
67
|
+
type: object
|
|
68
|
+
body:
|
|
69
|
+
type: string
|
|
41
70
|
required:
|
|
42
71
|
- url
|
|
@@ -2,14 +2,31 @@ name: orders
|
|
|
2
2
|
|
|
3
3
|
entity:
|
|
4
4
|
schema:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
properties:
|
|
6
|
+
title:
|
|
7
|
+
type: string
|
|
8
|
+
volume:
|
|
9
|
+
type: number
|
|
10
|
+
price:
|
|
11
|
+
type: number
|
|
12
|
+
type: object
|
|
13
|
+
required:
|
|
14
|
+
- title
|
|
15
|
+
- volume
|
|
8
16
|
|
|
9
17
|
operations:
|
|
10
18
|
create:
|
|
11
19
|
concurrency: retry
|
|
12
20
|
query: false
|
|
13
21
|
input:
|
|
14
|
-
|
|
15
|
-
|
|
22
|
+
properties:
|
|
23
|
+
title:
|
|
24
|
+
type: string
|
|
25
|
+
default: .
|
|
26
|
+
volume:
|
|
27
|
+
type: string
|
|
28
|
+
default: .
|
|
29
|
+
type: object
|
|
30
|
+
required:
|
|
31
|
+
- title
|
|
32
|
+
- volume
|
|
@@ -2,9 +2,22 @@ name: pots
|
|
|
2
2
|
|
|
3
3
|
entity:
|
|
4
4
|
schema:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
properties:
|
|
6
|
+
title:
|
|
7
|
+
type: string
|
|
8
|
+
maxLength: 64
|
|
9
|
+
volume:
|
|
10
|
+
type: number
|
|
11
|
+
exclusiveMinimum: 0
|
|
12
|
+
maximum: 1000
|
|
13
|
+
temperature:
|
|
14
|
+
type: number
|
|
15
|
+
exclusiveMinimum: 0
|
|
16
|
+
maximum: 300
|
|
17
|
+
type: object
|
|
18
|
+
required:
|
|
19
|
+
- title
|
|
20
|
+
- volume
|
|
8
21
|
index:
|
|
9
22
|
text:
|
|
10
23
|
title: text
|
|
@@ -14,27 +27,68 @@ operations:
|
|
|
14
27
|
query: false
|
|
15
28
|
forward: transit
|
|
16
29
|
input:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
30
|
+
properties:
|
|
31
|
+
temperature:
|
|
32
|
+
type: string
|
|
33
|
+
default: .
|
|
34
|
+
title:
|
|
35
|
+
type: string
|
|
36
|
+
default: .
|
|
37
|
+
volume:
|
|
38
|
+
type: string
|
|
39
|
+
default: .
|
|
40
|
+
type: object
|
|
41
|
+
required:
|
|
42
|
+
- title
|
|
43
|
+
- volume
|
|
20
44
|
errors:
|
|
21
45
|
- NO_WAY
|
|
22
46
|
- WONT_CREATE
|
|
23
47
|
transit:
|
|
24
48
|
concurrency: retry
|
|
25
49
|
input:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
50
|
+
properties:
|
|
51
|
+
title:
|
|
52
|
+
type: string
|
|
53
|
+
default: .
|
|
54
|
+
volume:
|
|
55
|
+
type: string
|
|
56
|
+
default: .
|
|
57
|
+
temperature:
|
|
58
|
+
type: string
|
|
59
|
+
default: .
|
|
60
|
+
type: object
|
|
29
61
|
observe:
|
|
30
62
|
output:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
63
|
+
properties:
|
|
64
|
+
id:
|
|
65
|
+
type: string
|
|
66
|
+
title:
|
|
67
|
+
type: string
|
|
68
|
+
volume:
|
|
69
|
+
type: number
|
|
70
|
+
temperature:
|
|
71
|
+
type: number
|
|
72
|
+
type: object
|
|
35
73
|
enumerate:
|
|
36
74
|
output:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
75
|
+
type: array
|
|
76
|
+
items:
|
|
77
|
+
properties:
|
|
78
|
+
id:
|
|
79
|
+
type: string
|
|
80
|
+
default: .
|
|
81
|
+
title:
|
|
82
|
+
type: string
|
|
83
|
+
default: .
|
|
84
|
+
volume:
|
|
85
|
+
type: string
|
|
86
|
+
default: .
|
|
87
|
+
temperature:
|
|
88
|
+
type: string
|
|
89
|
+
default: .
|
|
90
|
+
type: object
|
|
91
|
+
required:
|
|
92
|
+
- id
|
|
93
|
+
- title
|
|
94
|
+
- volume
|
|
@@ -2,15 +2,30 @@ name: users
|
|
|
2
2
|
|
|
3
3
|
entity:
|
|
4
4
|
schema:
|
|
5
|
-
|
|
5
|
+
properties:
|
|
6
|
+
name:
|
|
7
|
+
type: string
|
|
8
|
+
type: object
|
|
6
9
|
|
|
7
10
|
operations:
|
|
8
11
|
transit:
|
|
9
12
|
concurrency: retry
|
|
10
13
|
input:
|
|
11
|
-
|
|
14
|
+
properties:
|
|
15
|
+
name:
|
|
16
|
+
type: string
|
|
17
|
+
default: .
|
|
18
|
+
type: object
|
|
19
|
+
required:
|
|
20
|
+
- name
|
|
12
21
|
create:
|
|
13
22
|
concurrency: retry
|
|
14
23
|
query: false
|
|
15
24
|
input:
|
|
16
|
-
|
|
25
|
+
properties:
|
|
26
|
+
name:
|
|
27
|
+
type: string
|
|
28
|
+
default: .
|
|
29
|
+
type: object
|
|
30
|
+
required:
|
|
31
|
+
- name
|
|
@@ -3,11 +3,21 @@ name: properties
|
|
|
3
3
|
|
|
4
4
|
entity:
|
|
5
5
|
schema:
|
|
6
|
-
|
|
6
|
+
properties:
|
|
7
|
+
newbie:
|
|
8
|
+
type: boolean
|
|
9
|
+
default: false
|
|
10
|
+
type: object
|
|
7
11
|
associated: true
|
|
8
12
|
|
|
9
13
|
operations:
|
|
10
14
|
transit:
|
|
11
15
|
concurrency: retry
|
|
12
16
|
input:
|
|
13
|
-
|
|
17
|
+
properties:
|
|
18
|
+
newbie:
|
|
19
|
+
type: string
|
|
20
|
+
default: .
|
|
21
|
+
type: object
|
|
22
|
+
required:
|
|
23
|
+
- newbie
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toa.io/extensions.exposition",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.273",
|
|
4
4
|
"description": "Toa Exposition",
|
|
5
5
|
"author": "temich <tema.gurtovoy@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/toa-io/toa#readme",
|
|
@@ -18,12 +18,11 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@simplewebauthn/server": "13.3.3",
|
|
21
|
-
"@toa.io/core": "1.0.0-alpha.
|
|
22
|
-
"@toa.io/generic": "1.0.0-alpha.
|
|
23
|
-
"@toa.io/schemas": "1.0.0-alpha.
|
|
21
|
+
"@toa.io/core": "1.0.0-alpha.273",
|
|
22
|
+
"@toa.io/generic": "1.0.0-alpha.273",
|
|
23
|
+
"@toa.io/schemas": "1.0.0-alpha.273",
|
|
24
24
|
"bcryptjs": "3.0.3",
|
|
25
25
|
"content-type": "2.1.0",
|
|
26
|
-
"error-value": "0.4.4",
|
|
27
26
|
"jose": "6.2.10",
|
|
28
27
|
"js-yaml": "5.4.1",
|
|
29
28
|
"lru-cache": "11.5.2",
|
|
@@ -31,7 +30,7 @@
|
|
|
31
30
|
"minimatch": "10.2.6",
|
|
32
31
|
"msgpackr": "2.1.0",
|
|
33
32
|
"negotiator": "1.1.0",
|
|
34
|
-
"openspan": "1.0.0-alpha.
|
|
33
|
+
"openspan": "1.0.0-alpha.272",
|
|
35
34
|
"paseto": "3.1.4"
|
|
36
35
|
},
|
|
37
36
|
"scripts": {
|
|
@@ -62,5 +61,5 @@
|
|
|
62
61
|
},
|
|
63
62
|
"testEnvironment": "node"
|
|
64
63
|
},
|
|
65
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "ad3284850ece95ffd5325fd0995707fc144c9c3d"
|
|
66
65
|
}
|
|
@@ -1,17 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
class:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
properties:
|
|
2
|
+
class:
|
|
3
|
+
type: string
|
|
4
|
+
resources:
|
|
5
|
+
# `null` deploys the service without any, which every deployment has to state one way
|
|
6
|
+
# or the other — see `migrations/263.md`.
|
|
7
|
+
type: object
|
|
8
|
+
nullable: true
|
|
9
|
+
properties:
|
|
10
|
+
cpu:
|
|
11
|
+
type: array
|
|
12
|
+
items:
|
|
13
|
+
type: string
|
|
14
|
+
minItems: 2
|
|
15
|
+
maxItems: 2
|
|
16
|
+
memory:
|
|
17
|
+
type: array
|
|
18
|
+
items:
|
|
19
|
+
type: string
|
|
20
|
+
minItems: 2
|
|
21
|
+
maxItems: 2
|
|
22
|
+
annotations:
|
|
23
|
+
type: object
|
|
24
|
+
patternProperties:
|
|
25
|
+
^.+$:
|
|
26
|
+
type: string
|
|
27
|
+
debug:
|
|
28
|
+
type: boolean
|
|
29
|
+
/: {}
|
|
30
|
+
authorities:
|
|
31
|
+
type: object
|
|
32
|
+
patternProperties:
|
|
33
|
+
^.+$:
|
|
34
|
+
type: string
|
|
35
|
+
type: object
|
|
36
|
+
required:
|
|
37
|
+
- authorities
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
definitions:
|
|
2
|
-
component:
|
|
2
|
+
component:
|
|
3
3
|
anyOf:
|
|
4
4
|
- type: string
|
|
5
|
-
enum:
|
|
5
|
+
enum:
|
|
6
|
+
- ip
|
|
7
|
+
- path
|
|
8
|
+
- route
|
|
9
|
+
- identity
|
|
6
10
|
- type: object
|
|
7
11
|
properties:
|
|
8
12
|
segment:
|
|
9
13
|
type: string
|
|
10
|
-
required:
|
|
14
|
+
required:
|
|
15
|
+
- segment
|
|
11
16
|
additionalProperties: false
|
|
12
|
-
condition:
|
|
17
|
+
condition:
|
|
13
18
|
type: object
|
|
14
19
|
properties:
|
|
15
20
|
status:
|
|
@@ -18,15 +23,49 @@ type: object
|
|
|
18
23
|
properties:
|
|
19
24
|
key:
|
|
20
25
|
anyOf:
|
|
21
|
-
-
|
|
26
|
+
- anyOf:
|
|
27
|
+
- type: string
|
|
28
|
+
enum:
|
|
29
|
+
- ip
|
|
30
|
+
- path
|
|
31
|
+
- route
|
|
32
|
+
- identity
|
|
33
|
+
- type: object
|
|
34
|
+
properties:
|
|
35
|
+
segment:
|
|
36
|
+
type: string
|
|
37
|
+
required:
|
|
38
|
+
- segment
|
|
39
|
+
additionalProperties: false
|
|
22
40
|
- type: array
|
|
23
|
-
items:
|
|
41
|
+
items:
|
|
42
|
+
anyOf:
|
|
43
|
+
- type: string
|
|
44
|
+
enum:
|
|
45
|
+
- ip
|
|
46
|
+
- path
|
|
47
|
+
- route
|
|
48
|
+
- identity
|
|
49
|
+
- type: object
|
|
50
|
+
properties:
|
|
51
|
+
segment:
|
|
52
|
+
type: string
|
|
53
|
+
required:
|
|
54
|
+
- segment
|
|
55
|
+
additionalProperties: false
|
|
24
56
|
minItems: 1
|
|
25
57
|
condition:
|
|
26
58
|
anyOf:
|
|
27
|
-
-
|
|
59
|
+
- type: object
|
|
60
|
+
properties:
|
|
61
|
+
status:
|
|
62
|
+
type: number
|
|
28
63
|
- type: array
|
|
29
|
-
items:
|
|
64
|
+
items:
|
|
65
|
+
type: object
|
|
66
|
+
properties:
|
|
67
|
+
status:
|
|
68
|
+
type: number
|
|
30
69
|
minItems: 1
|
|
31
70
|
requests:
|
|
32
71
|
type: integer
|
package/schemas/method.cos.yaml
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
properties:
|
|
2
|
+
verb:
|
|
3
|
+
type: string
|
|
4
|
+
pattern: ^(GET|HEAD|POST|PUT|PATCH|DELETE|LOCK|UNLOCK)$
|
|
5
|
+
mapping:
|
|
6
|
+
properties:
|
|
7
|
+
namespace:
|
|
8
|
+
type: string
|
|
9
|
+
component:
|
|
10
|
+
type: string
|
|
11
|
+
endpoint:
|
|
12
|
+
type: string
|
|
13
|
+
query:
|
|
14
|
+
$ref: query
|
|
15
|
+
additionalProperties: false
|
|
16
|
+
type: object
|
|
17
|
+
directives:
|
|
18
|
+
type: array
|
|
19
|
+
items:
|
|
20
|
+
$ref: directive
|
|
21
|
+
type: object
|
package/schemas/node.cos.yaml
CHANGED
|
@@ -1,7 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
properties:
|
|
2
|
+
protected:
|
|
3
|
+
type: boolean
|
|
4
|
+
isolated:
|
|
5
|
+
type: boolean
|
|
6
|
+
forward:
|
|
7
|
+
type: string
|
|
8
|
+
routes:
|
|
9
|
+
type: array
|
|
10
|
+
items:
|
|
11
|
+
$ref: route
|
|
12
|
+
methods:
|
|
13
|
+
type: array
|
|
14
|
+
items:
|
|
15
|
+
$ref: method
|
|
16
|
+
directives:
|
|
17
|
+
type: array
|
|
18
|
+
items:
|
|
19
|
+
$ref: directive
|
|
20
|
+
version:
|
|
21
|
+
type: string
|
|
22
|
+
type: object
|
|
@@ -1,2 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
properties:
|
|
2
|
+
workflow:
|
|
3
|
+
oneOf:
|
|
4
|
+
- type: object
|
|
5
|
+
patternProperties:
|
|
6
|
+
^.+$:
|
|
7
|
+
type: string
|
|
8
|
+
- type: array
|
|
9
|
+
items:
|
|
10
|
+
type: object
|
|
11
|
+
patternProperties:
|
|
12
|
+
^.+$:
|
|
13
|
+
type: string
|
|
14
|
+
nullable: true
|
|
15
|
+
type: object
|