Register some missing related endpoints in awxkit

- the newer varieties of notification templates
- organization workflow job templates
- credential owner users and owner teams

this allows the endpoints to get wrapped in appropriate Page types,
not just the Base page type.
This commit is contained in:
Jeff Bradberry
2020-03-23 14:34:41 -04:00
parent 1e48d773ae
commit e4e2d48f53
5 changed files with 15 additions and 3 deletions

View File

@@ -122,14 +122,18 @@ class Resources(object):
_notification = r'notifications/\d+/'
_notification_template = r'notification_templates/\d+/'
_notification_template_any = r'\w+/\d+/notification_templates_any/\d+/'
_notification_template_started = r'\w+/\d+/notification_templates_started/\d+/'
_notification_template_copy = r'notification_templates/\d+/copy/'
_notification_template_error = r'\w+/\d+/notification_templates_error/\d+/'
_notification_template_success = r'\w+/\d+/notification_templates_success/\d+/'
_notification_template_approval = r'\w+/\d+/notification_templates_approvals/\d+/'
_notification_template_test = r'notification_templates/\d+/test/'
_notification_templates = 'notification_templates/'
_notification_templates_any = r'\w+/\d+/notification_templates_any/'
_notification_templates_started = r'\w+/\d+/notification_templates_started/'
_notification_templates_error = r'\w+/\d+/notification_templates_error/'
_notification_templates_success = r'\w+/\d+/notification_templates_success/'
_notification_templates_approvals = r'\w+/\d+/notification_templates_approvals/'
_notifications = 'notifications/'
_object_activity_stream = r'[^/]+/\d+/activity_stream/'
_org_projects = r'organizations/\d+/projects/'