Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
utas-raymondng committed Mar 14, 2024
1 parent 40ecc8b commit 61f4e2c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
ENTRYPOINT exec java ${JAVA_OPTS} -jar app.jar
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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`|
2 changes: 1 addition & 1 deletion geonetwork/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@
</plugins>
</build>

</project>
</project>
2 changes: 1 addition & 1 deletion indexer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -232,4 +232,4 @@
</plugins>
</build>

</project>
</project>
2 changes: 1 addition & 1 deletion stacmodel/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@
</plugin>
</plugins>
</build>
</project>
</project>

0 comments on commit 61f4e2c

Please sign in to comment.