KEYCLOAK-8342 Add core-management module to standalone and standaloen-ha
This commit is contained in:
parent
3ca386f223
commit
c3f1bd5a25
4 changed files with 32 additions and 0 deletions
|
@ -21,6 +21,7 @@
|
||||||
<subsystems>
|
<subsystems>
|
||||||
<subsystem>logging.xml</subsystem>
|
<subsystem>logging.xml</subsystem>
|
||||||
<subsystem>bean-validation.xml</subsystem>
|
<subsystem>bean-validation.xml</subsystem>
|
||||||
|
<subsystem>core-management.xml</subsystem>
|
||||||
<subsystem supplement="default">keycloak-datasources.xml</subsystem>
|
<subsystem supplement="default">keycloak-datasources.xml</subsystem>
|
||||||
<subsystem>deployment-scanner.xml</subsystem>
|
<subsystem>deployment-scanner.xml</subsystem>
|
||||||
<subsystem>ee.xml</subsystem>
|
<subsystem>ee.xml</subsystem>
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
<subsystems>
|
<subsystems>
|
||||||
<subsystem>logging.xml</subsystem>
|
<subsystem>logging.xml</subsystem>
|
||||||
<subsystem>bean-validation.xml</subsystem>
|
<subsystem>bean-validation.xml</subsystem>
|
||||||
|
<subsystem>core-management.xml</subsystem>
|
||||||
<subsystem supplement="default">keycloak-datasources.xml</subsystem>
|
<subsystem supplement="default">keycloak-datasources.xml</subsystem>
|
||||||
<subsystem>deployment-scanner.xml</subsystem>
|
<subsystem>deployment-scanner.xml</subsystem>
|
||||||
<subsystem>ee.xml</subsystem>
|
<subsystem>ee.xml</subsystem>
|
||||||
|
|
|
@ -527,4 +527,19 @@ if (outcome == success) of /subsystem=keycloak-server/spi=connectionsInfinispan/
|
||||||
echo
|
echo
|
||||||
end-if
|
end-if
|
||||||
|
|
||||||
|
# Migrate from 4.4.0 to 4.5.0
|
||||||
|
if (outcome == failed) of /subsystem=core-management/:read-resource
|
||||||
|
try
|
||||||
|
echo Trying to add core-management extension
|
||||||
|
/extension=org.wildfly.extension.core-management/:add
|
||||||
|
echo
|
||||||
|
catch
|
||||||
|
echo Wasn't able to add core-management extension, it should be already added by migrate-domain-standalone.cli
|
||||||
|
echo
|
||||||
|
end-try
|
||||||
|
echo Adding subsystem core-management
|
||||||
|
/subsystem=core-management/:add
|
||||||
|
echo
|
||||||
|
end-if
|
||||||
|
|
||||||
echo *** End Migration ***
|
echo *** End Migration ***
|
|
@ -434,4 +434,19 @@ if (outcome == success) of /subsystem=keycloak-server/spi=connectionsInfinispan/
|
||||||
echo
|
echo
|
||||||
end-if
|
end-if
|
||||||
|
|
||||||
|
# Migrate from 4.4.0 to 4.5.0
|
||||||
|
if (outcome == failed) of /subsystem=core-management/:read-resource
|
||||||
|
try
|
||||||
|
echo Trying to add core-management extension
|
||||||
|
/extension=org.wildfly.extension.core-management/:add
|
||||||
|
echo
|
||||||
|
catch
|
||||||
|
echo Wasn't able to add core-management extension, it should be already added by migrate-domain-standalone.cli
|
||||||
|
echo
|
||||||
|
end-try
|
||||||
|
echo Adding subsystem core-management
|
||||||
|
/subsystem=core-management/:add
|
||||||
|
echo
|
||||||
|
end-if
|
||||||
|
|
||||||
echo *** End Migration ***
|
echo *** End Migration ***
|
Loading…
Reference in a new issue