Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. replace all ElementCollections with Converters:
    • Is a fix and not a change of technologies
    • Small Json instead of Java binary code
    • compatible with H2, MariaDB and PostreSqlPostgreSQL
    • it impacts only onap/policy/models, persistence classes used into ElementCollections have to change to a Document oriented classes
    • 50% of tables (with postfix as _ATTRIBUTES, _PROPERTIES, _METADATA, _OCCURRENCES, _CONSTRAINTS, _TARGETS, _TRIGGERS and _INPUTS) will be removed
    • Unit tests only onap/policy/models
    • onap/policy/models still compatible with not Spring ApplicationApplications
  2. Unique Json String:
    • One big Json for each model (e.g. saving the whole ToscaServiceTemplace as Json)
    • compatible only with PostreSqlPostgreSQL
    • it impacts onap/policy/models and all applications related (runtime-acm, api and pap), persistence classes have to change to a Document oriented classes
    • 90% of tables will be removed
    • Unit tests need PostgreSQLContainer (is not compatible with H2)
    • onap/policy/models still compatible with not Spring ApplicationApplications
  3. MongoDB/Cassandra
    • Document oriented approach full supported by SpringBoot (not needs Converters)
    • it impacts onap/policy/models and all applications related (runtime-acm, api and pap), and all repositories and persistence classes have to change to a Document oriented classes
    • compatible only with MongoDB/Cassandra (MongoDB and Cassandra are not compatible to each other)
    • Unit tests need an Embedded Server (example for cassandra: EmbeddedCassandraServerHelper or CassandraContainer)

...