- java 8
- maven 3.1+
- nodejs for webui project
- MySQL 5+
- JCE Unlimited Strength Jurisdiction Policy Files
- Do
mvn install
to build project - Start service-config
- Start all other services
cd service-config
mvn spring-boot:run
- Do
mvn install
to build project - Start service-config
- Start all other services
cd service-config/src/main/resources
java -jar ../../../target/service-config-{version}.jar
- Import maven project to preferred IDE (IntelliJ IDEA)
- Start
BootConfig
class from service-config - Start all other services (Boot*.java files)
- Database will be created in boot process of service-config
- service-auth use this same MySql database named
test
- all services need
logback.xml
andbootstrap.yml
files from resources directory service-config require alsoapplication.yml
these file are also part of jar file - for encripting config values JCE downolad and JCE instalation instruction
Servises have 2 build in uses
- user wiht password
password
- admin with password
password
Passwords are hashed using BCryptPasswordEncoder
witout static salt so it can be generated very easily