This is an automated email from the ASF dual-hosted git repository.

onichols pushed a commit to branch support/1.15
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/support/1.15 by this push:
     new c30c3ab60e GEODE-10375: update supported api docs link (#7794)
c30c3ab60e is described below

commit c30c3ab60e31af26859f474e5200e31c80a23315
Author: Jinmei Liao <[email protected]>
AuthorDate: Fri Jun 10 11:52:15 2022 -0700

    GEODE-10375: update supported api docs link (#7794)
    
    (cherry picked from commit e0f20a529c8ef961e7038b4f4235a76411ff317e)
---
 .../internal/rest/DocLinksControllerRestIntegrationTest.java          | 4 ++--
 .../management/internal/rest/controllers/DocLinksController.java      | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/geode-web-management/src/integrationTest/java/org/apache/geode/management/internal/rest/DocLinksControllerRestIntegrationTest.java
 
b/geode-web-management/src/integrationTest/java/org/apache/geode/management/internal/rest/DocLinksControllerRestIntegrationTest.java
index b9fbc1dc9c..aaab8b4f58 100644
--- 
a/geode-web-management/src/integrationTest/java/org/apache/geode/management/internal/rest/DocLinksControllerRestIntegrationTest.java
+++ 
b/geode-web-management/src/integrationTest/java/org/apache/geode/management/internal/rest/DocLinksControllerRestIntegrationTest.java
@@ -68,8 +68,8 @@ public class DocLinksControllerRestIntegrationTest {
     webContext.perform(get("/"))
         .andDo(print())
         .andExpect(status().isOk())
-        .andExpect(jsonPath("$.latest", is(basePath + "/v1/api-docs")))
+        .andExpect(jsonPath("$.latest", is(basePath + "/v3/api-docs")))
         .andExpect(jsonPath("$.supported", hasSize(1)))
-        .andExpect(jsonPath("$.supported[0]", is(basePath + "/v1/api-docs")));
+        .andExpect(jsonPath("$.supported[0]", is(basePath + "/v3/api-docs")));
   }
 }
diff --git 
a/geode-web-management/src/main/java/org/apache/geode/management/internal/rest/controllers/DocLinksController.java
 
b/geode-web-management/src/main/java/org/apache/geode/management/internal/rest/controllers/DocLinksController.java
index 93665e20ee..e74d637c48 100644
--- 
a/geode-web-management/src/main/java/org/apache/geode/management/internal/rest/controllers/DocLinksController.java
+++ 
b/geode-web-management/src/main/java/org/apache/geode/management/internal/rest/controllers/DocLinksController.java
@@ -35,7 +35,7 @@ public class DocLinksController {
     DocLinks docLinks = new DocLinks();
     String baseURL = request.getRequestURL().toString();
     List<String> uriList = new ArrayList<>();
-    uriList.add(baseURL + "v1/api-docs");
+    uriList.add(baseURL + "v3/api-docs");
     docLinks.setLatest(uriList.get(0));
     docLinks.setSupported(uriList);
     return new ResponseEntity<>(docLinks, HttpStatus.OK);

Reply via email to