Skip to content

Commit

Permalink
Fix advanced ID Match correlation test
Browse files Browse the repository at this point in the history
(When real ID Match service is used.)
  • Loading branch information
mederly committed Aug 4, 2022
1 parent c68f187 commit 38d5691
Showing 1 changed file with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,20 +128,19 @@ private void breakServerAddress(Task task, OperationResult result) throws Common
}

private @NotNull ItemPath getConfigurationPath() {
ObjectSynchronizationType objectSynchronizationBean = RESOURCE_SIS.getObjectable()
.getSynchronization()
.getObjectSynchronization()
ResourceObjectTypeDefinitionType definitionBean = RESOURCE_SIS.getObjectable()
.getSchemaHandling()
.getObjectType()
.get(0);
long synchronizationId = objectSynchronizationBean.getId();
long idMatchId = objectSynchronizationBean
.getCorrelationDefinition()
long idMatchId = definitionBean
.getCorrelation()
.getCorrelators()
.getIdMatch().get(0).getId();
return ItemPath.create(
ResourceType.F_SYNCHRONIZATION,
SynchronizationType.F_OBJECT_SYNCHRONIZATION,
synchronizationId,
ObjectSynchronizationType.F_CORRELATION_DEFINITION,
ResourceType.F_SCHEMA_HANDLING,
SchemaHandlingType.F_OBJECT_TYPE,
definitionBean.getId(),
ResourceObjectTypeDefinitionType.F_CORRELATION,
CorrelationDefinitionType.F_CORRELATORS,
CompositeCorrelatorType.F_ID_MATCH,
idMatchId);
Expand Down

0 comments on commit 38d5691

Please sign in to comment.