Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Bytter til aktoer/v2, overgang fra aktoerregister til pdl #657

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hensol
Copy link
Collaborator

@hensol hensol commented Oct 4, 2022

No description provided.

@hensol hensol requested a review from a team as a code owner October 4, 2022 08:11
@@ -113,7 +113,7 @@ class IntegrasjonTjeneste @Autowired constructor(@param:Value("\${FAMILIE_INTEGR
if (personident == null || personident.isEmpty()) {
throw IntegrasjonException("Ved henting av aktør id er personident null eller tom")
}
val uri = URI.create("$integrasjonerServiceUri/aktoer/v1")
val uri = URI.create("$integrasjonerServiceUri/aktoer/v2/KON")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

V2 har body og ikke header

@@ -140,7 +140,7 @@ class IntegrasjonTjeneste @Autowired constructor(@param:Value("\${FAMILIE_INTEGR
if (aktørId == null || aktørId.isEmpty()) {
throw IntegrasjonException("Ved henting av personident er aktørId null eller tom")
}
val uri = URI.create("$integrasjonerServiceUri/aktoer/v1/fraaktorid")
val uri = URI.create("$integrasjonerServiceUri/aktoer/v2/fraaktorid/KON")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

V2 har body og ikke header

Copy link
Contributor

@stigebil stigebil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Må skrive om til å bruke RequestBody og ikke header

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants