[midPoint-git] [Evolveum/midpoint] 352063: Add support for "incomplete" flag in XML/JSON/YAML

mederly noreply at github.com
Fri Jan 17 08:43:33 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 352063a2ca3e6c228a8426a0feb529670798106d
      https://github.com/Evolveum/midpoint/commit/352063a2ca3e6c228a8426a0feb529670798106d
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    A infra/prism-api/src/main/java/com/evolveum/midpoint/prism/xnode/IncompleteMarkerXNode.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/lex/LexicalProcessor.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/lex/dom/DomLexicalProcessor.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/lex/dom/DomLexicalWriter.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/lex/json/AbstractJsonLexicalProcessor.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/PrismUnmarshaller.java
    A infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/xnode/IncompleteMarkerXNodeImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/xnode/XNodeImpl.java
    M infra/prism-impl/src/main/resources/xml/ns/test/foo-1.xsd
    M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/PrismInternalTestUtil.java
    M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/TestPrismParsing.java
    M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/TestPrismParsingXml.java
    M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/foo/UserType.java
    M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/lex/AbstractLexicalProcessorTest.java
    M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/lex/TestDomParser.java
    M infra/prism-impl/src/test/resources/common/json/user-jack.json
    M infra/prism-impl/src/test/resources/common/json/user-will.json
    M infra/prism-impl/src/test/resources/common/xml/user-jack.xml
    M infra/prism-impl/src/test/resources/common/xml/user-will.xml
    M infra/prism-impl/src/test/resources/common/yaml/user-jack.yaml
    M infra/prism-impl/src/test/resources/common/yaml/user-will.yaml
    M infra/util/src/main/java/com/evolveum/midpoint/util/DOMUtil.java

  Log Message:
  -----------
  Add support for "incomplete" flag in XML/JSON/YAML

This is an experimental feature for now. It is intended mainly as
helping hand for repository to know that e.g. user photo is present
but has not been retrieved.

See MID-5772, maybe MID-5912.


  Commit: a4672da3ce410a20d5196c6675970d5689ddb25c
      https://github.com/Evolveum/midpoint/commit/a4672da3ce410a20d5196c6675970d5689ddb25c
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/PrismSerializer.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/SerializationOptions.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/util/PrismAsserts.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/marshaller/PrismMarshaller.java
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/parser/TestParseUser.java
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/parser/TestParseUserPolyString.java
    A repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/AbstractPhotoTest.java
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/CertificationTest.java
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/LookupTableTest.java
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/OrgPhotoTest.java
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/UserPhotoTest.java
    A repo/repo-sql-impl-test/src/test/resources/photo/t007-remove-non-existing-photo-by-delete.xml
    R repo/repo-sql-impl-test/src/test/resources/photo/t007-remove-photo-by-delete.xml
    R repo/repo-sql-impl-test/src/test/resources/photo/t008-remove-other-photo-by-delete.xml
    A repo/repo-sql-impl-test/src/test/resources/photo/t008-remove-photo-by-delete.xml
    A repo/repo-sql-impl-test/src/test/resources/photo/t107-remove-non-existing-photo-by-delete.xml
    R repo/repo-sql-impl-test/src/test/resources/photo/t107-remove-photo-by-delete.xml
    R repo/repo-sql-impl-test/src/test/resources/photo/t108-remove-other-photo-by-delete.xml
    A repo/repo-sql-impl-test/src/test/resources/photo/t108-remove-photo-by-delete.xml
    M repo/repo-sql-impl-test/testng-integration.xml
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/CertificationCaseHelper.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/LookupTableHelper.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/ObjectRetriever.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/ObjectUpdater.java

  Log Message:
  -----------
  Add incomplete items support into the repository

Items that are not stored in XML (i.e. focus.jpegPhoto, task.result,
lookupTable.row, certificationCampaign.case, index-only extension items
and shadow attributes) are now reported by the repository as incomplete,
if they are present but not requested for retrieval.

This is a step to the resolution of MID-5772 (and maybe MID-5912).


  Commit: 4a489502c75965e3272680721e289408d8c8e450
      https://github.com/Evolveum/midpoint/commit/4a489502c75965e3272680721e289408d8c8e450
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/GuiStyleConstants.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/wizard/resource/SchemaStep.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/wizard/resource/component/XmlEditorPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/ResourceSummaryPanel.java

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


Compare: https://github.com/Evolveum/midpoint/compare/1b91f6b1f167...4a489502c759


More information about the midPoint-svn mailing list