From d866ce95062364f369d8d7e2957dc01560f434da Mon Sep 17 00:00:00 2001
From: Brandon Clayton <bclayton@usgs.gov>
Date: Thu, 4 Nov 2021 08:24:10 -0600
Subject: [PATCH 1/2] Enable access logger

---
 src/main/resources/application.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 5be042a97..08e17650b 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -9,13 +9,18 @@ micronaut:
         enabled: true
         paths: classpath:swagger
         mapping: /**
+  server:
+    netty:
+      access-logger:
+        enabled: true
+        logger-name: http
 
 nshmp-haz:
   ##
   # The basin service url
   # To specify the url to use:
   #     java -jar build/libs/nshmp-haz.jar --basin-service-url=
-  basin-service-url: ${basin-service-url:https://staging-earthquake.usgs.gov/nshmp/ws/data/basin}
+  basin-service-url: ${basin-service-url:https://earthquake.usgs.gov/ws/nshmp/data/basin}
 
   ##
   # The path to the models.
-- 
GitLab


From 688a7df53661ba0698bf12a75ec49d72c0a0e844 Mon Sep 17 00:00:00 2001
From: Brandon Clayton <bclayton@usgs.gov>
Date: Thu, 4 Nov 2021 08:44:38 -0600
Subject: [PATCH 2/2] update basin url

---
 ws.Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ws.Dockerfile b/ws.Dockerfile
index e19925ebf..542c51e67 100644
--- a/ws.Dockerfile
+++ b/ws.Dockerfile
@@ -42,7 +42,7 @@ FROM ${FROM_IMAGE}
 LABEL maintainer="Peter Powers <pmpowers@usgs.gov>, Brandon Clayton <bclayton@usgs.gov>"
 
 ENV CONTEXT_PATH="/"
-ENV BASIN_SERVICE_URL="https://earthquake.usgs.gov/nshmp/ws/data/basin"
+ENV BASIN_SERVICE_URL="https://earthquake.usgs.gov/ws/nshmp/data/basin"
 ENV JAVA_OPTS="-Xms2g -Xmx8g"
 ENV MODELS_DIRECTORY="/models"
 
-- 
GitLab