-
Notifications
You must be signed in to change notification settings - Fork 11
Correctly set etc path and allow cors config for jolokia #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correctly set etc path and allow cors config for jolokia #24
Conversation
25ee268
to
265f1b4
Compare
@@ -28,7 +28,12 @@ activemq_jolokia_url: "http://{{ activemq_host }}:{{ activemq_http_port }}/conso | |||
activemq_console_url: "http://{{ activemq_host }}:{{ activemq_http_port }}/console/" | |||
activemq_jvm_package: java-11-openjdk-headless | |||
activemq_java_home: | |||
activemq_java_opts: "-Xms512M -Xmx2G -XX:+PrintClassHistogram -XX:+UseG1GC -XX:+UseStringDeduplication -Dhawtio.disableProxy=true -Dhawtio.realm=activemq -Dhawtio.offline=true -Dhawtio.rolePrincipalClasses=org.apache.activemq.artemis.spi.core.security.jaas.RolePrincipal -Djolokia.policyLocation=${ARTEMIS_INSTANCE_ETC_URI}jolokia-access.xml " | |||
activemq_java_opts: "{{ [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@guidograzioli be careful, that's getting to complicated for default. Down the road, it might be better to assemble that (somehow) dynamically to be able to check all vars involved and ensure that the array does not blow up to the user.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed... worth mentioning that's the current default value in amq
4e497b0
to
b76d4e9
Compare
b76d4e9
to
73fe64e
Compare
30ca3e9
to
f290535
Compare
Fix #22 : Update sysconfig and default JAVA_ARGS
Fix #16 : correctly set HAWTIO_ROLE
Fix #24: new variables allow to config jolokia-access.xml
activemq_cors_allow_origin
*://0.0.0.0*
activemq_cors_strict_checking
True