Skip to content

Commit

Permalink
Merge pull request #12 from nfl/external_removal
Browse files Browse the repository at this point in the history
Remove ExternalReferenceRepositoryImpl
  • Loading branch information
nflearl authored Dec 21, 2017
2 parents 3f26f78 + 0d6af4a commit 3d1fc8f
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 27 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ dependencies {
compile 'org.springframework:spring-web:4.3.13.RELEASE'

compile 'com.graphql-java:graphql-java:4.2'
compile 'com.nfl.graphql:mediator:1.+'

compile 'com.fasterxml.jackson.core:jackson-annotations:2.8.0'
compile 'com.fasterxml.jackson.core:jackson-core:2.8.6'
compile 'com.fasterxml.jackson.core:jackson-databind:2.8.6'
testCompile('org.testng:testng:6.13.1')
testCompile('org.codehaus.groovy:groovy-all:2.4.4')
testCompile('org.spockframework:spock-core:1.1-groovy-2.4')
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ maven.central.sync=false
sonatype.username=DUMMY_SONATYPE_USER
sonatype.password=DUMMY_SONATYPE_PASSWORD

PROJECT_VERSION=1.0.4
PROJECT_VERSION=1.0.5
PROJECT_GITHUB_REPO_URL=https://github.com/nfl/gold
PROJECT_LICENSE_URL=https://github.com/nfl/gold/blob/master/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

@SuppressWarnings("unused")
@Service("stubbedExternal")
@Primary
public class StubbedExternalReferenceRepository implements ExternalReferenceRepository {

private final Map<String, Map<String, Map<String, Object>>> externalInstances
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
package com.nfl.dm.shield.dynamic;

import com.nfl.dm.shield.dynamic.repository.ExternalReferenceRepositoryImpl;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;

@Configuration
@ComponentScan(basePackages = {"com.nfl.dm.shield.dynamic"}, excludeFilters =
{
@ComponentScan.Filter(value = {
ExternalReferenceRepositoryImpl.class},
type = FilterType.ASSIGNABLE_TYPE)
})
@ComponentScan(basePackages = {"com.nfl.dm.shield.dynamic"})
public class ApplicationTestConfig {

}

This file was deleted.

0 comments on commit 3d1fc8f

Please sign in to comment.