Change-Id: I125aa3e3184a095d863fba08798b2d32dd47fc07
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
* Align page titles to top left,decrease font size
* Update EPSDK-FW to version 2.6
* Make constructor robust to missing caasingress.insecure property
+* Repair bug that omitted slashes in CAAS-Ingress URL builder
Version 1.2.3, 4 Oct 2019
-------------------------
public String listPods(String namespace) {
logger.debug("listPods for namespace {}", namespace);
- String podsUrl = new DefaultUriBuilderFactory(k8sUrl.trim()).builder().path("v1").path("namespaces")
- .path(namespace.trim()).path("pods").build().normalize().toString();
+ String podsUrl = new DefaultUriBuilderFactory(k8sUrl.trim()).builder().pathSegment("v1")
+ .pathSegment("namespaces").pathSegment(namespace.trim()).pathSegment("pods").build().normalize()
+ .toString();
RestTemplate rt = new RestTemplate();
ResponseEntity<String> podsResponse = rt.getForEntity(podsUrl, String.class);
return podsResponse.getBody();