summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/pages
diff options
context:
space:
mode:
authormiriame <miriam.eini@amdocs.com>2019-06-04 08:54:47 +0300
committerAvi Gaffa <avi.gaffa@amdocs.com>2019-06-04 06:58:58 +0000
commit2183b636b4e3708c58f76bda60fc4d4348160d8e (patch)
tree2071e1390db840c041415277a634c51f9bd7a4e6 /catalog-ui/src/app/ng2/pages
parent3f51f0186e99e1feabef9421ab30c4554f1921f9 (diff)
fix bug - Service dependency - Can't select parent inputs that came from other instances
Issue-ID: SDC-2349 Change-Id: Ief5d068e1dacbef1f70766f0e3b17c1a28a35344 Signed-off-by: miriame <miriam.eini@amdocs.com>
Diffstat (limited to 'catalog-ui/src/app/ng2/pages')
-rw-r--r--catalog-ui/src/app/ng2/pages/service-dependencies-editor/service-dependencies-editor.component.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/catalog-ui/src/app/ng2/pages/service-dependencies-editor/service-dependencies-editor.component.ts b/catalog-ui/src/app/ng2/pages/service-dependencies-editor/service-dependencies-editor.component.ts
index cdef018b84..271dd4ada0 100644
--- a/catalog-ui/src/app/ng2/pages/service-dependencies-editor/service-dependencies-editor.component.ts
+++ b/catalog-ui/src/app/ng2/pages/service-dependencies-editor/service-dependencies-editor.component.ts
@@ -16,7 +16,7 @@
import { Component } from '@angular/core';
import {ServiceServiceNg2} from "app/ng2/services/component-services/service.service";
import {ConstraintObjectUI, OPERATOR_TYPES} from 'app/ng2/components/logic/service-dependencies/service-dependencies.component';
-import {ServiceInstanceObject, PropertyBEModel} from 'app/models';
+import {ServiceInstanceObject, PropertyBEModel, InputBEModel} from 'app/models';
import { PROPERTY_DATA } from 'app/utils';
import {DropdownValue} from 'app/ng2/components/ui/form-components/dropdown/ui-element-dropdown.component';
@@ -50,7 +50,7 @@ export class ServiceDependenciesEditorComponent {
serviceRules: Array<ConstraintObjectUI>,
compositeServiceName: string,
currentServiceName: string,
- compositeServiceProperties: Array<PropertyBEModel>,
+ parentServiceInputs: Array<InputBEModel>,
selectedInstanceProperties: Array<PropertyBEModel>,
operatorTypes: Array<DropdownValue>,
selectedInstanceSiblings: Array<ServiceInstanceObject>
@@ -98,7 +98,7 @@ export class ServiceDependenciesEditorComponent {
value: this.input.compositeServiceName,
assignedLabel: this.SOURCE_TYPES.SERVICE_PROPERTY.label,
type: this.SOURCE_TYPES.SERVICE_PROPERTY.value,
- options: this.input.compositeServiceProperties
+ options: this.input.parentServiceInputs
});
_.forEach(this.input.selectedInstanceSiblings, sib =>
this.sourceTypes.push({