Ejemplo n.º 1
0
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)),
    url(r'^inventory_sources/', include(inventory_source_urls)),
    url(r'^inventory_updates/', include(inventory_update_urls)),
    url(r'^inventory_scripts/', include(inventory_script_urls)),
Ejemplo n.º 2
0
 url(r'^tokens/$', OAuth2TokenList.as_view(), name='o_auth2_token_list'),
 url(r'^', include(oauth2_urls)),
 url(r'^metrics/$', MetricsView.as_view(), name='metrics_view'),
 url(r'^ping/$', ApiV2PingView.as_view(), name='api_v2_ping_view'),
 url(r'^config/$', ApiV2ConfigView.as_view(), name='api_v2_config_view'),
 url(r'^config/subscriptions/$',
     ApiV2SubscriptionView.as_view(),
     name='api_v2_subscription_view'),
 url(r'^config/attach/$',
     ApiV2AttachView.as_view(),
     name='api_v2_attach_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'^execution_environments/', include(execution_environment_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)),
 url(r'^inventory_sources/', include(inventory_source_urls)),