コード例 #1
0
ファイル: urls.py プロジェクト: weizai118/rainbond-console
 url(r'^files/upload$', ConsoleUploadFileView.as_view()),
 # 云市认证
 url(r'^teams/(?P<tenantName>[\w\-]+)/enterprise/active$',
     BindMarketEnterpriseAccessTokenView.as_view()),
 # 新版本优化云市认证
 url(r'^teams/(?P<tenantName>[\w\-]+)/enterprise/active/optimiz$',
     BindMarketEnterpriseOptimizAccessTokenView.as_view()),
 # 获取数据中心协议
 url(r'^teams/(?P<tenantName>[\w\-]+)/protocols$',
     RegionProtocolView.as_view()),
 # 应用导出
 url(r'^teams/(?P<tenantName>[\w\-]+)/apps/export$',
     CenterAppExportView.as_view()),
 # 应用导入
 url(r'^teams/(?P<tenantName>[\w\-]+)/apps/upload$',
     CenterAppUploadView.as_view()),
 # 应用包目录查询
 url(r'^teams/(?P<tenantName>[\w\-]+)/apps/import/dir$',
     CenterAppTarballDirView.as_view()),
 # 应用导入记录
 url(r'^teams/(?P<tenantName>[\w\-]+)/apps/import/record$',
     ImportingRecordView.as_view()),
 # 正在导入的应用查询
 url(r'^teams/(?P<tenantName>[\w\-]+)/apps/import/importing-apps$',
     CenterAppImportingAppsView.as_view()),
 # 应用导入状态查询
 url(r'^teams/(?P<tenantName>[\w\-]+)/apps/import/(?P<event_id>[\w\-]+)$',
     CenterAppImportView.as_view()),
 # 应用下载
 url(r'^teams/(?P<tenantName>[\w\-]+)/apps/export/down$',
     ExportFileDownLoadView.as_view()),
コード例 #2
0
ファイル: urls.py プロジェクト: robbbit/rainbond-console
    # 下架应用
    url(r'^app_market/manage$', CenterAppManageView.as_view()),

    # 文件上传
    url(r'^files/upload$', ConsoleUploadFileView.as_view()),
    # 云市认证
    url(r'^teams/(?P<tenantName>[\w\-]+)/enterprise/active$', BindMarketEnterpriseAccessTokenView.as_view()),
    # 新版本优化云市认证
    url(r'^teams/(?P<tenantName>[\w\-]+)/enterprise/active/optimiz$',
        BindMarketEnterpriseOptimizAccessTokenView.as_view()),
    # 获取数据中心协议
    url(r'^teams/(?P<tenantName>[\w\-]+)/protocols$', RegionProtocolView.as_view()),
    # 应用导出
    url(r'^teams/(?P<tenantName>[\w\-]+)/apps/export$', CenterAppExportView.as_view()),
    # 应用导入
    url(r'^teams/(?P<tenantName>[\w\-]+)/apps/upload$', CenterAppUploadView.as_view()),
    # 应用包目录查询
    url(r'^teams/(?P<tenantName>[\w\-]+)/apps/import/dir$', CenterAppTarballDirView.as_view()),
    # 应用导入记录
    url(r'^teams/(?P<tenantName>[\w\-]+)/apps/import/record$', ImportingRecordView.as_view()),
    # 正在导入的应用查询
    url(r'^teams/(?P<tenantName>[\w\-]+)/apps/import/importing-apps$', CenterAppImportingAppsView.as_view()),
    # 应用导入状态查询
    url(r'^teams/(?P<tenantName>[\w\-]+)/apps/import/(?P<event_id>[\w\-]+)$', CenterAppImportView.as_view()),
    # 应用下载
    url(r'^teams/(?P<tenantName>[\w\-]+)/apps/export/down$', ExportFileDownLoadView.as_view()),

    # 获取自定义角色时可给角色绑定的权限选项
    url(r'^teams/operate_options$', PermOptionsView.as_view()),
    # 获取第三方组件自定义角色时可给角色绑定的权限选项
    url(r'^teams/three_service/operate_options$', ThreeServicePermOptionsView.as_view()),