[midPoint-git] [Evolveum/midpoint] 67d9f0: Ensure uniqueness of shadow primary ID (in repo)

mederly noreply at github.com
Wed Apr 10 17:21:40 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 67d9f06b5013a30824015d43149841b0ed87e103
      https://github.com/Evolveum/midpoint/commit/67d9f06b5013a30824015d43149841b0ed87e103
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-04-10 (Wed, 10 Apr 2019)

  Changed paths:
    M config/sql/_all/h2-4.0-all.sql
    M config/sql/_all/h2-upgrade-3.9-4.0.sql
    M config/sql/_all/mysql-4.0-all-utf8mb4.sql
    M config/sql/_all/mysql-4.0-all.sql
    M config/sql/_all/mysql-upgrade-3.9-4.0-utf8mb4.sql
    M config/sql/_all/mysql-upgrade-3.9-4.0.sql
    M config/sql/_all/oracle-4.0-all.sql
    M config/sql/_all/oracle-upgrade-3.9-4.0.sql
    M config/sql/_all/postgresql-4.0-all.sql
    M config/sql/_all/postgresql-upgrade-3.9-4.0.sql
    M config/sql/_all/sqlserver-4.0-all.sql
    M config/sql/_all/sqlserver-upgrade-3.9-4.0.sql
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RShadow.java

  Log Message:
  -----------
  Ensure uniqueness of shadow primary ID (in repo)

Introduced new ShadowType.primaryIdentifierValue string property.
Uniqueness of resource OID + objectClass + primaryIdentifierValue is
ensured via DB constraint.

See MID-5237.

The Oracle is not yet supported: NULLs in the respective columns
are treated like regular values (they are checked for uniqueness as
well).


  Commit: f4c5595a18c7c2262b02cc30b54305f2b1c8db5a
      https://github.com/Evolveum/midpoint/commit/f4c5595a18c7c2262b02cc30b54305f2b1c8db5a
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-04-10 (Wed, 10 Apr 2019)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/column/InlineMenuButtonColumn.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/menu/cog/InlineMenuItem.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/PageTasks.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/TaskSubtasksAndThreadsTabPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/TaskDto.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/subtasks/SubtasksPanel.java
    M gui/admin-gui/src/main/resources/localization/Midpoint.properties
    M icf-connectors/dummy-connector/src/main/java/com/evolveum/icf/dummy/connector/AbstractDummyConnector.java
    M icf-connectors/dummy-resource/src/main/java/com/evolveum/icf/dummy/resource/DummyAttributeDefinition.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/crypto/Protector.java
    M infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/ProtectedDataType.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismPropertyValueImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/crypto/KeyStoreBasedProtectorImpl.java
    M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/crypto/TestProtector.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/stringpolicy/ObjectValuePolicyEvaluator.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/stringpolicy/ValuePolicyProcessor.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/credentials/ProjectionCredentialsProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/InboundProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/AuthenticationEvaluatorImpl.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPasswordPolicyProcessor.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/AbstractConfiguredModelIntegrationTest.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/mapping/TestMappingInbound.java
    M model/model-intest/src/test/resources/mapping/resource-dummy-tea-green.xml
    M model/model-intest/src/test/resources/schema/piracy.xsd
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ShadowCache.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/DummyResourceContoller.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/IntegrationTestTools.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/prism/PrismContainerValueAsserter.java
    A repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/prism/PrismPropertyAsserter.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/prism/PrismPropertyValueAsserter.java
    A repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/prism/ProtectedStringAsserter.java

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


Compare: https://github.com/Evolveum/midpoint/compare/d3194020f111...f4c5595a18c7


More information about the midPoint-svn mailing list