Skip to content

Commit

Permalink
chore: swapout norg2.dev-fss-pub.nais.io to gcp url (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikAoJk authored Sep 3, 2024
1 parent 85a8241 commit 1f000f1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ src/generated

# OS specific
.DS_Store

# Kotlin
.kotlin/
2 changes: 0 additions & 2 deletions naiserator-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ spec:
value: MQLS03
- name: MQ_CHANNEL_NAME
value: Q1_SYFOSMINFOTRYGD
- name: NORG2_V1_ENDPOINT_URL
value: https://norg2.dev-fss-pub.nais.io/norg2/api/v1
- name: PDL_GRAPHQL_PATH
value: https://pdl-api.dev-fss-pub.nais.io/graphql
- name: PDL_SCOPE
Expand Down
2 changes: 0 additions & 2 deletions naiserator-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ spec:
value: MPLS03
- name: MQ_CHANNEL_NAME
value: P_SYFOSMINFOTRYGD
- name: NORG2_V1_ENDPOINT_URL
value: https://norg2.prod-fss-pub.nais.io/norg2/api/v1
- name: PDL_GRAPHQL_PATH
value: https://pdl-api.prod-fss-pub.nais.io/graphql
- name: PDL_SCOPE
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/no/nav/syfo/Environment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ data class Environment(
val naiscluster: String = getEnvVar("NAIS_CLUSTER_NAME"),
val infotrygdSporringQueue: String = getEnvVar("INFOTRYGD_SPORRING_QUEUE"),
val infotrygdOppdateringQueue: String = getEnvVar("INFOTRYGD_OPPDATERING_QUEUE"),
val norg2V1EndpointURL: String = getEnvVar("NORG2_V1_ENDPOINT_URL"),
val norg2V1EndpointURL: String = getEnvVar("NORG2_V1_ENDPOINT_URL", "http://norg2/norg2/api/v1"),
override val mqHostname: String = getEnvVar("MQ_HOST_NAME"),
override val mqPort: Int = getEnvVar("MQ_PORT").toInt(),
override val mqGatewayName: String = getEnvVar("MQ_GATEWAY_NAME"),
Expand Down

0 comments on commit 1f000f1

Please sign in to comment.