Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Spring Boot 1.4 #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ buildscript {
}
dependencies {
classpath 'org.springframework.build.gradle:propdeps-plugin:0.0.7'
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.1"
}
}

Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ TARGET_COMPATIBILITY = 1.8

LIB_SPRING_GRAPHQL_COMMON_VER = 2.1.+
LIB_JUNIT_VER = 4.12
LIB_SPRING_CORE_VER = 4.2.4.RELEASE
LIB_SPRING_BOOT_VER = 1.3.3.RELEASE
LIB_COMMON_UPLOAD = 1.3.1
LIB_SPRING_CORE_VER = 4.3.2.RELEASE
LIB_SPRING_BOOT_VER = 1.4.0.RELEASE
LIB_COMMON_UPLOAD = 1.3.2

GRADLE_WRAPPER_VER = 2.9

Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sun Mar 27 20:34:11 BST 2016
#Mon Aug 15 20:29:03 EDT 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.9-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.9-all.zip
2 changes: 1 addition & 1 deletion graphiql-spring-boot-autoconfigure/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ buildscript {
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.1"
}
}

Expand Down
2 changes: 1 addition & 1 deletion graphiql-spring-boot-starter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ buildscript {
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.1"
}
}

Expand Down
4 changes: 2 additions & 2 deletions graphql-sample-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ buildscript {
maven { url 'http://repo.spring.io/plugins-release' }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.3.3.RELEASE")
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6"
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.4.0.RELEASE")
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.1"
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

package com.embedler.moon.graphql.boot.sample.test;

import com.embedler.moon.graphql.boot.sample.ApplicationBootConfiguration;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.oembedler.moon.graphql.boot.GraphQLServerRequest;
import com.oembedler.moon.graphql.boot.GraphQLServerResult;
Expand All @@ -28,18 +27,15 @@
import org.junit.runner.RunWith;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.test.IntegrationTest;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.boot.test.TestRestTemplate;
import org.springframework.boot.test.WebIntegrationTest;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.web.client.TestRestTemplate;
import org.springframework.core.io.ClassPathResource;
import org.springframework.http.*;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.util.CollectionUtils;
import org.springframework.util.LinkedMultiValueMap;
import org.springframework.web.client.RestTemplate;

import java.io.IOException;
import java.util.HashMap;
Expand All @@ -48,17 +44,18 @@
/**
* @author <a href="mailto:[email protected]">oEmbedler Inc.</a>
*/
@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(ApplicationBootConfiguration.class)
@WebIntegrationTest("server.port=0")
@RunWith(SpringRunner.class)
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
public class GenericTodoSchemaParserTest {

private static final Logger LOGGER = LoggerFactory.getLogger(GenericTodoSchemaParserTest.class);

@Value("${local.server.port}")
private int port;

private RestTemplate restTemplate = new TestRestTemplate();
@Autowired
private TestRestTemplate restTemplate;

private ObjectMapper objectMapper = new ObjectMapper();

@Test
Expand Down
2 changes: 1 addition & 1 deletion graphql-spring-boot-autoconfigure/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ buildscript {
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.1"
}
}

Expand Down
2 changes: 1 addition & 1 deletion graphql-spring-boot-starter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ buildscript {
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.1"
}
}

Expand Down