[midPoint-git] [Evolveum/midpoint] 05488d: Remove some of prism api hacks

Pavol Mederly mederly at evolveum.com
Wed Dec 12 12:08:50 CET 2018


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 05488db0825fcf561493667332f285e3c2039b17
      https://github.com/Evolveum/midpoint/commit/05488db0825fcf561493667332f285e3c2039b17
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-12-10 (Mon, 10 Dec 2018)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/handlers/dto/GenericHandlerDto.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/Hacks.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/MutableComplexTypeDefinition.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/extensions/AbstractDelegatedMutableComplexTypeDefinition.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/xnode/PrimitiveXNode.java
    M infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/ComplexTypeDefinitionImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/HacksImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/xnode/PrimitiveXNodeImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ParamsTypeUtil.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelInteractionServiceImpl.java

  Log Message:
  -----------
  Remove some of prism api hacks


  Commit: a5c39e415bfe88995e8e814cc3fea749a2908eac
      https://github.com/Evolveum/midpoint/commit/a5c39e415bfe88995e8e814cc3fea749a2908eac
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-12-11 (Tue, 11 Dec 2018)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/handlers/dto/GenericHandlerDto.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/Hacks.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/MutableComplexTypeDefinition.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/extensions/AbstractDelegatedMutableComplexTypeDefinition.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/xnode/PrimitiveXNode.java
    M infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/ComplexTypeDefinitionImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/HacksImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/xnode/PrimitiveXNodeImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ParamsTypeUtil.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelInteractionServiceImpl.java

  Log Message:
  -----------
  Merge branch 'feature/prism-api'


  Commit: 7901dea8fc0ab49b91ab9940f38b160f09df89ff
      https://github.com/Evolveum/midpoint/commit/7901dea8fc0ab49b91ab9940f38b160f09df89ff
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-12-11 (Tue, 11 Dec 2018)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/util/ExpressionUtil.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/Hacks.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/PrismContext.java
    A infra/prism-api/src/main/java/com/evolveum/midpoint/prism/xnode/XNodeMutator.java
    M infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/HacksImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismContextImpl.java

  Log Message:
  -----------
  Create temporary XNodeMutator interface


  Commit: d6cd5dfca6616269567ef3e36dbc3373f428798d
      https://github.com/Evolveum/midpoint/commit/d6cd5dfca6616269567ef3e36dbc3373f428798d
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-12-11 (Tue, 11 Dec 2018)

  Changed paths:
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/authentication/CompiledUserProfile.java

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


  Commit: 58b27d2b96af90fd4c180d09b3fd59f0c16b77fa
      https://github.com/Evolveum/midpoint/commit/58b27d2b96af90fd4c180d09b3fd59f0c16b77fa
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-12-11 (Tue, 11 Dec 2018)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/show/SceneItemValuePanel.java

  Log Message:
  -----------
  Fix NPE in preview changes


  Commit: 7eaa17861eb3e67559d1443cb68d3970f23bae37
      https://github.com/Evolveum/midpoint/commit/7eaa17861eb3e67559d1443cb68d3970f23bae37
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-12-11 (Tue, 11 Dec 2018)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/ObjectListPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/util/WebComponentUtil.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/AbstractSummaryPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/ConstructionAssociationPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/model/delta/ContainerValueDto.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/model/delta/DeltaDto.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/ContainerWrapperFactory.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/PrismValuePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/PropertyOrReferenceWrapper.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/PageAdminFocus.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/orgs/AbstractOrgTabPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/users/PageUsersView.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/self/PageSelfDashboard.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/Item.java
    A infra/prism-api/src/main/java/com/evolveum/midpoint/prism/ParentVisitable.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/PrismContainer.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/PrismContainerValue.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/PrismContainerable.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/PrismObject.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/PrismProperty.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/PrismReference.java
    R infra/prism-api/src/main/java/com/evolveum/midpoint/prism/extensions/AbstractDelegatedMutableComplexTypeDefinition.java
    R infra/prism-api/src/main/java/com/evolveum/midpoint/prism/extensions/AbstractDelegatedMutablePrismPropertyDefinition.java
    R infra/prism-api/src/main/java/com/evolveum/midpoint/prism/extensions/AbstractDelegatedMutablePrismSchema.java
    R infra/prism-api/src/main/java/com/evolveum/midpoint/prism/extensions/AbstractDelegatedPrismContainer.java
    R infra/prism-api/src/main/java/com/evolveum/midpoint/prism/extensions/AbstractDelegatedPrismProperty.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/path/ItemPath.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/path/ItemPathImpl.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/util/ItemDeltaItem.java
    M infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/ItemImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismContainerImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismContainerValueImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismObjectImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismPropertyImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismReferenceImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismValueImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/delta/ContainerDeltaImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/delta/ItemDeltaImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/marshaller/PrismMarshaller.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/marshaller/QueryConverterImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/xjc/AnyArrayList.java
    M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/TestDelta.java
    M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/TestPrismObjectConstruction.java
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/TestExport.java
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/TestJaxbConstruction.java
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/TestParseLookupTable.java
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/parser/AbstractContainerValueParserTest.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/authentication/CompiledUserProfile.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/util/DeputyUtils.java
    M model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/TestMappingDynamicSimple.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelWebService.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelController.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/controller/ObjectMerger.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/AssignmentPathSegmentImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ChangeExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/EvaluatedAssignmentImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensUtil.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/credentials/CredentialPolicyEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/InboundProcessor.java
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
    M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/formatters/TextFormatter.java
    M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/ReportUtils.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/EntitlementConverter.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ShadowCaretaker.java
    M provisioning/ucf-impl-connid/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/ConnIdConvertor.java
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/ModifyTest.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/FocusAsserter.java
    M repo/security-enforcer-impl/src/main/java/com/evolveum/midpoint/security/enforcer/impl/SecurityEnforcerImpl.java

  Log Message:
  -----------
  Clean up Item interface (part 1)

Attempted to optimize # of object creation in item.getPath()
and delta.getPath() methods. Not sure if it helps.

Unified item.getValue() method.
Removed getPreviousValue/getNextValue methods.
Removed getValue(index) method.
Removed unused AbstractDelegatedXXX classes.


  Commit: 33c751e46700eb0727d950bf4a0f30c44c99d911
      https://github.com/Evolveum/midpoint/commit/33c751e46700eb0727d950bf4a0f30c44c99d911
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-12-12 (Wed, 12 Dec 2018)

  Changed paths:
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/Item.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/ItemImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismContainerImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismPropertyImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismReferenceImpl.java

  Log Message:
  -----------
  Remove default Item.getRealValue()


  Commit: 92ec337c35ba78ba3445a5a7b5b744df0b99ef80
      https://github.com/Evolveum/midpoint/commit/92ec337c35ba78ba3445a5a7b5b744df0b99ef80
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-12-12 (Wed, 12 Dec 2018)

  Changed paths:
    M gui/admin-gui/src/main/resources/localization/Midpoint.properties
    M infra/schema/src/main/resources/localization/schema.properties
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd

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


Compare: https://github.com/Evolveum/midpoint/compare/126675650555...92ec337c35ba
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the midPoint-svn mailing list