Esempio n. 1
0
        ApplicationBookmarkDetail.as_view(), name='bookmark-application'),

    url(identity_specific + r'/image_export$',
        ExportRequestList.as_view(), name='machine-export-list'),
    url(identity_specific + r'/image_export/(?P<machine_request_id>%s)$' % (id_match,),
        ExportRequest.as_view(), name='machine-export'),

    url(identity_specific + r'/hypervisor$',
        HypervisorList.as_view(), name='hypervisor-list'),
    url(identity_specific + r'/hypervisor/(?P<hypervisor_id>%s)$' % (id_match,),
        HypervisorDetail.as_view(), name='hypervisor-detail'),

    url(identity_specific + r'/step$',
        StepList.as_view(), name='step-list'),
    url(identity_specific + r'/step/(?P<step_id>%s)$' % uuid_match,
        Step.as_view(), name='step-detail'),


    url(identity_specific + r'/machine/(?P<machine_id>%s)/vote$' % uuid_match,
        MachineVote.as_view(), name='machine-vote'),

    url(identity_specific + r'/meta$', Meta.as_view(), name='meta-detail'),
    url(identity_specific + r'/meta/(?P<action>.*)$',
        MetaAction.as_view(), name='meta-action'),

    url(identity_specific + r'/members$',
        IdentityMembershipList.as_view(), name='identity-membership-list'),
    url(identity_specific + r'/members/(?P<group_name>%s)$' % user_match,
        IdentityMembership.as_view(), name='identity-membership-detail'),
)
Esempio n. 2
0
        provider_specific + r"/account/(?P<username>([A-Za-z0-9]+(?:[ _-][A-Za-z0-9]+)*))$",
        Account.as_view(),
        name="account-management",
    ),
    url(identity_specific + r"/image_export$", MachineExportList.as_view(), name="machine-export-list"),
    url(
        identity_specific + r"/image_export/(?P<machine_request_id>\d+)$",
        MachineExport.as_view(),
        name="machine-export",
    ),
    url(identity_specific + r"/hypervisor$", HypervisorList.as_view(), name="hypervisor-list"),
    url(
        identity_specific + r"/hypervisor/(?P<hypervisor_id>\d+)$", HypervisorDetail.as_view(), name="hypervisor-detail"
    ),
    url(identity_specific + r"/step$", StepList.as_view(), name="step-list"),
    url(identity_specific + r"/step/(?P<step_id>[a-zA-Z0-9-]+)$", Step.as_view(), name="step-detail"),
    # TODO: Uncomment when 'voting' feature is ready.
    url(
        identity_specific + r"/machine/(?P<machine_id>[a-zA-Z0-9-]+)/vote$", MachineVote.as_view(), name="machine-vote"
    ),
    url(identity_specific + r"/meta$", Meta.as_view(), name="meta-detail"),
    url(identity_specific + r"/meta/(?P<action>.*)$", MetaAction.as_view(), name="meta-action"),
    url(identity_specific + r"/members$", IdentityMembershipList.as_view(), name="identity-membership-list"),
    url(
        identity_specific + r"/members/(?P<group_name>(%s)$" % user_match,
        IdentityMembership.as_view(),
        name="identity-membership-detail",
    ),
)

public_apis = format_suffix_patterns(
Esempio n. 3
0
        ExportRequestList.as_view(),
        name='machine-export-list'),
    url(identity_specific + r'/image_export/(?P<machine_request_id>%s)$' %
        (id_match, ),
        ExportRequest.as_view(),
        name='machine-export'),
    url(identity_specific + r'/hypervisor$',
        HypervisorList.as_view(),
        name='hypervisor-list'),
    url(identity_specific + r'/hypervisor/(?P<hypervisor_id>%s)$' %
        (id_match, ),
        HypervisorDetail.as_view(),
        name='hypervisor-detail'),
    url(identity_specific + r'/step$', StepList.as_view(), name='step-list'),
    url(identity_specific + r'/step/(?P<step_id>%s)$' % uuid_match,
        Step.as_view(),
        name='step-detail'),
    url(identity_specific + r'/machine/(?P<machine_id>%s)/vote$' % uuid_match,
        MachineVote.as_view(),
        name='machine-vote'),
    url(identity_specific + r'/meta$', Meta.as_view(), name='meta-detail'),
    url(identity_specific + r'/meta/(?P<action>.*)$',
        MetaAction.as_view(),
        name='meta-action'),
    url(identity_specific + r'/members$',
        IdentityMembershipList.as_view(),
        name='identity-membership-list'),
    url(identity_specific + r'/members/(?P<group_name>%s)$' % user_match,
        IdentityMembership.as_view(),
        name='identity-membership-detail'),
)
Esempio n. 4
0

    url(identity_specific + r'/image_export$',
        MachineExportList.as_view(), name='machine-export-list'),
    url(identity_specific + r'/image_export/(?P<machine_request_id>\d+)$',
        MachineExport.as_view(), name='machine-export'),

    url(identity_specific + r'/hypervisor$',
        HypervisorList.as_view(), name='hypervisor-list'),
    url(identity_specific + r'/hypervisor/(?P<hypervisor_id>\d+)$',
        HypervisorDetail.as_view(), name='hypervisor-detail'),

    url(identity_specific + r'/step$',
        StepList.as_view(), name='step-list'),
    url(identity_specific + r'/step/(?P<step_id>[a-zA-Z0-9-]+)$',
        Step.as_view(), name='step-detail'),



    #TODO: Uncomment when 'voting' feature is ready.
    url(identity_specific + r'/machine/(?P<machine_id>[a-zA-Z0-9-]+)/vote$',
        MachineVote.as_view(), name='machine-vote'),

    url(identity_specific + r'/meta$', Meta.as_view(), name='meta-detail'),
    url(identity_specific + r'/meta/(?P<action>.*)$',
        MetaAction.as_view(), name='meta-action'),

    url(identity_specific + r'/members$',
        IdentityMembershipList.as_view(), name='identity-membership-list'),
    url(identity_specific + r'/members/(?P<group_name>(%s)$' % user_match,
        IdentityMembership.as_view(), name='identity-membership-detail'),