url(r'^project/(?P<project_uuid>%s)/instance/(?P<instance_id>%s)$' % (uuid_match,uuid_match), ProjectInstanceExchange.as_view(), name='project-instance-exchange'), url(r'^project/(?P<project_uuid>%s)/volume$' % (uuid_match,), ProjectVolumeList.as_view(), name='project-volume-list'), url(r'^project/(?P<project_uuid>%s)/volume/(?P<volume_id>%s)$' % (uuid_match,uuid_match), ProjectVolumeExchange.as_view(), name='project-volume-exchange'), url(r'^maintenance/(?P<record_id>%s)$' % (id_match,), MaintenanceRecord.as_view(), name='maintenance-record'), url(r'^notification$', NotificationList.as_view()), url(r'^token_emulate/(?P<username>.*)$', TokenEmulate.as_view()), url(provider_specific + r'/occupancy$', Occupancy.as_view(), name='occupancy'), url(provider_specific + r'/hypervisor$', Hypervisor.as_view(), name='hypervisor'), #Application Bookmarks (Leave out until new UI Ready ) url(r'^bookmark$', ApplicationBookmarkList.as_view(), name='bookmark-list'), url(r'^bookmark/application$', ApplicationBookmarkList.as_view(), name='bookmark-application-list'),
name='project-instance-list'), url(r'^project/(?P<project_uuid>%s)/instance/(?P<instance_id>%s)$' % (uuid_match, uuid_match), ProjectInstanceExchange.as_view(), name='project-instance-exchange'), url(r'^project/(?P<project_uuid>%s)/volume$' % (uuid_match, ), ProjectVolumeList.as_view(), name='project-volume-list'), url(r'^project/(?P<project_uuid>%s)/volume/(?P<volume_id>%s)$' % (uuid_match, uuid_match), ProjectVolumeExchange.as_view(), name='project-volume-exchange'), url(r'^maintenance/(?P<record_id>%s)$' % (id_match, ), MaintenanceRecord.as_view(), name='maintenance-record'), url(r'^notification$', NotificationList.as_view()), url(r'^token_emulate/(?P<username>.*)$', TokenEmulate.as_view()), url(provider_specific + r'/occupancy$', Occupancy.as_view(), name='occupancy'), url(provider_specific + r'/hypervisor$', Hypervisor.as_view(), name='hypervisor'), #Application Bookmarks (Leave out until new UI Ready ) url(r'^bookmark$', ApplicationBookmarkList.as_view(), name='bookmark-list'), url(r'^bookmark/application$', ApplicationBookmarkList.as_view(), name='bookmark-application-list'), url(r'^bookmark/application/(?P<app_uuid>%s)$' % uuid_match,
name="project-application-exchange", ), url(r"project/(?P<project_id>\d+)/instance$", ProjectInstanceList.as_view(), name="project-instance-list"), url( r"project/(?P<project_id>\d+)/instance/(?P<instance_id>[a-zA-Z0-9-]+)$", ProjectInstanceExchange.as_view(), name="project-instance-exchange", ), url(r"project/(?P<project_id>\d+)/volume$", ProjectVolumeList.as_view(), name="project-volume-list"), url( r"project/(?P<project_id>\d+)/volume/(?P<volume_id>[a-zA-Z0-9-]+)$", ProjectVolumeExchange.as_view(), name="project-volume-exchange", ), url(r"^maintenance/(?P<record_id>\d+)$", MaintenanceRecord.as_view(), name="maintenance-record"), url(r"^notification$", NotificationList.as_view()), url(r"^token_emulate/(?P<username>.*)$", TokenEmulate.as_view()), # url(r'^user$', atmo_valid_token_required(UserManagement.as_view())), # url(r'^user/(?P<username>.*)$', User.as_view()), url(provider_specific + r"/occupancy$", Occupancy.as_view(), name="occupancy"), url(provider_specific + r"/hypervisor$", Hypervisor.as_view(), name="hypervisor"), # Application Bookmarks (Leave out until new UI Ready ) url(r"^bookmark$", ApplicationBookmarkList.as_view(), name="bookmark-list"), url(r"^bookmark/application$", ApplicationBookmarkList.as_view(), name="bookmark-application-list"), url( r"^bookmark/application/(?P<app_uuid>[a-zA-Z0-9-]+)$", ApplicationBookmarkDetail.as_view(), name="bookmark-application", ), # Machine Requests (Staff view) url(r"^request_image$", MachineRequestStaffList.as_view(), name="direct-machine-request-list"),
### DJANGORESTFRAMEWORK ### url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')) ) urlpatterns += format_suffix_patterns(patterns( '', url(r'api/v1/version/$', Version.as_view()), url(r'^api/v1/maintenance/$', MaintenanceRecordList.as_view(), name='maintenance-record-list'), url(r'^api/v1/maintenance/(?P<record_id>\d+)/$', MaintenanceRecord.as_view(), name='maintenance-record'), url(r'^api/v1/notification/$', NotificationList.as_view()), #url(r'^api/v1/user/$', atmo_valid_token_required(UserManagement.as_view())), #url(r'^api/v1/user/(?P<username>.*)/$', User.as_view()), url(r'^api/v1/profile/$', Profile.as_view(), name='profile'), url(r'^api/v1/provider/(?P<provider_id>\d+)/occupancy/$', Occupancy.as_view(), name='occupancy'), url(r'^api/v1/provider/(?P<provider_id>\d+)/hypervisor/$', Hypervisor.as_view(), name='hypervisor'), url(r'^api/v1/group/$', GroupList.as_view(), name='group-list'), url(r'^api/v1/group/(?P<groupname>.*)/$', Group.as_view()), url(r'^api/v1/tag/$', TagList.as_view(), name='tag-list'), url(r'^api/v1/tag/(?P<tag_slug>.*)/$', Tag.as_view()),
### DJANGORESTFRAMEWORK ### url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework'))) urlpatterns += format_suffix_patterns( patterns( '', url(r'api/v1/version/$', Version.as_view()), url(r'^api/v1/maintenance/$', MaintenanceRecordList.as_view(), name='maintenance-record-list'), url(r'^api/v1/maintenance/(?P<record_id>\d+)/$', MaintenanceRecord.as_view(), name='maintenance-record'), url(r'^api/v1/notification/$', NotificationList.as_view()), #url(r'^api/v1/user/$', atmo_valid_token_required(UserManagement.as_view())), #url(r'^api/v1/user/(?P<username>.*)/$', User.as_view()), url(r'^api/v1/profile/$', Profile.as_view(), name='profile'), url(r'^api/v1/provider/(?P<provider_id>\d+)/occupancy/$', Occupancy.as_view(), name='occupancy'), url(r'^api/v1/provider/(?P<provider_id>\d+)/hypervisor/$', Hypervisor.as_view(), name='hypervisor'), url(r'^api/v1/group/$', GroupList.as_view(), name='group-list'), url(r'^api/v1/group/(?P<groupname>.*)/$', Group.as_view()), url(r'^api/v1/tag/$', TagList.as_view(), name='tag-list'), url(r'^api/v1/tag/(?P<tag_slug>.*)/$', Tag.as_view()), url(r'^api/v1/application/$',