I’d like to move it to a small microservice we can trigger in the create vf module BB, if you have some time and cycles we can work on this one together.
Thanks -Steve From: <[email protected]> on behalf of "Ahmad, Munir" <[email protected]> Reply-To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]> Date: Tuesday, November 20, 2018 at 1:19 PM To: "[email protected]" <[email protected]> Subject: [onap-discuss] SO Heatbridge for Dublin Release Hello SO team, With Casablanca release, there is no way to synchronize OpenStack resources into AAI post create VF module building block automatically. Today’s heatbridge is hardcoded to be disabled https://github.com/onap/so/blob/f2afd9880e409317626f393ab6d0a414a80653de/adapters/mso-openstack-adapters/src/test/java/org/onap/so/adapters/vnf/VolumeGroupAdapterCommon.java<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_onap_so_blob_f2afd9880e409317626f393ab6d0a414a80653de_adapters_mso-2Dopenstack-2Dadapters_src_test_java_org_onap_so_adapters_vnf_VolumeGroupAdapterCommon.java&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=shs6nPzThSiGJml9VXN0Eg&m=lLOCasBcivrOml90vDELj3ImMXvmxX2siQvckLYKsqI&s=xPanDRzOYYN9hiP8OgxzZzN_n6AQcPQQmI2mxa9jUOA&e=> My understanding is that there is a python script that is triggered by robot and I believe we need a more robust way of achieving this through SO request. I would like to propose that we implement something more robust for Dublin release. Please let me know about the next steps on this. The flag to enable heatbridge can come from SO request and the default can be false. As for implementation, I believe we should not trigger the python script from java through Runtime execute as there are some security vulnerabilities and we need to mitigate OS injection attack. https://github.com/onap/so/blob/6bfb4b9a77b8ed2ebf94c9e8c1ad683b211e680d/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/vnf/MsoVnfAdapterImpl.java<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_onap_so_blob_6bfb4b9a77b8ed2ebf94c9e8c1ad683b211e680d_adapters_mso-2Dopenstack-2Dadapters_src_main_java_org_onap_so_adapters_vnf_MsoVnfAdapterImpl.java&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=shs6nPzThSiGJml9VXN0Eg&m=lLOCasBcivrOml90vDELj3ImMXvmxX2siQvckLYKsqI&s=I97YmwYtyo2wPeDwXc5AnjlkveMI-m60KcI_ElPK9-g&e=> As an alternative, this can be implemented in java and stitched within one of the appropriate building blocks. Thanks Munir -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13896): https://lists.onap.org/g/onap-discuss/message/13896 Mute This Topic: https://lists.onap.org/mt/28269904/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
