[midPoint-git] [Evolveum/midpoint] b244e5: Sqale: Store attributes only in attributes column ...

Tony Tkáčik noreply at github.com
Wed Jun 19 16:59:35 CEST 2024


  Branch: refs/heads/feature/repo-attribute-storage
  Home:   https://github.com/Evolveum/midpoint
  Commit: b244e55935c7b60fa20e646f86d0e9a5e863111b
      https://github.com/Evolveum/midpoint/commit/b244e55935c7b60fa20e646f86d0e9a5e863111b
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2024-06-19 (Wed, 19 Jun 2024)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/shadow/QShadowMapping.java

  Log Message:
  -----------
  Sqale: Store attributes only in attributes column with custom JSON format

Attributes are no more stored inside full object, but in custom attributes
column (extension-based storage)
and added during read to resulting prism object.


  Commit: 4fd4516609fdfa36183e9a7063055c8e4b88e08f
      https://github.com/Evolveum/midpoint/commit/4fd4516609fdfa36183e9a7063055c8e4b88e08f
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2024-06-19 (Wed, 19 Jun 2024)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/ExtensionProcessor.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/jsonb/JsonbUtils.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/MObjectType.java

  Log Message:
  -----------
  Sqale: Fixed attributes/extension JSON deserialization

Fixed buggy deserialization of indexOnly extension items / attributes
which are not strings.

Properly deserialize complex properties: object reference and polystring
Properly deserialize String-based types
Properly cast numbers (JSON may return different than in schema)


  Commit: 7cd7f9cc1f98ca5d7c8ee9c30867a7cb72b28cc8
      https://github.com/Evolveum/midpoint/commit/7cd7f9cc1f98ca5d7c8ee9c30867a7cb72b28cc8
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2024-06-19 (Wed, 19 Jun 2024)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/shadow/QShadowMapping.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/IntegrationTestTools.java

  Log Message:
  -----------
  sqale: attributes caching: Fixed testing tools issue


  Commit: 68085eda7e5be63051b253584bc773acece1aa5b
      https://github.com/Evolveum/midpoint/commit/68085eda7e5be63051b253584bc773acece1aa5b
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2024-06-19 (Wed, 19 Jun 2024)

  Changed paths:
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/GetObjectOpHandler.java

  Log Message:
  -----------
  cache: Do not cache reads by oid + ObjectType

Caching reads performed by oid + ObjectType may lead to caching
incorrect version of full object:
  eg.:
  shadow without loading attributes
  focus without focus identities


Compare: https://github.com/Evolveum/midpoint/compare/b244e55935c7%5E...68085eda7e5b

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