-
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.
Add objects for detection and clustering task tests
- Loading branch information
1 parent
e385bd1
commit b6a8ba9
Showing
5 changed files
with
50 additions
and
4 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
20 changes: 20 additions & 0 deletions
20
model/model-intest/src/test/resources/tasks/misc/cluster-role-based.xml
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,20 @@ | ||
<roleAnalysisCluster xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
xmlns:org="http://midpoint.evolveum.com/xml/ns/public/common/org-3" | ||
oid="16a8b95a-8a37-4f91-b835-bb77670c2899"> | ||
<name>cluster_0</name> | ||
<!--TODO members--> | ||
<roleAnalysisSessionRef oid="c0d74ad2-f92a-40f0-b661-3c0a6a5dc225" | ||
relation="org:default" | ||
type="c:RoleAnalysisSessionType"> | ||
<!-- role_based_analysis_session --> | ||
</roleAnalysisSessionRef> | ||
<detectionOption> | ||
<minRolesOccupancy>10</minRolesOccupancy> | ||
<minUserOccupancy>10</minUserOccupancy> | ||
<frequencyRange> | ||
<min>30.0</min> | ||
<max>100.0</max> | ||
</frequencyRange> | ||
</detectionOption> | ||
</roleAnalysisCluster> |
22 changes: 22 additions & 0 deletions
22
model/model-intest/src/test/resources/tasks/misc/session-role-based.xml
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,22 @@ | ||
<roleAnalysisSession xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
oid="c0d74ad2-f92a-40f0-b661-3c0a6a5dc225"> | ||
<name>role_based_analysis_session</name> | ||
<processMode>role</processMode> | ||
<roleModeOptions> | ||
<similarityThreshold>80.0</similarityThreshold> | ||
<minMembersCount>10</minMembersCount> | ||
<propertiesRange> | ||
<min>10.0</min> | ||
<max>100.0</max> | ||
</propertiesRange> | ||
<minPropertiesOverlap>10</minPropertiesOverlap> | ||
</roleModeOptions> | ||
<defaultDetectionOption> | ||
<minRolesOccupancy>10</minRolesOccupancy> | ||
<minUserOccupancy>10</minUserOccupancy> | ||
<frequencyRange> | ||
<min>30.0</min> | ||
<max>100.0</max> | ||
</frequencyRange> | ||
</defaultDetectionOption> | ||
</roleAnalysisSession> |
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