-
Story
-
Resolution: Done
-
Medium
-
None
-
None
-
Policy 2023-08-02->2023-08-17
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
- Add new hashmap (outProperties) in AC Def Object (NodeTemplateState). Should be a hashmap for each element definition.
- Ppnt status must support this hashmap being delivered back to acm for saving to db.
- the restart message should contain the composition outProperties
Implementation Steps for Ppnt
- They should add hashmap with prime props (e.g. helm url) inside the ppnt status message (PARTICIPANT_STATUS)
- Retrieve Ac Definition by composition id. Get prime out properties from this object
- they can call a method to send composition outProperties
- in the mock participant could be possible update/retrieve composition outProperties by endpoint (maybe we can use same endpoint or same object)
- 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)
- elaborate restart message and cache the composition outProperties
Documentation
- 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).