Skip to content

Commit 44b4a50

Browse files
committed
updated dependencies and fixed a few things
1 parent 1c8c29e commit 44b4a50

File tree

9 files changed

+20
-20
lines changed

9 files changed

+20
-20
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ COPY src /usr/src/app/src
33
COPY pom.xml /usr/src/app
44
RUN mvn -f /usr/src/app/pom.xml clean package
55
FROM adoptopenjdk/openjdk11:latest as runtime
6-
LABEL maintainer="gshipley@vmware.com"
6+
LABEL maintainer="gshipley@gmail.com"
77
EXPOSE 8080
88
COPY --from=builder /usr/src/app/target/wildwest-1.0.jar /usr/app/wildwest.jar
9-
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/usr/app/wildwest.jar"]
9+
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/usr/app/wildwest.jar"]

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
55

6-
<groupId>com.vmware</groupId>
6+
<groupId>io.techdope</groupId>
77
<artifactId>wildwest</artifactId>
88
<version>1.0</version>
99
<packaging>jar</packaging>

src/main/java/com/vmware/wildwest/WildWestApplication.java src/main/java/io/techdope/wildwest/WildWestApplication.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.vmware.wildwest;
1+
package io.techdope.wildwest;
22

33
import org.springframework.boot.SpringApplication;
44
import org.springframework.boot.autoconfigure.SpringBootApplication;

src/main/java/com/vmware/wildwest/controllers/APIController.java src/main/java/io/techdope/wildwest/controllers/APIController.java

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
package com.vmware.wildwest.controllers;
1+
package io.techdope.wildwest.controllers;
22

33
import java.util.List;
44

5-
import com.vmware.wildwest.helpers.PlatformObjectHelper;
6-
import com.vmware.wildwest.models.Game;
7-
import com.vmware.wildwest.models.PlatformObject;
8-
import com.vmware.wildwest.models.Score;
5+
import io.techdope.wildwest.helpers.PlatformObjectHelper;
6+
import io.techdope.wildwest.models.Game;
7+
import io.techdope.wildwest.models.PlatformObject;
8+
import io.techdope.wildwest.models.Score;
9+
910
import org.springframework.beans.factory.annotation.Autowired;
1011
import org.springframework.web.bind.annotation.RequestMapping;
1112
import org.springframework.web.bind.annotation.RequestParam;

src/main/java/com/vmware/wildwest/controllers/GameController.java src/main/java/io/techdope/wildwest/controllers/GameController.java

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
package com.vmware.wildwest.controllers;
1+
package io.techdope.wildwest.controllers;
22

3-
import com.vmware.wildwest.models.Game;
4-
import com.vmware.wildwest.models.Score;
53
import org.springframework.context.annotation.Configuration;
64
import org.springframework.context.annotation.Scope;
75

6+
import io.techdope.wildwest.models.Game;
7+
import io.techdope.wildwest.models.Score;
8+
89
import java.util.Hashtable;
910
import java.util.Random;
1011

src/main/java/com/vmware/wildwest/helpers/PlatformObjectHelper.java src/main/java/io/techdope/wildwest/helpers/PlatformObjectHelper.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
package com.vmware.wildwest.helpers;
1+
package io.techdope.wildwest.helpers;
22

3-
import com.vmware.wildwest.models.PlatformObject;
43
import io.kubernetes.client.openapi.ApiClient;
54
import io.kubernetes.client.openapi.Configuration;
65
import io.kubernetes.client.openapi.apis.CoreV1Api;
76
import io.kubernetes.client.openapi.models.*;
87
import io.kubernetes.client.util.ClientBuilder;
8+
import io.techdope.wildwest.models.PlatformObject;
99

1010
import java.util.ArrayList;
1111
import java.util.List;

src/main/java/com/vmware/wildwest/models/Game.java src/main/java/io/techdope/wildwest/models/Game.java

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.vmware.wildwest.models;
1+
package io.techdope.wildwest.models;
22

33
import java.util.Hashtable;
44

@@ -9,9 +9,7 @@ public class Game {
99

1010
// The GameMode enum can be used to provide access to kubernetes distributions that extend K8s
1111
// with their own platform objects. If adding a game mode, you will need to ensure that the
12-
// K8s distribution you are targeting uses the same API client. For some distributions, such as
13-
// OpenShift, this isn't the case. You will need to swap out the entire upstream K8s java client
14-
// for something that understands the fork. For OpenShift, take a look at the Fabric client.
12+
// K8s distribution you are targeting uses the same API client.
1513
public enum GameMode {
1614
KUBERNETES
1715
}

src/main/java/com/vmware/wildwest/models/PlatformObject.java src/main/java/io/techdope/wildwest/models/PlatformObject.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.vmware.wildwest.models;
1+
package io.techdope.wildwest.models;
22

33
public class PlatformObject {
44

src/main/java/com/vmware/wildwest/models/Score.java src/main/java/io/techdope/wildwest/models/Score.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.vmware.wildwest.models;
1+
package io.techdope.wildwest.models;
22

33
public class Score {
44

0 commit comments

Comments
 (0)