From 357fa422bdb8281b5a680e6e4aee1b808650e42a Mon Sep 17 00:00:00 2001 From: Cato Olsen Date: Fri, 6 Sep 2024 12:36:24 +0200 Subject: [PATCH 1/7] change/local-test-dbs (#3607) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bruker lokal DB i Docker for kjøring lokalt. --- apps/dolly-backend/README.md | 4 +- .../src/main/resources/application-local.yaml | 11 +--- apps/organisasjon-forvalter/README.md | 4 +- .../config/LocalConfig.java | 2 +- .../config/SecurityConfig.java | 2 +- ...lication-dev.yml => application-local.yml} | 6 +- .../src/main/resources/logback-spring.xml | 2 +- apps/pdl-forvalter/README.md | 4 +- .../src/main/resources/application-local.yaml | 7 +-- apps/testnav-ident-pool/README.md | 2 + .../src/main/resources/application-local.yml | 7 +-- apps/udi-stub/README.md | 4 +- .../java/no/nav/udistub/config/DevConfig.java | 2 +- .../no/nav/udistub/config/SecurityConfig.java | 2 +- .../src/main/resources/application-dev.yml | 12 ---- .../src/main/resources/application-local.yml | 6 ++ .../src/main/resources/logback-spring.xml | 2 +- docs/local_db.md | 63 +++++++++++++++++++ 18 files changed, 95 insertions(+), 47 deletions(-) rename apps/organisasjon-forvalter/src/main/resources/{application-dev.yml => application-local.yml} (85%) delete mode 100644 apps/udi-stub/src/main/resources/application-dev.yml create mode 100644 apps/udi-stub/src/main/resources/application-local.yml create mode 100644 docs/local_db.md diff --git a/apps/dolly-backend/README.md b/apps/dolly-backend/README.md index 2a6355a53b1..585719834b7 100644 --- a/apps/dolly-backend/README.md +++ b/apps/dolly-backend/README.md @@ -46,4 +46,6 @@ For å kjøre lokalt med elastic search: ``` docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" -e "plugins.security.disabled=true" -e "OPENSEARCH_INITIAL_ADMIN_PASSWORD=YLAgOm}rz#o6#Aq" --name opensearch -d opensearchproject/opensearch:latest ``` -Legg merke til passord `YLAgOm}rz#o6#Aq` (tilfeldig [generert](https://www.strongpasswordgenerator.org/), men må være "sterkt" ellers vil ikke OpenSearch starte). \ No newline at end of file +Legg merke til passord `YLAgOm}rz#o6#Aq` (tilfeldig [generert](https://www.strongpasswordgenerator.org/), men må være "sterkt" ellers vil ikke OpenSearch starte). + +Applikasjonen er avhengig av en lokal PSQL-database. For mer informasjon se [egen dokumentasjon](../../docs/local_db.md). \ No newline at end of file diff --git a/apps/dolly-backend/src/main/resources/application-local.yaml b/apps/dolly-backend/src/main/resources/application-local.yaml index cba61bd629b..204ee224f7e 100644 --- a/apps/dolly-backend/src/main/resources/application-local.yaml +++ b/apps/dolly-backend/src/main/resources/application-local.yaml @@ -10,20 +10,13 @@ spring: read-timeout: 30000 generic: enabled: false - database: - backend: postgresql/preprod-fss - enabled: true - role: dolly-test-admin datasource: - url: jdbc:postgresql://dev-pg.intern.nav.no:5432/dolly-test + url: jdbc:postgresql://localhost:5432/dolly-test + username: postgres hikari: maximum-pool-size: 3 minimum-idle: 1 driver-class-name: org.postgresql.Driver - jpa: - properties: - hibernate: - dialect: org.hibernate.dialect.PostgreSQLDialect management: endpoints: diff --git a/apps/organisasjon-forvalter/README.md b/apps/organisasjon-forvalter/README.md index 5aee961e0cd..07f774af7d4 100644 --- a/apps/organisasjon-forvalter/README.md +++ b/apps/organisasjon-forvalter/README.md @@ -13,7 +13,7 @@ applikasjonen. Ha naisdevice kjørende og kjør OrganisasjonForvalterApplicationStarter med følgende argumenter: ``` --Dspring.profiles.active=dev +-Dspring.profiles.active=local -Dspring.cloud.vault.token=[vault-token] ``` @@ -22,3 +22,5 @@ og legg til i VM options: ``` --add-opens java.base/java.lang=ALL-UNNAMED ``` + +Applikasjonen er avhengig av en lokal PSQL-database. For mer informasjon se [egen dokumentasjon](../../docs/local_db.md). \ No newline at end of file diff --git a/apps/organisasjon-forvalter/src/main/java/no/nav/organisasjonforvalter/config/LocalConfig.java b/apps/organisasjon-forvalter/src/main/java/no/nav/organisasjonforvalter/config/LocalConfig.java index cedf0baa489..13f35d6caac 100644 --- a/apps/organisasjon-forvalter/src/main/java/no/nav/organisasjonforvalter/config/LocalConfig.java +++ b/apps/organisasjon-forvalter/src/main/java/no/nav/organisasjonforvalter/config/LocalConfig.java @@ -17,7 +17,7 @@ @Slf4j @Configuration -@Profile("dev") +@Profile("local") @Import({ FlywayConfiguration.class, VaultHikariConfiguration.class diff --git a/apps/organisasjon-forvalter/src/main/java/no/nav/organisasjonforvalter/config/SecurityConfig.java b/apps/organisasjon-forvalter/src/main/java/no/nav/organisasjonforvalter/config/SecurityConfig.java index 768014691e3..4878925bb89 100644 --- a/apps/organisasjon-forvalter/src/main/java/no/nav/organisasjonforvalter/config/SecurityConfig.java +++ b/apps/organisasjon-forvalter/src/main/java/no/nav/organisasjonforvalter/config/SecurityConfig.java @@ -15,7 +15,7 @@ @Order(1) @EnableWebSecurity @Configuration -@Profile({ "prod", "dev" }) +@Profile({ "prod", "local" }) public class SecurityConfig { @Bean diff --git a/apps/organisasjon-forvalter/src/main/resources/application-dev.yml b/apps/organisasjon-forvalter/src/main/resources/application-local.yml similarity index 85% rename from apps/organisasjon-forvalter/src/main/resources/application-dev.yml rename to apps/organisasjon-forvalter/src/main/resources/application-local.yml index 0302fddfbfd..ca673c97e3b 100644 --- a/apps/organisasjon-forvalter/src/main/resources/application-dev.yml +++ b/apps/organisasjon-forvalter/src/main/resources/application-local.yml @@ -5,7 +5,7 @@ spring: locations: classpath:db/migration baseline-on-migrate: true datasource: - url: jdbc:postgresql://b27dbvl023.preprod.local:5432/organisasjon-forvalter-test + url: jdbc:postgresql://localhost:5432/organisasjon-forvalter-test hikari: maximum-pool-size: 3 minimum-idle: 1 @@ -26,10 +26,6 @@ spring: read-timeout: 30000 generic: enabled: false - database: - backend: postgresql/preprod-fss - enabled: true - role: organisasjon-forvalter-test-admin consumers: generer-navn-service: diff --git a/apps/organisasjon-forvalter/src/main/resources/logback-spring.xml b/apps/organisasjon-forvalter/src/main/resources/logback-spring.xml index 97622fc1eaf..f6f874fb95b 100644 --- a/apps/organisasjon-forvalter/src/main/resources/logback-spring.xml +++ b/apps/organisasjon-forvalter/src/main/resources/logback-spring.xml @@ -22,7 +22,7 @@ - + diff --git a/apps/pdl-forvalter/README.md b/apps/pdl-forvalter/README.md index 2a141f80642..1d9b5950648 100644 --- a/apps/pdl-forvalter/README.md +++ b/apps/pdl-forvalter/README.md @@ -5,4 +5,6 @@ PDL-forvalter bygger og vedlikeholder testpersoner for PDL. Swagger finnes under [/swagger](https://testnav-pdl-forvalter.intern.dev.nav.no/swagger) -endepunktet til applikasjonen. ## Lokal kjøring -Sett profile til local \ No newline at end of file +Sett profile til local + +Applikasjonen er avhengig av en lokal PSQL-database. For mer informasjon se [egen dokumentasjon](../../docs/local_db.md). \ No newline at end of file diff --git a/apps/pdl-forvalter/src/main/resources/application-local.yaml b/apps/pdl-forvalter/src/main/resources/application-local.yaml index 433eb05e7f5..e84c628b8f3 100644 --- a/apps/pdl-forvalter/src/main/resources/application-local.yaml +++ b/apps/pdl-forvalter/src/main/resources/application-local.yaml @@ -11,12 +11,8 @@ spring: read-timeout: 30000 generic: enabled: false - database: - backend: postgresql/preprod-fss - enabled: true - role: pdl-forvalter-test-admin datasource: - url: jdbc:postgresql://dev-pg.intern.nav.no:5432/pdl-forvalter-test + url: jdbc:postgresql://localhost:5432/pdl-forvalter-test hikari: maximum-pool-size: 10 minimum-idle: 1 @@ -25,7 +21,6 @@ spring: properties: hibernate: default-schema: public - dialect: org.hibernate.dialect.PostgreSQLDialect consumers: adresse-service: diff --git a/apps/testnav-ident-pool/README.md b/apps/testnav-ident-pool/README.md index dd396d998e5..d58642266f0 100644 --- a/apps/testnav-ident-pool/README.md +++ b/apps/testnav-ident-pool/README.md @@ -33,4 +33,6 @@ Det kan være nødvendig å ha disse også: -Dhttps.proxyPort=8088 -Dhttp.nonProxyHosts=localhost|127.0.0.1|10.254.0.1|*.local|*.adeo.no|*.nav.no|*.aetat.no|*.devillo.no|*.oera.no|*.nais.io ``` + +Applikasjonen er avhengig av en lokal PSQL-database. For mer informasjon se [egen dokumentasjon](../../docs/local_db.md). diff --git a/apps/testnav-ident-pool/src/main/resources/application-local.yml b/apps/testnav-ident-pool/src/main/resources/application-local.yml index 71f19fcfd55..dab53564868 100644 --- a/apps/testnav-ident-pool/src/main/resources/application-local.yml +++ b/apps/testnav-ident-pool/src/main/resources/application-local.yml @@ -2,10 +2,6 @@ spring: cloud: vault: connection-timeout: 15000 - database: - backend: postgresql/preprod-fss - enabled: true - role: ident-pool-test-admin fail-fast: true host: vault.adeo.no port: 443 @@ -14,7 +10,8 @@ spring: hikari: maximum-pool-size: 3 minimum-idle: 1 - url: jdbc:postgresql://b27dbvl023.preprod.local/ident-pool-test + url: jdbc:postgresql://localhost:5432/ident-pool-test + username: postgres flyway: baseline-on-migrate: true enabled: true # Disabled by default as you should probably think twice before running Flyway-migrations diff --git a/apps/udi-stub/README.md b/apps/udi-stub/README.md index d16b4947a88..a610a861dda 100644 --- a/apps/udi-stub/README.md +++ b/apps/udi-stub/README.md @@ -26,7 +26,7 @@ Ha naisdevice kjørende og kjør UdiStubApplicationStarter med følgende argumen ``` --add-opens java.base/java.lang=ALL-UNNAMED --Dspring.profiles.active=dev +-Dspring.profiles.active=local -Dspring.cloud.vault.token=[vault-token] ``` @@ -44,3 +44,5 @@ TESTCONTAINERS_RYUK_DISABLED=true Applikasjonen kan kjøre lokalt med en h2 database som kjører i minnet. Applikasjonen kan også kjøres i en skytjeneste med integrasjon mot Vault og postgresql. Hvis andre integrasjoner er ønskelig må disse implementeres i en egen submodul hvor integrasjonen defineres f.eks via en @Configuration annotert klasse. + +Applikasjonen er avhengig av en lokal PSQL-database. For mer informasjon se [egen dokumentasjon](../../docs/local_db.md). \ No newline at end of file diff --git a/apps/udi-stub/src/main/java/no/nav/udistub/config/DevConfig.java b/apps/udi-stub/src/main/java/no/nav/udistub/config/DevConfig.java index 8668160175a..fe56290eff2 100644 --- a/apps/udi-stub/src/main/java/no/nav/udistub/config/DevConfig.java +++ b/apps/udi-stub/src/main/java/no/nav/udistub/config/DevConfig.java @@ -11,7 +11,7 @@ import static io.micrometer.common.util.StringUtils.isBlank; @Configuration -@Profile("dev") +@Profile("local") @VaultPropertySource(value = "secret/dolly/lokal", ignoreSecretNotFound = false) public class DevConfig extends AbstractVaultConfiguration { diff --git a/apps/udi-stub/src/main/java/no/nav/udistub/config/SecurityConfig.java b/apps/udi-stub/src/main/java/no/nav/udistub/config/SecurityConfig.java index 953df5827a2..2c4b67033f6 100644 --- a/apps/udi-stub/src/main/java/no/nav/udistub/config/SecurityConfig.java +++ b/apps/udi-stub/src/main/java/no/nav/udistub/config/SecurityConfig.java @@ -14,7 +14,7 @@ @EnableWebSecurity @Configuration -@Profile({ "prod", "dev" }) +@Profile({ "prod", "local" }) public class SecurityConfig { @Bean diff --git a/apps/udi-stub/src/main/resources/application-dev.yml b/apps/udi-stub/src/main/resources/application-dev.yml deleted file mode 100644 index dad153708f3..00000000000 --- a/apps/udi-stub/src/main/resources/application-dev.yml +++ /dev/null @@ -1,12 +0,0 @@ -spring: - datasource: - url: jdbc:postgresql://dev-pg.intern.nav.no:5432/udi-stub-dev - hikari: - maximum-pool-size: 3 - minimum-idle: 1 - cloud: - vault: - database: - backend: postgresql/preprod-fss - role: udi-stub-dev-admin - enabled: true \ No newline at end of file diff --git a/apps/udi-stub/src/main/resources/application-local.yml b/apps/udi-stub/src/main/resources/application-local.yml new file mode 100644 index 00000000000..ae84f9cddc1 --- /dev/null +++ b/apps/udi-stub/src/main/resources/application-local.yml @@ -0,0 +1,6 @@ +spring: + datasource: + url: jdbc:postgresql://localhost:5432/udi-stub-dev + hikari: + maximum-pool-size: 3 + minimum-idle: 1 \ No newline at end of file diff --git a/apps/udi-stub/src/main/resources/logback-spring.xml b/apps/udi-stub/src/main/resources/logback-spring.xml index aaa3b27b1f7..8dcb3d51248 100644 --- a/apps/udi-stub/src/main/resources/logback-spring.xml +++ b/apps/udi-stub/src/main/resources/logback-spring.xml @@ -22,7 +22,7 @@ - + diff --git a/docs/local_db.md b/docs/local_db.md new file mode 100644 index 00000000000..d90e601a2ee --- /dev/null +++ b/docs/local_db.md @@ -0,0 +1,63 @@ +# Hvordan sette opp en lokal PSQL for egen testing + +Dette er en kort beskrivelse på hvordan du setter opp PSQL i Docker og fyller den med innhold hentet fra enten GCP eller FSS. + +### Disclaimer: +> pg_dump does not block other users accessing the database (readers or writers). + +## Eksportere fra GCP + +Her bruker vi `dolly-backend` som eksempel. Vi bruker også [NAIS CLI](https://doc.nais.io/operate/cli/) som igjen avhenger av [gcloud CLI](https://cloud.google.com/sdk/gcloud). Eksport gjøres med [pg_dump](https://www.postgresql.org/docs/current/app-pgdump.html). + +Først logg inn med gcloud CLI. NAIS CLI avhenger av dette. + +~~~ +> gcloud auth login +~~~ + +Sett opp en proxy mot databasen [definert i applikasjonen](../apps/dolly-backend/config.yml) `dolly-backend`. Legg merke til hva databasen heter og la proxyen stå og kjøre mens du eksporterer i neste steg. + +~~~ +> nais postgres proxy dolly-backend +~~~ +Setter opp en proxy for deg mot databasen + +~~~ +> pg_dump --username=YOUR_NAV_EMAIL_ADDRESS --clean --create --no-owner --no-privileges --verbose --file=~/dump.sql testnav-dolly-backend +~~~ + +Output havner her i fila `~/dump.sql` og skal brukes ved import. + +Legg merke til `--clean --create --no-owner --no-privileges`. Vi eksporterer til et script som tømmer eksisterende database, oppretter en ny database ved behov, og fjerner owner og groups på alle tabeller. Vi ønsker at eier av alle tabellene lokalt er default-brukeren `postgres`. + +## Eksportere fra FSS + +Her bruker vi `dolly-backend-dev` som eksempel. Eksport gjøres med [pg_dump](https://www.postgresql.org/docs/current/app-pgdump.html). Databasen er [definert i applikasjonen](../apps/dolly-backend/config.test.yml). + +~~~ +> pg_dump --host=dev-pg.intern.nav.no --username=USERNAME_FROM_VAULT --clean --create --no-owner --no-privileges --verbose --exclude-table=idents_from_* --exclude-table=diff_idents --exclude-table=test --file=~/dump.sql dolly-test +~~~ + +Brukernavn og passord hentes fra Vault, i dette tilfellet fra https://vault.adeo.no/ui/vault/secrets/postgresql%2Fpreprod-fss/credentials/dolly-test-admin. + +Legg merke til at vi bruker `--exclude-table` i dette eksempelet. I denne databasen hadde vi noen tabeller med annen eier, som ikke lar seg eksportere med credentials fra Vault. I de fleste andre tilfeller kan du utelate `--exclude-table`. + +## Sette opp PSQL i Docker + +**Dette gjøres bare én gang.** Vi lager oss en container kalt `postgres`, der auth er slått av fra din Docker host. Default-brukeren `postgres` vil stå som eier av alle tabeller. + +~~~ +> docker run --name postgres -e POSTGRES_HOST_AUTH_METHOD=trust -p 5432:5432 postgres +~~~ + +Her kjøres containeren uten `--detach`, slik at vi kan følge med på logger i tilfelle feil under import, men det er valgfritt. + +## Importere inn i PSQL + +Import gjøres med [psql](https://www.postgresql.org/docs/current/app-psql.html). Et alternativ er [pg_restore](https://www.postgresql.org/docs/current/app-pgrestore.html), men da må eksporten gjøres med `--format=custom` og du kan ikke justere på SQLen før import ved behov. + +En evt. eksisterende database vil bli erstattet, men du kan fint ha flere databaser for flere test-scenarier samtidig. Hvis du importerer fra de to eksemplene over så vil du for eksempel ha to databaser lokalt ved navn `testnav-dolly-backend` og `dolly-test`. + +~~~ +> psql --username=postgres --file=~\dump.sql +~~~ \ No newline at end of file From 42e805b5b28adef59c5fedf4dcdfbd17f2031a13 Mon Sep 17 00:00:00 2001 From: stigus Date: Fri, 6 Sep 2024 13:50:28 +0200 Subject: [PATCH 2/7] Fix for gjenopprett NullPointer --- .../src/main/java/no/nav/dolly/service/BestillingService.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/dolly-backend/src/main/java/no/nav/dolly/service/BestillingService.java b/apps/dolly-backend/src/main/java/no/nav/dolly/service/BestillingService.java index 576e0c57d2f..5ab6be48e40 100644 --- a/apps/dolly-backend/src/main/java/no/nav/dolly/service/BestillingService.java +++ b/apps/dolly-backend/src/main/java/no/nav/dolly/service/BestillingService.java @@ -419,6 +419,10 @@ public List getProgressByBestillingId(Long bestillingId) { private String filterAvailable(Collection environments) { + if (isNull(environments) || environments.isEmpty()) { + return null; + } + var miljoer = miljoerConsumer.getMiljoer().block(); if (isNull(miljoer)) { From 751674ca91991f1becf50a709bcb4de169c4881b Mon Sep 17 00:00:00 2001 From: Stian Gustavsson Date: Mon, 9 Sep 2024 10:08:29 +0200 Subject: [PATCH 3/7] Feature/auto observability (#3609) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Legger til autoObservability på applikasjonene våre --- apps/adresse-service/config.yml | 4 ++++ apps/amelding-service/config.yml | 4 ++++ apps/app-tilgang-analyse-service/config.yml | 4 ++++ apps/arbeidsforhold-service/config.yml | 4 ++++ apps/batch-bestilling-service/config.yml | 4 ++++ apps/brreg-stub/config.yml | 4 ++++ apps/bruker-service/config.test.yml | 4 ++++ apps/bruker-service/config.yml | 4 ++++ apps/budpro-service/config.yml | 4 ++++ apps/dolly-backend/config.test.yml | 4 ++++ apps/dolly-backend/config.yml | 5 +++++ apps/dolly-frontend/config.idporten.yml | 4 ++++ apps/dolly-frontend/config.test.yml | 4 ++++ apps/dolly-frontend/config.unstable.yml | 4 ++++ apps/dolly-frontend/config.yml | 4 ++++ apps/dollystatus/config.yml | 4 ++++ apps/endringsmelding-frontend/config.yml | 4 ++++ apps/endringsmelding-service/config.yml | 4 ++++ apps/ereg-batch-status-service/config.yml | 4 ++++ apps/faste-data-frontend/config.yml | 4 ++++ apps/generer-arbeidsforhold-populasjon-service/config.yml | 4 ++++ apps/generer-navn-service/config.yml | 4 ++++ apps/generer-organisasjon-populasjon-service/config.yml | 4 ++++ apps/generer-synt-amelding-service/config.yml | 4 ++++ apps/helsepersonell-service/config.yml | 4 ++++ apps/inntektsmelding-generator-service/config.yml | 4 ++++ apps/inntektsmelding-service/config.yml | 4 ++++ apps/jenkins-batch-status-service/config.yml | 4 ++++ apps/joark-dokument-service/config.yml | 4 ++++ apps/kodeverk-service/config.yml | 4 ++++ apps/levende-arbeidsforhold-ansettelse/config.yml | 4 ++++ apps/levende-arbeidsforhold-scheduler/config.yml | 4 ++++ apps/levende-arbeidsforhold-service/config.yml | 4 ++++ apps/miljoer-service/config.yml | 4 ++++ apps/oppsummeringsdokument-service/config.yml | 4 ++++ apps/organisasjon-bestilling-service/config.yml | 4 ++++ apps/organisasjon-faste-data-service/config.yml | 4 ++++ apps/organisasjon-forvalter/config.yml | 4 ++++ apps/organisasjon-mottak-service/config.yml | 4 ++++ apps/organisasjon-service/config.yml | 4 ++++ apps/organisasjon-tilgang-frontend/config.yml | 4 ++++ apps/organisasjon-tilgang-service/config.yml | 4 ++++ apps/orgnummer-service/config.yml | 4 ++++ apps/oversikt-frontend/config.yml | 4 ++++ apps/pdl-forvalter/config.test.yml | 4 ++++ apps/pdl-forvalter/config.yml | 4 ++++ apps/person-faste-data-service/config.yml | 4 ++++ apps/person-organisasjon-tilgang-service/config.test.yml | 4 ++++ apps/person-organisasjon-tilgang-service/config.yml | 4 ++++ apps/person-search-service/config.yml | 4 ++++ apps/person-service/config.yml | 4 ++++ apps/profil-api/config.test.yml | 4 ++++ apps/profil-api/config.yml | 4 ++++ apps/skattekort-service/config.yml | 4 ++++ apps/sykemelding-api/config.yml | 4 ++++ apps/synt-sykemelding-api/config.yml | 4 ++++ apps/synt-vedtakshistorikk-service/config.yml | 4 ++++ apps/tenor-search-service/config.yml | 4 ++++ apps/testnav-ident-pool/config.yml | 4 ++++ apps/testnorge-statisk-data-forvalter/config.yml | 4 ++++ apps/tilbakemelding-api/config.yml | 4 ++++ apps/tps-messaging-service/config.yml | 4 ++++ apps/udi-stub/config.yml | 4 ++++ apps/varslinger-service/config.test.yml | 4 ++++ apps/varslinger-service/config.yml | 4 ++++ proxies/aareg-proxy/config.yml | 4 ++++ proxies/aareg-synt-services-proxy/config.yml | 4 ++++ proxies/arbeidsplassencv-proxy/config.yml | 4 ++++ proxies/arena-forvalteren-proxy/config.yml | 4 ++++ proxies/batch-adeo-proxy/config.yml | 4 ++++ proxies/brregstub-proxy/config.yml | 4 ++++ proxies/dokarkiv-proxy/config.yml | 4 ++++ proxies/ereg-proxy/config.yml | 4 ++++ proxies/histark-proxy/config.yml | 4 ++++ proxies/inntektstub-proxy/config.yml | 4 ++++ proxies/inst-proxy/config.yml | 4 ++++ proxies/kontoregister-person-proxy/config.yml | 4 ++++ proxies/krrstub-proxy/config.yml | 4 ++++ proxies/medl-proxy/config.yml | 4 ++++ proxies/modapp-ereg-proxy/config.yml | 4 ++++ proxies/norg2-proxy/config.yml | 4 ++++ proxies/pdl-proxy/config.yml | 4 ++++ proxies/pensjon-testdata-facade-proxy/config.yml | 4 ++++ proxies/saf-proxy/config.yml | 4 ++++ proxies/sigrunstub-proxy/config.yml | 4 ++++ proxies/skjermingsregister-proxy/config.yml | 4 ++++ proxies/synthdata-meldekort-proxy/config.yml | 4 ++++ proxies/udistub-proxy/config.yml | 4 ++++ 88 files changed, 353 insertions(+) diff --git a/apps/adresse-service/config.yml b/apps/adresse-service/config.yml index 74d4e2e4ef8..ffcf3361284 100644 --- a/apps/adresse-service/config.yml +++ b/apps/adresse-service/config.yml @@ -21,6 +21,10 @@ spec: path: /internal/isAlive periodSeconds: 30 initialDelay: 30 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/amelding-service/config.yml b/apps/amelding-service/config.yml index 658233016a0..8cbf8051cac 100644 --- a/apps/amelding-service/config.yml +++ b/apps/amelding-service/config.yml @@ -33,6 +33,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/app-tilgang-analyse-service/config.yml b/apps/app-tilgang-analyse-service/config.yml index 100af1c8ef6..9338ed2bdc6 100644 --- a/apps/app-tilgang-analyse-service/config.yml +++ b/apps/app-tilgang-analyse-service/config.yml @@ -34,6 +34,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/arbeidsforhold-service/config.yml b/apps/arbeidsforhold-service/config.yml index 821f7365101..3a9de92db41 100644 --- a/apps/arbeidsforhold-service/config.yml +++ b/apps/arbeidsforhold-service/config.yml @@ -36,6 +36,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/batch-bestilling-service/config.yml b/apps/batch-bestilling-service/config.yml index 5ab41a834d7..00d84d7ac34 100644 --- a/apps/batch-bestilling-service/config.yml +++ b/apps/batch-bestilling-service/config.yml @@ -30,6 +30,10 @@ spec: initialDelay: 30 periodSeconds: 30 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/brreg-stub/config.yml b/apps/brreg-stub/config.yml index b338409a52e..d9fd6c7b140 100644 --- a/apps/brreg-stub/config.yml +++ b/apps/brreg-stub/config.yml @@ -12,6 +12,10 @@ spec: path: /isAlive periodSeconds: 30 initialDelay: 30 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /isReady initialDelay: 30 diff --git a/apps/bruker-service/config.test.yml b/apps/bruker-service/config.test.yml index 453d3e269fe..eb37f585e89 100644 --- a/apps/bruker-service/config.test.yml +++ b/apps/bruker-service/config.test.yml @@ -33,6 +33,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/bruker-service/config.yml b/apps/bruker-service/config.yml index 2480d21e648..4d975dbe24b 100644 --- a/apps/bruker-service/config.yml +++ b/apps/bruker-service/config.yml @@ -34,6 +34,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/budpro-service/config.yml b/apps/budpro-service/config.yml index c5014890c89..a1caaf22b23 100644 --- a/apps/budpro-service/config.yml +++ b/apps/budpro-service/config.yml @@ -28,6 +28,10 @@ spec: prometheus: enabled: true path: "/internal/prometheus" + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: initialDelay: 45 path: "/internal/health/readiness" diff --git a/apps/dolly-backend/config.test.yml b/apps/dolly-backend/config.test.yml index 8697769baf0..818cc05f2f1 100644 --- a/apps/dolly-backend/config.test.yml +++ b/apps/dolly-backend/config.test.yml @@ -88,6 +88,10 @@ spec: initialDelay: 20 periodSeconds: 2 failureThreshold: 140 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 20 diff --git a/apps/dolly-backend/config.yml b/apps/dolly-backend/config.yml index 2ddfb8cb279..6b3c5d17814 100644 --- a/apps/dolly-backend/config.yml +++ b/apps/dolly-backend/config.yml @@ -9,6 +9,7 @@ metadata: nginx.ingress.kubernetes.io/proxy-read-timeout: "3600" nginx.ingress.kubernetes.io/proxy-send-timeout: "3600" nginx.ingress.kubernetes.io/proxy-body-size: "512m" + spec: tokenx: enabled: true @@ -88,6 +89,10 @@ spec: initialDelay: 20 periodSeconds: 20 failureThreshold: 900 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 20 diff --git a/apps/dolly-frontend/config.idporten.yml b/apps/dolly-frontend/config.idporten.yml index abf0e070cf6..628f0740ee2 100644 --- a/apps/dolly-frontend/config.idporten.yml +++ b/apps/dolly-frontend/config.idporten.yml @@ -77,6 +77,10 @@ spec: initialDelay: 20 periodSeconds: 2 failureThreshold: 140 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 20 diff --git a/apps/dolly-frontend/config.test.yml b/apps/dolly-frontend/config.test.yml index fec6a453d55..c8fc8589583 100644 --- a/apps/dolly-frontend/config.test.yml +++ b/apps/dolly-frontend/config.test.yml @@ -87,6 +87,10 @@ spec: initialDelay: 20 periodSeconds: 2 failureThreshold: 140 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 20 diff --git a/apps/dolly-frontend/config.unstable.yml b/apps/dolly-frontend/config.unstable.yml index d03aebb3db3..e43795b56fd 100644 --- a/apps/dolly-frontend/config.unstable.yml +++ b/apps/dolly-frontend/config.unstable.yml @@ -80,6 +80,10 @@ spec: initialDelay: 20 periodSeconds: 2 failureThreshold: 140 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 20 diff --git a/apps/dolly-frontend/config.yml b/apps/dolly-frontend/config.yml index 3dc3fb906cc..cf6f51b8267 100644 --- a/apps/dolly-frontend/config.yml +++ b/apps/dolly-frontend/config.yml @@ -86,6 +86,10 @@ spec: initialDelay: 20 periodSeconds: 2 failureThreshold: 140 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 20 diff --git a/apps/dollystatus/config.yml b/apps/dollystatus/config.yml index 33ce4421e6c..6804a34db97 100644 --- a/apps/dollystatus/config.yml +++ b/apps/dollystatus/config.yml @@ -19,6 +19,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/endringsmelding-frontend/config.yml b/apps/endringsmelding-frontend/config.yml index 9ca54a81831..7d729673d24 100644 --- a/apps/endringsmelding-frontend/config.yml +++ b/apps/endringsmelding-frontend/config.yml @@ -21,6 +21,10 @@ spec: path: /internal/isAlive periodSeconds: 30 initialDelay: 30 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/endringsmelding-service/config.yml b/apps/endringsmelding-service/config.yml index 1173572011d..dbbea74d1f2 100644 --- a/apps/endringsmelding-service/config.yml +++ b/apps/endringsmelding-service/config.yml @@ -36,6 +36,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/ereg-batch-status-service/config.yml b/apps/ereg-batch-status-service/config.yml index 5e1b25b8980..0dc7dcb188a 100644 --- a/apps/ereg-batch-status-service/config.yml +++ b/apps/ereg-batch-status-service/config.yml @@ -33,6 +33,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/faste-data-frontend/config.yml b/apps/faste-data-frontend/config.yml index eef9353df50..d0d1ed6be55 100644 --- a/apps/faste-data-frontend/config.yml +++ b/apps/faste-data-frontend/config.yml @@ -31,6 +31,10 @@ spec: path: /internal/isAlive periodSeconds: 30 initialDelay: 30 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/generer-arbeidsforhold-populasjon-service/config.yml b/apps/generer-arbeidsforhold-populasjon-service/config.yml index 484777e22cc..51716615f66 100644 --- a/apps/generer-arbeidsforhold-populasjon-service/config.yml +++ b/apps/generer-arbeidsforhold-populasjon-service/config.yml @@ -35,6 +35,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/generer-navn-service/config.yml b/apps/generer-navn-service/config.yml index 62df6e2fd25..d7951cdd23b 100644 --- a/apps/generer-navn-service/config.yml +++ b/apps/generer-navn-service/config.yml @@ -53,6 +53,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/generer-organisasjon-populasjon-service/config.yml b/apps/generer-organisasjon-populasjon-service/config.yml index 1ae836178b8..05fbaf28e80 100644 --- a/apps/generer-organisasjon-populasjon-service/config.yml +++ b/apps/generer-organisasjon-populasjon-service/config.yml @@ -39,6 +39,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/generer-synt-amelding-service/config.yml b/apps/generer-synt-amelding-service/config.yml index a08454b4396..ac73dae25ee 100644 --- a/apps/generer-synt-amelding-service/config.yml +++ b/apps/generer-synt-amelding-service/config.yml @@ -33,6 +33,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/helsepersonell-service/config.yml b/apps/helsepersonell-service/config.yml index 798d6fb02dd..4c5ab8ad653 100644 --- a/apps/helsepersonell-service/config.yml +++ b/apps/helsepersonell-service/config.yml @@ -34,6 +34,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/inntektsmelding-generator-service/config.yml b/apps/inntektsmelding-generator-service/config.yml index 039d04ab087..274ea7c40e2 100644 --- a/apps/inntektsmelding-generator-service/config.yml +++ b/apps/inntektsmelding-generator-service/config.yml @@ -28,6 +28,10 @@ spec: path: /internal/isAlive periodSeconds: 30 initialDelay: 30 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/inntektsmelding-service/config.yml b/apps/inntektsmelding-service/config.yml index 0f8e457ab54..2d2f737bb6d 100644 --- a/apps/inntektsmelding-service/config.yml +++ b/apps/inntektsmelding-service/config.yml @@ -42,6 +42,10 @@ spec: path: /internal/isAlive periodSeconds: 30 initialDelay: 30 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/jenkins-batch-status-service/config.yml b/apps/jenkins-batch-status-service/config.yml index a184d50dff7..998c9393642 100644 --- a/apps/jenkins-batch-status-service/config.yml +++ b/apps/jenkins-batch-status-service/config.yml @@ -35,6 +35,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/joark-dokument-service/config.yml b/apps/joark-dokument-service/config.yml index 5027b54be93..c6e707d3946 100644 --- a/apps/joark-dokument-service/config.yml +++ b/apps/joark-dokument-service/config.yml @@ -32,6 +32,10 @@ spec: initialDelay: 30 periodSeconds: 30 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/kodeverk-service/config.yml b/apps/kodeverk-service/config.yml index e72ef4771f1..2f8405ce715 100644 --- a/apps/kodeverk-service/config.yml +++ b/apps/kodeverk-service/config.yml @@ -37,6 +37,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 10 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/levende-arbeidsforhold-ansettelse/config.yml b/apps/levende-arbeidsforhold-ansettelse/config.yml index 818f8cd8d3f..8edd1d9a6c5 100644 --- a/apps/levende-arbeidsforhold-ansettelse/config.yml +++ b/apps/levende-arbeidsforhold-ansettelse/config.yml @@ -33,6 +33,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/levende-arbeidsforhold-scheduler/config.yml b/apps/levende-arbeidsforhold-scheduler/config.yml index c4a46ce243a..e3fa99a9112 100644 --- a/apps/levende-arbeidsforhold-scheduler/config.yml +++ b/apps/levende-arbeidsforhold-scheduler/config.yml @@ -28,6 +28,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/levende-arbeidsforhold-service/config.yml b/apps/levende-arbeidsforhold-service/config.yml index 31957652a8f..acd0b0974b1 100644 --- a/apps/levende-arbeidsforhold-service/config.yml +++ b/apps/levende-arbeidsforhold-service/config.yml @@ -28,6 +28,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/miljoer-service/config.yml b/apps/miljoer-service/config.yml index fe3fcd9ebc1..d24fccfedc8 100644 --- a/apps/miljoer-service/config.yml +++ b/apps/miljoer-service/config.yml @@ -39,6 +39,10 @@ spec: initialDelay: 30 periodSeconds: 30 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/oppsummeringsdokument-service/config.yml b/apps/oppsummeringsdokument-service/config.yml index d9df9bc9bd5..96787612269 100644 --- a/apps/oppsummeringsdokument-service/config.yml +++ b/apps/oppsummeringsdokument-service/config.yml @@ -40,6 +40,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/organisasjon-bestilling-service/config.yml b/apps/organisasjon-bestilling-service/config.yml index 1db95994502..aa1d9b7776c 100644 --- a/apps/organisasjon-bestilling-service/config.yml +++ b/apps/organisasjon-bestilling-service/config.yml @@ -49,6 +49,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/organisasjon-faste-data-service/config.yml b/apps/organisasjon-faste-data-service/config.yml index c81abd891ef..6e55ef13a63 100644 --- a/apps/organisasjon-faste-data-service/config.yml +++ b/apps/organisasjon-faste-data-service/config.yml @@ -49,6 +49,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/organisasjon-forvalter/config.yml b/apps/organisasjon-forvalter/config.yml index 7f3a63fd166..fe6d7479daf 100644 --- a/apps/organisasjon-forvalter/config.yml +++ b/apps/organisasjon-forvalter/config.yml @@ -54,6 +54,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/organisasjon-mottak-service/config.yml b/apps/organisasjon-mottak-service/config.yml index 67ad8f7b904..a3a2c92778a 100644 --- a/apps/organisasjon-mottak-service/config.yml +++ b/apps/organisasjon-mottak-service/config.yml @@ -33,6 +33,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/organisasjon-service/config.yml b/apps/organisasjon-service/config.yml index 4afd4b4b80e..1f12459096c 100644 --- a/apps/organisasjon-service/config.yml +++ b/apps/organisasjon-service/config.yml @@ -41,6 +41,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/organisasjon-tilgang-frontend/config.yml b/apps/organisasjon-tilgang-frontend/config.yml index e1854d58e04..a4d47dbd9a9 100644 --- a/apps/organisasjon-tilgang-frontend/config.yml +++ b/apps/organisasjon-tilgang-frontend/config.yml @@ -28,6 +28,10 @@ spec: path: /internal/isAlive periodSeconds: 30 initialDelay: 30 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/organisasjon-tilgang-service/config.yml b/apps/organisasjon-tilgang-service/config.yml index 0e3f4e5af6b..1efb8ec6c89 100644 --- a/apps/organisasjon-tilgang-service/config.yml +++ b/apps/organisasjon-tilgang-service/config.yml @@ -37,6 +37,10 @@ spec: initialDelay: 10 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 10 diff --git a/apps/orgnummer-service/config.yml b/apps/orgnummer-service/config.yml index 941ece0203e..e7c8c3be0aa 100644 --- a/apps/orgnummer-service/config.yml +++ b/apps/orgnummer-service/config.yml @@ -38,6 +38,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/oversikt-frontend/config.yml b/apps/oversikt-frontend/config.yml index 30c209b1c56..a0726cdc10e 100644 --- a/apps/oversikt-frontend/config.yml +++ b/apps/oversikt-frontend/config.yml @@ -91,6 +91,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/pdl-forvalter/config.test.yml b/apps/pdl-forvalter/config.test.yml index b7fbbc88ca0..82ce9b42a92 100644 --- a/apps/pdl-forvalter/config.test.yml +++ b/apps/pdl-forvalter/config.test.yml @@ -30,6 +30,10 @@ spec: path: /internal/isAlive periodSeconds: 60 initialDelay: 60 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady periodSeconds: 60 diff --git a/apps/pdl-forvalter/config.yml b/apps/pdl-forvalter/config.yml index 7de5d7ac372..402b67eb554 100644 --- a/apps/pdl-forvalter/config.yml +++ b/apps/pdl-forvalter/config.yml @@ -30,6 +30,10 @@ spec: path: /internal/isAlive periodSeconds: 30 initialDelay: 30 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/person-faste-data-service/config.yml b/apps/person-faste-data-service/config.yml index d3ac0945c18..85b2cdd83b3 100644 --- a/apps/person-faste-data-service/config.yml +++ b/apps/person-faste-data-service/config.yml @@ -37,6 +37,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/person-organisasjon-tilgang-service/config.test.yml b/apps/person-organisasjon-tilgang-service/config.test.yml index 131cdfa1e5f..7cf8871316f 100644 --- a/apps/person-organisasjon-tilgang-service/config.test.yml +++ b/apps/person-organisasjon-tilgang-service/config.test.yml @@ -39,6 +39,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/person-organisasjon-tilgang-service/config.yml b/apps/person-organisasjon-tilgang-service/config.yml index b7dba1e3fa4..c3a7d899665 100644 --- a/apps/person-organisasjon-tilgang-service/config.yml +++ b/apps/person-organisasjon-tilgang-service/config.yml @@ -33,6 +33,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/person-search-service/config.yml b/apps/person-search-service/config.yml index b93e343fb9f..d7e7909270e 100644 --- a/apps/person-search-service/config.yml +++ b/apps/person-search-service/config.yml @@ -34,6 +34,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/person-service/config.yml b/apps/person-service/config.yml index 3105e31e325..829e2d00962 100644 --- a/apps/person-service/config.yml +++ b/apps/person-service/config.yml @@ -44,6 +44,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/profil-api/config.test.yml b/apps/profil-api/config.test.yml index c15b11a9f30..5629759b10a 100644 --- a/apps/profil-api/config.test.yml +++ b/apps/profil-api/config.test.yml @@ -41,6 +41,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/profil-api/config.yml b/apps/profil-api/config.yml index 8d8aaf01f58..8fa4090ab61 100644 --- a/apps/profil-api/config.yml +++ b/apps/profil-api/config.yml @@ -41,6 +41,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/skattekort-service/config.yml b/apps/skattekort-service/config.yml index 26ec83a2ed0..557c99fbd4d 100644 --- a/apps/skattekort-service/config.yml +++ b/apps/skattekort-service/config.yml @@ -33,6 +33,10 @@ spec: path: /internal/isAlive periodSeconds: 30 initialDelay: 30 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/sykemelding-api/config.yml b/apps/sykemelding-api/config.yml index d4d39048add..08ee9601b14 100644 --- a/apps/sykemelding-api/config.yml +++ b/apps/sykemelding-api/config.yml @@ -25,6 +25,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/synt-sykemelding-api/config.yml b/apps/synt-sykemelding-api/config.yml index b9b1e67dc14..ebe2faaa3e5 100644 --- a/apps/synt-sykemelding-api/config.yml +++ b/apps/synt-sykemelding-api/config.yml @@ -24,6 +24,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/synt-vedtakshistorikk-service/config.yml b/apps/synt-vedtakshistorikk-service/config.yml index 1befc19b827..38b6268b8f8 100644 --- a/apps/synt-vedtakshistorikk-service/config.yml +++ b/apps/synt-vedtakshistorikk-service/config.yml @@ -18,6 +18,10 @@ spec: path: /internal/isAlive periodSeconds: 30 initialDelay: 30 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/tenor-search-service/config.yml b/apps/tenor-search-service/config.yml index 4664354954f..9dc85ef7a28 100644 --- a/apps/tenor-search-service/config.yml +++ b/apps/tenor-search-service/config.yml @@ -42,6 +42,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/testnav-ident-pool/config.yml b/apps/testnav-ident-pool/config.yml index 7d6c7d73de4..55380454e41 100644 --- a/apps/testnav-ident-pool/config.yml +++ b/apps/testnav-ident-pool/config.yml @@ -30,6 +30,10 @@ spec: initialDelay: 30 periodSeconds: 30 failureThreshold: 3 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/testnorge-statisk-data-forvalter/config.yml b/apps/testnorge-statisk-data-forvalter/config.yml index f0175829f11..9e6c79adb51 100644 --- a/apps/testnorge-statisk-data-forvalter/config.yml +++ b/apps/testnorge-statisk-data-forvalter/config.yml @@ -19,6 +19,10 @@ spec: path: /internal/isAlive periodSeconds: 30 initialDelay: 30 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/tilbakemelding-api/config.yml b/apps/tilbakemelding-api/config.yml index bf7a9c970bc..89167f846ef 100644 --- a/apps/tilbakemelding-api/config.yml +++ b/apps/tilbakemelding-api/config.yml @@ -36,6 +36,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/tps-messaging-service/config.yml b/apps/tps-messaging-service/config.yml index c33d2efc3c4..2ea93c81caf 100644 --- a/apps/tps-messaging-service/config.yml +++ b/apps/tps-messaging-service/config.yml @@ -24,6 +24,10 @@ spec: path: /internal/isAlive periodSeconds: 30 initialDelay: 30 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/udi-stub/config.yml b/apps/udi-stub/config.yml index 4d896ddfba2..81887c8e342 100644 --- a/apps/udi-stub/config.yml +++ b/apps/udi-stub/config.yml @@ -33,6 +33,10 @@ spec: path: /internal/isAlive periodSeconds: 30 initialDelay: 30 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/varslinger-service/config.test.yml b/apps/varslinger-service/config.test.yml index 578b41794e6..bb713ac9588 100644 --- a/apps/varslinger-service/config.test.yml +++ b/apps/varslinger-service/config.test.yml @@ -34,6 +34,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/varslinger-service/config.yml b/apps/varslinger-service/config.yml index ffbadc98742..4d046a508b2 100644 --- a/apps/varslinger-service/config.yml +++ b/apps/varslinger-service/config.yml @@ -35,6 +35,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/aareg-proxy/config.yml b/proxies/aareg-proxy/config.yml index 9265c224f6a..1b8dfaf83fe 100644 --- a/proxies/aareg-proxy/config.yml +++ b/proxies/aareg-proxy/config.yml @@ -59,6 +59,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/aareg-synt-services-proxy/config.yml b/proxies/aareg-synt-services-proxy/config.yml index 2893e7e4cee..a0801fec922 100644 --- a/proxies/aareg-synt-services-proxy/config.yml +++ b/proxies/aareg-synt-services-proxy/config.yml @@ -28,6 +28,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/arbeidsplassencv-proxy/config.yml b/proxies/arbeidsplassencv-proxy/config.yml index 9617719d309..8bf835941d7 100644 --- a/proxies/arbeidsplassencv-proxy/config.yml +++ b/proxies/arbeidsplassencv-proxy/config.yml @@ -36,6 +36,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/arena-forvalteren-proxy/config.yml b/proxies/arena-forvalteren-proxy/config.yml index fc00f82d381..95f936cd0db 100644 --- a/proxies/arena-forvalteren-proxy/config.yml +++ b/proxies/arena-forvalteren-proxy/config.yml @@ -40,6 +40,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/batch-adeo-proxy/config.yml b/proxies/batch-adeo-proxy/config.yml index 361a91ba51d..ff95dcb817c 100644 --- a/proxies/batch-adeo-proxy/config.yml +++ b/proxies/batch-adeo-proxy/config.yml @@ -42,6 +42,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/brregstub-proxy/config.yml b/proxies/brregstub-proxy/config.yml index 6c69a772306..3910c0f1746 100644 --- a/proxies/brregstub-proxy/config.yml +++ b/proxies/brregstub-proxy/config.yml @@ -38,6 +38,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/dokarkiv-proxy/config.yml b/proxies/dokarkiv-proxy/config.yml index 1b1129fabe2..5df1f54adf4 100644 --- a/proxies/dokarkiv-proxy/config.yml +++ b/proxies/dokarkiv-proxy/config.yml @@ -56,6 +56,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/ereg-proxy/config.yml b/proxies/ereg-proxy/config.yml index 6703ff2de68..021242ff302 100644 --- a/proxies/ereg-proxy/config.yml +++ b/proxies/ereg-proxy/config.yml @@ -32,6 +32,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/histark-proxy/config.yml b/proxies/histark-proxy/config.yml index d9fe6156942..a9f65e0a912 100644 --- a/proxies/histark-proxy/config.yml +++ b/proxies/histark-proxy/config.yml @@ -39,6 +39,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/inntektstub-proxy/config.yml b/proxies/inntektstub-proxy/config.yml index b73c44a0df2..5b9d825b21e 100644 --- a/proxies/inntektstub-proxy/config.yml +++ b/proxies/inntektstub-proxy/config.yml @@ -40,6 +40,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/inst-proxy/config.yml b/proxies/inst-proxy/config.yml index cd42bdf3fc1..51c37b86ca8 100644 --- a/proxies/inst-proxy/config.yml +++ b/proxies/inst-proxy/config.yml @@ -55,6 +55,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/kontoregister-person-proxy/config.yml b/proxies/kontoregister-person-proxy/config.yml index 29b8c7deaf9..aeb0d6a49f0 100644 --- a/proxies/kontoregister-person-proxy/config.yml +++ b/proxies/kontoregister-person-proxy/config.yml @@ -51,6 +51,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/krrstub-proxy/config.yml b/proxies/krrstub-proxy/config.yml index 8ee6e860d2e..7bfc61f72e4 100644 --- a/proxies/krrstub-proxy/config.yml +++ b/proxies/krrstub-proxy/config.yml @@ -51,6 +51,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/medl-proxy/config.yml b/proxies/medl-proxy/config.yml index 7388fcdad8b..90f318607cc 100644 --- a/proxies/medl-proxy/config.yml +++ b/proxies/medl-proxy/config.yml @@ -54,6 +54,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/modapp-ereg-proxy/config.yml b/proxies/modapp-ereg-proxy/config.yml index 6913f4b690a..09b3f25d1f3 100644 --- a/proxies/modapp-ereg-proxy/config.yml +++ b/proxies/modapp-ereg-proxy/config.yml @@ -43,6 +43,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/norg2-proxy/config.yml b/proxies/norg2-proxy/config.yml index 8fb2c509d9a..31a5d123812 100644 --- a/proxies/norg2-proxy/config.yml +++ b/proxies/norg2-proxy/config.yml @@ -38,6 +38,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/pdl-proxy/config.yml b/proxies/pdl-proxy/config.yml index fd0abde46da..9244ccc77c2 100644 --- a/proxies/pdl-proxy/config.yml +++ b/proxies/pdl-proxy/config.yml @@ -70,6 +70,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/pensjon-testdata-facade-proxy/config.yml b/proxies/pensjon-testdata-facade-proxy/config.yml index 94b6b667264..e43044fa8d2 100644 --- a/proxies/pensjon-testdata-facade-proxy/config.yml +++ b/proxies/pensjon-testdata-facade-proxy/config.yml @@ -64,6 +64,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/saf-proxy/config.yml b/proxies/saf-proxy/config.yml index c645cd98c36..207a111a7aa 100644 --- a/proxies/saf-proxy/config.yml +++ b/proxies/saf-proxy/config.yml @@ -49,6 +49,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/sigrunstub-proxy/config.yml b/proxies/sigrunstub-proxy/config.yml index 248b14c889d..d4c12e00701 100644 --- a/proxies/sigrunstub-proxy/config.yml +++ b/proxies/sigrunstub-proxy/config.yml @@ -38,6 +38,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/skjermingsregister-proxy/config.yml b/proxies/skjermingsregister-proxy/config.yml index a2bbbe39808..5028a278ff4 100644 --- a/proxies/skjermingsregister-proxy/config.yml +++ b/proxies/skjermingsregister-proxy/config.yml @@ -55,6 +55,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/synthdata-meldekort-proxy/config.yml b/proxies/synthdata-meldekort-proxy/config.yml index 6f3c6b37886..e46031274ef 100644 --- a/proxies/synthdata-meldekort-proxy/config.yml +++ b/proxies/synthdata-meldekort-proxy/config.yml @@ -57,6 +57,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/udistub-proxy/config.yml b/proxies/udistub-proxy/config.yml index 2bc55bdc9b0..f5df2ea83c8 100644 --- a/proxies/udistub-proxy/config.yml +++ b/proxies/udistub-proxy/config.yml @@ -38,6 +38,10 @@ spec: initialDelay: 4 periodSeconds: 5 failureThreshold: 500 + observability: + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 From 5dc7b2367c02610f7fc1b383cf4e3126d22dde31 Mon Sep 17 00:00:00 2001 From: Cato Olsen Date: Mon, 9 Sep 2024 10:49:11 +0200 Subject: [PATCH 4/7] bestillinger_orphans (#3608) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ny lifecycle bean for å stoppe bestillinger. --- .../no/nav/dolly/DollyBackendLifecycle.java | 53 +++++++++++++++++++ .../repository/BestillingRepository.java | 10 ++++ .../OrganisasjonBestillingRepository.java | 10 ++++ 3 files changed, 73 insertions(+) create mode 100644 apps/dolly-backend/src/main/java/no/nav/dolly/DollyBackendLifecycle.java diff --git a/apps/dolly-backend/src/main/java/no/nav/dolly/DollyBackendLifecycle.java b/apps/dolly-backend/src/main/java/no/nav/dolly/DollyBackendLifecycle.java new file mode 100644 index 00000000000..479c55068ea --- /dev/null +++ b/apps/dolly-backend/src/main/java/no/nav/dolly/DollyBackendLifecycle.java @@ -0,0 +1,53 @@ +package no.nav.dolly; + +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import no.nav.dolly.repository.BestillingRepository; +import no.nav.dolly.repository.OrganisasjonBestillingRepository; +import org.springframework.context.SmartLifecycle; +import org.springframework.context.annotation.Profile; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; + +@Component +@Profile({"dev", "local", "prod"}) +@RequiredArgsConstructor +@Slf4j +public class DollyBackendLifecycle implements SmartLifecycle { + + private final BestillingRepository bestillingRepository; + private final OrganisasjonBestillingRepository organisasjonBestillingRepository; + + private boolean isRunning = false; + + + @Override + public boolean isAutoStartup() { + return true; + } + + @Override + public boolean isRunning() { + return isRunning; + } + + @Override + public int getPhase() { + return 0; + } + + @Override + @Transactional + public void start() { + isRunning = true; + var unfinishedBestilling = bestillingRepository.stopAllUnfinished(); + var unfinishedOrganisasjonBestilling = organisasjonBestillingRepository.stopAllUnfinished(); + log.info("Stoppet {} kjørende bestilling(er), {} kjørende organisasjonsbestilling(er)", unfinishedBestilling, unfinishedOrganisasjonBestilling); + } + + @Override + public void stop() { + isRunning = false; + } + +} diff --git a/apps/dolly-backend/src/main/java/no/nav/dolly/repository/BestillingRepository.java b/apps/dolly-backend/src/main/java/no/nav/dolly/repository/BestillingRepository.java index 746f606fb4c..939f470c0e8 100644 --- a/apps/dolly-backend/src/main/java/no/nav/dolly/repository/BestillingRepository.java +++ b/apps/dolly-backend/src/main/java/no/nav/dolly/repository/BestillingRepository.java @@ -82,4 +82,14 @@ public interface BestillingRepository extends CrudRepository { @Query(value = "select * from bestilling where id = :id for update", nativeQuery = true) Optional findByIdAndLock(@Param("id") Long id); + + @Modifying + @Query(""" + update Bestilling b + set b.ferdig = true, + b.stoppet = true + where b.ferdig = false +""") + int stopAllUnfinished(); + } diff --git a/apps/dolly-backend/src/main/java/no/nav/dolly/repository/OrganisasjonBestillingRepository.java b/apps/dolly-backend/src/main/java/no/nav/dolly/repository/OrganisasjonBestillingRepository.java index f47dfcc8ab6..7e607b3c971 100644 --- a/apps/dolly-backend/src/main/java/no/nav/dolly/repository/OrganisasjonBestillingRepository.java +++ b/apps/dolly-backend/src/main/java/no/nav/dolly/repository/OrganisasjonBestillingRepository.java @@ -16,4 +16,14 @@ public interface OrganisasjonBestillingRepository extends CrudRepository findByBruker(Bruker bruker); + + @Modifying + @Query(""" + update OrganisasjonBestilling ob + set ob.ferdig = true + where ob.ferdig = false +""") + + int stopAllUnfinished(); + } \ No newline at end of file From 7d1eec44fe1ca2129d141d45a0c09b99aa2991fa Mon Sep 17 00:00:00 2001 From: kristenhaerum Date: Mon, 9 Sep 2024 10:54:25 +0200 Subject: [PATCH 5/7] Refactor getFoedested and getFoedselsdato functions Remove unnecessary `utenHistorikk` method call from `getFoedested` and `getFoedselsdato` functions. This streamlines the logic by directly returning the mapped list when relevant data is unavailable. --- .../no/nav/pdl/forvalter/service/PdlOrdreService.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/pdl-forvalter/src/main/java/no/nav/pdl/forvalter/service/PdlOrdreService.java b/apps/pdl-forvalter/src/main/java/no/nav/pdl/forvalter/service/PdlOrdreService.java index 7efc16838a6..0bc873f7c99 100644 --- a/apps/pdl-forvalter/src/main/java/no/nav/pdl/forvalter/service/PdlOrdreService.java +++ b/apps/pdl-forvalter/src/main/java/no/nav/pdl/forvalter/service/PdlOrdreService.java @@ -388,15 +388,15 @@ private List utenHistorikk(List private List getFoedested(PersonDTO person) { - return utenHistorikk(!person.getFoedested().isEmpty() ? + return !person.getFoedested().isEmpty() ? person.getFoedested() : - mapperFacade.mapAsList(person.getFoedsel(), FoedestedDTO.class)); + mapperFacade.mapAsList(person.getFoedsel(), FoedestedDTO.class); } private List getFoedselsdato(PersonDTO person) { - return utenHistorikk(!person.getFoedselsdato().isEmpty() ? + return !person.getFoedselsdato().isEmpty() ? person.getFoedselsdato() : - mapperFacade.mapAsList(person.getFoedsel(), FoedselDTO.class)); + mapperFacade.mapAsList(person.getFoedsel(), FoedselDTO.class); } } \ No newline at end of file From 73b6e180315a72a91ef4c9ce02ad044a0f5b57b5 Mon Sep 17 00:00:00 2001 From: stigus Date: Mon, 9 Sep 2024 13:45:37 +0200 Subject: [PATCH 6/7] * Logging til elastic med nais observability --- apps/adresse-service/config.yml | 3 +++ apps/amelding-service/config.yml | 3 +++ apps/app-tilgang-analyse-service/config.yml | 3 +++ apps/arbeidsforhold-service/config.yml | 3 +++ apps/batch-bestilling-service/config.yml | 3 +++ apps/brreg-stub/config.yml | 3 +++ apps/bruker-service/config.test.yml | 3 +++ apps/bruker-service/config.yml | 3 +++ apps/budpro-service/config.yml | 3 +++ apps/dolly-backend/config.test.yml | 3 +++ apps/dolly-backend/config.yml | 3 +++ apps/dolly-frontend/config.idporten.yml | 3 +++ apps/dolly-frontend/config.test.yml | 3 +++ apps/dolly-frontend/config.unstable.yml | 3 +++ apps/dolly-frontend/config.yml | 3 +++ apps/dollystatus/config.yml | 3 +++ apps/endringsmelding-frontend/config.yml | 3 +++ apps/endringsmelding-service/config.yml | 3 +++ apps/ereg-batch-status-service/config.yml | 3 +++ apps/faste-data-frontend/config.yml | 3 +++ apps/generer-arbeidsforhold-populasjon-service/config.yml | 3 +++ apps/generer-navn-service/config.yml | 3 +++ apps/generer-organisasjon-populasjon-service/config.yml | 3 +++ apps/generer-synt-amelding-service/config.yml | 3 +++ apps/helsepersonell-service/config.yml | 3 +++ apps/inntektsmelding-generator-service/config.yml | 3 +++ apps/inntektsmelding-service/config.yml | 3 +++ apps/jenkins-batch-status-service/config.yml | 3 +++ apps/joark-dokument-service/config.yml | 3 +++ apps/kodeverk-service/config.yml | 3 +++ apps/levende-arbeidsforhold-ansettelse/config.yml | 3 +++ apps/levende-arbeidsforhold-scheduler/config.yml | 3 +++ apps/levende-arbeidsforhold-service/config.yml | 3 +++ apps/miljoer-service/config.yml | 3 +++ apps/oppsummeringsdokument-service/config.yml | 3 +++ apps/organisasjon-bestilling-service/config.yml | 3 +++ apps/organisasjon-faste-data-service/config.yml | 3 +++ apps/organisasjon-forvalter/config.yml | 3 +++ apps/organisasjon-mottak-service/config.yml | 3 +++ apps/organisasjon-service/config.yml | 3 +++ apps/organisasjon-tilgang-frontend/config.yml | 3 +++ apps/organisasjon-tilgang-service/config.yml | 3 +++ apps/orgnummer-service/config.yml | 3 +++ apps/oversikt-frontend/config.yml | 3 +++ apps/pdl-forvalter/config.test.yml | 3 +++ apps/pdl-forvalter/config.yml | 3 +++ apps/person-faste-data-service/config.yml | 3 +++ apps/person-organisasjon-tilgang-service/config.test.yml | 3 +++ apps/person-organisasjon-tilgang-service/config.yml | 3 +++ apps/person-search-service/config.yml | 3 +++ apps/person-service/config.yml | 3 +++ apps/profil-api/config.test.yml | 3 +++ apps/profil-api/config.yml | 3 +++ apps/skattekort-service/config.yml | 3 +++ apps/sykemelding-api/config.yml | 3 +++ apps/synt-sykemelding-api/config.yml | 3 +++ apps/synt-vedtakshistorikk-service/config.yml | 3 +++ apps/tenor-search-service/config.yml | 3 +++ apps/testnav-ident-pool/config.yml | 3 +++ apps/testnorge-statisk-data-forvalter/config.yml | 3 +++ apps/tilbakemelding-api/config.yml | 3 +++ apps/tps-messaging-service/config.yml | 3 +++ apps/udi-stub/config.yml | 3 +++ apps/varslinger-service/config.test.yml | 3 +++ apps/varslinger-service/config.yml | 3 +++ proxies/aareg-proxy/config.yml | 3 +++ proxies/aareg-synt-services-proxy/config.yml | 3 +++ proxies/arbeidsplassencv-proxy/config.yml | 3 +++ proxies/arena-forvalteren-proxy/config.yml | 3 +++ proxies/batch-adeo-proxy/config.yml | 3 +++ proxies/brregstub-proxy/config.yml | 3 +++ proxies/dokarkiv-proxy/config.yml | 3 +++ proxies/ereg-proxy/config.yml | 3 +++ proxies/histark-proxy/config.yml | 3 +++ proxies/inntektstub-proxy/config.yml | 3 +++ proxies/inst-proxy/config.yml | 3 +++ proxies/kontoregister-person-proxy/config.yml | 3 +++ proxies/krrstub-proxy/config.yml | 3 +++ proxies/medl-proxy/config.yml | 3 +++ proxies/modapp-ereg-proxy/config.yml | 3 +++ proxies/norg2-proxy/config.yml | 3 +++ proxies/pdl-proxy/config.yml | 3 +++ proxies/pensjon-testdata-facade-proxy/config.yml | 3 +++ proxies/saf-proxy/config.yml | 3 +++ proxies/sigrunstub-proxy/config.yml | 3 +++ proxies/skjermingsregister-proxy/config.yml | 3 +++ proxies/synthdata-meldekort-proxy/config.yml | 3 +++ proxies/udistub-proxy/config.yml | 3 +++ 88 files changed, 264 insertions(+) diff --git a/apps/adresse-service/config.yml b/apps/adresse-service/config.yml index ffcf3361284..a0979da9f6c 100644 --- a/apps/adresse-service/config.yml +++ b/apps/adresse-service/config.yml @@ -22,6 +22,9 @@ spec: periodSeconds: 30 initialDelay: 30 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/amelding-service/config.yml b/apps/amelding-service/config.yml index 8cbf8051cac..8e554df5641 100644 --- a/apps/amelding-service/config.yml +++ b/apps/amelding-service/config.yml @@ -34,6 +34,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/app-tilgang-analyse-service/config.yml b/apps/app-tilgang-analyse-service/config.yml index 9338ed2bdc6..dc9947a1044 100644 --- a/apps/app-tilgang-analyse-service/config.yml +++ b/apps/app-tilgang-analyse-service/config.yml @@ -35,6 +35,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/arbeidsforhold-service/config.yml b/apps/arbeidsforhold-service/config.yml index 3a9de92db41..553ffc6f0b4 100644 --- a/apps/arbeidsforhold-service/config.yml +++ b/apps/arbeidsforhold-service/config.yml @@ -37,6 +37,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/batch-bestilling-service/config.yml b/apps/batch-bestilling-service/config.yml index 00d84d7ac34..47787f147c3 100644 --- a/apps/batch-bestilling-service/config.yml +++ b/apps/batch-bestilling-service/config.yml @@ -31,6 +31,9 @@ spec: periodSeconds: 30 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/brreg-stub/config.yml b/apps/brreg-stub/config.yml index d9fd6c7b140..f755c14c813 100644 --- a/apps/brreg-stub/config.yml +++ b/apps/brreg-stub/config.yml @@ -13,6 +13,9 @@ spec: periodSeconds: 30 initialDelay: 30 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/bruker-service/config.test.yml b/apps/bruker-service/config.test.yml index eb37f585e89..570fa3944c1 100644 --- a/apps/bruker-service/config.test.yml +++ b/apps/bruker-service/config.test.yml @@ -34,6 +34,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/bruker-service/config.yml b/apps/bruker-service/config.yml index 4d975dbe24b..75d533d2048 100644 --- a/apps/bruker-service/config.yml +++ b/apps/bruker-service/config.yml @@ -35,6 +35,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/budpro-service/config.yml b/apps/budpro-service/config.yml index a1caaf22b23..d950398921c 100644 --- a/apps/budpro-service/config.yml +++ b/apps/budpro-service/config.yml @@ -29,6 +29,9 @@ spec: enabled: true path: "/internal/prometheus" observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/dolly-backend/config.test.yml b/apps/dolly-backend/config.test.yml index 818cc05f2f1..5e9cac23aa0 100644 --- a/apps/dolly-backend/config.test.yml +++ b/apps/dolly-backend/config.test.yml @@ -89,6 +89,9 @@ spec: periodSeconds: 2 failureThreshold: 140 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/dolly-backend/config.yml b/apps/dolly-backend/config.yml index 6b3c5d17814..7499aa88627 100644 --- a/apps/dolly-backend/config.yml +++ b/apps/dolly-backend/config.yml @@ -90,6 +90,9 @@ spec: periodSeconds: 20 failureThreshold: 900 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/dolly-frontend/config.idporten.yml b/apps/dolly-frontend/config.idporten.yml index 628f0740ee2..fac21c7597c 100644 --- a/apps/dolly-frontend/config.idporten.yml +++ b/apps/dolly-frontend/config.idporten.yml @@ -78,6 +78,9 @@ spec: periodSeconds: 2 failureThreshold: 140 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/dolly-frontend/config.test.yml b/apps/dolly-frontend/config.test.yml index c8fc8589583..1844b03a0b1 100644 --- a/apps/dolly-frontend/config.test.yml +++ b/apps/dolly-frontend/config.test.yml @@ -88,6 +88,9 @@ spec: periodSeconds: 2 failureThreshold: 140 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/dolly-frontend/config.unstable.yml b/apps/dolly-frontend/config.unstable.yml index e43795b56fd..5a24b4f9360 100644 --- a/apps/dolly-frontend/config.unstable.yml +++ b/apps/dolly-frontend/config.unstable.yml @@ -81,6 +81,9 @@ spec: periodSeconds: 2 failureThreshold: 140 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/dolly-frontend/config.yml b/apps/dolly-frontend/config.yml index cf6f51b8267..5f7d016f3a5 100644 --- a/apps/dolly-frontend/config.yml +++ b/apps/dolly-frontend/config.yml @@ -87,6 +87,9 @@ spec: periodSeconds: 2 failureThreshold: 140 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/dollystatus/config.yml b/apps/dollystatus/config.yml index 6804a34db97..fe38713c1c8 100644 --- a/apps/dollystatus/config.yml +++ b/apps/dollystatus/config.yml @@ -20,6 +20,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/endringsmelding-frontend/config.yml b/apps/endringsmelding-frontend/config.yml index 7d729673d24..e781e21f5f3 100644 --- a/apps/endringsmelding-frontend/config.yml +++ b/apps/endringsmelding-frontend/config.yml @@ -22,6 +22,9 @@ spec: periodSeconds: 30 initialDelay: 30 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/endringsmelding-service/config.yml b/apps/endringsmelding-service/config.yml index dbbea74d1f2..adaa8b5894e 100644 --- a/apps/endringsmelding-service/config.yml +++ b/apps/endringsmelding-service/config.yml @@ -37,6 +37,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/ereg-batch-status-service/config.yml b/apps/ereg-batch-status-service/config.yml index 0dc7dcb188a..d11b78d78da 100644 --- a/apps/ereg-batch-status-service/config.yml +++ b/apps/ereg-batch-status-service/config.yml @@ -34,6 +34,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/faste-data-frontend/config.yml b/apps/faste-data-frontend/config.yml index d0d1ed6be55..d906eb1c725 100644 --- a/apps/faste-data-frontend/config.yml +++ b/apps/faste-data-frontend/config.yml @@ -32,6 +32,9 @@ spec: periodSeconds: 30 initialDelay: 30 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/generer-arbeidsforhold-populasjon-service/config.yml b/apps/generer-arbeidsforhold-populasjon-service/config.yml index 51716615f66..b2c4a24e737 100644 --- a/apps/generer-arbeidsforhold-populasjon-service/config.yml +++ b/apps/generer-arbeidsforhold-populasjon-service/config.yml @@ -36,6 +36,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/generer-navn-service/config.yml b/apps/generer-navn-service/config.yml index d7951cdd23b..ef02a13c673 100644 --- a/apps/generer-navn-service/config.yml +++ b/apps/generer-navn-service/config.yml @@ -54,6 +54,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/generer-organisasjon-populasjon-service/config.yml b/apps/generer-organisasjon-populasjon-service/config.yml index 05fbaf28e80..f8af32cc128 100644 --- a/apps/generer-organisasjon-populasjon-service/config.yml +++ b/apps/generer-organisasjon-populasjon-service/config.yml @@ -40,6 +40,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/generer-synt-amelding-service/config.yml b/apps/generer-synt-amelding-service/config.yml index ac73dae25ee..893c24cc851 100644 --- a/apps/generer-synt-amelding-service/config.yml +++ b/apps/generer-synt-amelding-service/config.yml @@ -34,6 +34,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/helsepersonell-service/config.yml b/apps/helsepersonell-service/config.yml index 4c5ab8ad653..780a71dbe58 100644 --- a/apps/helsepersonell-service/config.yml +++ b/apps/helsepersonell-service/config.yml @@ -35,6 +35,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/inntektsmelding-generator-service/config.yml b/apps/inntektsmelding-generator-service/config.yml index 274ea7c40e2..75653558d30 100644 --- a/apps/inntektsmelding-generator-service/config.yml +++ b/apps/inntektsmelding-generator-service/config.yml @@ -29,6 +29,9 @@ spec: periodSeconds: 30 initialDelay: 30 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/inntektsmelding-service/config.yml b/apps/inntektsmelding-service/config.yml index 2d2f737bb6d..40f2cbba70e 100644 --- a/apps/inntektsmelding-service/config.yml +++ b/apps/inntektsmelding-service/config.yml @@ -43,6 +43,9 @@ spec: periodSeconds: 30 initialDelay: 30 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/jenkins-batch-status-service/config.yml b/apps/jenkins-batch-status-service/config.yml index 998c9393642..53de0b7175f 100644 --- a/apps/jenkins-batch-status-service/config.yml +++ b/apps/jenkins-batch-status-service/config.yml @@ -36,6 +36,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/joark-dokument-service/config.yml b/apps/joark-dokument-service/config.yml index c6e707d3946..60cec008837 100644 --- a/apps/joark-dokument-service/config.yml +++ b/apps/joark-dokument-service/config.yml @@ -33,6 +33,9 @@ spec: periodSeconds: 30 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/kodeverk-service/config.yml b/apps/kodeverk-service/config.yml index 2f8405ce715..953d8ad9aff 100644 --- a/apps/kodeverk-service/config.yml +++ b/apps/kodeverk-service/config.yml @@ -38,6 +38,9 @@ spec: periodSeconds: 5 failureThreshold: 10 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/levende-arbeidsforhold-ansettelse/config.yml b/apps/levende-arbeidsforhold-ansettelse/config.yml index 8edd1d9a6c5..6d779e98ed4 100644 --- a/apps/levende-arbeidsforhold-ansettelse/config.yml +++ b/apps/levende-arbeidsforhold-ansettelse/config.yml @@ -34,6 +34,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/levende-arbeidsforhold-scheduler/config.yml b/apps/levende-arbeidsforhold-scheduler/config.yml index e3fa99a9112..65077f02cf1 100644 --- a/apps/levende-arbeidsforhold-scheduler/config.yml +++ b/apps/levende-arbeidsforhold-scheduler/config.yml @@ -29,6 +29,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/levende-arbeidsforhold-service/config.yml b/apps/levende-arbeidsforhold-service/config.yml index acd0b0974b1..0ba7bad5861 100644 --- a/apps/levende-arbeidsforhold-service/config.yml +++ b/apps/levende-arbeidsforhold-service/config.yml @@ -29,6 +29,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/miljoer-service/config.yml b/apps/miljoer-service/config.yml index d24fccfedc8..2d3896fd8bd 100644 --- a/apps/miljoer-service/config.yml +++ b/apps/miljoer-service/config.yml @@ -40,6 +40,9 @@ spec: periodSeconds: 30 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/oppsummeringsdokument-service/config.yml b/apps/oppsummeringsdokument-service/config.yml index 96787612269..13426dcc423 100644 --- a/apps/oppsummeringsdokument-service/config.yml +++ b/apps/oppsummeringsdokument-service/config.yml @@ -41,6 +41,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/organisasjon-bestilling-service/config.yml b/apps/organisasjon-bestilling-service/config.yml index aa1d9b7776c..256b706e3ab 100644 --- a/apps/organisasjon-bestilling-service/config.yml +++ b/apps/organisasjon-bestilling-service/config.yml @@ -50,6 +50,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/organisasjon-faste-data-service/config.yml b/apps/organisasjon-faste-data-service/config.yml index 6e55ef13a63..50b3ba399c3 100644 --- a/apps/organisasjon-faste-data-service/config.yml +++ b/apps/organisasjon-faste-data-service/config.yml @@ -50,6 +50,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/organisasjon-forvalter/config.yml b/apps/organisasjon-forvalter/config.yml index fe6d7479daf..846c6af8c2b 100644 --- a/apps/organisasjon-forvalter/config.yml +++ b/apps/organisasjon-forvalter/config.yml @@ -55,6 +55,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/organisasjon-mottak-service/config.yml b/apps/organisasjon-mottak-service/config.yml index a3a2c92778a..bf13c45589c 100644 --- a/apps/organisasjon-mottak-service/config.yml +++ b/apps/organisasjon-mottak-service/config.yml @@ -34,6 +34,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/organisasjon-service/config.yml b/apps/organisasjon-service/config.yml index 1f12459096c..339c2c37977 100644 --- a/apps/organisasjon-service/config.yml +++ b/apps/organisasjon-service/config.yml @@ -42,6 +42,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/organisasjon-tilgang-frontend/config.yml b/apps/organisasjon-tilgang-frontend/config.yml index a4d47dbd9a9..81f7c787cbb 100644 --- a/apps/organisasjon-tilgang-frontend/config.yml +++ b/apps/organisasjon-tilgang-frontend/config.yml @@ -29,6 +29,9 @@ spec: periodSeconds: 30 initialDelay: 30 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/organisasjon-tilgang-service/config.yml b/apps/organisasjon-tilgang-service/config.yml index 1efb8ec6c89..8d2189a8432 100644 --- a/apps/organisasjon-tilgang-service/config.yml +++ b/apps/organisasjon-tilgang-service/config.yml @@ -38,6 +38,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/orgnummer-service/config.yml b/apps/orgnummer-service/config.yml index e7c8c3be0aa..babde424b28 100644 --- a/apps/orgnummer-service/config.yml +++ b/apps/orgnummer-service/config.yml @@ -39,6 +39,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/oversikt-frontend/config.yml b/apps/oversikt-frontend/config.yml index a0726cdc10e..d605147c525 100644 --- a/apps/oversikt-frontend/config.yml +++ b/apps/oversikt-frontend/config.yml @@ -92,6 +92,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/pdl-forvalter/config.test.yml b/apps/pdl-forvalter/config.test.yml index 82ce9b42a92..7f74f5959e8 100644 --- a/apps/pdl-forvalter/config.test.yml +++ b/apps/pdl-forvalter/config.test.yml @@ -31,6 +31,9 @@ spec: periodSeconds: 60 initialDelay: 60 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/pdl-forvalter/config.yml b/apps/pdl-forvalter/config.yml index 402b67eb554..baa09bc3535 100644 --- a/apps/pdl-forvalter/config.yml +++ b/apps/pdl-forvalter/config.yml @@ -31,6 +31,9 @@ spec: periodSeconds: 30 initialDelay: 30 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/person-faste-data-service/config.yml b/apps/person-faste-data-service/config.yml index 85b2cdd83b3..bf62cc80c76 100644 --- a/apps/person-faste-data-service/config.yml +++ b/apps/person-faste-data-service/config.yml @@ -38,6 +38,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/person-organisasjon-tilgang-service/config.test.yml b/apps/person-organisasjon-tilgang-service/config.test.yml index 7cf8871316f..b0ddf3d636e 100644 --- a/apps/person-organisasjon-tilgang-service/config.test.yml +++ b/apps/person-organisasjon-tilgang-service/config.test.yml @@ -40,6 +40,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/person-organisasjon-tilgang-service/config.yml b/apps/person-organisasjon-tilgang-service/config.yml index c3a7d899665..05de86e42db 100644 --- a/apps/person-organisasjon-tilgang-service/config.yml +++ b/apps/person-organisasjon-tilgang-service/config.yml @@ -34,6 +34,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/person-search-service/config.yml b/apps/person-search-service/config.yml index d7e7909270e..5f9e0da377c 100644 --- a/apps/person-search-service/config.yml +++ b/apps/person-search-service/config.yml @@ -35,6 +35,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/person-service/config.yml b/apps/person-service/config.yml index 829e2d00962..492dfb9ddf6 100644 --- a/apps/person-service/config.yml +++ b/apps/person-service/config.yml @@ -45,6 +45,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/profil-api/config.test.yml b/apps/profil-api/config.test.yml index 5629759b10a..13fc47577c0 100644 --- a/apps/profil-api/config.test.yml +++ b/apps/profil-api/config.test.yml @@ -42,6 +42,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/profil-api/config.yml b/apps/profil-api/config.yml index 8fa4090ab61..10bc2689e2f 100644 --- a/apps/profil-api/config.yml +++ b/apps/profil-api/config.yml @@ -42,6 +42,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/skattekort-service/config.yml b/apps/skattekort-service/config.yml index 557c99fbd4d..7e17da21473 100644 --- a/apps/skattekort-service/config.yml +++ b/apps/skattekort-service/config.yml @@ -34,6 +34,9 @@ spec: periodSeconds: 30 initialDelay: 30 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/sykemelding-api/config.yml b/apps/sykemelding-api/config.yml index 08ee9601b14..386809570a7 100644 --- a/apps/sykemelding-api/config.yml +++ b/apps/sykemelding-api/config.yml @@ -26,6 +26,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/synt-sykemelding-api/config.yml b/apps/synt-sykemelding-api/config.yml index ebe2faaa3e5..fdd8313bdc0 100644 --- a/apps/synt-sykemelding-api/config.yml +++ b/apps/synt-sykemelding-api/config.yml @@ -25,6 +25,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/synt-vedtakshistorikk-service/config.yml b/apps/synt-vedtakshistorikk-service/config.yml index 38b6268b8f8..5d4592429d0 100644 --- a/apps/synt-vedtakshistorikk-service/config.yml +++ b/apps/synt-vedtakshistorikk-service/config.yml @@ -19,6 +19,9 @@ spec: periodSeconds: 30 initialDelay: 30 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/tenor-search-service/config.yml b/apps/tenor-search-service/config.yml index 9dc85ef7a28..e931fba4d14 100644 --- a/apps/tenor-search-service/config.yml +++ b/apps/tenor-search-service/config.yml @@ -43,6 +43,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/testnav-ident-pool/config.yml b/apps/testnav-ident-pool/config.yml index 55380454e41..da0b9220c2a 100644 --- a/apps/testnav-ident-pool/config.yml +++ b/apps/testnav-ident-pool/config.yml @@ -31,6 +31,9 @@ spec: periodSeconds: 30 failureThreshold: 3 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/testnorge-statisk-data-forvalter/config.yml b/apps/testnorge-statisk-data-forvalter/config.yml index 9e6c79adb51..98b2af5be19 100644 --- a/apps/testnorge-statisk-data-forvalter/config.yml +++ b/apps/testnorge-statisk-data-forvalter/config.yml @@ -20,6 +20,9 @@ spec: periodSeconds: 30 initialDelay: 30 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/tilbakemelding-api/config.yml b/apps/tilbakemelding-api/config.yml index 89167f846ef..7de60913210 100644 --- a/apps/tilbakemelding-api/config.yml +++ b/apps/tilbakemelding-api/config.yml @@ -37,6 +37,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/tps-messaging-service/config.yml b/apps/tps-messaging-service/config.yml index 2ea93c81caf..a64996f5f77 100644 --- a/apps/tps-messaging-service/config.yml +++ b/apps/tps-messaging-service/config.yml @@ -25,6 +25,9 @@ spec: periodSeconds: 30 initialDelay: 30 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/udi-stub/config.yml b/apps/udi-stub/config.yml index 81887c8e342..3712fa340c0 100644 --- a/apps/udi-stub/config.yml +++ b/apps/udi-stub/config.yml @@ -34,6 +34,9 @@ spec: periodSeconds: 30 initialDelay: 30 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/varslinger-service/config.test.yml b/apps/varslinger-service/config.test.yml index bb713ac9588..d510d811f2d 100644 --- a/apps/varslinger-service/config.test.yml +++ b/apps/varslinger-service/config.test.yml @@ -35,6 +35,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/apps/varslinger-service/config.yml b/apps/varslinger-service/config.yml index 4d046a508b2..4ea1574ab3a 100644 --- a/apps/varslinger-service/config.yml +++ b/apps/varslinger-service/config.yml @@ -36,6 +36,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/aareg-proxy/config.yml b/proxies/aareg-proxy/config.yml index 1b8dfaf83fe..45a28c5ec53 100644 --- a/proxies/aareg-proxy/config.yml +++ b/proxies/aareg-proxy/config.yml @@ -60,6 +60,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/aareg-synt-services-proxy/config.yml b/proxies/aareg-synt-services-proxy/config.yml index a0801fec922..4ceb2c2357c 100644 --- a/proxies/aareg-synt-services-proxy/config.yml +++ b/proxies/aareg-synt-services-proxy/config.yml @@ -29,6 +29,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/arbeidsplassencv-proxy/config.yml b/proxies/arbeidsplassencv-proxy/config.yml index 8bf835941d7..52ca7e63a90 100644 --- a/proxies/arbeidsplassencv-proxy/config.yml +++ b/proxies/arbeidsplassencv-proxy/config.yml @@ -37,6 +37,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/arena-forvalteren-proxy/config.yml b/proxies/arena-forvalteren-proxy/config.yml index 95f936cd0db..98ed138c0fe 100644 --- a/proxies/arena-forvalteren-proxy/config.yml +++ b/proxies/arena-forvalteren-proxy/config.yml @@ -41,6 +41,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/batch-adeo-proxy/config.yml b/proxies/batch-adeo-proxy/config.yml index ff95dcb817c..75224553b08 100644 --- a/proxies/batch-adeo-proxy/config.yml +++ b/proxies/batch-adeo-proxy/config.yml @@ -43,6 +43,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/brregstub-proxy/config.yml b/proxies/brregstub-proxy/config.yml index 3910c0f1746..0d24735cab3 100644 --- a/proxies/brregstub-proxy/config.yml +++ b/proxies/brregstub-proxy/config.yml @@ -39,6 +39,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/dokarkiv-proxy/config.yml b/proxies/dokarkiv-proxy/config.yml index 5df1f54adf4..bc94ba01091 100644 --- a/proxies/dokarkiv-proxy/config.yml +++ b/proxies/dokarkiv-proxy/config.yml @@ -57,6 +57,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/ereg-proxy/config.yml b/proxies/ereg-proxy/config.yml index 021242ff302..4111dcbb010 100644 --- a/proxies/ereg-proxy/config.yml +++ b/proxies/ereg-proxy/config.yml @@ -33,6 +33,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/histark-proxy/config.yml b/proxies/histark-proxy/config.yml index a9f65e0a912..121ec75009e 100644 --- a/proxies/histark-proxy/config.yml +++ b/proxies/histark-proxy/config.yml @@ -40,6 +40,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/inntektstub-proxy/config.yml b/proxies/inntektstub-proxy/config.yml index 5b9d825b21e..67794063ab6 100644 --- a/proxies/inntektstub-proxy/config.yml +++ b/proxies/inntektstub-proxy/config.yml @@ -41,6 +41,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/inst-proxy/config.yml b/proxies/inst-proxy/config.yml index 51c37b86ca8..21c19d47076 100644 --- a/proxies/inst-proxy/config.yml +++ b/proxies/inst-proxy/config.yml @@ -56,6 +56,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/kontoregister-person-proxy/config.yml b/proxies/kontoregister-person-proxy/config.yml index aeb0d6a49f0..f39be5da4f8 100644 --- a/proxies/kontoregister-person-proxy/config.yml +++ b/proxies/kontoregister-person-proxy/config.yml @@ -52,6 +52,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/krrstub-proxy/config.yml b/proxies/krrstub-proxy/config.yml index 7bfc61f72e4..d3d1466b3b7 100644 --- a/proxies/krrstub-proxy/config.yml +++ b/proxies/krrstub-proxy/config.yml @@ -52,6 +52,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/medl-proxy/config.yml b/proxies/medl-proxy/config.yml index 90f318607cc..cf5163917eb 100644 --- a/proxies/medl-proxy/config.yml +++ b/proxies/medl-proxy/config.yml @@ -55,6 +55,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/modapp-ereg-proxy/config.yml b/proxies/modapp-ereg-proxy/config.yml index 09b3f25d1f3..b03689c1495 100644 --- a/proxies/modapp-ereg-proxy/config.yml +++ b/proxies/modapp-ereg-proxy/config.yml @@ -44,6 +44,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/norg2-proxy/config.yml b/proxies/norg2-proxy/config.yml index 31a5d123812..018707abd4f 100644 --- a/proxies/norg2-proxy/config.yml +++ b/proxies/norg2-proxy/config.yml @@ -39,6 +39,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/pdl-proxy/config.yml b/proxies/pdl-proxy/config.yml index 9244ccc77c2..86bc932345a 100644 --- a/proxies/pdl-proxy/config.yml +++ b/proxies/pdl-proxy/config.yml @@ -71,6 +71,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/pensjon-testdata-facade-proxy/config.yml b/proxies/pensjon-testdata-facade-proxy/config.yml index e43044fa8d2..4445e181c00 100644 --- a/proxies/pensjon-testdata-facade-proxy/config.yml +++ b/proxies/pensjon-testdata-facade-proxy/config.yml @@ -65,6 +65,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/saf-proxy/config.yml b/proxies/saf-proxy/config.yml index 207a111a7aa..ec21ada9c4d 100644 --- a/proxies/saf-proxy/config.yml +++ b/proxies/saf-proxy/config.yml @@ -50,6 +50,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/sigrunstub-proxy/config.yml b/proxies/sigrunstub-proxy/config.yml index d4c12e00701..9d3081f4fac 100644 --- a/proxies/sigrunstub-proxy/config.yml +++ b/proxies/sigrunstub-proxy/config.yml @@ -39,6 +39,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/skjermingsregister-proxy/config.yml b/proxies/skjermingsregister-proxy/config.yml index 5028a278ff4..5f15905507d 100644 --- a/proxies/skjermingsregister-proxy/config.yml +++ b/proxies/skjermingsregister-proxy/config.yml @@ -56,6 +56,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/synthdata-meldekort-proxy/config.yml b/proxies/synthdata-meldekort-proxy/config.yml index e46031274ef..bccac00adc3 100644 --- a/proxies/synthdata-meldekort-proxy/config.yml +++ b/proxies/synthdata-meldekort-proxy/config.yml @@ -58,6 +58,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java diff --git a/proxies/udistub-proxy/config.yml b/proxies/udistub-proxy/config.yml index f5df2ea83c8..154bb1f7b7a 100644 --- a/proxies/udistub-proxy/config.yml +++ b/proxies/udistub-proxy/config.yml @@ -39,6 +39,9 @@ spec: periodSeconds: 5 failureThreshold: 500 observability: + logging: + destinations: + - id: elastic autoInstrumentation: enabled: true runtime: java From 293b2f47c7c5ad4e135a8c5d8ab599b9a51ff4a8 Mon Sep 17 00:00:00 2001 From: stigus Date: Mon, 9 Sep 2024 13:56:48 +0200 Subject: [PATCH 7/7] * Logging til elastic med nais observability --- apps/bruker-service/config.test.yml | 6 +++--- apps/dolly-backend/config.test.yml | 6 +++--- apps/dollystatus/config.yml | 6 +++--- apps/endringsmelding-frontend/config.yml | 6 +++--- apps/endringsmelding-service/config.yml | 6 +++--- apps/ereg-batch-status-service/config.yml | 6 +++--- apps/faste-data-frontend/config.yml | 6 +++--- apps/generer-arbeidsforhold-populasjon-service/config.yml | 6 +++--- apps/generer-navn-service/config.yml | 6 +++--- apps/generer-organisasjon-populasjon-service/config.yml | 6 +++--- apps/generer-synt-amelding-service/config.yml | 6 +++--- apps/helsepersonell-service/config.yml | 6 +++--- apps/inntektsmelding-generator-service/config.yml | 6 +++--- apps/inntektsmelding-service/config.yml | 6 +++--- apps/jenkins-batch-status-service/config.yml | 6 +++--- apps/joark-dokument-service/config.yml | 6 +++--- apps/kodeverk-service/config.yml | 6 +++--- apps/levende-arbeidsforhold-scheduler/config.yml | 6 +++--- apps/levende-arbeidsforhold-service/config.yml | 6 +++--- apps/miljoer-service/config.yml | 6 +++--- apps/oppsummeringsdokument-service/config.yml | 6 +++--- apps/organisasjon-bestilling-service/config.yml | 6 +++--- apps/organisasjon-faste-data-service/config.yml | 6 +++--- apps/organisasjon-forvalter/config.yml | 6 +++--- apps/organisasjon-mottak-service/config.yml | 6 +++--- apps/organisasjon-service/config.yml | 6 +++--- apps/orgnummer-service/config.yml | 6 +++--- apps/oversikt-frontend/config.yml | 6 +++--- apps/pdl-forvalter/config.test.yml | 6 +++--- apps/pdl-forvalter/config.yml | 6 +++--- apps/person-faste-data-service/config.yml | 6 +++--- apps/person-organisasjon-tilgang-service/config.test.yml | 6 +++--- apps/person-organisasjon-tilgang-service/config.yml | 6 +++--- apps/person-search-service/config.yml | 6 +++--- apps/person-service/config.yml | 6 +++--- apps/profil-api/config.test.yml | 6 +++--- apps/profil-api/config.yml | 6 +++--- apps/skattekort-service/config.yml | 6 +++--- apps/sykemelding-api/config.yml | 6 +++--- apps/synt-sykemelding-api/config.yml | 6 +++--- apps/synt-vedtakshistorikk-service/config.yml | 6 +++--- apps/tenor-search-service/config.yml | 6 +++--- apps/testnav-ident-pool/config.yml | 6 +++--- apps/testnorge-statisk-data-forvalter/config.yml | 6 +++--- apps/tilbakemelding-api/config.yml | 6 +++--- apps/tps-messaging-service/config.yml | 6 +++--- apps/udi-stub/config.yml | 6 +++--- apps/varslinger-service/config.test.yml | 6 +++--- apps/varslinger-service/config.yml | 6 +++--- proxies/aareg-synt-services-proxy/config.yml | 6 +++--- proxies/arbeidsplassencv-proxy/config.yml | 6 +++--- proxies/arena-forvalteren-proxy/config.yml | 6 +++--- proxies/batch-adeo-proxy/config.yml | 6 +++--- proxies/brregstub-proxy/config.yml | 6 +++--- proxies/dokarkiv-proxy/config.yml | 6 +++--- proxies/ereg-proxy/config.yml | 6 +++--- proxies/histark-proxy/config.yml | 6 +++--- proxies/inntektstub-proxy/config.yml | 6 +++--- proxies/inst-proxy/config.yml | 6 +++--- proxies/kontoregister-person-proxy/config.yml | 6 +++--- proxies/krrstub-proxy/config.yml | 6 +++--- proxies/medl-proxy/config.yml | 6 +++--- proxies/modapp-ereg-proxy/config.yml | 6 +++--- proxies/norg2-proxy/config.yml | 6 +++--- proxies/pdl-proxy/config.yml | 6 +++--- proxies/pensjon-testdata-facade-proxy/config.yml | 6 +++--- proxies/saf-proxy/config.yml | 6 +++--- proxies/sigrunstub-proxy/config.yml | 6 +++--- proxies/skjermingsregister-proxy/config.yml | 6 +++--- proxies/synthdata-meldekort-proxy/config.yml | 6 +++--- proxies/udistub-proxy/config.yml | 6 +++--- 71 files changed, 213 insertions(+), 213 deletions(-) diff --git a/apps/bruker-service/config.test.yml b/apps/bruker-service/config.test.yml index 570fa3944c1..598ade83107 100644 --- a/apps/bruker-service/config.test.yml +++ b/apps/bruker-service/config.test.yml @@ -37,9 +37,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/dolly-backend/config.test.yml b/apps/dolly-backend/config.test.yml index 5e9cac23aa0..40acba81414 100644 --- a/apps/dolly-backend/config.test.yml +++ b/apps/dolly-backend/config.test.yml @@ -92,9 +92,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 20 diff --git a/apps/dollystatus/config.yml b/apps/dollystatus/config.yml index fe38713c1c8..f150fdf5f80 100644 --- a/apps/dollystatus/config.yml +++ b/apps/dollystatus/config.yml @@ -23,9 +23,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/endringsmelding-frontend/config.yml b/apps/endringsmelding-frontend/config.yml index e781e21f5f3..a4f37bf4cd2 100644 --- a/apps/endringsmelding-frontend/config.yml +++ b/apps/endringsmelding-frontend/config.yml @@ -25,9 +25,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/endringsmelding-service/config.yml b/apps/endringsmelding-service/config.yml index adaa8b5894e..50aca062cf7 100644 --- a/apps/endringsmelding-service/config.yml +++ b/apps/endringsmelding-service/config.yml @@ -40,9 +40,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/ereg-batch-status-service/config.yml b/apps/ereg-batch-status-service/config.yml index d11b78d78da..05ff669ed3e 100644 --- a/apps/ereg-batch-status-service/config.yml +++ b/apps/ereg-batch-status-service/config.yml @@ -37,9 +37,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/faste-data-frontend/config.yml b/apps/faste-data-frontend/config.yml index d906eb1c725..68c55d581ac 100644 --- a/apps/faste-data-frontend/config.yml +++ b/apps/faste-data-frontend/config.yml @@ -35,9 +35,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/generer-arbeidsforhold-populasjon-service/config.yml b/apps/generer-arbeidsforhold-populasjon-service/config.yml index b2c4a24e737..2a4610aa157 100644 --- a/apps/generer-arbeidsforhold-populasjon-service/config.yml +++ b/apps/generer-arbeidsforhold-populasjon-service/config.yml @@ -39,9 +39,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/generer-navn-service/config.yml b/apps/generer-navn-service/config.yml index ef02a13c673..0ba35e3c211 100644 --- a/apps/generer-navn-service/config.yml +++ b/apps/generer-navn-service/config.yml @@ -57,9 +57,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/generer-organisasjon-populasjon-service/config.yml b/apps/generer-organisasjon-populasjon-service/config.yml index f8af32cc128..431c378c583 100644 --- a/apps/generer-organisasjon-populasjon-service/config.yml +++ b/apps/generer-organisasjon-populasjon-service/config.yml @@ -43,9 +43,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/generer-synt-amelding-service/config.yml b/apps/generer-synt-amelding-service/config.yml index 893c24cc851..b205f6c4097 100644 --- a/apps/generer-synt-amelding-service/config.yml +++ b/apps/generer-synt-amelding-service/config.yml @@ -37,9 +37,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/helsepersonell-service/config.yml b/apps/helsepersonell-service/config.yml index 780a71dbe58..02fa9399505 100644 --- a/apps/helsepersonell-service/config.yml +++ b/apps/helsepersonell-service/config.yml @@ -38,9 +38,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/inntektsmelding-generator-service/config.yml b/apps/inntektsmelding-generator-service/config.yml index 75653558d30..057547655fb 100644 --- a/apps/inntektsmelding-generator-service/config.yml +++ b/apps/inntektsmelding-generator-service/config.yml @@ -32,9 +32,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/inntektsmelding-service/config.yml b/apps/inntektsmelding-service/config.yml index 40f2cbba70e..fb14fb0e7e5 100644 --- a/apps/inntektsmelding-service/config.yml +++ b/apps/inntektsmelding-service/config.yml @@ -46,9 +46,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/jenkins-batch-status-service/config.yml b/apps/jenkins-batch-status-service/config.yml index 53de0b7175f..2766e1b8164 100644 --- a/apps/jenkins-batch-status-service/config.yml +++ b/apps/jenkins-batch-status-service/config.yml @@ -39,9 +39,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/joark-dokument-service/config.yml b/apps/joark-dokument-service/config.yml index 60cec008837..a6f7b423e59 100644 --- a/apps/joark-dokument-service/config.yml +++ b/apps/joark-dokument-service/config.yml @@ -36,9 +36,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/kodeverk-service/config.yml b/apps/kodeverk-service/config.yml index 953d8ad9aff..4be570ad76c 100644 --- a/apps/kodeverk-service/config.yml +++ b/apps/kodeverk-service/config.yml @@ -41,9 +41,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/levende-arbeidsforhold-scheduler/config.yml b/apps/levende-arbeidsforhold-scheduler/config.yml index 65077f02cf1..0c188ffd713 100644 --- a/apps/levende-arbeidsforhold-scheduler/config.yml +++ b/apps/levende-arbeidsforhold-scheduler/config.yml @@ -32,9 +32,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/levende-arbeidsforhold-service/config.yml b/apps/levende-arbeidsforhold-service/config.yml index 0ba7bad5861..07608fa5d08 100644 --- a/apps/levende-arbeidsforhold-service/config.yml +++ b/apps/levende-arbeidsforhold-service/config.yml @@ -32,9 +32,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/miljoer-service/config.yml b/apps/miljoer-service/config.yml index 2d3896fd8bd..b8097164d8a 100644 --- a/apps/miljoer-service/config.yml +++ b/apps/miljoer-service/config.yml @@ -43,9 +43,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/oppsummeringsdokument-service/config.yml b/apps/oppsummeringsdokument-service/config.yml index 13426dcc423..c1a0a466344 100644 --- a/apps/oppsummeringsdokument-service/config.yml +++ b/apps/oppsummeringsdokument-service/config.yml @@ -44,9 +44,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/organisasjon-bestilling-service/config.yml b/apps/organisasjon-bestilling-service/config.yml index 256b706e3ab..a7313ce10fa 100644 --- a/apps/organisasjon-bestilling-service/config.yml +++ b/apps/organisasjon-bestilling-service/config.yml @@ -53,9 +53,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/organisasjon-faste-data-service/config.yml b/apps/organisasjon-faste-data-service/config.yml index 50b3ba399c3..be75f959266 100644 --- a/apps/organisasjon-faste-data-service/config.yml +++ b/apps/organisasjon-faste-data-service/config.yml @@ -53,9 +53,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/organisasjon-forvalter/config.yml b/apps/organisasjon-forvalter/config.yml index 846c6af8c2b..ce6ae1b001a 100644 --- a/apps/organisasjon-forvalter/config.yml +++ b/apps/organisasjon-forvalter/config.yml @@ -58,9 +58,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/organisasjon-mottak-service/config.yml b/apps/organisasjon-mottak-service/config.yml index bf13c45589c..8aa8511735c 100644 --- a/apps/organisasjon-mottak-service/config.yml +++ b/apps/organisasjon-mottak-service/config.yml @@ -37,9 +37,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/organisasjon-service/config.yml b/apps/organisasjon-service/config.yml index 339c2c37977..5fd5cef84b2 100644 --- a/apps/organisasjon-service/config.yml +++ b/apps/organisasjon-service/config.yml @@ -45,9 +45,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/orgnummer-service/config.yml b/apps/orgnummer-service/config.yml index babde424b28..6323decf9d4 100644 --- a/apps/orgnummer-service/config.yml +++ b/apps/orgnummer-service/config.yml @@ -42,9 +42,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/oversikt-frontend/config.yml b/apps/oversikt-frontend/config.yml index d605147c525..a46246f63ea 100644 --- a/apps/oversikt-frontend/config.yml +++ b/apps/oversikt-frontend/config.yml @@ -95,9 +95,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/pdl-forvalter/config.test.yml b/apps/pdl-forvalter/config.test.yml index 7f74f5959e8..27499857632 100644 --- a/apps/pdl-forvalter/config.test.yml +++ b/apps/pdl-forvalter/config.test.yml @@ -34,9 +34,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady periodSeconds: 60 diff --git a/apps/pdl-forvalter/config.yml b/apps/pdl-forvalter/config.yml index baa09bc3535..56f83b846c7 100644 --- a/apps/pdl-forvalter/config.yml +++ b/apps/pdl-forvalter/config.yml @@ -34,9 +34,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/person-faste-data-service/config.yml b/apps/person-faste-data-service/config.yml index bf62cc80c76..2ff4ccaaf02 100644 --- a/apps/person-faste-data-service/config.yml +++ b/apps/person-faste-data-service/config.yml @@ -41,9 +41,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/person-organisasjon-tilgang-service/config.test.yml b/apps/person-organisasjon-tilgang-service/config.test.yml index b0ddf3d636e..3814270713b 100644 --- a/apps/person-organisasjon-tilgang-service/config.test.yml +++ b/apps/person-organisasjon-tilgang-service/config.test.yml @@ -43,9 +43,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/person-organisasjon-tilgang-service/config.yml b/apps/person-organisasjon-tilgang-service/config.yml index 05de86e42db..e2b6ea2278f 100644 --- a/apps/person-organisasjon-tilgang-service/config.yml +++ b/apps/person-organisasjon-tilgang-service/config.yml @@ -37,9 +37,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/person-search-service/config.yml b/apps/person-search-service/config.yml index 5f9e0da377c..29ee394b984 100644 --- a/apps/person-search-service/config.yml +++ b/apps/person-search-service/config.yml @@ -38,9 +38,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/person-service/config.yml b/apps/person-service/config.yml index 492dfb9ddf6..8539024cfd2 100644 --- a/apps/person-service/config.yml +++ b/apps/person-service/config.yml @@ -48,9 +48,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/profil-api/config.test.yml b/apps/profil-api/config.test.yml index 13fc47577c0..82b365c1e24 100644 --- a/apps/profil-api/config.test.yml +++ b/apps/profil-api/config.test.yml @@ -45,9 +45,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/profil-api/config.yml b/apps/profil-api/config.yml index 10bc2689e2f..87d2f3dd35f 100644 --- a/apps/profil-api/config.yml +++ b/apps/profil-api/config.yml @@ -45,9 +45,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/skattekort-service/config.yml b/apps/skattekort-service/config.yml index 7e17da21473..7042b0431eb 100644 --- a/apps/skattekort-service/config.yml +++ b/apps/skattekort-service/config.yml @@ -37,9 +37,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/sykemelding-api/config.yml b/apps/sykemelding-api/config.yml index 386809570a7..bb498bac7a2 100644 --- a/apps/sykemelding-api/config.yml +++ b/apps/sykemelding-api/config.yml @@ -29,9 +29,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/synt-sykemelding-api/config.yml b/apps/synt-sykemelding-api/config.yml index fdd8313bdc0..2493281b221 100644 --- a/apps/synt-sykemelding-api/config.yml +++ b/apps/synt-sykemelding-api/config.yml @@ -28,9 +28,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/synt-vedtakshistorikk-service/config.yml b/apps/synt-vedtakshistorikk-service/config.yml index 5d4592429d0..742f8d41794 100644 --- a/apps/synt-vedtakshistorikk-service/config.yml +++ b/apps/synt-vedtakshistorikk-service/config.yml @@ -22,9 +22,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/tenor-search-service/config.yml b/apps/tenor-search-service/config.yml index e931fba4d14..141b7c45b12 100644 --- a/apps/tenor-search-service/config.yml +++ b/apps/tenor-search-service/config.yml @@ -46,9 +46,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/testnav-ident-pool/config.yml b/apps/testnav-ident-pool/config.yml index da0b9220c2a..8fabfc3969e 100644 --- a/apps/testnav-ident-pool/config.yml +++ b/apps/testnav-ident-pool/config.yml @@ -34,9 +34,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/testnorge-statisk-data-forvalter/config.yml b/apps/testnorge-statisk-data-forvalter/config.yml index 98b2af5be19..e8b3ff4e1f9 100644 --- a/apps/testnorge-statisk-data-forvalter/config.yml +++ b/apps/testnorge-statisk-data-forvalter/config.yml @@ -23,9 +23,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/tilbakemelding-api/config.yml b/apps/tilbakemelding-api/config.yml index 7de60913210..0fda09c091e 100644 --- a/apps/tilbakemelding-api/config.yml +++ b/apps/tilbakemelding-api/config.yml @@ -40,9 +40,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/tps-messaging-service/config.yml b/apps/tps-messaging-service/config.yml index a64996f5f77..f117c3582a3 100644 --- a/apps/tps-messaging-service/config.yml +++ b/apps/tps-messaging-service/config.yml @@ -28,9 +28,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/udi-stub/config.yml b/apps/udi-stub/config.yml index 3712fa340c0..ee6a3d93771 100644 --- a/apps/udi-stub/config.yml +++ b/apps/udi-stub/config.yml @@ -37,9 +37,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 30 diff --git a/apps/varslinger-service/config.test.yml b/apps/varslinger-service/config.test.yml index d510d811f2d..41aa126c75c 100644 --- a/apps/varslinger-service/config.test.yml +++ b/apps/varslinger-service/config.test.yml @@ -38,9 +38,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/apps/varslinger-service/config.yml b/apps/varslinger-service/config.yml index 4ea1574ab3a..fb6738eaef6 100644 --- a/apps/varslinger-service/config.yml +++ b/apps/varslinger-service/config.yml @@ -39,9 +39,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/aareg-synt-services-proxy/config.yml b/proxies/aareg-synt-services-proxy/config.yml index 4ceb2c2357c..2f5e8ea397a 100644 --- a/proxies/aareg-synt-services-proxy/config.yml +++ b/proxies/aareg-synt-services-proxy/config.yml @@ -32,9 +32,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/arbeidsplassencv-proxy/config.yml b/proxies/arbeidsplassencv-proxy/config.yml index 52ca7e63a90..1582a0f67ae 100644 --- a/proxies/arbeidsplassencv-proxy/config.yml +++ b/proxies/arbeidsplassencv-proxy/config.yml @@ -40,9 +40,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/arena-forvalteren-proxy/config.yml b/proxies/arena-forvalteren-proxy/config.yml index 98ed138c0fe..8bcc69d1467 100644 --- a/proxies/arena-forvalteren-proxy/config.yml +++ b/proxies/arena-forvalteren-proxy/config.yml @@ -44,9 +44,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/batch-adeo-proxy/config.yml b/proxies/batch-adeo-proxy/config.yml index 75224553b08..722e5ac297e 100644 --- a/proxies/batch-adeo-proxy/config.yml +++ b/proxies/batch-adeo-proxy/config.yml @@ -46,9 +46,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/brregstub-proxy/config.yml b/proxies/brregstub-proxy/config.yml index 0d24735cab3..fbaf89bb4ac 100644 --- a/proxies/brregstub-proxy/config.yml +++ b/proxies/brregstub-proxy/config.yml @@ -42,9 +42,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/dokarkiv-proxy/config.yml b/proxies/dokarkiv-proxy/config.yml index bc94ba01091..afcd9df1190 100644 --- a/proxies/dokarkiv-proxy/config.yml +++ b/proxies/dokarkiv-proxy/config.yml @@ -60,9 +60,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/ereg-proxy/config.yml b/proxies/ereg-proxy/config.yml index 4111dcbb010..62a3f823f60 100644 --- a/proxies/ereg-proxy/config.yml +++ b/proxies/ereg-proxy/config.yml @@ -36,9 +36,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/histark-proxy/config.yml b/proxies/histark-proxy/config.yml index 121ec75009e..6acaba2496b 100644 --- a/proxies/histark-proxy/config.yml +++ b/proxies/histark-proxy/config.yml @@ -43,9 +43,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/inntektstub-proxy/config.yml b/proxies/inntektstub-proxy/config.yml index 67794063ab6..d50397e3369 100644 --- a/proxies/inntektstub-proxy/config.yml +++ b/proxies/inntektstub-proxy/config.yml @@ -44,9 +44,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/inst-proxy/config.yml b/proxies/inst-proxy/config.yml index 21c19d47076..ca1a74fda48 100644 --- a/proxies/inst-proxy/config.yml +++ b/proxies/inst-proxy/config.yml @@ -59,9 +59,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/kontoregister-person-proxy/config.yml b/proxies/kontoregister-person-proxy/config.yml index f39be5da4f8..0f6f82b3e23 100644 --- a/proxies/kontoregister-person-proxy/config.yml +++ b/proxies/kontoregister-person-proxy/config.yml @@ -55,9 +55,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/krrstub-proxy/config.yml b/proxies/krrstub-proxy/config.yml index d3d1466b3b7..29080efbeba 100644 --- a/proxies/krrstub-proxy/config.yml +++ b/proxies/krrstub-proxy/config.yml @@ -55,9 +55,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/medl-proxy/config.yml b/proxies/medl-proxy/config.yml index cf5163917eb..2ab1dd48fa0 100644 --- a/proxies/medl-proxy/config.yml +++ b/proxies/medl-proxy/config.yml @@ -58,9 +58,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/modapp-ereg-proxy/config.yml b/proxies/modapp-ereg-proxy/config.yml index b03689c1495..08e1a2d8f22 100644 --- a/proxies/modapp-ereg-proxy/config.yml +++ b/proxies/modapp-ereg-proxy/config.yml @@ -47,9 +47,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/norg2-proxy/config.yml b/proxies/norg2-proxy/config.yml index 018707abd4f..4ac00671cab 100644 --- a/proxies/norg2-proxy/config.yml +++ b/proxies/norg2-proxy/config.yml @@ -42,9 +42,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/pdl-proxy/config.yml b/proxies/pdl-proxy/config.yml index 86bc932345a..e673f81c37f 100644 --- a/proxies/pdl-proxy/config.yml +++ b/proxies/pdl-proxy/config.yml @@ -74,9 +74,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/pensjon-testdata-facade-proxy/config.yml b/proxies/pensjon-testdata-facade-proxy/config.yml index 4445e181c00..d4b82f58e4c 100644 --- a/proxies/pensjon-testdata-facade-proxy/config.yml +++ b/proxies/pensjon-testdata-facade-proxy/config.yml @@ -68,9 +68,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/saf-proxy/config.yml b/proxies/saf-proxy/config.yml index ec21ada9c4d..f03c9e6de7a 100644 --- a/proxies/saf-proxy/config.yml +++ b/proxies/saf-proxy/config.yml @@ -53,9 +53,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/sigrunstub-proxy/config.yml b/proxies/sigrunstub-proxy/config.yml index 9d3081f4fac..6d4def7fd39 100644 --- a/proxies/sigrunstub-proxy/config.yml +++ b/proxies/sigrunstub-proxy/config.yml @@ -42,9 +42,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/skjermingsregister-proxy/config.yml b/proxies/skjermingsregister-proxy/config.yml index 5f15905507d..4535491da09 100644 --- a/proxies/skjermingsregister-proxy/config.yml +++ b/proxies/skjermingsregister-proxy/config.yml @@ -59,9 +59,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/synthdata-meldekort-proxy/config.yml b/proxies/synthdata-meldekort-proxy/config.yml index bccac00adc3..5d6498ba0b8 100644 --- a/proxies/synthdata-meldekort-proxy/config.yml +++ b/proxies/synthdata-meldekort-proxy/config.yml @@ -61,9 +61,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4 diff --git a/proxies/udistub-proxy/config.yml b/proxies/udistub-proxy/config.yml index 154bb1f7b7a..a300be22918 100644 --- a/proxies/udistub-proxy/config.yml +++ b/proxies/udistub-proxy/config.yml @@ -42,9 +42,9 @@ spec: logging: destinations: - id: elastic - autoInstrumentation: - enabled: true - runtime: java + autoInstrumentation: + enabled: true + runtime: java readiness: path: /internal/isReady initialDelay: 4