diff options
author | Benjamin, Max (mb388a) <mb388a@us.att.com> | 2018-10-16 16:46:17 -0400 |
---|---|---|
committer | Benjamin, Max (mb388a) <mb388a@us.att.com> | 2018-10-17 10:02:42 -0400 |
commit | e761fa50f80b2d6888f510f67cab1d6e740fd28e (patch) | |
tree | 16bbf0ee87ad7234a0da6c1cc483cf96858f6f2a /mso-catalog-db/src/main | |
parent | dae0218b5134920ddbbc76be657aebcb3314e1bd (diff) |
Bug fixes October 16
Treat the VfModule returned from PrepareUpdateAAIVfModule call as an
AAI object
collection create, connect instanceGroup to cloudRegion
Fix a typo in the name of the method for getting a variable
testing mapping of instance group role
test NetworkInstanceGroup role to be SUB-INTERFACE
use enum value with hyphen for subtype
Some updates based on feedback to java codes
updated client to use optional instead of passing null
added case where client sends null due to mapping issue
added generic response object and pinc returns response
build relationship now correctly removes wrapper
Ensure that no null object gets referenced while checking if VNF is
empty.
Change-Id: I6177877518475c1f2e8e4e9dbd2ad1e2f3e10d18
Issue-ID: SO-1144
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
Diffstat (limited to 'mso-catalog-db/src/main')
-rw-r--r-- | mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/SubType.java | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/SubType.java b/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/SubType.java index bc4f07b54b..3230d8427b 100644 --- a/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/SubType.java +++ b/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/SubType.java @@ -21,5 +21,14 @@ package org.onap.so.db.catalog.beans; public enum SubType { - SUB_INTERFACE + SUB_INTERFACE("SUB-INTERFACE"); + + private final String value; + SubType(String value){ + this.value = value; + } + @Override + public String toString() { + return this.value; + } } |