summaryrefslogtreecommitdiffstats
path: root/cds-regression-test/test/ansible-python-dg/mock-payloads/post_job-template-launch.json
diff options
context:
space:
mode:
Diffstat (limited to 'cds-regression-test/test/ansible-python-dg/mock-payloads/post_job-template-launch.json')
-rw-r--r--cds-regression-test/test/ansible-python-dg/mock-payloads/post_job-template-launch.json144
1 files changed, 0 insertions, 144 deletions
diff --git a/cds-regression-test/test/ansible-python-dg/mock-payloads/post_job-template-launch.json b/cds-regression-test/test/ansible-python-dg/mock-payloads/post_job-template-launch.json
deleted file mode 100644
index da92392..0000000
--- a/cds-regression-test/test/ansible-python-dg/mock-payloads/post_job-template-launch.json
+++ /dev/null
@@ -1,144 +0,0 @@
-{
- "httpRequest": {
- "method": "POST",
- "path": "/ansible-python-dg/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
- }
- }
-}