Uploaded image for project: 'Apache NiFi MiNiFi C++'
  1. Apache NiFi MiNiFi C++
  2. MINIFICPP-2028

Remove SerializableComponent dependency from Repository

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.14.0

    Description

      core::Repository is inherited from SerializableComponent which is an unneeded dependency. SerializableComponent contains a lot of member functions that are not used in core::Repository and in multiple repository implementations these serialization methods aren't doing actual serialization. The serialization and deserialization semantics are also mixed up in these implementations.

      The inheritance should be removed and the actual implementations in core::Repository child implementations should be renamed to reflect the actual functionality. Where SerializableComponent is actually implemented, for example in 
      ProvenanceEventRecord, it should be revised to see if all Serialize/Deserialize overloads are needed.

      Attachments

        Issue Links

          Activity

            People

              lordgamez Gábor Gyimesi
              lordgamez Gábor Gyimesi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m