diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/domain/subsystems.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/domain/subsystems.xml index 33a26ddc04..eb26b613e1 100755 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/domain/subsystems.xml +++ b/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/domain/subsystems.xml @@ -37,9 +37,6 @@ security.xml security-manager.xml transactions.xml - microprofile-config-smallrye.xml - microprofile-health-smallrye.xml - microprofile-metrics-smallrye.xml keycloak-undertow.xml keycloak-server.xml @@ -67,9 +64,6 @@ security.xml security-manager.xml transactions.xml - microprofile-config-smallrye.xml - microprofile-health-smallrye.xml - microprofile-metrics-smallrye.xml keycloak-undertow.xml keycloak-server.xml diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-domain-clustered.cli b/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-domain-clustered.cli index 737f5974d2..8744fe45dd 100644 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-domain-clustered.cli +++ b/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-domain-clustered.cli @@ -621,50 +621,4 @@ if (result == false) of /profile=$clusteredProfile/subsystem=webservices/:read-a echo 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 *** diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-domain-standalone.cli b/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-domain-standalone.cli index 554ac35f8a..89e165d4c4 100644 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-domain-standalone.cli +++ b/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-domain-standalone.cli @@ -546,50 +546,4 @@ if (result == false) of /profile=$standaloneProfile/subsystem=webservices/:read- echo 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 ***