Skip to content
This repository has been archived by the owner on Mar 18, 2020. It is now read-only.

Commit

Permalink
Updated to s-c-deployer-nomad:1.2.0.RELEASE
Browse files Browse the repository at this point in the history
* Added .travis.yml
  • Loading branch information
donovanmuller committed Jun 20, 2017
1 parent 8c0b9d6 commit 73c7418
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .mvn/wrapper/maven-wrapper.properties
@@ -1 +1 @@
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.3/apache-maven-3.3.3-bin.zip
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.0/apache-maven-3.5.0-bin.zip
8 changes: 8 additions & 0 deletions .travis.yml
@@ -0,0 +1,8 @@
language: java
jdk:
- oraclejdk8

install: true

script:
- ./mvnw install -Dcheckstyle.skip=true
2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
# Spring Cloud Data Flow Server Nomad
# Spring Cloud Data Flow Server Nomad [![Build Status](https://travis-ci.org/donovanmuller/spring-cloud-dataflow-server-nomad.svg?branch=master)](https://travis-ci.org/donovanmuller/spring-cloud-dataflow-server-nomad)

This project provides support for deploying Spring Cloud Dataflow's streaming and task/batch data pipelines to [Hashicorp Nomad](https://www.nomadproject.io).
It includes an implementation of Spring Cloud Data Flow’s [Deployer SPI for Nomad](https://github.com/donovanmuller/spring-cloud-deployer-nomad).
Expand Down
16 changes: 12 additions & 4 deletions pom.xml
Expand Up @@ -5,13 +5,13 @@
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-parent</artifactId>
<version>1.1.0.RELEASE</version>
<version>1.2.1.RELEASE</version>
<relativePath />
</parent>

<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-server-nomad-parent</artifactId>
<version>1.1.1.BUILD-SNAPSHOT</version>
<version>1.2.0.BUILD-SNAPSHOT</version>
<packaging>pom</packaging>

<name>Spring Cloud Data Flow Server for Nomad</name>
Expand All @@ -31,8 +31,8 @@
</modules>

<properties>
<spring-cloud-dataflow.version>1.1.0.RELEASE</spring-cloud-dataflow.version>
<spring-cloud-deployer-nomad.version>1.1.0.RELEASE</spring-cloud-deployer-nomad.version>
<spring-cloud-dataflow.version>1.2.1.RELEASE</spring-cloud-dataflow.version>
<spring-cloud-deployer-nomad.version>1.2.0.RELEASE</spring-cloud-deployer-nomad.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -91,6 +91,14 @@
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-donovanmuller-switchbit-public</id>
<name>bintray</name>
<url>http://dl.bintray.com/donovanmuller/switchbit-public</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
Expand Down
2 changes: 1 addition & 1 deletion spring-cloud-dataflow-server-nomad-autoconfig/pom.xml
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>spring-cloud-dataflow-server-nomad-parent</artifactId>
<groupId>org.springframework.cloud</groupId>
<version>1.1.1.BUILD-SNAPSHOT</version>
<version>1.2.0.BUILD-SNAPSHOT</version>
</parent>

<artifactId>spring-cloud-dataflow-server-nomad-autoconfig</artifactId>
Expand Down
Expand Up @@ -16,7 +16,7 @@
import org.springframework.core.io.ResourceLoader;

/**
* AutoConfiguration for the {@link NomadDataFlowServer}
* AutoConfiguration for the NomadDataFlowServer
*
* @author Donovan Muller
*/
Expand Down
2 changes: 1 addition & 1 deletion spring-cloud-dataflow-server-nomad-docs/pom.xml
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>spring-cloud-dataflow-server-nomad-parent</artifactId>
<groupId>org.springframework.cloud</groupId>
<version>1.1.1.BUILD-SNAPSHOT</version>
<version>1.2.0.BUILD-SNAPSHOT</version>
</parent>

<artifactId>spring-cloud-dataflow-server-nomad-docs</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions spring-cloud-dataflow-server-nomad/pom.xml
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-server-nomad-parent</artifactId>
<version>1.1.1.BUILD-SNAPSHOT</version>
<version>1.2.0.BUILD-SNAPSHOT</version>
</parent>

<groupId>org.springframework.cloud</groupId>
Expand Down Expand Up @@ -74,7 +74,7 @@
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.18.1</version>
<version>0.21.0</version>
<configuration>
<images>
<image>
Expand Down
@@ -1,11 +1,13 @@
package org.springframework.cloud.dataflow.server.nomad;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.dataflow.server.EnableDataFlowServer;

/**
* @author Donovan Muller
*/
@SpringBootApplication
@EnableDataFlowServer
public class NomadDataFlowServer {

Expand Down
Expand Up @@ -42,7 +42,7 @@ public void testDeployerProperties() {
public void testSupportedResource() {
DelegatingResourceLoader resourceLoader = context.getBean(DelegatingResourceLoader.class);
assertThat(resourceLoader
.getResource("maven://org.springframework.cloud:spring-cloud-dataflow-server-core:1.1.0.RELEASE"))
.getResource("maven://org.springframework.cloud:spring-cloud-dataflow-server-core:1.2.1.RELEASE"))
.isInstanceOf(MavenResource.class);
assertThat(resourceLoader.getResource("docker://helloworld:latest")).isInstanceOf(DockerResource.class);
}
Expand Down

0 comments on commit 73c7418

Please sign in to comment.