Skip to content

Working copy for pdssp/crs-service contributions

License

Notifications You must be signed in to change notification settings

Geomatys/crs-service

 
 

Repository files navigation

CRS Service

Requirements

  • JDK 21

  • Optional Gradle 8.10.2 if you rather use gradle command instead of the ./gradlew wrapper command (that downloads Gradle for you)

Usage

The following command compiles and launch the webservice locally on port 8080:

./gradlew bootRun

To start on another port, do:

./gradlew bootRun --args="--server.port=8081"

To use IAU definitions directly from Planetary CRS registry Github repository, use the following command:

./gradlew bootRun --args="--geomatys.iau.factory.wkt.file=https://raw.githubusercontent.com/pdssp/planet_crs_registry/refs/heads/main/data/result.wkts"

To compile the project without launching the service:

./gradlew build

Documentation

Project technical documentation is available here.

Contribute

CRS Operation REST API

The service offers a /crs/operation GET and POST endpoint to query a CRS Operation source code.

The service responsible for this operation is CRSOperationService interface. To customize behavior, replace or modify the only implementation of this interface.

Integration tests

To make tests that simulate the web service, inherit the AbstractIntegrationTest class. It provides a web client (through createClient() method) that you can use to simulate HTTP requests to the server.

About

Working copy for pdssp/crs-service contributions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.2%
  • Dockerfile 0.8%