-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Here we added the schema needed to create searchable ("indexed") values in identity/items/normalized container. No implementation yet, only the schema. Some shuffling of identity/correlation schema was done as well. Also, low-level correlators tests were fixed, and a skeleton of new TestItemsCorrelator was created.
- Loading branch information
Showing
45 changed files
with
964 additions
and
816 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ObjectTemplateTypeUtil.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* Copyright (C) 2010-2022 Evolveum and contributors | ||
* | ||
* This work is dual-licensed under the Apache License 2.0 | ||
* and European Union Public License. See LICENSE file for details. | ||
*/ | ||
|
||
package com.evolveum.midpoint.schema.util; | ||
|
||
import org.jetbrains.annotations.Nullable; | ||
|
||
import com.evolveum.midpoint.xml.ns._public.common.common_3.CompositeCorrelatorType; | ||
import com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectTemplateCorrelationType; | ||
import com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectTemplateType; | ||
|
||
public class ObjectTemplateTypeUtil { | ||
|
||
public static @Nullable CompositeCorrelatorType getCorrelators(@Nullable ObjectTemplateType template) { | ||
if (template == null) { | ||
return null; | ||
} | ||
ObjectTemplateCorrelationType correlation = template.getCorrelation(); | ||
return correlation != null ? correlation.getCorrelators() : null; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.