[midPoint-git] [Evolveum/midpoint] 0bf9ac: Role analysis code cleanup

Tadeas Chrapovic noreply at github.com
Wed Feb 19 15:33:01 CET 2025


  Branch: refs/heads/feature/outlier-detection
  Home:   https://github.com/Evolveum/midpoint
  Commit: 0bf9ac66faf9d6271a205a4b4e228a0987e98472
      https://github.com/Evolveum/midpoint/commit/0bf9ac66faf9d6271a205a4b4e228a0987e98472
  Author: tchrapovic <chrapovic.tadeas at gmail.com>
  Date:   2025-02-19 (Wed, 19 Feb 2025)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/page/PageRoleAnalysis.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/page/mining/PageRoleSuggestions.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/cluster/CandidateRolesPanel.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/cluster/CandidateRolesPopupPanel.html
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/cluster/CandidateRolesPopupPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/cluster/MigratedRolesPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/cluster/pattern/ClusterRoleSuggestionsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/cluster/pattern/SessionRoleSuggestionsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/outlier/aspects/RoleAnalysisOutlierAnalysisAspectsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/outlier/panel/OutlierPartitionPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/outlier/panel/RoleAnalysisOutlierAnomalyPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/outlier/panel/categorization/CategorySelectionProvider.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/outlier/panel/suggestion/RoleAnalysisAccessNoiseOutlierPanel.html
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/outlier/panel/suggestion/RoleAnalysisAccessNoiseOutlierPanel.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/outlier/panel/suggestion/RoleAnalysisClusterAllOutlierPanel.html
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/outlier/panel/suggestion/RoleAnalysisClusterAllOutlierPanel.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/outlier/panel/suggestion/RoleAnalysisOutlierListPanel.html
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/outlier/panel/suggestion/RoleAnalysisOutlierListPanel.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/outlier/panel/suggestion/RoleAnalysisSessionAllOutlierPanel.html
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/outlier/panel/suggestion/RoleAnalysisSessionAllOutlierPanel.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/outlier/panel/suggestion/RoleAnalysisSessionClassifiedOutlierPanel.html
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/outlier/panel/suggestion/RoleAnalysisSessionClassifiedOutlierPanel.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/outlier/panel/suggestion/RoleAnalysisSessionUnClassifiedOutlierPanel.html
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/outlier/panel/suggestion/RoleAnalysisSessionUnClassifiedOutlierPanel.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/outlier/panel/suggestion/RoleAnalysisUniqueOutlierPanel.html
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/outlier/panel/suggestion/RoleAnalysisUniqueOutlierPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/session/aspects/OutlierSessionOverviewPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/tmp/panel/RoleAnalysisDetectedPatternDetails.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/RoleAnalysisClusteringAttributeTable.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/operation/OutlierPatternResolver.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/operation/PatternStatistics.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/operation/RoleAnalysisMatrixTable.html
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/operation/RoleAnalysisMatrixTable.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/outlier/panel/AccessDistributionDto.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/outlier/panel/PartitionObjectDtos.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/outlier/panel/RoleAnalysisAccessDistributionPanel.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/outlier/panel/RoleAnalysisCandidateRoleTable.html
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/outlier/panel/RoleAnalysisCandidateRoleTable.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/outlier/panel/RoleAnalysisDetectedAnomalyTable.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/outlier/panel/RoleAnalysisDetectedPatternTable.html
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/outlier/panel/RoleAnalysisDetectedPatternTable.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/outlier/panel/RoleAnalysisOutlierDashboardPanel.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/outlier/panel/RoleAnalysisOutlierPartitionTable.html
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/outlier/panel/RoleAnalysisOutlierPartitionTable.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/outlier/panel/RoleAnalysisOutlierTable.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/outlier/panel/RoleAnalysisViewAllPanel.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/RoleAnalysisCandidateRoleTileTable.html
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/RoleAnalysisCandidateRoleTileTable.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/RoleAnalysisDetectedPatternTileTable.html
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/RoleAnalysisDetectedPatternTileTable.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/RoleAnalysisMigrationRoleTileTable.html
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/RoleAnalysisMigrationRoleTileTable.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/RoleAnalysisOutlierPartitionTileTable.html
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/RoleAnalysisOutlierPartitionTileTable.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/RoleAnalysisSessionTileTable.html
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/RoleAnalysisSessionTileTable.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/RoleAnalysisTileTableUtils.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/component/RoleAnalysisCandidateRoleTileTable.html
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/component/RoleAnalysisCandidateRoleTileTable.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/component/RoleAnalysisDetectedPatternTileTable.html
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/component/RoleAnalysisDetectedPatternTileTable.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/component/RoleAnalysisMigrationRoleTileTable.html
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/component/RoleAnalysisMigrationRoleTileTable.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/component/RoleAnalysisOutlierPartitionTileTable.html
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/component/RoleAnalysisOutlierPartitionTileTable.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/component/RoleAnalysisSessionTileTable.html
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/component/RoleAnalysisSessionTileTable.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/model/RoleAnalysisCandidateRolesDto.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/model/RoleAnalysisDetectedPatternsDto.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/model/RoleAnalysisMigratedRolesDto.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/column/RoleAnalysisObjectColumn.java
    M infra/common/src/main/java/com/evolveum/midpoint/common/mining/objects/analysis/cache/ObjectCategorisationCache.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/clustering/AdvancedClustering.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/clustering/Clusterable.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/clustering/OutlierClustering.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/clustering/RoleBasedClustering.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/clustering/StandardClustering.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/clustering/UserBasedClustering.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/context/ClusteringActionExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/context/ClusteringBehavioralResolver.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/detection/PatternConfidenceCalculator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/utils/RoleAnalysisAlgorithmUtils.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/utils/RoleAnalysisUtils.java

  Log Message:
  -----------
  Role analysis code cleanup
1. Clustering procedure improve
   - initialize the cluster object iteratively into the database.
   - remove redundant method
2. Gui cleanup, improvements, fixes
   - eliminate duplicate code.
   - implement models
   - refactor methods to improve efficiency
   - add missing localizations
   - remove unused classes and code blocks
   - fix tile table toggle button.



To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications


More information about the midPoint-svn mailing list