Beispiel #1
0
    url(provider_specific + r'/identity$', IdentityList.as_view(), name='identity-list'),
    url(identity_specific + r'$', Identity.as_view(), name='identity-detail'),

    url(r'^credential$', CredentialList.as_view(),
        name='credential-list'),
    url(r'^credential/(?P<identity_uuid>%s)$' % (uuid_match,),
        CredentialDetail.as_view(), name='credential-detail'),

    url(r'^identity$', IdentityDetailList.as_view(),
        name='identity-detail-list'),
    url(r'^identity/(?P<identity_uuid>%s)$' % (uuid_match,), IdentityDetail.as_view(),
        name='identity-detail'),
    url(r'^provider$', ProviderList.as_view(), name='provider-list'),
    url(r'^provider/(?P<provider_uuid>%s)$' % uuid_match,
        Provider.as_view(), name='provider-detail'),


    url(identity_specific + r'/request_image$',
        MachineRequestList.as_view(), name='machine-request-list'),
    url(identity_specific + r'/request_image/(?P<machine_request_id>%s)$' % (uuid_match,),
        MachineRequest.as_view(), name='machine-request'),


    url(identity_specific + r'/profile$',
        Profile.as_view(), name='profile-detail'),

    url(identity_specific + r'/allocation_request$',
        AllocationRequestList.as_view(), name='allocation-request-list'),
    url(identity_specific +
        r'/allocation_request/(?P<allocation_request_uuid>%s)$' % uuid_match,
Beispiel #2
0
            VolumeSnapshotDetail.as_view(),
            name="volume-snapshot-detail",
        ),
        url(identity_specific + r"/machine$", MachineList.as_view(), name="machine-list"),
        url(identity_specific + r"/machine/history$", MachineHistory.as_view(), name="machine-history"),
        url(identity_specific + r"/machine/search$", MachineSearch.as_view(), name="machine-search"),
        url(identity_specific + r"/machine/(?P<machine_id>[a-zA-Z0-9-]+)$", Machine.as_view(), name="machine-detail"),
        url(
            identity_specific + r"/machine/(?P<machine_id>[a-zA-Z0-9-]+)" + "/icon$",
            MachineIcon.as_view(),
            name="machine-icon",
        ),
        url(provider_specific + r"/identity$", IdentityList.as_view(), name="identity-list"),
        url(identity_specific + r"$", Identity.as_view(), name="identity-detail"),
        url(r"^identity$", IdentityDetailList.as_view(), name="identity-detail-list"),
        url(r"^provider$", ProviderList.as_view(), name="provider-list"),
        url(r"^provider/(?P<provider_id>\d+)$", Provider.as_view(), name="provider-detail"),
        url(identity_specific + r"/request_image$", MachineRequestList.as_view(), name="machine-request-list"),
        url(
            identity_specific + r"/request_image/(?P<machine_request_id>\d+)$",
            MachineRequest.as_view(),
            name="machine-request",
        ),
        url(identity_specific + r"/profile$", Profile.as_view(), name="profile-detail"),
        url(r"version$", Version.as_view()),
        url(r"^maintenance$", MaintenanceRecordList.as_view(), name="maintenance-record-list"),
    )
)
urlpatterns = patterns("", url(r"^", include(private_apis, namespace="private_apis")))
urlpatterns += patterns("", url(r"^", include(public_apis, namespace="public_apis")))
Beispiel #3
0
 url(identity_specific + r'$',
     Identity.as_view(),
     name='identity-detail'),
 url(r'^credential$', CredentialList.as_view(), name='credential-list'),
 url(r'^credential/(?P<identity_uuid>%s)$' % (uuid_match, ),
     CredentialDetail.as_view(),
     name='credential-detail'),
 url(r'^identity$',
     IdentityDetailList.as_view(),
     name='identity-detail-list'),
 url(r'^identity/(?P<identity_uuid>%s)$' % (uuid_match, ),
     IdentityDetail.as_view(),
     name='identity-detail'),
 url(r'^provider$', ProviderList.as_view(), name='provider-list'),
 url(r'^provider/(?P<provider_uuid>%s)$' % uuid_match,
     Provider.as_view(),
     name='provider-detail'),
 url(identity_specific + r'/request_image$',
     MachineRequestList.as_view(),
     name='machine-request-list'),
 url(identity_specific + r'/request_image/(?P<machine_request_id>%s)$' %
     (uuid_match, ),
     MachineRequest.as_view(),
     name='machine-request'),
 url(identity_specific + r'/profile$',
     Profile.as_view(),
     name='profile-detail'),
 url(identity_specific + r'/allocation_request$',
     AllocationRequestList.as_view(),
     name='allocation-request-list'),
 url(identity_specific +
Beispiel #4
0
        MachineSearch.as_view(), name='machine-search'),
    url(identity_specific + r'/machine/(?P<machine_id>[a-zA-Z0-9-]+)$',
        Machine.as_view(), name='machine-detail'),
    url(identity_specific + r'/machine/(?P<machine_id>[a-zA-Z0-9-]+)'
        + '/icon$', MachineIcon.as_view(), name='machine-icon'),

    url(provider_specific + r'/identity$', IdentityList.as_view(), name='identity-list'),
    url(identity_specific + r'$', Identity.as_view(), name='identity-detail'),

    url(r'^identity$', IdentityDetailList.as_view(),
        name='identity-detail-list'),
    url(r'^identity/(?P<identity_id>\d+)$', IdentityDetail.as_view(),
        name='identity-detail-list'),
    url(r'^provider$', ProviderList.as_view(), name='provider-list'),
    url(r'^provider/(?P<provider_id>\d+)$',
        Provider.as_view(), name='provider-detail'),


    url(identity_specific + r'/request_image$',
        MachineRequestList.as_view(), name='machine-request-list'),
    url(identity_specific + r'/request_image/(?P<machine_request_id>\d+)$',
        MachineRequest.as_view(), name='machine-request'),


    url(identity_specific + r'/profile$',
        Profile.as_view(), name='profile-detail'),

    url(r'version$', Version.as_view()),
    url(r'^maintenance$',
        MaintenanceRecordList.as_view(),
        name='maintenance-record-list'),