Skip to content

Commit

Permalink
enable Agent dual-registration case for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed May 7, 2024
1 parent 61d181f commit 5914875
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion compose/sample-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,18 @@ services:
expose:
- "9977"
environment:
JAVA_OPTS_APPEND: "-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager -javaagent:/deployments/app/cryostat-agent.jar"
JAVA_OPTS_APPEND: >-
-Dquarkus.http.host=0.0.0.0
-Djava.util.logging.manager=org.jboss.logmanager.LogManager
-javaagent:/deployments/app/cryostat-agent.jar
-Dcom.sun.management.jmxremote.autodiscovery=false
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=22222
-Dcom.sun.management.jmxremote.rmi.port=22222
-Djava.rmi.server.hostname=quarkus-test-agent
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.local.only=false
QUARKUS_HTTP_PORT: 10010
ORG_ACME_CRYOSTATSERVICE_ENABLED: "false"
CRYOSTAT_AGENT_APP_NAME: quarkus-test-agent
Expand Down

0 comments on commit 5914875

Please sign in to comment.