Ejemplo n.º 1
0
                           DashboardConfigView.as_view()),
                       url(r'^api/oauth_app$', OauthAppView.as_view()),
                       url(r'^api/oauth_app/(?P<name>\w+)$',
                           OauthAppView.as_view()),
                       (r'^api/sm/services/',
                        include('smart_manager.urls.services')),
                       (r'^api/sm/sprobes/',
                        include('smart_manager.urls.sprobes')),
                       (r'^api/sm/tasks/',
                        include('smart_manager.urls.tasks')),
                       (r'^api/sm/replicas/',
                        include('smart_manager.urls.replicas')),

                       # Certificate URL
                       (r'^api/certificate', TLSCertificateView.as_view()),
                       (r'^api/rockons',
                        include('storageadmin.urls.rockons')),

                       # Config Backup
                       url(r'^api/config-backup$', ConfigBackupListView.as_view()),
                       url(r'^api/config-backup/(?P<backup_id>\d+)$', ConfigBackupDetailView.as_view()),
                       url(r'^api/config-backup/file-upload$',
                           ConfigBackupUpload.as_view()),
                       url(r'^api/email$', EmailClientView.as_view()),
                       url(r'^api/email/(?P<command>.*)$', EmailClientView.as_view()),

                       #update subscription
                       (r'^api/update-subscriptions',
                        include('storageadmin.urls.update_subscription')),
)
Ejemplo n.º 2
0
    url(r'^api/samba$', SambaListView.as_view()),
    url(r'^api/samba/(?P<smb_id>\d+)$', SambaDetailView.as_view()),
    url(r'^api/sftp$', SFTPListView.as_view()),
    url(r'^api/sftp/(?P<id>\d+)$', SFTPDetailView.as_view()),
    # Dashboard config
    url(r'^api/dashboardconfig$', DashboardConfigView.as_view()),
    url(r'^api/oauth_app$', OauthAppView.as_view()),
    url(r'^api/oauth_app/(?P<id>\d+)$', OauthAppView.as_view()),
    (r'^api/sm/services/', include('smart_manager.urls.services')),
    (r'^api/sm/sprobes/', include('smart_manager.urls.sprobes')),
    (r'^api/sm/tasks/', include('smart_manager.urls.tasks')),
    (r'^api/sm/replicas/', include('smart_manager.urls.replicas')),

    # Certificate URL
    (r'^api/certificate', TLSCertificateView.as_view()),
    (r'^api/rockons', include('storageadmin.urls.rockons')),

    # Config Backup
    url(r'^api/config-backup$', ConfigBackupListView.as_view()),
    url(r'^api/config-backup/(?P<backup_id>\d+)$',
        ConfigBackupDetailView.as_view()),
    url(r'^api/config-backup/file-upload$', ConfigBackupUpload.as_view()),
    url(r'^api/email$', EmailClientView.as_view()),
    url(r'^api/email/(?P<command>.*)$', EmailClientView.as_view()),
    # Pincard
    url(r'^api/pincardmanager', include('storageadmin.urls.pincard')),
    # update subscription
    (r'^api/update-subscriptions',
     include('storageadmin.urls.update_subscription')),
)
Ejemplo n.º 3
0
                       url(r'^api/netatalk$', NetatalkListView.as_view()),
                       url(r'^api/netatalk/(?P<afp_id>\d+)$',
                           NetatalkDetailView.as_view()),
                       # Dashboard config
                       url(r'^api/dashboardconfig/$',
                           DashboardConfigView.as_view()),
                       url(r'^api/oauth_app$', OauthAppView.as_view()),
                       url(r'^api/oauth_app/(?P<name>\w+)$',
                           OauthAppView.as_view()),
                       (r'^api/sm/services/',
                        include('smart_manager.urls.services')),
                       (r'^api/sm/sprobes/',
                        include('smart_manager.urls.sprobes')),
                       (r'^api/sm/tasks/',
                        include('smart_manager.urls.tasks')),
                       (r'^api/sm/replicas/',
                        include('smart_manager.urls.replicas')),

                       # Certificate URL
                       (r'^api/certificate', TLSCertificateView.as_view()),
                       (r'^api/rockons',
                        include('storageadmin.urls.rockons')),

                       # Config Backup
                       url(r'^api/config-backup$', ConfigBackupListView.as_view()),
                       url(r'^api/config-backup/(?P<backup_id>\d+)$', ConfigBackupDetailView.as_view()),
                       url(r'^api/config-backup/file-upload$',
                           ConfigBackupUpload.as_view()),
                       url(r'^api/email', EmailClientView.as_view()),
)