Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

Commit 2007559

Browse files
committed
Remove CDATA
1 parent 48dd6e7 commit 2007559

File tree

54 files changed

+522
-533
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+522
-533
lines changed

rules/rules-reviewed/azure/azure-aws-config.windup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<ruleset id="azure-aws-config"
33
xmlns="http://windup.jboss.org/schema/jboss-ruleset"
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

rules/rules-reviewed/azure/azure-database-config.windup.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<ruleset id="azure-database-config"
33
xmlns="http://windup.jboss.org/schema/jboss-ruleset"
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -8,7 +8,7 @@
88
For any database, identify the connection string.
99
</description>
1010
<dependencies>
11-
<addon id="org.jboss.windup.rules,windup-rules-xml,3.0.0.Final" />
11+
<addon id="org.jboss.windup.rules,windup-rules-xml,3.0.0.Final"/>
1212
</dependencies>
1313
<sourceTechnology id="springboot"/>
1414
<targetTechnology id="azure-spring-apps"/>
@@ -39,8 +39,8 @@
3939
The application uses a JDBC connection string, username or password in the configuration file.
4040
Checkout the different types of databases that are fully managed on Azure.
4141
</message>
42-
<link href="https://12factor.net/backing-services" title="Twelve-Factor App: Backing services"/>
43-
<link href="https://12factor.net/config" title="Twelve-Factor App: Config"/>
42+
<link title="Twelve-Factor App: Backing services" href="https://12factor.net/backing-services"/>
43+
<link title="Twelve-Factor App: Config" href="https://12factor.net/config"/>
4444
<link title="Passwordless connections for Azure services" href="https://learn.microsoft.com/azure/developer/intro/passwordless-overview"/>
4545
<link title="JDBC connection string found in configuration file" href="https://learn.microsoft.com/azure/developer/java/migration/migrate-spring-boot-to-azure-spring-apps#databases"/>
4646
<link title="Use Spring Data JDBC with Azure Database for MySQL" href="https://docs.microsoft.com/azure/developer/java/spring-framework/configure-spring-data-jdbc-with-azure-mysql"/>
@@ -67,9 +67,9 @@
6767
<message>
6868
The application uses a MongoDB connection string.
6969
Checkout the different types of databases that are fully managed on Azure.
70-
</message>
71-
<link href="https://12factor.net/backing-services" title="Twelve-Factor App: Backing services"/>
72-
<link href="https://12factor.net/config" title="Twelve-Factor App: Config"/>
70+
</message>
71+
<link title="Twelve-Factor App: Backing services" href="https://12factor.net/backing-services"/>
72+
<link title="Twelve-Factor App: Config" href="https://12factor.net/config"/>
7373
<link title="Passwordless connections for Azure services" href="https://learn.microsoft.com/azure/developer/intro/passwordless-overview"/>
7474
<link title="MongoDB connection string found in configuration file" href="https://learn.microsoft.com/azure/developer/java/migration/migrate-spring-boot-to-azure-spring-apps#databases"/>
7575
<link title="How to use Spring Data MongoDB API with Azure Cosmos DB" href="https://docs.microsoft.com/azure/developer/java/spring-framework/configure-spring-data-mongodb-with-cosmos-db"/>
@@ -96,12 +96,12 @@
9696
The application uses a R2DBC connection string, username or password in the configuration file.
9797
Checkout the different types of databases that are fully managed on Azure.
9898
</message>
99-
<link href="https://12factor.net/backing-services" title="Twelve-Factor App: Backing services"/>
100-
<link href="https://12factor.net/config" title="Twelve-Factor App: Config"/>
99+
<link title="Twelve-Factor App: Backing services" href="https://12factor.net/backing-services"/>
100+
<link title="Twelve-Factor App: Config" href="https://12factor.net/config"/>
101101
<link title="Passwordless connections for Azure services" href="https://learn.microsoft.com/azure/developer/intro/passwordless-overview"/>
102102
<link title="R2DBC connection string found in configuration file" href="https://learn.microsoft.com/azure/developer/java/migration/migrate-spring-boot-to-azure-spring-apps#databases"/>
103103
<link title="Use Spring Data R2DBC with Azure Database for MySQL" href="https://learn.microsoft.com/azure/developer/java/spring-framework/configure-spring-data-r2dbc-with-azure-mysql"/>
104-
<link title="Use Spring Data R2DBC with Azure Database for PostgreSQL" href="https://learn.microsoft.com/azure/developer/java/spring-framework/configure-spring-data-r2dbc-with-azure-postgresql" />
104+
<link title="Use Spring Data R2DBC with Azure Database for PostgreSQL" href="https://learn.microsoft.com/azure/developer/java/spring-framework/configure-spring-data-r2dbc-with-azure-postgresql"/>
105105
<link title="Use Spring Data R2DBC with Azure SQL Database" href="https://learn.microsoft.com/azure/developer/java/spring-framework/configure-spring-data-r2dbc-with-azure-sql-server"/>
106106
<tag>r2dbc</tag>
107107
</hint>

rules/rules-reviewed/azure/azure-file-system.windup.xml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<ruleset id="azure-file-system"
33
xmlns="http://windup.jboss.org/schema/jboss-ruleset"
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -11,7 +11,7 @@
1111
<addon id="org.jboss.windup.rules,windup-rules-xml,3.0.0.Final"/>
1212
<addon id="org.jboss.windup.rules,windup-rules-java,2.4.0.Final"/>
1313
</dependencies>
14-
<sourceTechnology id="eap" versionRange="[7,8)" />
14+
<sourceTechnology id="eap" versionRange="[7,8)"/>
1515
<sourceTechnology id="springboot"/>
1616
<targetTechnology id="azure-spring-apps"/>
1717
<targetTechnology id="azure-appservice"/>
@@ -27,11 +27,9 @@
2727
<perform>
2828
<hint title="Relative path found" category-id="optional" effort="5">
2929
<message>
30-
<![CDATA[
3130
Relative path found.
32-
31+
3332
Any usage of the file system on the application will require reconfiguration or, in rare cases, architectural changes.
34-
]]>
3533
</message>
3634
<link title="Relative path found in the application" href="https://learn.microsoft.com/azure/developer/java/migration/migrate-spring-cloud-to-azure-spring-apps?pivots=sc-standard-tier#determine-whether-and-how-the-file-system-is-used"/>
3735
</hint>
@@ -50,11 +48,9 @@
5048
<perform>
5149
<hint title="Home path found" category-id="optional" effort="5">
5250
<message>
53-
<![CDATA[
5451
Home path found.
55-
52+
5653
Any usage of the file system on the application will require reconfiguration or, in rare cases, architectural changes.
57-
]]>
5854
</message>
5955
<link title="Home path found in the application" href="https://learn.microsoft.com/azure/developer/java/migration/migrate-spring-cloud-to-azure-spring-apps?pivots=sc-standard-tier#determine-whether-and-how-the-file-system-is-used"/>
6056
</hint>

rules/rules-reviewed/azure/azure-java-version.windup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<ruleset id="azure-java-version"
33
xmlns="http://windup.jboss.org/schema/jboss-ruleset"
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

rules/rules-reviewed/azure/azure-password.windup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<ruleset id="azure-password"
33
xmlns="http://windup.jboss.org/schema/jboss-ruleset"
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

rules/rules-reviewed/azure/azure-static-content.windup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<ruleset id="azure-static-content"
33
xmlns="http://windup.jboss.org/schema/jboss-ruleset"
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Lines changed: 38 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,38 @@
1-
<?xml version="1.0"?>
2-
<ruleset id="eap-to-azure-appservice-certificates"
3-
xmlns="http://windup.jboss.org/schema/jboss-ruleset"
4-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:schemaLocation="http://windup.jboss.org/schema/jboss-ruleset http://windup.jboss.org/schema/jboss-ruleset/windup-jboss-ruleset.xsd">
6-
<metadata>
7-
<description>
8-
Creating and loading Keystores will require uploading the certificates and updating the path to the certificates in the filesystem.
9-
</description>
10-
<dependencies>
11-
<addon id="org.jboss.windup.rules,windup-rules-xml,3.0.0.Final"/>
12-
</dependencies>
13-
<sourceTechnology id="eap" versionRange="[7,8)" />
14-
<targetTechnology id="azure-appservice"/>
15-
</metadata>
16-
<rules>
17-
<rule id="eap-to-azure-appservice-certificates-001">
18-
<when>
19-
<or>
20-
<javaclass references="java.security.KeyStore.getInstance({*})">
21-
<location>METHOD_CALL</location>
22-
</javaclass>
23-
<javaclass references="java.security.KeyStore.load({*})">
24-
<location>METHOD_CALL</location>
25-
</javaclass>
26-
</or>
27-
</when>
28-
<perform>
29-
<hint title="Azure - The application loads certificates into a KeyStore" category-id="optional" effort="5">
30-
<message>Azure - The application loads certificates into a KeyStore</message>
31-
32-
<link title="Configure a Java app for Azure App Service - Initialize the Java Key Store"
33-
href="https://docs.microsoft.com/en-us/azure/app-service/configure-language-java?pivots=platform-linux#initialize-the-java-key-store"/>
34-
35-
<link title="Migrate JBoss EAP applications to JBoss EAP on Azure App Service - Inventory all certificates"
36-
href="https://docs.microsoft.com/en-us/azure/developer/java/migration/migrate-jboss-eap-to-jboss-eap-on-azure-app-service#inventory-all-certificates"/>
37-
</hint>
38-
<technology-tag level="INFORMATIONAL">Azure</technology-tag>
39-
</perform>
40-
</rule>
41-
</rules>
42-
</ruleset>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<ruleset id="eap-to-azure-appservice-certificates"
3+
xmlns="http://windup.jboss.org/schema/jboss-ruleset"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://windup.jboss.org/schema/jboss-ruleset http://windup.jboss.org/schema/jboss-ruleset/windup-jboss-ruleset.xsd">
6+
<metadata>
7+
<description>
8+
Creating and loading Keystores will require uploading the certificates and updating the path to the certificates in the filesystem.
9+
</description>
10+
<dependencies>
11+
<addon id="org.jboss.windup.rules,windup-rules-xml,3.0.0.Final"/>
12+
</dependencies>
13+
<sourceTechnology id="eap" versionRange="[7,8)"/>
14+
<targetTechnology id="azure-appservice"/>
15+
</metadata>
16+
<rules>
17+
<rule id="eap-to-azure-appservice-certificates-001">
18+
<when>
19+
<or>
20+
<javaclass references="java.security.KeyStore.getInstance({*})">
21+
<location>METHOD_CALL</location>
22+
</javaclass>
23+
<javaclass references="java.security.KeyStore.load({*})">
24+
<location>METHOD_CALL</location>
25+
</javaclass>
26+
</or>
27+
</when>
28+
<perform>
29+
<hint title="Azure - The application loads certificates into a KeyStore" category-id="optional" effort="5">
30+
<message>Azure - The application loads certificates into a KeyStore</message>
31+
<link title="Configure a Java app for Azure App Service - Initialize the Java Key Store" href="https://docs.microsoft.com/en-us/azure/app-service/configure-language-java?pivots=platform-linux#initialize-the-java-key-store"/>
32+
<link title="Migrate JBoss EAP applications to JBoss EAP on Azure App Service - Inventory all certificates" href="https://docs.microsoft.com/en-us/azure/developer/java/migration/migrate-jboss-eap-to-jboss-eap-on-azure-app-service#inventory-all-certificates"/>
33+
</hint>
34+
<technology-tag level="INFORMATIONAL">Azure</technology-tag>
35+
</perform>
36+
</rule>
37+
</rules>
38+
</ruleset>

0 commit comments

Comments
 (0)