[midPoint-git] [Evolveum/midpoint] 2dfbce: Support metadata exclusion in REST get/search APIs

Tony Tkáčik noreply at github.com
Wed Jan 22 16:35:46 CET 2025


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 2dfbce298b6ae455c8d9359b027ef273a8e3afd1
      https://github.com/Evolveum/midpoint/commit/2dfbce298b6ae455c8d9359b027ef273a8e3afd1
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M docs/interfaces/rest/operations/raw/operation-prop-search.adoc
    M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/ModelRestController.java
    M release-notes.adoc

  Log Message:
  -----------
  Support metadata exclusion in REST get/search APIs

**What**

Allow user to exclude metadata from specified paths

**Why**

So far use could exclude normal data, but not metadata even though
documentation contained examples also with metadata exclusion. Now
metadata exclusion is supported as well.

**Fixes**: MID-10216


  Commit: b7df7b03889e9539f7164fca98bd002a089002dc
      https://github.com/Evolveum/midpoint/commit/b7df7b03889e9539f7164fca98bd002a089002dc
  Author: Tony Tkáčik <tonydamage at users.noreply.github.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M config/sql/native/postgres-audit.sql
    M config/sql/native/postgres.sql
    R docs/admin-gui/resource-wizard/association-type/accessing-from-accounts.png
    A docs/admin-gui/resource-wizard/association-type/index.adoc
    A docs/admin-gui/resource-wizard/association-type/subject/index.adoc
    A docs/admin-gui/resource-wizard/association-type/subject/provisioning-from-resource/index.adoc
    A docs/admin-gui/resource-wizard/association-type/subject/provisioning-to-resource/index.adoc
    A docs/admin-gui/resource-wizard/configuration-resource-panels.adoc
    A docs/admin-gui/resource-wizard/how-to-use-lifecycle-state.adoc
    M docs/admin-gui/resource-wizard/index.adoc
    A docs/admin-gui/resource-wizard/limitation-all.adoc
    A docs/admin-gui/resource-wizard/limitation-corelation.adoc
    A docs/admin-gui/resource-wizard/limitation-mapping.adoc
    A docs/admin-gui/resource-wizard/object-type/activation/index.adoc
    A docs/admin-gui/resource-wizard/object-type/activation/step-6-activation-inbound-add.png
    A docs/admin-gui/resource-wizard/object-type/activation/step-6-activation-inbound-full.png
    A docs/admin-gui/resource-wizard/object-type/activation/step-6-activation-inbounds.png
    A docs/admin-gui/resource-wizard/object-type/activation/step-6-activation-outbound-add.png
    A docs/admin-gui/resource-wizard/object-type/activation/step-6-activation-outbound-full.png
    A docs/admin-gui/resource-wizard/object-type/activation/step-6-activation-outbounds.png
    A docs/admin-gui/resource-wizard/object-type/activation/step-6-predefined-details.png
    A docs/admin-gui/resource-wizard/object-type/capability/index.adoc
    A docs/admin-gui/resource-wizard/object-type/capability/step-5-capabilities.png
    A docs/admin-gui/resource-wizard/object-type/correlation/index.adoc
    A docs/admin-gui/resource-wizard/object-type/correlation/step-4-correlator-item.png
    A docs/admin-gui/resource-wizard/object-type/correlation/step-4-correlator-rule.png
    A docs/admin-gui/resource-wizard/object-type/credentials/index.adoc
    A docs/admin-gui/resource-wizard/object-type/credentials/step-7-credentials.png
    A docs/admin-gui/resource-wizard/object-type/index.adoc
    A docs/admin-gui/resource-wizard/object-type/mapping/index.adoc
    A docs/admin-gui/resource-wizard/object-type/mapping/step-2-mappings-inbound-detail-main.png
    A docs/admin-gui/resource-wizard/object-type/mapping/step-2-mappings-inbound-detail-optional.png
    A docs/admin-gui/resource-wizard/object-type/mapping/step-2-mappings-inbound.png
    A docs/admin-gui/resource-wizard/object-type/mapping/step-2-mappings-outbound-detail-main.png
    A docs/admin-gui/resource-wizard/object-type/mapping/step-2-mappings-outbound-detail-optional.png
    A docs/admin-gui/resource-wizard/object-type/mapping/step-2-mappings-outbound.png
    A docs/admin-gui/resource-wizard/object-type/mapping/step-2-mappings-override-detail-basic.png
    A docs/admin-gui/resource-wizard/object-type/mapping/step-2-mappings-override-detail-limitations.png
    A docs/admin-gui/resource-wizard/object-type/mapping/step-2-mappings-override.png
    A docs/admin-gui/resource-wizard/object-type/policies/index.adoc
    A docs/admin-gui/resource-wizard/object-type/policies/step-8-default-operation-policies.png
    A docs/admin-gui/resource-wizard/object-type/policies/step-8-marking.png
    A docs/admin-gui/resource-wizard/object-type/policies/step-8-policies.png
    R docs/admin-gui/resource-wizard/object-type/step-2-mappings-inbound-detail-main.png
    R docs/admin-gui/resource-wizard/object-type/step-2-mappings-inbound-detail-optional.png
    R docs/admin-gui/resource-wizard/object-type/step-2-mappings-inbound.png
    R docs/admin-gui/resource-wizard/object-type/step-2-mappings-outbound-detail-main.png
    R docs/admin-gui/resource-wizard/object-type/step-2-mappings-outbound-detail-optional.png
    R docs/admin-gui/resource-wizard/object-type/step-2-mappings-outbound.png
    R docs/admin-gui/resource-wizard/object-type/step-2-mappings-override-detail-basic.png
    R docs/admin-gui/resource-wizard/object-type/step-2-mappings-override-detail-limitations.png
    R docs/admin-gui/resource-wizard/object-type/step-2-mappings-override.png
    R docs/admin-gui/resource-wizard/object-type/step-3-synch-detail-action.png
    R docs/admin-gui/resource-wizard/object-type/step-3-synch-detail-basic.png
    R docs/admin-gui/resource-wizard/object-type/step-3-synch-detail-optional.png
    R docs/admin-gui/resource-wizard/object-type/step-3-synch.png
    R docs/admin-gui/resource-wizard/object-type/step-4-correlator-item.png
    R docs/admin-gui/resource-wizard/object-type/step-4-correlator-rule.png
    R docs/admin-gui/resource-wizard/object-type/step-5-capabilities.png
    R docs/admin-gui/resource-wizard/object-type/step-6-activation-inbound-add.png
    R docs/admin-gui/resource-wizard/object-type/step-6-activation-inbound-full.png
    R docs/admin-gui/resource-wizard/object-type/step-6-activation-inbounds.png
    R docs/admin-gui/resource-wizard/object-type/step-6-activation-outbound-add.png
    R docs/admin-gui/resource-wizard/object-type/step-6-activation-outbound-full.png
    R docs/admin-gui/resource-wizard/object-type/step-6-activation-outbounds.png
    R docs/admin-gui/resource-wizard/object-type/step-6-predefined-details.png
    R docs/admin-gui/resource-wizard/object-type/step-7-credentials.png
    R docs/admin-gui/resource-wizard/object-type/step-8-default-operation-policies.png
    R docs/admin-gui/resource-wizard/object-type/step-8-marking.png
    R docs/admin-gui/resource-wizard/object-type/step-8-policies.png
    A docs/admin-gui/resource-wizard/object-type/synchronization/index.adoc
    A docs/admin-gui/resource-wizard/object-type/synchronization/step-3-synch-detail-action.png
    A docs/admin-gui/resource-wizard/object-type/synchronization/step-3-synch-detail-basic.png
    A docs/admin-gui/resource-wizard/object-type/synchronization/step-3-synch-detail-optional.png
    A docs/admin-gui/resource-wizard/object-type/synchronization/step-3-synch.png
    R docs/admin-gui/resource-wizard/resource-details.png
    R docs/admin-gui/resource-wizard/task-wizard-defined-tasks.png
    R docs/admin-gui/resource-wizard/task-wizard-menu.png
    R docs/admin-gui/resource-wizard/task-wizard/step-1-select-task-type-simulated.png
    R docs/admin-gui/resource-wizard/task-wizard/step-1-select-task-type.png
    R docs/admin-gui/resource-wizard/task-wizard/step-2-basic-simulated.png
    R docs/admin-gui/resource-wizard/task-wizard/step-2-basic.png
    R docs/admin-gui/resource-wizard/task-wizard/step-3-resource-simulated.png
    R docs/admin-gui/resource-wizard/task-wizard/step-3-resource.png
    R docs/admin-gui/resource-wizard/task-wizard/step-4-distribution.png
    R docs/admin-gui/resource-wizard/task-wizard/step-4-execution-simulated.png
    R docs/admin-gui/resource-wizard/task-wizard/step-5-schedule-simulated.png
    A docs/admin-gui/resource-wizard/wizard-existing-resource/accessing-from-accounts.png
    A docs/admin-gui/resource-wizard/wizard-existing-resource/index.adoc
    A docs/admin-gui/resource-wizard/wizard-existing-resource/resource-details.png
    A docs/admin-gui/resource-wizard/wizard-existing-resource/step-1-select-task-type-simulated.png
    A docs/admin-gui/resource-wizard/wizard-existing-resource/step-1-select-task-type.png
    A docs/admin-gui/resource-wizard/wizard-existing-resource/step-2-basic-simulated.png
    A docs/admin-gui/resource-wizard/wizard-existing-resource/step-2-basic.png
    A docs/admin-gui/resource-wizard/wizard-existing-resource/step-3-resource-simulated.png
    A docs/admin-gui/resource-wizard/wizard-existing-resource/step-3-resource.png
    A docs/admin-gui/resource-wizard/wizard-existing-resource/step-4-distribution.png
    A docs/admin-gui/resource-wizard/wizard-existing-resource/step-4-execution-simulated.png
    A docs/admin-gui/resource-wizard/wizard-existing-resource/step-5-schedule-simulated.png
    A docs/admin-gui/resource-wizard/wizard-existing-resource/task-wizard-defined-tasks.png
    A docs/admin-gui/resource-wizard/wizard-existing-resource/task-wizard-menu.png
    M docs/roles-policies/outlier-detection/index.adoc
    M gui/admin-gui/src/frontend/scss/midpoint.scss
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/column/AbstractItemWrapperColumnPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/column/PrismContainerWrapperColumnPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/column/PrismPropertyWrapperColumnPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/column/PrismReferenceWrapperColumnPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/form/CreateObjectForReferencePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/wrapper/PrismContainerWrapperFactoryImpl.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/objecttemplate/component/ListMappingPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/objecttemplate/component/ObjectTemplateMappingPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/ResourceObjectTypeWizardChoicePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/chart/RoleAnalysisAggregateChartModel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/page/FormSessionOptionPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/chart/RoleAnalysisChartPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/chart/RoleAnalysisInfoAccessPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/systemconfiguration/PageSystemConfiguration.html
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/panel/ListMappingPanel.html
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/panel/ListMappingPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/panel/PrismPropertyPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/panel/PrismPropertyValuePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/panel/vertical/form/VerticalFormDefaultContainerablePanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/panel/vertical/form/VerticalFormDefaultContainerablePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/panel/vertical/form/VerticalFormPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/panel/vertical/form/VerticalFormPrismContainerPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/panel/vertical/form/VerticalFormPrismContainerPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/wrapper/ResourceObjectTypeArchetypeValueWrapperImpl.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/wrapper/ResourceObjectTypeMarkPolicyValueWrapperImpl.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/AjaxCompositedIconSubmitButton.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/PageDebugView.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/stringpolicy/CharacterClass.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/stringpolicy/StringPolicy.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/stringpolicy/ValueGenerator.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPasswordPolicy.java
    A model/model-impl/src/test/resources/lens/ppolicy/password-policy-all-ignored-for-generation.xml
    A model/model-impl/src/test/resources/lens/ppolicy/password-policy-gen-numeric-accepting-alphas.xml
    A model/model-impl/src/test/resources/lens/ppolicy/password-policy-required-char-ignored-for-generation.xml
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/policy/AssignmentPolicyAspectPart.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/assignments/TestAssignmentApprovalGlobal.java
    A model/workflow-impl/src/test/resources/assignments/role-auto-assigned.xml
    M model/workflow-impl/src/test/resources/assignments/system-configuration-global.xml
    M pom.xml
    M release-notes.adoc
    M repo/system-init/src/main/resources/initial-objects/value-policy/010-value-policy.xml
    M tools/jenkins/midpoint-main-generic-oracle-pipeline

  Log Message:
  -----------
  Merge branch 'master' into bugfix/10216


  Commit: b52763585f7af142a9a8035b08fa49cc449e09d1
      https://github.com/Evolveum/midpoint/commit/b52763585f7af142a9a8035b08fa49cc449e09d1
  Author: Tony Tkáčik <tonydamage at users.noreply.github.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M docs/interfaces/rest/operations/raw/operation-prop-search.adoc
    M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/ModelRestController.java
    M release-notes.adoc

  Log Message:
  -----------
  Merge pull request #249 from Evolveum/bugfix/10216

Support metadata exclusion in REST get/search APIs


Compare: https://github.com/Evolveum/midpoint/compare/7ea6cbffdcfa...b52763585f7a

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