Migrate WebLogic Schemas to 15.1.1
Recipe ID
com.oracle.weblogic.rewrite.MigrateWebLogicSchemasTo1511Artifactorg.openrewrite.recipe:rewrite-third-partyThis recipe will migrate WebLogic schemas to 15.1.1
Composite recipeweblogicdescriptorsjavaschemasApache 2.0
Add to your build
Get a download tokenSign in with GitHub or Google, and your token replaces YOUR_DOWNLOAD_TOKEN below. Free for open source recipes like this one.
~/.gradle/gradle.properties
codeGenomeUsername=you@example.com
codeGenomeToken=YOUR_DOWNLOAD_TOKEN
build.gradle.kts
plugins {
id("org.openrewrite.rewrite") version("latest.release")
}
rewrite {
activeRecipe("com.oracle.weblogic.rewrite.MigrateWebLogicSchemasTo1511")
}
repositories {
mavenCentral()
maven {
url = uri("https://artifacts.codegenomeproject.org/maven")
credentials {
username = providers.gradleProperty("codeGenomeUsername").get()
password = providers.gradleProperty("codeGenomeToken").get()
}
}
}
dependencies {
rewrite("org.openrewrite.recipe:rewrite-third-party:0.48.0")
}
Then run
./gradlew rewriteRunUsage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe com.oracle.weblogic.rewrite.MigrateWebLogicSchemasTo1511If the recipe isn’t available locally, install it with:
mod config recipes jar install org.openrewrite.recipe:rewrite-third-party:RELEASEDefinition
This recipe runs the following recipes in order.
- Migrate xmlns entries in
weblogic.xmlfiles to WebLogic 15.1.1com.oracle.weblogic.rewrite.WebLogicXmlWebAppNamespace1511 - Migrate xmlns entries in
weblogic-ejb-jar.xmlfiles to WebLogic 15.1.1com.oracle.weblogic.rewrite.WebLogicEjbJar32XmlNamespace1511 - Migrate xmlns entries in
weblogic-rdbms-jar.xmlfiles to WebLogic 15.1.1com.oracle.weblogic.rewrite.WebLogicRdbmsJarXmlNamespace1511 - Migrate xmlns entries in
persistence-configuration.xmlfiles to WebLogic 15.1.1com.oracle.weblogic.rewrite.WebLogicPersistenceConfigurationXmlNamespace1511 - Migrate xmlns entries in
weblogic-webservices.xmlfiles to WebLogic 15.1.1com.oracle.weblogic.rewrite.WebLogicWebServicesXmlNamespace1511 - Migrate xmlns entries in
weblogic-wsee-clientHandlerChain.xmlfiles to WebLogic 15.1.1com.oracle.weblogic.rewrite.WebLogicWseeClientHandlerChainXmlNamespace1511 - Migrate xmlns entries in
weblogic-webservices-policy.xmlfiles to WebLogic 15.1.1com.oracle.weblogic.rewrite.WebLogicWebservicesPolicyRefXmlNamespace1511 - Migrate xmlns entries in
weblogic-wsee-standaloneclient.xmlfiles to WebLogic 15.1.1com.oracle.weblogic.rewrite.WebLogicWseeStandaloneClientXmlNamespace1511 - Migrate xmlns entries in
weblogic-ra.xmlfiles to WebLogic 15.1.1com.oracle.weblogic.rewrite.WebLogicRaXmlNamespace1511 - Migrate xmlns entries in
weblogic-application.xmlfiles to WebLogic 15.1.1com.oracle.weblogic.rewrite.WebLogicApplicationXmlNamespace1511 - Migrate xmlns entries in
application-client.xmlfiles to WebLogic 15.1.1com.oracle.weblogic.rewrite.WebLogicApplicationClientXmlNamespace1511 - Migrate xmlns entries in
weblogic-pubsub.xmlfiles to WebLogic 15.1.1com.oracle.weblogic.rewrite.WebLogicPubSubXmlNamespace1511 - Migrate xmlns entries in
*-jms.xmlfiles to WebLogic 15.1.1com.oracle.weblogic.rewrite.WebLogicJmsXmlNamespace1511 - Migrate xmlns entries in
*-jdbc.xmlfiles to WebLogic 15.1.1com.oracle.weblogic.rewrite.WebLogicJdbcXmlNamespace1511 - Migrate xmlns entries in
plan.xmlfiles to WebLogic 15.1.1com.oracle.weblogic.rewrite.WebLogicPlanXmlNamespace1511 - Migrate xmlns entries in
resource-deployment-plan.xmlfiles to WebLogic 15.1.1com.oracle.weblogic.rewrite.WebLogicResourceDeploymentPlanXmlNamespace1511
Data tables
Structured output this recipe can produce.
- Source files that had resultsSource files that were modified by the recipe run.
org.openrewrite.table.SourcesFileResults - Source files that had search resultsSearch results that were found during the recipe run.
org.openrewrite.table.SearchResults - Source files that errored on a recipeThe details of all errors produced by a recipe run.
org.openrewrite.table.SourcesFileErrors - Recipe performanceStatistics used in analyzing the performance of recipes.
org.openrewrite.table.RecipeRunStats