Skip to content

Commit

Permalink
refinement for v1.2.0, add provenance docker README
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas loubrieu committed Apr 13, 2023
1 parent 2a787ff commit 5935a05
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/stable-cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ jobs:
name: 🫙 Jar and Tag Determination
id: jartag
run: |
echo "jar_file=$(ls ./service/target/*.jar)" >> $GITHUB_OUTPUT
echo "image_tag=$(echo ${{github.ref}} | awk -F/ '{print $NF}')" >> $GITHUB_OUTPUT
echo "::set-output name=jar_file::$(ls ./service/target/*.jar)"
echo "::set-output name=image_tag::$(echo ${{github.ref}} | awk -F/ '{print $NF}')"
-
name: 💳 Docker Hub Identification
uses: docker/login-action@v2
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Follow instructions in README.txt in the decompressed folder

To build and run the application you need:

- jdk 11
- jdk 17
- maven

Additionally, harvested data will only be picked up correctly by the API if all of the following are true:
Expand Down
2 changes: 1 addition & 1 deletion model/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.0
info:
description: |
Registry API enabling advanced search on PDS data and metadata. The API provides end-points to search for bundles, collections and any PDS products with advanced search queries. It also enables to browse the archive hierarchically downward (e.g. collection/s products) or upward (e.g. bundles containing a product).
version: 1.1.0
version: 1.2.0
title: PDS Registry Search API
termsOfService: 'http://pds.nasa.gov'
contact:
Expand Down
17 changes: 17 additions & 0 deletions support/provenance/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@


Build the docker image:

docker build -t nasapds/registry-sweepers .

Push it to docker hub (for integration tests):

docker push nasapds/registry-sweepers

Run it:

docker run -e PROV_ENDPOINT='https://elasticsearch:9200/' -e PROV_CREDENTIALS='{"admin": "admin"}' nasapds/registry-sweepers

With:
- PROV_ENDPOINT: the URL to the OpenSearch web server
- PROV_CREDENTIALS: the credentials for the OpenSearch connection as a JSO string, for example `{"username1": "secret_password"}`

0 comments on commit 5935a05

Please sign in to comment.