KEYCLOAK-11863 ConfigMigrationTest wrong assertion for Standalone configuration
This commit is contained in:
parent
6ee6001f39
commit
13b5463153
2 changed files with 16 additions and 2 deletions
|
@ -670,10 +670,17 @@ if (outcome == failed) of /subsystem=microprofile-metrics-smallrye/:read-resourc
|
||||||
/subsystem=microprofile-metrics-smallrye/:add
|
/subsystem=microprofile-metrics-smallrye/:add
|
||||||
/subsystem=microprofile-metrics-smallrye/:write-attribute(name=security-enabled,value=false)
|
/subsystem=microprofile-metrics-smallrye/:write-attribute(name=security-enabled,value=false)
|
||||||
/subsystem=microprofile-metrics-smallrye/:write-attribute(name=exposed-subsystems,value=[*])
|
/subsystem=microprofile-metrics-smallrye/:write-attribute(name=exposed-subsystems,value=[*])
|
||||||
/subsystem=microprofile-metrics-smallrye/:write-attribute(name=prefix,value=${wildfly.metrics.prefix:wildfly})
|
|
||||||
echo
|
echo
|
||||||
end-if
|
end-if
|
||||||
|
|
||||||
|
if (result == "Keycloak") of :read-attribute(name=product-name)
|
||||||
|
echo Adding microprofile-metrics-smallrye subsystem prefix attribute to Keycloak
|
||||||
|
/subsystem=microprofile-metrics-smallrye/:write-attribute(name=prefix,value=${wildfly.metrics.prefix:wildfly})
|
||||||
|
else
|
||||||
|
echo Adding microprofile-metrics-smallrye subsystem prefix attribute to RH-SSO
|
||||||
|
/subsystem=microprofile-metrics-smallrye/:write-attribute(name=prefix,value=${wildfly.metrics.prefix:jboss})
|
||||||
|
end-if
|
||||||
|
|
||||||
# Migrate from 6.0.1 to 7.0.0
|
# Migrate from 6.0.1 to 7.0.0
|
||||||
if (outcome == success) of /subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:read-resource
|
if (outcome == success) of /subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:read-resource
|
||||||
echo Removing READ_TIMEOUT option from remote service from ejb3 subsystem
|
echo Removing READ_TIMEOUT option from remote service from ejb3 subsystem
|
||||||
|
|
|
@ -559,10 +559,17 @@ if (outcome == failed) of /subsystem=microprofile-metrics-smallrye/:read-resourc
|
||||||
/subsystem=microprofile-metrics-smallrye/:add
|
/subsystem=microprofile-metrics-smallrye/:add
|
||||||
/subsystem=microprofile-metrics-smallrye/:write-attribute(name=security-enabled,value=false)
|
/subsystem=microprofile-metrics-smallrye/:write-attribute(name=security-enabled,value=false)
|
||||||
/subsystem=microprofile-metrics-smallrye/:write-attribute(name=exposed-subsystems,value=[*])
|
/subsystem=microprofile-metrics-smallrye/:write-attribute(name=exposed-subsystems,value=[*])
|
||||||
/subsystem=microprofile-metrics-smallrye/:write-attribute(name=prefix,value=${wildfly.metrics.prefix:wildfly})
|
|
||||||
echo
|
echo
|
||||||
end-if
|
end-if
|
||||||
|
|
||||||
|
if (result == "Keycloak") of :read-attribute(name=product-name)
|
||||||
|
echo Adding microprofile-metrics-smallrye subsystem prefix attribute to Keycloak
|
||||||
|
/subsystem=microprofile-metrics-smallrye/:write-attribute(name=prefix,value=${wildfly.metrics.prefix:wildfly})
|
||||||
|
else
|
||||||
|
echo Adding microprofile-metrics-smallrye subsystem prefix attribute to RH-SSO
|
||||||
|
/subsystem=microprofile-metrics-smallrye/:write-attribute(name=prefix,value=${wildfly.metrics.prefix:jboss})
|
||||||
|
end-if
|
||||||
|
|
||||||
# Migrate from 6.0.1 to 7.0.0
|
# Migrate from 6.0.1 to 7.0.0
|
||||||
if (outcome == success) of /subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:read-resource
|
if (outcome == success) of /subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:read-resource
|
||||||
echo Removing READ_TIMEOUT option from remote service from ejb3 subsystem
|
echo Removing READ_TIMEOUT option from remote service from ejb3 subsystem
|
||||||
|
|
Loading…
Reference in a new issue