Hello AAI Devs!

I am running into this case where I have some AAI objects created and 
relationships between them also created.
And then I modify the edge-property for the relationship between these objects, 
apply these changes and create new objects and relationships.
This ends up leaving AAI in a state where I have the old relationships behaving 
as per the old edge-properties whereas the new relationships follow the new 
property.

For example: When the delete-other-v property is updated as below. It leaves 
AAI in a state where the relationships behave differently between the 
l-interfaces and logical-link before and after the change.

                              {
                                                "from": "l-interface",
                                                "to": "logical-link",
                                                "label": "usesLogicalLink",
                                                "direction": "OUT",
                                                "multiplicity": "Many2Many",
                                                "contains-other-v": "NONE",
                                                "delete-other-v": 
"${direction}",   --> e.g. update value to NONE instead
                                                "SVC-INFRA": "${direction}",
                                                "prevent-delete": "NONE"
                                }

Is there any way to migrate all the relationships to follow new edge properties 
without having to delete and recreate them?
Any recommendations around best-practices when modifying AAI schema or Edge 
rules is much appreciated.

Thanks,
Rashmi
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to