-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix for generating configDropins even if user specify springbootappli…
…cation node in server.xml Signed-off-by: Arun Venmany <Arun.Kumar.V.N@ibm.com>
- Loading branch information
1 parent
c6771a2
commit d07cd88
Showing
5 changed files
with
116 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/test/resources/servers/springBootApplicationTest/invalid_server.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<server description="new server"> | ||
|
||
<featureManager> | ||
<feature>servlet-6.0</feature> | ||
<feature>springBoot-3.0</feature> | ||
</featureManager> | ||
|
||
<httpEndpoint id="defaultHttpEndpoint" | ||
host="*" | ||
httpPort="9080" | ||
httpsPort="9443" /> | ||
<springBootApplication id="guide-spring-boot" | ||
location="guide-spring-boot-0.1.0.jar" | ||
name="guide-spring-boot" /> | ||
<springBootApplication id="guide-spring-boot" | ||
location="guide-spring-boot-0.1.0.jar" | ||
name="guide-spring-boot" /> | ||
</server> |
19 changes: 19 additions & 0 deletions
19
src/test/resources/servers/springBootApplicationTest/server.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<server description="new server"> | ||
|
||
<featureManager> | ||
<feature>servlet-6.0</feature> | ||
<feature>springBoot-3.0</feature> | ||
</featureManager> | ||
|
||
<httpEndpoint id="defaultHttpEndpoint" | ||
host="*" | ||
httpPort="9080" | ||
httpsPort="9443" /> | ||
<springBootApplication id="guide-spring-boot" | ||
location="guide-spring-boot-0.1.0.jar" | ||
name="guide-spring-boot" /> | ||
<springBootApplication id="guide-spring-boot" | ||
location="guide-spring-boot-0.1.0.jar" | ||
name="guide-spring-boot" /> | ||
</server> |
16 changes: 16 additions & 0 deletions
16
src/test/resources/servers/springBootApplicationTest/valid_server.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<server description="new server"> | ||
|
||
<featureManager> | ||
<feature>servlet-6.0</feature> | ||
<feature>springBoot-3.0</feature> | ||
</featureManager> | ||
|
||
<httpEndpoint id="defaultHttpEndpoint" | ||
host="*" | ||
httpPort="9080" | ||
httpsPort="9443" /> | ||
<springBootApplication id="guide-spring-boot" | ||
location="guide-spring-boot-0.1.0.jar" | ||
name="guide-spring-boot" /> | ||
</server> |