Searched defs:resultEntry (Results 1 - 25 of 29) sorted by relevance

12

/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/tasks/
H A DTasksTestCase.java74 Entry resultEntry = getCompletedTaskEntry(taskEntry.getName(), timeoutInSec);
75 String stateString = parseAttribute(resultEntry, ATTR_TASK_STATE).asString();
81 Set<String> logMessages = parseAttribute(resultEntry, ATTR_TASK_LOG_MESSAGES).asSetOfString();
102 Entry resultEntry = searchOperation.getSearchEntries().getFirst();
103 String completionTime = parseAttribute(resultEntry, ATTR_TASK_COMPLETION_TIME).asString();
105 "The task had not completed after " + timeoutInSec + " seconds.\nresultEntry=[" + resultEntry + "]");
106 return resultEntry;
111 private AttributeParser parseAttribute(Entry resultEntry, String attrName) argument
113 return resultEntry.parseAttribute(attrName.toLowerCase());
/forgerock/openam-v13/openam-upgrade/src/test/java/org/forgerock/openam/upgrade/steps/
H A DRemoveReferralsStepTest.java86 private SearchResultEntry resultEntry; field in class:RemoveReferralsStepTest
120 given(entryReader.readEntry()).willReturn(resultEntry);
121 given(resultEntry.getName()).willReturn(DN.valueOf("ou=test,ou=forgerock,ou=org"));
133 given(resultEntry.parseAttribute("sunKeyValue")).willReturn(attributeParser);
/forgerock/openam/openam-upgrade/src/test/java/org/forgerock/openam/upgrade/steps/
H A DRemoveReferralsStepTest.java88 private SearchResultEntry resultEntry; field in class:RemoveReferralsStepTest
123 given(entryReader.readEntry()).willReturn(resultEntry);
124 given(resultEntry.getName()).willReturn(DN.valueOf("ou=test,ou=forgerock,ou=org"));
135 given(resultEntry.parseAttribute("sunKeyValue")).willReturn(attributeParser);
/forgerock/opendj-b2.6/src/server/org/opends/server/replication/plugin/
H A DPersistentServerState.java277 * @param resultEntry The entry that should be used to update this
280 private void updateStateFromEntry(SearchResultEntry resultEntry) argument
285 resultEntry.getAttribute(synchronizationStateType);
/forgerock/opendj2/src/server/org/opends/server/replication/plugin/
H A DPersistentServerState.java229 * @param resultEntry The entry that should be used to update this
232 private void updateStateFromEntry(SearchResultEntry resultEntry) argument
236 List<Attribute> attrs = resultEntry.getAttribute(synchronizationStateType);
/forgerock/opendj2.6.2/src/server/org/opends/server/replication/plugin/
H A DPersistentServerState.java277 * @param resultEntry The entry that should be used to update this
280 private void updateStateFromEntry(SearchResultEntry resultEntry) argument
285 resultEntry.getAttribute(synchronizationStateType);
/forgerock/opendj2-jel-hg/src/server/org/opends/server/replication/plugin/
H A DPersistentServerState.java277 * @param resultEntry The entry that should be used to update this
280 private void updateStateFromEntry(SearchResultEntry resultEntry) argument
285 resultEntry.getAttribute(synchronizationStateType);
/forgerock/opendj2-hg/src/server/org/opends/server/replication/plugin/
H A DPersistentServerState.java229 * @param resultEntry The entry that should be used to update this
232 private void updateStateFromEntry(SearchResultEntry resultEntry) argument
236 List<Attribute> attrs = resultEntry.getAttribute(synchronizationStateType);
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/
H A DPersistentServerState.java218 * @param resultEntry The entry that should be used to update this
221 private void updateStateFromEntry(SearchResultEntry resultEntry) argument
224 List<Attribute> attrs = resultEntry.getAttribute(synchronizationStateType);
/forgerock/opendj-b2.6/src/server/org/opends/server/protocols/http/
H A DCollectClientConnectionsFilter.java135 public void handleResult(SearchResultEntry resultEntry) argument
137 final DN bindDN = resultEntry.getName();
148 new CallDoFilterResultHandler(ctx, resultEntry));
163 private final SearchResultEntry resultEntry; field in class:CollectClientConnectionsFilter.CallDoFilterResultHandler
166 SearchResultEntry resultEntry)
169 this.resultEntry = resultEntry;
184 new AuthenticationInfo(to(resultEntry), to(resultEntry.getName()),
165 CallDoFilterResultHandler(HTTPRequestContext ctx, SearchResultEntry resultEntry) argument
/forgerock/opendj2/src/server/org/opends/server/protocols/http/
H A DCollectClientConnectionsFilter.java127 public void handleResult(SearchResultEntry resultEntry) argument
129 final DN bindDN = resultEntry.getName();
/forgerock/opendj2.6.2/src/server/org/opends/server/protocols/http/
H A DCollectClientConnectionsFilter.java128 public void handleResult(SearchResultEntry resultEntry) argument
130 final DN bindDN = resultEntry.getName();
/forgerock/opendj2-jel-hg/src/server/org/opends/server/protocols/http/
H A DCollectClientConnectionsFilter.java135 public void handleResult(SearchResultEntry resultEntry) argument
137 final DN bindDN = resultEntry.getName();
148 new CallDoFilterResultHandler(ctx, resultEntry));
163 private final SearchResultEntry resultEntry; field in class:CollectClientConnectionsFilter.CallDoFilterResultHandler
166 SearchResultEntry resultEntry)
169 this.resultEntry = resultEntry;
184 new AuthenticationInfo(to(resultEntry), to(resultEntry.getName()),
165 CallDoFilterResultHandler(HTTPRequestContext ctx, SearchResultEntry resultEntry) argument
/forgerock/opendj2-hg/src/server/org/opends/server/protocols/http/
H A DCollectClientConnectionsFilter.java127 public void handleResult(SearchResultEntry resultEntry) argument
129 final DN bindDN = resultEntry.getName();
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/replication/
H A DInitOnLineTest.java205 Entry resultEntry = getEntry(entryDN, 1000, true);
206 if (resultEntry == null)
236 Entry resultEntry = getCompletionTime(taskEntry);
242 resultEntry.getAttributeValue(taskStateType,
252 resultEntry.getAttributeValues(logMessagesType,
262 assertAttributeValue(resultEntry, ATTR_TASK_INITIALIZE_LEFT,
266 assertAttributeValue(resultEntry, ATTR_TASK_INITIALIZE_DONE,
287 Entry resultEntry = searchOperation.getSearchEntries().getFirst();
289 String completionTime = resultEntry.getAttributeValue(
294 return resultEntry;
306 assertAttributeValue(Entry resultEntry, String lowerAttrName, long expected, String message) argument
[all...]
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/replication/
H A DInitOnLineTest.java205 Entry resultEntry = getEntry(entryDN, 1000, true);
206 if (resultEntry == null)
236 Entry resultEntry = getCompletionTime(taskEntry);
242 resultEntry.getAttributeValue(taskStateType,
252 resultEntry.getAttributeValues(logMessagesType,
262 assertAttributeValue(resultEntry, ATTR_TASK_INITIALIZE_LEFT,
266 assertAttributeValue(resultEntry, ATTR_TASK_INITIALIZE_DONE,
287 Entry resultEntry = searchOperation.getSearchEntries().getFirst();
289 String completionTime = resultEntry.getAttributeValue(
294 return resultEntry;
306 assertAttributeValue(Entry resultEntry, String lowerAttrName, long expected, String message) argument
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/core/
H A DSearchOperationTestCase.java409 Entry resultEntry = getSingleEntry(searchOperation);
411 resultEntry, testEntry.getObjectClasses(), testEntry.getUserAttributes().size() + 1);
412 assertThat(resultEntry.getOperationalAttributes()).isEmpty();
421 Entry resultEntry = getSingleEntry(getRootConnection().processSearch(request));
422 assertEntrySizes(resultEntry, 0, testEntry.getUserAttributes().size() + 1, 0);
429 Entry resultEntry = getSingleEntry(searchOperation);
430 assertThat(resultEntry.getObjectClasses()).isEmpty();
431 assertThat(resultEntry.getUserAttributes()).isEmpty();
432 assertThat(resultEntry.getOperationalAttributes()).isNotEmpty();
439 Entry resultEntry
456 assertObjectClassesAndUserAttributes(Entry resultEntry, Map<ObjectClass, String> objectClasses, int nbUserAttrs) argument
474 assertEntrySizes(Entry resultEntry, int nbOCs, int nbUserAttrs, int nbOperationalAttrs) argument
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/replication/
H A DInitOnLineTest.java199 Entry resultEntry = getEntry(entryDN, 1000, true);
200 if (resultEntry == null)
230 Entry resultEntry = getCompletionTime(taskEntry);
234 resultEntry.parseAttribute(ATTR_TASK_STATE.toLowerCase()).asString();
240 Set<String> logMessages = resultEntry.parseAttribute(
249 assertAttributeValue(resultEntry, ATTR_TASK_INITIALIZE_LEFT,
253 assertAttributeValue(resultEntry, ATTR_TASK_INITIALIZE_DONE,
269 Entry resultEntry = searchOperation.getSearchEntries().getFirst();
271 String completionTime = resultEntry.parseAttribute(
275 return resultEntry;
287 assertAttributeValue(Entry resultEntry, String lowerAttrName, long expected, String message) argument
[all...]
H A DReplicationTestCase.java623 Entry resultEntry = timer.repeatUntilSuccess(new Callable<Entry>()
631 Entry resultEntry = searchOperation.getSearchEntries().get(0);
632 String completionTime = resultEntry.parseAttribute(
635 return resultEntry;
640 String stateString = resultEntry.parseAttribute(
710 Entry resultEntry = timer.repeatUntilSuccess(new Callable<Entry>()
717 Entry resultEntry = searchOperation.getSearchEntries().getFirst();
719 TaskState taskState = getTaskState(resultEntry);
721 return resultEntry;
726 Set<String> logMessages = resultEntry
759 getTaskState(Entry resultEntry) argument
[all...]
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/replication/
H A DExternalChangeLogTest.java834 for (SearchResultEntry resultEntry : entries)
839 resultEntry.toLDIFString());
844 // checkPossibleValues(resultEntry,"targetobjectclass","top","organization");
874 for (SearchResultEntry resultEntry : entries)
878 + resultEntry.toLDIFString());
1107 for (SearchResultEntry resultEntry : entries)
1109 debugInfo(tn, "Result entry=\n" + resultEntry.toLDIFString());
1110 ldifWriter.writeEntry(resultEntry);
1114 resultEntry.getAttribute("changelogcookie").get(0).iterator().next().toString();
1150 for (SearchResultEntry resultEntry
4394 parseIncludedAttributes( SearchResultEntry resultEntry, String targetdn) argument
[all...]
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/backends/
H A DChangelogBackendTestCase.java708 for (SearchResultEntry resultEntry : searchOp.getSearchEntries())
710 String targetdn = getAttributeValue(resultEntry, "targetdn");
715 Entry targetEntry = parseIncludedAttributes(resultEntry, targetdn);
720 String changeType = getAttributeValue(resultEntry, "changetype");
737 Entry targetEntry = parseIncludedAttributes(resultEntry, targetdn);
743 assertAttributeValue(resultEntry,"changeinitiatorsname", "cn=Internal Client,cn=Root DNs,cn=config");
907 for (SearchResultEntry resultEntry : entries)
909 ldifWriter.writeEntry(resultEntry);
910 cookie = getAttributeValue(resultEntry, "lastexternalchangelogcookie");
1320 private void assertEntryCommonAttributes(SearchResultEntry resultEntry, argument
1404 assertDNWithChangeNumber(SearchResultEntry resultEntry, long changeNumber) argument
1411 assertDNWithCSN(SearchResultEntry resultEntry, CSN csn) argument
1467 parseIncludedAttributes(SearchResultEntry resultEntry, String targetdn) argument
[all...]
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/replication/
H A DExternalChangeLogTest.java834 for (SearchResultEntry resultEntry : entries)
839 resultEntry.toLDIFString());
844 // checkPossibleValues(resultEntry,"targetobjectclass","top","organization");
874 for (SearchResultEntry resultEntry : entries)
878 + resultEntry.toLDIFString());
1107 for (SearchResultEntry resultEntry : entries)
1109 debugInfo(tn, "Result entry=\n" + resultEntry.toLDIFString());
1110 ldifWriter.writeEntry(resultEntry);
1114 resultEntry.getAttribute("changelogcookie").get(0).iterator().next().toString();
1150 for (SearchResultEntry resultEntry
4394 parseIncludedAttributes( SearchResultEntry resultEntry, String targetdn) argument
[all...]
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/backends/
H A DChangelogBackendTestCase.java708 for (SearchResultEntry resultEntry : searchOp.getSearchEntries())
710 String targetdn = getAttributeValue(resultEntry, "targetdn");
715 Entry targetEntry = parseIncludedAttributes(resultEntry, targetdn);
720 String changeType = getAttributeValue(resultEntry, "changetype");
737 Entry targetEntry = parseIncludedAttributes(resultEntry, targetdn);
743 assertAttributeValue(resultEntry,"changeinitiatorsname", "cn=Internal Client,cn=Root DNs,cn=config");
907 for (SearchResultEntry resultEntry : entries)
909 ldifWriter.writeEntry(resultEntry);
910 cookie = getAttributeValue(resultEntry, "lastexternalchangelogcookie");
1320 private void assertEntryCommonAttributes(SearchResultEntry resultEntry, argument
1404 assertDNWithChangeNumber(SearchResultEntry resultEntry, long changeNumber) argument
1411 assertDNWithCSN(SearchResultEntry resultEntry, CSN csn) argument
1467 parseIncludedAttributes(SearchResultEntry resultEntry, String targetdn) argument
[all...]
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/replication/
H A DExternalChangeLogTest.java834 for (SearchResultEntry resultEntry : entries)
839 resultEntry.toLDIFString());
844 // checkPossibleValues(resultEntry,"targetobjectclass","top","organization");
874 for (SearchResultEntry resultEntry : entries)
878 + resultEntry.toLDIFString());
1107 for (SearchResultEntry resultEntry : entries)
1109 debugInfo(tn, "Result entry=\n" + resultEntry.toLDIFString());
1110 ldifWriter.writeEntry(resultEntry);
1114 resultEntry.getAttribute("changelogcookie").get(0).iterator().next().toString();
1150 for (SearchResultEntry resultEntry
4394 parseIncludedAttributes( SearchResultEntry resultEntry, String targetdn) argument
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/backends/
H A DChangelogBackendTestCase.java724 for (SearchResultEntry resultEntry : searchOp.getSearchEntries())
726 String targetdn = getAttributeValue(resultEntry, "targetdn");
731 Entry targetEntry = parseIncludedAttributes(resultEntry, targetdn);
736 String changeType = getAttributeValue(resultEntry, "changetype");
753 Entry targetEntry = parseIncludedAttributes(resultEntry, targetdn);
759 assertAttributeValue(resultEntry,"changeinitiatorsname", "cn=Internal Client,cn=Root DNs,cn=config");
902 for (SearchResultEntry resultEntry : entries)
904 ldifWriter.writeEntry(resultEntry);
905 cookie = getAttributeValue(resultEntry, "lastexternalchangelogcookie");
1345 private void assertEntryCommonAttributes(SearchResultEntry resultEntry, argument
1440 assertDNWithChangeNumber(SearchResultEntry resultEntry, long changeNumber) argument
1447 assertDNWithCSN(SearchResultEntry resultEntry, CSN csn) argument
1503 parseIncludedAttributes(SearchResultEntry resultEntry, String targetdn) argument
[all...]

Completed in 543 milliseconds

12