Skip to content

Commit

Permalink
Merge pull request #3398 from navikt/feature/kodeverk-benytte-nytt-api
Browse files Browse the repository at this point in the history
Endret kodeverk-proxy til å gå mot den nye kodeverk-api løsningen i gcp
  • Loading branch information
stigus authored Jan 24, 2024
2 parents f3c0fea + 5902911 commit 5811a12
Show file tree
Hide file tree
Showing 28 changed files with 22 additions and 732 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/proxy.kodeverk-proxy.yml

This file was deleted.

2 changes: 1 addition & 1 deletion apps/dolly-backend/config.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ spec:
- host: testnav-inntektstub-proxy.dev-fss-pub.nais.io
- host: testnav-inst-proxy.dev-fss-pub.nais.io
- host: testnav-medl-proxy.dev-fss-pub.nais.io
- host: testnav-kodeverk-proxy.dev-fss-pub.nais.io
- host: testnav-kontoregister-person-proxy.dev-fss-pub.nais.io
- host: testnav-krrstub-proxy.dev-fss-pub.nais.io
- host: testnav-norg2-proxy.dev-fss-pub.nais.io
- host: testnav-pensjon-testdata-facade-proxy.dev-fss-pub.nais.io
- host: testnav-pdl-proxy.dev-fss-pub.nais.io
- host: testnav-sigrunstub-proxy.dev-fss-pub.nais.io
- host: testnav-skjermingsregister-proxy.dev-fss-pub.nais.io
- host: kodeverk-api.nav.no
- host: testnav-udistub-proxy.dev-fss-pub.nais.io
- host: tps-forvalteren-dev-proxy.dev-fss-pub.nais.io
webproxy: true
Expand Down
2 changes: 1 addition & 1 deletion apps/dolly-backend/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ spec:
- host: testnav-histark-proxy.dev-fss-pub.nais.io
- host: testnav-inntektstub-proxy.dev-fss-pub.nais.io
- host: testnav-inst-proxy.dev-fss-pub.nais.io
- host: testnav-kodeverk-proxy.dev-fss-pub.nais.io
- host: testnav-kontoregister-person-proxy.dev-fss-pub.nais.io
- host: testnav-krrstub-proxy.dev-fss-pub.nais.io
- host: kodeverk-api.nav.no
- host: testnav-norg2-proxy.dev-fss-pub.nais.io
- host: testnav-pensjon-testdata-facade-proxy.dev-fss-pub.nais.io
- host: testnav-pdl-proxy.dev-fss-pub.nais.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ public static void main(String[] args) {

SpringApplication.run(DollyBackendApplicationStarter.class, args);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class Consumers {
private ServerProperties testnavInntektsmeldingService;
private ServerProperties testnavInntektstubProxy;
private ServerProperties testnavInstProxy;
private ServerProperties testnavKodeverkProxy;
private ServerProperties kodeverkApi;
private ServerProperties testnavKontoregisterPersonProxy;
private ServerProperties testnavKrrstubProxy;
private ServerProperties testnavMedlProxy;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public KodeverkConsumer(
WebClient.Builder webClientBuilder
) {
this.tokenService = tokenService;
serverProperties = consumers.getTestnavKodeverkProxy();
serverProperties = consumers.getKodeverkApi();
this.webClient = webClientBuilder
.exchangeStrategies(
ExchangeStrategies
Expand Down
10 changes: 5 additions & 5 deletions apps/dolly-backend/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ consumers:
namespace: dolly
url: http://testnav-person-service.dolly.svc.cluster.local
cluster: dev-gcp
testnav-kodeverk-proxy:
name: testnav-kodeverk-proxy
namespace: dolly
url: https://testnav-kodeverk-proxy.dev-fss-pub.nais.io
cluster: dev-fss
kodeverk-api:
name: kodeverk-api
namespace: team-rocket
url: https://kodeverk-api.nav.no
cluster: prod-gcp
testnav-dokarkiv-proxy:
name: testnav-dokarkiv-proxy
namespace: dolly
Expand Down
8 changes: 4 additions & 4 deletions apps/dolly-backend/src/test/resources/application-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ open:
index: dummy

consumers:
testnav-kodeverk-proxy:
name: kodeverk-mock
namespace: dolly
kodeverk-api:
name: kodeverk-api
namespace: team-rocket
url: http://localhost:${wiremock.server.port:0}/kodeverk
cluster: dev-fss
cluster: prod-gcp
testnav-tps-messaging-service:
name: tps-messaging-mock
namespace: dolly
Expand Down
2 changes: 1 addition & 1 deletion apps/dolly-frontend/config.idporten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ spec:
- host: testnav-pensjon-testdata-facade-proxy.dev-fss-pub.nais.io
- host: testnav-sigrunstub-proxy.dev-fss-pub.nais.io
- host: testnav-krrstub-proxy.dev-fss-pub.nais.io
- host: kodeverk-api.nav.no
- host: testnav-udistub-proxy.dev-fss-pub.nais.io
- host: testnav-inst-proxy.dev-fss-pub.nais.io
- host: testnav-aareg-proxy.dev-fss-pub.nais.io
- host: testnav-medl-proxy.dev-fss-pub.nais.io
- host: testnav-histark-proxy.dev-fss-pub.nais.io
- host: testnav-kodeverk-proxy.dev-fss-pub.nais.io
- host: testnav-arena-forvalteren-proxy.dev-fss-pub.nais.io
- host: tps-forvalteren-proxy.dev-fss-pub.nais.io
- host: testnav-inntektstub-proxy.dev-fss-pub.nais.io
Expand Down
2 changes: 1 addition & 1 deletion apps/dolly-frontend/config.unstable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ spec:
- host: testnav-sigrunstub-proxy.dev-fss-pub.nais.io
- host: testnav-krrstub-proxy.dev-fss-pub.nais.io
- host: testnav-udistub-proxy.dev-fss-pub.nais.io
- host: kodeverk-api.nav.no
- host: testnav-inst-proxy.dev-fss-pub.nais.io
- host: testnav-aareg-proxy.dev-fss-pub.nais.io
- host: testnav-medl-proxy.dev-fss-pub.nais.io
- host: testnav-histark-proxy.dev-fss-pub.nais.io
- host: testnav-kodeverk-proxy.dev-fss-pub.nais.io
- host: testnav-arena-forvalteren-proxy.dev-fss-pub.nais.io
- host: tps-forvalteren-proxy.dev-fss-pub.nais.io
- host: testnav-inntektstub-proxy.dev-fss-pub.nais.io
Expand Down
2 changes: 1 addition & 1 deletion apps/dolly-frontend/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ spec:
- host: testnav-aareg-proxy.dev-fss-pub.nais.io
- host: testnav-medl-proxy.dev-fss-pub.nais.io
- host: testnav-histark-proxy.dev-fss-pub.nais.io
- host: testnav-kodeverk-proxy.dev-fss-pub.nais.io
- host: testnav-arena-forvalteren-proxy.dev-fss-pub.nais.io
- host: kodeverk-api.nav.no
- host: tps-forvalteren-proxy.dev-fss-pub.nais.io
- host: testnav-inntektstub-proxy.dev-fss-pub.nais.io
- host: testnav-norg2-proxy.dev-fss-pub.nais.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ consumers:
url: https://krr-stub-%s.dev.intern.nav.no/api
synthdata-aareg:
url: http://nais-synthdata-aareg.dolly.svc.nais.local
kodeverk:
cluster: dev-fss
name: testnav-kodeverk-proxy
namespace: dolly
url: https://kodeverk.dev.intern.nav.no
kodeverk-api:
name: kodeverk-api
namespace: team-rocket
url: https://kodeverk-api.nav.no
cluster: prod-gcp
testnav-aareg-proxy:
name: testnav-aareg-proxy
namespace: dolly
Expand Down
8 changes: 0 additions & 8 deletions proxies/kodeverk-proxy/Dockerfile

This file was deleted.

77 changes: 0 additions & 77 deletions proxies/kodeverk-proxy/build.gradle

This file was deleted.

64 changes: 0 additions & 64 deletions proxies/kodeverk-proxy/config.yml

This file was deleted.

Binary file not shown.

This file was deleted.

Loading

0 comments on commit 5811a12

Please sign in to comment.