summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--INFO.yaml8
-rw-r--r--adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/helpers/AaiHelper.java7
-rw-r--r--adapters/mso-openstack-adapters/src/test/java/org/onap/so/heatbridge/HeatBridgeImplTest.java6
-rw-r--r--docs/release-notes.rst2
4 files changed, 20 insertions, 3 deletions
diff --git a/INFO.yaml b/INFO.yaml
index 470e0d2ade..a6d7d1d3db 100644
--- a/INFO.yaml
+++ b/INFO.yaml
@@ -60,6 +60,11 @@ committers:
company: 'Nokia'
id: 'lukaszM'
timezone: 'Europe/Warsaw'
+ - name: 'Ramesh Parthasarathy'
+ email: 'ramesh.parthasarathy@att.com'
+ company: 'ATT'
+ id: 'parthasram'
+ timezone: 'PST'
tsc:
approval: 'https://lists.onap.org/pipermail/onap-tsc'
changes:
@@ -96,3 +101,6 @@ tsc:
name: 'Marcus Williams'
name: 'Sanchita Pathak'
name: 'Subhash Kumar Singh'
+ - type: 'addition'
+ name: 'Ramesh Parthasarathy'
+ link: 'https://wiki.onap.org/display/Meetings/TSC+2020-12-03'
diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/helpers/AaiHelper.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/helpers/AaiHelper.java
index a8fa6535c3..1f6c0df90f 100644
--- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/helpers/AaiHelper.java
+++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/helpers/AaiHelper.java
@@ -108,6 +108,13 @@ public class AaiHelper {
* if (!StringUtils.isEmpty(server.getName())) {
* relationships.add(createVnfRelationshiptoVserver(server.getName(), genericVnfId, vfModuleId)); }
*/
+
+ // vserver to generic-vnf relationship
+ Relationship genericVnfRelationship = buildRelationship(
+ AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.network().genericVnf(genericVnfId)));
+ relationships.add(genericVnfRelationship);
+
+
// vserver to vf-module relationship
Relationship vfModuleRelationship = buildRelationship(AAIUriFactory
.createResourceUri(AAIFluentTypeBuilder.network().genericVnf(genericVnfId).vfModule(vfModuleId)));
diff --git a/adapters/mso-openstack-adapters/src/test/java/org/onap/so/heatbridge/HeatBridgeImplTest.java b/adapters/mso-openstack-adapters/src/test/java/org/onap/so/heatbridge/HeatBridgeImplTest.java
index a18904f8f4..fab7df5345 100644
--- a/adapters/mso-openstack-adapters/src/test/java/org/onap/so/heatbridge/HeatBridgeImplTest.java
+++ b/adapters/mso-openstack-adapters/src/test/java/org/onap/so/heatbridge/HeatBridgeImplTest.java
@@ -371,15 +371,15 @@ public class HeatBridgeImplTest {
org.onap.aai.domain.yang.RelationshipList relList = aaiHelper.getVserverRelationshipList(CLOUD_OWNER, REGION_ID,
"test-genericVnf-id", "test-vfModule-id", server1);
- assertEquals(2, relList.getRelationship().size());
+ assertEquals(3, relList.getRelationship().size());
org.onap.aai.domain.yang.RelationshipList relList2 = aaiHelper.getVserverRelationshipList(CLOUD_OWNER,
REGION_ID, "test-genericVnf-id", "test-vfModule-id", server2);
- assertEquals(1, relList2.getRelationship().size());
+ assertEquals(2, relList2.getRelationship().size());
org.onap.aai.domain.yang.RelationshipList relList3 = aaiHelper.getVserverRelationshipList(CLOUD_OWNER,
REGION_ID, "test-genericVnf-id", "test-vfModule-id", server3);
- assertEquals(1, relList3.getRelationship().size());
+ assertEquals(2, relList3.getRelationship().size());
}
diff --git a/docs/release-notes.rst b/docs/release-notes.rst
index c1635fc532..d823b405f9 100644
--- a/docs/release-notes.rst
+++ b/docs/release-notes.rst
@@ -190,6 +190,8 @@ Quick Links:
**Known Issues**
* `SO-3403 <https://jira.onap.org/browse/SO-3403>`_ - The functionality of the SO cnf-adapter will be tested further and will be delivered by the Guilin Maintenance Release as a 1.7.11 patch.
+* `SO-3237 <https://jira.onap.org/browse/SO-SO-3237>`_ - Exposed HTTP port.
+
**Upgrade Notes**