Skip to content

Commit

Permalink
Merge pull request #2707 from MeroRai/PAYARA-2608
Browse files Browse the repository at this point in the history
PAYARA-2608 Excessive use of JDBC connections for listing JBatch job executions
  • Loading branch information
arjantijms authored May 22, 2018
2 parents 2cd7c63 + 694a614 commit 3beb3dc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
only if the new code is made subject to such option by the copyright
holder.
Portions Copyright [2018] [Payara Foundation and/or its affiliates]
-->

<!initPage
Expand All @@ -55,7 +56,7 @@
setSessionAttribute(key="#{pageSession.tabSetName}" value="batchJobs");
createMap(result="#{requestScope.attrsMap}");
mapPut(map="#{requestScope.attrsMap}" key="target" value="#{pageSession.encodedTarget}");
mapPut(map="#{requestScope.attrsMap}" key="long" value="true");
mapPut(map="#{requestScope.attrsMap}" key="output" value="executionid,jobname,batchstatus,exitstatus,instanceid,starttime,endtime");
gf.restRequest(endpoint="#{sessionScope.REST_URL}/list-batch-jobs" attrs="#{requestScope.attrsMap}" method="GET" result="#{requestScope.resp}");
setAttribute(key="listOfRows", value="#{requestScope.resp.data.extraProperties.listBatchJobs}");
setPageSessionAttribute(key="tableTitle" value="$resource{i18nf.batch.batchJobsTableTitle}");
Expand Down

0 comments on commit 3beb3dc

Please sign in to comment.