Skip to content

Commit

Permalink
🐛 improve accuracy on chained builtin conditions (#62)
Browse files Browse the repository at this point in the history
Signed-off-by: Pranav Gaikwad <pgaikwad@redhat.com>
  • Loading branch information
pranavgaikwad authored Feb 13, 2024
1 parent 871ce5c commit 6092714
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 35 deletions.
4 changes: 2 additions & 2 deletions default/generated/eap6/31-xml-webservices.windup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
API.
ruleID: xml-webservices-06000
when:
or:
and:
- as: webservices
builtin.xml:
namespaces:
Expand Down Expand Up @@ -134,7 +134,7 @@
message: JBoss EAP developer documentation about JAX-WS Web Services Endpoints
ruleID: xml-webservices-06001
when:
or:
and:
- as: webservices
builtin.xml:
namespaces:
Expand Down
10 changes: 5 additions & 5 deletions default/generated/eap6/55-weblogic-xml-descriptors.windup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
product documentation for more information.\n "
ruleID: weblogic-xml-descriptor-10000
when:
or:
and:
- as: webservices
builtin.xml:
namespaces:
Expand Down Expand Up @@ -419,10 +419,10 @@
url: https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/6.4/html-single/administration_and_configuration_guide/#Session_Bean_Transaction_Timeout
- title: How to set EJB transaction timeout in JBoss EAP 6
url: https://access.redhat.com/solutions/90553
message: "\n \n The WebLogic `<trans-timeout-seconds>` configuration element sets
the maximum duration for an EJB's container-initiated transactions, in seconds,
after which the transaction is rolled back. \n\n In JBoss EAP 6+, you can achieve
the same behavior by using the `TransactionTimeout` annotation.\n \n "
message: "The WebLogic `<trans-timeout-seconds>` configuration element sets the
maximum duration for an EJB's container-initiated transactions, in seconds, after
which the transaction is rolled back. \n\n In JBoss EAP 6+, you can achieve the
same behavior by using the `TransactionTimeout` annotation."
ruleID: weblogic-xml-descriptor-19000
when:
builtin.xml:
Expand Down
2 changes: 1 addition & 1 deletion default/generated/eap7/82-hibernate51-53.windup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@
alternatively, set `hibernate.hbm2ddl.jdbc_metadata_extraction_strategy=individually`.
ruleID: hibernate51-53-01001
when:
or:
and:
- as: persistence_files
builtin.xml:
namespaces:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
product documentation for more information.\n "
ruleID: weblogic-xml-descriptor-eap7-10000
when:
or:
and:
- as: webservices
builtin.xml:
namespaces:
Expand Down
48 changes: 24 additions & 24 deletions default/generated/eap8/120-javaee-to-jakarta-namespaces.windup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@
message: In the root tag, replace the `version` attribute value `2.1` with `3.0`
ruleID: javaee-to-jakarta-namespaces-00033
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -677,7 +677,7 @@
message: In the root tag, replace the `version` attribute value `7` with `9`
ruleID: javaee-to-jakarta-namespaces-00034
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -703,7 +703,7 @@
with `3.0`'
ruleID: javaee-to-jakarta-namespaces-00035
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -729,7 +729,7 @@
with `3.0`'
ruleID: javaee-to-jakarta-namespaces-00036
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -755,7 +755,7 @@
value with `9`'
ruleID: javaee-to-jakarta-namespaces-00037
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -781,7 +781,7 @@
value with `9`'
ruleID: javaee-to-jakarta-namespaces-00038
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -807,7 +807,7 @@
value with `9`'
ruleID: javaee-to-jakarta-namespaces-00039
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -833,7 +833,7 @@
value with `9`'
ruleID: javaee-to-jakarta-namespaces-00040
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -859,7 +859,7 @@
value with `2.0`'
ruleID: javaee-to-jakarta-namespaces-00041
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -885,7 +885,7 @@
with `4.0`'
ruleID: javaee-to-jakarta-namespaces-00042
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -911,7 +911,7 @@
attribute value with `2.0`'
ruleID: javaee-to-jakarta-namespaces-00043
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -937,7 +937,7 @@
with `5.0`'
ruleID: javaee-to-jakarta-namespaces-00044
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -963,7 +963,7 @@
with `5.0`'
ruleID: javaee-to-jakarta-namespaces-00045
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -989,7 +989,7 @@
with `5.0`'
ruleID: javaee-to-jakarta-namespaces-00046
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -1015,7 +1015,7 @@
with `5.0`'
ruleID: javaee-to-jakarta-namespaces-00047
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -1041,7 +1041,7 @@
value with `3.0`'
ruleID: javaee-to-jakarta-namespaces-00048
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -1067,7 +1067,7 @@
value with `3.0`'
ruleID: javaee-to-jakarta-namespaces-00049
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -1093,7 +1093,7 @@
value with `3.0`'
ruleID: javaee-to-jakarta-namespaces-00050
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -1119,7 +1119,7 @@
value with `3.0`'
ruleID: javaee-to-jakarta-namespaces-00051
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -1145,7 +1145,7 @@
value with `3.0`'
ruleID: javaee-to-jakarta-namespaces-00052
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -1171,7 +1171,7 @@
value with `3.0`'
ruleID: javaee-to-jakarta-namespaces-00053
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -1197,7 +1197,7 @@
attribute value with `3.0`'
ruleID: javaee-to-jakarta-namespaces-00054
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -1223,7 +1223,7 @@
`3.0`'
ruleID: javaee-to-jakarta-namespaces-00055
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand All @@ -1249,7 +1249,7 @@
`3.0`'
ruleID: javaee-to-jakarta-namespaces-00056
when:
or:
and:
- as: result
builtin.filecontent:
filePattern: ""
Expand Down
4 changes: 2 additions & 2 deletions default/generated/hibernate/143-hibernate-xml.windup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
`String` properties to JDBC CLOB
ruleID: hibernate-xml-01000
when:
or:
and:
- as: "1"
builtin.xml:
namespaces: {}
Expand Down Expand Up @@ -44,7 +44,7 @@
variable must be set to false.\n "
ruleID: hibernate-xml-02000
when:
or:
and:
- as: "1"
builtin.xml:
namespaces: {}
Expand Down

0 comments on commit 6092714

Please sign in to comment.