misofng-provider now uses 8080 by default, also reporting resource set to /v1/reports

This commit is contained in:
John Woodlock
2012-05-14 14:17:40 +10:00
parent e085bfa39c
commit 1612ff7886
4 changed files with 6 additions and 7 deletions
@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
public class InMemoryApplicationConfigurationService implements
ApplicationConfigurationService {
private String oauthProviderUrl = "http://localhost:8085/mifosng-provider/";
private String oauthProviderUrl = "http://localhost:8080/mifosng-provider/";
private String requestTokenURL = "oauth/request_token";
private String userAuthorizationURL = "oauth/confirm_access";
private String accessTokenURL = "oauth/access_token";
@@ -42,7 +42,7 @@ public class ReportingRestOperationsImpl implements ReportingRestOperations {
public void hackToForceAuthentication() {
try {
URI restUri = URI
.create(getBaseServerUrl().concat("api/v1/flexiblereporting/forceauth"));
.create(getBaseServerUrl().concat("api/v1/reports/forceauth"));
this.oauthRestServiceTemplate.exchange(restUri, HttpMethod.GET, emptyRequest(), null);
} catch (HttpStatusCodeException e) {