http-service: use spring externalized configuration for oauth id/secret

This commit is contained in:
Adam
2017-09-10 13:20:54 -04:00
parent 78f5ddcd3a
commit 2cc0eb4766
4 changed files with 5 additions and 26 deletions
@@ -48,18 +48,6 @@ public class SpringBootWebApplicationTest
}
@Bean("OAuth Client ID")
String oauthClientId()
{
return "moo";
}
@Bean("OAuth Client Secret")
String oauthClientSecret()
{
return "moo2";
}
@Test
@Ignore
public void test() throws InterruptedException
@@ -0,0 +1,2 @@
oauth.client-id=moo
oauth.client-secret=cow