summaryrefslogtreecommitdiffstats
path: root/test/ansible-python-dg/mock-payloads/get_job-template-launch.json
diff options
context:
space:
mode:
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
+ }
+ }
+ }
+ }
+}