Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit 08bdefc

Browse files
committed
fix formatting based on comment
1 parent 61b9eb8 commit 08bdefc

File tree

5 files changed

+31
-30
lines changed

5 files changed

+31
-30
lines changed

boost-maven/boost-boms/boost-ee8-apis-bom/pom.xml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,36 +17,36 @@
1717

1818
<description>Boost EE8 APIs BOM</description>
1919

20-
<dependencyManagement>
21-
<dependencies>
22-
<!-- jaxrs -->
23-
<dependency>
20+
<dependencyManagement>
21+
<dependencies>
22+
<!-- jaxrs -->
23+
<dependency>
2424
<groupId>javax.ws.rs</groupId>
2525
<artifactId>javax.ws.rs-api</artifactId>
2626
<version>2.1</version>
2727
</dependency>
28-
<!-- jpa -->
29-
<dependency>
30-
<groupId>org.eclipse.persistence</groupId>
31-
<artifactId>javax.persistence</artifactId>
32-
<version>2.2.0</version>
33-
</dependency>
34-
<dependency>
35-
<groupId>javax.transaction</groupId>
36-
<artifactId>javax.transaction-api</artifactId>
37-
<version>1.2</version>
38-
</dependency>
39-
<dependency>
28+
<!-- jpa -->
29+
<dependency>
30+
<groupId>org.eclipse.persistence</groupId>
31+
<artifactId>javax.persistence</artifactId>
32+
<version>2.2.0</version>
33+
</dependency>
34+
<dependency>
35+
<groupId>javax.transaction</groupId>
36+
<artifactId>javax.transaction-api</artifactId>
37+
<version>1.2</version>
38+
</dependency>
39+
<dependency>
4040
<groupId>javax.enterprise</groupId>
41-
<artifactId>cdi-api</artifactId>
41+
<artifactId>cdi-api</artifactId>
4242
<version>2.0</version>
4343
</dependency>
4444
<dependency>
45-
<groupId>javax.json</groupId>
46-
<artifactId>javax.json-api</artifactId>
47-
<version>1.1</version>
45+
<groupId>javax.json</groupId>
46+
<artifactId>javax.json-api</artifactId>
47+
<version>1.1</version>
4848
</dependency>
4949
</dependencies>
50-
</dependencyManagement>
50+
</dependencyManagement>
5151

5252
</project>

boost-maven/boost-maven-plugin/src/it/test-cdi-2.0/pom.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
<?xml version='1.0' encoding='utf-8'?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3-
4-
<modelVersion>4.0.0</modelVersion>
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
54

65
<groupId>boost</groupId>
76
<artifactId>test-cdi-2.0</artifactId>

boost-maven/boost-maven-plugin/src/it/test-cdi-2.0/src/main/java/io/openliberty/guides/inventory/client/SystemClient.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
public class SystemClient {
2828

2929
// Constants for building URI to the system service.
30-
private final int DEFAULT_PORT = Integer.valueOf(System.getProperty("default.http.port"));
30+
// private final int DEFAULT_PORT =
31+
// Integer.valueOf(System.getProperty("default.http.port"));
32+
private final int DEFAULT_PORT = 9000;
3133
private final String SYSTEM_PROPERTIES = "/system/properties";
3234
private final String PROTOCOL = "http";
3335

boost-maven/boost-maven-plugin/src/it/test-cdi-2.0/src/test/java/it/io/openliberty/guides/inventory/InventoryEndpointTest.java renamed to boost-maven/boost-maven-plugin/src/it/test-cdi-2.0/src/test/java/it/io/openliberty/guides/inventory/InventoryEndpointIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import org.junit.BeforeClass;
2929
import org.junit.Test;
3030

31-
public class InventoryEndpointTest {
31+
public class InventoryEndpointIT {
3232

3333
private static String port;
3434
private static String baseUrl;
@@ -41,7 +41,7 @@ public class InventoryEndpointTest {
4141
@BeforeClass
4242
public static void oneTimeSetup() {
4343
// port = System.getProperty("liberty.test.port");
44-
String port = "9080";
44+
String port = "9000";
4545
baseUrl = "http://localhost:" + port + "/";
4646
}
4747

boost-maven/boost-maven-plugin/src/it/test-cdi-2.0/src/test/java/it/io/openliberty/guides/system/SystemEndpointTest.java renamed to boost-maven/boost-maven-plugin/src/it/test-cdi-2.0/src/test/java/it/io/openliberty/guides/system/SystemEndpointIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
import org.apache.cxf.jaxrs.provider.jsrjsonp.JsrJsonpProvider;
2323
import org.junit.Test;
2424

25-
public class SystemEndpointTest {
25+
public class SystemEndpointIT {
2626

2727
@Test
2828
public void testGetProperties() {
2929
// String port = System.getProperty("liberty.test.port");
30-
String port = "9080";
30+
String port = "9000";
3131
String url = "http://localhost:" + port + "/";
3232

3333
Client client = ClientBuilder.newClient();

0 commit comments

Comments
 (0)