From 61f4e2ca9b3d21d8bb00011543faf57077c17327 Mon Sep 17 00:00:00 2001 From: utas-raymondng Date: Fri, 15 Mar 2024 10:48:38 +1100 Subject: [PATCH] Update README.md --- Dockerfile | 2 +- README.md | 20 ++++++++++---------- geonetwork/pom.xml | 2 +- indexer/pom.xml | 2 +- stacmodel/pom.xml | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index 46e418ce..3e2e7e66 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,4 +6,4 @@ COPY ./indexer/target/indexer-*.jar /app/app.jar ENV PROFILE='default' EXPOSE 8080 -ENTRYPOINT exec java ${JAVA_OPTS} -jar app.jar \ No newline at end of file +ENTRYPOINT exec java ${JAVA_OPTS} -jar app.jar diff --git a/README.md b/README.md index df6bda2a..28381745 100644 --- a/README.md +++ b/README.md @@ -31,8 +31,8 @@ GEONETWORK_HOST=http://localhost:8080 ### Maven build ```console -mvn clean install -or +mvn clean install +or mvn clean install [-DskipTests] # If you do not use skipTest, then autotest will run where it will create a docker geonetwork instance, inject the @@ -41,7 +41,8 @@ sample data and then run the indexer. You can treat this as kind of integration This project container 3 submodules: * geonetwork - This is used to compile JAXB lib to handle XML return from GEONetowrk, it is iso19115 standard -* stacmodel - A group of java class that create the STAC json which store in elastic search, so if app needs to read STAC from elastic, use this lib +* stacmodel - A group of java class that create the STAC json which store in elastic search, so if app needs to read +STAC from elastic, use this lib * indexer - The main app that do the transformation. ### Docker @@ -54,10 +55,9 @@ docker-compose -f docker-compose-dev.yaml up [-d: in daemon mode | --build: to s ### Endpoints: -| Description | Endpoints | -|-----------------------------------------|----------------------------------------| -| Health check | `/actuator/health` | -| POST/GET/DELETE against specific record | `/api/v1/indexer/index/{records-uuid}` | -| Bulk index | `/api/v1/indexer/index/all` | -| Swagger UI: | `/swagger-ui/index.html` | - +| Description | Endpoints | +|-------------|-------| +| Health check | `/actuator/health` | +| POST/GET/DELETE against specific record | `/api/v1/indexer/index/{records-uuid}`| +| Bulk index | `/api/v1/indexer/index/all`| +| Swagger UI: | `/swagger-ui/index.html`| diff --git a/geonetwork/pom.xml b/geonetwork/pom.xml index c23ca9e1..52f6c52a 100644 --- a/geonetwork/pom.xml +++ b/geonetwork/pom.xml @@ -75,4 +75,4 @@ - \ No newline at end of file + diff --git a/indexer/pom.xml b/indexer/pom.xml index 1b8a6569..defeeac9 100644 --- a/indexer/pom.xml +++ b/indexer/pom.xml @@ -232,4 +232,4 @@ - \ No newline at end of file + diff --git a/stacmodel/pom.xml b/stacmodel/pom.xml index 2be07de4..078f8682 100644 --- a/stacmodel/pom.xml +++ b/stacmodel/pom.xml @@ -48,4 +48,4 @@ - \ No newline at end of file +