Comments (2)
Need to define fields to display.
data :
{
"id": 9,
"type": "job_template",
"url": "/api/v2/job_templates/9/",
"related": {
"created_by": "/api/v2/users/2/",
"modified_by": "/api/v2/users/3/",
"labels": "/api/v2/job_templates/9/labels/",
"inventory": "/api/v2/inventories/1/",
"project": "/api/v2/projects/6/",
"organization": "/api/v2/organizations/1/",
"credentials": "/api/v2/job_templates/9/credentials/",
"last_job": "/api/v2/jobs/15/",
"jobs": "/api/v2/job_templates/9/jobs/",
"schedules": "/api/v2/job_templates/9/schedules/",
"activity_stream": "/api/v2/job_templates/9/activity_stream/",
"launch": "/api/v2/job_templates/9/launch/",
"webhook_key": "/api/v2/job_templates/9/webhook_key/",
"webhook_receiver": "",
"notification_templates_started": "/api/v2/job_templates/9/notification_templates_started/",
"notification_templates_success": "/api/v2/job_templates/9/notification_templates_success/",
"notification_templates_error": "/api/v2/job_templates/9/notification_templates_error/",
"access_list": "/api/v2/job_templates/9/access_list/",
"survey_spec": "/api/v2/job_templates/9/survey_spec/",
"object_roles": "/api/v2/job_templates/9/object_roles/",
"instance_groups": "/api/v2/job_templates/9/instance_groups/",
"slice_workflow_jobs": "/api/v2/job_templates/9/slice_workflow_jobs/",
"copy": "/api/v2/job_templates/9/copy/"
},
"summary_fields": {
"organization": {
"id": 1,
"name": "Default",
"description": ""
},
"inventory": {
"id": 1,
"name": "Demo Inventory",
"description": "",
"has_active_failures": false,
"total_hosts": 1,
"hosts_with_active_failures": 0,
"total_groups": 0,
"has_inventory_sources": false,
"total_inventory_sources": 0,
"inventory_sources_with_failures": 0,
"organization_id": 1,
"kind": ""
},
"project": {
"id": 6,
"name": "Demo Project",
"description": "",
"status": "successful",
"scm_type": "git",
"allow_override": false
},
"last_job": {
"id": 15,
"name": "VMware VM",
"description": "",
"finished": "2021-07-28T09:57:44.657531Z",
"status": "successful",
"failed": false
},
"last_update": {
"id": 15,
"name": "VMware VM",
"description": "",
"status": "successful",
"failed": false
},
"created_by": {
"id": 2,
"username": "tata",
"first_name": "",
"last_name": ""
},
"modified_by": {
"id": 3,
"username": "toto",
"first_name": "",
"last_name": ""
},
"object_roles": {
"admin_role": {
"description": "Can manage all aspects of the job template",
"name": "Admin",
"id": 56
},
"execute_role": {
"description": "May run the job template",
"name": "Execute",
"id": 57
},
"read_role": {
"description": "May view settings for the job template",
"name": "Read",
"id": 58
}
},
"user_capabilities": {
"edit": true,
"delete": true,
"start": true,
"schedule": true,
"copy": true
},
"labels": {
"count": 0,
"results": []
},
"survey": {
"title": "",
"description": ""
},
"recent_jobs": [
{
"id": 15,
"status": "successful",
"finished": "2021-07-28T09:57:44.657531Z",
"canceled_on": null,
"type": "job"
}
],
"credentials": [
{
"id": 1,
"name": "Demo Credential",
"description": "",
"kind": "ssh",
"cloud": false
}
]
},
"created": "2021-07-28T09:31:38.340663Z",
"modified": "2021-09-02T14:44:13.089234Z",
"name": "VMware VM",
"description": "",
"job_type": "run",
"inventory": 1,
"project": 6,
"playbook": "hello_world.yml",
"scm_branch": "",
"forks": 0,
"limit": "",
"verbosity": 0,
"extra_vars": "---",
"job_tags": "",
"force_handlers": false,
"skip_tags": "",
"start_at_task": "",
"timeout": 0,
"use_fact_cache": false,
"organization": 1,
"last_job_run": "2021-07-28T09:57:44.657531Z",
"last_job_failed": false,
"next_job_run": null,
"status": "successful",
"execution_environment": null,
"host_config_key": "",
"ask_scm_branch_on_launch": false,
"ask_diff_mode_on_launch": false,
"ask_variables_on_launch": false,
"ask_limit_on_launch": false,
"ask_tags_on_launch": false,
"ask_skip_tags_on_launch": false,
"ask_job_type_on_launch": false,
"ask_verbosity_on_launch": false,
"ask_inventory_on_launch": false,
"ask_credential_on_launch": false,
"survey_enabled": true,
"become_enabled": false,
"diff_mode": false,
"allow_simultaneous": false,
"custom_virtualenv": null,
"job_slice_count": 1,
"webhook_service": "",
"webhook_credential": null
}
from squest.
Fields to show:
Left menu:
- name:
- tower_id --> link to tower job template on Tower/AWX
- tower server name
- is_compliant
Tab pans:
Tab pan 1 --> survey
Tab pan 2 --> tower_job_template_data
from squest.
Related Issues (20)
- extra_vars in service allow string value from API HOT 1
- Comments of the requests are not diplayed in the request detail page HOT 1
- Feature: link doc to an operation HOT 1
- Accepting request via api with integer value in survey HOT 1
- Can't request delete operation from API HOT 7
- mariadbd failed while attempting to check config HOT 6
- Table enhancement HOT 1
- Feature: advanced billing feature HOT 1
- Need a button to go back to the request details page from comment page HOT 1
- Personal filters for list pages (Instances/Requests) HOT 1
- REfactoring of resource pool page HOT 1
- Accept and process button HOT 1
- Add a note on the login page to explain to user HOT 1
- Make mail_from a configurable setting HOT 1
- Add filter on billing group from request list page HOT 1
- Approval update HOT 1
- After accepting --> go process page HOT 1
- Server Error (500) page HOT 1
- api: add team management HOT 1
- Question about Jinja2 in Surveys HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from squest.