org.wildfly.extras.creaper.commands.datasources.RemoveDataSource.groovy Maven / Gradle / Ivy
def ds = datasources.datasources.datasource.find { it.'@pool-name' == name }
if (!ds) {
throw new IllegalStateException("Can't remove datasource $name as it does not exist in the configuration")
}
ds.replaceNode {}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy