update url to demo url
This commit is contained in:
+4
-1
@@ -8,7 +8,10 @@ import org.springframework.stereotype.Service;
|
||||
@Service
|
||||
public class InMemoryApplicationConfigurationService implements ApplicationConfigurationService {
|
||||
|
||||
private String platformApiUrl = "https://localhost:8443/mifosng-provider/api/v1/";
|
||||
// demo url
|
||||
private String platformApiUrl = "https://ec2-46-137-62-163.eu-west-1.compute.amazonaws.com:8443/mifosng-provider/api/v1/";
|
||||
// dev url
|
||||
// private String platformApiUrl = "https://localhost:8443/mifosng-provider/api/v1/";
|
||||
|
||||
public InMemoryApplicationConfigurationService() {
|
||||
//
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">
|
||||
|
||||
<http create-session="stateless" use-expressions="true" pattern="/api/**">
|
||||
<http create-session="stateless" use-expressions="true" pattern="/api/**" realm="Mifos Platform API">
|
||||
<intercept-url pattern="/api/*/authentication" access="permitAll" method="POST" requires-channel="https" />
|
||||
<intercept-url pattern="/api/**" access="isFullyAuthenticated()" method="GET" requires-channel="https" />
|
||||
<intercept-url pattern="/api/**" access="isFullyAuthenticated()" method="POST" requires-channel="https"/>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
</appender>
|
||||
|
||||
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
|
||||
<file>${catalina.home}/logs/mifosng-provider.log</file>
|
||||
<file>${catalina.base}/logs/mifosng-provider.log</file>
|
||||
<append>true</append>
|
||||
<!-- encoders are assigned the type
|
||||
ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
|
||||
|
||||
Reference in New Issue
Block a user