diff --git a/.github/workflows/multi-arch-image-build.yaml b/.github/workflows/multi-arch-image-build.yaml index efb11c0..6c85bdf 100644 --- a/.github/workflows/multi-arch-image-build.yaml +++ b/.github/workflows/multi-arch-image-build.yaml @@ -21,13 +21,8 @@ jobs: image_name: "kantra" containerfile: "./Dockerfile" architectures: '[ "amd64", "arm64" ]' - pre_build_cmd: | - TAG=${GITHUB_REF_NAME/main/latest} - sed -i "s,FROM quay.io/konveyor/windup-shim\:latest,FROM quay.io/konveyor/windup-shim:${TAG}," Dockerfile - sed -i "s,FROM quay.io/konveyor/static-report\:latest,FROM quay.io/konveyor/static-report:${TAG}," Dockerfile - sed -i "s,FROM quay.io/konveyor/analyzer-lsp\:latest,FROM quay.io/konveyor/analyzer-lsp:${TAG}," Dockerfile extra-args: | - --build-arg VERSION=${{ github.ref == 'refs/heads/main' && 'latest' || github.ref_name }} --build-arg BUILD_COMMIT=${{ github.sha }} + --build-arg RULESETS_REF=${{ github.ref_name }} --build-arg VERSION=${{ github.ref_name == 'main' && 'latest' || github.ref_name }} --build-arg BUILD_COMMIT=${{ github.sha }} secrets: registry_username: ${{ secrets.QUAY_PUBLISH_ROBOT }} registry_password: ${{ secrets.QUAY_PUBLISH_TOKEN }} diff --git a/Dockerfile b/Dockerfile index 693415c..550a959 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,14 @@ -FROM quay.io/konveyor/windup-shim:latest as shim +ARG VERSION=latest +FROM quay.io/konveyor/windup-shim:${VERSION} as shim FROM registry.access.redhat.com/ubi9-minimal as rulesets +ARG RULESETS_REF=main RUN microdnf -y install git &&\ - git clone --branch v0.4.0-alpha.1 https://github.com/konveyor/rulesets &&\ + git clone https://github.com/konveyor/rulesets -b ${RULESETS_REF} &&\ git clone https://github.com/windup/windup-rulesets -b 6.3.1.Final -FROM quay.io/konveyor/static-report:latest as static-report +FROM quay.io/konveyor/static-report:${VERSION} as static-report # Build the manager binary FROM golang:1.21 as builder @@ -25,13 +27,13 @@ COPY cmd/ cmd/ COPY pkg/ pkg/ # Build -ARG VERSION +ARG VERSION=latest ARG BUILD_COMMIT RUN CGO_ENABLED=0 GOOS=linux go build --ldflags="-X 'github.com/konveyor-ecosystem/kantra/cmd.Version=$VERSION' -X 'github.com/konveyor-ecosystem/kantra/cmd.BuildCommit=$BUILD_COMMIT'" -a -o kantra main.go RUN CGO_ENABLED=0 GOOS=darwin go build --ldflags="-X 'github.com/konveyor-ecosystem/kantra/cmd.Version=$VERSION' -X 'github.com/konveyor-ecosystem/kantra/cmd.BuildCommit=$BUILD_COMMIT'" -a -o darwin-kantra main.go RUN CGO_ENABLED=0 GOOS=windows go build --ldflags="-X 'github.com/konveyor-ecosystem/kantra/cmd.Version=$VERSION' -X 'github.com/konveyor-ecosystem/kantra/cmd.BuildCommit=$BUILD_COMMIT'" -a -o windows-kantra main.go -FROM quay.io/konveyor/analyzer-lsp:latest +FROM quay.io/konveyor/analyzer-lsp:${VERSION} RUN mkdir /opt/rulesets /opt/rulesets/input /opt/rulesets/convert /opt/openrewrite /opt/input /opt/input/rules /opt/input/rules/custom /opt/output /opt/xmlrules /opt/shimoutput /tmp/source-app /tmp/source-app/input diff --git a/cmd/analyze.go b/cmd/analyze.go index b7b1111..cbb07a7 100644 --- a/cmd/analyze.go +++ b/cmd/analyze.go @@ -793,7 +793,7 @@ func (a *analyzeCommand) RunProviders(ctx context.Context, networkName string, v } volumes := map[string]string{ // application source code - a.input: SourceMountPath, + volName: SourceMountPath, } // this will make more sense when we have more than 2 supported providers var providerImage string @@ -836,7 +836,7 @@ func (a *analyzeCommand) RunProviders(ctx context.Context, networkName string, v func (a *analyzeCommand) RunAnalysis(ctx context.Context, xmlOutputDir string, volName string, providers []string, ports map[string]int) error { volumes := map[string]string{ // application source code - a.input: SourceMountPath, + volName: SourceMountPath, // output directory a.output: OutputPath, } diff --git a/pkg/container/container.go b/pkg/container/container.go index 8df0020..1c6d974 100644 --- a/pkg/container/container.go +++ b/pkg/container/container.go @@ -200,7 +200,7 @@ func (c *container) Run(ctx context.Context, opts ...Option) error { for sourcePath, destPath := range c.volumes { args = append(args, "-v") if os == "linux" { - args = append(args, fmt.Sprintf("%s:%s:Z", + args = append(args, fmt.Sprintf("%s:%s:z", filepath.Clean(sourcePath), path.Clean(destPath))) } else { args = append(args, fmt.Sprintf("%s:%s", diff --git a/test-data/analysis-output.yaml b/test-data/analysis-output.yaml index 4268b03..619e953 100644 --- a/test-data/analysis-output.yaml +++ b/test-data/analysis-output.yaml @@ -1,35 +1,3 @@ -- description: This ruleset detects Java Native Interface (JNI) and Java Native Access (JNA) code, which may be problematic when migrating an application to a cloud environment. - violations: - jni-native-code-00000-test: - description: Java native libraries (JNI, JNA) - category: mandatory - labels: - - jni - - konveyor.io/source - - konveyor.io/target=cloud-readiness - incidents: - - uri: file:///root/.m2/repository/io/konveyor/demo/config-utils/1.0.0/io/konveyor/demo/config/ApplicationConfiguration.java - message: |- - Java native libraries might not run in a cloud or container environment. - - Recommendations - - * Review the purpose of the native library in your application. - * Check whether the native library is compatible with a cloud environment. - * Reuse or embed the native library or application in a cloud environment, for example, in a JBoss module. - * Replace, remove, or rewrite the native library or application using a cloud-compatible equivalent. - lineNumber: 22 - variables: - file: file:///root/.m2/repository/io/konveyor/demo/config-utils/1.0.0/io/konveyor/demo/config/ApplicationConfiguration.java - kind: Method - name: loadProperties - package: io.konveyor.demo.config - links: - - url: https://access.redhat.com/solutions/229443 - title: How to load native libraries and access them via JNI in EAP (with or without a module) - - url: https://access.redhat.com/solutions/1444643 - title: Is it supported to compile the JNI code as 32-bit shared libraries and use it in 64-bit compiled Java code ? - effort: 7 - name: azure/springboot description: Recommend OpenFeign instead of Feign. skipped: @@ -140,7 +108,28 @@ - name: camel3/camel2 description: Rules for changes in XML file (e.g. pom.xml) to run on Apache Camel 3 skipped: + - classes-removed-camel31-00001 + - component-changes-00001 + - component-changes-00002 + - component-changes-00003 + - component-changes-00004 + - component-changes-00005 + - component-changes-00006 + - component-changes-00007 + - component-changes-00008 + - component-changes-00009 + - component-changes-00010 + - component-changes-00011 + - component-changes-00012 + - component-changes-00013 + - component-changes-00014 + - component-changes-00015 + - component-changes-00016 + - component-changes-00017 + - component-changes-00018 - component-changes-00019 + - java-camel33-00001 + - java-camel36-00001 - java-dsl-changes-00001 - java-generic-information-00000 - java-generic-information-00001 @@ -173,6 +162,17 @@ - java-generic-information-00031 - java-generic-information-00032 - java-generic-information-00033 + - java-generic-information-00034 + - java-generic-information-00035 + - java-generic-information-00036 + - java-generic-information-00037 + - java-generic-information-00038 + - java-generic-information-00039 + - java-generic-information-00040 + - java-generic-information-00041 + - java-generic-information-00042 + - java-generic-information-00043 + - java-generic-information-00044 - java-generic-information-00045 - java-generic-information-00046 - java-generic-information-00047 @@ -181,8 +181,72 @@ - java-generic-information-00050 - java-generic-information-00051 - java-generic-information-00052 + - java-generic-information-camel37-00000 + - java-generic-information-camel37-00001 + - java-generic-information-camel37-00002 + - java-generic-information-camel37-00003 + - java-generic-information-camel37-00004 + - java-generic-information-camel37-00005 + - java-generic-information-camel37-00006 + - java-generic-information-camel37-00007 + - java-generic-information-camel37-00007-01 + - java-generic-information-camel37-00008 + - java-generic-information-camel37-00009 + - java-generic-information-camel37-00010 + - java-generic-information-camel37-00011 + - java-generic-information-camel37-00012 + - java-generic-information-camel37-00013 + - java-generic-information-camel37-00014 + - java-generic-information-camel37-00015 + - java-generic-information-camel37-00016 - java-multiple-camelcontexts-per-application-not-supported-00000 - java-multiple-camelcontexts-per-application-not-supported-00001 + - jndiregistry-removed-camel32-00001 + - properties-removed-camel310-00002 + - properties-removed-camel310-00003 + - properties-removed-camel310-00004 + - properties-removed-camel310-00005 + - properties-removed-camel310-00006 + - properties-removed-camel310-00007 + - properties-removed-camel310-00008 + - properties-removed-camel310-00009 + - properties-removed-camel310-00010 + - properties-removed-camel310-00011 + - properties-removed-camel310-00012 + - properties-removed-camel310-00013 + - properties-removed-camel311-00001 + - properties-removed-camel311-00002 + - properties-removed-camel315-00001 + - properties-removed-camel315-00002 + - properties-removed-camel315-00003 + - properties-removed-camel315-00004 + - properties-removed-camel315-00005 + - properties-removed-camel315-00006 + - properties-removed-camel315-00007 + - properties-removed-camel315-00008 + - properties-removed-camel315-00009 + - properties-removed-camel315-00010 + - properties-removed-camel315-00011 + - properties-removed-camel315-00012 + - properties-removed-camel315-00013 + - properties-removed-camel315-00014 + - properties-removed-camel315-00015 + - properties-removed-camel38-00001 + - properties-removed-camel38-00002 + - properties-removed-camel38-00003 + - xml-314-00001 + - xml-315-00001 + - xml-changed-camel311-00001 + - xml-changed-camel320-00001 + - xml-changed-camel320-00002 + - xml-changed-camel320-00003 + - xml-changed-camel320-00004 + - xml-changed-camel320-00005 + - xml-changed-camel321-00001 + - xml-changed-camel321-00002 + - xml-changed-camel321-00003 + - xml-changed-camel321-00004 + - xml-changed-camel321-00005 - xml-dsl-changes-00001 - xml-dsl-changes-00002 - xml-dsl-changes-00003 @@ -195,10 +259,92 @@ - xml-java-versions-00001 - xml-java-versions-00002 - xml-java-versions-00003 + - xml-legacy-camel317-00001 + - xml-legacy-camel317-00002 + - xml-legacy-camel317-00003 + - xml-legacy-camel317-00004 + - xml-moved-camel31-00001 + - xml-moved-camel31-00002 + - xml-moved-camel31-00003 + - xml-moved-camel32-00003 + - xml-moved-camel32-00004 + - xml-moved-camel32-00005 + - xml-moved-camel34-00001 - xml-moved-components-00012 - xml-moved-components-00013 - xml-moved-components-00014 - xml-moved-components-00015 + - xml-removed-camel31-00001 + - xml-removed-camel31-00002 + - xml-removed-camel310-00001 + - xml-removed-camel311-00001 + - xml-removed-camel312-00001 + - xml-removed-camel312-00002 + - xml-removed-camel312-00003 + - xml-removed-camel312-00004 + - xml-removed-camel313-00001 + - xml-removed-camel313-00003 + - xml-removed-camel315-00001 + - xml-removed-camel315-00002 + - xml-removed-camel316-00001 + - xml-removed-camel316-00002 + - xml-removed-camel317-00001 + - xml-removed-camel317-00002 + - xml-removed-camel317-00003 + - xml-removed-camel317-00004 + - xml-removed-camel317-00005 + - xml-removed-camel317-00006 + - xml-removed-camel317-00007 + - xml-removed-camel317-00008 + - xml-removed-camel317-00009 + - xml-removed-camel317-00010 + - xml-removed-camel317-00011 + - xml-removed-camel317-00012 + - xml-removed-camel317-00013 + - xml-removed-camel317-00014 + - xml-removed-camel317-00015 + - xml-removed-camel317-00016 + - xml-removed-camel317-00017 + - xml-removed-camel318-00001 + - xml-removed-camel318-00002 + - xml-removed-camel318-00003 + - xml-removed-camel318-00004 + - xml-removed-camel319-00001 + - xml-removed-camel319-00002 + - xml-removed-camel319-00003 + - xml-removed-camel319-00004 + - xml-removed-camel319-00005 + - xml-removed-camel319-00006 + - xml-removed-camel32-00001 + - xml-removed-camel32-00002 + - xml-removed-camel32-00003 + - xml-removed-camel32-00004 + - xml-removed-camel32-00005 + - xml-removed-camel32-00006 + - xml-removed-camel32-00007 + - xml-removed-camel32-00008 + - xml-removed-camel32-00010 + - xml-removed-camel34-00001 + - xml-removed-camel35-00001 + - xml-removed-camel36-00001 + - xml-removed-camel39-00002 + - xml-removed-camel39-00004 + - xml-removed-camel39-00005 + - xml-removed-camel39-00006 + - xml-removed-camel39-00007 + - xml-removed-camel39-00008 + - xml-removed-camel39-00009 + - xml-removed-camel39-00010 + - xml-removed-camel39-00011 + - xml-removed-camel39-00012 + - xml-removed-camel39-00013 + - xml-removed-camel39-00014 + - xml-removed-camel39-00015 + - xml-removed-camel39-00016 + - xml-removed-camel39-00017 + - xml-removed-camel39-00018 + - xml-removed-camel39-00019 + - xml-removed-camel39-00020 - xml-removed-components-00000 - xml-removed-components-00001 - xml-removed-components-00002 @@ -253,7 +399,15 @@ - konveyor.io/target=cloud-readiness incidents: - uri: file:///root/.m2/repository/io/konveyor/demo/config-utils/1.0.0/io/konveyor/demo/config/ApplicationConfiguration.java - message: "\n Java native libraries might not run in a cloud or container environment.\n\n Recommendations\n\n * Review the purpose of the native library in your application.\n * Check whether the native library is compatible with a cloud environment.\n * Reuse or embed the native library or application in a cloud environment, for example, in a JBoss module.\n * Replace, remove, or rewrite the native library or application using a cloud-compatible equivalent.\n " + message: |- + Java native libraries might not run in a cloud or container environment. + + Recommendations + + * Review the purpose of the native library in your application. + * Check whether the native library is compatible with a cloud environment. + * Reuse or embed the native library or application in a cloud environment, for example, in a JBoss module. + * Replace, remove, or rewrite the native library or application using a cloud-compatible equivalent. lineNumber: 22 variables: file: file:///root/.m2/repository/io/konveyor/demo/config-utils/1.0.0/io/konveyor/demo/config/ApplicationConfiguration.java @@ -275,7 +429,18 @@ - storage incidents: - uri: file:///root/.m2/repository/io/konveyor/demo/config-utils/1.0.0/io/konveyor/demo/config/ApplicationConfiguration.java - message: "\n An application running inside a container could lose access to a file in local storage.\n\n Recommendations\n\n The following recommendations depend on the function of the file in local storage:\n\n * Logging: Log to standard output and use a centralized log collector to analyze the logs.\n * Caching: Use a cache backing service.\n * Configuration: Store configuration settings in environment variables so that they can be updated without code changes.\n * Data storage: Use a database backing service for relational data or use a persistent data storage system.\n * Temporary data storage: Use the file system of a running container as a brief, single-transaction cache.\n " + message: |- + An application running inside a container could lose access to a file in local storage. + + Recommendations + + The following recommendations depend on the function of the file in local storage: + + * Logging: Log to standard output and use a centralized log collector to analyze the logs. + * Caching: Use a cache backing service. + * Configuration: Store configuration settings in environment variables so that they can be updated without code changes. + * Data storage: Use a database backing service for relational data or use a persistent data storage system. + * Temporary data storage: Use the file system of a running container as a brief, single-transaction cache. lineNumber: 20 variables: file: file:///root/.m2/repository/io/konveyor/demo/config-utils/1.0.0/io/konveyor/demo/config/ApplicationConfiguration.java @@ -298,54 +463,32 @@ effort: 1 unmatched: - embedded-cache-libraries-01000 - - embedded-cache-libraries-01000 - - embedded-cache-libraries-02000 - embedded-cache-libraries-02000 - embedded-cache-libraries-03000 - - embedded-cache-libraries-03000 - - embedded-cache-libraries-04000 - embedded-cache-libraries-04000 - embedded-cache-libraries-04000 - embedded-cache-libraries-05000 - - embedded-cache-libraries-05000 - embedded-cache-libraries-06000 - - embedded-cache-libraries-06000 - - embedded-cache-libraries-07000 - embedded-cache-libraries-07000 - embedded-cache-libraries-08000 - - embedded-cache-libraries-08000 - - embedded-cache-libraries-09000 - embedded-cache-libraries-09000 - embedded-cache-libraries-10000 - - embedded-cache-libraries-10000 - - embedded-cache-libraries-11000 - embedded-cache-libraries-11000 - embedded-cache-libraries-12000 - - embedded-cache-libraries-12000 - embedded-cache-libraries-13000 - - embedded-cache-libraries-13000 - - embedded-cache-libraries-14000 - embedded-cache-libraries-14000 - embedded-cache-libraries-15000 - - embedded-cache-libraries-15000 - embedded-cache-libraries-16000 - java-corba-00000 - java-rmi-00000 - java-rmi-00000 - - java-rmi-00000 - - java-rmi-00000 - - java-rmi-00001 - java-rmi-00001 - java-rpc-00000 - - java-rpc-00000 - - jca-00000 - jca-00000 - jni-native-code-00001 - local-storage-00002 - - local-storage-00002 + - local-storage-00003 - local-storage-00004 - - local-storage-00004 - - local-storage-00005 - local-storage-00005 - local-storage-00006 - localhost-http-00001 @@ -353,21 +496,12 @@ - localhost-ws-00003 - logging-0000 - logging-0000 - - logging-0000 - - logging-0000 - - logging-0001 - logging-0001 - logging-0001 - - logging-0001 - - mail-00000 - mail-00000 - session-00000 - - session-00000 - - session-00001 - session-00001 - socket-communication-00000 - - socket-communication-00000 - - socket-communication-00001 - socket-communication-00001 - name: discovery-rules tags: @@ -382,6 +516,7 @@ labels: - discovery - konveyor.io/target=cloud-readiness + - konveyor.io/target=discovery incidents: - uri: file:///opt/input/source/src/main/resources/persistence.properties message: When migrating environments, hard-coded IP addresses may need to be modified or eliminated. @@ -434,11 +569,188 @@ - kie-api-01014 - kie-api-01015 - kie-api-01016 +- name: eap6/java-ee/seam + description: This ruleset provides generic migration knowledge from the Seam 2 UI controls to pure JSF 2 UI Controls + skipped: + - commonj-01000 + - commonj-02000 + - commonj-03000 + - commonj-04000 + - commonj-05000 + - commonj-06000 + - commonj-07000 + - eap4-eap6-25000 + - eap4-eap6-26000 + - eap4-eap6-27000 + - eap4-eap6-28000 + - eap4-eap6-29000 + - eap4-eap6-30000 + - eap4-eap6-31000 + - eap4-eap6-32000 + - eap4-eap6-33000 + - eap4-eap6-34000 + - eap4-eap6-35000 + - eap4-eap6-36000 + - eap4-eap6-37000 + - eap4-eap6-38000 + - eap4-eap6-39000 + - eap4-eap6-40000 + - eap4-eap6-41000 + - eap4-eap6-42000 + - environment-dependent-calls-01000 + - environment-dependent-calls-02000 + - environment-dependent-calls-03000 + - environment-dependent-calls-03500 + - environment-dependent-calls-04000 + - environment-dependent-calls-04001 + - environment-dependent-calls-05000 + - generic-catchall-00000 + - generic-catchall-00001 + - generic-catchall-00002 + - generic-catchall-00003 + - generic-catchall-00100 + - generic-catchall-00200 + - generic-catchall-00300 + - generic-catchall-00400 + - generic-catchall-00500 + - generic-catchall-00600 + - generic-catchall-00700 + - generic-catchall-00900 + - java-ee-jaxrpc-00000 + - jboss-eap5-7-xml-10000 + - jboss-eap5-java-01000 + - jboss-eap5-java-02000 + - jboss-eap5-java-04000 + - jboss-eap5-java-05000 + - jboss-eap5-java-06000 + - jboss-eap5-java-07000 + - jboss-eap5-java-08000 + - jboss-eap5-java-08100 + - jboss-eap5-java-08200 + - jboss-eap5-java-08300 + - jboss-eap5-java-08400 + - jboss-eap5-java-08500 + - jboss-eap5-java-08600 + - jboss-eap5-java-08700 + - jboss-eap5-java-08800 + - jboss-eap5-java-08900 + - jboss-eap5-java-09000 + - jboss-eap5-java-09100 + - jboss-eap5-xml-01000 + - jboss-eap5-xml-02000 + - jboss-eap5-xml-03000 + - jboss-eap5-xml-05000 + - jboss-eap5-xml-06000 + - jboss-eap5-xml-07000 + - jboss-eap5-xml-08000 + - jboss-eap5-xml-09000 + - jboss-eap5-xml-11000 + - jboss-eap5-xml-12000 + - jboss-eap5-xml-13000 + - jboss-eap5-xml-14000 + - jboss-eap5-xml-16000 + - jboss-eap5-xml-17000 + - jboss-eap5-xml-18000 + - jboss-eap5-xml-20000 + - jotm-00001 + - jrun-catchall-00000 + - jrun-catchall-00001 + - jsp-01000 + - log4j-01000 + - log4j-02000 + - log4j-03000 + - resteasy-eap5-000001 + - seam-java-00000 + - seam-java-00010 + - seam-java-00030 + - seam-java-00040 + - seam-java-00050 + - seam-java-00060 + - seam-java-00061 + - seam-java-00070 + - seam-java-00071 + - seam-java-00080 + - seam-java-00090 + - seam-java-00091 + - seam-java-00100 + - seam-java-00110 + - seam-java-00120 + - seam-java-00130 + - seam-java-00140 + - seam-java-00150 + - seam-java-00160 + - seam-java-00170 + - seam-java-00180 + - seam-java-00190 + - seam-java-00200 + - seam-java-00210 + - seam-java-00220 + - seam-java-00230 + - seam-java-00240 + - seam-java-00250 + - seam-java-00260 + - seam-java-00270 + - seam-ui-jsf-00001 + - seam-ui-jsf-00001-01 + - seam-ui-jsf-00002 + - seam-ui-jsf-01000 + - seam-ui-jsf-01001 + - seam-ui-jsf-01002 + - seam-ui-jsf-01003 + - seam-ui-jsf-01004 + - seam-ui-jsf-01005 + - seam-ui-jsf-01006 + - seam-ui-jsf-01007 + - seam-ui-jsf-01008 + - seam-ui-jsf-01009 + - seam-ui-jsf-01010 + - seam-ui-jsf-01011 + - seam-ui-jsf-01012 + - seam-ui-jsf-01013 + - seam-ui-jsf-01014 + - seam-ui-jsf-01015 + - seam-ui-jsf-01016 + - seam-ui-jsf-01017 + - seam-ui-jsf-01018 + - seam-ui-jsf-01019 + - seam-ui-jsf-01020 + - seam-ui-jsf-01021 + - seam-ui-jsf-01022 + - seam-ui-jsf-01023 + - seam-ui-jsf-01024 + - seam-ui-jsf-01025 + - seam-ui-jsf-01026 + - seam-ui-jsf-01027 + - seam-ui-jsf-01028 + - seam-ui-jsf-01029 + - xml-glassfish-01000 + - xml-glassfish-02000 + - xml-glassfish-03000 + - xml-jonas-01000 + - xml-jrun-01000 + - xml-jrun-02000 + - xml-orion-01000 + - xml-orion-02000 + - xml-orion-03000 + - xml-resin-01000 + - xml-webservices-01000 + - xml-webservices-02000 + - xml-webservices-03000 + - xml-webservices-04000 + - xml-webservices-05000 + - xml-webservices-06000 + - xml-webservices-06001 + - xml-webservices-07000 + - xml-webservices-08000 + - xml-webservices-09000 + - xml-webservices-10000 - name: eap7/weblogic/tests/data skipped: - base64-01000 - deprecated-singletonpolicy-00001 - eap6-08000 + - eap6-08001 + - eap6-08002 - eap6-11000 - eap6-12000 - eap6-xml-05000 @@ -450,6 +762,8 @@ - eap7-websphere-xml-07000 - eap7-websphere-xml-08000 - eap7-websphere-xml-09000 + - elytron-eap71-00000 + - elytron-eap71-00010 - embedded-framework-libraries-01000 - embedded-framework-libraries-02000 - embedded-framework-libraries-04000 @@ -611,6 +925,7 @@ - jboss-eap5-7-java-09000 - jboss-eap5-7-java-09100 - jboss-eap5-7-xml-01000 + - jboss-eap5-7-xml-02000 - jboss-eap5-7-xml-10000 - jboss-eap5-7-xml-13000 - jboss-eap5-7-xml-14000 @@ -723,6 +1038,11 @@ - resteasy-eap6-000142 - resteasy30-36-00001 - singleton-sessionbean-00001 + - weblogic-catchall-01000 + - weblogic-catchall-02000 + - weblogic-catchall-03000 + - weblogic-catchall-06000 + - weblogic-catchall-06500 - weblogic-eap7-01000 - weblogic-eap7-016000 - weblogic-eap7-017000 @@ -739,6 +1059,10 @@ - weblogic-eap7-12000 - weblogic-eap7-13000 - weblogic-eap7-15000 + - weblogic-ejb-01000 + - weblogic-ejb-02000 + - weblogic-ejb-03000 + - weblogic-ejb-04000 - weblogic-jms-eap7-00000 - weblogic-jms-eap7-01000 - weblogic-jms-eap7-02000 @@ -779,11 +1103,15 @@ - weblogic-xml-descriptor-eap7-10000 - weblogic-xml-descriptor-eap7-11000 - weblogic-xml-descriptor-eap7-12000 + - weblogic-xml-descriptor-eap7-13000 - weblogic-xml-descriptor-eap7-14000 - weblogic-xml-descriptor-eap7-15000 - weblogic-xml-descriptor-eap7-16000 - weblogic-xml-descriptor-eap7-17000 - weblogic-xml-descriptor-eap7-18000 + - websphere-catchall-00000 + - websphere-catchall-00001 + - websphere-catchall-db2-00000 - websphere-jms-eap7-00000 - websphere-jms-eap7-01000 - websphere-jms-eap7-02000 @@ -806,6 +1134,7 @@ - name: eap8/eap7 description: This ruleset provides analysis of Java EE applications that need to change certain CDI-related method calls. skipped: + - deprecated-initialcontextfactory-is-removed-00001 - eap8-ejb-00001 - eap8-ejb-00002 - eap8-ejb-00003 @@ -999,6 +1328,7 @@ - hibernate6-00255 - hibernate6-00257 - hibernate6-00270 + - hibernate6-00280 - jakarta-cdi-00001 - jakarta-cdi-00002 - jakarta-cdi-00003 @@ -1101,6 +1431,7 @@ - javax-to-jakarta-servlet-00121 - javax-to-jakarta-servlet-00122 - javax-to-jakarta-servlet-00123 + - javax-to-jakarta-servlet-00130 - jboss-dependencies-00001 - jboss-dependencies-00002 - jboss-dependencies-00003 @@ -1129,12 +1460,17 @@ - jboss-dependencies-00026 - jboss-dependencies-00027 - jboss-dependencies-00028 - - jboss-dependencies-00029 - jboss-dependencies-00030 - jboss-dependencies-00031 + - jboss-dependencies-00032 - keycloak-openid-00001 - keycloak-openid-00010 - legacy-vault-00010 + - log4j-removed-00001 + - log4j-removed-00002 + - log4j-removed-00003 + - log4j-removed-00004 + - log4j-removed-00005 - login-modules-00001 - picketlink-00010 - picketlink-00020 @@ -1142,6 +1478,8 @@ description: This ruleset provides analysis of Maven built applications that use Thorntail Maven Plugin, which should be replaced by JBoss EAP XP Bootable JAR Maven Plugin, when migrating to JBoss EAP XP. skipped: - eapxp_bootable_jar_maven_plugin_configuration_changes-1 + - eapxp_microprofile_metrics_not_supported-00001 + - eapxp_microprofile_opentracing_not_supported-00001 - remove_thorntail_yaml_configuration_files-1 - replace_thorntail_boms-1 - replace_thorntail_boms-2 @@ -1295,6 +1633,12 @@ - hibernate-xml-01000 - hibernate-xml-02000 - hibernate-xml-03000 + - hibernate-xml-04000 + - hibernate-xml-05000 +- name: jakarta-ee9 + skipped: + - spring-components-00001 + - spring-components-00002 - name: jws5 description: This ruleset provides analysis of applications that need to change their pom dependencies to upgrade dependencies that belong to the groupId `org.apache.tomcat` skipped: @@ -1363,6 +1707,7 @@ - oracle2openjdk-00003 - oracle2openjdk-00004 - oracle2openjdk-00005 + - oracle2openjdk-00006 - name: openliberty/websphere description: This ruleset identifies usage of Java APIs and technologies which are not provided by Open Liberty. skipped: @@ -1437,7 +1782,17 @@ - cdi-to-quarkus-00040 - cdi-to-quarkus-00050 - dependency-removal-for-quarkus-00000 + - jakarta-cdi-to-quarkus-00000 + - jakarta-cdi-to-quarkus-00020 + - jakarta-cdi-to-quarkus-00030 + - jakarta-cdi-to-quarkus-00040 + - jakarta-cdi-to-quarkus-00050 + - jakarta-faces-to-quarkus-00000 + - jakarta-faces-to-quarkus-00010 + - jakarta-jaxrs-to-quarkus-00010 + - jakarta-jaxrs-to-quarkus-00020 - javaee-faces-to-quarkus-00000 + - javaee-pom-to-quarkus-00000 - javaee-pom-to-quarkus-00010 - javaee-pom-to-quarkus-00020 - javaee-pom-to-quarkus-00030 @@ -1449,104 +1804,12 @@ - jaxrs-to-quarkus-00000 - jaxrs-to-quarkus-00010 - jaxrs-to-quarkus-00020 - - quarkus-agroal-00000 - - quarkus-agroal-00010 - - quarkus-amazon-dynamodb-00000 - - quarkus-amazon-dynamodb-00010 - - quarkus-amazon-iam-00000 - - quarkus-amazon-iam-00010 - - quarkus-amazon-kms-00000 - - quarkus-amazon-kms-00010 - - quarkus-amazon-lambda-http-00000 - - quarkus-amazon-lambda-http-00010 - - quarkus-amazon-lambda-rest-00000 - - quarkus-amazon-lambda-rest-00010 - - quarkus-amazon-lambda-xray-00000 - - quarkus-amazon-lambda-xray-00010 - - quarkus-amazon-s3-00000 - - quarkus-amazon-s3-00010 - - quarkus-amazon-ses-00000 - - quarkus-amazon-ses-00010 - - quarkus-amazon-sns-00000 - - quarkus-amazon-sns-00010 - - quarkus-amazon-sqs-00000 - - quarkus-amazon-sqs-00010 - - quarkus-amazon-ssm-00000 - - quarkus-amazon-ssm-00010 - - quarkus-apicurio-registry-avro-00000 - - quarkus-apicurio-registry-avro-00010 - - quarkus-artemis-jms-00000 - - quarkus-artemis-jms-00010 - - quarkus-avro-00000 - - quarkus-avro-00010 - - quarkus-config-yaml-00000 - - quarkus-config-yaml-00010 - - quarkus-elytron-security-jdbc-00000 - - quarkus-elytron-security-jdbc-00010 - - quarkus-elytron-security-ldap-00000 - - quarkus-elytron-security-ldap-00010 - - quarkus-elytron-security-oauth2-00000 - - quarkus-elytron-security-oauth2-00010 - - quarkus-flyway-00000 - - quarkus-flyway-00010 - - quarkus-hibernate-envers-00000 - - quarkus-hibernate-envers-00010 - - quarkus-hibernate-reactive-00000 - - quarkus-hibernate-reactive-00010 - - quarkus-hibernate-search-orm-elasticsearch-aws-00000 - - quarkus-hibernate-search-orm-elasticsearch-aws-00010 - - quarkus-hibernate-validator-00000 - - quarkus-hibernate-validator-00010 - - quarkus-jdbc-db2-00000 - - quarkus-jdbc-db2-00010 - - quarkus-jdbc-derby-00000 - - quarkus-jdbc-derby-00010 - - quarkus-jdbc-mariadb-00000 - - quarkus-jdbc-mariadb-00010 - - quarkus-jdbc-mysql-00000 - - quarkus-jdbc-mysql-00010 - - quarkus-jdbc-oracle-00000 - - quarkus-jdbc-oracle-00010 - - quarkus-jdbc-postgresql-00000 - - quarkus-jdbc-postgresql-00010 - - quarkus-jsonb-00000 - - quarkus-jsonb-00010 - - quarkus-jsonp-00000 - - quarkus-jsonp-00010 - - quarkus-kafka-client-00000 - - quarkus-kafka-client-00010 - - quarkus-kafka-streams-00000 - - quarkus-kafka-streams-00010 - - quarkus-keycloak-admin-client-00000 - - quarkus-keycloak-admin-client-00010 - - quarkus-kubernetes-client-00000 - - quarkus-kubernetes-client-00010 - - quarkus-liquibase-00000 - - quarkus-liquibase-00010 - - quarkus-liquibase-mongodb-00000 - - quarkus-liquibase-mongodb-00010 - - quarkus-logging-gelf-00000 - - quarkus-logging-gelf-00010 - - quarkus-logging-sentry-00000 - - quarkus-logging-sentry-00010 - - quarkus-micrometer-registry-prometheus-00000 - - quarkus-micrometer-registry-prometheus-00010 - - quarkus-narayana-jta-00000 - - quarkus-narayana-jta-00010 - - quarkus-narayana-lra-00000 - - quarkus-narayana-lra-00010 - - quarkus-narayana-stm-00000 - - quarkus-narayana-stm-00010 - - quarkus-openshift-client-00000 - - quarkus-openshift-client-00010 - - quarkus-opentelemetry-exporter-jaeger-00000 - - quarkus-opentelemetry-exporter-jaeger-00010 - - quarkus-opentelemetry-exporter-otlp-00000 - - quarkus-opentelemetry-exporter-otlp-00010 - - quarkus-picocli-00000 - - quarkus-picocli-00010 - - quarkus-resteasy-multipart-00000 - - quarkus-resteasy-multipart-00010 + - jms-to-reactive-quarkus-00000 + - jms-to-reactive-quarkus-00010 + - jms-to-reactive-quarkus-00020 + - jms-to-reactive-quarkus-00030 + - jms-to-reactive-quarkus-00040 + - jms-to-reactive-quarkus-00050 - springboot-actuator-to-quarkus-0100 - springboot-actuator-to-quarkus-0200 - springboot-annotations-to-quarkus-00000 @@ -1584,8 +1847,6 @@ - name: rhr/springboot description: Verify the version of the Spring Boot framework is compatible with those supported by Red Hat Runtimes skipped: - - springboot-00001 - - springboot-00002 - springboot-associated-00001 - springboot-associated-00002 - springboot-associated-00003 @@ -1601,6 +1862,8 @@ - springboot-associated-00013 - springboot-associated-00014 - springboot-associated-00015 + - springboot-rhr-00001 + - springboot-rhr-00002 - name: technology-usage description: This ruleset provides analysis of logging libraries. tags: @@ -1626,11 +1889,13 @@ - Inversion of Control=Spring DI - Java EE=EJB XML - Java EE=JNI + - Java EE=JPA named queries - Java EE=Servlet - Java Servlet - Micrometer - Other=JNI - Other=Properties + - Persistence=JPA named queries - Persistence=Spring Data JPA - Servlet - Spring Boot Actuator @@ -1638,6 +1903,7 @@ - Spring Data JPA - Spring MVC - Spring Web + - Store=JPA named queries - Store=Spring Data JPA - Sustain=Properties - View=Spring Web @@ -1662,6 +1928,17 @@ - 3rd-party-17000 - 3rd-party-18000 - 3rd-party-19000 + - 3rd-party-spring-03001 + - 3rd-party-spring-03002 + - 3rd-party-spring-03002 + - apm-00000 + - apm-00000 + - apm-00001 + - apm-00001 + - apm-00002 + - apm-00002 + - apm-00003 + - apm-00003 - clustering-00000 - clustering-00001 - configuration-management-0100 @@ -1687,11 +1964,15 @@ - connect-02600 - connect-02700 - connect-02800 + - connect-02900 + - database-01400 + - database-01400 - database-01400 - database-01500 - database-01600 - database-01700 - database-01800 + - database-01805 - database-01900 - database-02000 - database-02100 @@ -1704,7 +1985,24 @@ - database-02800 - database-02900 - database-03100 + - database-03100 - ejb-01000 + - embedded-cache-libraries-01000 + - embedded-cache-libraries-02000 + - embedded-cache-libraries-03000 + - embedded-cache-libraries-04000 + - embedded-cache-libraries-05000 + - embedded-cache-libraries-06000 + - embedded-cache-libraries-07000 + - embedded-cache-libraries-08000 + - embedded-cache-libraries-09000 + - embedded-cache-libraries-10000 + - embedded-cache-libraries-11000 + - embedded-cache-libraries-12000 + - embedded-cache-libraries-13000 + - embedded-cache-libraries-14000 + - embedded-cache-libraries-15000 + - embedded-cache-libraries-16000 - embedded-framework-01000 - embedded-framework-01010 - embedded-framework-01100 @@ -1762,7 +2060,6 @@ - embedded-framework-08900 - embedded-framework-09000 - embedded-framework-09100 - - embedded-framework-09200 - embedded-framework-09300 - embedded-framework-embedded-framework-02700 - embedded-framework-embedded-framework-02800 @@ -2024,8 +2321,17 @@ - technology-usage-3rd-party-18000 - technology-usage-3rd-party-19000 - technology-usage-3rd-party-20000 + - technology-usage-3rd-party-spring-03001-0 + - technology-usage-3rd-party-spring-03001-1 + - technology-usage-3rd-party-spring-03001-2 + - technology-usage-3rd-party-spring-03002 + - technology-usage-apm-00010 + - technology-usage-apm-00020 + - technology-usage-apm-00030 + - technology-usage-apm-00040 - technology-usage-clustering-01000 - technology-usage-clustering-02000 + - technology-usage-connect-01000 - technology-usage-connect-01101 - technology-usage-connect-01200 - technology-usage-connect-01300 @@ -2044,6 +2350,11 @@ - technology-usage-connect-02600 - technology-usage-connect-02700 - technology-usage-connect-02800 + - technology-usage-connect-02900 + - technology-usage-database-01000 + - technology-usage-database-01001 + - technology-usage-database-01100 + - technology-usage-database-01300 - technology-usage-database-01400 - technology-usage-database-01500 - technology-usage-database-01600 @@ -2060,7 +2371,8 @@ - technology-usage-database-02700 - technology-usage-database-02800 - technology-usage-database-02900 - - technology-usage-database-03100 + - technology-usage-database-03000 + - technology-usage-database-03200 - technology-usage-ejb-01400 - technology-usage-embedded-framework-01000 - technology-usage-embedded-framework-01010 @@ -2295,18 +2607,32 @@ - technology-usage-test-frameworks-00370 - technology-usage-web-01000 - technology-usage-web-01100 + - technology-usage-web-01100 + - technology-usage-web-01200 + - technology-usage-web-01300 - technology-usage-web-01300 - technology-usage-web-01400 + - technology-usage-web-01400 + - technology-usage-web-01500 - technology-usage-web-01500 - technology-usage-web-01600 + - technology-usage-web-01600 + - technology-usage-web-01700 - technology-usage-web-01700 - technology-usage-web-01800 + - technology-usage-web-01800 - technology-usage-web-01900 + - technology-usage-web-01900 + - technology-usage-web-02000 - technology-usage-web-02000 - technology-usage-web-02100 + - technology-usage-web-02100 - technology-usage-web-02200 + - technology-usage-web-02200 + - technology-usage-web-02300 - technology-usage-web-02300 - technology-usage-web-02400 + - technology-usage-web-02400 - test-frameworks-sauge-00010 - test-frameworks-sauge-00020 - test-frameworks-sauge-00030 @@ -2344,3 +2670,4 @@ - test-frameworks-sauge-00360 - test-frameworks-sauge-00370 - test-frameworks-sauge-00560 + - web-01000