-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #921 from arunvenmany-ibm/spring-boot-application-…
…node-bug-fix Making change to create thin application with same name as provided i…
- Loading branch information
Showing
10 changed files
with
206 additions
and
6 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
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 |
---|---|---|
|
@@ -216,5 +216,4 @@ abstract class AbstractIntegrationTest { | |
} | ||
} | ||
} | ||
|
||
} |
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
17 changes: 17 additions & 0 deletions
17
src/test/resources/sample.springboot3/src/main/liberty/alternateConfig/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,17 @@ | ||
<server description="Sample Liberty server"> | ||
|
||
<featureManager> | ||
<feature>springBoot-3.0</feature> | ||
<feature>servlet-6.0</feature> | ||
</featureManager> | ||
|
||
|
||
<!-- To access this server from a remote client add a host attribute to the following element, e.g. host="*" --> | ||
<httpEndpoint id="defaultHttpEndpoint" | ||
httpPort="9080" | ||
httpsPort="9443" /> | ||
<springBootApplication id="guide-spring-boot" | ||
location="test_spring_boot_with_springbootapplication_apps_30-1.0-SNAPSHOT.jar" | ||
name="guide-spring-boot" /> | ||
|
||
</server> |
20 changes: 20 additions & 0 deletions
20
src/test/resources/sample.springboot3/src/main/liberty/alternateConfig/server_invalid.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,20 @@ | ||
<server description="Sample Liberty server"> | ||
|
||
<featureManager> | ||
<feature>springBoot-3.0</feature> | ||
<feature>servlet-6.0</feature> | ||
</featureManager> | ||
|
||
|
||
<!-- To access this server from a remote client add a host attribute to the following element, e.g. host="*" --> | ||
<httpEndpoint id="defaultHttpEndpoint" | ||
httpPort="9080" | ||
httpsPort="9443" /> | ||
<springBootApplication id="guide-spring-boot" | ||
location="test_spring_boot_with_springbootapplication_apps_30-1.0-SNAPSHOT.jar" | ||
name="guide-spring-boot" /> | ||
<springBootApplication id="guide-spring-boot" | ||
location="test_spring_boot_with_springbootapplication_apps_31-1.0-SNAPSHOT.jar" | ||
name="guide-spring-boot" /> | ||
|
||
</server> |
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
39 changes: 39 additions & 0 deletions
39
...t/resources/sample.springboot3/test_spring_boot_with_springbootapplication_apps_30.gradle
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,39 @@ | ||
buildscript { | ||
ext { | ||
springBootVersion = '3.1.3' | ||
} | ||
repositories { | ||
mavenLocal() | ||
mavenCentral() | ||
maven { | ||
url "https://plugins.gradle.org/m2/" | ||
} | ||
} | ||
dependencies { | ||
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}" | ||
classpath "io.openliberty.tools:liberty-gradle-plugin:$lgpVersion" | ||
} | ||
} | ||
|
||
apply plugin: 'java' | ||
apply plugin: 'org.springframework.boot' | ||
apply plugin: 'liberty' | ||
|
||
group = 'liberty.gradle' | ||
version = '1.0-SNAPSHOT' | ||
sourceCompatibility = 17 | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
dependencies { | ||
implementation("org.springframework.boot:spring-boot-starter-web:${springBootVersion}") | ||
testImplementation('org.springframework.boot:spring-boot-starter-test') | ||
libertyRuntime group: 'io.openliberty', name: 'openliberty-runtime', version: '23.0.0.10' | ||
} | ||
|
||
liberty { | ||
server { | ||
serverXmlFile = file("src/main/liberty/alternateConfig/server.xml") | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...urces/sample.springboot3/test_spring_boot_with_springbootapplication_nodes_apps_30.gradle
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,39 @@ | ||
buildscript { | ||
ext { | ||
springBootVersion = '3.1.3' | ||
} | ||
repositories { | ||
mavenLocal() | ||
mavenCentral() | ||
maven { | ||
url "https://plugins.gradle.org/m2/" | ||
} | ||
} | ||
dependencies { | ||
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}" | ||
classpath "io.openliberty.tools:liberty-gradle-plugin:$lgpVersion" | ||
} | ||
} | ||
|
||
apply plugin: 'java' | ||
apply plugin: 'org.springframework.boot' | ||
apply plugin: 'liberty' | ||
|
||
group = 'liberty.gradle' | ||
version = '1.0-SNAPSHOT' | ||
sourceCompatibility = 17 | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
dependencies { | ||
implementation("org.springframework.boot:spring-boot-starter-web:${springBootVersion}") | ||
testImplementation('org.springframework.boot:spring-boot-starter-test') | ||
libertyRuntime group: 'io.openliberty', name: 'openliberty-runtime', version: '23.0.0.10' | ||
} | ||
|
||
liberty { | ||
server { | ||
serverXmlFile = file("src/main/liberty/alternateConfig/server_invalid.xml") | ||
} | ||
} |