[midPoint-git] [Evolveum/midpoint] 4cc5f5: MID-8842 ninja - bugfixing distribution upgrade, m...

Katarina Bolemant noreply at github.com
Mon Jul 31 11:42:48 CEST 2023


  Branch: refs/heads/feature/forgot-username
  Home:   https://github.com/Evolveum/midpoint
  Commit: 4cc5f53c5eb3778047773c25c08aafcbced16596
      https://github.com/Evolveum/midpoint/commit/4cc5f53c5eb3778047773c25c08aafcbced16596
  Author: Viliam Repan <vilo.repan at evolveum.com>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/Main.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/upgrade/action/DownloadDistributionAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/upgrade/action/DownloadDistributionOptions.java
    M tools/ninja/src/main/resources/messages.properties

  Log Message:
  -----------
  MID-8842 ninja - bugfixing distribution upgrade, more options for download distribution action


  Commit: 6624ffb1a3bfea48c319d32f5a2676d185c11e41
      https://github.com/Evolveum/midpoint/commit/6624ffb1a3bfea48c319d32f5a2676d185c11e41
  Author: Viliam Repan <vilo.repan at evolveum.com>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

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

  Log Message:
  -----------
  MID-8842 ninja - verification dump to csv fixed (was dumping xml delta in some cases between records)


  Commit: e1010d22dc1bc41713d60be8f06bf77bf57fc1aa
      https://github.com/Evolveum/midpoint/commit/e1010d22dc1bc41713d60be8f06bf77bf57fc1aa
  Author: Viliam Repan <vilo.repan at evolveum.com>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M tools/ninja/testng-unit.xml

  Log Message:
  -----------
  MID-8842 ninja - enabled import test for ninja


  Commit: 620bc6c40ae1baaf7fed6f485f78572049de86e5
      https://github.com/Evolveum/midpoint/commit/620bc6c40ae1baaf7fed6f485f78572049de86e5
  Author: Viliam Repan <vilo.repan at evolveum.com>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M tools/ninja/src/test/java/com/evolveum/midpoint/ninja/NinjaTestMixin.java
    M tools/ninja/src/test/java/com/evolveum/midpoint/ninja/VerifyUpgradeTest.java
    R tools/ninja/src/test/resources/midpoint-home/config.xml
    R tools/ninja/src/test/resources/midpoint-home/keystore.jceks
    R tools/ninja/src/test/resources/midpoint-home/test-config-new-repo.xml
    R tools/ninja/src/test/resources/upgrade/midpoint-home/config.xml
    R tools/ninja/src/test/resources/upgrade/sql-scripts/4.4.5/postgres-new-audit.sql
    R tools/ninja/src/test/resources/upgrade/sql-scripts/4.4.5/postgres-new-quartz.sql
    R tools/ninja/src/test/resources/upgrade/sql-scripts/4.4.5/postgres-new-upgrade-audit.sql
    R tools/ninja/src/test/resources/upgrade/sql-scripts/4.4.5/postgres-new-upgrade.sql
    R tools/ninja/src/test/resources/upgrade/sql-scripts/4.4.5/postgres-new.sql
    R tools/ninja/src/test/resources/upgrade/sql-scripts/4.7.1/postgres-new-audit.sql
    R tools/ninja/src/test/resources/upgrade/sql-scripts/4.7.1/postgres-new-quartz.sql
    R tools/ninja/src/test/resources/upgrade/sql-scripts/4.7.1/postgres-new-upgrade-audit.sql
    R tools/ninja/src/test/resources/upgrade/sql-scripts/4.7.1/postgres-new-upgrade.sql
    R tools/ninja/src/test/resources/upgrade/sql-scripts/4.7.1/postgres-new.sql
    R tools/ninja/src/test/resources/upgrade/sql/create-database.sql
    R tools/ninja/src/test/resources/upgrade/sql/drop-database.sql
    R tools/ninja/src/test/resources/upgrade/sql/select-query.sql
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/distribution/RELEASE-NOTES
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/distribution/bin/midpoint.sh
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/distribution/doc/index.html
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/distribution/lib/midpoint.jar.txt
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/distribution/lib/ninja.jar.txt
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/distribution/var/README.txt
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/midpoint-home/RELEASE-NOTES
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/midpoint-home/bin/midpoint.sh
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/midpoint-home/doc/docs.html
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/midpoint-home/lib/midpoint.war.txt
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/midpoint-home/lib/ninja.jar.txt
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/midpoint-home/var/README.txt
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/midpoint-home/var/config.xml
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/midpoint-home/var/icf-connectors/custom-connector.jar.txt
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/midpoint-home/var/midpoint.mv.db.txt

  Log Message:
  -----------
  MID-8842 ninja - removed obsolete test files


  Commit: eacc9994f6d7b6e40ecf1a387d2cada1d77ab393
      https://github.com/Evolveum/midpoint/commit/eacc9994f6d7b6e40ecf1a387d2cada1d77ab393
  Author: Viliam Repan <vilo.repan at evolveum.com>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/impl/NinjaContext.java
    M tools/ninja/src/test/java/com/evolveum/midpoint/ninja/ImportRepositoryTest.java
    A tools/ninja/src/test/resources/ctx-ninja.xml

  Log Message:
  -----------
  MID-8842 ninja - attempt to fix ninja tests


  Commit: bbe33779b8f6d243ccc69b6550a27a0a7722db6f
      https://github.com/Evolveum/midpoint/commit/bbe33779b8f6d243ccc69b6550a27a0a7722db6f
  Author: Viliam Repan <vilo.repan at evolveum.com>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/Main.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/MainResult.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/verify/VerificationReporter.java
    M tools/ninja/src/test/java/com/evolveum/midpoint/ninja/NinjaTestMixin.java
    M tools/ninja/src/test/java/com/evolveum/midpoint/ninja/PreUpgradeCheckTest.java
    M tools/ninja/src/test/java/com/evolveum/midpoint/ninja/VerifyUpgradeTest.java

  Log Message:
  -----------
  MID-8842 ninja - ninja now can output non-zer error code in some cases, actions still need to be updated


  Commit: aab21f14d2da4798d21ec5af5f82e992aaafac2f
      https://github.com/Evolveum/midpoint/commit/aab21f14d2da4798d21ec5af5f82e992aaafac2f
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/page/PageAdminLTE.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/PageRegistrationConfirmation.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/PageRegistrationFinish.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/PageSelfRegistration.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/config/ConfigurationItemable.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/config/ExpressionConfigItem.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/config/PrivilegesMixin.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/config/ScriptExecutionPolicyActionConfigItem.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/SchemaDebugUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M infra/schema/src/main/resources/xml/ns/public/common/common-policy-3.xsd
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/authorization/evaluator/MidPointGuiAuthorizationEvaluator.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/authorization/evaluator/MidpointHttpAuthorizationEvaluator.java
    M model/authentication-impl/src/test/java/com/evolveum/midpoint/authentication/evaluator/TestAbstractAuthenticationEvaluator.java
    M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/CertificationManagerImpl.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/authentication/GuiProfiledPrincipalManager.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/expr/OptimizingTriggerCreator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/scriptExecutor/AsynchronousScriptExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/scriptExecutor/PolicyRuleScriptExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/GuiProfiledPrincipalManagerImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/RunAsRunner.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestIntent.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestRunAs.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestValidityRecomputeTask.java
    A model/model-intest/src/test/resources/run-as/role-regular-user.xml
    A model/model-intest/src/test/resources/run-as/role-with-service-mapping-privileged.xml
    A model/model-intest/src/test/resources/run-as/role-with-service-mapping-run-as.xml
    A model/model-intest/src/test/resources/run-as/role-with-service-mapping-standard.xml
    A model/model-intest/src/test/resources/run-as/service-one.xml
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/run/processing/ItemProcessingGatekeeper.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/Expression.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionFactory.java
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/MidPointPrincipalManager.java
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/SecurityContextManager.java
    M repo/security-impl/src/main/java/com/evolveum/midpoint/security/impl/SecurityContextManagerImpl.java
    M repo/security-impl/src/test/java/com/evolveum/midpoint/security/impl/MidPointPrincipalManagerMock.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/RunningLightweightTaskImpl.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/run/JobExecutor.java
    M testing/longtest/src/test/java/com/evolveum/midpoint/testing/longtest/TestRunAs.java

  Log Message:
  -----------
  Add "privileges" item to expression/scripting rule

Besides "runAsRef", midPoint will support "runAsPrivileged" for both
expressions and scripting policy rules execution.

This commit is the first step towards this goal. In particular,

1. ExecutionPrivilegesSpecificationType was introduced as a replacement
for runAsRef property in both contexts.
2. SecurityContextManager was updated to support more complex "runAs"
functionality. Some API improvements were done as well; in particular,
operation result should be provided to some methods.

Work in progress.


  Commit: a6f5f817af7c476f89a5d3eb04780fb442134843
      https://github.com/Evolveum/midpoint/commit/a6f5f817af7c476f89a5d3eb04780fb442134843
  Author: Viliam Repan <vilo.repan at evolveum.com>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/Main.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/MainResult.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ActionResult.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/VerifyAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/VerifyResult.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/upgrade/action/PreUpgradeCheckAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/upgrade/action/UpgradeDistributionAction.java
    M tools/ninja/src/test/java/com/evolveum/midpoint/ninja/PreUpgradeCheckTest.java
    M tools/ninja/src/test/java/com/evolveum/midpoint/ninja/VerifyUpgradeTest.java

  Log Message:
  -----------
  MID-8842 ninja - actions and ninja now can return custom system.exit code


  Commit: a62d3912c900a3195c9f98bd9d472898898d3433
      https://github.com/Evolveum/midpoint/commit/a62d3912c900a3195c9f98bd9d472898898d3433
  Author: Viliam Repan <vilo.repan at evolveum.com>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/page/PageAdminLTE.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/PageRegistrationConfirmation.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/PageRegistrationFinish.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/PageSelfRegistration.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/config/ConfigurationItemable.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/config/ExpressionConfigItem.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/config/PrivilegesMixin.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/config/ScriptExecutionPolicyActionConfigItem.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/SchemaDebugUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M infra/schema/src/main/resources/xml/ns/public/common/common-policy-3.xsd
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/authorization/evaluator/MidPointGuiAuthorizationEvaluator.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/authorization/evaluator/MidpointHttpAuthorizationEvaluator.java
    M model/authentication-impl/src/test/java/com/evolveum/midpoint/authentication/evaluator/TestAbstractAuthenticationEvaluator.java
    M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/CertificationManagerImpl.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/authentication/GuiProfiledPrincipalManager.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/expr/OptimizingTriggerCreator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/scriptExecutor/AsynchronousScriptExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/scriptExecutor/PolicyRuleScriptExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/GuiProfiledPrincipalManagerImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/RunAsRunner.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestIntent.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestRunAs.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestValidityRecomputeTask.java
    A model/model-intest/src/test/resources/run-as/role-regular-user.xml
    A model/model-intest/src/test/resources/run-as/role-with-service-mapping-privileged.xml
    A model/model-intest/src/test/resources/run-as/role-with-service-mapping-run-as.xml
    A model/model-intest/src/test/resources/run-as/role-with-service-mapping-standard.xml
    A model/model-intest/src/test/resources/run-as/service-one.xml
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/run/processing/ItemProcessingGatekeeper.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/Expression.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionFactory.java
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/MidPointPrincipalManager.java
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/SecurityContextManager.java
    M repo/security-impl/src/main/java/com/evolveum/midpoint/security/impl/SecurityContextManagerImpl.java
    M repo/security-impl/src/test/java/com/evolveum/midpoint/security/impl/MidPointPrincipalManagerMock.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/RunningLightweightTaskImpl.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/run/JobExecutor.java
    M testing/longtest/src/test/java/com/evolveum/midpoint/testing/longtest/TestRunAs.java

  Log Message:
  -----------
  Merge branch 'master' of github.com:Evolveum/midpoint


  Commit: 4d6bc27253cea6c1bc181aa935cc54428be9433e
      https://github.com/Evolveum/midpoint/commit/4d6bc27253cea6c1bc181aa935cc54428be9433e
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M repo/security-impl/pom.xml

  Log Message:
  -----------
  Add forgotten dependency


  Commit: e10237457e7f0c111d562c201cc1f239da5087fb
      https://github.com/Evolveum/midpoint/commit/e10237457e7f0c111d562c201cc1f239da5087fb
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/Main.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/MainResult.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ActionResult.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/VerifyAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/VerifyResult.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/upgrade/action/PreUpgradeCheckAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/upgrade/action/UpgradeDistributionAction.java
    M tools/ninja/src/test/java/com/evolveum/midpoint/ninja/PreUpgradeCheckTest.java
    M tools/ninja/src/test/java/com/evolveum/midpoint/ninja/VerifyUpgradeTest.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


  Commit: ce357da80a1765eb64b23479470045dad53d0bef
      https://github.com/Evolveum/midpoint/commit/ce357da80a1765eb64b23479470045dad53d0bef
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-07-29 (Sat, 29 Jul 2023)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/init/DataImport.java
    M model/cases-impl/src/main/java/com/evolveum/midpoint/cases/impl/engine/events/PendingAuditRecords.java
    M model/cases-impl/src/main/java/com/evolveum/midpoint/cases/impl/helpers/CaseMiscHelper.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/AuthorizationDiagEvaluation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelInteractionServiceImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/GuiProfiledPrincipalManagerImpl.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestRunAs.java
    M model/model-intest/src/test/resources/run-as/role-with-service-mapping-privileged.xml
    M model/model-intest/src/test/resources/run-as/role-with-service-mapping-run-as.xml
    M model/model-intest/src/test/resources/run-as/role-with-service-mapping-standard.xml
    M model/model-intest/testng-integration-full.xml
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
    M repo/audit-api/src/main/java/com/evolveum/midpoint/audit/api/AuditEventRecord.java
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/MidPointPrincipal.java
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/SecurityUtil.java
    M repo/security-impl/src/main/java/com/evolveum/midpoint/security/impl/SecurityContextManagerImpl.java
    M repo/security-impl/src/test/java/com/evolveum/midpoint/security/impl/MidPointPrincipalManagerMock.java
    M repo/system-init/src/main/java/com/evolveum/midpoint/init/AuditServiceProxy.java

  Log Message:
  -----------
  Audit runAs/runPrivileged properly

The AuditEventRecord was extended by "effectivePrincipalRef"
and "effectivePrivilegesModified" describing the real logged-in
principal carrying out an action, as well as the information whether
its privileges were modified (e.g. by "runPrivileged" directive) or not.

(This commit also changes the creation of MidPointPrincipal objects,
plus other unrelated minor changes.)

Work in progress. The names are preliminary.
The information is not really stored in the audit log yet.


  Commit: 6d6c41b41a0f469d6df564e4599bfdaa293d9707
      https://github.com/Evolveum/midpoint/commit/6d6c41b41a0f469d6df564e4599bfdaa293d9707
  Author: Viliam Repan <vilo.repan at evolveum.com>
  Date:   2023-07-31 (Mon, 31 Jul 2023)

  Changed paths:
    M tools/ninja/testng-unit.xml

  Log Message:
  -----------
  MID-8842 ninja - disabled tests because of jenkins having panic attacks or something on master-quick build


  Commit: 27beed1dc461b5e2ba1cf105cc7b3b199e118e0d
      https://github.com/Evolveum/midpoint/commit/27beed1dc461b5e2ba1cf105cc7b3b199e118e0d
  Author: Katarina Valalikova <k.valalikova at evolveum.com>
  Date:   2023-07-31 (Mon, 31 Jul 2023)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/page/PageAdminLTE.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/PageRegistrationConfirmation.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/PageRegistrationFinish.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/PageSelfRegistration.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/init/DataImport.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/config/ConfigurationItemable.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/config/ExpressionConfigItem.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/config/PrivilegesMixin.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/config/ScriptExecutionPolicyActionConfigItem.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/SchemaDebugUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M infra/schema/src/main/resources/xml/ns/public/common/common-policy-3.xsd
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/authorization/evaluator/MidPointGuiAuthorizationEvaluator.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/authorization/evaluator/MidpointHttpAuthorizationEvaluator.java
    M model/authentication-impl/src/test/java/com/evolveum/midpoint/authentication/evaluator/TestAbstractAuthenticationEvaluator.java
    M model/cases-impl/src/main/java/com/evolveum/midpoint/cases/impl/engine/events/PendingAuditRecords.java
    M model/cases-impl/src/main/java/com/evolveum/midpoint/cases/impl/helpers/CaseMiscHelper.java
    M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/CertificationManagerImpl.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/authentication/GuiProfiledPrincipalManager.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/expr/OptimizingTriggerCreator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/AuthorizationDiagEvaluation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelInteractionServiceImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/scriptExecutor/AsynchronousScriptExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/scriptExecutor/PolicyRuleScriptExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/GuiProfiledPrincipalManagerImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/RunAsRunner.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestIntent.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestRunAs.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestValidityRecomputeTask.java
    A model/model-intest/src/test/resources/run-as/role-regular-user.xml
    A model/model-intest/src/test/resources/run-as/role-with-service-mapping-privileged.xml
    A model/model-intest/src/test/resources/run-as/role-with-service-mapping-run-as.xml
    A model/model-intest/src/test/resources/run-as/role-with-service-mapping-standard.xml
    A model/model-intest/src/test/resources/run-as/service-one.xml
    M model/model-intest/testng-integration-full.xml
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
    M repo/audit-api/src/main/java/com/evolveum/midpoint/audit/api/AuditEventRecord.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/run/processing/ItemProcessingGatekeeper.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/Expression.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionFactory.java
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/MidPointPrincipal.java
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/MidPointPrincipalManager.java
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/SecurityContextManager.java
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/SecurityUtil.java
    M repo/security-impl/pom.xml
    M repo/security-impl/src/main/java/com/evolveum/midpoint/security/impl/SecurityContextManagerImpl.java
    M repo/security-impl/src/test/java/com/evolveum/midpoint/security/impl/MidPointPrincipalManagerMock.java
    M repo/system-init/src/main/java/com/evolveum/midpoint/init/AuditServiceProxy.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/RunningLightweightTaskImpl.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/run/JobExecutor.java
    M testing/longtest/src/test/java/com/evolveum/midpoint/testing/longtest/TestRunAs.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/Main.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/MainResult.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ActionResult.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/VerifyAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/VerifyResult.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/upgrade/action/DownloadDistributionAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/upgrade/action/DownloadDistributionOptions.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/upgrade/action/PreUpgradeCheckAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/upgrade/action/UpgradeDistributionAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/verify/VerificationReporter.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/worker/VerifyConsumerWorker.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/impl/NinjaContext.java
    M tools/ninja/src/main/resources/messages.properties
    M tools/ninja/src/test/java/com/evolveum/midpoint/ninja/ImportRepositoryTest.java
    M tools/ninja/src/test/java/com/evolveum/midpoint/ninja/NinjaTestMixin.java
    M tools/ninja/src/test/java/com/evolveum/midpoint/ninja/PreUpgradeCheckTest.java
    M tools/ninja/src/test/java/com/evolveum/midpoint/ninja/VerifyUpgradeTest.java
    A tools/ninja/src/test/resources/ctx-ninja.xml
    R tools/ninja/src/test/resources/midpoint-home/config.xml
    R tools/ninja/src/test/resources/midpoint-home/keystore.jceks
    R tools/ninja/src/test/resources/midpoint-home/test-config-new-repo.xml
    R tools/ninja/src/test/resources/upgrade/midpoint-home/config.xml
    R tools/ninja/src/test/resources/upgrade/sql-scripts/4.4.5/postgres-new-audit.sql
    R tools/ninja/src/test/resources/upgrade/sql-scripts/4.4.5/postgres-new-quartz.sql
    R tools/ninja/src/test/resources/upgrade/sql-scripts/4.4.5/postgres-new-upgrade-audit.sql
    R tools/ninja/src/test/resources/upgrade/sql-scripts/4.4.5/postgres-new-upgrade.sql
    R tools/ninja/src/test/resources/upgrade/sql-scripts/4.4.5/postgres-new.sql
    R tools/ninja/src/test/resources/upgrade/sql-scripts/4.7.1/postgres-new-audit.sql
    R tools/ninja/src/test/resources/upgrade/sql-scripts/4.7.1/postgres-new-quartz.sql
    R tools/ninja/src/test/resources/upgrade/sql-scripts/4.7.1/postgres-new-upgrade-audit.sql
    R tools/ninja/src/test/resources/upgrade/sql-scripts/4.7.1/postgres-new-upgrade.sql
    R tools/ninja/src/test/resources/upgrade/sql-scripts/4.7.1/postgres-new.sql
    R tools/ninja/src/test/resources/upgrade/sql/create-database.sql
    R tools/ninja/src/test/resources/upgrade/sql/drop-database.sql
    R tools/ninja/src/test/resources/upgrade/sql/select-query.sql
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/distribution/RELEASE-NOTES
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/distribution/bin/midpoint.sh
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/distribution/doc/index.html
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/distribution/lib/midpoint.jar.txt
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/distribution/lib/ninja.jar.txt
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/distribution/var/README.txt
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/midpoint-home/RELEASE-NOTES
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/midpoint-home/bin/midpoint.sh
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/midpoint-home/doc/docs.html
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/midpoint-home/lib/midpoint.war.txt
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/midpoint-home/lib/ninja.jar.txt
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/midpoint-home/var/README.txt
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/midpoint-home/var/config.xml
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/midpoint-home/var/icf-connectors/custom-connector.jar.txt
    R tools/ninja/src/test/resources/upgrade/upgrade-midpoint-home/midpoint-home/var/midpoint.mv.db.txt
    M tools/ninja/testng-unit.xml

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master' into feature/forgot-username

* origin/master:
  MID-8842 ninja - disabled tests because of jenkins having panic attacks or something on master-quick build
  Audit runAs/runPrivileged properly
  Add forgotten dependency
  MID-8842 ninja - actions and ninja now can return custom system.exit code
  Add "privileges" item to expression/scripting rule
  MID-8842 ninja - ninja now can output non-zer error code in some cases, actions still need to be updated
  MID-8842 ninja - attempt to fix ninja tests
  MID-8842 ninja - removed obsolete test files
  MID-8842 ninja - enabled import test for ninja
  MID-8842 ninja - verification dump to csv fixed (was dumping xml delta in some cases between records)
  MID-8842 ninja - bugfixing distribution upgrade, more options for download distribution action


Compare: https://github.com/Evolveum/midpoint/compare/30ed46a25c89...27beed1dc461


More information about the midPoint-svn mailing list