From cd1e170cc19ec681db6061eece6853d338a78f1d Mon Sep 17 00:00:00 2001 From: ysh Date: Thu, 19 Sep 2024 13:02:43 +0900 Subject: [PATCH] Repository management(Nexus) update --- src/main/java/kr/co/mcmp/oss/nexus/api/NexusRestClient.java | 2 +- src/main/java/kr/co/mcmp/oss/nexus/api/NexusStatusApi.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);