Skip to content

Commit

Permalink
Merge pull request #55 from aodn/features/5262-missing-paramter
Browse files Browse the repository at this point in the history
Change param
  • Loading branch information
utas-raymondng authored Mar 4, 2024
2 parents 1f57022 + 06fb74c commit 1e5b8c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM amazoncorretto:17

# Need to take node on the X-APi-KEY environment varibale
WORKDIR /app

COPY ./target/es-indexer-*.jar /app/app.jar
Expand Down
5 changes: 0 additions & 5 deletions src/main/resources/application-dev.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# Client calling the Indexer API must provide this token in the Authorization header
app:
http:
authToken: sample-auth-token

server:
port: 8081

Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ server:
port: 8080
error:
include-stacktrace: never

# Client calling the Indexer API must provide this token in the Authorization header
app:
http:
auth-token-header-name: X-API-Key
authToken: ${INDEXER_APIKEY:sample-auth-token}

management:
health:
Expand Down

0 comments on commit 1e5b8c6

Please sign in to comment.