Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-7511

Review StoredObject and StoredEvent structure

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 8.45.0.Final
    • 8.41.0.Final
    • Reliable Session
    • None
    • 2023 Week 27-29 (from Jul 3), 2023 Week 30-32 (from Jul 24), 2023 Week 33-35 (from Aug 14), 2023 Week 36-38 (from Sep 4)
    • 2
    • NEW
    • NEW
    • ---
    • ---

    Description

      Issue Description:

      https://github.com/kiegroup/drools/pull/5392/files#r1267505673 (PR cancelled)
      https://github.com/kiegroup/drools/pull/5445 (merged PR)

      Currently, inheritance structure is

      StoredObject <- BaseStoredObject <- BaseStoredEvent <- SerializableStoredEvent ( <- SerializableStoredRefEvent ? )
                           StoredEvent <-
      
      StoredObject <- BaseStoredObject <- SerializableStoredObject <- SerializableStoredRefObject
      

      , so SerializableStoredRefEvent cannot extend SerializableStoredRefObject

      reconsider the inheritance structure to minimize code duplication.

      Work on after https://issues.redhat.com/browse/DROOLS-7512

      Acceptance Criteria:

      • Adapt Event use cases to PersistenceObjectsStrategy.OBJECT_REFERENCES
      • Make the inheritance structure easy to maintain as possible.

      Attachments

        Activity

          People

            rhn-support-tkobayas Toshiya Kobayashi
            rhn-support-tkobayas Toshiya Kobayashi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: