[SDC] rebase 1710 code
[sdc.git] / catalog-ui / src / app / utils / component-instance-factory.ts
index c020c53..9e25e6b 100644 (file)
@@ -21,7 +21,7 @@
  * Created by obarda on 3/7/2016.
  */
 'use strict';
-import {ComponentInstance, ServiceInstance, ProductInstance, ResourceInstance, Component} from "../models";
+import {ComponentInstance, ServiceInstance, ResourceInstance, Component} from "../models";
 import {LeftPaletteComponent} from "../models/components/displayComponent";
 
 export class ComponentInstanceFactory {
@@ -33,10 +33,6 @@ export class ComponentInstanceFactory {
                 newComponentInstance = new ServiceInstance(componentInstance);
                 break;
 
-            case 'PRODUCT':
-                newComponentInstance = new ProductInstance(componentInstance);
-                break;
-
             default :
                 newComponentInstance = new ResourceInstance(componentInstance);
                 break;
@@ -51,10 +47,6 @@ export class ComponentInstanceFactory {
                 newComponentInstance = new ServiceInstance();
                 break;
 
-            case 'PRODUCT':
-                newComponentInstance = new ProductInstance();
-                break;
-
             default :
                 newComponentInstance = new ResourceInstance();
                 break;