Skip to content

Commit d10a0fc

Browse files
rutavshahRutav Shahgkwan-ibm
authored
Context root update (#248)
* updated context root in pom files * updated context root in pom files * updated pom.xml * context root update Co-authored-by: Rutav Shah <rutav.shah@ibm.com> Co-authored-by: Gilbert Kwan <gkwan@ca.ibm.com>
1 parent f3980ca commit d10a0fc

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)