aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/operation-creator.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/operation-creator.component.ts')
-rw-r--r--catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/operation-creator.component.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/operation-creator.component.ts b/catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/operation-creator.component.ts
index e746c6d6fe..fd9e1cf5a8 100644
--- a/catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/operation-creator.component.ts
+++ b/catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/operation-creator.component.ts
@@ -73,6 +73,7 @@ export class OperationCreatorComponent {
assignOutputParameters: { [key: string]: { [key: string]: Array<OperationParameter>; }; } = {};
tableParameters: Array<OperationParameter> = [];
+ operationOutputs: Array<OperationModel> = [];
associationOptions: Array<DropdownValue> = [];
workflowAssociationType: string;
@@ -134,6 +135,17 @@ export class OperationCreatorComponent {
this.onSelectInterface(new DropDownOption(this.operation.interfaceType));
this.validityChanged();
+ this.operationOutputs = _.reduce(
+ this.interfaces,
+ (acc: Array<OperationModel>, interf) => [
+ ...acc,
+ ..._.filter(
+ interf.operations,
+ op => op.uniqueId !== this.operation.uniqueId
+ ),
+ ],
+ []);
+
if (this.enableWorkflowAssociation) {
this.isLoading = true;
this.workflowServiceNg2.getWorkflows().subscribe(workflows => {