diff --git a/src/main/kotlin/no/nav/eessi/pensjon/journalforing/JournalforingService.kt b/src/main/kotlin/no/nav/eessi/pensjon/journalforing/JournalforingService.kt index 3dbedb23..182f43d4 100644 --- a/src/main/kotlin/no/nav/eessi/pensjon/journalforing/JournalforingService.kt +++ b/src/main/kotlin/no/nav/eessi/pensjon/journalforing/JournalforingService.kt @@ -56,7 +56,7 @@ class JournalforingService( private val statistikkPublisher: StatistikkPublisher, private val vurderBrukerInfo: VurderBrukerInfo, @Autowired(required = false) private val metricsHelper: MetricsHelper = MetricsHelper.ForTest(), - @Value("\${NAMESPACE}") private val env : String?, + @Value("\${NAMESPACE}") private val env : String? ) { private val logger = LoggerFactory.getLogger(JournalforingService::class.java) diff --git a/src/test/resources/application-integrationtest.yml b/src/test/resources/application-integrationtest.yml index f5d80b72..0ceb23e4 100644 --- a/src/test/resources/application-integrationtest.yml +++ b/src/test/resources/application-integrationtest.yml @@ -8,6 +8,7 @@ KAFKA_AUTOMATISERING_TOPIC: 'eessi-pensjon-auto' AZURE_OPENID_CONFIG_TOKEN_ENDPOINT: "dummy" AZURE_APP_JWK: "dummy" ENV: q2 +NAMESPACE: test kafka: sedSendt: topic: ${KAFKA_SEDSENDT_TOPIC} @@ -30,7 +31,6 @@ kafka: security.protocol: SSL -namespace: 'test' GCP_STORAGE_API_URL: "http://some.strange.place" GCP_BUCKET_NAME: 'dummyBucket' diff --git a/src/test/resources/application-test.yml b/src/test/resources/application-test.yml index c6f5c74c..432f094a 100644 --- a/src/test/resources/application-test.yml +++ b/src/test/resources/application-test.yml @@ -1,6 +1,7 @@ SPRING_PROFILES_ACTIVE: test ENV: test +NAMESPACE: test KAFKA_SEDSENDT_TOPIC: 'eessi-basis-sedSendt-v1' KAFKA_SEDMOTTATT_TOPIC: 'eessi-basis-sedMottatt-v1' KAFKA_OPPGAVE_TOPIC: 'eessi-pensjon-oppgave-v1' @@ -39,7 +40,6 @@ kafka: security.protocol: SSL -namespace: 'test' METRICS_REQUESTFILTER_ENABLE: false NAIS_APP_NAME: eessi-pensjon-journalforing SAF_GRAPHQL_URL: http://localhost