Skip to content

Commit

Permalink
look at my bottom if you want to see my privates
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Jones committed Dec 6, 2015
1 parent 7c16434 commit 9960008
Showing 1 changed file with 14 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,6 @@ public void setup() throws Exception
);
}

private void startClient(boolean configEnabled)
{
clientContext = SpringApplication.run(
SpringCloudConfigClientApplication.class,
"--spring.jmx.enabled=false",
"--spring.profiles.active=client",
"--spring.cloud.config.enabled="+configEnabled,
"--spring.cloud.config.uri=http://localhost:8080",
"--my.key=default-value",
"--server.port=8081"
);
}

@After
public void teardown()
Expand Down Expand Up @@ -122,4 +110,18 @@ private void copyFixture(String fixture, Path destination) throws IOException
File fixtureFile = new File(getClass().getClassLoader().getResource(fixture).getFile());
Files.copy(fixtureFile.toPath(), destination);
}


private void startClient(boolean configEnabled)
{
clientContext = SpringApplication.run(
SpringCloudConfigClientApplication.class,
"--spring.jmx.enabled=false",
"--spring.profiles.active=client",
"--spring.cloud.config.enabled="+configEnabled,
"--spring.cloud.config.uri=http://localhost:8080",
"--my.key=default-value",
"--server.port=8081"
);
}
}

0 comments on commit 9960008

Please sign in to comment.