[midPoint-git] [Evolveum/midpoint] 89f4f5: Added support to aggregate queries to return enums...

Martin Bielik noreply at github.com
Mon Oct 27 12:31:38 CET 2025


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 89f4f55bfe6645307cca83a3976b6e9f390afbb0
      https://github.com/Evolveum/midpoint/commit/89f4f55bfe6645307cca83a3976b6e9f390afbb0
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/AggregateSearchContext.java

  Log Message:
  -----------
  Added support to aggregate queries to return enums and QNames

(cherry picked from commit 20f03d55f61925ef21819a3135502ed1d7afe1ea)


  Commit: 67a1ad3501732e565202a66a909e3bdd7f5d1e23
      https://github.com/Evolveum/midpoint/commit/67a1ad3501732e565202a66a909e3bdd7f5d1e23
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/AbstractRepositorySearchAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/CountRepositoryAction.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportConfigurationAction.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportFocusStatisticsAction.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportResourceSchemaAction.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportShadowStatisticsAction.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportShadowStatisticsOptions.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/worker/ExportConfigurationWorker.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/worker/ExportConsumerWorker.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/worker/ExportFocusStatisticsWorker.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/impl/Command.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/util/NinjaUtils.java

  Log Message:
  -----------
  Added export statistics action skeletons to Ninja

(cherry picked from commit df12803d7112acb5592c3966586e237a8b92c246)


  Commit: d8020a7d9c1de996651e5687f535741e2932f539
      https://github.com/Evolveum/midpoint/commit/d8020a7d9c1de996651e5687f535741e2932f539
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    R tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportFocusStatisticsAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportShadowStatisticsAction.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/CategoriesDistribution.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/ExportFocusStatisticsAction.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/ExportFocusStatisticsWorker.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/FocusStats.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/FocusTypeCounter.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/FocusTypeStats.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/PrismTransformableRecord.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/PropertyStats.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/PropertyStatsCounter.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/StatsCounter.java
    R tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/worker/ExportFocusStatisticsWorker.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/impl/Command.java

  Log Message:
  -----------
  Implement export of focus statistics.

**What**

Implement calculation and export of various statistics related to focus
objects.

**Why**

This statistics can be very useful for future development of midPoint.

**Notes**

Current implementation does not consider complex structures inside of
focus objects. For example the `activation` is not currently counted to
any statistics, because it is a complex structure.

This version is not yet fully optimized in terms of memory usage.

(cherry picked from commit 6e10a2a7b7a894e5f669420063c957b813fad604)


  Commit: d6ae7e46cc6f8591d976cb3041de9d57c91eff99
      https://github.com/Evolveum/midpoint/commit/d6ae7e46cc6f8591d976cb3041de9d57c91eff99
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportOptions.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportRepositoryAction.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/worker/ExportPerObjectWorker.java

  Log Message:
  -----------
  Add per-object export mode with type subdirectories and filenames

- Add ExportPerObjectWorker to write each object into a separate file
- Add --split-files (-sf) flag to ExportOptions

Route export to the appropriate worker in ExportRepositoryAction
- ExportPerObjectWorker when --split-files is enabled
- ExportConsumerWorker otherwise (existing single-file behavior)

Signed-off-by: Michal Zelencik <michal.zelencik at evolveum.com>

(cherry picked from commit b18aabe9f5a064632e82611e8877ec87914cc8d2)


  Commit: 2f56f0a31d71211ef4d1df31514df131bcaf5810
      https://github.com/Evolveum/midpoint/commit/2f56f0a31d71211ef4d1df31514df131bcaf5810
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportConfigurationAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportRepositoryAction.java
    M tools/ninja/src/main/resources/messages.properties

  Log Message:
  -----------
  Fix: Move Split into files possibility from export repository to export
configuration
Fix: Add messages properties to be able to use --split-files flag

(cherry picked from commit 96e255541d40742de586b33f9c1d7b54a0b4993e)


  Commit: ce13dff76b7fbf4477757475dda6570a409297f0
      https://github.com/Evolveum/midpoint/commit/ce13dff76b7fbf4477757475dda6570a409297f0
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportConfigurationAction.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/worker/ExportConfigurationSeparateWorker.java
    R tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/worker/ExportPerObjectWorker.java

  Log Message:
  -----------
  Remake configuration exporter to inherit from
ExportConfigurationSeparateWorker to include getExcludeItemsPaths()
and editObject() methods.

Signed-off-by: Michal Zelencik <michal.zelencik at evolveum.com>

(cherry picked from commit ef5e44fc7766d50b7e219de8d67ddeab4e948625)


  Commit: b55e11e9c867edc6ea66670849e5184ccdc0cd56
      https://github.com/Evolveum/midpoint/commit/b55e11e9c867edc6ea66670849e5184ccdc0cd56
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/CategoriesDistribution.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/FocusTypeCounter.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/MagnitudeCounter.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/PropertyStats.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/PropertyStatsCounter.java

  Log Message:
  -----------
  Focus statistics improvements and changes

**What**

- Collect statistics also for properties in custom schema extensions.
- Change all counts to ratios (except objects count).
- Add new stats like ratio of multi valued properties.
- Use order of magnitudes for object counts instead of exact counts.
- Remove "floating" threshold for distribution threshold.
- Do not calculate cardinality if distribution is shown.
- Do not consider null values (basically missing property) as a
  "category" (each set of identical values is one category). That means:
  - Missing properties are not counted in cardinality.
  - Missing properties are not part of the distribution array.

**Why**

Most of the changes were done from compliance reasons. We do not want to
expose potentially sensitive statistics.

(cherry picked from commit 691c9ccf24e4486e3a83efc22bf6eaebf9a65c46)


  Commit: 101e95c83eba8549bdc64054e5443061d09d7e64
      https://github.com/Evolveum/midpoint/commit/101e95c83eba8549bdc64054e5443061d09d7e64
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/ExportFocusStatisticsAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/FocusTypeCounter.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/StatsCounter.java

  Log Message:
  -----------
  Support items exclusion in focus statistics export

**What**

Support the `-ei` option to exclude particular items from the
statistics.

**Why**

To allow user decide, what items are too much sensitive to count any
statistics on them.

(cherry picked from commit 13f773331164c6172947418c71682748a6aa6390)


  Commit: a0a9e822d4451c557cf5829ccecdd0d216a544a9
      https://github.com/Evolveum/midpoint/commit/a0a9e822d4451c557cf5829ccecdd0d216a544a9
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/ExportFocusStatisticsAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/FocusTypeCounter.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/StatsCounter.java

  Log Message:
  -----------
  Hard-code items allow list to Ninja's focus stats export

**What**

Add hard-coded list of items, which are by default included in focus
stats export.

**Why**

Not all items are interesting for our needs, and some items may be also
sensitive. Because of that we decided to include just some particular
items. Only these hard-coded items will be included in the export.

Items can still be explicitly excluded by user with the use of `-ei`
option.

Explicitly excluding items that are not by default included has no
effect, since they would not be exported anyway.

(cherry picked from commit eba3e89200b522559b7a88bfa5c7cb1407db267a)


  Commit: db4d120b57af9572e07586c87e24c58d657f76e0
      https://github.com/Evolveum/midpoint/commit/db4d120b57af9572e07586c87e24c58d657f76e0
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/PropertyStatsCounter.java

  Log Message:
  -----------
  Add limit on size of map with properties values

**What**

Add a limit on a size of map which holds "categories" of properties
values across all objects of the same type.

**Why**

To lower potentially high memory usage.

(cherry picked from commit 820e7ed748b6a4c46e92c16c5caf884eb136ac06)


  Commit: b1c0d6737a7580a200736a2034b6a3b6bed0fc46
      https://github.com/Evolveum/midpoint/commit/b1c0d6737a7580a200736a2034b6a3b6bed0fc46
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportShadowStatisticsAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/ExportFocusStatisticsAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/MagnitudeCounter.java

  Log Message:
  -----------
  Change shadow statistics to approximations

**What**

Change the exact counts in shadow statistics to approximations in the
order of magnitude precision.

**Why**

Because of compliance reasons, we don't want to expose exact counts, as
they could be seen as sensitive data.

(cherry picked from commit 63c84cee815b5d9c35ad283b89bd2a655c7ed1db)


  Commit: 5ec8296e688a57c278af8073f8ffbba5fb93e4a2
      https://github.com/Evolveum/midpoint/commit/5ec8296e688a57c278af8073f8ffbba5fb93e4a2
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/ExportFocusStatisticsAction.java

  Log Message:
  -----------
  Remove "riskLevel" from the focus statistics

**What**

Remove the `riskLevel` property from the focus statistics export.

**Why**

It was included by mistake. We consider it to be sensitive, thus we
don't want to export any stats for it.

(cherry picked from commit 15ceaba090e8cc5f78c26f09d2a7415e62ce89b5)


  Commit: 74ec5ab2c6ef37dc783751aa227b828597fda79b
      https://github.com/Evolveum/midpoint/commit/74ec5ab2c6ef37dc783751aa227b828597fda79b
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportShadowStatisticsAction.java

  Log Message:
  -----------
  Add synchronization situation to the shadow statistics

**What**

Instead of correlation situation use synchronization situation in
aggregate query.

(cherry picked from commit 70bec637bf1161f91cd886510629e13db0eb963b)


  Commit: 1280e426ce270b825bd644d4e4332ec9fef83f63
      https://github.com/Evolveum/midpoint/commit/1280e426ce270b825bd644d4e4332ec9fef83f63
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportConfigurationAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/worker/ExportConfigurationSeparateWorker.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/worker/ExportConfigurationWorker.java

  Log Message:
  -----------
  Exclude of unnecessary items from configuration export

**What**

Remove items, which could be considered as sensitive or are not so
interesting.

**Why**

Mainly because of compliance.

(cherry picked from commit 9fb3cf974ed6446fba7d15df33f90785d9b337b6)


  Commit: 04cc0d259bf3d815ce33428f85c07d7419503afa
      https://github.com/Evolveum/midpoint/commit/04cc0d259bf3d815ce33428f85c07d7419503afa
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/ExportFocusStatisticsAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/FocusTypeCounter.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/StatsCounter.java

  Log Message:
  -----------
  Fix inclusion of extensions in focus stats export

**What**

Fix the issue with unmatched extensions properties to include in focus
stats export.

**Note**

The main problem was, that the definition does not contain whole path,
but just the last segment (item name). When the include precondition was
applied, it did not matched any extension property, because the
precondition expected that the path will start with `extension/`. The
fix was to use `Item` instead of `ItemDefinition` in the precondition.
Item is aware of it's parents, so it contains whole path, not just item
name.

(cherry picked from commit df10f572fc2e3060b3641d8f8a3956c23887b1d1)


  Commit: 4451c90291ef82aed604b0eb68f3c4b3d1b04646
      https://github.com/Evolveum/midpoint/commit/4451c90291ef82aed604b0eb68f3c4b3d1b04646
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/worker/ExportConfigurationWorker.java

  Log Message:
  -----------
  Update exported configuration items

1. Resource schema is now correctly exported
2. Additional connector config is removed
3. AdminGuiConfiguration is removed
4. GUI-related things from ArchetypeType are removed
5. Irrelevant parts of ConnectorType are removed
6. Removal of protected values is fixed, plus we mask
protected value embedded deep in JAXB structures.

(cherry picked from commit 198418e5f188a4151fae5cb2d21800f2d65e90d3)


  Commit: 70b92f91eee3064cf278aff033a1cf9b3e24d2d6
      https://github.com/Evolveum/midpoint/commit/70b92f91eee3064cf278aff033a1cf9b3e24d2d6
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportResourceSchemaAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/worker/ExportConfigurationWorker.java

  Log Message:
  -----------
  Update exported configuration items

1. Added exclusion for extension (doesn't work now).
2. Added capabilities to export-schema.

(cherry picked from commit 44d1d6aee15c425f6c86d2c3b91fcaba2eb05f3f)


  Commit: 007a3e20aab93bf5c666b7fb0572acefcd3f8953
      https://github.com/Evolveum/midpoint/commit/007a3e20aab93bf5c666b7fb0572acefcd3f8953
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportResourceSchemaAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/worker/ExportConfigurationWorker.java

  Log Message:
  -----------
  Small changes without functionality impact

(cherry picked from commit e91ace6dd988831414d83abb0d8e7483ca265614)


  Commit: e47bd3c1a5049a5a2899907310d77107193c2d0a
      https://github.com/Evolveum/midpoint/commit/e47bd3c1a5049a5a2899907310d77107193c2d0a
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/worker/ExportConfigurationWorker.java

  Log Message:
  -----------
  Avoid ObjectCleaner in ninja config export

This commit replaces ObjectCleaner by own logic when
removing unwanted items. The reason is that it does not
support abstract object types, so its configuration
would get too complex. Another reason is that we need
to backport this logic to support-4.8, where this
class does not exist.

Also fixed some minor bugs, like assuming all items
to be excluded are properties + now supporting item
paths with intermediate multivalued containers.

(cherry picked from commit 95f09e24cc6be9e672d284948af6109515f686cf)


  Commit: 72d152edc9594a52264aecd8e92b3dc5f503e546
      https://github.com/Evolveum/midpoint/commit/72d152edc9594a52264aecd8e92b3dc5f503e546
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportConfigurationAction.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportConfigurationOptions.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportResourceSchemaAction.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportResourceSchemaOptions.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportShadowStatisticsOptions.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/ExportFocusStatisticsAction.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/ExportFocusStatisticsOptions.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/impl/Command.java
    M tools/ninja/src/main/resources/messages.properties

  Log Message:
  -----------
  Fix description text of few Ninja export commands

**What**

Add description to following export commands:

- export-configuration
- export-focus-statistics
- export-shadow-statistics
- export-resource-schema

(cherry picked from commit 3ee723b827a9acdcd6f20cbc73b9d028d54abd69)


  Commit: 53895c1892caa27916e5cd0077775dbd7318bab5
      https://github.com/Evolveum/midpoint/commit/53895c1892caa27916e5cd0077775dbd7318bab5
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/worker/ExportConfigurationWorker.java

  Log Message:
  -----------
  Fix ExportConfigurationWorker#removeItem

This fixes removal of selected items in ninja
"export-configuration" command.

(cherry picked from commit 4796b7d00197ae50fbd985fa3162e0d63eecdaac)
(cherry picked from commit c34bb3e6273907109d85093566ef0b02a3b04f16)


  Commit: c683ba8566b66daa9437d05577e07a661cd0b861
      https://github.com/Evolveum/midpoint/commit/c683ba8566b66daa9437d05577e07a661cd0b861
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    A docs/deployment/ninja/command/export-configuration.adoc
    A docs/deployment/ninja/command/export-focus-statistics.adoc
    A docs/deployment/ninja/command/export-resrouce-schema.adoc
    A docs/deployment/ninja/command/export-shadow-statistics.adoc

  Log Message:
  -----------
  Add documentation for new Ninja export commands

**What**

Add documentation for:

- Export Configuration
- Export Focus Statistics
- Export Shadow Statistics
- Export Resource Schema

(cherry picked from commit db288d7ac51fe88461a32c4cf967db5198e88d3f)


  Commit: 4d9ff8dd006c626bbd3a75a30696df84db70c99f
      https://github.com/Evolveum/midpoint/commit/4d9ff8dd006c626bbd3a75a30696df84db70c99f
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M docs/deployment/ninja/command/index.adoc

  Log Message:
  -----------
  Add new Ninja commands to the list of commands in docs

(cherry picked from commit 792c96546151b19f323bb6ff4c8aa218fd4369f1)


  Commit: a94018b0ee6c430c4023049a1c59caeafefab335
      https://github.com/Evolveum/midpoint/commit/a94018b0ee6c430c4023049a1c59caeafefab335
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportShadowStatisticsAction.java

  Log Message:
  -----------
  Change top level structure of shadow stats export

**What**

Change the "wrapper" for shadows stats export from the "generic" object
with extension to custom elements.

**Why**

The generic "wrapper" was used because of the rush. The custom elements
makes more sense from the "meaning" point of view. It is also better
aligned with the structure which is used for focus stats export.

(cherry picked from commit e1bd1e03bd7a626b2f49fd2dea385a0cb466eff5)


  Commit: cd03589a31e9e4fd3b9ec2109c90f5a691d8dde6
      https://github.com/Evolveum/midpoint/commit/cd03589a31e9e4fd3b9ec2109c90f5a691d8dde6
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportShadowStatisticsAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ExportShadowStatisticsOptions.java

  Log Message:
  -----------
  Remove filter option from Shadow stats export command

**What**

Remove the `-f`, `--filter` options from the Export Shadow Statistics
command.

**Why**

The filter option is not relevant in this command, because there is
basically nothing to filter.

The aggregation function uses 5 shadow properties for grouping. In order
for statistics to work, we need all of those properties.

Values of these properties are not exported anyway, they are just used
for grouping.

(cherry picked from commit cc49945d67335c9bccba79badf2d3907b61b52a2)


  Commit: 93e47aaabeb0eacc7e57f56aee06cd97ac66c357
      https://github.com/Evolveum/midpoint/commit/93e47aaabeb0eacc7e57f56aee06cd97ac66c357
  Author: Martin Bielik <martin.bielik at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M docs/deployment/ninja/command/export-configuration.adoc
    M docs/deployment/ninja/command/export-focus-statistics.adoc
    A docs/deployment/ninja/command/export-resource-schema.adoc
    R docs/deployment/ninja/command/export-resrouce-schema.adoc
    M docs/deployment/ninja/command/export-shadow-statistics.adoc

  Log Message:
  -----------
  added examples to ninja export commands

(cherry picked from commit f35ba032eceb86ac2b084de167ce67ee43f50eea)
(cherry picked from commit 5893a7d621922ce523e13c96f0f15027c9925a2f)


  Commit: ff42d3f4baa50320db9e57b98fbcd8b5c491adad
      https://github.com/Evolveum/midpoint/commit/ff42d3f4baa50320db9e57b98fbcd8b5c491adad
  Author: Martin Bielik <martin.bielik at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M docs/deployment/ninja/command/index.adoc

  Log Message:
  -----------
  fixed link to documentation

(cherry picked from commit 66527bbd0939ca8ec1f70bc16ba8a3b57d940835)
(cherry picked from commit ce495deac0aecaf2dcb42633e56b74f5adf214ae)


Compare: https://github.com/Evolveum/midpoint/compare/6a92d840f764...ff42d3f4baa5

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