KEYCLOAK-10002 remove microprofile-metrics and microprofile-health extensions in domain mode

This commit is contained in:
vramik 2019-04-08 11:00:53 +02:00 committed by Hynek Mlnařík
parent 8dd96d6962
commit 7638226741
3 changed files with 0 additions and 98 deletions

View file

@ -37,9 +37,6 @@
<subsystem>security.xml</subsystem> <subsystem>security.xml</subsystem>
<subsystem>security-manager.xml</subsystem> <subsystem>security-manager.xml</subsystem>
<subsystem>transactions.xml</subsystem> <subsystem>transactions.xml</subsystem>
<subsystem>microprofile-config-smallrye.xml</subsystem>
<subsystem>microprofile-health-smallrye.xml</subsystem>
<subsystem>microprofile-metrics-smallrye.xml</subsystem>
<subsystem>keycloak-undertow.xml</subsystem> <subsystem>keycloak-undertow.xml</subsystem>
<subsystem>keycloak-server.xml</subsystem> <subsystem>keycloak-server.xml</subsystem>
</subsystems> </subsystems>
@ -67,9 +64,6 @@
<subsystem>security.xml</subsystem> <subsystem>security.xml</subsystem>
<subsystem>security-manager.xml</subsystem> <subsystem>security-manager.xml</subsystem>
<subsystem>transactions.xml</subsystem> <subsystem>transactions.xml</subsystem>
<subsystem>microprofile-config-smallrye.xml</subsystem>
<subsystem>microprofile-health-smallrye.xml</subsystem>
<subsystem>microprofile-metrics-smallrye.xml</subsystem>
<subsystem supplement="ha">keycloak-undertow.xml</subsystem> <subsystem supplement="ha">keycloak-undertow.xml</subsystem>
<subsystem>keycloak-server.xml</subsystem> <subsystem>keycloak-server.xml</subsystem>
</subsystems> </subsystems>

View file

@ -621,50 +621,4 @@ if (result == false) of /profile=$clusteredProfile/subsystem=webservices/:read-a
echo echo
end-if end-if
if (outcome == failed) of /profile=$clusteredProfile/subsystem=microprofile-config-smallrye/:read-resource
try
echo Trying to add microprofile-config-smallrye extension
/extension=org.wildfly.extension.microprofile.config-smallrye/:add(module=org.wildfly.extension.microprofile.config-smallrye)
echo
catch
echo Wasn't able to add microprofile-config-smallrye extension, it should be already added by migrate-domain-standalone.cli
echo
end-try
echo Adding microprofile-config-smallrye subsystem
/profile=$clusteredProfile/subsystem=microprofile-config-smallrye/:add
echo
end-if
if (outcome == failed) of /profile=$clusteredProfile/subsystem=microprofile-health-smallrye/:read-resource
try
echo Trying to add microprofile-health-smallrye extension
/extension=org.wildfly.extension.microprofile.health-smallrye/:add(module=org.wildfly.extension.microprofile.health-smallrye)
echo
catch
echo Wasn't able to add microprofile-health-smallrye extension, it should be already added by migrate-domain-standalone.cli
echo
end-try
echo Adding microprofile-health-smallrye subsystem
/profile=$clusteredProfile/subsystem=microprofile-health-smallrye/:add
/profile=$clusteredProfile/subsystem=microprofile-health-smallrye/:write-attribute(name=security-enabled,value=false)
echo
end-if
if (outcome == failed) of /profile=$clusteredProfile/subsystem=microprofile-metrics-smallrye/:read-resource
try
echo Trying to add microprofile-metrics-smallrye extension
/extension=org.wildfly.extension.microprofile.metrics-smallrye/:add(module=org.wildfly.extension.microprofile.metrics-smallrye)
echo
catch
echo Wasn't able to add microprofile-metrics-smallrye extension, it should be already added by migrate-domain-standalone.cli
echo
end-try
echo Adding microprofile-metrics-smallrye subsystem
/profile=$clusteredProfile/subsystem=microprofile-metrics-smallrye/:add
/profile=$clusteredProfile/subsystem=microprofile-metrics-smallrye/:write-attribute(name=security-enabled,value=false)
/profile=$clusteredProfile/subsystem=microprofile-metrics-smallrye/:write-attribute(name=exposed-subsystems,value=[*])
/profile=$clusteredProfile/subsystem=microprofile-metrics-smallrye/:write-attribute(name=prefix,value=${wildfly.metrics.prefix:wildfly})
echo
end-if
echo *** End Migration of /profile=$clusteredProfile *** echo *** End Migration of /profile=$clusteredProfile ***

View file

@ -546,50 +546,4 @@ if (result == false) of /profile=$standaloneProfile/subsystem=webservices/:read-
echo echo
end-if end-if
if (outcome == failed) of /profile=$standaloneProfile/subsystem=microprofile-config-smallrye/:read-resource
try
echo Trying to add microprofile-config-smallrye extension
/extension=org.wildfly.extension.microprofile.config-smallrye/:add(module=org.wildfly.extension.microprofile.config-smallrye)
echo
catch
echo Wasn't able to add microprofile-config-smallrye extension, it should be already added by migrate-domain-clustered.cli
echo
end-try
echo Adding microprofile-config-smallrye subsystem
/profile=$standaloneProfile/subsystem=microprofile-config-smallrye/:add
echo
end-if
if (outcome == failed) of /profile=$standaloneProfile/subsystem=microprofile-health-smallrye/:read-resource
try
echo Trying to add microprofile-health-smallrye extension
/extension=org.wildfly.extension.microprofile.health-smallrye/:add(module=org.wildfly.extension.microprofile.health-smallrye)
echo
catch
echo Wasn't able to add microprofile-health-smallrye extension, it should be already added by migrate-domain-clustered.cli
echo
end-try
echo Adding microprofile-health-smallrye subsystem
/profile=$standaloneProfile/subsystem=microprofile-health-smallrye/:add
/profile=$standaloneProfile/subsystem=microprofile-health-smallrye/:write-attribute(name=security-enabled,value=false)
echo
end-if
if (outcome == failed) of /profile=$standaloneProfile/subsystem=microprofile-metrics-smallrye/:read-resource
try
echo Trying to add microprofile-metrics-smallrye extension
/extension=org.wildfly.extension.microprofile.metrics-smallrye/:add(module=org.wildfly.extension.microprofile.metrics-smallrye)
echo
catch
echo Wasn't able to add microprofile-metrics-smallrye extension, it should be already added by migrate-domain-clustered.cli
echo
end-try
echo Adding microprofile-metrics-smallrye subsystem
/profile=$standaloneProfile/subsystem=microprofile-metrics-smallrye/:add
/profile=$standaloneProfile/subsystem=microprofile-metrics-smallrye/:write-attribute(name=security-enabled,value=false)
/profile=$standaloneProfile/subsystem=microprofile-metrics-smallrye/:write-attribute(name=exposed-subsystems,value=[*])
/profile=$standaloneProfile/subsystem=microprofile-metrics-smallrye/:write-attribute(name=prefix,value=${wildfly.metrics.prefix:wildfly})
echo
end-if
echo *** End Migration of /profile=$standaloneProfile *** echo *** End Migration of /profile=$standaloneProfile ***