Skip to content

Commit

Permalink
Fjernet kodeverkproxy og endret til at appene henter hver for seg
Browse files Browse the repository at this point in the history
#deploy-test-dolly-backend
  • Loading branch information
stigus committed Jan 24, 2024
1 parent 24f0065 commit 51a89c5
Show file tree
Hide file tree
Showing 27 changed files with 25 additions and 732 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/proxy.kodeverk-proxy.yml

This file was deleted.

3 changes: 2 additions & 1 deletion apps/dolly-backend/config.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ spec:
- application: testnav-miljoer-service
- application: testnav-inntektsmelding-service
- application: testnav-arbeidsforhold-service
- application: kodeverk-api
namespace: team-rocket
external:
- host: testnav-arena-forvalteren-proxy.dev-fss-pub.nais.io
- host: testnav-brregstub-proxy.dev-fss-pub.nais.io
Expand All @@ -54,7 +56,6 @@ 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
Expand Down
3 changes: 2 additions & 1 deletion apps/dolly-backend/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ spec:
- application: testnav-miljoer-service
- application: testnav-inntektsmelding-service
- application: testnav-arbeidsforhold-service
- application: kodeverk-api
namespace: team-rocket
external:
- host: testnav-arena-forvalteren-proxy.dev-fss-pub.nais.io
- host: testnav-brregstub-proxy.dev-fss-pub.nais.io
Expand All @@ -61,7 +63,6 @@ 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: testnav-norg2-proxy.dev-fss-pub.nais.io
Expand Down
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: http://kodeverk-api.team-rocket.svc.cluster.local
cluster: dev-gcp
testnav-dokarkiv-proxy:
name: testnav-dokarkiv-proxy
namespace: dolly
Expand Down
6 changes: 3 additions & 3 deletions apps/dolly-backend/src/test/resources/application-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ 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
testnav-tps-messaging-service:
Expand Down
3 changes: 2 additions & 1 deletion apps/dolly-frontend/config.idporten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ spec:
- application: dolly-backend
- application: testnav-person-service
- application: generer-navn-service
- application: kodeverk-api
namespace: team-rocket
external:
- host: testnav-pensjon-testdata-facade-proxy.dev-fss-pub.nais.io
- host: testnav-sigrunstub-proxy.dev-fss-pub.nais.io
Expand All @@ -55,7 +57,6 @@ 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: tps-forvalteren-proxy.dev-fss-pub.nais.io
- host: testnav-inntektstub-proxy.dev-fss-pub.nais.io
Expand Down
3 changes: 2 additions & 1 deletion apps/dolly-frontend/config.unstable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ spec:
- application: testnav-miljoer-service
- application: testnav-adresse-service
- application: testnorge-tilbakemelding-api
- application: kodeverk-api
namespace: team-rocket
external:
- host: testnav-pensjon-testdata-facade-proxy.dev-fss-pub.nais.io
- host: testnav-sigrunstub-proxy.dev-fss-pub.nais.io
Expand All @@ -60,7 +62,6 @@ 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: tps-forvalteren-proxy.dev-fss-pub.nais.io
- host: testnav-inntektstub-proxy.dev-fss-pub.nais.io
Expand Down
3 changes: 2 additions & 1 deletion apps/dolly-frontend/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ spec:
- application: testnav-miljoer-service
- application: testnav-adresse-service
- application: testnorge-tilbakemelding-api
- application: kodeverk-api
namespace: team-rocket
external:
- host: testnav-pensjon-testdata-facade-proxy.dev-fss-pub.nais.io
- host: testnav-sigrunstub-proxy.dev-fss-pub.nais.io
Expand All @@ -65,7 +67,6 @@ 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: tps-forvalteren-proxy.dev-fss-pub.nais.io
- host: testnav-inntektstub-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: http://kodeverk-api.team-rocket.svc.cluster.local
cluster: dev-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.

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

This file was deleted.

Binary file not shown.

This file was deleted.

Loading

0 comments on commit 51a89c5

Please sign in to comment.