Skip to content

Commit 868a918

Browse files
authored
Merge pull request #251 from OpenLiberty/staging
Merge staging to prod - Context root update (#248)
2 parents 3950637 + d10a0fc commit 868a918

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

finish/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
<configuration>
9191
<systemPropertyVariables>
9292
<http.port>${liberty.var.default.http.port}</http.port>
93+
<context.root>/dev</context.root>
9394
</systemPropertyVariables>
9495
</configuration>
9596
</plugin>

finish/src/test/java/it/io/openliberty/sample/PropertiesEndpointIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public void testGetProperties() {
3838
client.register(JsrJsonpProvider.class);
3939

4040
// request
41-
WebTarget target = client.target(url + "system/properties");
41+
WebTarget target = client.target(url + "/system/properties");
4242
Response response = target.request().get();
4343

4444
// response

start/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
<configuration>
8989
<systemPropertyVariables>
9090
<http.port>${liberty.var.default.http.port}</http.port>
91+
<context.root>/dev</context.root>
9192
</systemPropertyVariables>
9293
</configuration>
9394
</plugin>

start/src/test/java/it/io/openliberty/sample/PropertiesEndpointIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public void testGetProperties() {
3838
client.register(JsrJsonpProvider.class);
3939

4040
// request
41-
WebTarget target = client.target(url + "system/properties");
41+
WebTarget target = client.target(url + "/system/properties");
4242
Response response = target.request().get();
4343

4444
// response

0 commit comments

Comments
 (0)