Skip to content

Commit

Permalink
Apply latest changes (#37)
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Manuel Leflet Estrada <[email protected]>
  • Loading branch information
jmle authored Jan 10, 2024
1 parent 21f66e4 commit 7289e07
Show file tree
Hide file tree
Showing 32 changed files with 70 additions and 78 deletions.
20 changes: 10 additions & 10 deletions resources/rulesets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ items:
dependencies:
- 10667615-e067-45b4-a925-563a79ea0949
- 1b2a0eef-511c-4c07-a36a-d301b15d8207
checksum: a0b7b61960e1ed7b277b1295297e4ad79322fab3a53bc290cbbd9a914f536537
checksum: 7db2410269d42f7f4183524b0c75b52b74eb39950a522d98f7c247c406c5f5b0
- uuid: eb900f9e-6ff3-413d-9023-167765ce1311
name: droolsjbpm
description: This ruleset provides help for migrating to a unified KIE (Knowledge Is Everything) API in the upgrade from version 5 to 6.
Expand All @@ -36,22 +36,22 @@ items:
dependencies:
- 10667615-e067-45b4-a925-563a79ea0949
- 1b2a0eef-511c-4c07-a36a-d301b15d8207
checksum: a6f85e5464a8865755126dc838b38c17c2646db81e296d520a63188dd3f68da9
checksum: 1b745dfb793070d00b9dc239ea14e98bdc2ae5dba6100016c7c2f4c1ffc908bc
- uuid: 1a523b92-1fb3-422b-aaf7-35f43a259fb9
name: eap7/weblogic/tests/data
directory: rulesets/eap7
dependencies:
- 10667615-e067-45b4-a925-563a79ea0949
- 1b2a0eef-511c-4c07-a36a-d301b15d8207
checksum: 11568b4b79e89f5e6f7a6e944d5ff4b4183f4ed8c2b71254eaf903d2fa5b0697
checksum: de4b03117513cffd0ec48cea01f8d4e1d2dcc6b7604363e976e8ff64646a3485
- uuid: 3c471738-dfcf-46e8-b803-df07c304acc7
name: eap8/eap7
description: This ruleset provides analysis of Java EE applications that need to change certain CDI-related method calls.
directory: rulesets/eap8
dependencies:
- 10667615-e067-45b4-a925-563a79ea0949
- 1b2a0eef-511c-4c07-a36a-d301b15d8207
checksum: 82b9db8a9d4551122dc2354fe0653c4b97bdeabba90185d0a6d3245ae4da4f4c
checksum: 03e36d870895651de73489ed941002f0eaca76abd764aeea872db0893e921dbe
- uuid: 288037b2-279f-4d11-9ea9-f91ff274447f
name: eapxp/thorntail
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.
Expand All @@ -73,15 +73,15 @@ items:
dependencies:
- 10667615-e067-45b4-a925-563a79ea0949
- 1b2a0eef-511c-4c07-a36a-d301b15d8207
checksum: de8f47b185c24fc1e579d964c9b20f7e3f5ed5c4cf3d5fc52cf28f74aaefb43d
checksum: b50c61018e384a87cbf9138ecfa97960e0f7efb045983b4ca5a19045bbd45a4c
- uuid: 416ffaad-3d9b-4808-953e-623d9f2d7314
name: fuse-service-works/soa-p-5
description: This ruleset provides analysis of JBoss SOA Platform 5 applications and provides information on how to migrate these to Red Hat JBoss Fuse Service Works
directory: rulesets/fuse-service-works
dependencies:
- 10667615-e067-45b4-a925-563a79ea0949
- 1b2a0eef-511c-4c07-a36a-d301b15d8207
checksum: 00cd397c912f0e2dadbf21c8f6f57b3c669a15d7faca79de5eb0a136ab8fe194
checksum: 70d18b2053a86c346f651acfda2ccd1079bd6e48d9ffc4949951d1852550a7c3
- uuid: e4db9c96-103c-409b-a347-098e7a04f172
name: hibernate
description: This ruleset provides analysis of deprecated Hibernate java constructs and their migration to newer one.
Expand All @@ -105,15 +105,15 @@ items:
dependencies:
- 10667615-e067-45b4-a925-563a79ea0949
- 1b2a0eef-511c-4c07-a36a-d301b15d8207
checksum: 9abee3d02dd50c303fff3ef488be9217e87533276d0598fa6b8fccd5d02d438c
checksum: 98bd947faddc0df37d675ad68802fd321d1cf50f8fb1ecdd2478f1601be028ad
- uuid: c73c3986-64a5-4c2e-8149-fba57347af99
name: openjdk17/openjdk11
description: This ruleset provides analysis Security Manager classes and methods deprecated between OpenJDK 11 to 17.
directory: rulesets/openjdk17
dependencies:
- 10667615-e067-45b4-a925-563a79ea0949
- 1b2a0eef-511c-4c07-a36a-d301b15d8207
checksum: 802a77dde1430aa1afddf3dc8f8b5b593afa757d53d1426b0d2e1ab08087abe3
checksum: b4389376cce0a2699bf4abaec76987b9d990fc0b6b451a8badb330156b5700b3
- uuid: 53ba6b0f-ad48-4211-9673-a2065c2a4b4d
name: openliberty/websphere
description: This ruleset identifies usage of Java APIs and technologies which are not provided by Open Liberty.
Expand All @@ -137,7 +137,7 @@ items:
dependencies:
- 10667615-e067-45b4-a925-563a79ea0949
- 1b2a0eef-511c-4c07-a36a-d301b15d8207
checksum: 7b49e7febf24639abc751b805d848e8a285e9b407a50aa824d32cf8f84bb3f66
checksum: dbc284bdaaeb00d03a30aca37fd7210dbb28708c319d18f1509d796bf66bab34
- uuid: 9179982c-6007-4e40-b67c-9a7272e44e87
name: rhr/springboot
description: Verify the version of the Spring Boot framework is compatible with those supported by Red Hat Runtimes
Expand Down Expand Up @@ -174,7 +174,7 @@ items:
dependencies:
- 10667615-e067-45b4-a925-563a79ea0949
- 1b2a0eef-511c-4c07-a36a-d301b15d8207
checksum: d087636b17c9fe9b5865f08a34af7c192e8164fe6dcef48a27bb219f99abb0d2
checksum: d8bdeb9913217c22954267d10f0211e4de11dbe59cb215afbab66062c3155951
- uuid: e981e01a-5722-4df0-bf01-9e0694e7bb05
name: cloud-readiness
description: This ruleset detects logging configurations that may be problematic when migrating an application to a cloud environment.
Expand Down
19 changes: 9 additions & 10 deletions resources/rulesets/camel3/18-java-generic-information.windup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
- name: SupportClass
nameOfCaptureGroup: SupportClass
pattern: org.apache.camel.impl.(?P<SupportClass>(BaseSelectorProducer|AsyncCallbackToCompletableFutureAdapter|BridgeExceptionHandlerToErrorHandler|DefaultAsyncProducer|DefaultComponent|DefaultConsumer|DefaultEndpoint|DefaultExchange|DefaultExchangeHolder|DefaultHeaderFilterStrategy|DefaultMessage|DefaultMessageHistory|DefaultPollingConsumerPollStrategy|DefaultPollingEndpoint|DefaultProducer|DefaultScheduledPollConsumer|DefaultScheduledPollConsumerScheduler|DefaultThreadPoolFactory|EventDrivenPollingConsumer|ExpressionAdapter|ExpressionComparator|ExpressionListComparator|ExpressionSupport|HeaderFilterStrategyComponent|HeaderSelectorProducer|LoggingExceptionHandler|MessageSupport|PollingConsumerSupport|ProcessorEndpoint|ProcessorPollingConsumer|ScheduledBatchPollingConsumer|ScheduledPollConsumer|ScheduledPollEndpoint|SimpleRegistry|SimpleUuidGeneratorSynchronizationAdapter|SynchronousDelegateProducer))
description: '`org.apache.camel.impl.{SupportClass}` has been moved'
description: 'Classes in `org.apache.camel.impl` have been relocated to `org.apache.camel.support`.'
effort: 3
labels:
- konveyor.io/source=camel2
Expand Down Expand Up @@ -73,7 +73,7 @@
- name: registry
nameOfCaptureGroup: registry
pattern: org.apache.camel.impl.(?P<registry>(PropertyPlaceholderDelegateRegistry|CompositeRegistry))
description: '`org.apache.camel.impl.{registry}` has been removed.'
description: 'Classes under 'org.apache.camel.impl' have been removed'
effort: 1
labels:
- konveyor.io/source=camel2
Expand Down Expand Up @@ -116,7 +116,7 @@
- name: removed
nameOfCaptureGroup: removed
pattern: org.apache.camel.(?P<removed>(impl.FileWatcherReloadStrategy|support.ReloadStrategySupport))
description: '`org.apache.camel.{removed}` has been removed.'
description: 'The classes previously under `org.apache.camel` have been removed.'
effort: 1
labels:
- konveyor.io/source=camel2
Expand Down Expand Up @@ -251,7 +251,7 @@
- name: annotation
nameOfCaptureGroup: annotation
pattern: org.apache.camel.(?P<annotation>(InvokeOnHeaders|InvokeOnHeader))
description: Annotation `org.apache.camel.{annotation}` has been moved
description: Annotations under `org.apache.camel` are moved to `org.apache.camel.spi`
effort: 1
labels:
- konveyor.io/source=camel2
Expand Down Expand Up @@ -412,7 +412,7 @@
- name: moved
nameOfCaptureGroup: moved
pattern: org.apache.camel.util.(?P<moved>(AsyncProcessorHelper|AsyncProcessorConverterHelper|EndpointHelper|EventHelper|ExchangeHelper|GZIPHelper|JsonSchemaHelper|MessageHelper|PlatformHelper|PredicateAssertHelper|ResolverHelper|ResourceHelper|UnitOfWorkHelper))
description: '`org.apache.camel.util.{moved}` has been moved.'
description: 'Classes under 'org.apache.camel.util' have been moved to 'org.apache.camel.support'.'
effort: 1
labels:
- konveyor.io/source=camel2
Expand Down Expand Up @@ -526,7 +526,7 @@
pattern: org.apache.camel.impl.ThrottlingInflightRoutePolicy
- category: mandatory
customVariables: []
description: '`org.apache.camel.processor.idempotent.{moved}` has been moved'
description: 'Classes under 'org.apache.camel.processor.idempotent' have been moved to 'org.apache.camel.support.processor.idempotent''
effort: 1
labels:
- konveyor.io/source=camel2
Expand Down Expand Up @@ -716,7 +716,7 @@
- name: class
nameOfCaptureGroup: class
pattern: org.apache.camel.(?P<class>(Consume|EndpointInject|Produce))
description: '@{class}: `uri` attribute has been deprecated'
description: 'Replace the deprecated 'uri' attribute with 'value' in Apache Camel's Consume, EndpointInject, or Produce annotations for modernization '
effort: 0
labels:
- konveyor.io/source=camel2
Expand All @@ -739,7 +739,7 @@
- name: class
nameOfCaptureGroup: class
pattern: org.apache.camel.(?P<class>(Consume|EndpointInject|Produce))
description: '@{class}: `ref` attribute has been removed'
description: 'The `ref` attribute in certain annotations is removed in the latest versions'
effort: 1
labels:
- konveyor.io/source=camel2
Expand Down Expand Up @@ -785,8 +785,7 @@
- name: method
nameOfCaptureGroup: method
pattern: org.apache.camel.CamelContext.(?P<method>(loadRoutesDefinition|loadRestsDefinition))?(.*)
description: The duplicate method `org.apache.camel.CamelContext.{method}` has been
removed
description: The duplicate method in `org.apache.camel.CamelContext` has been removed
effort: 1
labels:
- konveyor.io/source=camel2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- name: class
nameOfCaptureGroup: class
pattern: org.apache.camel.(?P<class>(BeanInject|Consume|DynamicRouter|EndpointInject|Produce|PropertyInject|RecipientList|RoutingSlip))
description: '{class}: `context` attribute removed'
description: 'The `context` attribute has been removed from annotations due to support for only one CamelContext per deployment.'
effort: 1
labels:
- konveyor.io/source=camel2
Expand All @@ -27,7 +27,7 @@
- name: CdiCamelContextName
nameOfCaptureGroup: CdiCamelContextName
pattern: org.apache.camel.cdi.(?P<CdiCamelContextName>(ContextName|ContextNames))
description: '{CdiCamelContextName} has been removed'
description: 'Support for multiple CamelContexts has been removed'
effort: 3
labels:
- konveyor.io/source=camel2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
- name: moved
nameOfCaptureGroup: moved
pattern: org.apache.camel.impl.(?P<moved>(CamelPostProcessorHelper|DefaultAsyncProcessorAwaitManager|DefaultCamelBeanPostProcessor|DefaultCamelContextNameStrategy|DefaultClaimCheckRepository|DefaultClassResolver|DefaultComponentResolver|DefaultConsumerTemplate|DefaultDataFormatResolver|DefaultEndpointRegistry|DefaultEndpointUtilizationStatistics|DefaultFactoryFinder|DefaultFactoryFinderResolver|DefaultHeadersMapFactory|DefaultInflightRepository|DefaultInjector|DefaultLanguageResolver|DefaultManagementNameStrategy|DefaultMessageHistoryFactory|DefaultNodeIdFactory|DefaultPackageScanClassResolver|DefaultProcessorFactory|DefaultProducerTemplate|DefaultRoute|DefaultRouteContext|DefaultRouteController|DefaultRouteError|DefaultRouteStartupOrder|DefaultRuntimeEndpointRegistry|DefaultShutdownStrategy|DefaultStreamCachingStrategy|DefaultTransformerRegistry|DefaultUnitOfWork|DefaultUnitOfWorkFactory|DefaultUuidGenerator|DefaultValidatorRegistry|DeferProducer|DeferServiceStartupListener|DurationRoutePolicy|DurationRoutePolicyFactory|EndpointKey|EventDrivenConsumerRoute|EventNotifierCallback|ExplicitCamelContextNameStrategy|FileStateRepository|HashMapHeadersMapFactory|HeadersMapFactoryResolver|InterceptSendToEndpointProcessor|InterceptSendToMockEndpointStrategy|JavaUuidGenerator|LimitedPollingConsumerPollStrategy|MDCUnitOfWork|MemoryStateRepository|SubscribeMethodProcessor|SupervisingRouteController|SupervisingRouteController.FilterResult|SupervisingRouteControllerFilters|SupervisingRouteControllerFilters.BlackList|TypedProcessorFactory|WebSpherePackageScanClassResolver))
description: '`org.apache.camel.impl.{moved}` class has been moved'
description: 'Classes under `org.apache.camel.impl` have been moved to the `org.apache.camel.impl.engine` package in `camel-base` dependency'
effort: 1
labels:
- konveyor.io/source=camel2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@
name: org.apache.camel.camel-rxjava2-starter
- category: mandatory
customVariables: []
description: '`org.apache.camel:camel-{substitution}-starter` artifact has been
renamed'
description: 'The `org.apache.camel:camel-*starter` artifacts have been renamed in Apache Camel 3.'
effort: 1
labels:
- konveyor.io/source=camel2
Expand Down
2 changes: 1 addition & 1 deletion resources/rulesets/eap6/29-seam-java.windup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@
pattern: org.jboss.seam.annotations.Logger
- category: mandatory
customVariables: []
description: Seam API - org.jboss.seam.annotations.datamodel.DataModel{*}
description: The Seam API's `@DataModel\*` functionality should be replaced with the evolved Expression Language Specification in Java EE
effort: 1
labels:
- konveyor.io/source=java-ee
Expand Down
4 changes: 2 additions & 2 deletions resources/rulesets/eap6/33-jboss-eap5-java.windup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
- name: package
nameOfCaptureGroup: package
pattern: org.jboss(?P<package>(\.ejb3)?\.annotation(\.ejb)?.)?Service
description: org.jboss{package}.Service
description: The deprecated org.jboss.ejb3.annotation.Service and related annotations in singleton EJBs are replaced with the EJB3.1 @Singleton annotation
effort: 3
labels:
- konveyor.io/source=eap5
Expand Down Expand Up @@ -83,7 +83,7 @@
- name: package
nameOfCaptureGroup: package
pattern: org.jboss(?P<package>(\.ejb3)?\.annotation(\.ejb)?.)?Management
description: org.jboss{package}.Management
description: Replace JBoss EJB 3.0 `@Management` annotation with EJB3.1 spec `@Singleton` bean
effort: 3
labels:
- konveyor.io/source=eap5
Expand Down
4 changes: 2 additions & 2 deletions resources/rulesets/eap6/44-environment-dependent.windup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
- name: suffix
nameOfCaptureGroup: suffix
pattern: javax.management.(?P<suffix>(ObjectName))?.*
description: JMX MBean object name (javax.management.{suffix})
description: JMX MBean object names may change after migration
effort: 1
labels:
- konveyor.io/target=eap6
Expand All @@ -129,7 +129,7 @@
- name: suffix
nameOfCaptureGroup: suffix
pattern: javax.management.(?P<suffix>(remote.JMXServiceURL))?.*
description: JMX API connector server address (javax.management.{suffix})
description: JMX API connector server address under 'javax.management' may not be present after migration
effort: 1
labels:
- konveyor.io/target=eap6
Expand Down
2 changes: 1 addition & 1 deletion resources/rulesets/eap6/45-generic-catchall.windup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
- name: subpackage
nameOfCaptureGroup: subpackage
pattern: org.apache.(?P<subpackage>(activeio|activemq).)?.*
description: Apache org.apache.{subpackage} type reference
description: Reference to an Apache org.apache type was found.
effort: 0
labels:
- konveyor.io/source=java
Expand Down
4 changes: 2 additions & 2 deletions resources/rulesets/eap6/51-weblogic-jms.windup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
- name: type
nameOfCaptureGroup: type
pattern: oracle.jms.AQjms(?P<type>(Text|Stream|Object|Map|Bytes)?)?Message
description: Oracle JMS {type}Message
description: Oracle JMS messages reference should be replaced with the Java EE standard API
effort: 1
labels:
- konveyor.io/source=weblogic
Expand Down Expand Up @@ -165,7 +165,7 @@
- name: type
nameOfCaptureGroup: type
pattern: oracle.jms.AQjms(?P<type>(Topic|Queue)?)?ConnectionFactory
description: Oracle JMS {type} Connection Factory
description: Oracle JMS Connection Factory
effort: 1
labels:
- konveyor.io/source=weblogic
Expand Down
4 changes: 2 additions & 2 deletions resources/rulesets/eap6/59-websphere-jms.windup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
- name: type
nameOfCaptureGroup: type
pattern: (?P<package>com.ibm(\.[^.]*)*\.jms.)?(?P<prefix>(Jms|MQeJNDI|MQe|MQ)?)?(?P<type>[^.]*?)?ConnectionFactory
description: IBM {prefix}{type}ConnectionFactory reference
description: IBM ConnectionFactory references
effort: 1
labels:
- konveyor.io/source=websphere
Expand Down Expand Up @@ -95,7 +95,7 @@
pattern: com.ibm.*jms.JmsMsg(Producer|Consumer)
- category: mandatory
customVariables: []
description: WebSphere implementation MQe{type}Queue of JMS Queue
description: WebSphere specific implementation of JMS Queue needs to be migrated to the standard Java EE 6 JMS interface
effort: 1
labels:
- konveyor.io/source=websphere
Expand Down
4 changes: 2 additions & 2 deletions resources/rulesets/eap6/61-websphere-mqe.windup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
pattern: com.ibm.*(mqe)*
- category: mandatory
customVariables: []
description: IBM MQe com.ibm.mqe.adapters.MQe{type}Adapter
description: IBM MQe adapters can be deployed for queue managers in JBoss EAP.
effort: 3
labels:
- konveyor.io/source=websphere
Expand All @@ -60,7 +60,7 @@
pattern: com.ibm.mqe.adapters.MQe{type}Adapter
- category: mandatory
customVariables: []
description: IBM MQe com.ibm.mqe.administration.MQe{type}AdminMsg
description: Classes under 'com.ibm.mqe.administration' can be configured with the JBoss Admin CLI in JBoss EAP 6
effort: 3
labels:
- konveyor.io/source=websphere
Expand Down
4 changes: 2 additions & 2 deletions resources/rulesets/eap7/100-websphere-jms.windup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
- name: type
nameOfCaptureGroup: type
pattern: (?P<package>com.ibm(\.[^.]*)*\.jms.)?(?P<prefix>(Jms|MQeJNDI|MQe|MQ)?)?(?P<type>[^.]*?)?ConnectionFactory
description: IBM {prefix}{type}ConnectionFactory reference
description: IBM ConnectionFactory references should be replaced with the Java EE standard API
effort: 1
labels:
- konveyor.io/source=websphere
Expand Down Expand Up @@ -95,7 +95,7 @@
pattern: com.ibm.*jms.JmsMsg(Producer|Consumer)
- category: mandatory
customVariables: []
description: WebSphere implementation MQe{type}Queue of JMS Queue
description: WebSphere's MQe variant of JMS Queue need to be migrated to the Java EE 6 JMS standard interface 'javax.jms.Queue'
effort: 1
labels:
- konveyor.io/source=websphere
Expand Down
4 changes: 2 additions & 2 deletions resources/rulesets/eap7/102-websphere-mqe.windup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
pattern: com.ibm.*(mqe)*
- category: mandatory
customVariables: []
description: IBM MQe com.ibm.mqe.adapters.MQe{type}Adapter
description: IBM MQe adapters are provided for plug-in communications or data storage for queue managers. These can be deployed to JBoss EAP.
effort: 3
labels:
- konveyor.io/source=websphere
Expand All @@ -60,7 +60,7 @@
pattern: com.ibm.mqe.adapters.MQe{type}Adapter
- category: mandatory
customVariables: []
description: IBM MQe com.ibm.mqe.administration.MQe{type}AdminMsg
description: The JMS destinations in IBM MQe administration API can be configured with the JBoss Admin CLI in JBoss EAP 7
effort: 3
labels:
- konveyor.io/source=websphere
Expand Down
6 changes: 2 additions & 4 deletions resources/rulesets/eap7/75-hibernate4-xml.windup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@
pattern: hibernate.transaction.factory_class
- category: mandatory
customVariables: []
description: Class org.hibernate.id.{idclass} was removed/deprecated in Hibernate
5
description: Classes from the 'org.hibernate.id' package were removed or deprecated in Hibernate 5
effort: 1
labels:
- konveyor.io/source=hibernate4
Expand All @@ -65,8 +64,7 @@
pattern: org.hibernate.id.(TableGenerator|TableHiLoGenerator|SequenceGenerator|SequenceIdentityGenerator|SequenceHiLoGenerator)
- category: mandatory
customVariables: []
description: Identifier generator {generator} was removed/deprecated in Hibernate
5
description: Some Identifier generators were removed or deprecated in Hibernate 5.
effort: 1
labels:
- konveyor.io/source=hibernate4
Expand Down
Loading

0 comments on commit 7289e07

Please sign in to comment.