Skip to content

Commit

Permalink
F - Endrer bruk av env variabler fra env til NAMESPACE
Browse files Browse the repository at this point in the history
  • Loading branch information
dskarpas committed Sep 5, 2024
1 parent 92c5613 commit 0790c4f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/application-integrationtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -30,7 +31,6 @@ kafka:

security.protocol: SSL

namespace: 'test'

GCP_STORAGE_API_URL: "http://some.strange.place"
GCP_BUCKET_NAME: 'dummyBucket'
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/application-test.yml
Original file line number Diff line number Diff line change
@@ -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'
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0790c4f

Please sign in to comment.