http-service: use spring externalized configuration for oauth id/secret
This commit is contained in:
@@ -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
|
||||
|
||||
2
http-service/src/test/resources/application.properties
Normal file
2
http-service/src/test/resources/application.properties
Normal file
@@ -0,0 +1,2 @@
|
||||
oauth.client-id=moo
|
||||
oauth.client-secret=cow
|
||||
Reference in New Issue
Block a user