Hi,

As I understand from the Onap SDC that the Backend data model that doesn't 
support the sub categories of a Service.

Below is the code snippet from the Catalog-BE - 
org.openecomp.sdc.be.datamodel.utils.NodeTypeConvertUtils

Can anyone please confirm what is this use case really Mean ?  and why when 
this feature of subcategories is supported in Product
And it not supported in Services alone ?

For Example My Main Service is Ethernet, & my sub-category is ADSL, Being in 
this scenario how SDC will allow myself to design a Service Catalog  with 
multiple serviceTypes which belongs to one Group.

Best Regards,
BalaSundar.S

case SERVICE:
                        switch (categoryType) {
                        case CATEGORY:
                              res = NodeTypeEnum.ServiceNewCategory;
                              break;

                        default:
                              // doesn't support subcategories or grouping
                              break;
                        }
                        break;
                  case RESOURCE:
                        switch (categoryType) {
                        case CATEGORY:
                              res = NodeTypeEnum.ResourceNewCategory;
                              break;
                        case SUBCATEGORY:
                              res = NodeTypeEnum.ResourceSubcategory;
                              break;
                        default:
                              // doesn't support grouping
                              break;
                        }
                        break;
                  case PRODUCT:
                        switch (categoryType) {
                        case CATEGORY:
                              res = NodeTypeEnum.ProductCategory;
                              break;
                        case SUBCATEGORY:
                              res = NodeTypeEnum.ProductSubcategory;
                              break;
                        case GROUPING:
                              res = NodeTypeEnum.ProductGrouping;
                              break;


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

Reply via email to