[jira] [Updated] (ATLAS-3504) Regression: DSL query with "like" clause returns unexpected entities for custom entity type.

2019-11-03 Thread Nikhil Bonte (Jira)


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

Nikhil Bonte updated ATLAS-3504:

Attachment: entity1
entity2
type

> Regression: DSL query with "like" clause returns unexpected entities for 
> custom entity type.
> 
>
> Key: ATLAS-3504
> URL: https://issues.apache.org/jira/browse/ATLAS-3504
> Project: Atlas
>  Issue Type: Bug
>Reporter: Nikhil Bonte
>Assignee: Nikhil Bonte
>Priority: Major
> Attachments: entity1, entity2, type
>
>
> # Created a custom type type1 with string attributes name and type_str
>  # Created 2 entities of type1:
>  ## name : entity1 , type_str : rand_str
>  ## name : entity2 , type_str : str_rand
>  # Fired DSL query : type1 where type_str like "rand*"
> Expected that , entity1 only will be returned , but entity2 is also returned.
> For all the following queries , both entities are returned:
> 1.type1 where type_str like "rand*"
> 2.type1 where type_str like "*rand"
> 3.type1 where type_str like "rand"
>  
> Basic search filter "begins with" works correctly. Issue seems to be with 
> only DSL search. The issue is consistently reproducible.



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


[jira] [Updated] (ATLAS-3504) Regression: DSL query with "like" clause returns unexpected entities for custom entity type.

2019-11-03 Thread Nikhil Bonte (Jira)


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

Nikhil Bonte updated ATLAS-3504:

Description: 
# Created a custom type type1 with string attributes name and type_str
 # Created 2 entities of type1:
 ## name : entity1 , type_str : rand_str
 ## name : entity2 , type_str : str_rand
 # Fired DSL query : type1 where type_str like "rand*"

Expected that , entity1 only will be returned , but entity2 is also returned.

For all the following queries , both entities are returned:

1.type1 where type_str like "rand*"

2.type1 where type_str like "*rand"

3.type1 where type_str like "rand"

 

Basic search filter "begins with" works correctly. Issue seems to be with only 
DSL search. The issue is consistently reproducible.

> Regression: DSL query with "like" clause returns unexpected entities for 
> custom entity type.
> 
>
> Key: ATLAS-3504
> URL: https://issues.apache.org/jira/browse/ATLAS-3504
> Project: Atlas
>  Issue Type: Bug
>Reporter: Nikhil Bonte
>Assignee: Nikhil Bonte
>Priority: Major
>
> # Created a custom type type1 with string attributes name and type_str
>  # Created 2 entities of type1:
>  ## name : entity1 , type_str : rand_str
>  ## name : entity2 , type_str : str_rand
>  # Fired DSL query : type1 where type_str like "rand*"
> Expected that , entity1 only will be returned , but entity2 is also returned.
> For all the following queries , both entities are returned:
> 1.type1 where type_str like "rand*"
> 2.type1 where type_str like "*rand"
> 3.type1 where type_str like "rand"
>  
> Basic search filter "begins with" works correctly. Issue seems to be with 
> only DSL search. The issue is consistently reproducible.



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


[jira] [Created] (ATLAS-3504) Regression: DSL query with "like" clause returns unexpected entities for custom entity type.

2019-11-03 Thread Nikhil Bonte (Jira)
Nikhil Bonte created ATLAS-3504:
---

 Summary: Regression: DSL query with "like" clause returns 
unexpected entities for custom entity type.
 Key: ATLAS-3504
 URL: https://issues.apache.org/jira/browse/ATLAS-3504
 Project: Atlas
  Issue Type: Bug
Reporter: Nikhil Bonte
Assignee: Nikhil Bonte






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


[jira] [Commented] (ATLAS-3488) Update with Filebased auth password with ShaPasswordEncoder with salt.

2019-11-03 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on ATLAS-3488:


Commit 5ae7fbecb3b02abe9aaa07e25e3b06073fd0c306 in atlas's branch 
refs/heads/master from Vishal Suvagia
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=5ae7fbe ]

ATLAS-3488 : Update Simple Authentication(file-based) password with 
ShaPasswordEncoder with Salt (Addendum patch #1).

Signed-off-by: nixonrodrigues 


> Update with Filebased auth password with ShaPasswordEncoder with salt.
> --
>
> Key: ATLAS-3488
> URL: https://issues.apache.org/jira/browse/ATLAS-3488
> Project: Atlas
>  Issue Type: Improvement
>Reporter: Nixon Rodrigues
>Assignee: Nixon Rodrigues
>Priority: Major
> Fix For: 3.0.0
>
> Attachments: ATLAS-3488.07.patch, ATLAS-3488.6.patch
>
>
> Current password is encoded with {{sha256 method for filebased 
> authentication.}}
>  
> {{Update the password with }}{{sha256}}{{ with salt encoding which is more 
> secured.}}
>  



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