diff options
author | SantoshB <santosh.bayas@amdocs.com> | 2020-10-15 14:57:57 +0530 |
---|---|---|
committer | mrichomme <morgan.richomme@orange.com> | 2020-11-12 14:52:33 +0100 |
commit | d3cdace51db473c93540229da3a0fd061120957c (patch) | |
tree | d2d4f1031c7d577d51fe27b6daf1a1e80cdb409d /cds-regression-test/test/remote-ansible/mock-payloads/get_job-template-launch.json | |
parent | 8e75c091c8f2079b8ae59ae544fbd19bbef3f963 (diff) |
cds-bash script package
Issue-ID: CCSDK-2913
Change-Id: I2f97b0c78314019d5002e8563c4e433ae5e816b9
Signed-off-by: SantoshB <santosh.bayas@amdocs.com>
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Diffstat (limited to 'cds-regression-test/test/remote-ansible/mock-payloads/get_job-template-launch.json')
-rw-r--r-- | cds-regression-test/test/remote-ansible/mock-payloads/get_job-template-launch.json | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/cds-regression-test/test/remote-ansible/mock-payloads/get_job-template-launch.json b/cds-regression-test/test/remote-ansible/mock-payloads/get_job-template-launch.json new file mode 100644 index 0000000..ed7904d --- /dev/null +++ b/cds-regression-test/test/remote-ansible/mock-payloads/get_job-template-launch.json @@ -0,0 +1,46 @@ +{ + "httpRequest": { + "method": "GET", + "path": "/remote-ansible/success/api/v2/job_templates/123/launch/" + }, + "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 + } + } + } + } +} |