Skip to content

pablosilvab/kadev-services

Repository files navigation

kadev-services

Run postgres database:

docker-compose up -d 

Run jar services

Eureka Server

java -jar eureka-server/target/eureka-server-1.0-SNAPSHOT.jar 

Customer Service

java -jar customer/target/customer-1.0-SNAPSHOT.jar 

Fraud Service

java -jar fraud/target/fraud-1.0-SNAPSHOT.jar 

Notification Service

java -jar notification/target/notification-1.0-SNAPSHOT.jar 

API-Gateway

java -jar apigateway/target/apigateway-1.0-SNAPSHOT.jar 

Using PropertySouce annotation:

@PropertySources({
        @PropertySource({"classpath:clients.properties" , "classpath:clients-${spring.profiles.active}.properties"})
})

Build and Push Docker images:

mvn clean package -P build-docker-image

Init database:

kubectl exec -it postgres-0 -- psql -U kadev

Expose services

minikube tunnel

Releases

No releases published

Packages

No packages published

Languages