You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@submarine.apache.org by GitBox <gi...@apache.org> on 2020/05/29 16:42:59 UTC

[GitHub] [submarine] kobe860219 commented on a change in pull request #302: SUBMARINE-514. [WEB] Implement experiment information output page.

kobe860219 commented on a change in pull request #302:
URL: https://github.com/apache/submarine/pull/302#discussion_r432606664



##########
File path: submarine-workbench/workbench-web-ng/src/app/pages/workbench/experiment/experiment-info/outputs/outputs.component.ts
##########
@@ -17,15 +17,43 @@
  * under the License.
  */
 
-import { Component, OnInit } from '@angular/core';
+import { Component, OnInit, Input } from '@angular/core';
+import { ExperimentService } from '../../../../../services/experiment.service';
+import { NzMessageService } from 'ng-zorro-antd';
 
 @Component({
   selector: 'submarine-outputs',
   templateUrl: './outputs.component.html',
   styleUrls: ['./outputs.component.scss']
 })
 export class OutputsComponent implements OnInit {
-  constructor() {}
+  @Input() experimentOutputID: string;
+  podNameArr;
+  podLogArr;
+  logDetailArr;
+  isShowing = false;
 
-  ngOnInit() {}
+  constructor(private experimentService: ExperimentService, private nzMessageService: NzMessageService) {}
+
+  ngOnInit() {
+    this.getExoerimentLog();
+  }
+
+  getExoerimentLog() {

Review comment:
       I have renamed it. Thanks XD




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org