Skip to content

Commit

Permalink
set and use correct env var
Browse files Browse the repository at this point in the history
  • Loading branch information
agnesgaroux committed May 2, 2024
1 parent 26e0c70 commit f2bb205
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion items/src/main/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ aws.metrics.namespace=${?metrics_namespace}
sierra.api.key=${?sierra_api_key}
sierra.api.secret=${?sierra_api_secret}
sierra.api.baseUrl=${?sierra_base_url}
content.api.baseUrl=${?content_api_base_url}
3 changes: 1 addition & 2 deletions terraform/modules/stack/services.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ locals {
locals {
catalogue_api_public_root = "https://${var.external_hostname}/catalogue/v2"
content_api_public_root = "https://${var.external_hostname}/content/v0"

}

module "search_api" {
Expand Down Expand Up @@ -68,9 +67,9 @@ module "items_api" {
app_base_url = "https://${var.external_hostname}/stacks/v1/items"
catalogue_base_url = "https://${var.external_hostname}/catalogue/v2"
sierra_base_url = "https://libsys.wellcomelibrary.org/iii/sierra-api"
content_api_base_url = "https://${var.external_hostname}/content/v0"

catalogue_api_public_root = local.catalogue_api_public_root
content_api_public_root = local.content_api_public_root

api_host = var.external_hostname
apm_service_name = "items-api"
Expand Down

0 comments on commit f2bb205

Please sign in to comment.