Skip to content

Commit

Permalink
adding credential_input_soucres
Browse files Browse the repository at this point in the history
  • Loading branch information
neevnuv committed Apr 14, 2024
1 parent 9529d1b commit 6c4a2d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions awxkit/awxkit/api/pages/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
]


EXPORTABLE_RELATIONS = ['Roles', 'NotificationTemplates', 'WorkflowJobTemplateNodes', 'Credentials', 'Hosts', 'Groups', 'ExecutionEnvironments', 'Schedules']
EXPORTABLE_RELATIONS = ['Roles', 'NotificationTemplates', 'WorkflowJobTemplateNodes', 'Credentials', 'Hosts', 'Groups', 'ExecutionEnvironments', 'Schedules', 'CredentialInputSource']


# These are special-case related objects, where we want only in this
Expand All @@ -48,6 +48,7 @@
('Inventory', 'Host'),
('Inventory', 'Label'),
('WorkflowJobTemplateNode', 'WorkflowApprovalTemplate'),
('Credential', 'CredentialInputSource'),
]


Expand All @@ -62,7 +63,6 @@
('Group', 'potential_children'),
('Host', 'all_groups'),
('WorkflowJobTemplateNode', 'create_approval_template'),
('Credential', 'CredentialInputSource'),
]


Expand Down
1 change: 1 addition & 0 deletions awxkit/awxkit/api/pages/credential_input_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@


class CredentialInputSource(base.Base):
NATURAL_KEY=('target_credential', 'input_field_name')
pass


Expand Down

0 comments on commit 6c4a2d1

Please sign in to comment.