add ability to lookup unified job template by org

This commit is contained in:
sean-m-ssullivan
2021-09-23 13:25:01 -04:00
parent 33c7f0b5fc
commit c026790f55
5 changed files with 144 additions and 6 deletions

View File

@@ -56,10 +56,13 @@ no_api_parameter_ok = {
# We take an organization here to help with the lookups only
'job_template': ['survey_spec', 'organization'],
'inventory_source': ['organization'],
# Organization is how we are looking up job templates, Approval node is for workflow_approval_templates
'workflow_job_template_node': ['organization', 'approval_node'],
# Organization is how we are looking up job templates, Approval node is for workflow_approval_templates,
# lookup_organization is for specifiying the organization for the unified job template lookup
'workflow_job_template_node': ['organization', 'approval_node', 'lookup_organization'],
# Survey is how we handle associations
'workflow_job_template': ['survey_spec', 'destroy_current_schema'],
# organization is how we lookup unified job templates
'schedule': ['organization'],
# ad hoc commands support interval and timeout since its more like job_launch
'ad_hoc_command': ['interval', 'timeout', 'wait'],
# group parameters to perserve hosts and children.