Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-4774

Participant priming properties

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Montreal Release
    • None
    • clamp
    • None

      ACM-R should have the ability to receive properties from the participant at priming time. These properties should then be saved to the acm-r database as part of the composition being primed.

       
      Implementation Steps ACM

      1. Add new hashmap (outProperties) in AC Def Object (NodeTemplateState). Should be a hashmap for each element definition.
      2. Ppnt status must support this hashmap being delivered back to acm for saving to db.
      3. the restart message should contain the composition outProperties

      Implementation Steps for Ppnt

      1. They should add hashmap with prime props (e.g. helm url) inside the ppnt status message (PARTICIPANT_STATUS)
      2. Retrieve Ac Definition by composition id. Get prime out properties from this object
      3. they can call a method to send composition outProperties
      4. in the mock participant could be possible update/retrieve composition outProperties by endpoint (maybe we can use same endpoint or same object)
      5. the participant status should send Instances and compositions data only if required (by calling the right method). Participant have to send a merged hashMap (not partial because ACM-r will be override the old hashMap)
      6. elaborate restart message and cache the composition outProperties

      Documentation

      1. The can include these prime out properties in the instance creation step or the can use a method to retrieve outProperties by compositionId (all data are in cache).

            FrancescoFioraEst Francesco Fiora
            saul.gill Saul Gill
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: