diff options
author | 2020-04-10 17:49:25 +0800 | |
---|---|---|
committer | 2020-04-10 17:49:29 +0800 | |
commit | 95b95b80d566be8f995dd0c9673202933037d072 (patch) | |
tree | d3c4b6fff2c9f6e8591c624b46c95e72d53b5bb2 /usecaseui-portal/src/app/views/services/services-list/mdons-detail | |
parent | 935b94e1c0f27c8cf411495ab0bc43310ae8f73b (diff) |
feat: delete usless logs
Change-Id: I33e47bc3f2cae9efe9a4fa5bd28259ee0a0a2495
Issue-ID: USECASEUI-306
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/views/services/services-list/mdons-detail')
-rw-r--r-- | usecaseui-portal/src/app/views/services/services-list/mdons-detail/mdons-detail.component.ts | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/usecaseui-portal/src/app/views/services/services-list/mdons-detail/mdons-detail.component.ts b/usecaseui-portal/src/app/views/services/services-list/mdons-detail/mdons-detail.component.ts index 1b0d3565..3818eb91 100644 --- a/usecaseui-portal/src/app/views/services/services-list/mdons-detail/mdons-detail.component.ts +++ b/usecaseui-portal/src/app/views/services/services-list/mdons-detail/mdons-detail.component.ts @@ -41,38 +41,33 @@ export class MdonsDetailComponent implements OnInit { ngOnInit() { - console.log(this.detailParams); this.serviceInstanceName = this.detailParams['serviceDomain'] || this.detailParams["nsName"]; this.input_parameters = JSON.parse(this.detailParams['input-parameters']); - console.log(this.input_parameters); + this.service = { name: this.input_parameters.service.name, - description: this.input_parameters.service.description, - }; + description: this.input_parameters.service.description, + }; if (this.input_parameters.service.parameters.requestInputs != undefined && Object.keys(this.input_parameters.service.parameters.requestInputs).length > 0) { this.e2e_requestInputs = this.input_parameters.service.parameters.requestInputs; } if (this.e2e_requestInputs != undefined) { - for(let item of this.e2e_requestInputs) { - console.log("outside "+item); - if((item.includes("enni_id") || item.includes("uni_id"))){ - console.log("inside "+item); + for (let item of this.e2e_requestInputs) { + if ((item.includes("enni_id") || item.includes("uni_id"))) { let nsIndex = { "name": "ns", "type": "ns", "children": [] }; - + this.roote2e.children.push(nsIndex); } - + } - console.log(this.e2e_requestInputs); - console.log(this.roote2e) } - this.drawImage(this.roote2e,this.imgmap); + this.drawImage(this.roote2e, this.imgmap); } goback() { @@ -112,14 +107,11 @@ export class MdonsDetailComponent implements OnInit { .attr('fill', 'white'); var i = 0; var nodes = cluster.nodes(data).reverse(); - console.log(nodes); nodes.forEach(function (d) { d.y = d.depth * 200 + 100; - }); var links = cluster.links(nodes); - var linkEnter = svg.selectAll("path.link") .data(links); |