From 1edf71a31f9db49fe4ef28e9cadf86f3751708fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Skarp=C3=A5s?= Date: Mon, 3 Jun 2024 10:17:42 +0200 Subject: [PATCH] e - Integrasjons-config fil --- .../resources/application-integrationtest.yml | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 src/test/resources/application-integrationtest.yml diff --git a/src/test/resources/application-integrationtest.yml b/src/test/resources/application-integrationtest.yml new file mode 100644 index 00000000..0159f3aa --- /dev/null +++ b/src/test/resources/application-integrationtest.yml @@ -0,0 +1,65 @@ +SPRING_PROFILES_ACTIVE: "integrationtest" +KAFKA_SEDSENDT_TOPIC: 'eessi-basis-sedSendt-v1' +KAFKA_SEDMOTTATT_TOPIC: 'eessi-basis-sedMottatt-v1' +KAFKA_OPPGAVE_TOPIC: 'eessi-pensjon-oppgave-v1' +KAFKA_KRAVINIT_TOPIC: 'eessi-pensjon-krav-q' +KAFKA_AUTOMATISERING_TOPIC: 'eessi-pensjon-auto' +AZURE_OPENID_CONFIG_TOKEN_ENDPOINT: "dummy" +AZURE_APP_JWK: "dummy" + +kafka: + sedSendt: + topic: ${KAFKA_SEDSENDT_TOPIC} + groupid: eessi-pensjon-group + sedMottatt: + topic: ${KAFKA_SEDMOTTATT_TOPIC} + groupid: eessi-pensjon-group + oppgave: + topic: ${KAFKA_OPPGAVE_TOPIC} + groupid: eessi-pensjon-group + krav: + topic: ${KAFKA_KRAVINIT_TOPIC} + groupid: eessi-pensjon-group + automatisering: + topic: ${KAFKA_AUTOMATISERING_TOPIC} + groupid: eessi-pensjon-group + + security.protocol: SSL + +namespace: 'test' + +GCP_STORAGE_API_URL: "http://some.strange.place" +GCP_BUCKET_NAME: 'dummyBucket' + +securityTokenService: + discoveryUrl: http://localhost:${mockServerport}/.well-known/openid-configuration + +NAIS_APP_NAME: eessi-pensjon-journalforing + +EUX_RINA_API_V1_URL: http://localhost:${mockServerport} +NAVANSATT_URL: http://localhost:${mockServerport} +PDL_URL: http://localhost:${mockServerport} +securitytokenservice.url: http://someurl +srvusername: someuser +srvpassword: somepass +oppgave.oppgaver.url: http://localhost:${mockServerport} +JOURNALPOST_V1_URL: http://localhost:${mockServerport} +aktoerregister.api.v1.url: http://localhost:${mockServerport} +virksomhet.person.v3: + endpointurl: http://localhost:${mockServerport} +EESSI_PENSJON_FAGMODUL_URL: http://localhost:${mockServerport} +NORG2_URL: http://localhost:${mockServerport} +BestemSak_URL: http://localhost:${mockServerport} + +spring: + kafka: + listener: + ack-mode: manual + consumer: + enable-auto-commit: false + auto-offset-reset: earliest + bootstrap-servers: ${spring.embedded.kafka.brokers} + properties: + security.protocol: PLAINTEXT + main: + allow-bean-definition-overriding: true \ No newline at end of file