Browse Source

Updated directory structure

master
Jim Martens 9 months ago
parent
commit
ef60abc4f9
26 changed files with 44 additions and 61 deletions
  1. +3
    -20
      README.md
  2. +1
    -1
      gradle.properties
  3. +0
    -0
      oparl-server/oparl-server.gradle
  4. +5
    -5
      oparl-server/src/integration-test/java/de/twomartens/oparlservice/OParlServiceRestTests.java
  5. +5
    -5
      oparl-server/src/main/java/de/twomartens/oparlservice/OParlServiceApplication.java
  6. +3
    -3
      oparl-server/src/main/java/de/twomartens/oparlservice/actuator/AbstractHealthCheck.java
  7. +4
    -4
      oparl-server/src/main/java/de/twomartens/oparlservice/actuator/RestHealthCheck.java
  8. +3
    -3
      oparl-server/src/main/java/de/twomartens/oparlservice/configs/OParlServiceProperties.java
  9. +3
    -3
      oparl-server/src/main/java/de/twomartens/oparlservice/configs/WebConfig.java
  10. +3
    -3
      oparl-server/src/main/java/de/twomartens/oparlservice/control/GreetingController.java
  11. +1
    -1
      oparl-server/src/main/java/de/twomartens/oparlservice/entity/Greeting.java
  12. +1
    -1
      oparl-server/src/main/java/de/twomartens/oparlservice/interceptors/RequestTypeInterceptor.java
  13. +1
    -1
      oparl-server/src/main/java/de/twomartens/oparlservice/interceptors/TraceIdInterceptor.java
  14. +4
    -4
      oparl-server/src/main/java/de/twomartens/oparlservice/service/GreetingService.java
  15. BIN
      oparl-server/src/main/resources/application-prod.yaml
  16. BIN
      oparl-server/src/main/resources/application-qs.yaml
  17. BIN
      oparl-server/src/main/resources/application-test.yaml
  18. BIN
      oparl-server/src/main/resources/application.yaml
  19. +0
    -0
      oparl-server/src/main/resources/log4j2.xml
  20. +2
    -2
      oparl-server/src/test/java/de/twomartens/oparlservice/control/GreetingControllerTests.java
  21. +4
    -4
      oparl-server/src/test/java/de/twomartens/oparlservice/service/GreetingServiceTest.java
  22. +1
    -1
      settings.gradle
  23. BIN
      template-server/src/main/resources/application-prod.yaml
  24. BIN
      template-server/src/main/resources/application-qs.yaml
  25. BIN
      template-server/src/main/resources/application-test.yaml
  26. BIN
      template-server/src/main/resources/application.yaml

+ 3
- 20
README.md View File

@ -1,28 +1,11 @@
# Instructions for using the template
## Introduction
This template is based upon best practices and uses Spring Boot to implement
REST APIs.
## Steps
* clone the project and create a new repository
* replace all occurences of 'template' with your service name, 'Template' accordingly (mind the cases)
* import the project in your IDE
* run initial `gradlew build`
**============ // todo: Ab hier die Doku überprüfen und ggf. ergänzen ==========**
# Template
**// todo: Hier sollte das Projekt etwas beschrieben werden**
# OParl Service
## Git
The repository of ... is located under https://git.2martens.de/2martens/template-service.git
The repository of the OParl service is located under https://git.2martens.de/2martens/oparl-service.git
It is partially encrypted with git-crypt and has to be decrypted first:
```bash
git-crypt unlock %USERPROFILE%/.git-crypt-key
git-crypt unlock %USERPROFILE%/.my-git-crypt-key
```

+ 1
- 1
gradle.properties View File

@ -1,4 +1,4 @@
projectname=template-service
projectname=oparl-service
projectgroup=de.twomartens
projectSourceCompatibility=11
org.gradle.daemon=true


template-server/template-server.gradle → oparl-server/oparl-server.gradle View File


template-server/src/integration-test/java/de/twomartens/templateservice/TemplateServiceRestTests.java → oparl-server/src/integration-test/java/de/twomartens/oparlservice/OParlServiceRestTests.java View File


template-server/src/main/java/de/twomartens/templateservice/TemplateServiceApplication.java → oparl-server/src/main/java/de/twomartens/oparlservice/OParlServiceApplication.java View File


template-server/src/main/java/de/twomartens/templateservice/actuator/AbstractHealthCheck.java → oparl-server/src/main/java/de/twomartens/oparlservice/actuator/AbstractHealthCheck.java View File


template-server/src/main/java/de/twomartens/templateservice/actuator/RestHealthCheck.java → oparl-server/src/main/java/de/twomartens/oparlservice/actuator/RestHealthCheck.java View File


template-server/src/main/java/de/twomartens/templateservice/configs/TemplateServiceProperties.java → oparl-server/src/main/java/de/twomartens/oparlservice/configs/OParlServiceProperties.java View File


template-server/src/main/java/de/twomartens/templateservice/configs/WebConfig.java → oparl-server/src/main/java/de/twomartens/oparlservice/configs/WebConfig.java View File


template-server/src/main/java/de/twomartens/templateservice/control/GreetingController.java → oparl-server/src/main/java/de/twomartens/oparlservice/control/GreetingController.java View File


template-server/src/main/java/de/twomartens/templateservice/entity/Greeting.java → oparl-server/src/main/java/de/twomartens/oparlservice/entity/Greeting.java View File


template-server/src/main/java/de/twomartens/templateservice/interceptors/RequestTypeInterceptor.java → oparl-server/src/main/java/de/twomartens/oparlservice/interceptors/RequestTypeInterceptor.java View File


template-server/src/main/java/de/twomartens/templateservice/interceptors/TraceIdInterceptor.java → oparl-server/src/main/java/de/twomartens/oparlservice/interceptors/TraceIdInterceptor.java View File


template-server/src/main/java/de/twomartens/templateservice/service/GreetingService.java → oparl-server/src/main/java/de/twomartens/oparlservice/service/GreetingService.java View File


BIN
oparl-server/src/main/resources/application-prod.yaml View File


BIN
oparl-server/src/main/resources/application-qs.yaml View File


BIN
oparl-server/src/main/resources/application-test.yaml View File


BIN
oparl-server/src/main/resources/application.yaml View File


template-server/src/main/resources/log4j2.xml → oparl-server/src/main/resources/log4j2.xml View File


template-server/src/test/java/de/twomartens/templateservice/control/GreetingControllerTests.java → oparl-server/src/test/java/de/twomartens/oparlservice/control/GreetingControllerTests.java View File


template-server/src/test/java/de/twomartens/templateservice/service/GreetingServiceTest.java → oparl-server/src/test/java/de/twomartens/oparlservice/service/GreetingServiceTest.java View File


+ 1
- 1
settings.gradle View File

@ -1,6 +1,6 @@
rootProject.name = projectname
include 'template-server'
include 'oparl-server'
rootProject.children.each { subproject ->
subproject.buildFileName = "${subproject.name}.gradle"


BIN
template-server/src/main/resources/application-prod.yaml View File


BIN
template-server/src/main/resources/application-qs.yaml View File


BIN
template-server/src/main/resources/application-test.yaml View File


BIN
template-server/src/main/resources/application.yaml View File


Loading…
Cancel
Save