The animad backend - generated from the 'animad.barrakuda' model by the Barrakuda Web Generator available under http://krause:10001/.
- Search in all pom files for '1.0-SNAPSHOT' and replace with '1.0' (should be 10 matches)
- commented out the oracle driver dependency in the animad_administration_service pom file
- commented out service security (until it's implemented) by commenting out
@PreAuthorize
(19 matches) - commented out (until infrastructure is ready) the
@EnableEurekaClient
annotation in theMicroServiceApplication
class - security settings changed (until implemented) in application.yml:
# Security # security.oauth2.resource.userInfoUri: http://AUTHSERVICE/uaa/user # security.oauth2.resource.preferTokenInfo: false security.ignored: /**
- fix server port added to the service in application.yml:
server.port: 39146
- Copy the libraries from the folder 'mvn_repo' in your local '.m2' repository - these are not available in the maven central repository. In detail
API-Lib-1.0.jar
andAPI-Lib-1.0.pom
:mvn install:install-file -Dfile=API-Lib-1.0.jar -DpomFile=API-Lib-1.0.pom
Auditing-1.0.jar
andAuditing-1.0.pom
:mvn install:install-file -Dfile=Auditing-1.0.jar -DpomFile=Auditing-1.0.pom
Service-Lib-1.0.jar
andService-Lib-1.0.pom
:mvn install:install-file -Dfile=Service-Lib-1.0.jar -DpomFile=Service-Lib-1.0.pom
mkdir ~/.m2/repository/de/muenchen/gaia-common/1.0 && cp gaia-common-1.0.pom ~/.m2/repository/de/muenchen/gaia-common/1.0
mkdir ~/.m2/repository/de/muenchen/muenchen-pom/1.0.0 && cp muenchen-pom-1.0.0.pom ~/.m2/repository/de/muenchen/muenchen-pom/1.0.0
- Do a
mvn install -DskipTests
- Do a
mvn spring-boot:run
- after that you can acces the service with your favorite REST client under e.g. http://localhost:39146/