summaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-ui/src/app/components
diff options
context:
space:
mode:
authorLvbo163 <lv.bo163@zte.com.cn>2017-09-07 10:02:49 +0800
committerLvbo163 <lv.bo163@zte.com.cn>2017-09-07 10:02:49 +0800
commit7f4d1836df509a1a06e4b7635a84a71b79084d6e (patch)
treef747bd97341d2714bc0ce4753de4cbc280aa1d8d /sdc-workflow-designer-ui/src/app/components
parentb8932e8304ed077912949890c3ec47a087be7ddd (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')
-rw-r--r--sdc-workflow-designer-ui/src/app/components/parameter-tree/parameter-tree.component.ts1
-rw-r--r--sdc-workflow-designer-ui/src/app/components/parameter/parameter.component.ts1
-rw-r--r--sdc-workflow-designer-ui/src/app/components/property/properties.component.ts8
3 files changed, 4 insertions, 6 deletions
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);
}
}