ROUTER.register(r'metrics', CostModelMetricsMapViewSet, basename='metrics') ROUTER.register(r'providers', ProviderViewSet) ROUTER.register(r'sources', SourcesProxyViewSet, basename='sources-proxy') ROUTER.register(r'preferences', UserPreferenceViewSet, basename='preferences') ROUTER.register(r'cloud-accounts', CloudAccountViewSet, basename='cloud_accounts') # pylint: disable=invalid-name urlpatterns = [ url(r'^status/$', StatusView.as_view(), name='server-status'), url(r'^openapi.json', openapi, name='openapi'), url(r'^tags/aws/$', AWSTagView.as_view(), name='aws-tags'), url(r'^tags/azure/$', AzureTagView.as_view(), name='azure-tags'), url(r'^tags/openshift/$', OCPTagView.as_view(), name='openshift-tags'), url(r'^tags/openshift/infrastructures/all/$', OCPAllTagView.as_view(), name='openshift-all-tags'), url(r'^tags/openshift/infrastructures/aws/$', OCPAWSTagView.as_view(), name='openshift-aws-tags'), url(r'^tags/openshift/infrastructures/azure/$', OCPAzureTagView.as_view(), name='openshift-azure-tags'), url(r'^reports/aws/costs/$', AWSCostView.as_view(), name='reports-aws-costs'), url(r'^reports/aws/instance-types/$', AWSInstanceTypeView.as_view(), name='reports-aws-instance-type'), url(r'^reports/aws/storage/$', AWSStorageView.as_view(),