Skip to content

Commit

Permalink
[SELC-4422] feat: Removed event hub key for pnpg and deleted locals.t…
Browse files Browse the repository at this point in the history
…f and data.tf files
  • Loading branch information
pierpaolodidato89 authored Mar 4, 2024
1 parent a410234 commit 7f10c33
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 37 deletions.
2 changes: 1 addition & 1 deletion apps/user-ms/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ quarkus.http.port=8080
quarkus.http.auth.proactive=false
mp.jwt.verify.publickey=${JWT-PUBLIC-KEY}
mp.jwt.verify.issuer=SPID
smallrye.jwt.verify.key-format=JWK_BASE64URL
#smallrye.jwt.verify.key-format=JWK_BASE64URL

smallrye.jwt.claims.groups=USER
smallrye.jwt.path.sub=name
Expand Down
14 changes: 0 additions & 14 deletions infra/container_apps/user-ms/data.tf

This file was deleted.

13 changes: 0 additions & 13 deletions infra/container_apps/user-ms/env/dev-pnpg/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,6 @@ app_settings = [
{
name = "USER_REGISTRY_URL"
value = "https://api.uat.pdv.pagopa.it/user-registry/v1"
},
{
name = "KAFKA_BROKER"
value = "selc-d-eventhub-ns.servicebus.windows.net:9093"
},
{
name = "KAFKA_USER_TOPIC"
value = "sc-users"
},
{
name = "KAFKA_SASL_MECHANISM"
value = "PLAIN"
}
]

Expand All @@ -43,7 +31,6 @@ secrets_names = [
"user-registry-api-key",
"aws-ses-access-key-id",
"aws-ses-secret-access-key",
"eventhub-sc-users-selfcare-wo-connection-string-lc",
"blob-storage-product-connection-string",
"blob-storage-contract-connection-string"
]
Expand Down
6 changes: 4 additions & 2 deletions infra/container_apps/user-ms/env/uat-pnpg/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ container_app = {
}

app_settings = [

{
name = "USER_REGISTRY_URL"
value = "https://api.uat.pdv.pagopa.it/user-registry/v1"
}
]

secrets_names = [
Expand All @@ -28,7 +31,6 @@ secrets_names = [
"user-registry-api-key",
"aws-ses-access-key-id",
"aws-ses-secret-access-key",
"eventhub-sc-users-selfcare-wo-connection-string-lc",
"blob-storage-product-connection-string",
"blob-storage-contract-connection-string"
]
Expand Down
16 changes: 16 additions & 0 deletions infra/container_apps/user-ms/env/uat/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,22 @@ app_settings = [
{
name = "USER-CDC-MONGODB-WATCH-ENABLED"
value = "false"
},
{
name = "USER_REGISTRY_URL"
value = "https://api.uat.pdv.pagopa.it/user-registry/v1"
},
{
name = "KAFKA_BROKER"
value = "selc-u-eventhub-ns.servicebus.windows.net:9093"
},
{
name = "KAFKA_USER_TOPIC"
value = "sc-users"
},
{
name = "KAFKA_SASL_MECHANISM"
value = "PLAIN"
}
]

Expand Down
7 changes: 0 additions & 7 deletions infra/container_apps/user-ms/locals.tf

This file was deleted.

0 comments on commit 7f10c33

Please sign in to comment.