diff --git a/src/components/shared/frame/Footer/index.tsx b/src/components/shared/frame/Footer/index.tsx
index 0a5c1425a..73229eff9 100644
--- a/src/components/shared/frame/Footer/index.tsx
+++ b/src/components/shared/frame/Footer/index.tsx
@@ -44,9 +44,9 @@ export const Footer = ({ pages }: { pages: string[] }) => {
})
}
const isAppOverviewPage = [
- PAGES.APPOVERVIEW,
+ PAGES.APP_OVERVIEW,
PAGES.APP_MANAGEMENT,
- PAGES.APPRELEASEPROCESS,
+ PAGES.APP_RELEASE_PROCESS,
PAGES.SERVICE_MARKETPLACE,
].find((e) => location.pathname.split('/').includes(e))
@@ -54,8 +54,8 @@ export const Footer = ({ pages }: { pages: string[] }) => {
location.pathname.split('/').includes(e)
)
- const isAppReleaseProcessForm = [`${PAGES.APPRELEASEPROCESS}/form`].find(() =>
- location.pathname.split('/').includes('form')
+ const isAppReleaseProcessForm = [`${PAGES.APP_RELEASE_PROCESS}/form`].find(
+ () => location.pathname.split('/').includes('form')
)
const [showScrollToTop, setShowScrollToTop] = useState(false)
diff --git a/src/components/shared/templates/AdminBoard/AdminBoardElements.tsx b/src/components/shared/templates/AdminBoard/AdminBoardElements.tsx
index 6203cdd61..e0f8df3ea 100644
--- a/src/components/shared/templates/AdminBoard/AdminBoardElements.tsx
+++ b/src/components/shared/templates/AdminBoard/AdminBoardElements.tsx
@@ -93,7 +93,7 @@ export default function AdminBoardElements({
const handleApprove = async (appId: string) => {
setActionApprove(true)
- if (type === PAGES.SERVICEADMINBOARD_DETAIL) {
+ if (type === PAGES.SERVICE_ADMIN_BOARD_DETAIL) {
await approveServiceRequest(appId)
.unwrap()
.then(() => {
@@ -140,7 +140,7 @@ export default function AdminBoardElements({
items={apps}
onDelete={(appId: string) => {
setActionApprove(false)
- if (type === PAGES.SERVICEADMINBOARD_DETAIL) {
+ if (type === PAGES.SERVICE_ADMIN_BOARD_DETAIL) {
dispatch(show(OVERLAYS.SERVICE_DECLINE_ADMINBOARD, appId))
} else {
dispatch(show(OVERLAYS.APP_DECLINE_ADMINBOARD, appId))
diff --git a/src/services/AccessService.tsx b/src/services/AccessService.tsx
index 86d5bfd42..7fb032325 100644
--- a/src/services/AccessService.tsx
+++ b/src/services/AccessService.tsx
@@ -133,9 +133,9 @@ export const getOverlay = (overlay: OverlayState) => {
return
case OVERLAYS.USER:
return
- case OVERLAYS.ADD_TECHUSER:
+ case OVERLAYS.ADD_TECH_USER:
return
- case OVERLAYS.DELETE_TECHUSER:
+ case OVERLAYS.DELETE_TECH_USER:
return
case OVERLAYS.ADD_APP_USER_ROLES:
return
diff --git a/src/types/Config.tsx b/src/types/Config.tsx
index 83ddfec0c..387b73f24 100644
--- a/src/types/Config.tsx
+++ b/src/types/Config.tsx
@@ -214,37 +214,37 @@ export const ALL_PAGES: IPage[] = [
element:
,
},
{
- name: PAGES.APPOVERVIEW,
+ name: PAGES.APP_OVERVIEW,
role: ROLES.APPOVERVIEW_VIEW,
element:
,
},
{
- name: PAGES.APPOVERVIEW_NEW,
+ name: PAGES.APP_OVERVIEW_NEW,
role: ROLES.APPOVERVIEW_VIEW,
element:
,
},
{
- name: PAGES.SERVICEOVERVIEW,
+ name: PAGES.SERVICE_OVERVIEW,
role: ROLES.SERVICEOVERVIEW_VIEW,
element:
,
},
{
- name: PAGES.APPRELEASEPROCESS,
+ name: PAGES.APP_RELEASE_PROCESS,
role: ROLES.APPOVERVIEW_VIEW,
element:
,
},
{
- name: PAGES.SERVICERELEASEPROCESS,
+ name: PAGES.SERVICE_RELEASE_PROCESS,
role: ROLES.VIEW_SERVICE_RELEASE,
element:
,
},
{
- name: PAGES.APPSUBSCRIPTION,
+ name: PAGES.APP_SUBSCRIPTION,
role: ROLES.APP_MANAGEMENT,
element:
,
},
{
- name: PAGES.SERVICESUBSCRIPTION,
+ name: PAGES.SERVICE_SUBSCRIPTION,
role: ROLES.SERVICE_SUBSCRIPTION_MANAGEMENT,
element:
,
},
@@ -254,7 +254,7 @@ export const ALL_PAGES: IPage[] = [
element:
,
},
{
- name: PAGES.SERVICEADMINBOARD,
+ name: PAGES.SERVICE_ADMIN_BOARD,
role: ROLES.APPROVE_SERVICE_RELEASE || ROLES.DECLINE_SERVICE_RELEASE,
element:
,
},
@@ -274,13 +274,13 @@ export const ALL_PAGES: IPage[] = [
),
},
{
- name: PAGES.SERVICEADMINBOARD_DETAIL,
+ name: PAGES.SERVICE_ADMIN_BOARD_DETAIL,
role: ROLES.APPROVE_SERVICE_RELEASE || ROLES.DECLINE_SERVICE_RELEASE,
isRoute: true,
element: (
}
>
@@ -294,8 +294,8 @@ export const ALL_PAGES: IPage[] = [
role: ROLES.APPOVERVIEW_VIEW,
element: (
}
/>
),
@@ -306,8 +306,8 @@ export const ALL_PAGES: IPage[] = [
role: ROLES.VIEW_SERVICE_RELEASE,
element: (
}
/>
),
@@ -332,18 +332,18 @@ export const ALL_PAGES: IPage[] = [
),
},
{
- name: PAGES.TECHUSER_MANAGEMENT,
- role: ROLES.TECHUSER_VIEW,
+ name: PAGES.TECH_USER_MANAGEMENT,
+ role: ROLES.TECH_USER_VIEW,
element:
,
},
{
- name: PAGES.TECHUSER_DETAILS,
- role: ROLES.TECHUSER_VIEW,
+ name: PAGES.TECH_USER_DETAILS,
+ role: ROLES.TECH_USER_VIEW,
isRoute: true,
element: (
}
>
} />
@@ -420,12 +420,12 @@ export const ALL_PAGES: IPage[] = [
),
},
{
- name: PAGES.SERVICEDEACTIVATE,
+ name: PAGES.SERVICE_DEACTIVATE,
isRoute: true,
element: (
}
>
} />
@@ -491,9 +491,9 @@ export const ALL_PAGES: IPage[] = [
}
+ element={
}
>
-
} />
+
} />
),
},
@@ -537,7 +537,7 @@ export const ALL_PAGES: IPage[] = [
element:
,
},
{
- name: PAGES.ONBOARDING_SERVICEPROVIDER,
+ name: PAGES.ONBOARDING_SERVICE_PROVIDER,
role: ROLES.IDP_VIEW,
element:
,
},
@@ -595,12 +595,12 @@ export const ALL_OVERLAYS: IOverlay[] = [
role: ROLES.USERMANAGEMENT_ADD,
},
{
- name: OVERLAYS.ADD_TECHUSER,
- role: ROLES.TECHUSER_ADD,
+ name: OVERLAYS.ADD_TECH_USER,
+ role: ROLES.TECH_USER_ADD,
},
{
- name: OVERLAYS.DELETE_TECHUSER,
- role: ROLES.TECHUSER_DELETE,
+ name: OVERLAYS.DELETE_TECH_USER,
+ role: ROLES.TECH_USER_DELETE,
},
{
name: OVERLAYS.ADD_APP_USER_ROLES,
@@ -769,22 +769,22 @@ export const mainMenuFullTree = [
{
name: PAGES.APP_MANAGEMENT,
children: [
- { name: PAGES.APPOVERVIEW, hint: HINTS.NEW },
- { name: PAGES.APPRELEASEPROCESS },
- { name: PAGES.APPSUBSCRIPTION, hint: HINTS.NEW },
+ { name: PAGES.APP_OVERVIEW, hint: HINTS.NEW },
+ { name: PAGES.APP_RELEASE_PROCESS },
+ { name: PAGES.APP_SUBSCRIPTION, hint: HINTS.NEW },
{ name: PAGES.ADMINBOARD, hint: HINTS.NEW },
],
},
{
name: PAGES.SERVICE_MANAGEMENT,
children: [
- { name: PAGES.SERVICEOVERVIEW, hint: HINTS.NEW },
- { name: PAGES.SERVICERELEASEPROCESS, hint: HINTS.NEW },
+ { name: PAGES.SERVICE_OVERVIEW, hint: HINTS.NEW },
+ { name: PAGES.SERVICE_RELEASE_PROCESS, hint: HINTS.NEW },
{
- name: PAGES.SERVICESUBSCRIPTION,
+ name: PAGES.SERVICE_SUBSCRIPTION,
hint: HINTS.NEW,
},
- { name: PAGES.SERVICEADMINBOARD, hint: HINTS.NEW },
+ { name: PAGES.SERVICE_ADMIN_BOARD, hint: HINTS.NEW },
],
},
]
diff --git a/src/types/Constants.ts b/src/types/Constants.ts
index daeb9924d..3e4888a2f 100644
--- a/src/types/Constants.ts
+++ b/src/types/Constants.ts
@@ -28,30 +28,30 @@ export enum PAGES {
REGISTRATION = 'registration',
SWAGGER = 'swagger',
STORYBOOK = 'storybook',
- APPSUBSCRIPTION = 'appsubscription',
+ APP_SUBSCRIPTION = 'appSubscription',
ADMINBOARD = 'adminboard',
- ADMINBOARD_DETAIL = 'adminboarddetail',
+ ADMINBOARD_DETAIL = 'adminboardDetail',
MARKETPLACE = 'marketplace',
- APP_MARKETPLACE = 'appmarketplace',
- SERVICE_MARKETPLACE = 'servicemarketplace',
- SERVICE_MARKETPLACE_DETAIL = 'servicemarketplacedetail',
+ APP_MARKETPLACE = 'appMarketplace',
+ SERVICE_MARKETPLACE = 'serviceMarketplace',
+ SERVICE_MARKETPLACE_DETAIL = 'serviceMarketplaceDetail',
APP_DETAIL = 'appdetail',
- DATA_MANAGEMENT = 'datamanagement',
+ DATA_MANAGEMENT = 'dataManagement',
SEMANTICHUB = 'semantichub',
CONNECTOR = 'connector',
ACCOUNT = 'account',
USER_DETAILS = 'userdetails',
NOTIFICATIONS = 'notifications',
ORGANIZATION = 'organization',
- PARTNER_NETWORK = 'partnernetwork',
- USER_MANAGEMENT = 'usermanagement',
- TECHNICAL_SETUP = 'technicalsetup',
- CONNECTOR_MANAGEMENT = 'connectormanagement',
- TECHUSER_MANAGEMENT = 'technicaluser',
- TECHUSER_DETAILS = 'techuserdetails',
- IDP_MANAGEMENT = 'idpmanagement',
- APPLICATION_REQUESTS = 'applicationrequests',
- APP_USER_MANAGEMENT = 'appusermanagement',
+ PARTNER_NETWORK = 'partnerNetwork',
+ USER_MANAGEMENT = 'userManagement',
+ TECHNICAL_SETUP = 'technicalSetup',
+ CONNECTOR_MANAGEMENT = 'connectorManagement',
+ TECH_USER_MANAGEMENT = 'technicalUserManagement',
+ TECH_USER_DETAILS = 'techUserDetails',
+ IDP_MANAGEMENT = 'idpManagement',
+ APPLICATION_REQUESTS = 'applicationRequests',
+ APP_USER_MANAGEMENT = 'appUserManagement',
INVITE = 'invite',
ADMINISTRATION = 'admin',
HELP = 'help',
@@ -60,101 +60,101 @@ export enum PAGES {
IMPRINT = 'imprint',
PRIVACY = 'privacy',
TERMS = 'terms',
- COOKIE_POLICY = 'cookiepolicy',
+ COOKIE_POLICY = 'cookiePolicy',
SETTINGS = 'settings',
DEVELOPER = 'developer',
TEST = 'test',
LOGOUT = 'logout',
ERROR = 'error',
- APP_MANAGEMENT = 'appmanagement',
- APPOVERVIEW = 'appoverview',
- APPOVERVIEW_NEW = 'appoverview-new',
+ APP_MANAGEMENT = 'appManagement',
+ APP_OVERVIEW = 'appOverview',
+ APP_OVERVIEW_NEW = 'appoverviewNew',
DEACTIVATE = 'deactivate',
- CHANGE_IMAGE = 'changeimage',
- CHANGE_DESCRIPTION = 'changedescription',
- ADD_ROLES = 'addroles',
- CHANGE_DOCUMENTS = 'changedocuments',
+ CHANGE_IMAGE = 'changeImage',
+ CHANGE_DESCRIPTION = 'changeDescription',
+ ADD_ROLES = 'addRoles',
+ CHANGE_DOCUMENTS = 'changeDocuments',
VIEW_DETAILS = 'viewDetails',
- APPRELEASEPROCESS = 'appreleaseprocess',
- APP_RELEASE_PROCESS_FORM = 'appreleaseprocess_form',
- INTRODUCTION = 'companyroles',
- INTRODUCTION_PARTICIPANT = 'companyrolesparticipant',
- INTRODUCTION_APP_PROVIDER = 'companyrolesappprovider',
- INTRODUCTION_SERVICE_PROVIDER = 'companyrolesserviceprovider',
- INTRODUCTION_CONFORMITY_BODY = 'companyrolesconformitybody',
- INTRODUCTION_OSP_BODY = 'companyrolesonboardingserviceprovider',
- USE_CASE = 'usecase',
- USE_CASE_TRACABILITY = 'usecasetraceablity',
- SERVICE_MANAGEMENT = 'servicemanagement',
- SERVICEOVERVIEW = 'serviceoverview',
- SERVICEDEACTIVATE = 'servicedeactivate',
- SERVICERELEASEPROCESS = 'servicereleaseprocess',
- SERVICEADMINBOARD = 'serviceadminboard',
- SERVICEADMINBOARD_DETAIL = 'serviceadminboarddetail',
- SERVICESUBSCRIPTION = 'servicesubscription',
- SERVICE_RELEASE_PROCESS_FORM = 'servicereleaseprocess_form',
- ROLE_DETAILS = 'role-details',
- SERVICE_DETAIL = 'servicedetail',
- COMPANY_ROLE = 'company-role',
- USECASE_PARTICIPATION = 'usecase-participation',
+ APP_RELEASE_PROCESS = 'appReleaseProcess',
+ APP_RELEASE_PROCESS_FORM = 'appReleaseProcessForm',
+ INTRODUCTION = 'companyRoles',
+ INTRODUCTION_PARTICIPANT = 'companyRolesParticipant',
+ INTRODUCTION_APP_PROVIDER = 'companyRolesAppProvider',
+ INTRODUCTION_SERVICE_PROVIDER = 'companyRolesServiceProvider',
+ INTRODUCTION_CONFORMITY_BODY = 'companyRolesConformityBody',
+ INTRODUCTION_OSP_BODY = 'companyRolesOnboardingServiceProvider',
+ USE_CASE = 'useCase',
+ USE_CASE_TRACABILITY = 'useCaseTraceablity',
+ SERVICE_MANAGEMENT = 'serviceManagement',
+ SERVICE_OVERVIEW = 'serviceOverview',
+ SERVICE_DEACTIVATE = 'serviceDeactivate',
+ SERVICE_RELEASE_PROCESS = 'serviceReleaseProcess',
+ SERVICE_ADMIN_BOARD = 'serviceAdminBoard',
+ SERVICE_ADMIN_BOARD_DETAIL = 'serviceAdminBoardDetail',
+ SERVICE_SUBSCRIPTION = 'serviceSubscription',
+ SERVICE_RELEASE_PROCESS_FORM = 'serviceReleaseProcessForm',
+ ROLE_DETAILS = 'roleDetails',
+ SERVICE_DETAIL = 'serviceDetail',
+ COMPANY_ROLE = 'companyRole',
+ USECASE_PARTICIPATION = 'useCaseParticipation',
ABOUTPAGE = 'about',
- CERTIFICATE_CREDENTIAL = 'certificate-credential',
- DATA_SPACE = 'dataspace',
- ADMIN_CREDENTIAL = 'admin-credential',
- ONBOARDING_SERVICEPROVIDER = 'onboarding-serviceprovider',
+ CERTIFICATE_CREDENTIAL = 'certificateCredential',
+ DATA_SPACE = 'dataSpace',
+ ADMIN_CREDENTIAL = 'adminCredential',
+ ONBOARDING_SERVICE_PROVIDER = 'onboardingServiceProvider',
COMPANY_CERTIFICATE = 'companyCertificate',
COMPANY_WALLET = 'companyWallet',
DECLINE = 'decline',
- CONSENT_OSP = 'consent_osp',
- COMPANY_SUBSCRIPTIONS = 'company-subscriptions',
- COMPANY_SUBSCRIPTIONS_DETAIL = 'company-subscriptions-detail',
- COMPANY_DATA = 'company_data',
+ CONSENT_OSP = 'consentOsp',
+ COMPANY_SUBSCRIPTIONS = 'companySubscriptions',
+ COMPANY_SUBSCRIPTIONS_DETAIL = 'companySubscriptionsDetail',
+ COMPANY_DATA = 'companyData',
}
export enum OVERLAYS {
- NOT_FOUND = 'notfound',
+ NOT_FOUND = 'notFound',
NONE = 'none',
- ADD_USER = 'add_user',
- ADD_MULTIPLE_USER = 'add_multiple_user',
- ADD_APP_USER_ROLES = 'add_app_user_roles',
- EDIT_APP_USER_ROLES = 'edit_app_user_roles',
+ ADD_USER = 'addUser',
+ ADD_MULTIPLE_USER = 'addMultipleUser',
+ ADD_APP_USER_ROLES = 'addAppUserRoles',
+ EDIT_APP_USER_ROLES = 'editAppUserRoles',
USER = 'user',
- ADD_TECHUSER = 'add_techuser',
- DELETE_TECHUSER = 'delete_techuser',
+ ADD_TECH_USER = 'addTechUser',
+ DELETE_TECH_USER = 'deleteTechUser',
NEWS = 'news',
- ADD_BPN = 'add_bpn',
- ADD_SUBSCRIPTION = 'add_subscription',
+ ADD_BPN = 'addBpn',
+ ADD_SUBSCRIPTION = 'addSubscription',
INVITE = 'invite',
PARTNER = 'partner',
APP = 'app',
- SERVICE_REQUEST = 'service_request',
- APPMARKETPLACE_REQUEST = 'appmarketplace_request',
- ADD_IDP = 'add_idp',
- UPDATE_IDP = 'update_idp',
- UPDATE_IDP_SUCCESS = 'update_idp_success',
- ENABLE_IDP = 'enable_idp',
- DISABLE_IDP = 'disable_idp',
- DISABLE_MANAGED_IDP = 'disable_managed_idp',
- DELETE_MANAGED_IDP = 'delete_managed_idp',
- ADDUSERS_IDP = 'addusers_idp',
- IDP_DETAILS = 'idp_details',
- IDP_CONFIRM = 'idp_confirm',
- ENABLE_IDP_SUCCESS = 'enable_idp_success',
- REGISTER_OSP = 'register_osp',
- REGISTER_NEXT_OSP = 'register_next_osp',
- CONSENT_OSP = 'consent_osp',
- APP_OVERVIEW_CONFIRM = 'app_overview_confirm',
- APP_DETAILS_OVERLAY = 'app_details_overlay',
- CONFIRM_USER_ACTION = 'confirm_user_action',
- ADD_SERVICE_PROVIDER = 'add_service_provider',
- APP_DECLINE_ADMINBOARD = 'app_decline_adminboard',
- EDIT_PORTAL_ROLES = 'edit_portal_roles',
- SERVICE_DECLINE_ADMINBOARD = 'decline_service_release',
- UPDATE_COMPANY_ROLE = 'update_company_role',
- EDIT_USECASE = 'edit_usecase',
- UPDATE_CERTIFICATE = 'update_certificate',
- COMPANY_CERTIFICATE_DETAILS = 'company_certificate_details',
- COMPANY_CERTIFICATE_CONFIRM_DELETE = 'company_certificate_confirm_delete',
+ SERVICE_REQUEST = 'serviceRequest',
+ APPMARKETPLACE_REQUEST = 'appmarketplaceRequest',
+ ADD_IDP = 'addIdp',
+ UPDATE_IDP = 'updateIdp',
+ UPDATE_IDP_SUCCESS = 'updateIdpSuccess',
+ ENABLE_IDP = 'enableIdp',
+ DISABLE_IDP = 'disableIdp',
+ DISABLE_MANAGED_IDP = 'disableManagedIdp',
+ DELETE_MANAGED_IDP = 'deleteManagedIdp',
+ ADDUSERS_IDP = 'addUsersIdp',
+ IDP_DETAILS = 'idpDetails',
+ IDP_CONFIRM = 'idpConfirm',
+ ENABLE_IDP_SUCCESS = 'enableIdpSuccess',
+ REGISTER_OSP = 'registerOsp',
+ REGISTER_NEXT_OSP = 'registerNextOsp',
+ CONSENT_OSP = 'consentOsp',
+ APP_OVERVIEW_CONFIRM = 'appOverviewConfirm',
+ APP_DETAILS_OVERLAY = 'appDetailsOverlay',
+ CONFIRM_USER_ACTION = 'confirmUserAction',
+ ADD_SERVICE_PROVIDER = 'addServiceProvider',
+ APP_DECLINE_ADMINBOARD = 'appDeclineAdminboard',
+ EDIT_PORTAL_ROLES = 'editPortalRoles',
+ SERVICE_DECLINE_ADMINBOARD = 'declineServiceRelease',
+ UPDATE_COMPANY_ROLE = 'updateCompanyRole',
+ EDIT_USECASE = 'editUsecase',
+ UPDATE_CERTIFICATE = 'updateCertificate',
+ COMPANY_CERTIFICATE_DETAILS = 'companyCertificateDetails',
+ COMPANY_CERTIFICATE_CONFIRM_DELETE = 'companyCertificateConfirmDelete',
}
export enum ACTIONS {
@@ -193,9 +193,9 @@ export enum ROLES {
USERMANAGEMENT_VIEW = 'view_user_management',
USERMANAGEMENT_ADD = 'add_user_account',
USERMANAGEMENT_DELETE = 'delete_user_account',
- TECHUSER_VIEW = 'view_tech_user_management',
- TECHUSER_ADD = 'add_tech_user_management',
- TECHUSER_DELETE = 'delete_tech_user_management',
+ TECH_USER_VIEW = 'view_tech_user_management',
+ TECH_USER_ADD = 'add_tech_user_management',
+ TECH_USER_DELETE = 'delete_tech_user_management',
IDP_VIEW = 'view_idp',
IDP_ADD = 'add_idp',
IDP_DELETE = 'delete_idp',
diff --git a/yarn.lock b/yarn.lock
index 3d7217421..67f71462a 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -6034,4 +6034,4 @@ yn@3.1.1:
yocto-queue@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
- integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==
+ integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==
\ No newline at end of file