Skip to content

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
mdemare committed Sep 9, 2024
1 parent 7b77ea2 commit 0ba10da
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nvd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

# store as today's cache
key: "nvd-clojure-${{ steps.date.outputs.date }}"
# if today's cache does not yet exist, fetch from whatever iss
# if today's cache does not yet exist, fetch from whatever is
# the most recent cache for nvd-clojure
# and update that
restore-keys: "nvd-clojure-"
Expand Down
9 changes: 1 addition & 8 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,9 @@
# SPDX-License-Identifier: Apache-2.0

services:
#
# Prometheus will be scraping metrics.
#
# Goto http://localhost:9090/ to view the prometheus dashboard.
#
validator-service:
build: .
ports:
- "3002:3000"
- "3002:3002"
env_file:
- .envrc # read environment from local direnv settings
volumes:
- ./shared:/shared # writeable directory where gateway.config.yml is kept
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ GATEWAY_BASIC_AUTH_PASS=PASS
make
java -jar target/eduhub-validator-service.jar
# To test:
curl -v 'http://localhost:3000/endpoints/demo04.test.surfeduhub.nl/config'
curl -v 'http://localhost:3002/endpoints/demo04.test.surfeduhub.nl/config'
```


Expand Down
2 changes: 1 addition & 1 deletion src/nl/surf/eduhub/validator/service/main.clj
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@
(run-jetty (-> app-routes
(wrap-validator config)
(wrap-defaults api-defaults)
wrap-json-response) {:port 3000})))
wrap-json-response) {:port 3002})))

0 comments on commit 0ba10da

Please sign in to comment.