예제 #1
0
파일: urls.py 프로젝트: bakuppus/awx-demo
from .label import urls as label_urls
from .workflow_job_template_node import urls as workflow_job_template_node_urls
from .workflow_job_node import urls as workflow_job_node_urls
from .schedule import urls as schedule_urls
from .activity_stream import urls as activity_stream_urls
from .instance import urls as instance_urls
from .instance_group import urls as instance_group_urls
from .user_oauth import urls as user_oauth_urls
from .oauth import urls as oauth_urls


v1_urls = [
    url(r'^$', ApiV1RootView.as_view(), name='api_v1_root_view'),
    url(r'^ping/$', ApiV1PingView.as_view(), name='api_v1_ping_view'),
    url(r'^config/$', ApiV1ConfigView.as_view(), name='api_v1_config_view'),
    url(r'^auth/$', AuthView.as_view()),
    url(r'^me/$', UserMeList.as_view(), name='user_me_list'),
    url(r'^dashboard/$', DashboardView.as_view(), name='dashboard_view'),
    url(r'^dashboard/graphs/jobs/$', DashboardJobsGraphView.as_view(), name='dashboard_jobs_graph_view'),
    url(r'^settings/', include('awx.conf.urls')),
    url(r'^instances/', include(instance_urls)),
    url(r'^instance_groups/', include(instance_group_urls)),
    url(r'^schedules/', include(schedule_urls)),
    url(r'^organizations/', include(organization_urls)),
    url(r'^users/', include(user_urls)),
    url(r'^projects/', include(project_urls)),
    url(r'^project_updates/', include(project_update_urls)),
    url(r'^teams/', include(team_urls)),
    url(r'^inventories/', include(inventory_urls)),
    url(r'^hosts/', include(host_urls)),
    url(r'^groups/', include(group_urls)),
예제 #2
0
파일: urls.py 프로젝트: yckwon75/awx
         ApplicationOAuth2TokenList.as_view(),
         name='application_o_auth2_token_list'),
 re_path(r'^tokens/$', OAuth2TokenList.as_view(),
         name='o_auth2_token_list'),
 re_path(r'^', include(oauth2_urls)),
 re_path(r'^metrics/$', MetricsView.as_view(), name='metrics_view'),
 re_path(r'^ping/$', ApiV2PingView.as_view(), name='api_v2_ping_view'),
 re_path(r'^config/$', ApiV2ConfigView.as_view(),
         name='api_v2_config_view'),
 re_path(r'^config/subscriptions/$',
         ApiV2SubscriptionView.as_view(),
         name='api_v2_subscription_view'),
 re_path(r'^config/attach/$',
         ApiV2AttachView.as_view(),
         name='api_v2_attach_view'),
 re_path(r'^auth/$', AuthView.as_view()),
 re_path(r'^me/$', UserMeList.as_view(), name='user_me_list'),
 re_path(r'^dashboard/$', DashboardView.as_view(), name='dashboard_view'),
 re_path(r'^dashboard/graphs/jobs/$',
         DashboardJobsGraphView.as_view(),
         name='dashboard_jobs_graph_view'),
 re_path(r'^mesh_visualizer/',
         MeshVisualizer.as_view(),
         name='mesh_visualizer_view'),
 re_path(r'^settings/', include('awx.conf.urls')),
 re_path(r'^instances/', include(instance_urls)),
 re_path(r'^instance_groups/', include(instance_group_urls)),
 re_path(r'^schedules/', include(schedule_urls)),
 re_path(r'^organizations/', include(organization_urls)),
 re_path(r'^users/', include(user_urls)),
 re_path(r'^execution_environments/', include(execution_environment_urls)),