Skip to content

Commit 4cc6fdf

Browse files
Updated URL for Event Repository in property file and test file (#182)
1 parent b4e6f40 commit 4cc6fdf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ spring.mail.properties.mail.smtp.starttls.enable: false
114114
# end point for downstream and upstream search in
115115
# event repository
116116
er.url:
117-
#er.url: http://localhost:8080/search/
117+
#er.url: http://localhost:8080/eventrepository/search/
118118
# settings for ldap server if ldap authentication is needed
119119
ldap.enabled: false
120120
ldap.url:

src/test/java/com/ericsson/ei/erqueryservice/test/ERQueryServiceTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public class ERQueryServiceTest {
7777
public static void init() {
7878
int port = SocketUtils.findAvailableTcpPort();
7979
System.setProperty("spring.data.mongodb.port", "" + port);
80-
System.setProperty("er.url", "http://localhost:8080/search/");
80+
System.setProperty("er.url", "http://localhost:8080/eventrepository/search/");
8181
}
8282

8383
@Before public void setUp() throws Exception {
@@ -115,7 +115,7 @@ Answer<ResponseEntity> returnRestExchange(URI url, HttpMethod method, HttpEntity
115115
public String buildUri() {
116116
String uri = "";
117117
// example uri
118-
// http://localhost:8080/search/01?limit=85&levels=2&tree=true
118+
// http://localhost:8080/eventrepository/search/01?limit=85&levels=2&tree=true
119119
uri += erQueryService.getUrl().trim() + eventId + "?limit=" + limitParam + "&levels=" + levels + "&tree=" + isTree;
120120
return uri;
121121
}

0 commit comments

Comments
 (0)