From 7f4d1836df509a1a06e4b7635a84a71b79084d6e Mon Sep 17 00:00:00 2001 From: Lvbo163 Date: Thu, 7 Sep 2017 10:02:49 +0800 Subject: support quote output of rest task rest task's parameters can quote output parameter of previous rest tasks. Issue-ID: SDC-121 Change-Id: I94f2058f7b8b2ad600ffb99c8838b37da5bb5b9d Signed-off-by: Lvbo163 --- .../src/app/components/parameter-tree/parameter-tree.component.ts | 1 - .../src/app/components/parameter/parameter.component.ts | 1 - .../src/app/components/property/properties.component.ts | 8 ++++---- 3 files changed, 4 insertions(+), 6 deletions(-) (limited to 'sdc-workflow-designer-ui/src/app/components') diff --git a/sdc-workflow-designer-ui/src/app/components/parameter-tree/parameter-tree.component.ts b/sdc-workflow-designer-ui/src/app/components/parameter-tree/parameter-tree.component.ts index d0e04e39..0de35b94 100644 --- a/sdc-workflow-designer-ui/src/app/components/parameter-tree/parameter-tree.component.ts +++ b/sdc-workflow-designer-ui/src/app/components/parameter-tree/parameter-tree.component.ts @@ -186,7 +186,6 @@ export class ParameterTreeComponent implements OnChanges { } private formatParam(params: any[]): void { - console.log(params); params.forEach(param => this.initParam(param)); } diff --git a/sdc-workflow-designer-ui/src/app/components/parameter/parameter.component.ts b/sdc-workflow-designer-ui/src/app/components/parameter/parameter.component.ts index 2cd5a0fd..3539c8f0 100644 --- a/sdc-workflow-designer-ui/src/app/components/parameter/parameter.component.ts +++ b/sdc-workflow-designer-ui/src/app/components/parameter/parameter.component.ts @@ -45,7 +45,6 @@ export class ParameterComponent implements OnInit { constructor(private dataAccessService: DataAccessService) { } public ngOnInit(): void { - console.log(this.planItems); if (1 === this.valueSource.length) { this.showValueSource = false; } diff --git a/sdc-workflow-designer-ui/src/app/components/property/properties.component.ts b/sdc-workflow-designer-ui/src/app/components/property/properties.component.ts index f3f784a1..2aa552ed 100644 --- a/sdc-workflow-designer-ui/src/app/components/property/properties.component.ts +++ b/sdc-workflow-designer-ui/src/app/components/property/properties.component.ts @@ -15,8 +15,8 @@ import { AfterViewInit, Component } from '@angular/core'; import { WorkflowNode } from '../../model/workflow/workflow-node'; import { BroadcastService } from '../../services/broadcast.service'; import { JsPlumbService } from '../../services/jsplumb.service'; -import { WorkflowService } from '../../services/workflow.service'; import { PlanTreeviewItem } from "../../model/plan-treeview-item"; +import { WorkflowProcessService } from "../../services/workflow-process.service"; /** * property component presents information of a workflow node. @@ -36,7 +36,7 @@ export class PropertiesComponent implements AfterViewInit { constructor(private broadcastService: BroadcastService, private jsPlumnService: JsPlumbService, - private workflowService: WorkflowService) { + private processService: WorkflowProcessService) { } @@ -44,7 +44,7 @@ export class PropertiesComponent implements AfterViewInit { this.broadcastService.showProperty$.subscribe(show => this.show = show); this.broadcastService.nodeProperty$.subscribe(node => { this.node = node; - this.planItems = this.workflowService.getPlanParameters(this.node.id); + this.planItems = this.processService.getPlanParameters(this.node.id); }); } @@ -57,6 +57,6 @@ export class PropertiesComponent implements AfterViewInit { this.show = false; this.jsPlumnService.remove(this.node.id); - this.workflowService.deleteNode(this.node.id); + this.processService.deleteNode(this.node.id); } } -- cgit 1.2.3-korg