From 7c0955ce158fdbda8c45718d6570df368158e46b Mon Sep 17 00:00:00 2001 From: Steve Millidge Date: Tue, 28 Oct 2014 18:21:36 +0000 Subject: [PATCH] Ensure the REST request list-batch-runtime-configuration uses the correct target parameter so that the correct configuration is shown Fix for GLASSFISH-21018 --- .../full/src/main/resources/batch/batchConfiguration_1.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appserver/payara-admingui/full/src/main/resources/batch/batchConfiguration_1.inc b/appserver/payara-admingui/full/src/main/resources/batch/batchConfiguration_1.inc index dcff5eea27a..70ea52da6a5 100644 --- a/appserver/payara-admingui/full/src/main/resources/batch/batchConfiguration_1.inc +++ b/appserver/payara-admingui/full/src/main/resources/batch/batchConfiguration_1.inc @@ -55,7 +55,7 @@ setSessionAttribute(key="#{pageSession.tabSetName}" value="batchConfig"); createMap(result="#{pageSession.attrsMap}") mapPut(map="#{pageSession.attrsMap}" key="target" value="#{pageSession.encodedTarget}"); - gf.restRequest(endpoint="#{sessionScope.REST_URL}/list-batch-runtime-configuration" method="GET" result="#{requestScope.resp}"); + gf.restRequest(endpoint="#{sessionScope.REST_URL}/list-batch-runtime-configuration?target=#{pageSession.target}" method="GET" result="#{requestScope.resp}"); setPageSessionAttribute(key="valueMap", value="#{requestScope.resp.data.extraProperties.listBatchRuntimeConfiguration}"); mapPut(map="#{pageSession.valueMap}" key="target" value="#{pageSession.encodedTarget}"); />