Skip to content

Commit

Permalink
#3 - merge kubernetes gitignore changes
Browse files Browse the repository at this point in the history
  • Loading branch information
obriensystems committed Feb 9, 2020
1 parent df4c5af commit 13212ed
Show file tree
Hide file tree
Showing 23 changed files with 40 additions and 25 deletions.
Empty file modified README.md
100644 → 100755
Empty file.
Empty file modified difference-kubernetes/.helmignore
100644 → 100755
Empty file.
Empty file modified difference-kubernetes/Chart.yaml
100644 → 100755
Empty file.
2 changes: 0 additions & 2 deletions difference-kubernetes/pom.xml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
<artifactId>difference-root</artifactId>
<version>0.0.2-SNAPSHOT</version>
</parent>
<groupId>cloud.difference</groupId>
<artifactId>difference-kubernetes</artifactId>
<version>0.0.2-SNAPSHOT</version>
<name>difference-kubernetes</name>
<description>difference-kubernetes project</description>
</project>
Empty file modified difference-kubernetes/templates/NOTES.txt
100644 → 100755
Empty file.
Empty file modified difference-kubernetes/templates/_helpers.tpl
100644 → 100755
Empty file.
Empty file modified difference-kubernetes/templates/deployment.yaml
100644 → 100755
Empty file.
Empty file modified difference-kubernetes/templates/ingress.yaml
100644 → 100755
Empty file.
Empty file modified difference-kubernetes/templates/service.yaml
100644 → 100755
Empty file.
Empty file modified difference-kubernetes/templates/tests/test-connection.yaml
100644 → 100755
Empty file.
Empty file modified difference-kubernetes/values.yaml
100644 → 100755
Empty file.
Empty file modified difference-nbi/.mvn/wrapper/MavenWrapperDownloader.java
100644 → 100755
Empty file.
Empty file modified difference-nbi/.mvn/wrapper/maven-wrapper.jar
100644 → 100755
Empty file.
Empty file modified difference-nbi/.mvn/wrapper/maven-wrapper.properties
100644 → 100755
Empty file.
46 changes: 23 additions & 23 deletions difference-nbi/pom.xml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,21 @@

<properties>
<java.version>1.8</java.version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<jackson-2-version>2.9.8</jackson-2-version>
<aws-secrets-manager-version>1.11.339</aws-secrets-manager-version>
<jersey.version>2.27</jersey.version>
</properties>

<dependencies>
<!-- AWS -->
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-secretsmanager</artifactId>
<version>${aws-secrets-manager-version}</version>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<!--artifactId>spring-boot-starter-data-jpa</artifactId-->
Expand All @@ -44,8 +55,7 @@
<scope>test</scope>
</dependency>


<!-- https://jersey.java.net/documentation/latest/modules-and-dependencies.html -->
<!-- https://jersey.java.net/documentation/latest/modules-and-dependencies.html -->
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
Expand All @@ -54,29 +64,25 @@
<dependency>
<groupId>org.glassfish.jersey.containers</groupId>
<artifactId>jersey-container-servlet</artifactId>
<version>2.27</version>
<!-- version>2.27</version-->
</dependency>
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-server</artifactId>
<version>2.27</version>
</dependency>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-client</artifactId>
<version>2.27</version>
</dependency>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-multipart</artifactId>
<version>2.27</version>
</dependency>
</dependency>
<!-- fixes http://stackoverflow.com/questions/23442440/messagebodyreader-not-found-for-media-type-application-json -->
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-json-jackson</artifactId>
<version>2.27</version>
</dependency>
</dependency>
<!-- for spring injection in rest -->
<dependency>
<groupId>org.glassfish.jersey.ext</groupId>
Expand Down Expand Up @@ -108,42 +114,36 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson-2-version}</version>
</dependency>
</dependency>

<!-- Just the annotations; use this dependency if you want to attach annotations
to classes without connecting them to the code. -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${jackson-2-version}</version>
</dependency>
</dependency>

<!-- databinding; ObjectMapper, JsonNode and related classes are here -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson-2-version}</version>
</dependency>
</dependency>

<!-- smile (binary JSON). Other artifacts in this group do other formats. -->
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-smile</artifactId>
<version>${jackson-2-version}</version>
</dependency>
</dependency>
<!-- JAX-RS provider -->
<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId>
<version>${jackson-2-version}</version>
</dependency>
</dependency>
<!-- Support for JAX-B annotations as additional configuration -->
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-jaxb-annotations</artifactId>
<version>${jackson-2-version}</version>
</dependency>
</dependency>
<dependency>
<groupId>com.owlike</groupId>
<artifactId>genson</artifactId>
Expand Down
Empty file modified difference-nbi/src/main/docker/DockerFile
100644 → 100755
Empty file.
Empty file modified difference-nbi/src/main/docker/startService.sh
100644 → 100755
Empty file.
Empty file modified difference-nbi/src/main/java/cloud/difference/nbi/Api.java
100644 → 100755
Empty file.
3 changes: 3 additions & 0 deletions difference-nbi/src/main/java/cloud/difference/nbi/ApiController.java
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ public class ApiController {
@RequestMapping(method=RequestMethod.GET)
public @ResponseBody Api process(@RequestParam(value="action", required=true, defaultValue="undefined") String action) {
String message = "pass";
System.out.println(this.getClass().getCanonicalName());
// external call
//message = externalAPICall(action);
Api api = new Api(counter.incrementAndGet(), message);
return api;
}



/* private String externalAPICall(String action) {
String content = null;
JAXRSClient client = new JAXRSClient();
Expand Down
Empty file.
Empty file modified difference-nbi/src/main/resources/application.properties
100644 → 100755
Empty file.
Empty file.
14 changes: 14 additions & 0 deletions pom.xml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@
<name>difference</name>
<description>difference-cloud project</description>
<packaging>pom</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>

</plugins>
</build>
<modules>
<module>difference-nbi</module>
<module>difference-kubernetes</module>
Expand Down

0 comments on commit 13212ed

Please sign in to comment.