Skip to content

Commit f91bf2e

Browse files
authored
feat(retrigger-processes): align endurl mapping keys with backend (eclipse-tractusx#1268)
eclipse-tractusx#1266
1 parent 713f8a5 commit f91bf2e

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
- **Onboarding Service Provider**
88
- removed deprecated page onboardingServiceProvider and every related link [#1261](https://github.com/eclipse-tractusx/portal-frontend/pull/1261)
9+
- **Application Request**
10+
- align endurl mapping keys with backend for retriggerable processes [#1268](https://github.com/eclipse-tractusx/portal-frontend/pull/1268)
911

1012
### Bugfixes
1113

src/components/shared/basic/ProgressVerificationButton/index.tsx

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -249,14 +249,10 @@ export const ProgressVerificationButton = ({
249249

250250
const getButtonTitle = () => {
251251
if (
252-
(props.retriggerableProcessSteps &&
253-
props.retriggerableProcessSteps.indexOf(
254-
RetriggerableProcessSteps.TRIGGER_OVERRIDE_CLEARING_HOUSE
255-
) > -1) ??
256-
(props.retriggerableProcessSteps &&
257-
props.retriggerableProcessSteps.indexOf(
258-
RetriggerableProcessSteps.OVERRIDE_BUSINESS_PARTNER_NUMBER
259-
) > -1)
252+
props.retriggerableProcessSteps &&
253+
props.retriggerableProcessSteps.indexOf(
254+
RetriggerableProcessSteps.MANUAL_TRIGGER_OVERRIDE_CLEARING_HOUSE
255+
) > -1
260256
) {
261257
return t('content.checklistOverlay.buttonOverwrite')
262258
}

src/features/admin/applicationRequestApiSlice.ts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,25 +91,28 @@ export const EndUrlMap: Map = {
9191
RETRIGGER_IDENTITY_WALLET: 'trigger-identity-wallet',
9292
RETRIGGER_CREATE_DIM_WALLET: 'retrigger-create-dim-wallet',
9393
RETRIGGER_CLEARING_HOUSE: 'retrigger-clearinghouse',
94-
TRIGGER_OVERRIDE_CLEARING_HOUSE: 'override-clearinghouse',
94+
MANUAL_TRIGGER_OVERRIDE_CLEARING_HOUSE: 'override-clearinghouse',
9595
RETRIGGER_SELF_DESCRIPTION_LP: 'trigger-self-description',
9696
RETRIGGER_BUSINESS_PARTNER_NUMBER_PUSH:
9797
'trigger-bpn?processTypeId=RETRIGGER_BUSINESS_PARTNER_NUMBER_PUSH',
9898
RETRIGGER_BUSINESS_PARTNER_NUMBER_PULL:
9999
'trigger-bpn?processTypeId=RETRIGGER_BUSINESS_PARTNER_NUMBER_PULL',
100-
OVERRIDE_BUSINESS_PARTNER_NUMBER:
101-
'trigger-bpn?processTypeId=OVERRIDE_BUSINESS_PARTNER_NUMBER',
100+
RETRIGGER_TRANSMIT_DID_BPN: 'retrigger-transmit-bpn-did',
101+
RETRIGGER_REQUEST_BPN_CREDENTIAL: 'retrigger-bpn-credential',
102+
RETRIGGER_REQUEST_MEMBERSHIP_CREDENTIAL: 'retrigger-membership-credential',
102103
}
103104

104105
export enum RetriggerableProcessSteps {
105106
RETRIGGER_IDENTITY_WALLET = 'RETRIGGER_IDENTITY_WALLET',
106107
RETRIGGER_CREATE_DIM_WALLET = 'RETRIGGER_CREATE_DIM_WALLET',
107108
RETRIGGER_CLEARING_HOUSE = 'RETRIGGER_CLEARING_HOUSE',
108-
TRIGGER_OVERRIDE_CLEARING_HOUSE = 'TRIGGER_OVERRIDE_CLEARING_HOUSE',
109+
MANUAL_TRIGGER_OVERRIDE_CLEARING_HOUSE = 'MANUAL_TRIGGER_OVERRIDE_CLEARING_HOUSE',
109110
RETRIGGER_SELF_DESCRIPTION_LP = 'RETRIGGER_SELF_DESCRIPTION_LP',
110111
RETRIGGER_BUSINESS_PARTNER_NUMBER_PUSH = 'RETRIGGER_BUSINESS_PARTNER_NUMBER_PUSH',
111112
RETRIGGER_BUSINESS_PARTNER_NUMBER_PULL = 'RETRIGGER_BUSINESS_PARTNER_NUMBER_PULL',
112-
OVERRIDE_BUSINESS_PARTNER_NUMBER = 'OVERRIDE_BUSINESS_PARTNER_NUMBER',
113+
RETRIGGER_TRANSMIT_DID_BPN = 'RETRIGGER_TRANSMIT_DID_BPN',
114+
RETRIGGER_REQUEST_BPN_CREDENTIAL = 'RETRIGGER_REQUEST_BPN_CREDENTIAL',
115+
RETRIGGER_REQUEST_MEMBERSHIP_CREDENTIAL = 'RETRIGGER_REQUEST_MEMBERSHIP_CREDENTIAL',
113116
}
114117

115118
export type ProgressButtonsType = {

0 commit comments

Comments
 (0)