You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by fm...@apache.org on 2017/11/08 14:39:40 UTC
syncope git commit: provides paged result cookie return from
migration groovy search script
Repository: syncope
Updated Branches:
refs/heads/2_0_X c8542cce3 -> 5078b5f09
provides paged result cookie return from migration groovy search script
Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/5078b5f0
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/5078b5f0
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/5078b5f0
Branch: refs/heads/2_0_X
Commit: 5078b5f096a4144b47c903ebbc179a8c117d1a01
Parents: c8542cc
Author: fmartelli <fa...@gmail.com>
Authored: Wed Nov 8 15:39:15 2017 +0100
Committer: fmartelli <fa...@gmail.com>
Committed: Wed Nov 8 15:39:15 2017 +0100
----------------------------------------------------------------------
.../src/main/resources/scripted/SearchScript.groovy | 8 ++++++++
1 file changed, 8 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/syncope/blob/5078b5f0/core/migration/src/main/resources/scripted/SearchScript.groovy
----------------------------------------------------------------------
diff --git a/core/migration/src/main/resources/scripted/SearchScript.groovy b/core/migration/src/main/resources/scripted/SearchScript.groovy
index 6e10651..298dc93 100644
--- a/core/migration/src/main/resources/scripted/SearchScript.groovy
+++ b/core/migration/src/main/resources/scripted/SearchScript.groovy
@@ -180,4 +180,12 @@ default:
log.ok(action + " script done");
+// ----------------
+// Add paged result cookie
+// ----------------
+def pagedResultCookieLine = [:]
+pagedResultCookieLine.put(OperationOptions.OP_PAGED_RESULTS_COOKIE, pagedResultsCookie);
+result.add(pagedResultCookieLine);
+// ----------------
+
return result;