- Java 11
- Maven
From the project root directory execute:
mvn clean package
The output is a "jar" file located under target/*.jar
- Elasticsearch 7.x.x
- PostgreSQL 12 (a database with "tablefunc" extension enabled)
- ActiveMQ 5.x.x
-
Ensure that PostgreSQL, ActiveMQ and Elasticsearch are up and running.
-
Create a file named
application.yml
Application Properties Example. -
Run using Java
java -jar target/*.jar --spring.config.location=path/to/application.yml
server:
port: 8080
servlet:
contextPath: /api
spring:
security:
oauth2:
client:
registration:
bsc:
client-id: xxx
client-secret: xxx
scope:
- openid
- email
- profile
provider:
bsc:
issuer-uri: xxx
redis:
host: xxx
port: xxx
password: xxx
intelcomp:
frontBaseUrl: http://localhost:4200
loginRedirect: ${intelcomp.frontBaseUrl}
logoutRedirect: ${intelcomp.frontBaseUrl}
admins:
- xxx@xxx.xxx
job-service:
authorization:
url: xxx
grant-type: xxx
client-id: xxx
client-secret: xxx