[jira] [Resolved] (SUBMARINE-386) [k8s-e2e] Support tensorflow test in local/travis

2020-04-13 Thread Zhankun Tang (Jira)


 [ 
https://issues.apache.org/jira/browse/SUBMARINE-386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhankun Tang resolved SUBMARINE-386.

Resolution: Fixed

> [k8s-e2e] Support tensorflow test in local/travis
> -
>
> Key: SUBMARINE-386
> URL: https://issues.apache.org/jira/browse/SUBMARINE-386
> Project: Apache Submarine
>  Issue Type: Sub-task
>  Components: E2E Test
>Reporter: Liu Xun
>Assignee: Liu Xun
>Priority: Major
>
> We need to use kind to create a k8s cluster on the developer's local machine 
> or in travis
> Then run the tensorflow framework test in the k8s cluster.
> To ensure the quality of our projects.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@submarine.apache.org
For additional commands, e-mail: dev-h...@submarine.apache.org



[jira] [Resolved] (SUBMARINE-387) [k8s-e2e] Support pytorch test in local/travis

2020-04-13 Thread Zhankun Tang (Jira)


 [ 
https://issues.apache.org/jira/browse/SUBMARINE-387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhankun Tang resolved SUBMARINE-387.

Resolution: Fixed

> [k8s-e2e] Support pytorch test in local/travis
> --
>
> Key: SUBMARINE-387
> URL: https://issues.apache.org/jira/browse/SUBMARINE-387
> Project: Apache Submarine
>  Issue Type: Sub-task
>  Components: E2E Test
>Reporter: Liu Xun
>Assignee: Liu Xun
>Priority: Major
>
> We need to use kind to create a k8s cluster on the developer's local machine 
> or in travis
> Then run the pytorch framework test in the k8s cluster.
> To ensure the quality of our projects.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@submarine.apache.org
For additional commands, e-mail: dev-h...@submarine.apache.org



[DISCUSS] Rearchitecture & roadmap change proposal

2020-04-13 Thread Wangda Tan
Hello devs,

Spent some time did some small-group discussion for the Submarine
architecture, use cases, and roadmaps. (Thanks for all the inputs from
Yanbo, Xun, Wei-Chiu, Zhankun and many others).

Basically, we want to better align the goal of UI and backend development,
target to create a unique project which allows users (like data scientists)
to use Submarine and do complete daily jobs.

Here's the proposal:
https://docs.google.com/document/d/1J6SxfcICc2DrmxxQhO71Xk2zFb4SjDCV60bHsKhiDdI/edit


Inside the proposal, I included UI mocks, requirement & architecture
design, and task prioritization & breakdown.

Please check these docs in detail, and I will go through these materials
tonight in the weekly sync up.

Thanks,
Wangda


[jira] [Work logged] (SUBMARINE-469) Update Submarine Architecture Doc

2020-04-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/SUBMARINE-469?focusedWorklogId=421523=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-421523
 ]

ASF GitHub Bot logged work on SUBMARINE-469:


Author: ASF GitHub Bot
Created on: 13/Apr/20 18:31
Start Date: 13/Apr/20 18:31
Worklog Time Spent: 10m 
  Work Description: wangdatan commented on pull request #261: SUBMARINE-469
URL: https://github.com/apache/submarine/pull/261
 
 
   ### What is this PR for?
   A few sentences describing the overall goals of the pull request's commits.
   First time? Check out the contributing guide - 
https://submarine.apache.org/contribution/contributions.html
   
   
   ### What type of PR is it?
   Documentation
   
   ### Todos
   * [ ] - Task
   
   ### What is the Jira issue?
   * Open an issue on Jira 
https://issues.apache.org/jira/browse/SUBMARINE/SUBMARINE-469
   * Put link here, and add [SUBMARINE-*Jira number*] in PR title, eg. 
[SUBMARINE-23]
   
   ### How should this be tested?
   * First time? Setup Travis CI as described on 
https://submarine.apache.org/contribution/contributions.html#continuous-integration
   * Strongly recommended: add automated unit tests for any new or changed 
behavior
   * Outline any manual steps to test the PR here.
   
   ### Screenshots (if appropriate)
   
   ### Questions:
   * Does the licenses files need update? Yes/No
   * Is there breaking changes for older versions? Yes/No
   * Does this needs documentation? Yes/No
   
 

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:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 421523)
Remaining Estimate: 0h
Time Spent: 10m

> Update Submarine Architecture Doc
> -
>
> Key: SUBMARINE-469
> URL: https://issues.apache.org/jira/browse/SUBMARINE-469
> Project: Apache Submarine
>  Issue Type: Improvement
>  Components: Doc
>Reporter: Wangda Tan
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> We have many discussions recently and made some proposals for the Submarine 
> roadmap and corresponding roadmaps. We need to update our docs. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@submarine.apache.org
For additional commands, e-mail: dev-h...@submarine.apache.org



[jira] [Created] (SUBMARINE-469) Update Submarine Architecture Doc

2020-04-13 Thread Wangda Tan (Jira)
Wangda Tan created SUBMARINE-469:


 Summary: Update Submarine Architecture Doc
 Key: SUBMARINE-469
 URL: https://issues.apache.org/jira/browse/SUBMARINE-469
 Project: Apache Submarine
  Issue Type: Improvement
  Components: Doc
Reporter: Wangda Tan


We have many discussions recently and made some proposals for the Submarine 
roadmap and corresponding roadmaps. We need to update our docs. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@submarine.apache.org
For additional commands, e-mail: dev-h...@submarine.apache.org



[submarine] branch master updated: SUBMARINE-461. [WEB] Implement department page with Angular

2020-04-13 Thread liuxun
This is an automated email from the ASF dual-hosted git repository.

liuxun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/submarine.git


The following commit(s) were added to refs/heads/master by this push:
 new b58428b  SUBMARINE-461. [WEB] Implement department page with Angular
b58428b is described below

commit b58428b3431a4bd9ec99938dae68f8e4bd4d0c56
Author: jasoonn 
AuthorDate: Sun Apr 12 15:10:10 2020 +0800

SUBMARINE-461. [WEB] Implement department page with Angular

### What is this PR for?
Implement frontend of department page in workbench with Angular.

### What type of PR is it?
[Feature]

### Todos

### What is the Jira issue?
https://issues.apache.org/jira/browse/SUBMARINE-461

### How should this be tested?
https://travis-ci.org/github/apache/submarine/builds/673989361

### Screenshots (if appropriate)
![](https://i.imgur.com/RiVPkKr.gif)

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: jasoonn 

Closes #260 from jasoonn/SUBMARINE-461 and squashes the following commits:

56e66e8 [jasoonn] update
---
 .../apache/submarine/integration/departmentIT.java |  73 +++
 .../app/pages/workbench/data/data.component.scss   |   6 +-
 .../src/app/pages/workbench/job/job.component.scss |   6 +-
 .../manager/department/department.component.html   | 181 +++
 .../department/department.component.scss}  |  60 +++--
 .../manager/department/department.component.ts | 242 +
 .../workbench/manager/manager-routing.module.ts|   5 +
 .../pages/workbench/manager/manager.component.ts   |  16 ++
 .../app/pages/workbench/manager/manager.module.ts  |   3 +-
 .../src/app/pages/workbench/workbench.component.ts |   4 +
 10 files changed, 557 insertions(+), 39 deletions(-)

diff --git 
a/submarine-test/test-e2e/src/test/java/org/apache/submarine/integration/departmentIT.java
 
b/submarine-test/test-e2e/src/test/java/org/apache/submarine/integration/departmentIT.java
new file mode 100644
index 000..32764b4
--- /dev/null
+++ 
b/submarine-test/test-e2e/src/test/java/org/apache/submarine/integration/departmentIT.java
@@ -0,0 +1,73 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.submarine.integration;
+
+import org.apache.submarine.AbstractSubmarineIT;
+import org.apache.submarine.WebDriverManager;
+import org.openqa.selenium.support.ui.ExpectedConditions;
+import org.openqa.selenium.support.ui.WebDriverWait;
+import org.openqa.selenium.By;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.testng.annotations.AfterClass;
+import org.testng.annotations.BeforeClass;
+import org.testng.annotations.Test;
+import org.testng.Assert;
+
+public class departmentIT extends AbstractSubmarineIT{
+
+  public final static Logger LOG = LoggerFactory.getLogger(departmentIT.class);
+
+  @BeforeClass
+  public static void startUp(){
+LOG.info("[Testcase]: departmentIT");
+driver =  WebDriverManager.getWebDriver();
+  }
+
+  @AfterClass
+  public static void tearDown(){
+driver.quit();
+  }
+
+  @Test
+  public void dataNavigation() throws Exception {
+// Login
+LOG.info("Login");
+pollingWait(By.cssSelector("input[ng-reflect-name='userName']"), 
MAX_BROWSER_TIMEOUT_SEC).sendKeys("admin");
+pollingWait(By.cssSelector("input[ng-reflect-name='password']"), 
MAX_BROWSER_TIMEOUT_SEC).sendKeys("admin");
+clickAndWait(By.cssSelector("button[class='login-form-button ant-btn 
ant-btn-primary']"));
+pollingWait(By.cssSelector("a[routerlink='/workbench/dashboard']"), 
MAX_BROWSER_TIMEOUT_SEC);
+
+// Routing to department page
+pollingWait(By.xpath("//span[contains(text(), \"Manager\")]"), 
MAX_BROWSER_TIMEOUT_SEC).click();
+WebDriverWait wait = new WebDriverWait( driver, 60);
+pollingWait(By.xpath("//a[@href='/workbench/manager/department']"), 
MAX_BROWSER_TIMEOUT_SEC).click();
+
wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("//span[@class='ant-breadcrumb-link
 

[jira] [Work logged] (SUBMARINE-461) [WEB] Implement frontend of department manager page in workbench with Angular

2020-04-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/SUBMARINE-461?focusedWorklogId=421093=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-421093
 ]

ASF GitHub Bot logged work on SUBMARINE-461:


Author: ASF GitHub Bot
Created on: 13/Apr/20 06:00
Start Date: 13/Apr/20 06:00
Worklog Time Spent: 10m 
  Work Description: asfgit commented on pull request #260: SUBMARINE-461. 
[WEB] Implement department page with Angular
URL: https://github.com/apache/submarine/pull/260
 
 
   
 

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:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 421093)
Time Spent: 20m  (was: 10m)

> [WEB] Implement frontend of department manager page in workbench with Angular
> -
>
> Key: SUBMARINE-461
> URL: https://issues.apache.org/jira/browse/SUBMARINE-461
> Project: Apache Submarine
>  Issue Type: Sub-task
>  Components: Workbench Web
>Reporter: HSIN YUAN, CHEN
>Assignee: HSIN YUAN, CHEN
>Priority: Major
>  Labels: pull-request-available
> Fix For: 0.5.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Implement frontend of department manager page in workbench with Angular.
> Reference: https://issues.apache.org/jira/browse/SUBMARINE-145



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@submarine.apache.org
For additional commands, e-mail: dev-h...@submarine.apache.org



[jira] [Resolved] (SUBMARINE-461) [WEB] Implement frontend of department manager page in workbench with Angular

2020-04-13 Thread Liu Xun (Jira)


 [ 
https://issues.apache.org/jira/browse/SUBMARINE-461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Liu Xun resolved SUBMARINE-461.
---
Fix Version/s: (was: 0.4.0)
   0.5.0
   Resolution: Fixed

Issue resolved by pull request 260
[https://github.com/apache/submarine/pull/260]

> [WEB] Implement frontend of department manager page in workbench with Angular
> -
>
> Key: SUBMARINE-461
> URL: https://issues.apache.org/jira/browse/SUBMARINE-461
> Project: Apache Submarine
>  Issue Type: Sub-task
>  Components: Workbench Web
>Reporter: HSIN YUAN, CHEN
>Assignee: HSIN YUAN, CHEN
>Priority: Major
>  Labels: pull-request-available
> Fix For: 0.5.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Implement frontend of department manager page in workbench with Angular.
> Reference: https://issues.apache.org/jira/browse/SUBMARINE-145



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@submarine.apache.org
For additional commands, e-mail: dev-h...@submarine.apache.org