Java version: JDK 17
Maven version >= 3.8.x
docker-compose up
Available microservices:
The blue part in the schema is part of the project https://github.com/trodix/activemq-jms-client
Database for keycloak
Port 5432
Authentication server (SSO)
Port 8080
for web ui
Users and Groups source (synchronized with Keycloak)
port LDAP 1389
port LDAPS 1636
Metrics agregator
Port 9090
Linux metrics collector
Port 5100
Docker metrics collector
Port 5110
Metrics visualisation and alerting
Port 3000
Transform metrics Graphs to .png images for mailing alerts
Port 3001
Development SMTP server for grafana mail alerts
Port SMTP 1025
Port Webmail 1080
Message Broker
Port 61616
Search engine
Port 9200
Search engine UI
Port 5601
mvn spring-boot:run
Open REST API to http://localhost:8000/swagger-ui/index.html
mvn jacoco:prepare-agent test install jacoco:report
GET _nodes/stats
PUT seafood
PUT seafood/_create/1
{
"name": "salmon",
"description": "pink or orange fish"
}
PUT seafood/_create/2
{
"name": "pasta",
"description": "with salmon and cream"
}
GET seafood/_doc/1
GET seafood/_doc/2
POST seafood/_update/1
{
"doc": {
"name": "salmon",
"description": "pink or orange fish from norway"
}
}
DELETE seafood/_doc/akCD_4MB44UVK78OVPPt
GET seafood/_search
{
"track_total_hits": true
}
GET seafood/_search
{
"query": {
"match": {
"name": {
"query": "salmon"
}
}
},
"aggregations": {
"in_description": {
"significant_text": {
"field": "description"
}
}
}
}
GET seafood/_search
{
"query": {
"multi_match": {
"query": "salmon",
"fields": ["name", "description"]
}
}
}