Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-9703

Refactor JsonValue 'repo' and 'managed' formatted edge state into distinct POJO classes

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: OpenIDM 6.0.0
    • Fix Version/s: None
    • Component/s: Module - Relationships
    • Labels:
    • Target Version/s:

      Description

      Much of the complexity in the EdgeInternals results from the marshaling between edge state formatted in 'repo' (firstId, firstPropertyName,...) and 'managed' (_ref, _refProperties,...) formats. Breaking this state into distinct POJO instances would make it very clear which format was expected when, and clarify the marshaling between the each format.

      Part of this work should involve producing the POJO instance representing the edge state in the correct format as part of an AsyncFunction so that the chain of function invocations is consistently asynchronous, as opposed to the mix of synchronous invocations (corresponding to edge state marshaling) and asynchronous invocations (for everything but edge state marshaling) as is currently the case.

        Attachments

          Activity

            People

            Assignee:
            dhogan Dirk Hogan
            Reporter:
            dhogan Dirk Hogan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: