diff options
Diffstat (limited to 'cds-regression-test/test/ansible-python-dg/mock-payloads/job-execution.json')
-rw-r--r-- | cds-regression-test/test/ansible-python-dg/mock-payloads/job-execution.json | 216 |
1 files changed, 0 insertions, 216 deletions
diff --git a/cds-regression-test/test/ansible-python-dg/mock-payloads/job-execution.json b/cds-regression-test/test/ansible-python-dg/mock-payloads/job-execution.json deleted file mode 100644 index 34772d7..0000000 --- a/cds-regression-test/test/ansible-python-dg/mock-payloads/job-execution.json +++ /dev/null @@ -1,216 +0,0 @@ -{ - "httpRequest": { - "method": "GET", - "path": "/ansible-python-dg/success/api/v2/jobs/456/" - }, - "httpResponse": { - "body": { - "id": "456", - "type": "job", - "url": "/api/v2/jobs/456/", - "related": { - "created_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" - }, - "instance_group": { - "name": "tower", - "id": 1 - }, - "created_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.355185Z", - "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": "successful", - "failed": false, - "started": "2019-06-12T11:21:27.510766Z", - "finished": "2019-06-12T11:21:48.993385Z", - "elapsed": 21.483, - "job_args": "[\"ansible-playbook\", \"-u\", \"root\", \"-i\", \"/tmp/awx_223_ft8hu4p4/tmptmtwllu4\", \"-e\", \"@/tmp/awx_223_ft8hu4p4/env/extravars\", \"hello_world.yml\"]", - "job_cwd": "/var/lib/awx/projects/cds_playbooks_folder", - "job_env": { - "HOSTNAME": "awx", - "LC_ALL": "en_US.UTF-8", - "VIRTUAL_ENV": "/var/lib/awx/venv/ansible", - "PATH": "/var/lib/awx/venv/ansible/bin:/var/lib/awx/venv/awx/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", - "SUPERVISOR_GROUP_NAME": "tower-processes", - "PWD": "/var/lib/awx", - "LANG": "en_US.UTF-8", - "PS1": "(awx) ", - "SUPERVISOR_ENABLED": "1", - "HOME": "/var/lib/awx", - "SHLVL": "2", - "LANGUAGE": "en_US.UTF-8", - "LC_CTYPE": "en_US.UTF-8", - "SUPERVISOR_PROCESS_NAME": "dispatcher", - "SUPERVISOR_SERVER_URL": "unix:///tmp/supervisor.sock", - "DJANGO_SETTINGS_MODULE": "awx.settings.production", - "DJANGO_LIVE_TEST_SERVER_ADDRESS": "localhost:9013-9199", - "TZ": "UTC", - "ANSIBLE_FORCE_COLOR": "True", - "ANSIBLE_HOST_KEY_CHECKING": "False", - "ANSIBLE_INVENTORY_UNPARSED_FAILED": "True", - "ANSIBLE_PARAMIKO_RECORD_HOST_KEYS": "False", - "ANSIBLE_VENV_PATH": "/var/lib/awx/venv/ansible", - "AWX_PRIVATE_DATA_DIR": "/tmp/awx_223_ft8hu4p4", - "PYTHONPATH": "/var/lib/awx/venv/ansible/lib/python2.7/site-packages:/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/lib:", - "JOB_ID": "456", - "INVENTORY_ID": "1", - "PROJECT_REVISION": "", - "ANSIBLE_RETRY_FILES_ENABLED": "False", - "MAX_EVENT_RES": "700000", - "ANSIBLE_CALLBACK_PLUGINS": "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/plugins/callback", - "AWX_HOST": "https://towerhost", - "ANSIBLE_SSH_CONTROL_PATH_DIR": "/tmp/awx_223_ft8hu4p4/cp", - "ANSIBLE_STDOUT_CALLBACK": "awx_display", - "AWX_ISOLATED_DATA_DIR": "/tmp/awx_223_ft8hu4p4/artifacts/456" - }, - "job_explanation": "", - "execution_node": "awx", - "controller_node": "", - "result_traceback": "", - "event_processing_finished": true, - "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": { - "interface_groups": [ - "NSO-Openstack-NFVI-SRIOV-Shared" - ], - "host_groups": "NSO-Openstack-NFVI-SRIOV-Shared_999, ", - "topology": { - "tor-8.tenlab-cloud": [ - { - "interface_lldp_description": "sriov-s-2", - "interface_group": "NSO-Openstack-NFVI-SRIOV-Shared", - "lldp_interface_id": 740, - "compute_device": "nfvi-compute-14.tenlab-nfvi", - "interface_parent_name": null, - "interface_name": "TenGigE0/0/0/19", - "host_aggregate": "vLNS", - "tor_device": "tor-8.tenlab-cloud", - "compute_interface": "sriov-s-2" - } - ], - "tor-7.tenlab-cloud": [ - { - "interface_lldp_description": "sriov-s-1", - "interface_group": "NSO-Openstack-NFVI-SRIOV-Shared", - "lldp_interface_id": 698, - "compute_device": "nfvi-compute-14.tenlab-nfvi", - "interface_parent_name": null, - "interface_name": "TenGigE0/0/0/19", - "host_aggregate": "vLNS", - "tor_device": "tor-7.tenlab-cloud", - "compute_interface": "sriov-s-1" - } - ] - } - }, - "scm_revision": "", - "instance_group": 1, - "diff_mode": false, - "job_slice_number": 0, - "job_slice_count": 1, - "host_status_counts": { - "ok": 1 - }, - "playbook_counts": { - "play_count": 1, - "task_count": 2 - }, - "custom_virtualenv": "/var/lib/awx/venv/ansible", - "credential": null, - "vault_credential": null - } - } -} |