[jira] [Created] (SUBMARINE-199) Add instructions for working with CICD via python script

2019-09-25 Thread Xun Liu (Jira)
Xun Liu created SUBMARINE-199:
-

 Summary: Add instructions for working with CICD via python script
 Key: SUBMARINE-199
 URL: https://issues.apache.org/jira/browse/SUBMARINE-199
 Project: Hadoop Submarine
  Issue Type: Improvement
Reporter: Xun Liu
Assignee: Xun Liu


Currently submarine supports CICD through docker.
In the absence of a docker environment, merge PR operations can also be 
performed by means of python scripts.
Adding this documentation will also help users understand the submarine merge 
PR execution process.



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


[jira] [Commented] (SUBMARINE-195) Fix the incorrect project name in merge_submarine_pr.py

2019-09-23 Thread Xun Liu (Jira)


[ 
https://issues.apache.org/jira/browse/SUBMARINE-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16935685#comment-16935685
 ] 

Xun Liu commented on SUBMARINE-195:
---

h3. What is this PR for?

When it merges the PR and the committer chose to close Jira, it fails with 
something like project "HADOOP-SUBMARINE" not be found. Tested that change it 
to "SUBMARINE" will work.
h3. What type of PR is it?

Bug Fix
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-195
h3. How should this be tested?

use the cicd image to do the PR merge. And also choose yes to update the 
associated JIRA.
It will work with this fix.
h3. Questions:
 * Does the licenses files need update? No
 * Is there breaking changes for older versions? No
 * Does this needs documentation? No

> Fix the incorrect project name in merge_submarine_pr.py
> ---
>
> Key: SUBMARINE-195
> URL: https://issues.apache.org/jira/browse/SUBMARINE-195
> Project: Hadoop Submarine
>  Issue Type: Bug
>Reporter: Zhankun Tang
>Assignee: Zhankun Tang
>Priority: Major
>  Labels: pull-request-available
> Fix For: 0.3.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> When it merges the PR and the committer chose to close Jira, it fails with 
> something like project "HADOOP-SUBMARINE" not be found. Tested that change it 
> to "SUBMARINE" will work.



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


[jira] [Commented] (SUBMARINE-150) [SDK] Support hdfs as the storage backend

2019-09-22 Thread Xun Liu (Jira)


[ 
https://issues.apache.org/jira/browse/SUBMARINE-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16935523#comment-16935523
 ] 

Xun Liu commented on SUBMARINE-150:
---

[~pingsutw], I think we need the best priority to support good trace 
information in mysql, 
https://issues.apache.org/jira/browse/SUBMARINE-151. 
It may not be necessary to add additional storage as this will increase our 
workload for developing and maintaining multiple storage.

> [SDK] Support hdfs as the storage backend
> -
>
> Key: SUBMARINE-150
> URL: https://issues.apache.org/jira/browse/SUBMARINE-150
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: kevin su
>Priority: Major
>  Labels: submarine-external-repo
>




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


[jira] [Created] (SUBMARINE-193) [WEB] Package the Web dist folder into the war file

2019-09-22 Thread Xun Liu (Jira)
Xun Liu created SUBMARINE-193:
-

 Summary: [WEB] Package the Web dist folder into the war file
 Key: SUBMARINE-193
 URL: https://issues.apache.org/jira/browse/SUBMARINE-193
 Project: Hadoop Submarine
  Issue Type: Sub-task
Reporter: Xun Liu
Assignee: Xun Liu
 Fix For: 0.3.0


Package the submarine Web dist folder into the war file,
When the submarine server is started, by loading the war file,
Start the submarine web front end



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


[jira] [Created] (SUBMARINE-192) [SERVER] Submarine server daemon shell script

2019-09-21 Thread Xun Liu (Jira)
Xun Liu created SUBMARINE-192:
-

 Summary: [SERVER] Submarine server daemon shell script
 Key: SUBMARINE-192
 URL: https://issues.apache.org/jira/browse/SUBMARINE-192
 Project: Hadoop Submarine
  Issue Type: Sub-task
Reporter: Xun Liu
Assignee: Xun Liu


Increase the Submarine Server daemon script,
Support to start, stop, restart the submarine server through submarine-daemon.sh



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


[jira] [Created] (SUBMARINE-187) [E2E] Submarine integration test workbench department

2019-09-17 Thread Xun Liu (Jira)
Xun Liu created SUBMARINE-187:
-

 Summary: [E2E] Submarine integration test workbench department
 Key: SUBMARINE-187
 URL: https://issues.apache.org/jira/browse/SUBMARINE-187
 Project: Hadoop Submarine
  Issue Type: Sub-task
Reporter: Xun Liu
Assignee: HSIN YUAN, CHEN


In the submarine-integration module, the correctness of the department 
front-end operation in the submarine-workbench is tested by the WEB simulator.



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


[jira] [Updated] (SUBMARINE-186) [E2E] Create new module submarine-integration Initialize E2E Test Framework

2019-09-17 Thread Xun Liu (Jira)


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

Xun Liu updated SUBMARINE-186:
--
Summary: [E2E] Create new module submarine-integration Initialize E2E Test 
Framework  (was: [E2E] Initialize the Submarine integration E2E Test Framework)

> [E2E] Create new module submarine-integration Initialize E2E Test Framework
> ---
>
> Key: SUBMARINE-186
> URL: https://issues.apache.org/jira/browse/SUBMARINE-186
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: HSIN YUAN, CHEN
>Priority: Major
>
> 1. Create submarine-integration module in submarine project.
> 2. Refer to the system implementation of 
> https://github.com/apache/zeppelin/tree/master/zeppelin-integration to 
> initialize the WEB simulator in submarine-integration.



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


[jira] [Created] (SUBMARINE-186) [E2E] Initialize the Submarine integration E2E Test Framework

2019-09-17 Thread Xun Liu (Jira)
Xun Liu created SUBMARINE-186:
-

 Summary: [E2E] Initialize the Submarine integration E2E Test 
Framework
 Key: SUBMARINE-186
 URL: https://issues.apache.org/jira/browse/SUBMARINE-186
 Project: Hadoop Submarine
  Issue Type: Sub-task
Reporter: Xun Liu
Assignee: HSIN YUAN, CHEN


1. Create submarine-integration module in submarine project.
2. Refer to the system implementation of 
https://github.com/apache/zeppelin/tree/master/zeppelin-integration to 
initialize the WEB simulator in submarine-integration.



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


[jira] [Updated] (SUBMARINE-180) [Umbrella] Submarine E2E Test Framework

2019-09-17 Thread Xun Liu (Jira)


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

Xun Liu updated SUBMARINE-180:
--
Description: 
This is New Submarine Module.

In order to guarantee the quality of submarine software, we need to provide an 
end-to-end testing framework, in which at least the following functions are 
included:
 1. Simulate all user WEB operations in submarine workbench through firefox 
version 31. (We can refer to the end-to-end test method of the Apache Zeppelin. 
[https://github.com/apache/zeppelin/tree/master/zeppelin-integration]

2. In the submarine-inter module, the WEB simulator simulates the operation of 
the web front end to ensure the correctness of all web front-end operations in 
the submarine-workbench.

3. Create a submarine machine learning run cluster through docker and perform 
algorithm testing on all the machine learning frameworks we provide. It may be 
a bit difficult to achieve this, and you can consider implementing it later.

In Travis CI, the end-to-end test framework will be triggered. Only through all 
E2E tests can the newly submitted code be guaranteed to be merged into the code 
repository without breaking the functionality of the original system.

  was:
This is New Submarine Module.

In order to guarantee the quality of submarine software, we need to provide an 
end-to-end testing framework, in which at least the following functions are 
included:
 1. Simulate all user WEB operations in submarine workbench through firefox 
version 31. (We can refer to the end-to-end test method of the Apache Zeppelin. 
[https://github.com/apache/zeppelin/tree/master/zeppelin-integration]
 2. Create a submarine machine learning run cluster through docker and perform 
algorithm testing on all the machine learning frameworks we provide.

In Travis CI, the end-to-end test framework will be triggered. Only through all 
E2E tests can the newly submitted code be guaranteed to be merged into the code 
repository without breaking the functionality of the original system.


> [Umbrella] Submarine E2E Test Framework
> ---
>
> Key: SUBMARINE-180
> URL: https://issues.apache.org/jira/browse/SUBMARINE-180
> Project: Hadoop Submarine
>  Issue Type: New Feature
>Reporter: Xun Liu
>Assignee: HSIN YUAN, CHEN
>Priority: Major
>
> This is New Submarine Module.
> In order to guarantee the quality of submarine software, we need to provide 
> an end-to-end testing framework, in which at least the following functions 
> are included:
>  1. Simulate all user WEB operations in submarine workbench through firefox 
> version 31. (We can refer to the end-to-end test method of the Apache 
> Zeppelin. 
> [https://github.com/apache/zeppelin/tree/master/zeppelin-integration]
> 2. In the submarine-inter module, the WEB simulator simulates the operation 
> of the web front end to ensure the correctness of all web front-end 
> operations in the submarine-workbench.
> 3. Create a submarine machine learning run cluster through docker and perform 
> algorithm testing on all the machine learning frameworks we provide. It may 
> be a bit difficult to achieve this, and you can consider implementing it 
> later.
> In Travis CI, the end-to-end test framework will be triggered. Only through 
> all E2E tests can the newly submitted code be guaranteed to be merged into 
> the code repository without breaking the functionality of the original system.



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


[jira] [Commented] (SUBMARINE-180) [Umbrella] Submarine E2E Test Framework

2019-09-17 Thread Xun Liu (Jira)


[ 
https://issues.apache.org/jira/browse/SUBMARINE-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16932016#comment-16932016
 ] 

Xun Liu commented on SUBMARINE-180:
---

[~Jasoonn], This issue is very important and the workload is relatively large.
Need to be split into several sub tasks,
Complete the tasks one by one.
I think, can be divided
1. Initialize the Submarine integration E2E Test Framework.
2. submarine user integration test
3. submarine department integration test
4 

I will help you create several sub task examples first.
You can assign to me.

> [Umbrella] Submarine E2E Test Framework
> ---
>
> Key: SUBMARINE-180
> URL: https://issues.apache.org/jira/browse/SUBMARINE-180
> Project: Hadoop Submarine
>  Issue Type: New Feature
>Reporter: Xun Liu
>Assignee: HSIN YUAN, CHEN
>Priority: Major
>
> This is New Submarine Module.
> In order to guarantee the quality of submarine software, we need to provide 
> an end-to-end testing framework, in which at least the following functions 
> are included:
>  1. Simulate all user WEB operations in submarine workbench through firefox 
> version 31. (We can refer to the end-to-end test method of the Apache 
> Zeppelin. 
> [https://github.com/apache/zeppelin/tree/master/zeppelin-integration]
>  2. Create a submarine machine learning run cluster through docker and 
> perform algorithm testing on all the machine learning frameworks we provide.
> In Travis CI, the end-to-end test framework will be triggered. Only through 
> all E2E tests can the newly submitted code be guaranteed to be merged into 
> the code repository without breaking the functionality of the original system.



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


[jira] [Updated] (SUBMARINE-168) [WEB] Submarine workspace/create project webpage

2019-09-17 Thread Xun Liu (Jira)


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

Xun Liu updated SUBMARINE-168:
--
Summary: [WEB] Submarine workspace/create project webpage  (was: [WEB] 
Submarine workspace project manager webpage)

> [WEB] Submarine workspace/create project webpage
> 
>
> Key: SUBMARINE-168
> URL: https://issues.apache.org/jira/browse/SUBMARINE-168
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> h3. What is this PR for?
> Adjust the existing workspace/project page to add the following features:
>  # Create project.
>  # List project.
> h3. What type of PR is it?
> Feature
> h3. What is the Jira issue?
> https://issues.apache.org/jira/browse/SUBMARINE-168
> h3. How should this be tested?
> [CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/586090600]
> h3. Screenshots (if appropriate)
> [!https://user-images.githubusercontent.com/3677382/65053543-ace10900-d99e-11e9-893c-8053e1cc4b2b.gif|width=714,height=421!|https://user-images.githubusercontent.com/3677382/65053543-ace10900-d99e-11e9-893c-8053e1cc4b2b.gif]
> h3. 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 message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (SUBMARINE-168) [WEB] Submarine workspace project manager webpage

2019-09-17 Thread Xun Liu (Jira)


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

Xun Liu updated SUBMARINE-168:
--
Description: 
h3. What is this PR for?

Adjust the existing workspace/project page to add the following features:
 # Create project.
 # List project.

h3. What type of PR is it?

Feature
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-168
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/586090600]
h3. Screenshots (if appropriate)

[!https://user-images.githubusercontent.com/3677382/65053543-ace10900-d99e-11e9-893c-8053e1cc4b2b.gif|width=714,height=421!|https://user-images.githubusercontent.com/3677382/65053543-ace10900-d99e-11e9-893c-8053e1cc4b2b.gif]
h3. Questions:
 * Does the licenses files need update? Yes/No
 * Is there breaking changes for older versions? Yes/No
 * Does this needs documentation? Yes/No

  was:
Adjust the existing workspace/project page to add the following features:
1. Add new project
2. delete project
3. modify project set


> [WEB] Submarine workspace project manager webpage
> -
>
> Key: SUBMARINE-168
> URL: https://issues.apache.org/jira/browse/SUBMARINE-168
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> h3. What is this PR for?
> Adjust the existing workspace/project page to add the following features:
>  # Create project.
>  # List project.
> h3. What type of PR is it?
> Feature
> h3. What is the Jira issue?
> https://issues.apache.org/jira/browse/SUBMARINE-168
> h3. How should this be tested?
> [CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/586090600]
> h3. Screenshots (if appropriate)
> [!https://user-images.githubusercontent.com/3677382/65053543-ace10900-d99e-11e9-893c-8053e1cc4b2b.gif|width=714,height=421!|https://user-images.githubusercontent.com/3677382/65053543-ace10900-d99e-11e9-893c-8053e1cc4b2b.gif]
> h3. 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 message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (SUBMARINE-180) [Umbrella] Submarine E2E Test Framework

2019-09-17 Thread Xun Liu (Jira)


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

Xun Liu updated SUBMARINE-180:
--
Description: 
This is New Submarine Module.

In order to guarantee the quality of submarine software, we need to provide an 
end-to-end testing framework, in which at least the following functions are 
included:
 1. Simulate all user WEB operations in submarine workbench through firefox 
version 31. (We can refer to the end-to-end test method of the Apache Zeppelin. 
[https://github.com/apache/zeppelin/tree/master/zeppelin-integration]
 2. Create a submarine machine learning run cluster through docker and perform 
algorithm testing on all the machine learning frameworks we provide.

In Travis CI, the end-to-end test framework will be triggered. Only through all 
E2E tests can the newly submitted code be guaranteed to be merged into the code 
repository without breaking the functionality of the original system.

  was:
This is New Submarine Module.

In order to guarantee the quality of submarine software, we need to provide an 
end-to-end testing framework, in which at least the following functions are 
included:
1. Simulate all user WEB operations in submarine workbench through firefox 
version 31. (We can refer to the end-to-end test method of the Apache Zeppelin. 
https://github.com/apache/zeppelin/blob/master/.travis.yml#L69)
2. Create a submarine machine learning run cluster through docker and perform 
algorithm testing on all the machine learning frameworks we provide.

In Travis CI, the end-to-end test framework will be triggered. Only through all 
E2E tests can the newly submitted code be guaranteed to be merged into the code 
repository without breaking the functionality of the original system.


> [Umbrella] Submarine E2E Test Framework
> ---
>
> Key: SUBMARINE-180
> URL: https://issues.apache.org/jira/browse/SUBMARINE-180
> Project: Hadoop Submarine
>  Issue Type: New Feature
>Reporter: Xun Liu
>Priority: Major
>
> This is New Submarine Module.
> In order to guarantee the quality of submarine software, we need to provide 
> an end-to-end testing framework, in which at least the following functions 
> are included:
>  1. Simulate all user WEB operations in submarine workbench through firefox 
> version 31. (We can refer to the end-to-end test method of the Apache 
> Zeppelin. 
> [https://github.com/apache/zeppelin/tree/master/zeppelin-integration]
>  2. Create a submarine machine learning run cluster through docker and 
> perform algorithm testing on all the machine learning frameworks we provide.
> In Travis CI, the end-to-end test framework will be triggered. Only through 
> all E2E tests can the newly submitted code be guaranteed to be merged into 
> the code repository without breaking the functionality of the original system.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Created] (SUBMARINE-185) [DOC] Add how to contribution docs

2019-09-17 Thread Xun Liu (Jira)
Xun Liu created SUBMARINE-185:
-

 Summary: [DOC] Add how to contribution docs
 Key: SUBMARINE-185
 URL: https://issues.apache.org/jira/browse/SUBMARINE-185
 Project: Hadoop Submarine
  Issue Type: Improvement
Reporter: Xun Liu
Assignee: Xun Liu


This document is intended to help more people and know-how to participate in 
the development of submarine projects.

The documentation includes:
1. Contribution Guide
2. Github Workflow
3. Code Review Guide



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (SUBMARINE-180) [Umbrella] Submarine E2E Test Framework

2019-09-16 Thread Xun Liu (Jira)


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

Xun Liu updated SUBMARINE-180:
--
Summary: [Umbrella] Submarine E2E Test Framework  (was: [Umbrella] 
Submarine E2E Test Frame)

> [Umbrella] Submarine E2E Test Framework
> ---
>
> Key: SUBMARINE-180
> URL: https://issues.apache.org/jira/browse/SUBMARINE-180
> Project: Hadoop Submarine
>  Issue Type: New Feature
>Reporter: Xun Liu
>Priority: Major
>
> This is New Submarine Module.
> In order to guarantee the quality of submarine software, we need to provide 
> an end-to-end testing framework, in which at least the following functions 
> are included:
> 1. Simulate all user WEB operations in submarine workbench through firefox 
> version 31. (We can refer to the end-to-end test method of the Apache 
> Zeppelin. https://github.com/apache/zeppelin/blob/master/.travis.yml#L69)
> 2. Create a submarine machine learning run cluster through docker and perform 
> algorithm testing on all the machine learning frameworks we provide.
> In Travis CI, the end-to-end test framework will be triggered. Only through 
> all E2E tests can the newly submitted code be guaranteed to be merged into 
> the code repository without breaking the functionality of the original system.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Resolved] (SUBMARINE-170) [WEB] Submarine team manager web page

2019-09-14 Thread Xun Liu (Jira)


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

Xun Liu resolved SUBMARINE-170.
---
Resolution: Fixed

> [WEB] Submarine team manager web page
> -
>
> Key: SUBMARINE-170
> URL: https://issues.apache.org/jira/browse/SUBMARINE-170
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> h3. What is this PR for?
> Submarine support trough team share project.
>  # Everybody can create multiple team.
>  # Team name isn't duplicate.
>  # Every team can contain multi person.
>  # Team owner can invite other user join term.
>  # User accept the invite to join the team.
> h3. What type of PR is it?
> Feature
> h3. What is the Jira issue?
> https://issues.apache.org/jira/browse/SUBMARINE-170
> h3. How should this be tested?
> [CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/583012982]
> h3. Screenshots (if appropriate)
> [!https://user-images.githubusercontent.com/3677382/64588498-285a1d80-d3d5-11e9-8fd6-5f6edf4ed543.png!|https://user-images.githubusercontent.com/3677382/64588498-285a1d80-d3d5-11e9-8fd6-5f6edf4ed543.png]
> h3. 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 message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Resolved] (SUBMARINE-182) [SERVER] Refactoring QueryResult class

2019-09-12 Thread Xun Liu (Jira)


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

Xun Liu resolved SUBMARINE-182.
---
Resolution: Fixed

h3. What is this PR for?

Submarine server put QueryResult into JsonResponse, return to Submarine web 
front-end.

QueryResult java class is template class,

 

{{public class QueryResult {}}

{{  private List records;
  private long total;}}

{{}}

{{}}

now, QueryResult.java has a problem; records is List.
 # every return JsonResponse, Submarine web front-end always received a list 
object.
 # QueryResult param is , but records are List. The two are not uniform.

So, I think we need to change

 

{{  private List records;}}

TO 

{{  private T records;}}
h3. What type of PR is it?

Refactoring
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-182
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/583970175]
h3. Screenshots (if appropriate)
h3. Questions:
 * Does the licenses files need update? Yes/No
 * Is there breaking changes for older versions? Yes/No
 * Does this needs documentation? Yes/No

> [SERVER] Refactoring QueryResult class
> --
>
> Key: SUBMARINE-182
> URL: https://issues.apache.org/jira/browse/SUBMARINE-182
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>
> Submarine server put QueryResult into JsonResponse, return to Submarine web 
> front-end.
> QueryResult java class is template class,
> {code:java}
> public class QueryResult {
>   private List records;
>   private long total;
> {code}
> now, QueryResult.java has a problem; records is List.
>  1. every return JsonResponse, Submarine web front-end always received a list 
> object.
>  2. QueryResult param is , but records is List. The two are not uniform.
> So, I think we need to change
> {code:java}
>   private List records;
> {code}
> TO
> {code:java}
>   private T records;
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Comment Edited] (SUBMARINE-156) [DB] Automatically translate dictionary code in query results

2019-09-11 Thread Xun Liu (Jira)


[ 
https://issues.apache.org/jira/browse/SUBMARINE-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16919152#comment-16919152
 ] 

Xun Liu edited comment on SUBMARINE-156 at 9/11/19 3:57 PM:


h3. What is this PR for?

The dictionary code is automatically translated into dictionary content 
according to the table name and dictionary code in the dictionary annotation 
defined by the object class, and added to the returned data record. Reduce the 
workload of development.
h3. Instructions for use

Some tables in the submarine database only store the code of the dict, and the 
submarine-web needs to be translated into the name of the dict when displayed.

Use {{@Dict(Code = 'DICT-CODE-XXX')}}, e.g., on the query result object.

 
{code:java}
Public class SysUser extends BaseEntity {
   Private String name;
   Private String username;
   Private String password;
   Private String avatar;

   @Dict(Code = "SEX")
   Private String sex;
}
{code}
 

When querying data through the RestApi interface, submarine-server will 
automatically translate the value of the sex into the {{sys_dict_item}} table 
to translate the code to the corresponding name, such as {{MALE}} or 
{{FEMALE}}, and then automatically add the {{dict_item_name}} to the returned 
data set.

The front-end {{submarine-web}} can use the {{sex@dict}} directly to get the 
{{dict_item_name}} from the dataset.
h3. What type of PR is it?

Feature
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-156
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/578619673]
h3. Screenshots (if appropriate)
h3. Questions:
 * Does the licenses files need update? No
 * Is there breaking changes for older versions? No
 * Does this needs documentation? No


was (Author: liuxun323):
h3. What is this PR for?

The dictionary code is automatically translated into dictionary content 
according to the table name and dictionary code in the dictionary annotation 
defined by the object class, and added to the returned data record. Reduce the 
workload of development.
h3. Instructions for use

Some tables in the submarine database only store the code of the dict, and the 
submarine-web needs to be translated into the name of the dict when displayed.

Use {{@Dict(Code = 'DICT-CODE-XXX')}}, e.g., on the query result object.

 
{code:java}
Public class SysUser extends BaseEntity {
   Private String name;
   Private String username;
   Private String password;
   Private String avatar;

   @Dict(Code = "SEX")
   Private String sex;
}
{code}
 

When querying data through the RestApi interface, zeppelin-server will 
automatically translate the value of the sex into the {{sys_dict_item}} table 
to translate the code to the corresponding name, such as {{MALE}} or 
{{FEMALE}}, and then automatically add the {{dict_item_name}} to the returned 
data set.

The front-end {{submarine-web}} can use the {{sex@dict}} directly to get the 
{{dict_item_name}} from the dataset.
h3. What type of PR is it?

Feature
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-156
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/578619673]
h3. Screenshots (if appropriate)
h3. Questions:
 * Does the licenses files need update? No
 * Is there breaking changes for older versions? No
 * Does this needs documentation? No

> [DB] Automatically translate dictionary code in query results
> -
>
> Key: SUBMARINE-156
> URL: https://issues.apache.org/jira/browse/SUBMARINE-156
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> The dictionary code is automatically translated into dictionary content 
> according to the table name and dictionary code in the dictionary annotation 
> defined by the object class, and added to the returned data record. Reduce 
> the workload of development.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Assigned] (SUBMARINE-182) [SERVER] Refactoring QueryResult class

2019-09-11 Thread Xun Liu (Jira)


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

Xun Liu reassigned SUBMARINE-182:
-

Assignee: Xun Liu

> [SERVER] Refactoring QueryResult class
> --
>
> Key: SUBMARINE-182
> URL: https://issues.apache.org/jira/browse/SUBMARINE-182
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>
> Submarine server put QueryResult into JsonResponse, return to Submarine web 
> front-end.
> QueryResult java class is template class,
> {code:java}
> public class QueryResult {
>   private List records;
>   private long total;
> {code}
> now, QueryResult.java has a problem; records is List.
>  1. every return JsonResponse, Submarine web front-end always received a list 
> object.
>  2. QueryResult param is , but records is List. The two are not uniform.
> So, I think we need to change
> {code:java}
>   private List records;
> {code}
> TO
> {code:java}
>   private T records;
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (SUBMARINE-182) [SERVER] Refactoring QueryResult class

2019-09-11 Thread Xun Liu (Jira)


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

Xun Liu updated SUBMARINE-182:
--
Summary: [SERVER] Refactoring QueryResult class  (was: [Server] Refactoring 
QueryResult class)

> [SERVER] Refactoring QueryResult class
> --
>
> Key: SUBMARINE-182
> URL: https://issues.apache.org/jira/browse/SUBMARINE-182
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Priority: Major
>
> Submarine server put QueryResult into JsonResponse, return to Submarine web 
> front-end.
> QueryResult java class is template class,
> {code:java}
> public class QueryResult {
>   private List records;
>   private long total;
> {code}
> now, QueryResult.java has a problem; records is List.
>  1. every return JsonResponse, Submarine web front-end always received a list 
> object.
>  2. QueryResult param is , but records is List. The two are not uniform.
> So, I think we need to change
> {code:java}
>   private List records;
> {code}
> TO
> {code:java}
>   private T records;
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (SUBMARINE-182) [Server] Refactoring QueryResult class

2019-09-11 Thread Xun Liu (Jira)


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

Xun Liu updated SUBMARINE-182:
--
Summary: [Server] Refactoring QueryResult class  (was: Refactoring 
QueryResult class)

> [Server] Refactoring QueryResult class
> --
>
> Key: SUBMARINE-182
> URL: https://issues.apache.org/jira/browse/SUBMARINE-182
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Priority: Major
>
> Submarine server put QueryResult into JsonResponse, return to Submarine web 
> front-end.
> QueryResult java class is template class,
> {code:java}
> public class QueryResult {
>   private List records;
>   private long total;
> {code}
> now, QueryResult.java has a problem; records is List.
>  1. every return JsonResponse, Submarine web front-end always received a list 
> object.
>  2. QueryResult param is , but records is List. The two are not uniform.
> So, I think we need to change
> {code:java}
>   private List records;
> {code}
> TO
> {code:java}
>   private T records;
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Created] (SUBMARINE-182) Refactoring QueryResult class

2019-09-11 Thread Xun Liu (Jira)
Xun Liu created SUBMARINE-182:
-

 Summary: Refactoring QueryResult class
 Key: SUBMARINE-182
 URL: https://issues.apache.org/jira/browse/SUBMARINE-182
 Project: Hadoop Submarine
  Issue Type: Sub-task
Reporter: Xun Liu


Submarine server put QueryResult into JsonResponse, return to Submarine web 
front-end.

QueryResult java class is template class,
{code:java}
public class QueryResult {
  private List records;
  private long total;
{code}
now, QueryResult.java has a problem; records is List.
 1. every return JsonResponse, Submarine web front-end always received a list 
object.
 2. QueryResult param is , but records is List. The two are not uniform.

So, I think we need to change
{code:java}
  private List records;
{code}
TO
{code:java}
  private T records;
{code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Created] (SUBMARINE-180) [Umbrella] Submarine E2E Test Frame

2019-09-10 Thread Xun Liu (Jira)
Xun Liu created SUBMARINE-180:
-

 Summary: [Umbrella] Submarine E2E Test Frame
 Key: SUBMARINE-180
 URL: https://issues.apache.org/jira/browse/SUBMARINE-180
 Project: Hadoop Submarine
  Issue Type: New Feature
Reporter: Xun Liu


This is New Submarine Module.

In order to guarantee the quality of submarine software, we need to provide an 
end-to-end testing framework, in which at least the following functions are 
included:
1. Simulate all user WEB operations in submarine workbench through firefox 
version 31. (We can refer to the end-to-end test method of the Apache Zeppelin. 
https://github.com/apache/zeppelin/blob/master/.travis.yml#L69)
2. Create a submarine machine learning run cluster through docker and perform 
algorithm testing on all the machine learning frameworks we provide.

In Travis CI, the end-to-end test framework will be triggered. Only through all 
E2E tests can the newly submitted code be guaranteed to be merged into the code 
repository without breaking the functionality of the original system.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Commented] (SUBMARINE-179) [SERVER] add log4j.propertie files

2019-09-10 Thread Xun Liu (Jira)


[ 
https://issues.apache.org/jira/browse/SUBMARINE-179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16926533#comment-16926533
 ] 

Xun Liu commented on SUBMARINE-179:
---

Put the {{log4j.properties}} file in the resource to avoid the exception 
information that SubmarineServer starts.
When the Submarine is packaged and released, you need to be able to load the 
{{conf/log4j.properties}} file.

> [SERVER] add log4j.propertie files
> --
>
> Key: SUBMARINE-179
> URL: https://issues.apache.org/jira/browse/SUBMARINE-179
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: zhulinhao
>Assignee: zhulinhao
>Priority: Minor
>
> h3. What is this PR for?
> Submarine - server service start time will be prompted to exception: Java. 
> IO. FileNotFoundException: log4j. The properties (system could not find the 
> file specified.)
> h3. What type of PR is it?
> [Bug Fix]
> h3. Todos
>  *  - Task
> h3. What is the Jira issue?
> https://issues.apache.org/jira/browse/SUBMARINE-179
> h3. How should this be tested?
> [CI Pass|https://travis-ci.org/qiyuezhetian/submarine/builds/583080102]
> h3. Screenshots (if appropriate)
> h3. Questions:
>  * Does the licenses files need update? No
>  * Is there breaking changes for older versions? No
>  * Does this needs documentation? No



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (SUBMARINE-179) [WEB] add log4j.propertie files

2019-09-10 Thread Xun Liu (Jira)


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

Xun Liu updated SUBMARINE-179:
--
Parent Issue: SUBMARINE-131  (was: SUBMARINE-98)

> [WEB] add log4j.propertie files
> ---
>
> Key: SUBMARINE-179
> URL: https://issues.apache.org/jira/browse/SUBMARINE-179
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: zhulinhao
>Assignee: zhulinhao
>Priority: Minor
>
> h3. What is this PR for?
> Submarine - server service start time will be prompted to exception: Java. 
> IO. FileNotFoundException: log4j. The properties (system could not find the 
> file specified.)
> h3. What type of PR is it?
> [Bug Fix]
> h3. Todos
>  *  - Task
> h3. What is the Jira issue?
> https://issues.apache.org/jira/browse/SUBMARINE-179
> h3. How should this be tested?
> [CI Pass|https://travis-ci.org/qiyuezhetian/submarine/builds/583080102]
> h3. Screenshots (if appropriate)
> h3. Questions:
>  * Does the licenses files need update? No
>  * Is there breaking changes for older versions? No
>  * Does this needs documentation? No



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Resolved] (SUBMARINE-179) [WEB] add log4j.propertie files

2019-09-10 Thread Xun Liu (Jira)


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

Xun Liu resolved SUBMARINE-179.
---
Resolution: Fixed

> [WEB] add log4j.propertie files
> ---
>
> Key: SUBMARINE-179
> URL: https://issues.apache.org/jira/browse/SUBMARINE-179
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: zhulinhao
>Assignee: zhulinhao
>Priority: Minor
>
> h3. What is this PR for?
> Submarine - server service start time will be prompted to exception: Java. 
> IO. FileNotFoundException: log4j. The properties (system could not find the 
> file specified.)
> h3. What type of PR is it?
> [Bug Fix]
> h3. Todos
>  *  - Task
> h3. What is the Jira issue?
> https://issues.apache.org/jira/browse/SUBMARINE-179
> h3. How should this be tested?
> [CI Pass|https://travis-ci.org/qiyuezhetian/submarine/builds/583080102]
> h3. Screenshots (if appropriate)
> h3. Questions:
>  * Does the licenses files need update? No
>  * Is there breaking changes for older versions? No
>  * Does this needs documentation? No



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Commented] (SUBMARINE-170) [WEB] Submarine team manager web page

2019-09-10 Thread Xun Liu (Jira)


[ 
https://issues.apache.org/jira/browse/SUBMARINE-170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16926356#comment-16926356
 ] 

Xun Liu commented on SUBMARINE-170:
---

[~zhulinhao], Please help me complete development TeamRestApi.

You can create another issue, You need develop , next 4 class:

1. org.apache.submarine.database.service.TeamService

2. TeamMapper.xml

3. org.apache.submarine.rest.TeamRestApi

4. database table: team, team_member, sys_message;

 

> [WEB] Submarine team manager web page
> -
>
> Key: SUBMARINE-170
> URL: https://issues.apache.org/jira/browse/SUBMARINE-170
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> h3. What is this PR for?
> Submarine support trough team share project.
>  # Everybody can create multiple team.
>  # Team name isn't duplicate.
>  # Every team can contain multi person.
>  # Team owner can invite other user join term.
>  # User accept the invite to join the team.
> h3. What type of PR is it?
> Feature
> h3. What is the Jira issue?
> https://issues.apache.org/jira/browse/SUBMARINE-170
> h3. How should this be tested?
> [CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/583012982]
> h3. Screenshots (if appropriate)
> [!https://user-images.githubusercontent.com/3677382/64588498-285a1d80-d3d5-11e9-8fd6-5f6edf4ed543.png!|https://user-images.githubusercontent.com/3677382/64588498-285a1d80-d3d5-11e9-8fd6-5f6edf4ed543.png]
> h3. 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 message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (SUBMARINE-170) [WEB] Submarine team manager web page

2019-09-10 Thread Xun Liu (Jira)


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

Xun Liu updated SUBMARINE-170:
--
Description: 
h3. What is this PR for?

Submarine support trough team share project.
 # Everybody can create multiple team.
 # Team name isn't duplicate.
 # Every team can contain multi person.
 # Team owner can invite other user join term.
 # User accept the invite to join the team.

h3. What type of PR is it?

Feature
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-170
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/583012982]
h3. Screenshots (if appropriate)

[!https://user-images.githubusercontent.com/3677382/64588498-285a1d80-d3d5-11e9-8fd6-5f6edf4ed543.png!|https://user-images.githubusercontent.com/3677382/64588498-285a1d80-d3d5-11e9-8fd6-5f6edf4ed543.png]
h3. Questions:
 * Does the licenses files need update? Yes/No
 * Is there breaking changes for older versions? Yes/No
 * Does this needs documentation? Yes/No

  was:
Submarine support trough team share project.
 
1. Everybody can create multiple team.
2. Team name isn't duplicate.
3. Every team can contain multi person.
4. Team owner can invite other user join term.
5. User accept the invite to join the team.


> [WEB] Submarine team manager web page
> -
>
> Key: SUBMARINE-170
> URL: https://issues.apache.org/jira/browse/SUBMARINE-170
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> h3. What is this PR for?
> Submarine support trough team share project.
>  # Everybody can create multiple team.
>  # Team name isn't duplicate.
>  # Every team can contain multi person.
>  # Team owner can invite other user join term.
>  # User accept the invite to join the team.
> h3. What type of PR is it?
> Feature
> h3. What is the Jira issue?
> https://issues.apache.org/jira/browse/SUBMARINE-170
> h3. How should this be tested?
> [CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/583012982]
> h3. Screenshots (if appropriate)
> [!https://user-images.githubusercontent.com/3677382/64588498-285a1d80-d3d5-11e9-8fd6-5f6edf4ed543.png!|https://user-images.githubusercontent.com/3677382/64588498-285a1d80-d3d5-11e9-8fd6-5f6edf4ed543.png]
> h3. 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 message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Issue Comment Deleted] (SUBMARINE-170) [WEB] Submarine team manager web page

2019-09-10 Thread Xun Liu (Jira)


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

Xun Liu updated SUBMARINE-170:
--
Comment: was deleted

(was: h3. What is this PR for?

Submarine support trough team share project.
 # Everybody can create multiple team.
 # Team name isn't duplicate.
 # Every team can contain multi person.
 # Team owner can invite other user join term.
 # User accept the invite to join the team.

h3. What type of PR is it?

Feature
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-170
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/583012982]
h3. Screenshots (if appropriate)

[!https://user-images.githubusercontent.com/3677382/64588498-285a1d80-d3d5-11e9-8fd6-5f6edf4ed543.png!|https://user-images.githubusercontent.com/3677382/64588498-285a1d80-d3d5-11e9-8fd6-5f6edf4ed543.png]
h3. Questions:
 * Does the licenses files need update? Yes/No
 * Is there breaking changes for older versions? Yes/No
 * Does this needs documentation? Yes/No)

> [WEB] Submarine team manager web page
> -
>
> Key: SUBMARINE-170
> URL: https://issues.apache.org/jira/browse/SUBMARINE-170
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> h3. What is this PR for?
> Submarine support trough team share project.
>  # Everybody can create multiple team.
>  # Team name isn't duplicate.
>  # Every team can contain multi person.
>  # Team owner can invite other user join term.
>  # User accept the invite to join the team.
> h3. What type of PR is it?
> Feature
> h3. What is the Jira issue?
> https://issues.apache.org/jira/browse/SUBMARINE-170
> h3. How should this be tested?
> [CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/583012982]
> h3. Screenshots (if appropriate)
> [!https://user-images.githubusercontent.com/3677382/64588498-285a1d80-d3d5-11e9-8fd6-5f6edf4ed543.png!|https://user-images.githubusercontent.com/3677382/64588498-285a1d80-d3d5-11e9-8fd6-5f6edf4ed543.png]
> h3. 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 message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Commented] (SUBMARINE-170) [WEB] Submarine team manager web page

2019-09-10 Thread Xun Liu (Jira)


[ 
https://issues.apache.org/jira/browse/SUBMARINE-170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16926354#comment-16926354
 ] 

Xun Liu commented on SUBMARINE-170:
---

h3. What is this PR for?

Submarine support trough team share project.
 # Everybody can create multiple team.
 # Team name isn't duplicate.
 # Every team can contain multi person.
 # Team owner can invite other user join term.
 # User accept the invite to join the team.

h3. What type of PR is it?

Feature
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-170
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/583012982]
h3. Screenshots (if appropriate)

[!https://user-images.githubusercontent.com/3677382/64588498-285a1d80-d3d5-11e9-8fd6-5f6edf4ed543.png!|https://user-images.githubusercontent.com/3677382/64588498-285a1d80-d3d5-11e9-8fd6-5f6edf4ed543.png]
h3. Questions:
 * Does the licenses files need update? Yes/No
 * Is there breaking changes for older versions? Yes/No
 * Does this needs documentation? Yes/No

> [WEB] Submarine team manager web page
> -
>
> Key: SUBMARINE-170
> URL: https://issues.apache.org/jira/browse/SUBMARINE-170
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> Submarine support trough team share project.
>  
> 1. Everybody can create multiple team.
> 2. Team name isn't duplicate.
> 3. Every team can contain multi person.
> 4. Team owner can invite other user join term.
> 5. User accept the invite to join the team.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Resolved] (SUBMARINE-175) [WEB] Search Select Component

2019-09-07 Thread Xun Liu (Jira)


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

Xun Liu resolved SUBMARINE-175.
---
Resolution: Fixed

h3. What is this PR for?

In the workbench, usually need select component list user, dict, team table 
data.

When the amount of data is relatively large, it is very slow to load all the 
data in the select component at one time. Therefore, it is necessary to develop 
a data that matches the conditions in the remote database according to the 
user's input, load it into the list of select components, and let the user come
h3. What type of PR is it?

Feature
h3. Todos
 *  - Task

h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-175
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/582209860]
h3. Screenshots (if appropriate)

[!https://user-images.githubusercontent.com/3677382/64482398-9828a680-d223-11e9-90fd-c8c1308b29b8.gif|width=647,height=273!|https://user-images.githubusercontent.com/3677382/64482398-9828a680-d223-11e9-90fd-c8c1308b29b8.gif]
h3. Questions:
 * Does the licenses files need update? Yes/No
 * Is there breaking changes for older versions? Yes/No
 * Does this needs documentation? Yes/No

> [WEB] Search Select Component
> -
>
> Key: SUBMARINE-175
> URL: https://issues.apache.org/jira/browse/SUBMARINE-175
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> In the workbench, usually need select component list user, dict, team table 
> data.
> When the amount of data is relatively large, it is very slow to load all the 
> data in the select component at one time. Therefore, it is necessary to 
> develop a data that matches the conditions in the remote database according 
> to the user's input, load it into the list of select components, and let the 
> user come. select.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Created] (SUBMARINE-175) [WEB] Search Select Component

2019-09-07 Thread Xun Liu (Jira)
Xun Liu created SUBMARINE-175:
-

 Summary: [WEB] Search Select Component
 Key: SUBMARINE-175
 URL: https://issues.apache.org/jira/browse/SUBMARINE-175
 Project: Hadoop Submarine
  Issue Type: Sub-task
Reporter: Xun Liu
Assignee: Xun Liu


In the workbench, usually need select component list user, dict, team table 
data.

When the amount of data is relatively large, it is very slow to load all the 
data in the select component at one time. Therefore, it is necessary to develop 
a data that matches the conditions in the remote database according to the 
user's input, load it into the list of select components, and let the user 
come. select.




--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Created] (SUBMARINE-170) [WEB] Submarine team manager web page

2019-09-06 Thread Xun Liu (Jira)
Xun Liu created SUBMARINE-170:
-

 Summary: [WEB] Submarine team manager web page
 Key: SUBMARINE-170
 URL: https://issues.apache.org/jira/browse/SUBMARINE-170
 Project: Hadoop Submarine
  Issue Type: Sub-task
Reporter: Xun Liu
Assignee: Xun Liu


Submarine support trough team share project.
 
1. Everybody can create multiple team.
2. Team name isn't duplicate.
3. Every team can contain multi person.
4. Team owner can invite other user join term.
5. User accept the invite to join the team.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Resolved] (SUBMARINE-166) [WORKBENCH] Adjust submarine-workbench module structure

2019-09-03 Thread Xun Liu (Jira)


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

Xun Liu resolved SUBMARINE-166.
---
Resolution: Fixed

h3. What is this PR for?

The original workbench consists of two modules, submarine-server and 
submarine-web.
Now workbench needs to add notebook and interpreter(e.g., spark, python ...) 
modules, all need to re-adjust the engineering structure.
h3. What type of PR is it?

Improvement
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-166
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/580120787]
h3. Screenshots (if appropriate)
h3. Questions:
 * Does the licenses files need update? No
 * Is there breaking changes for older versions? No
 * Does this needs documentation? No

> [WORKBENCH] Adjust submarine-workbench module structure
> ---
>
> Key: SUBMARINE-166
> URL: https://issues.apache.org/jira/browse/SUBMARINE-166
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> The original workbench consists of two modules, submarine-server and 
> submarine-web. 
> Now workbench needs to add notebook and interpreter(e.g., spark, python ...) 
> modules, all need to re-adjust the engineering structure.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Created] (SUBMARINE-168) [WEB] Submarine workspace project manager webpage

2019-09-03 Thread Xun Liu (Jira)
Xun Liu created SUBMARINE-168:
-

 Summary: [WEB] Submarine workspace project manager webpage
 Key: SUBMARINE-168
 URL: https://issues.apache.org/jira/browse/SUBMARINE-168
 Project: Hadoop Submarine
  Issue Type: Sub-task
Reporter: Xun Liu
Assignee: Xun Liu


Adjust the existing workspace/project page to add the following features:
1. Add new project
2. delete project
3. modify project set



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Created] (SUBMARINE-167) [Umbrella] Submarine Workbench Notebook

2019-09-03 Thread Xun Liu (Jira)
Xun Liu created SUBMARINE-167:
-

 Summary: [Umbrella] Submarine Workbench Notebook
 Key: SUBMARINE-167
 URL: https://issues.apache.org/jira/browse/SUBMARINE-167
 Project: Hadoop Submarine
  Issue Type: New Feature
Reporter: Xun Liu
Assignee: Xun Liu


Submarine needs to add notebook front-end and background services.
Let the workbench support notebook development.
The following features are supported through the notebook:
1. spark & spark.sql for data processing
2. JDBC for data processing
3. Python for algorithm development



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (SUBMARINE-165) [Umbrella] Submarine Workbench

2019-09-03 Thread Xun Liu (Jira)


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

Xun Liu updated SUBMARINE-165:
--
Parent: (was: SUBMARINE-98)
Issue Type: New Feature  (was: Sub-task)

> [Umbrella] Submarine Workbench
> --
>
> Key: SUBMARINE-165
> URL: https://issues.apache.org/jira/browse/SUBMARINE-165
> Project: Hadoop Submarine
>  Issue Type: New Feature
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> Submarine can be managed via submarine Workbench:
> 1. Support multi-user and multi-role
> 2. Support for allocation management of server resources
> 3. Support data development, algorithm development, and model launch through 
> notebook
> 4. Support workflow workflow orchestration
> 5. Support service monitoring after the model goes online
> 6. Support Notebook
> 7. Support Python, Spark ... execute.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (SUBMARINE-165) [Umbrella] Submarine Workbench

2019-09-03 Thread Xun Liu (Jira)


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

Xun Liu updated SUBMARINE-165:
--
Parent: SUBMARINE-98
Issue Type: Sub-task  (was: New Feature)

> [Umbrella] Submarine Workbench
> --
>
> Key: SUBMARINE-165
> URL: https://issues.apache.org/jira/browse/SUBMARINE-165
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> Submarine can be managed via submarine Workbench:
> 1. Support multi-user and multi-role
> 2. Support for allocation management of server resources
> 3. Support data development, algorithm development, and model launch through 
> notebook
> 4. Support workflow workflow orchestration
> 5. Support service monitoring after the model goes online
> 6. Support Notebook
> 7. Support Python, Spark ... execute.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (SUBMARINE-98) [Umbrella] Submarine web page

2019-09-03 Thread Xun Liu (Jira)


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

Xun Liu updated SUBMARINE-98:
-
Parent: (was: SUBMARINE-165)
Issue Type: New Feature  (was: Sub-task)

> [Umbrella] Submarine web page
> -
>
> Key: SUBMARINE-98
> URL: https://issues.apache.org/jira/browse/SUBMARINE-98
> Project: Hadoop Submarine
>  Issue Type: New Feature
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> Submarine can be managed via submarine web:
> 1. Support multi-user and multi-role
> 2. Support for allocation management of server resources
> 3. Support data development, algorithm development, and model launch through 
> notebook
> 4. Support workflow workflow orchestration
> 5. Support service monitoring after the model goes online



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (SUBMARINE-98) [Umbrella] Submarine web page

2019-09-02 Thread Xun Liu (Jira)


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

Xun Liu updated SUBMARINE-98:
-
Parent: SUBMARINE-165
Issue Type: Sub-task  (was: Improvement)

> [Umbrella] Submarine web page
> -
>
> Key: SUBMARINE-98
> URL: https://issues.apache.org/jira/browse/SUBMARINE-98
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> Submarine can be managed via submarine web:
> 1. Support multi-user and multi-role
> 2. Support for allocation management of server resources
> 3. Support data development, algorithm development, and model launch through 
> notebook
> 4. Support workflow workflow orchestration
> 5. Support service monitoring after the model goes online



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Created] (SUBMARINE-165) [Umbrella] Submarine Workbench

2019-09-02 Thread Xun Liu (Jira)
Xun Liu created SUBMARINE-165:
-

 Summary: [Umbrella] Submarine Workbench
 Key: SUBMARINE-165
 URL: https://issues.apache.org/jira/browse/SUBMARINE-165
 Project: Hadoop Submarine
  Issue Type: New Feature
Reporter: Xun Liu
Assignee: Xun Liu


Submarine can be managed via submarine Workbench:
1. Support multi-user and multi-role
2. Support for allocation management of server resources
3. Support data development, algorithm development, and model launch through 
notebook
4. Support workflow workflow orchestration
5. Support service monitoring after the model goes online
6. Support Notebook
7. Support Python, Spark ... execute.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Created] (SUBMARINE-164) [Umbrella] Mini-submarine

2019-09-02 Thread Xun Liu (Jira)
Xun Liu created SUBMARINE-164:
-

 Summary: [Umbrella] Mini-submarine
 Key: SUBMARINE-164
 URL: https://issues.apache.org/jira/browse/SUBMARINE-164
 Project: Hadoop Submarine
  Issue Type: New Feature
Reporter: Xun Liu
Assignee: Zac Zhou


Submarine development and a completely independent test environment with a 
single docker image of mini submarine.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Created] (SUBMARINE-163) [Umbrella] workbench Integration with github and gitlab

2019-09-02 Thread Xun Liu (Jira)
Xun Liu created SUBMARINE-163:
-

 Summary: [Umbrella] workbench Integration with github and gitlab
 Key: SUBMARINE-163
 URL: https://issues.apache.org/jira/browse/SUBMARINE-163
 Project: Hadoop Submarine
  Issue Type: New Feature
Reporter: Xun Liu


Workbench requires version management of the notebook via github and gitlab.

1. The user sets the authentication information of github or gitlab in the 
workbench.
2. Users can submit code directly to the github or gitlab repository for 
version management in the notebook.
3. The user can list all versions in the github or gitlab repository in the 
notebook and switch to the specified version code.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Created] (SUBMARINE-160) Move Restful code to new service class

2019-09-02 Thread Xun Liu (Jira)
Xun Liu created SUBMARINE-160:
-

 Summary: Move Restful code to new service class
 Key: SUBMARINE-160
 URL: https://issues.apache.org/jira/browse/SUBMARINE-160
 Project: Hadoop Submarine
  Issue Type: Sub-task
Reporter: Xun Liu


Move the database operation logic, from Restful to the newly created service 
class.

e.g.,

Move

 
{code:java}
https://github.com/hadoopsubmarine/submarine/blob/master/submarine-server/src/main/java/org/apache/submarine/rest/SysUserRestApi.java
{code}
TO

 

 
{code:java}
https://github.com/hadoopsubmarine/submarine/blob/master/submarine-server/src/main/java/org/apache/submarine/database/service/SysUserService.java
{code}
 

 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Resolved] (SUBMARINE-155) [Server] Submarine server user manager

2019-09-02 Thread Xun Liu (Jira)


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

Xun Liu resolved SUBMARINE-155.
---
Resolution: Fixed

h3. What is this PR for?

Provides user query, add, modify, and delete operations for the submarine web 
through RESTful services.
h3. What type of PR is it?

Feature
h3. Todos
 *  - Task

h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-155
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/579685435]
h3. Screenshots (if appropriate)

User List
[!https://user-images.githubusercontent.com/3677382/64100167-9c753f80-cd9d-11e9-8b6a-6d30c7403828.png|width=869,height=306!|https://user-images.githubusercontent.com/3677382/64100167-9c753f80-cd9d-11e9-8b6a-6d30c7403828.png]

Add User
[!https://user-images.githubusercontent.com/3677382/64100189-a8f99800-cd9d-11e9-8c9d-1fb44dc42d64.png|width=927,height=579!|https://user-images.githubusercontent.com/3677382/64100189-a8f99800-cd9d-11e9-8c9d-1fb44dc42d64.png]

Reset Password
[!https://user-images.githubusercontent.com/3677382/64100209-b283-cd9d-11e9-917f-62ca786133e5.png|width=786,height=308!|https://user-images.githubusercontent.com/3677382/64100209-b283-cd9d-11e9-917f-62ca786133e5.png]
h3. Questions:
 * Does the licenses files need update? Yes/No
 * Is there breaking changes for older versions? Yes/No
 * Does this needs documentation? Yes/No

> [Server] Submarine server user manager
> --
>
> Key: SUBMARINE-155
> URL: https://issues.apache.org/jira/browse/SUBMARINE-155
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> Provides user query, add, modify, and delete operations for the submarine web 
> through RESTful services.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Created] (SUBMARINE-159) [WEB] Department Select Component

2019-09-01 Thread Xun Liu (Jira)
Xun Liu created SUBMARINE-159:
-

 Summary: [WEB] Department Select Component
 Key: SUBMARINE-159
 URL: https://issues.apache.org/jira/browse/SUBMARINE-159
 Project: Hadoop Submarine
  Issue Type: Sub-task
Reporter: Xun Liu
Assignee: Xun Liu


The department drop-down box is often needed in the web front end.
So package Department Select into a Component,
Will speed up development efficiency.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Resolved] (SUBMARINE-158) [WEB] Dict Select Component

2019-08-30 Thread Xun Liu (Jira)


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

Xun Liu resolved SUBMARINE-158.
---
Resolution: Fixed

### What is this PR for?

DictSelectTag Component introduction

- Get data from the sys_dict table, dictCode format description: Dictionary code
```html

```

v-decorator Function:
```html

```

### What type of PR is it?
Feature

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

### How should this be tested?
[CI Pass](https://travis-ci.org/liuxunorg/submarine/builds/578892404)

### 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

> [WEB] Dict Select Component
> ---
>
> Key: SUBMARINE-158
> URL: https://issues.apache.org/jira/browse/SUBMARINE-158
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
> Attachments: image-2019-08-31-00-02-54-616.png, 
> image-2019-08-31-00-03-41-124.png
>
>
> h1. DictSelectTag Component introduction
>  * Get data from the sys_dict table, dictCode format description: Dictionary 
> code
>   dictCode="sex"/>
>  v-decorator Function:
>    placeholder="Please select sex" dictCode="sex"/>



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (SUBMARINE-158) [WEB] Dict Select Component

2019-08-30 Thread Xun Liu (Jira)


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

Xun Liu updated SUBMARINE-158:
--
Description: 
h1. DictSelectTag Component introduction
 * Get data from the sys_dict table, dictCode format description: Dictionary 
code

 
 v-decorator Function:
  

  was:
h1. DictSelectTag Component introduction
 * Get data from the sys_dict table, dictCode format description: Dictionary 
code

 
v-decorator Function:
 
h1. DictSelectUtil.js List dictionary function
 * Step 1: Introducing a dependency method

 import {initDictOptions, filterDictText} from 
'@/components/dict/DictSelectUtil' * Step 2: Execute dictionary configuration 
method in the created() initialization method

 // Initialize dictionary configuration
 this.initDictConfig(); * Step 3: Implement the initDictConfig method, load the 
dictionary required by the list (multiple dictionary items on the list, execute 
the initDictOptions method multiple times)

 initDictConfig() {
   // Initialize dictionary - gender
   initDictOptions('sex').then((res) => {
 if (res.success) {
   this.sexDictOptions = res.result;
 }
   });
 }, * Step 4: Implement the customRender method of the field

 customRender: (text, record, index) => {
   // Dictionary value replaces general method
   return filterDictText(this.sexDictOptions, text);
 }


> [WEB] Dict Select Component
> ---
>
> Key: SUBMARINE-158
> URL: https://issues.apache.org/jira/browse/SUBMARINE-158
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
> Attachments: image-2019-08-31-00-02-54-616.png, 
> image-2019-08-31-00-03-41-124.png
>
>
> h1. DictSelectTag Component introduction
>  * Get data from the sys_dict table, dictCode format description: Dictionary 
> code
>   dictCode="sex"/>
>  v-decorator Function:
>    placeholder="Please select sex" dictCode="sex"/>



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Comment Edited] (SUBMARINE-158) [WEB] Dict Select Component

2019-08-30 Thread Xun Liu (Jira)


[ 
https://issues.apache.org/jira/browse/SUBMARINE-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16919674#comment-16919674
 ] 

Xun Liu edited comment on SUBMARINE-158 at 8/30/19 4:04 PM:


!image-2019-08-31-00-02-54-616.png|width=465,height=382!


was (Author: liuxun323):
!image-2019-08-31-00-02-54-616.png|width=875,height=718!

> [WEB] Dict Select Component
> ---
>
> Key: SUBMARINE-158
> URL: https://issues.apache.org/jira/browse/SUBMARINE-158
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
> Attachments: image-2019-08-31-00-02-54-616.png, 
> image-2019-08-31-00-03-41-124.png
>
>
> h1. DictSelectTag Component introduction
>  * Get data from the sys_dict table, dictCode format description: Dictionary 
> code
>   dictCode="sex"/>
> v-decorator Function:
>   placeholder="Please select sex" dictCode="sex"/>
> h1. DictSelectUtil.js List dictionary function
>  * Step 1: Introducing a dependency method
>  import {initDictOptions, filterDictText} from 
> '@/components/dict/DictSelectUtil' * Step 2: Execute dictionary configuration 
> method in the created() initialization method
>  // Initialize dictionary configuration
>  this.initDictConfig(); * Step 3: Implement the initDictConfig method, load 
> the dictionary required by the list (multiple dictionary items on the list, 
> execute the initDictOptions method multiple times)
>  initDictConfig() {
>    // Initialize dictionary - gender
>    initDictOptions('sex').then((res) => {
>  if (res.success) {
>    this.sexDictOptions = res.result;
>  }
>    });
>  }, * Step 4: Implement the customRender method of the field
>  customRender: (text, record, index) => {
>    // Dictionary value replaces general method
>    return filterDictText(this.sexDictOptions, text);
>  }



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (SUBMARINE-158) [WEB] Dict Select Component

2019-08-30 Thread Xun Liu (Jira)


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

Xun Liu updated SUBMARINE-158:
--
Attachment: image-2019-08-31-00-03-41-124.png

> [WEB] Dict Select Component
> ---
>
> Key: SUBMARINE-158
> URL: https://issues.apache.org/jira/browse/SUBMARINE-158
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
> Attachments: image-2019-08-31-00-02-54-616.png, 
> image-2019-08-31-00-03-41-124.png
>
>
> h1. DictSelectTag Component introduction
>  * Get data from the sys_dict table, dictCode format description: Dictionary 
> code
>   dictCode="sex"/>
> v-decorator Function:
>   placeholder="Please select sex" dictCode="sex"/>
> h1. DictSelectUtil.js List dictionary function
>  * Step 1: Introducing a dependency method
>  import {initDictOptions, filterDictText} from 
> '@/components/dict/DictSelectUtil' * Step 2: Execute dictionary configuration 
> method in the created() initialization method
>  // Initialize dictionary configuration
>  this.initDictConfig(); * Step 3: Implement the initDictConfig method, load 
> the dictionary required by the list (multiple dictionary items on the list, 
> execute the initDictOptions method multiple times)
>  initDictConfig() {
>    // Initialize dictionary - gender
>    initDictOptions('sex').then((res) => {
>  if (res.success) {
>    this.sexDictOptions = res.result;
>  }
>    });
>  }, * Step 4: Implement the customRender method of the field
>  customRender: (text, record, index) => {
>    // Dictionary value replaces general method
>    return filterDictText(this.sexDictOptions, text);
>  }



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (SUBMARINE-158) [WEB] Dict Select Component

2019-08-30 Thread Xun Liu (Jira)


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

Xun Liu updated SUBMARINE-158:
--
Attachment: image-2019-08-31-00-02-54-616.png

> [WEB] Dict Select Component
> ---
>
> Key: SUBMARINE-158
> URL: https://issues.apache.org/jira/browse/SUBMARINE-158
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
> Attachments: image-2019-08-31-00-02-54-616.png
>
>
> h1. DictSelectTag Component introduction
>  * Get data from the sys_dict table, dictCode format description: Dictionary 
> code
>   dictCode="sex"/>
> v-decorator Function:
>   placeholder="Please select sex" dictCode="sex"/>
> h1. DictSelectUtil.js List dictionary function
>  * Step 1: Introducing a dependency method
>  import {initDictOptions, filterDictText} from 
> '@/components/dict/DictSelectUtil' * Step 2: Execute dictionary configuration 
> method in the created() initialization method
>  // Initialize dictionary configuration
>  this.initDictConfig(); * Step 3: Implement the initDictConfig method, load 
> the dictionary required by the list (multiple dictionary items on the list, 
> execute the initDictOptions method multiple times)
>  initDictConfig() {
>    // Initialize dictionary - gender
>    initDictOptions('sex').then((res) => {
>  if (res.success) {
>    this.sexDictOptions = res.result;
>  }
>    });
>  }, * Step 4: Implement the customRender method of the field
>  customRender: (text, record, index) => {
>    // Dictionary value replaces general method
>    return filterDictText(this.sexDictOptions, text);
>  }



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Resolved] (SUBMARINE-145) [WEB] Submarine web department manager page

2019-08-29 Thread Xun Liu (Jira)


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

Xun Liu resolved SUBMARINE-145.
---
Resolution: Fixed

> [WEB] Submarine web department manager page
> ---
>
> Key: SUBMARINE-145
> URL: https://issues.apache.org/jira/browse/SUBMARINE-145
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> h3. What is this PR for?
> Manage all departments using submarine workbench
>  # Demonstrate departments with subordinate relationships in a tree structure
>  # Because the department will be referenced by the user table and the job 
> table as a foreign key, the department can only be set to the deleted state 
> and cannot be deleted.
>  # If the department's subordinate relationship is set incorrectly, you can 
> use the RESET button to clear the upper department of all departments and 
> reset it.
> h3. What type of PR is it?
> [Feature]
> h3. What is the Jira issue?
> https://issues.apache.org/jira/browse/SUBMARINE-145
> h3. How should this be tested?
> [https://travis-ci.org/liuxunorg/submarine/builds/577373864]
> h3. Screenshots (if appropriate)
> [!https://user-images.githubusercontent.com/3677382/63781205-f9937000-c91b-11e9-8d34-60a7eb93174e.gif!|https://user-images.githubusercontent.com/3677382/63781205-f9937000-c91b-11e9-8d34-60a7eb93174e.gif]
> h3. 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 message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (SUBMARINE-145) [WEB] Submarine web department manager page

2019-08-29 Thread Xun Liu (Jira)


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

Xun Liu updated SUBMARINE-145:
--
Description: 
h3. What is this PR for?

Manage all departments using submarine workbench
 # Demonstrate departments with subordinate relationships in a tree structure
 # Because the department will be referenced by the user table and the job 
table as a foreign key, the department can only be set to the deleted state and 
cannot be deleted.
 # If the department's subordinate relationship is set incorrectly, you can use 
the RESET button to clear the upper department of all departments and reset it.

h3. What type of PR is it?

[Feature]
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-145
h3. How should this be tested?

[https://travis-ci.org/liuxunorg/submarine/builds/577373864]
h3. Screenshots (if appropriate)

[!https://user-images.githubusercontent.com/3677382/63781205-f9937000-c91b-11e9-8d34-60a7eb93174e.gif!|https://user-images.githubusercontent.com/3677382/63781205-f9937000-c91b-11e9-8d34-60a7eb93174e.gif]
h3. Questions:
 * Does the licenses files need update? Yes/No
 * Is there breaking changes for older versions? Yes/No
 * Does this needs documentation? Yes/No

> [WEB] Submarine web department manager page
> ---
>
> Key: SUBMARINE-145
> URL: https://issues.apache.org/jira/browse/SUBMARINE-145
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> h3. What is this PR for?
> Manage all departments using submarine workbench
>  # Demonstrate departments with subordinate relationships in a tree structure
>  # Because the department will be referenced by the user table and the job 
> table as a foreign key, the department can only be set to the deleted state 
> and cannot be deleted.
>  # If the department's subordinate relationship is set incorrectly, you can 
> use the RESET button to clear the upper department of all departments and 
> reset it.
> h3. What type of PR is it?
> [Feature]
> h3. What is the Jira issue?
> https://issues.apache.org/jira/browse/SUBMARINE-145
> h3. How should this be tested?
> [https://travis-ci.org/liuxunorg/submarine/builds/577373864]
> h3. Screenshots (if appropriate)
> [!https://user-images.githubusercontent.com/3677382/63781205-f9937000-c91b-11e9-8d34-60a7eb93174e.gif!|https://user-images.githubusercontent.com/3677382/63781205-f9937000-c91b-11e9-8d34-60a7eb93174e.gif]
> h3. 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 message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Created] (SUBMARINE-156) [DB] Automatically translate dictionary code in query results

2019-08-28 Thread Xun Liu (Jira)
Xun Liu created SUBMARINE-156:
-

 Summary: [DB] Automatically translate dictionary code in query 
results
 Key: SUBMARINE-156
 URL: https://issues.apache.org/jira/browse/SUBMARINE-156
 Project: Hadoop Submarine
  Issue Type: Sub-task
Reporter: Xun Liu
Assignee: Xun Liu


The dictionary code is automatically translated into dictionary content 
according to the table name and dictionary code in the dictionary annotation 
defined by the object class, and added to the returned data record. Reduce the 
workload of development.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (SUBMARINE-152) [DB] Automatically switch databases during unit testing

2019-08-28 Thread Xun Liu (Jira)


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

Xun Liu updated SUBMARINE-152:
--
Summary: [DB] Automatically switch databases during unit testing  (was: 
Automatically switch databases during unit testing)

> [DB] Automatically switch databases during unit testing
> ---
>
> Key: SUBMARINE-152
> URL: https://issues.apache.org/jira/browse/SUBMARINE-152
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> The submarine workbench runs on a mysql database.
> When running unit tests, it is easy to cause data foreign key conflicts.
> So use a separate mysql database for unit testing and travis testing.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Resolved] (SUBMARINE-152) Automatically switch databases during unit testing

2019-08-27 Thread Xun Liu (Jira)


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

Xun Liu resolved SUBMARINE-152.
---
Resolution: Fixed

> Automatically switch databases during unit testing
> --
>
> Key: SUBMARINE-152
> URL: https://issues.apache.org/jira/browse/SUBMARINE-152
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> The submarine workbench runs on a mysql database.
> When running unit tests, it is easy to cause data foreign key conflicts.
> So use a separate mysql database for unit testing and travis testing.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Resolved] (SUBMARINE-146) [Doc] Add Submarine Project Development Guide

2019-08-25 Thread Xun Liu (Jira)


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

Xun Liu resolved SUBMARINE-146.
---
Resolution: Fixed

h3. What is this PR for?

Introduce the modules of the submarine project.
Submarine-web and submarine-server development and debugging methods.
h3. What type of PR is it?

Documentation
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-146
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/576482885]
h3. Screenshots (if appropriate)
h3. Questions:
 * Does the licenses files need update? No
 * Is there breaking changes for older versions? No
 * Does this needs documentation? Yes

> [Doc] Add Submarine Project Development Guide
> -
>
> Key: SUBMARINE-146
> URL: https://issues.apache.org/jira/browse/SUBMARINE-146
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> Introduce the modules of the submarine project.
> Submarine-web and submarine-server development and debugging methods.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Created] (SUBMARINE-146) [Doc] Add Submarine Project Development Guide

2019-08-25 Thread Xun Liu (Jira)
Xun Liu created SUBMARINE-146:
-

 Summary: [Doc] Add Submarine Project Development Guide
 Key: SUBMARINE-146
 URL: https://issues.apache.org/jira/browse/SUBMARINE-146
 Project: Hadoop Submarine
  Issue Type: Sub-task
Reporter: Xun Liu
Assignee: Xun Liu


Introduce the modules of the submarine project.
Submarine-web and submarine-server development and debugging methods.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Created] (SUBMARINE-145) [WEB] Submarine web department manager page

2019-08-22 Thread Xun Liu (Jira)
Xun Liu created SUBMARINE-145:
-

 Summary: [WEB] Submarine web department manager page
 Key: SUBMARINE-145
 URL: https://issues.apache.org/jira/browse/SUBMARINE-145
 Project: Hadoop Submarine
  Issue Type: Sub-task
Reporter: Xun Liu
Assignee: Xun Liu






--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Resolved] (SUBMARINE-144) [SERVER] Submarine server dict Items manager via database

2019-08-22 Thread Xun Liu (Jira)


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

Xun Liu resolved SUBMARINE-144.
---
Resolution: Fixed

h3. What is this PR for?
 # Query dict items
 # modify dict items
 # delete dict items
 # Dictionary code in the same dict type cannot be repeated
 # Dictionary names in the same dict type cannot be repeated

h3. What type of PR is it?

Feature
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-144
h3. Screenshots (if appropriate)

[!https://user-images.githubusercontent.com/3677382/63504393-0b33dc80-c504-11e9-839e-50db0b770d70.gif!|https://user-images.githubusercontent.com/3677382/63504393-0b33dc80-c504-11e9-839e-50db0b770d70.gif]
h3. Questions:
 * Does the licenses files need update? Yes/No
 * Is there breaking changes for older versions? Yes/No
 * Does this needs documentation? Yes/No

> [SERVER] Submarine server dict Items manager via database
> -
>
> Key: SUBMARINE-144
> URL: https://issues.apache.org/jira/browse/SUBMARINE-144
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> Query, modify, and delete dictionary setting items



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Created] (SUBMARINE-144) [SERVER] Submarine server dict Items manager via database

2019-08-21 Thread Xun Liu (Jira)
Xun Liu created SUBMARINE-144:
-

 Summary: [SERVER] Submarine server dict Items manager via database
 Key: SUBMARINE-144
 URL: https://issues.apache.org/jira/browse/SUBMARINE-144
 Project: Hadoop Submarine
  Issue Type: Sub-task
Reporter: Xun Liu
Assignee: Xun Liu


Query, modify, and delete dictionary setting items



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Resolved] (SUBMARINE-140) [SERVER] Submarine server dict manager via database

2019-08-21 Thread Xun Liu (Jira)


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

Xun Liu resolved SUBMARINE-140.
---
Resolution: Fixed

h3. What is this PR for?

Add system dict manager to Submarine-server
You can add the dict, delete the dict, modify the dict etc.
h3. What type of PR is it?

Feature
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-140
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/575158744]
h3. Screenshots (if appropriate)

[!https://user-images.githubusercontent.com/3677382/63485706-0c9ae000-c4d7-11e9-88b3-e722c2352bfa.gif!|https://user-images.githubusercontent.com/3677382/63485706-0c9ae000-c4d7-11e9-88b3-e722c2352bfa.gif]

> [SERVER] Submarine server dict manager via database
> ---
>
> Key: SUBMARINE-140
> URL: https://issues.apache.org/jira/browse/SUBMARINE-140
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> Add system dict manager to Submarine-server
> You can add the dict, delete the dict, modify the dict etc.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Resolved] (SUBMARINE-143) [REST] Provide Json Response interface

2019-08-21 Thread Xun Liu (Jira)


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

Xun Liu resolved SUBMARINE-143.
---
Resolution: Fixed

h3. What is this PR for?

Provide Json Response interface
Package return Response.Status, code, result, message
h3. What type of PR is it?

Improvement
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-143
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/574907854]

 

> [REST] Provide Json Response interface
> --
>
> Key: SUBMARINE-143
> URL: https://issues.apache.org/jira/browse/SUBMARINE-143
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> Provide Json Response interface
> Package return Response.Status, code, result, message



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Resolved] (SUBMARINE-141) [DB] Mybatis support paging query

2019-08-20 Thread Xun Liu (Jira)


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

Xun Liu resolved SUBMARINE-141.
---
Resolution: Fixed

[https://github.com/hadoopsubmarine/submarine/pull/46]

> [DB] Mybatis support paging query
> -
>
> Key: SUBMARINE-141
> URL: https://issues.apache.org/jira/browse/SUBMARINE-141
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> h3. What is this PR for?
> Add a paging plugin for mybatis, support the general method of paging query, 
> reduce the workload of future data queries.
> h3. What type of PR is it?
> Feature
> h3. What is the Jira issue?
> https://issues.apache.org/jira/browse/SUBMARINE-141
> h3. How should this be tested?
> [CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/574215049]



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Created] (SUBMARINE-141) [DB] Mybatis support paging query

2019-08-20 Thread Xun Liu (Jira)
Xun Liu created SUBMARINE-141:
-

 Summary: [DB] Mybatis support paging query
 Key: SUBMARINE-141
 URL: https://issues.apache.org/jira/browse/SUBMARINE-141
 Project: Hadoop Submarine
  Issue Type: Sub-task
Reporter: Xun Liu
Assignee: Xun Liu


Add a paging plugin for mybatis, support the general method of paging query, 
reduce the workload of future data queries.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (SUBMARINE-138) [WEB] Submarine web manager page

2019-08-18 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-138:
--
Summary: [WEB] Submarine web manager page  (was: [WEB] Submarine web 
setting page)

> [WEB] Submarine web manager page
> 
>
> Key: SUBMARINE-138
> URL: https://issues.apache.org/jira/browse/SUBMARINE-138
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>
> The new system settings page allows administrators to perform user 
> management, roles management, and user authorization.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Created] (SUBMARINE-138) [WEB] Submarine web setting page

2019-08-18 Thread Xun Liu (JIRA)
Xun Liu created SUBMARINE-138:
-

 Summary: [WEB] Submarine web setting page
 Key: SUBMARINE-138
 URL: https://issues.apache.org/jira/browse/SUBMARINE-138
 Project: Hadoop Submarine
  Issue Type: Sub-task
Reporter: Xun Liu
Assignee: Xun Liu


The new system settings page allows administrators to perform user management, 
roles management, and user authorization.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Resolved] (SUBMARINE-134) [DB] Travis add mysql test environment

2019-08-16 Thread Xun Liu (JIRA)


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

Xun Liu resolved SUBMARINE-134.
---
Resolution: Fixed

> [DB] Travis add mysql test environment
> --
>
> Key: SUBMARINE-134
> URL: https://issues.apache.org/jira/browse/SUBMARINE-134
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> 1. Modify .travis.yaml run tests on Travis using mysql
> 2. Create mysql in travis env
> 3. Create database name is `submarine`
> 4. database user name is `submarine`
> 5. database user password is `password`
> {color:#d04437}6. When running travis, it will automatically create mysql 
> database, user and table in travis environment, you can run your mysql test 
> case.{color}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (SUBMARINE-134) [DB] Travis add mysql test environment

2019-08-16 Thread Xun Liu (JIRA)


[ 
https://issues.apache.org/jira/browse/SUBMARINE-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909007#comment-16909007
 ] 

Xun Liu commented on SUBMARINE-134:
---

h3. [https://github.com/hadoopsubmarine/submarine/pull/43]
h3. What is this PR for?
 # Modify {{.travis.yaml}} run tests on Travis using mysql
 # Create mysql in travis env
 # Create database name is {{submarineDB}}
 # database user name is {{submarine}}
 # database user password is {{password}}
 # When running travis, it will automatically create mysql database, user and 
table in travis environment, you can run your mysql test case.

h3. What type of PR is it?

Feature
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-134
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/572728692]

 

> [DB] Travis add mysql test environment
> --
>
> Key: SUBMARINE-134
> URL: https://issues.apache.org/jira/browse/SUBMARINE-134
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> 1. Modify .travis.yaml run tests on Travis using mysql
> 2. Create mysql in travis env
> 3. Create database name is `submarine`
> 4. database user name is `submarine`
> 5. database user password is `password`
> {color:#d04437}6. When running travis, it will automatically create mysql 
> database, user and table in travis environment, you can run your mysql test 
> case.{color}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (SUBMARINE-134) [DB] Travis add mysql test environment

2019-08-16 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-134:
--
Description: 
1. Modify .travis.yaml run tests on Travis using mysql

2. Create mysql in travis env

3. Create database name is `submarine`

4. database user name is `submarine`

5. database user password is `password`

{color:#d04437}6. When running travis, it will automatically create mysql 
database, user and table in travis environment, you can run your mysql test 
case.{color}

  was:
1. Modify .travis.yaml run tests on Travis using mysql

2. Create mysql in travis env

3. Create database name is `submarine`

4. database user name is `submarine`

5. database user password is `password`


> [DB] Travis add mysql test environment
> --
>
> Key: SUBMARINE-134
> URL: https://issues.apache.org/jira/browse/SUBMARINE-134
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> 1. Modify .travis.yaml run tests on Travis using mysql
> 2. Create mysql in travis env
> 3. Create database name is `submarine`
> 4. database user name is `submarine`
> 5. database user password is `password`
> {color:#d04437}6. When running travis, it will automatically create mysql 
> database, user and table in travis environment, you can run your mysql test 
> case.{color}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (SUBMARINE-137) Introducing linked tony via submodule

2019-08-16 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-137:
--
Description: 
Reference: [https://github.com/microsoft/hdfs-mount] 

1. Put linkedin/tony fork into hadoopsubmarin, name is linkedin-tony
2. Introduce hadoopsubmarin/linkedin-tony as a submodules into the 
hadoopsubmarin/submarine.

> Introducing linked tony via submodule
> -
>
> Key: SUBMARINE-137
> URL: https://issues.apache.org/jira/browse/SUBMARINE-137
> Project: Hadoop Submarine
>  Issue Type: Improvement
>Reporter: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> Reference: [https://github.com/microsoft/hdfs-mount] 
> 1. Put linkedin/tony fork into hadoopsubmarin, name is linkedin-tony
> 2. Introduce hadoopsubmarin/linkedin-tony as a submodules into the 
> hadoopsubmarin/submarine.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Created] (SUBMARINE-137) Introducing linked tony via submodule

2019-08-16 Thread Xun Liu (JIRA)
Xun Liu created SUBMARINE-137:
-

 Summary: Introducing linked tony via submodule
 Key: SUBMARINE-137
 URL: https://issues.apache.org/jira/browse/SUBMARINE-137
 Project: Hadoop Submarine
  Issue Type: Improvement
Reporter: Xun Liu






--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (SUBMARINE-96) Manually update the submarine package file in the hadoop submarine docker container

2019-08-16 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-96:
-
Labels: submarine-external-repo  (was: )

[https://github.com/hadoopsubmarine/submarine/pull/10]

What is this PR for?

Now the hadoop submarine provides a docker image.
Make it easy for developers to start the test and development environment.
We need to tell the developer how to update the compiled hadoop submarine 
package to the container for testing.
h3. What type of PR is it?

[Improvement]
h3. What is the Jira issue?
 * https://issues.apache.org/jira/browse/SUBMARINE-96

h3. How should this be tested?
 * [CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/562484866]

> Manually update the submarine package file in the hadoop submarine docker 
> container
> ---
>
> Key: SUBMARINE-96
> URL: https://issues.apache.org/jira/browse/SUBMARINE-96
> Project: Hadoop Submarine
>  Issue Type: Improvement
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> Now the hadoop submarine provides a docker image.
> Make it easy for developers to start the test and development environment.
> We need to tell the developer how to update the compiled hadoop submarine 
> package to the container for testing.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Resolved] (SUBMARINE-96) Manually update the submarine package file in the hadoop submarine docker container

2019-08-16 Thread Xun Liu (JIRA)


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

Xun Liu resolved SUBMARINE-96.
--
Resolution: Fixed

> Manually update the submarine package file in the hadoop submarine docker 
> container
> ---
>
> Key: SUBMARINE-96
> URL: https://issues.apache.org/jira/browse/SUBMARINE-96
> Project: Hadoop Submarine
>  Issue Type: Improvement
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> Now the hadoop submarine provides a docker image.
> Make it easy for developers to start the test and development environment.
> We need to tell the developer how to update the compiled hadoop submarine 
> package to the container for testing.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (SUBMARINE-101) [WEB] Submarine web login page

2019-08-16 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-101:
--
Labels: submarine-external-repo submarine-web  (was: submarine-web)

[https://github.com/hadoopsubmarine/submarine/pull/19]
h3. What is this PR for?

Add landing page in submarine-web.
h3. What type of PR is it?

[Feature]
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-101
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/566497902]

> [WEB] Submarine web login page
> --
>
> Key: SUBMARINE-101
> URL: https://issues.apache.org/jira/browse/SUBMARINE-101
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo, submarine-web
>
> !https://user-images.githubusercontent.com/3677382/62301890-fa1b2100-b4ab-11e9-85c1-cd8aac31b3d2.png|width=569,height=407!



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (SUBMARINE-109) [WEB] Submarine LOGO & PageHead & PageFooter

2019-08-16 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-109:
--
Labels: submarine-external-repo  (was: )

[https://github.com/hadoopsubmarine/submarine/pull/21]
h3. What is this PR for?

Update Submarine LOGO & PageHead & PageFooter
h3. What type of PR is it?

[Improvement]
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-109
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/567703970]

> [WEB] Submarine LOGO & PageHead & PageFooter
> 
>
> Key: SUBMARINE-109
> URL: https://issues.apache.org/jira/browse/SUBMARINE-109
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>




--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (SUBMARINE-110) [WEB] Submarine web Actuator page

2019-08-15 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-110:
--
Labels: submarine-external-repo  (was: )

[https://github.com/hadoopsubmarine/submarine/pull/23]
h3. What is this PR for?
 # Submarine Actuator provide a unified platform for various use cases such as 
running production ETL pipelines, streaming analytics, ad-hoc analytics, and 
machine learning.
 # Submarine has two types of Actuator: interactive and job. You use 
interactive Actuator to analyze data collaboratively with interactive 
notebooks. You use job Actuator to run fast and robust automated jobs.

h3. What type of PR is it?

[Feature]
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-110
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/567976052]

> [WEB] Submarine web Actuator page
> -
>
> Key: SUBMARINE-110
> URL: https://issues.apache.org/jira/browse/SUBMARINE-110
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
> Attachments: image-2019-08-06-00-49-46-371.png
>
>
> # Submarine Actuator provide a unified platform for various use cases such as 
> running production ETL pipelines, streaming analytics, ad-hoc analytics, and 
> machine learning.
>  # Submarine has two types of Actuator: interactive and job. You use 
> interactive Actuator to analyze data collaboratively with interactive 
> notebooks. You use job Actuator to run fast and robust automated jobs.
>  
> !image-2019-08-06-00-49-46-371.png|width=879,height=704!



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (SUBMARINE-106) [WEB] Submarine web workspace/project page

2019-08-15 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-106:
--
Labels: submarine-external-repo  (was: )

[https://github.com/hadoopsubmarine/submarine/pull/22]
h3. What is this PR for?
 # Add a tab page to the workspace page.
 # Add a project subpage to the tab page
 # Display all the user's project on the project page.
 # By clicking on the project tree directory on the left, the corresponding 
file list will be displayed on the right.

h3. What type of PR is it?

[Feature]
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-106
h3. How should this be tested?

[CI pass|https://travis-ci.org/liuxunorg/submarine/builds/567802033]

> [WEB] Submarine web workspace/project page
> --
>
> Key: SUBMARINE-106
> URL: https://issues.apache.org/jira/browse/SUBMARINE-106
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
> Attachments: image-2019-08-05-19-26-32-765.png
>
>
> 1. Add a tab page to the workspace page.
> 2. Add a project subpage to the tab page
> 3. Display all the user's project on the project page.
> 4. By clicking on the project tree directory on the left, the corresponding 
> file list will be displayed on the right.
>  
> !image-2019-08-05-19-26-32-765.png|width=602,height=486!



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (SUBMARINE-111) [WEB] Submarine web Job page

2019-08-15 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-111:
--
Labels: submarine-external-repo  (was: )

[https://github.com/hadoopsubmarine/submarine/pull/24]
h3. What is this PR for?

A job is a way of running a notebook or on a scheduled basis.
You can create and run jobs using the UI.
Similarly, you can monitor job run results in the UI and through email alerts.
h3. What type of PR is it?

Improvement
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-111
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/568237310]

> [WEB] Submarine web Job page
> 
>
> Key: SUBMARINE-111
> URL: https://issues.apache.org/jira/browse/SUBMARINE-111
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
> Attachments: image-2019-08-06-15-26-48-547.png
>
>
> A job is a way of running a notebook or on a scheduled basis. 
>  You can create and run jobs using the UI. 
>  Similarly, you can monitor job run results in the UI and through email 
> alerts.
>  
> !image-2019-08-06-15-26-48-547.png|width=764,height=452!



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (SUBMARINE-112) [WEB] Submarine web Data page

2019-08-15 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-112:
--
Labels: submarine-external-repo  (was: )

[https://github.com/hadoopsubmarine/submarine/pull/25]
h3. What is this PR for?

A Submarine database is a collection of tables. A Submarine table is a 
collection of structured data.
h3. What type of PR is it?

Feature
h3. Todos
 * https://issues.apache.org/jira/browse/SUBMARINE-114

h3. What is the Jira issue?
 * https://issues.apache.org/jira/browse/SUBMARINE-112

h3. How should this be tested?
 * [CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/569870936]

> [WEB] Submarine web Data page
> -
>
> Key: SUBMARINE-112
> URL: https://issues.apache.org/jira/browse/SUBMARINE-112
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
> Attachments: image-2019-08-09-14-20-07-981.png, 
> image-2019-08-09-14-21-02-104.png, image-2019-08-09-22-53-36-361.png
>
>
> A Submarine database is a collection of tables. A Submarine table is a 
> collection of structured data. 
> !image-2019-08-09-14-20-07-981.png|width=567,height=384!
>  
> !image-2019-08-09-22-53-36-361.png|width=867,height=600!



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (SUBMARINE-118) Modify `submarine-dev-docker-image` to `mini-submarine`

2019-08-15 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-118:
--
Labels: submarine-external-repo  (was: )

[https://github.com/hadoopsubmarine/submarine/pull/27]
h3. What is this PR for?

Modify {{submarine-dev-docker-image}} to {{mini-submarine}}
h3. What type of PR is it?

Improvement
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-118
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/570436098]

> Modify `submarine-dev-docker-image` to `mini-submarine`
> ---
>
> Key: SUBMARINE-118
> URL: https://issues.apache.org/jira/browse/SUBMARINE-118
> Project: Hadoop Submarine
>  Issue Type: Improvement
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>




--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Resolved] (SUBMARINE-123) Move the directory `_tools` to `dev-support`

2019-08-15 Thread Xun Liu (JIRA)


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

Xun Liu resolved SUBMARINE-123.
---
Resolution: Fixed

> Move the directory `_tools` to `dev-support`
> 
>
> Key: SUBMARINE-123
> URL: https://issues.apache.org/jira/browse/SUBMARINE-123
> Project: Hadoop Submarine
>  Issue Type: Bug
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>




--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (SUBMARINE-122) Fixed package name `org.apache.hadoop` error in the documentation

2019-08-15 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-122:
--
Labels: submarine-external-repo  (was: )

[https://github.com/hadoopsubmarine/submarine/pull/31]
h3. What is this PR for?

Fixed package name {{org.apache.hadoop}} error in the documentation
h3. What type of PR is it?

Bug Fix
h3. Todos
 *  - Task

h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-122
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/570796970]

> Fixed package name `org.apache.hadoop` error in the documentation
> -
>
> Key: SUBMARINE-122
> URL: https://issues.apache.org/jira/browse/SUBMARINE-122
> Project: Hadoop Submarine
>  Issue Type: Bug
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>




--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (SUBMARINE-123) Move the directory `_tools` to `dev-support`

2019-08-15 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-123:
--
Labels: submarine-external-repo  (was: )

[https://github.com/hadoopsubmarine/submarine/pull/32]
h3. What is this PR for?

Move the directory {{_tools}} to {{dev-support}}
h3. What type of PR is it?

Improvement
h3. Todos
 *  - Task

h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-123
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/571136505]

> Move the directory `_tools` to `dev-support`
> 
>
> Key: SUBMARINE-123
> URL: https://issues.apache.org/jira/browse/SUBMARINE-123
> Project: Hadoop Submarine
>  Issue Type: Bug
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>




--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Resolved] (SUBMARINE-126) Reorginize the documentation of mini-submarine

2019-08-15 Thread Xun Liu (JIRA)


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

Xun Liu resolved SUBMARINE-126.
---
Resolution: Fixed

> Reorginize the documentation of mini-submarine
> --
>
> Key: SUBMARINE-126
> URL: https://issues.apache.org/jira/browse/SUBMARINE-126
> Project: Hadoop Submarine
>  Issue Type: Task
>Reporter: Zac Zhou
>Assignee: Zac Zhou
>Priority: Major
>  Labels: submarine-external-repo
>
> Refactor the documentation of mini-submarine:
>  # Merge update-submarine-verision.md with README
>  # Fix the typo of run_submarine* scripts.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (SUBMARINE-127) [REST] Submarine rest server Framework

2019-08-15 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-127:
--
Labels: submarine-external-repo  (was: )

[https://github.com/hadoopsubmarine/submarine/pull/36]

 
h3. What is this PR for?

Provide web backend services for submarine via jetty server
h3. What type of PR is it?

Feature
h3. Todos
 *  - Task

h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-127
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/572108702]

> [REST] Submarine rest server Framework
> --
>
> Key: SUBMARINE-127
> URL: https://issues.apache.org/jira/browse/SUBMARINE-127
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> Provide web backend services for submarine via jetty server



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (SUBMARINE-130) [WEB] Submarine web change router mode from `history` to `hash`

2019-08-15 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-130:
--
 Labels: submarine-external-repo  (was: )
Description: 
[https://github.com/hadoopsubmarine/submarine/pull/38]
h3. What is this PR for?

change router mode from {{history}} to {{hash}}, The page is routed directly on 
the front end, and only the /api/* interface calls the background RESTful 
interface.
h3. What type of PR is it?

Improvement
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-130

 

> [WEB] Submarine web change router mode from `history` to `hash`
> ---
>
> Key: SUBMARINE-130
> URL: https://issues.apache.org/jira/browse/SUBMARINE-130
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> [https://github.com/hadoopsubmarine/submarine/pull/38]
> h3. What is this PR for?
> change router mode from {{history}} to {{hash}}, The page is routed directly 
> on the front end, and only the /api/* interface calls the background RESTful 
> interface.
> h3. What type of PR is it?
> Improvement
> h3. What is the Jira issue?
> https://issues.apache.org/jira/browse/SUBMARINE-130
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (SUBMARINE-129) [REST] Submarine server get user info

2019-08-15 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-129:
--
Labels: submarine-external-repo  (was: )

h3. What is this PR for?

Add get user info RESTful interface.
h3. What type of PR is it?

Feature
h3. Todos
 *  - Task

h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-129
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/572126581]

> [REST] Submarine server get user info
> -
>
> Key: SUBMARINE-129
> URL: https://issues.apache.org/jira/browse/SUBMARINE-129
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> HTTP GET
> [http://127.0.0.1/api/user/info]



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Resolved] (SUBMARINE-136) [SERVER] Submarine server user login via database

2019-08-15 Thread Xun Liu (JIRA)


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

Xun Liu resolved SUBMARINE-136.
---
Resolution: Fixed

> [SERVER] Submarine server user login via database
> -
>
> Key: SUBMARINE-136
> URL: https://issues.apache.org/jira/browse/SUBMARINE-136
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> # create table sys_user in mysql
>  # add SysUserMapper
>  # add SysUserMapper.xml
>  # get SysUser from sys_user table via SysUserMapper.xml



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (SUBMARINE-136) [SERVER] Submarine server user login via database

2019-08-15 Thread Xun Liu (JIRA)


[ 
https://issues.apache.org/jira/browse/SUBMARINE-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16908733#comment-16908733
 ] 

Xun Liu commented on SUBMARINE-136:
---

[https://github.com/hadoopsubmarine/submarine/pull/41]
h3. What is this PR for?
 # create table sys_user in mysql
 # add SysUserMapper
 # add SysUserMapper.xml
 # get SysUser from sys_user table via SysUserMapper.xml

h3. What type of PR is it?

Feature
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-136
h3. How should this be tested?

[CI pass|https://travis-ci.org/liuxunorg/submarine/builds/572570511]
h3. Screenshots (if appropriate)
h3. Questions:
 * Does the licenses files need update? Yes/No
 * Is there breaking changes for older versions? Yes/No
 * Does this needs documentation? Yes/No

> [SERVER] Submarine server user login via database
> -
>
> Key: SUBMARINE-136
> URL: https://issues.apache.org/jira/browse/SUBMARINE-136
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> # create table sys_user in mysql
>  # add SysUserMapper
>  # add SysUserMapper.xml
>  # get SysUser from sys_user table via SysUserMapper.xml



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (SUBMARINE-134) [DB] Travis add mysql test environment

2019-08-15 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-134:
--
Summary: [DB] Travis add mysql test environment  (was: [DB] Run tests on 
Travis using mysql)

> [DB] Travis add mysql test environment
> --
>
> Key: SUBMARINE-134
> URL: https://issues.apache.org/jira/browse/SUBMARINE-134
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> 1. Modify .travis.yaml run tests on Travis using mysql
> 2. Create mysql in travis env
> 3. Create database name is `submarine`
> 4. database user name is `submarine`
> 5. database user password is `password`



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (SUBMARINE-134) [DB] Run tests on Travis using mysql

2019-08-15 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-134:
--
Labels: submarine-external-repo  (was: )

> [DB] Run tests on Travis using mysql
> 
>
> Key: SUBMARINE-134
> URL: https://issues.apache.org/jira/browse/SUBMARINE-134
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>




--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (SUBMARINE-134) [DB] Run tests on Travis using mysql

2019-08-15 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-134:
--
Summary: [DB] Run tests on Travis using mysql  (was: [DB] Submarine get 
system dict from db)

> [DB] Run tests on Travis using mysql
> 
>
> Key: SUBMARINE-134
> URL: https://issues.apache.org/jira/browse/SUBMARINE-134
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Created] (SUBMARINE-136) [SERVER] Submarine server user login via database

2019-08-15 Thread Xun Liu (JIRA)
Xun Liu created SUBMARINE-136:
-

 Summary: [SERVER] Submarine server user login via database
 Key: SUBMARINE-136
 URL: https://issues.apache.org/jira/browse/SUBMARINE-136
 Project: Hadoop Submarine
  Issue Type: Sub-task
Reporter: Xun Liu
Assignee: Xun Liu


# create table sys_user in mysql
 # add SysUserMapper
 # add SysUserMapper.xml
 # get SysUser from sys_user table via SysUserMapper.xml



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (SUBMARINE-128) [REST] Submarine server user login

2019-08-15 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-128:
--
Description: Provide the use login rest interface for the front end

> [REST] Submarine server user login
> --
>
> Key: SUBMARINE-128
> URL: https://issues.apache.org/jira/browse/SUBMARINE-128
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>
> Provide the use login rest interface for the front end



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Resolved] (SUBMARINE-135) [DB] Access the database via mybatis

2019-08-15 Thread Xun Liu (JIRA)


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

Xun Liu resolved SUBMARINE-135.
---
Resolution: Fixed

> [DB] Access the database via mybatis
> 
>
> Key: SUBMARINE-135
> URL: https://issues.apache.org/jira/browse/SUBMARINE-135
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> # add mybatis lib
>  # add mybatis-config.xml to Submarine-Server Resource Dir
>  # add database connect configure to submarine-site.xml



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (SUBMARINE-135) [DB] Access the database via mybatis

2019-08-15 Thread Xun Liu (JIRA)


[ 
https://issues.apache.org/jira/browse/SUBMARINE-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16908621#comment-16908621
 ] 

Xun Liu commented on SUBMARINE-135:
---

h3. [https://github.com/hadoopsubmarine/submarine/pull/40]
h3. What is this PR for?
 # add mybatis lib
 # add mybatis-config.xml to Submarine-Server Resource Dir
 # add database connect configure to submarine-site.xml

h3. What type of PR is it?

Feature
h3. Todos
 *  - Task

h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-135
h3. How should this be tested?

[CI Pass|https://travis-ci.org/liuxunorg/submarine/builds/572558464]
h3. Screenshots (if appropriate)
h3. Questions:
 * Does the licenses files need update? Yes/No
 * Is there breaking changes for older versions? Yes/No
 * Does this needs documentation? Yes/No

> [DB] Access the database via mybatis
> 
>
> Key: SUBMARINE-135
> URL: https://issues.apache.org/jira/browse/SUBMARINE-135
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> # add mybatis lib
>  # add mybatis-config.xml to Submarine-Server Resource Dir
>  # add database connect configure to submarine-site.xml



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (SUBMARINE-135) [DB] Access the database via mybatis

2019-08-15 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-135:
--
Description: 
# add mybatis lib
 # add mybatis-config.xml to Submarine-Server Resource Dir
 # add database connect configure to submarine-site.xml

> [DB] Access the database via mybatis
> 
>
> Key: SUBMARINE-135
> URL: https://issues.apache.org/jira/browse/SUBMARINE-135
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>
> # add mybatis lib
>  # add mybatis-config.xml to Submarine-Server Resource Dir
>  # add database connect configure to submarine-site.xml



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (SUBMARINE-135) [DB] Access the database via mybatis

2019-08-15 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-135:
--
Labels: submarine-external-repo  (was: )

> [DB] Access the database via mybatis
> 
>
> Key: SUBMARINE-135
> URL: https://issues.apache.org/jira/browse/SUBMARINE-135
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>  Labels: submarine-external-repo
>




--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (SUBMARINE-134) [DB] Submarine get system dict from db

2019-08-15 Thread Xun Liu (JIRA)


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

Xun Liu updated SUBMARINE-134:
--
Summary: [DB] Submarine get system dict from db  (was: [DB] Submarine 
system dict)

> [DB] Submarine get system dict from db
> --
>
> Key: SUBMARINE-134
> URL: https://issues.apache.org/jira/browse/SUBMARINE-134
> Project: Hadoop Submarine
>  Issue Type: Sub-task
>Reporter: Xun Liu
>Assignee: Xun Liu
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


  1   2   3   >