From e92fce768cb792f11920f45fdbb38b3af69e212f Mon Sep 17 00:00:00 2001 From: Jozsef Csongvai Date: Tue, 19 Jan 2021 12:32:04 -0500 Subject: Update to latest version Issue-ID: TEST-295 Signed-off-by: Jozsef Csongvai Change-Id: Ie14e2061c1e0931bf3d555e54c79bb736d140d5c --- .../mock-payloads/post_job-template-launch.json | 144 --------------------- 1 file changed, 144 deletions(-) delete mode 100644 cds-regression-test/test/remote-ansible/mock-payloads/post_job-template-launch.json (limited to 'cds-regression-test/test/remote-ansible/mock-payloads/post_job-template-launch.json') diff --git a/cds-regression-test/test/remote-ansible/mock-payloads/post_job-template-launch.json b/cds-regression-test/test/remote-ansible/mock-payloads/post_job-template-launch.json deleted file mode 100644 index 8484374..0000000 --- a/cds-regression-test/test/remote-ansible/mock-payloads/post_job-template-launch.json +++ /dev/null @@ -1,144 +0,0 @@ -{ - "httpRequest": { - "method": "POST", - "path": "/remote-ansible/success/api/v2/job_templates/123/launch/" - }, - "httpResponse": { - "body": { - "job": "456", - "ignored_fields": {}, - "id": "456", - "type": "job", - "url": "/api/v2/jobs/456/", - "related": { - "created_by": "/api/v2/users/1/", - "modified_by": "/api/v2/users/1/", - "labels": "/api/v2/jobs/456/labels/", - "inventory": "/api/v2/inventories/1/", - "project": "/api/v2/projects/8/", - "extra_credentials": "/api/v2/jobs/456/extra_credentials/", - "credentials": "/api/v2/jobs/456/credentials/", - "unified_job_template": "/api/v2/job_templates/123/", - "stdout": "/api/v2/jobs/456/stdout/", - "job_events": "/api/v2/jobs/456/job_events/", - "job_host_summaries": "/api/v2/jobs/456/job_host_summaries/", - "activity_stream": "/api/v2/jobs/456/activity_stream/", - "notifications": "/api/v2/jobs/456/notifications/", - "job_template": "/api/v2/job_templates/123/", - "cancel": "/api/v2/jobs/456/cancel/", - "create_schedule": "/api/v2/jobs/456/create_schedule/", - "relaunch": "/api/v2/jobs/456/relaunch/" - }, - "summary_fields": { - "inventory": { - "id": 1, - "name": "Demo Inventory", - "description": "", - "has_active_failures": false, - "total_hosts": 1, - "hosts_with_active_failures": 0, - "total_groups": 0, - "groups_with_active_failures": 0, - "has_inventory_sources": false, - "total_inventory_sources": 0, - "inventory_sources_with_failures": 0, - "organization_id": 1, - "kind": "" - }, - "project": { - "id": 8, - "name": "cds_playbooks", - "description": "CDS - cds_playbooks Project", - "status": "ok", - "scm_type": "" - }, - "job_template": { - "id": "123", - "name": "hello_world_job_template", - "description": "hello_world Runner Job Template" - }, - "unified_job_template": { - "id": "123", - "name": "hello_world_job_template", - "description": "hello_world Runner Job Template", - "unified_job_type": "job" - }, - "created_by": { - "id": 1, - "username": "admin", - "first_name": "", - "last_name": "" - }, - "modified_by": { - "id": 1, - "username": "admin", - "first_name": "", - "last_name": "" - }, - "user_capabilities": { - "delete": true, - "start": true - }, - "labels": { - "count": 0, - "results": [] - }, - "extra_credentials": [], - "credentials": [] - }, - "created": "2019-06-12T11:21:26.891986Z", - "modified": "2019-06-12T11:21:27.016410Z", - "name": "hello_world_job_template", - "description": "hello_world Runner Job Template", - "job_type": "run", - "inventory": 1, - "project": 8, - "playbook": "hello_world.yml", - "forks": 0, - "limit": "", - "verbosity": 0, - "extra_vars": "{\"tor_group\": \"vEPC\", \"site_id\": \"3 - Belmont\"}", - "job_tags": "", - "force_handlers": false, - "skip_tags": "", - "start_at_task": "", - "timeout": 0, - "use_fact_cache": false, - "unified_job_template": "123", - "launch_type": "manual", - "status": "pending", - "failed": false, - "started": null, - "finished": null, - "elapsed": 0, - "job_args": "", - "job_cwd": "", - "job_env": {}, - "job_explanation": "", - "execution_node": "", - "controller_node": "", - "result_traceback": "", - "event_processing_finished": false, - "job_template": "123", - "passwords_needed_to_start": [], - "ask_diff_mode_on_launch": false, - "ask_variables_on_launch": true, - "ask_limit_on_launch": true, - "ask_tags_on_launch": true, - "ask_skip_tags_on_launch": true, - "ask_job_type_on_launch": false, - "ask_verbosity_on_launch": false, - "ask_inventory_on_launch": true, - "ask_credential_on_launch": true, - "allow_simultaneous": false, - "artifacts": {}, - "scm_revision": "", - "instance_group": null, - "diff_mode": false, - "job_slice_number": 0, - "job_slice_count": 1, - "credential": null, - "vault_credential": null - } - } -} -- cgit 1.2.3-korg