path( "reports/openshift/infrastructures/azure/instance-types/", cache_page(timeout=settings.CACHE_MIDDLEWARE_SECONDS, key_prefix=OPENSHIFT_AZURE_CACHE_PREFIX)( OCPAzureInstanceTypeView.as_view()), name="reports-openshift-azure-instance-type", ), path("settings/", SettingsView.as_view(), name="settings"), path("settings", RedirectView.as_view(pattern_name="settings"), name="settings-redirect"), path("organizations/aws/", AWSOrgView.as_view(), name="aws-org-unit"), path("resource-types/", ResourceTypeView.as_view(), name="resource-types"), path("user-access/", UserAccessView.as_view(), name="user-access"), path("resource-types/aws-accounts/", AWSAccountView.as_view(), name="aws-accounts"), path("resource-types/gcp-accounts/", GCPAccountView.as_view(), name="gcp-accounts"), path("resource-types/gcp-projects/", GCPProjectsView.as_view(), name="gcp-projects"), # TODO gcp-gcp-projects should be removed after UI is pushed to prod. path("resource-types/gcp-gcp-projects/", GCPProjectsView.as_view(), name="gcp-gcp-projects"), path("resource-types/gcp-regions/", GCPRegionView.as_view(), name="gcp-regions"), path("resource-types/gcp-services/",
"reports/openshift/infrastructures/azure/storage/", cache_page(timeout=settings.CACHE_MIDDLEWARE_SECONDS, key_prefix=OPENSHIFT_AZURE_CACHE_PREFIX)( OCPAzureStorageView.as_view() ), name="reports-openshift-azure-storage", ), path( "reports/openshift/infrastructures/azure/instance-types/", cache_page(timeout=settings.CACHE_MIDDLEWARE_SECONDS, key_prefix=OPENSHIFT_AZURE_CACHE_PREFIX)( OCPAzureInstanceTypeView.as_view() ), name="reports-openshift-azure-instance-type", ), path("settings/", SettingsView.as_view(), name="settings"), path("settings", RedirectView.as_view(pattern_name="settings"), name="settings-redirect"), path("organizations/aws/", AWSOrgView.as_view(), name="aws-org-unit"), path("resource-types/", ResourceTypeView.as_view(), name="resource-types"), path("resource-types/aws-accounts/", AWSAccountView.as_view(), name="aws-accounts"), path( "resource-types/aws-organizational-units/", AWSOrganizationalUnitView.as_view(), name="aws-organizational-units", ), path( "resource-types/azure-subscription-guids/", AzureSubscriptionGuidView.as_view(), name="azure-subscription-guids", ), ] urlpatterns += ROUTER.urls