opentf-toolkit-nightly 0.56.0.dev1014__py3-none-any.whl → 0.56.0.dev1021__py3-none-any.whl
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.
- opentf/schemas/opentestfactory.org/v1/Workflow.json +24 -0
- opentf/toolkit/__init__.py +9 -2
- {opentf_toolkit_nightly-0.56.0.dev1014.dist-info → opentf_toolkit_nightly-0.56.0.dev1021.dist-info}/METADATA +1 -1
- {opentf_toolkit_nightly-0.56.0.dev1014.dist-info → opentf_toolkit_nightly-0.56.0.dev1021.dist-info}/RECORD +7 -7
- {opentf_toolkit_nightly-0.56.0.dev1014.dist-info → opentf_toolkit_nightly-0.56.0.dev1021.dist-info}/LICENSE +0 -0
- {opentf_toolkit_nightly-0.56.0.dev1014.dist-info → opentf_toolkit_nightly-0.56.0.dev1021.dist-info}/WHEEL +0 -0
- {opentf_toolkit_nightly-0.56.0.dev1014.dist-info → opentf_toolkit_nightly-0.56.0.dev1021.dist-info}/top_level.txt +0 -0
|
@@ -40,6 +40,9 @@
|
|
|
40
40
|
"name"
|
|
41
41
|
]
|
|
42
42
|
},
|
|
43
|
+
"concurrency": {
|
|
44
|
+
"$ref": "#/definitions/concurrency"
|
|
45
|
+
},
|
|
43
46
|
"defaults": {
|
|
44
47
|
"$ref": "#/definitions/defaults"
|
|
45
48
|
},
|
|
@@ -92,6 +95,9 @@
|
|
|
92
95
|
"if": {
|
|
93
96
|
"type": "string"
|
|
94
97
|
},
|
|
98
|
+
"concurrency": {
|
|
99
|
+
"$ref": "#/definitions/concurrency"
|
|
100
|
+
},
|
|
95
101
|
"runs-on": {
|
|
96
102
|
"$ref": "#/definitions/runs-on"
|
|
97
103
|
},
|
|
@@ -157,6 +163,9 @@
|
|
|
157
163
|
"if": {
|
|
158
164
|
"type": "string"
|
|
159
165
|
},
|
|
166
|
+
"concurrency": {
|
|
167
|
+
"$ref": "#/definitions/concurrency"
|
|
168
|
+
},
|
|
160
169
|
"runs-on": {
|
|
161
170
|
"$ref": "#/definitions/runs-on"
|
|
162
171
|
},
|
|
@@ -429,6 +438,21 @@
|
|
|
429
438
|
"minProperties": 1,
|
|
430
439
|
"additionalProperties": false
|
|
431
440
|
},
|
|
441
|
+
"concurrency": {
|
|
442
|
+
"type": "object",
|
|
443
|
+
"properties": {
|
|
444
|
+
"group": {
|
|
445
|
+
"type": "string"
|
|
446
|
+
},
|
|
447
|
+
"cancel-in-progress": {
|
|
448
|
+
"$ref": "#/definitions/boolean-expression"
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
"additionalProperties": false,
|
|
452
|
+
"required": [
|
|
453
|
+
"group"
|
|
454
|
+
]
|
|
455
|
+
},
|
|
432
456
|
"hooks": {
|
|
433
457
|
"type": "array",
|
|
434
458
|
"minItems": 1,
|
opentf/toolkit/__init__.py
CHANGED
|
@@ -276,9 +276,16 @@ def _dispatch_providercommand(plugin, handler: Handler, body: Dict[str, Any]) ->
|
|
|
276
276
|
_core.ExecutionError_ exception.
|
|
277
277
|
"""
|
|
278
278
|
try:
|
|
279
|
-
|
|
279
|
+
labels = body['metadata'].get('labels', {})
|
|
280
|
+
plugin.logger.debug(
|
|
281
|
+
'Calling provider function %s (%s/%s@%s).',
|
|
282
|
+
handler.__name__,
|
|
283
|
+
labels.get('opentestfactory.org/categoryPrefix', '_'),
|
|
284
|
+
labels.get('opentestfactory.org/category', '_'),
|
|
285
|
+
labels.get('opentestfactory.org/categoryVersion', '_'),
|
|
286
|
+
)
|
|
280
287
|
inputs: Dict[str, Any] = body['step'].get('with', {})
|
|
281
|
-
_ensure_inputs_match(plugin,
|
|
288
|
+
_ensure_inputs_match(plugin, labels, inputs)
|
|
282
289
|
core.publish_providerresult(handler(inputs))
|
|
283
290
|
except core.ExecutionError as err:
|
|
284
291
|
core.publish_error(str(err))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: opentf-toolkit-nightly
|
|
3
|
-
Version: 0.56.0.
|
|
3
|
+
Version: 0.56.0.dev1021
|
|
4
4
|
Summary: OpenTestFactory Orchestrator Toolkit
|
|
5
5
|
Home-page: https://gitlab.com/henixdevelopment/open-source/opentestfactory/python-toolkit
|
|
6
6
|
Author: Martin Lafaix
|
|
@@ -8,7 +8,7 @@ opentf/commons/schemas.py,sha256=YSCvlmqc7satt-OqIoYXnmhOyo9h8wIpNyKaBAY4u9c,403
|
|
|
8
8
|
opentf/commons/selectors.py,sha256=DEpLgRAr5HXSpSYI4liXP2hLUTvOSexFa9Vfa1xIQTk,7134
|
|
9
9
|
opentf/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
10
|
opentf/schemas/abac.opentestfactory.org/v1alpha1/Policy.json,sha256=JXsfNAPSEYggeyaDutSQBeG38o4Bmcr70dPLWWeqIh8,2105
|
|
11
|
-
opentf/schemas/opentestfactory.org/v1/Workflow.json,sha256=
|
|
11
|
+
opentf/schemas/opentestfactory.org/v1/Workflow.json,sha256=mpWxJfP3aV3sYzVxxWOivD55Top4J5WXTTKBzp7gjIw,22486
|
|
12
12
|
opentf/schemas/opentestfactory.org/v1alpha1/AgentRegistration.json,sha256=NQykqU-lKE8LtBhBiFUcpVJq00MRG6dZsoM1xedx6uQ,1230
|
|
13
13
|
opentf/schemas/opentestfactory.org/v1alpha1/AllureCollectorOutput.json,sha256=-L9DDWA0A4x54bPMn4m6Qwi2tf2nHvzIPFOElTjaVck,1366
|
|
14
14
|
opentf/schemas/opentestfactory.org/v1alpha1/ChannelHandlerHooks.json,sha256=6K6m9praw_f2biCMHfTsHPYia5z2jq10dciRLqf3ogI,1239
|
|
@@ -46,11 +46,11 @@ opentf/schemas/opentestfactory.org/v1beta1/Workflow.json,sha256=QZ8mM9PhzsI9gTmw
|
|
|
46
46
|
opentf/schemas/opentestfactory.org/v1beta2/ServiceConfig.json,sha256=rEvK2YWL5lG94_qYgR_GnLWNsaQhaQ-2kuZdWJr5NnY,3517
|
|
47
47
|
opentf/scripts/launch_java_service.sh,sha256=S0jAaCuv2sZy0Gf2NGBuPX-eD531rcM-b0fNyhmzSjw,2423
|
|
48
48
|
opentf/scripts/startup.py,sha256=Da2zo93pBWbdRmj-wgekgLcF94rpNc3ZkbvR8R0w8XY,21279
|
|
49
|
-
opentf/toolkit/__init__.py,sha256=
|
|
49
|
+
opentf/toolkit/__init__.py,sha256=QZ_JPTPvyuSR8wIf4ogxJ-JSWip8Vw95_NzTAvLE2lM,21958
|
|
50
50
|
opentf/toolkit/channels.py,sha256=6xcVKHUK2FdyVKIQmPQbakngfVuQDzCcD_lInOdKpro,17171
|
|
51
51
|
opentf/toolkit/core.py,sha256=MvvWUrS4dvo3Qrd_Yl9uND3CllL0qtMi-y1S-Na1uQs,9621
|
|
52
|
-
opentf_toolkit_nightly-0.56.0.
|
|
53
|
-
opentf_toolkit_nightly-0.56.0.
|
|
54
|
-
opentf_toolkit_nightly-0.56.0.
|
|
55
|
-
opentf_toolkit_nightly-0.56.0.
|
|
56
|
-
opentf_toolkit_nightly-0.56.0.
|
|
52
|
+
opentf_toolkit_nightly-0.56.0.dev1021.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
53
|
+
opentf_toolkit_nightly-0.56.0.dev1021.dist-info/METADATA,sha256=KV95pzKONarcc6vniEDbqOkix6-Knsxq-BsuRQFWMHA,1946
|
|
54
|
+
opentf_toolkit_nightly-0.56.0.dev1021.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
55
|
+
opentf_toolkit_nightly-0.56.0.dev1021.dist-info/top_level.txt,sha256=_gPuE6GTT6UNXy1DjtmQSfCcZb_qYA2vWmjg7a30AGk,7
|
|
56
|
+
opentf_toolkit_nightly-0.56.0.dev1021.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|