Skip to content

Commit

Permalink
Merge pull request #30 from jmle/seed-20231213
Browse files Browse the repository at this point in the history
Seed fixes - removal of negative lookaheads
  • Loading branch information
jmle authored Dec 13, 2023
2 parents a4101b9 + e9b676b commit b5583a1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 77 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.idea/
bin/
4 changes: 2 additions & 2 deletions resources/rulesets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ items:
dependencies:
- 10667615-e067-45b4-a925-563a79ea0949
- 1b2a0eef-511c-4c07-a36a-d301b15d8207
checksum: d0b4e872c404de3c6709c7416a898c71c52796c25a26259345118b907416d6af
checksum: 11568b4b79e89f5e6f7a6e944d5ff4b4183f4ed8c2b71254eaf903d2fa5b0697
- 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.
Expand Down Expand Up @@ -137,7 +137,7 @@ items:
dependencies:
- 10667615-e067-45b4-a925-563a79ea0949
- 1b2a0eef-511c-4c07-a36a-d301b15d8207
checksum: 3d3851fa2b1d87fe060f55e7965c8bf05e4178ab047c83e655b012fab5c8957a
checksum: 7b49e7febf24639abc751b805d848e8a285e9b407a50aa824d32cf8f84bb3f66
- 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
55 changes: 0 additions & 55 deletions resources/rulesets/eap7/74-eap6.windup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,61 +28,6 @@
builtin.filecontent:
filePattern: .*\.(java|properties|xml)
pattern: remote://.*:\d*
- category: mandatory
customVariables: []
description: jboss-ejb-client.properties - Default Remote Connection Port changes
effort: 1
labels:
- konveyor.io/source=eap6
- konveyor.io/source=eap
- konveyor.io/target=eap7+
- konveyor.io/target=eap
- jndi
- configuration
- ejb
links:
- title: Remote JNDI URL in EAP 7
url: https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.0/html-single/migration_guide/#update_the_default_remote_connection_port
message: "\n The default remote connection port has changed in **jboss-ejb-client.properties**
from '4447' to '8080'.\n\n In EAP 6, the jboss-ejb-client.properties file looked
similar to the following:\n\n ```\n remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=false\n
remote.connections=default\n remote.connection.default.host=localhost\n remote.connection.default.port=4447\n
remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false\n
```\n\n In EAP 7, the properties file looks like this:\n\n ```\n remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=false\n
remote.connections=default\n remote.connection.default.host=localhost\n remote.connection.default.port=8080\n
remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false\n
```\n\n "
ruleID: eap6-08001
when:
builtin.filecontent:
filePattern: jboss-ejb-client\.properties
pattern: remote.connection..*.port(.*(?!8080)\d{4})
- category: mandatory
customVariables: []
description: Java - Default Remote Connection Port has changed in EAP 7
effort: 1
labels:
- konveyor.io/source=eap6
- konveyor.io/source=eap
- konveyor.io/target=eap7+
- konveyor.io/target=eap
- jndi
- configuration
- ejb
links:
- title: Remote JNDI URL in EAP 7
url: https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.0/html-single/migration_guide/#update_the_default_remote_connection_port
message: "\n The default remote connection port has changed from '4447' to '8080'.\n\n
In EAP 6, Remote EJB client Java code looks like the following:\n\n ```java\n
Properties properties = new Properties();\n properties.put(\"remote.connection.default.port\",
\"4447\");\n ```\n\n In EAP 7, the Java client code looks like this:\n\n ```java\n
Properties properties = new Properties();\n properties.put(\"remote.connection.default.port\",
\"8080\");\n ```\n\n "
ruleID: eap6-08002
when:
builtin.filecontent:
filePattern: .*\.java
pattern: remote.connection..*.port(.*(?!8080)\d{4})
- category: mandatory
customVariables: []
description: JSF FaceletContext.FACELET_CONTEXT_KEY changed value
Expand Down
20 changes: 0 additions & 20 deletions resources/rulesets/quarkus/204-javaee-pom-to-quarkus.windup.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,3 @@
- category: mandatory
customVariables: []
description: The expected project artifact's extension is `jar`
effort: 1
labels:
- konveyor.io/source=java-ee
- konveyor.io/target=quarkus
links:
- title: Quarkus - Guide
url: https://quarkus.io/guides/maven-tooling#build-tool-maven
message: "\n The project artifact's current extension (i.e. `<packaging>` tag value)
is `{{notJar}}` but the expected value should be `jar`\n "
ruleID: javaee-pom-to-quarkus-00000
when:
builtin.xml:
filepaths:
- pom.xml
namespaces:
m: http://maven.apache.org/POM/4.0.0
xpath: /m:project/m:packaging/text()[matches(self::node(), '^(?!jar).*$')]
- category: mandatory
customVariables: []
description: Adopt Quarkus BOM
Expand Down

0 comments on commit b5583a1

Please sign in to comment.