Add ability to look up inventory sources by org name/ID

This commit is contained in:
beeankha
2020-09-01 11:35:37 -04:00
parent 65e0ed8c77
commit 1ce5d7d539
4 changed files with 56 additions and 4 deletions

View File

@@ -43,7 +43,8 @@ no_api_parameter_ok = {
# /survey spec is now how we handle associations
# We take an organization here to help with the lookups only
'tower_job_template': ['survey_spec', 'organization'],
# Organization is how we looking job templates
'tower_inventory_source': ['organization'],
# Organization is how we are looking up job templates
'tower_workflow_job_template_node': ['organization'],
# Survey is how we handle associations
'tower_workflow_job_template': ['survey'],