diff --git a/src/main/java/kr/co/mcmp/oss/nexus/api/NexusRestClient.java b/src/main/java/kr/co/mcmp/oss/nexus/api/NexusRestClient.java index 30cddc0..e8ac159 100644 --- a/src/main/java/kr/co/mcmp/oss/nexus/api/NexusRestClient.java +++ b/src/main/java/kr/co/mcmp/oss/nexus/api/NexusRestClient.java @@ -37,7 +37,7 @@ @Component public class NexusRestClient { - private static String NEXUS_API_BASE_URL = "/service/rest/"; + private static String NEXUS_API_BASE_URL = "service/rest"; private static final int CONNECT_TIMEOUT = 10000; private static final int READ_TIMEOUT = 10000; diff --git a/src/main/java/kr/co/mcmp/oss/nexus/api/NexusStatusApi.java b/src/main/java/kr/co/mcmp/oss/nexus/api/NexusStatusApi.java index 56463ec..98ab8eb 100644 --- a/src/main/java/kr/co/mcmp/oss/nexus/api/NexusStatusApi.java +++ b/src/main/java/kr/co/mcmp/oss/nexus/api/NexusStatusApi.java @@ -15,7 +15,7 @@ public class NexusStatusApi { private NexusRestClient client; public HttpStatus statusEndpoint(OssDto nexus) { - final String path = "/v1/status"; + final String path = "v1/status"; String url = client.getUriBuilder(nexus.getOssUrl(), path).build().toUriString(); log.debug("endpoint url : {}", url);