Skip to content
Snippets Groups Projects
Commit d801c6a9 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4814 Added prefix to Spring Cloud Config path

parent 81a65345
No related branches found
No related tags found
No related merge requests found
...@@ -2,3 +2,7 @@ spring: ...@@ -2,3 +2,7 @@ spring:
data: data:
rest: rest:
basePath: /api/configuration basePath: /api/configuration
cloud:
config:
server:
prefix: /configserver
\ No newline at end of file
server:
port: 8080
\ No newline at end of file
...@@ -21,7 +21,7 @@ class AdminEnvironmentITCase { ...@@ -21,7 +21,7 @@ class AdminEnvironmentITCase {
@Test @Test
@SneakyThrows @SneakyThrows
void shouldHaveHttpEndpoint() { void shouldHaveHttpEndpoint() {
var result = mockMvc.perform(get("/example/path")); var result = mockMvc.perform(get("/configserver/example/path"));
result.andExpect(status().isOk()); result.andExpect(status().isOk());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment