-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Endret en god del av oppsettet for henting av identer og logging i en…
…dringsmelding løypa #deploy-endringsmelding-frontend #deploy-endringsmelding-service #deploy-tps-messaging-service #deploy-test-frontend
- Loading branch information
Showing
87 changed files
with
283 additions
and
219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 8 additions & 7 deletions
15
apps/dolly-frontend/src/main/js/src/service/services/tpsmessaging/TpsMessagingService.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
import Request from '@/service/services/Request' | ||
|
||
const TPS_MESSAGING_URL = `/testnav-tps-messaging-service/api/v1/personer` | ||
const TPS_MESSAGING_URL_V1 = `/testnav-tps-messaging-service/api/v1/personer` | ||
const TPS_MESSAGING_URL_V2 = `/testnav-tps-messaging-service/api/v2/personer` | ||
|
||
const getTpsMessagingUrl = (ident, miljoe) => `${TPS_MESSAGING_URL}/${ident}?miljoer=${miljoe}` | ||
const getTpsMessagingUrlAllEnvs = (ident) => `${TPS_MESSAGING_URL}/${ident}` | ||
const getTpsMessagingUrl_V2 = (miljoe) => `${TPS_MESSAGING_URL_V2}/ident?miljoer=${miljoe}` | ||
const getTpsMessagingUrlAllEnvs_V2 = () => `${TPS_MESSAGING_URL_V2}/ident` | ||
|
||
export default { | ||
getTpsPersonInfo(ident, miljoe) { | ||
return Request.get(getTpsMessagingUrl(ident, miljoe)) | ||
return Request.post(getTpsMessagingUrl_V2(miljoe), ident) | ||
}, | ||
getTpsPersonInfoAllEnvs(ident) { | ||
return Request.get(getTpsMessagingUrlAllEnvs(ident)) | ||
return Request.post(getTpsMessagingUrlAllEnvs_V2(), ident) | ||
}, | ||
deleteBankkontoNorsk(ident) { | ||
return Request.delete(`${TPS_MESSAGING_URL}/${ident}/bankkonto-norsk`) | ||
return Request.delete(`${TPS_MESSAGING_URL_V1}/${ident}/bankkonto-norsk`) | ||
}, | ||
deleteBankkontoUtenlandsk(ident) { | ||
return Request.delete(`${TPS_MESSAGING_URL}/${ident}/bankkonto-utenlandsk`) | ||
return Request.delete(`${TPS_MESSAGING_URL_V1}/${ident}/bankkonto-utenlandsk`) | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.