Demo de uma aplicação em Jboss EAP 7.4 com MicroProfile Tracing, Health-Check e Metrics.
-
Baixar JBoss EAP 7.4 https://access.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=99481&product=appplatform&version=7.4&downloadType=distributions
-
Instalar Patch: https://access.redhat.com/jbossnetwork/restricted/listSoftware.html?product=appplatform&downloadType=patches&version=7.4
-
Exemplo de comando de instalação: java -jar ~/Downloads/jboss-eap-xp-3.0.0-7.4.3-manager.jar patch-apply --jboss-home=/…/jboss-eap-7.4 --patch=/…/Downloads/jboss-eap-7.4.2-patch.zip
-
Baixar JBoss EAP XP https://access.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=104150&product=appplatform.xp&version=3.0.0&downloadType=patches
-
Exemplo de comando setup: java -jar ~/Downloads/jboss-eap-xp-3.0.0-7.4.3-manager.jar setup --jboss-home=/jboss-eap-7.4
-
Exemplo de comando de instalação: java -jar ~/Downloads/jboss-eap-xp-3.0.0-7.4.3-manager.jar patch-apply --jboss-home=/…/des/jboss-eap-7.4 --patch=/…/Downloads/jboss-eap-xp-3.0.0-patch.zip
-
Iniciar o JBoss: ./standalone.sh -c standalone-microprofile.xml
-
Iniciar Jaeger: docker run -d --name jaeger -p 6831:6831/udp -p 5778:5778 -p 14268:14268 -p 16686:16686 jaegertracing/all-in-one:1.16
-
Fazer deploy do war no JBoss
-
Executar
mvn clean package
-
Compactar o JBoss todo configurado na pasta
com o nome:files
jboss-eap-7.4.2-mp.zip
-
Executar:
docker build . -t eap-7.4.2-mp