[jira] [Commented] (ATLAS-4116) UI should not allow the user to create a glossary with blank(" ") name

2021-02-01 Thread Keval Bhatt (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-4116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17276859#comment-17276859
 ] 

Keval Bhatt commented on ATLAS-4116:


Hi [~prasadpp13], Thanks for the patch.

In the new patch 
[^0001-ATLAS-4116-UI-UI-should-not-allow-the-user-to-create.patch]  I think the 
condition is specific to modal so you should bind to specific modal input 

Example:

{code:java}
$('body').on('keyup input', '.modal-body input', function(e) {}){code}

or create the custom JQuery event for a specific element which is not bond to 
modal only

Example:


{code:java}
$('body').on('keyup input', 'input.no-empty', function(e) {
    (true) ? this.trigger("input:success") : this.trigger("input:failed");
}){code}
 

 

> UI should not allow the user to create a glossary with blank(" ") name
> --
>
> Key: ATLAS-4116
> URL: https://issues.apache.org/jira/browse/ATLAS-4116
> Project: Atlas
>  Issue Type: Bug
>Reporter: Nixon Rodrigues
>Assignee: Prasad P. Pawar
>Priority: Major
> Attachments: 
> 0001-ATLAS-4116-UI-UI-should-not-allow-the-user-to-create.patch, 
> Atlas-4116Fix.png
>
>
> When just space is input the "Create" button is not enabled, but when the 
> space is selected, then the "Create" button is enabled and User is allowed to 
> click on "*Create*".
> This results in un-necessary failures
> *
> {"errorCode":"ATLAS-400-00-079","errorMessage":"Attributes qualifiedName and 
> name are missing. Failed to derive a unique name for Glossary"}
> *
> It is better to not allow clicking on "Create" for such an input via UI



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


[jira] [Updated] (ATLAS-4116) UI should not allow the user to create a glossary with blank(" ") name

2021-02-01 Thread Prasad P. Pawar (Jira)


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

Prasad P. Pawar updated ATLAS-4116:
---
Attachment: 0001-ATLAS-4116-UI-UI-should-not-allow-the-user-to-create.patch

> UI should not allow the user to create a glossary with blank(" ") name
> --
>
> Key: ATLAS-4116
> URL: https://issues.apache.org/jira/browse/ATLAS-4116
> Project: Atlas
>  Issue Type: Bug
>Reporter: Nixon Rodrigues
>Assignee: Prasad P. Pawar
>Priority: Major
> Attachments: 
> 0001-ATLAS-4116-UI-UI-should-not-allow-the-user-to-create.patch, 
> Atlas-4116Fix.png
>
>
> When just space is input the "Create" button is not enabled, but when the 
> space is selected, then the "Create" button is enabled and User is allowed to 
> click on "*Create*".
> This results in un-necessary failures
> *
> {"errorCode":"ATLAS-400-00-079","errorMessage":"Attributes qualifiedName and 
> name are missing. Failed to derive a unique name for Glossary"}
> *
> It is better to not allow clicking on "Create" for such an input via UI



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


[jira] [Updated] (ATLAS-4116) UI should not allow the user to create a glossary with blank(" ") name

2021-02-01 Thread Prasad P. Pawar (Jira)


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

Prasad P. Pawar updated ATLAS-4116:
---
Attachment: (was: 
0001-ATLAS-4116-UI-UI-should-not-allow-the-user-to-create.patch)

> UI should not allow the user to create a glossary with blank(" ") name
> --
>
> Key: ATLAS-4116
> URL: https://issues.apache.org/jira/browse/ATLAS-4116
> Project: Atlas
>  Issue Type: Bug
>Reporter: Nixon Rodrigues
>Assignee: Prasad P. Pawar
>Priority: Major
> Attachments: Atlas-4116Fix.png
>
>
> When just space is input the "Create" button is not enabled, but when the 
> space is selected, then the "Create" button is enabled and User is allowed to 
> click on "*Create*".
> This results in un-necessary failures
> *
> {"errorCode":"ATLAS-400-00-079","errorMessage":"Attributes qualifiedName and 
> name are missing. Failed to derive a unique name for Glossary"}
> *
> It is better to not allow clicking on "Create" for such an input via UI



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


Re: Review Request 73147: ATLAS-4052 : Upgrade elasticsearch version

2021-02-01 Thread Sarath Subramanian

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73147/#review222541
---


Ship it!




Ship It!

- Sarath Subramanian


On Jan. 31, 2021, 10:35 p.m., chaitali wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/73147/
> ---
> 
> (Updated Jan. 31, 2021, 10:35 p.m.)
> 
> 
> Review request for atlas, Ashutosh Mestry, Jayendra Parab, Madhan Neethiraj, 
> Nixon Rodrigues, and Sarath Subramanian.
> 
> 
> Bugs: ATLAS-4052
> https://issues.apache.org/jira/browse/ATLAS-4052
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Currently Atlas is pulling in elasticsearch-rest-client 6.6.0.
> this patch upgrades elasticsearch version to 6.8.3
> 
> 
> Diffs
> -
> 
>   pom.xml 7bfd68b94 
> 
> 
> Diff: https://reviews.apache.org/r/73147/diff/1/
> 
> 
> Testing
> ---
> 
> mvn clean install -DskipTests
> mvn clean package -Pdist,embedded-hbase-solr -DskipTests -Drat.skip 
> atlas server running.
> latest precommit :
> https://ci-builds.apache.org/job/Atlas/job/PreCommit-ATLAS-Build-Test/362/console
> 
> 
> Thanks,
> 
> chaitali
> 
>



[jira] [Updated] (ATLAS-4121) Import Service: Improve Speed of Ingest for replicatedTo Option

2021-02-01 Thread Ashutosh Mestry (Jira)


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

Ashutosh Mestry updated ATLAS-4121:
---
Attachment: ATLAS-4121-Concurrent-Import.patch

> Import Service: Improve Speed of Ingest for replicatedTo Option
> ---
>
> Key: ATLAS-4121
> URL: https://issues.apache.org/jira/browse/ATLAS-4121
> Project: Atlas
>  Issue Type: Improvement
>  Components:  atlas-core
>Affects Versions: 2.1.0
>Reporter: Ashutosh Mestry
>Assignee: Ashutosh Mestry
>Priority: Major
> Fix For: trunk
>
> Attachments: ATLAS-4121-Concurrent-Import.patch
>
>
> *Background*
> For Import replication options that includes _skipLineage_ and 
> _replicatedTo_, __ current implementation uses one entity-at-time import 
> approach.
> This approach can be end up taking long time to import for large payloads.
> *Solution*
>  * Use an approach that allows for entity of a type to be concurrently 
> created. 
>  * This assumes that the incoming stream of entities to be imported is 
> topologically sorted (where parent entities appear before the child entities).
>  * Create entities of a type.
>  * Once all entities of a type are created, fetch next type.



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


[jira] [Created] (ATLAS-4121) Import Service: Improve Speed of Ingest for replicatedTo Option

2021-02-01 Thread Ashutosh Mestry (Jira)
Ashutosh Mestry created ATLAS-4121:
--

 Summary: Import Service: Improve Speed of Ingest for replicatedTo 
Option
 Key: ATLAS-4121
 URL: https://issues.apache.org/jira/browse/ATLAS-4121
 Project: Atlas
  Issue Type: Improvement
  Components:  atlas-core
Affects Versions: 2.1.0
Reporter: Ashutosh Mestry
Assignee: Ashutosh Mestry
 Fix For: trunk


*Background*

For Import replication options that includes _skipLineage_ and _replicatedTo_, 
__ current implementation uses one entity-at-time import approach.

This approach can be end up taking long time to import for large payloads.

*Solution*
 * Use an approach that allows for entity of a type to be concurrently created. 
 * This assumes that the incoming stream of entities to be imported is 
topologically sorted (where parent entities appear before the child entities).
 * Create entities of a type.
 * Once all entities of a type are created, fetch next type.



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


[jira] [Created] (ATLAS-4120) Entities cached in setLabels() don’t have any attributes populated.

2021-02-01 Thread chaitali borole (Jira)
chaitali borole created ATLAS-4120:
--

 Summary: Entities cached in setLabels() don’t have any attributes 
populated.
 Key: ATLAS-4120
 URL: https://issues.apache.org/jira/browse/ATLAS-4120
 Project: Atlas
  Issue Type: Task
Affects Versions: 3.0.0
Reporter: chaitali borole
Assignee: chaitali borole


setLabels() is called even before entity attributes are written in the graph 
store i.e. from EntityGraphMapper.createVertexWithGuid() and 
EntityGraphMapper.updateSystemAttributes(), hence the entities cached don’t 
have any attributes populated.



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


Review Request 73166: Clause Change for Glossary

2021-02-01 Thread Ashutosh Mestry via Review Board

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73166/
---

Review request for atlas, Nikhil Bonte, Pinal Shah, and Sarath Subramanian.


Bugs: ATLAS-4109
https://issues.apache.org/jira/browse/ATLAS-4109


Repository: atlas


Description
---

Replaced _or_ with _where_ for simplicity.


Diffs
-

  repository/src/main/java/org/apache/atlas/query/GremlinClause.java b7e5330ce 
  
repository/src/main/java/org/apache/atlas/query/executors/GremlinClauseToTraversalTranslator.java
 a7b05fd88 
  repository/src/test/java/org/apache/atlas/query/GremlinQueryComposerTest.java 
0e8af186d 


Diff: https://reviews.apache.org/r/73166/diff/1/


Testing
---

**Unit tests**
- Existing tests run.
- Updated _GremlinQueryComposer_ to include the new clause.

**PC-build**
https://ci-builds.apache.org/job/Atlas/job/PreCommit-ATLAS-Build-Test/363/


Thanks,

Ashutosh Mestry



[jira] [Updated] (ATLAS-4119) Atlas REST API Documentation has links leading to 404

2021-02-01 Thread Umesh Padashetty (Jira)


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

Umesh Padashetty updated ATLAS-4119:

Attachment: Screenshot 2021-02-01 at 6.32.46 PM.png

> Atlas REST API Documentation has links leading to 404
> -
>
> Key: ATLAS-4119
> URL: https://issues.apache.org/jira/browse/ATLAS-4119
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Reporter: Umesh Padashetty
>Priority: Major
> Attachments: Screenshot 2021-02-01 at 6.27.30 PM.png, Screenshot 
> 2021-02-01 at 6.32.46 PM.png
>
>
> On clicking the links on REST API Documentation page, for instance, 
> [https://atlas.apache.org/api/v2/resource_DiscoveryREST.html|https://atlas.apache.org/api/v2/resource_DiscoveryREST.html,]
> it leads to "Not Found The requested URL was not found on this server."
>  
> On click of the hyperlink below
> !Screenshot 2021-02-01 at 6.27.30 PM.png!
> -
> The following error throws
> !Screenshot 2021-02-01 at 6.27.43 PM.png!
> The same applies for links found in the below pages too
>  * [https://atlas.apache.org/api/v2/resource_EntityREST.html]
>  * [https://atlas.apache.org/api/v2/resource_GlossaryREST.html]
>  * [https://atlas.apache.org/api/v2/resource_LineageREST.html]
>  * [https://atlas.apache.org/api/v2/resource_RelationshipREST.html]
>  * [https://atlas.apache.org/api/v2/resource_TypesREST.html]
>  



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


[jira] [Updated] (ATLAS-4119) Atlas REST API Documentation has links leading to 404

2021-02-01 Thread Umesh Padashetty (Jira)


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

Umesh Padashetty updated ATLAS-4119:

Description: 
On clicking the links on REST API Documentation page, for instance, 
[https://atlas.apache.org/api/v2/resource_DiscoveryREST.html|https://atlas.apache.org/api/v2/resource_DiscoveryREST.html,]

it leads to "Not Found The requested URL was not found on this server."

 

On click of the hyperlink below

!Screenshot 2021-02-01 at 6.27.30 PM.png!

-

The following error throws

!Screenshot 2021-02-01 at 6.32.46 PM.png!

The same applies for links found in the below pages too
 * [https://atlas.apache.org/api/v2/resource_EntityREST.html]
 * [https://atlas.apache.org/api/v2/resource_GlossaryREST.html]
 * [https://atlas.apache.org/api/v2/resource_LineageREST.html]
 * [https://atlas.apache.org/api/v2/resource_RelationshipREST.html]
 * [https://atlas.apache.org/api/v2/resource_TypesREST.html]

 

  was:
On clicking the links on REST API Documentation page, for instance, 
[https://atlas.apache.org/api/v2/resource_DiscoveryREST.html|https://atlas.apache.org/api/v2/resource_DiscoveryREST.html,]

it leads to "Not Found The requested URL was not found on this server."

 

On click of the hyperlink below

!Screenshot 2021-02-01 at 6.27.30 PM.png!

-

The following error throws

!Screenshot 2021-02-01 at 6.27.43 PM.png!

The same applies for links found in the below pages too
 * [https://atlas.apache.org/api/v2/resource_EntityREST.html]
 * [https://atlas.apache.org/api/v2/resource_GlossaryREST.html]
 * [https://atlas.apache.org/api/v2/resource_LineageREST.html]
 * [https://atlas.apache.org/api/v2/resource_RelationshipREST.html]
 * [https://atlas.apache.org/api/v2/resource_TypesREST.html]

 


> Atlas REST API Documentation has links leading to 404
> -
>
> Key: ATLAS-4119
> URL: https://issues.apache.org/jira/browse/ATLAS-4119
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Reporter: Umesh Padashetty
>Priority: Major
> Attachments: Screenshot 2021-02-01 at 6.27.30 PM.png, Screenshot 
> 2021-02-01 at 6.32.46 PM.png
>
>
> On clicking the links on REST API Documentation page, for instance, 
> [https://atlas.apache.org/api/v2/resource_DiscoveryREST.html|https://atlas.apache.org/api/v2/resource_DiscoveryREST.html,]
> it leads to "Not Found The requested URL was not found on this server."
>  
> On click of the hyperlink below
> !Screenshot 2021-02-01 at 6.27.30 PM.png!
> -
> The following error throws
> !Screenshot 2021-02-01 at 6.32.46 PM.png!
> The same applies for links found in the below pages too
>  * [https://atlas.apache.org/api/v2/resource_EntityREST.html]
>  * [https://atlas.apache.org/api/v2/resource_GlossaryREST.html]
>  * [https://atlas.apache.org/api/v2/resource_LineageREST.html]
>  * [https://atlas.apache.org/api/v2/resource_RelationshipREST.html]
>  * [https://atlas.apache.org/api/v2/resource_TypesREST.html]
>  



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


[jira] [Updated] (ATLAS-4119) Atlas REST API Documentation has links leading to 404

2021-02-01 Thread Umesh Padashetty (Jira)


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

Umesh Padashetty updated ATLAS-4119:

Attachment: (was: Screenshot 2021-02-01 at 6.27.43 PM.png)

> Atlas REST API Documentation has links leading to 404
> -
>
> Key: ATLAS-4119
> URL: https://issues.apache.org/jira/browse/ATLAS-4119
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Reporter: Umesh Padashetty
>Priority: Major
> Attachments: Screenshot 2021-02-01 at 6.27.30 PM.png, Screenshot 
> 2021-02-01 at 6.32.46 PM.png
>
>
> On clicking the links on REST API Documentation page, for instance, 
> [https://atlas.apache.org/api/v2/resource_DiscoveryREST.html|https://atlas.apache.org/api/v2/resource_DiscoveryREST.html,]
> it leads to "Not Found The requested URL was not found on this server."
>  
> On click of the hyperlink below
> !Screenshot 2021-02-01 at 6.27.30 PM.png!
> -
> The following error throws
> !Screenshot 2021-02-01 at 6.32.46 PM.png!
> The same applies for links found in the below pages too
>  * [https://atlas.apache.org/api/v2/resource_EntityREST.html]
>  * [https://atlas.apache.org/api/v2/resource_GlossaryREST.html]
>  * [https://atlas.apache.org/api/v2/resource_LineageREST.html]
>  * [https://atlas.apache.org/api/v2/resource_RelationshipREST.html]
>  * [https://atlas.apache.org/api/v2/resource_TypesREST.html]
>  



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


[jira] [Updated] (ATLAS-4119) Atlas REST API Documentation has links leading to 404

2021-02-01 Thread Umesh Padashetty (Jira)


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

Umesh Padashetty updated ATLAS-4119:

Description: 
On clicking the links on REST API Documentation page, for instance, 
[https://atlas.apache.org/api/v2/resource_DiscoveryREST.html|https://atlas.apache.org/api/v2/resource_DiscoveryREST.html,]

it leads to "Not Found The requested URL was not found on this server."

 

On click of the hyperlink below

!Screenshot 2021-02-01 at 6.27.30 PM.png!

-

The following error throws

!Screenshot 2021-02-01 at 6.27.43 PM.png!

The same applies for links found in the below pages too
 * [https://atlas.apache.org/api/v2/resource_EntityREST.html]
 * [https://atlas.apache.org/api/v2/resource_GlossaryREST.html]
 * [https://atlas.apache.org/api/v2/resource_LineageREST.html]
 * [https://atlas.apache.org/api/v2/resource_RelationshipREST.html]
 * [https://atlas.apache.org/api/v2/resource_TypesREST.html]

 

  was:
On clicking the links on REST API Documentation page, for instance, 
[https://atlas.apache.org/api/v2/resource_DiscoveryREST.html|https://atlas.apache.org/api/v2/resource_DiscoveryREST.html,]

it leads to "Not Found The requested URL was not found on this server."

On click of they hyperlink below

!Screenshot 2021-02-01 at 6.27.30 PM.png!

The following error throws

!Screenshot 2021-02-01 at 6.27.43 PM.png!

 

The same applies for links found in the below pages too
 * [https://atlas.apache.org/api/v2/resource_EntityREST.html]
 * [https://atlas.apache.org/api/v2/resource_GlossaryREST.html]
 * [https://atlas.apache.org/api/v2/resource_LineageREST.html]
 * [https://atlas.apache.org/api/v2/resource_RelationshipREST.html]
 * https://atlas.apache.org/api/v2/resource_TypesREST.html

 


> Atlas REST API Documentation has links leading to 404
> -
>
> Key: ATLAS-4119
> URL: https://issues.apache.org/jira/browse/ATLAS-4119
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Reporter: Umesh Padashetty
>Priority: Major
> Attachments: Screenshot 2021-02-01 at 6.27.30 PM.png, Screenshot 
> 2021-02-01 at 6.27.43 PM.png
>
>
> On clicking the links on REST API Documentation page, for instance, 
> [https://atlas.apache.org/api/v2/resource_DiscoveryREST.html|https://atlas.apache.org/api/v2/resource_DiscoveryREST.html,]
> it leads to "Not Found The requested URL was not found on this server."
>  
> On click of the hyperlink below
> !Screenshot 2021-02-01 at 6.27.30 PM.png!
> -
> The following error throws
> !Screenshot 2021-02-01 at 6.27.43 PM.png!
> The same applies for links found in the below pages too
>  * [https://atlas.apache.org/api/v2/resource_EntityREST.html]
>  * [https://atlas.apache.org/api/v2/resource_GlossaryREST.html]
>  * [https://atlas.apache.org/api/v2/resource_LineageREST.html]
>  * [https://atlas.apache.org/api/v2/resource_RelationshipREST.html]
>  * [https://atlas.apache.org/api/v2/resource_TypesREST.html]
>  



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


[jira] [Created] (ATLAS-4119) Atlas REST API Documentation has links leading to 404

2021-02-01 Thread Umesh Padashetty (Jira)
Umesh Padashetty created ATLAS-4119:
---

 Summary: Atlas REST API Documentation has links leading to 404
 Key: ATLAS-4119
 URL: https://issues.apache.org/jira/browse/ATLAS-4119
 Project: Atlas
  Issue Type: Bug
  Components: atlas-webui
Reporter: Umesh Padashetty
 Attachments: Screenshot 2021-02-01 at 6.27.30 PM.png, Screenshot 
2021-02-01 at 6.27.43 PM.png

On clicking the links on REST API Documentation page, for instance, 
[https://atlas.apache.org/api/v2/resource_DiscoveryREST.html|https://atlas.apache.org/api/v2/resource_DiscoveryREST.html,]

it leads to "Not Found The requested URL was not found on this server."

On click of they hyperlink below

!Screenshot 2021-02-01 at 6.27.30 PM.png!

The following error throws

!Screenshot 2021-02-01 at 6.27.43 PM.png!

 

The same applies for links found in the below pages too
 * [https://atlas.apache.org/api/v2/resource_EntityREST.html]
 * [https://atlas.apache.org/api/v2/resource_GlossaryREST.html]
 * [https://atlas.apache.org/api/v2/resource_LineageREST.html]
 * [https://atlas.apache.org/api/v2/resource_RelationshipREST.html]
 * https://atlas.apache.org/api/v2/resource_TypesREST.html

 



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