summaryrefslogtreecommitdiffstats
path: root/test/ansible-python-dg/mock-payloads/get_job-template-launch.json
diff options
context:
space:
mode:
authorJozsef Csongvai <jozsef.csongvai@bell.ca>2021-01-19 12:32:04 -0500
committerJozsef Csongvai <jozsef.csongvai@bell.ca>2021-01-20 10:02:39 -0500
commite92fce768cb792f11920f45fdbb38b3af69e212f (patch)
tree650d0bd49b1c98b49535d3f8aa9f98bb97255532 /test/ansible-python-dg/mock-payloads/get_job-template-launch.json
parentbfffa2d982cc506979aaa0b96b6bb352c8dda9a7 (diff)
Update to latest version
Issue-ID: TEST-295 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: Ie14e2061c1e0931bf3d555e54c79bb736d140d5c
Diffstat (limited to 'test/ansible-python-dg/mock-payloads/get_job-template-launch.json')
-rw-r--r--test/ansible-python-dg/mock-payloads/get_job-template-launch.json46
1 files changed, 46 insertions, 0 deletions
diff --git a/test/ansible-python-dg/mock-payloads/get_job-template-launch.json b/test/ansible-python-dg/mock-payloads/get_job-template-launch.json
new file mode 100644
index 0000000..ddc9e17
--- /dev/null
+++ b/test/ansible-python-dg/mock-payloads/get_job-template-launch.json
@@ -0,0 +1,46 @@
+{
+ "httpRequest" : {
+ "method" : "GET",
+ "path" : .PATH_GET_JT_LAUNCH_PAYLOAD
+ },
+ "httpResponse" : {
+ "body" : {
+ "can_start_without_user_input": false,
+ "passwords_needed_to_start": [],
+ "ask_variables_on_launch": true,
+ "ask_tags_on_launch": true,
+ "ask_diff_mode_on_launch": false,
+ "ask_skip_tags_on_launch": true,
+ "ask_job_type_on_launch": false,
+ "ask_limit_on_launch": true,
+ "ask_verbosity_on_launch": false,
+ "ask_inventory_on_launch": true,
+ "ask_credential_on_launch": true,
+ "survey_enabled": true,
+ "variables_needed_to_start": [
+ "tor_group",
+ "site_id"
+ ],
+ "credential_needed_to_start": false,
+ "inventory_needed_to_start": false,
+ "job_template_data": {
+ "name": "hello_world_job_template",
+ "id": "123",
+ "description": "hello_world Runner Job Template"
+ },
+ "defaults": {
+ "extra_vars": "",
+ "diff_mode": false,
+ "limit": "",
+ "job_tags": "",
+ "skip_tags": "",
+ "job_type": "run",
+ "verbosity": 0,
+ "inventory": {
+ "name": "Demo Inventory",
+ "id": 1
+ }
+ }
+ }
+ }
+}