Spring Boot web service for avgbs2mtab. | Read-only mirror of https://github.com/sogis/avgbs2mtab-web-service — Kanton Solothurn. Issues & pull requests at the source.
  • Java 99.2%
  • HTML 0.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2022-07-13 13:30:52 +02:00
.github/workflows enable native docker image build 2022-06-28 16:58:39 +02:00
gradle try docker build 2022-06-28 15:02:15 +02:00
library update libs etc 2022-06-28 13:32:10 +02:00
web-service add forwardedheaderfilter 2022-07-13 13:30:52 +02:00
.gitignore fix version.txt 2019-02-04 11:54:45 +01:00
.sdkmanrc change port / remove app context / adjust dockerfiles 2022-06-29 06:45:51 +02:00
build.gradle change versioning mechanism / bump spring boot version 2019-02-02 17:01:56 +01:00
gradlew update gradle wrapper 2019-02-28 17:03:09 +01:00
gradlew.bat update gradle wrapper 2019-02-28 17:03:09 +01:00
Jenkinsfile add Jenkinsfile 2019-02-02 17:13:10 +01:00
LICENSE Initial commit 2017-08-22 19:41:04 +02:00
README.md update libs etc 2022-06-28 13:32:10 +02:00
settings.gradle update libs etc 2022-06-28 13:32:10 +02:00

CI/CD

avgbs2mtab-web-service

Spring Boot web service that converts parcel area and ownership mutation data (GB2AV INTERLIS model aka "Kleine Schnittstelle" aka AVGBS) to visual crosstables (Excel file).

License

avgbs2mtab web service is licensed under the MIT License.

Status

avgbs2mtab web service is in production state.

System Requirements

For the current version of avgbs2mtab web service, you will need a JRE (Java Runtime Environment) installed on your system, version 1.8 or later.

Developing

avgbs2mtab web service is build as a Spring Boot Application.

git clone https://github.com/edigonzales/avgbs2mtab-web-service.git

Use your favorite IDE (e.g. Spring Tool Suite) for coding.

Testing

./gradlew clean test will run all tests: unit tests in the library and functional tests in the web service.

Building

JVM

./gradlew clean build

Native

./gradlew clean build

java -DspringAot=true -agentlib:native-image-agent=config-output-dir=web-service/src/main/resources/META-INF/native-image -jar web-service/build/libs/web-service-1.1.LOCALBUILD-exec.jar

./gradlew clean aotTest nativeCompile -i

Run


Es ist keine Anwendungs-Konfiguration vorzunehmen, d.h. keine umgebungsspezifische Properties-Dateien oder ENV-Variablen.

Release management / versioning

It uses a simple release management and versioning mechanism: Local builds are tagged as 1.0.LOCALBUILD. Builds on Github Action will append the build number, e.g. 1.0.48. Major version will be increased after "major" changes. After every commit to the repository a docker image will be build and pushed to hub.docker.com. It will be tagged as latest and with the build number (1.0.48).

TODO

  • Test docker image.