diff options
author | 2017-09-07 10:02:49 +0800 | |
---|---|---|
committer | 2017-09-07 10:02:49 +0800 | |
commit | 7f4d1836df509a1a06e4b7635a84a71b79084d6e (patch) | |
tree | f747bd97341d2714bc0ce4753de4cbc280aa1d8d /sdc-workflow-designer-ui/src/app/components/property/properties.component.ts | |
parent | b8932e8304ed077912949890c3ec47a087be7ddd (diff) |
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 <lv.bo163@zte.com.cn>
Diffstat (limited to 'sdc-workflow-designer-ui/src/app/components/property/properties.component.ts')
-rw-r--r-- | sdc-workflow-designer-ui/src/app/components/property/properties.component.ts | 8 |
1 files changed, 4 insertions, 4 deletions
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); } } |