[jira] [Updated] (ATLAS-1144) After updating/creating a set of entities, response contains the first entity definition only

2016-09-11 Thread Apoorv Naik (JIRA)

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

Apoorv Naik updated ATLAS-1144:
---

Since it's an entity create/update API, the user may not expect verbose 
response by default.

It would make sense to improve the current API endpoint by adding an optional 
parameter responseType as per your suggestion. If this parameter is not 
specified, the response should be same as earlier.
When reponseType=full , full response with details of all entities 
created/updated can be served.

> After updating/creating a set of entities, response contains the first entity 
> definition only
> -
>
> Key: ATLAS-1144
> URL: https://issues.apache.org/jira/browse/ATLAS-1144
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.7-incubating
>Reporter: Apoorv Naik
>Assignee: Apoorv Naik
> Fix For: 0.7-incubating
>
> Attachments: ATLAS_1144.patch
>
>
> Version: Atlas 0.7
> Steps to recreate:
> Create two entities (POST /entities) and note guid1 and guid2 that get 
> generated.
> Update these entities in the same PUT /entities and response contains 
> (truncated for convenience):
> {
>   "requestId": "...",
>   "GUID": [
> "guid1",
> "guid2"
>   ],
>   "definition": "{..*\"id\":\"guid1\"*,}
> }
> {color:red}Issue: definition does not contain the data for second 
> entity.{color}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ATLAS-1154) Errors in Eclipse with web.xml

2016-09-11 Thread Shwetha G S (JIRA)

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

Shwetha G S updated ATLAS-1154:
---
Description: 
I have set up a development environment in Eclipse. I notice that the project 
atlas-webapp has 2 errors like this :
The content of element type "web-app" must match 
"(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-
 
mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-
 ref*,ejb-local-ref*)".

The reason for the error is that the xml elements were filter, filter mapping, 
filter, filter mapping. This does not match the DTD element order (which 
Eclipse seems to be policing).  If I move the elements so all the filters are 
next to each other - there are no errors.
Like this : 
{noformat}

springSecurityFilterChain

org.springframework.web.filter.DelegatingFilterProxy


guiceFilter
com.google.inject.servlet.GuiceFilter


springSecurityFilterChain
/*


guiceFilter
/*

{noformat}



   

  was:
I have set up a development environment in Eclipse. I notice that the project 
atlas-webapp has 2 errors like this :
The content of element type "web-app" must match 
"(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-
 
mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-
 ref*,ejb-local-ref*)".

The reason for the error is that the xml elements were filter, filter mapping, 
filter, filter mapping. This does not match the DTD element order (which 
Eclipse seems to be policing).  If I move the elements so all the filters are 
next to each other - there are no errors.
Like this : 

springSecurityFilterChain

org.springframework.web.filter.DelegatingFilterProxy


guiceFilter
com.google.inject.servlet.GuiceFilter


springSecurityFilterChain
/*


guiceFilter
/*




   


> Errors in Eclipse with web.xml
> --
>
> Key: ATLAS-1154
> URL: https://issues.apache.org/jira/browse/ATLAS-1154
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.8-incubating
>Reporter: David Radley
>Assignee: David Radley
> Fix For: 0.8-incubating
>
> Attachments: atlas1154.patch
>
>
> I have set up a development environment in Eclipse. I notice that the project 
> atlas-webapp has 2 errors like this :
> The content of element type "web-app" must match 
> "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-
>  
> mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-
>  ref*,ejb-local-ref*)".
> The reason for the error is that the xml elements were filter, filter 
> mapping, filter, filter mapping. This does not match the DTD element order 
> (which Eclipse seems to be policing).  If I move the elements so all the 
> filters are next to each other - there are no errors.
> Like this : 
> {noformat}
> 
> springSecurityFilterChain
> 
> org.springframework.web.filter.DelegatingFilterProxy
> 
> 
> guiceFilter
> com.google.inject.servlet.GuiceFilter
> 
> 
> springSecurityFilterChain
> /*
> 
> 
> guiceFilter
> /*
> 
> {noformat}
>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ATLAS-1154) Errors in Eclipse with web.xml

2016-09-11 Thread Shwetha G S (JIRA)

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

Shwetha G S updated ATLAS-1154:
---
Assignee: David Radley

> Errors in Eclipse with web.xml
> --
>
> Key: ATLAS-1154
> URL: https://issues.apache.org/jira/browse/ATLAS-1154
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.8-incubating
>Reporter: David Radley
>Assignee: David Radley
> Fix For: 0.8-incubating
>
> Attachments: atlas1154.patch
>
>
> I have set up a development environment in Eclipse. I notice that the project 
> atlas-webapp has 2 errors like this :
> The content of element type "web-app" must match 
> "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-
>  
> mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-
>  ref*,ejb-local-ref*)".
> The reason for the error is that the xml elements were filter, filter 
> mapping, filter, filter mapping. This does not match the DTD element order 
> (which Eclipse seems to be policing).  If I move the elements so all the 
> filters are next to each other - there are no errors.
> Like this : 
> 
> springSecurityFilterChain
> 
> org.springframework.web.filter.DelegatingFilterProxy
> 
> 
> guiceFilter
> com.google.inject.servlet.GuiceFilter
> 
> 
> springSecurityFilterChain
> /*
> 
> 
> guiceFilter
> /*
> 
>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ATLAS-1098) Atlas allows creation of tag with name "isa" which causes exceptions during search

2016-09-11 Thread Shwetha G S (JIRA)

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

Shwetha G S commented on ATLAS-1098:


[~apoorvnaik], please link the review board request to the jira for your future 
patches. Thanks

> Atlas allows creation of tag with name "isa" which causes exceptions during 
> search
> --
>
> Key: ATLAS-1098
> URL: https://issues.apache.org/jira/browse/ATLAS-1098
> Project: Atlas
>  Issue Type: Bug
>Reporter: Sharmadha Sainath
>Assignee: Apoorv Naik
>
> Created a tag with name "isa". DSL query "Table where Table isa isa" throws 
> exception . Search in Tag tab also throws exception.
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: Request to be a contributor in JIRA

2016-09-11 Thread Shwetha Shivalingamurthy
Hi David,

I have added you as contributor. Jiras can be assigned to you now

Regards,
Shwetha






On 09/09/16, 4:50 PM, "David Radley"  wrote:

>Thanks Vimal,
>I will wait for a kindly PMC member with admin access to make me a
>contributer, many thanks, David
>
>
>
>
>From:   Vimal Sharma 
>To: David Radley/UK/IBM@IBMGB
>Cc: "dev@atlas.incubator.apache.org" 
>Date:   09/09/2016 11:20
>Subject:FW: Request to be a contributor in JIRA
>
>
>
>Hi David,
>You can assign JIRAs to yourself only after some PMC member adds you as
>contributor.
>Sorry for the confusion.
>
>-Vimal
>
>
>
>
>On 9/9/16, 3:46 PM, "Ayub Khan Pathan"  wrote:
>
>>Hey Vimal,
>>
>>I guess some PMC member who has admin access has to add the person as
>³contributor². It doesn¹t happen automatically..
>>
>>Thanks
>>Ayub Khan
>>
>>
>>On 9/9/16, 3:40 PM, "Vimal Sharma"  wrote:
>>
>>Hi David,
>>Please create an account at
>>https://issues.apache.org/jira/login.jsp.
>Once you have an account, you can assign items to yourself.
>> 
>>Thanks
>>Vimal
>> 
>> 
>> 
>> 
>>On 9/9/16, 3:28 PM, "David Radley"  wrote:
>> 
>>>Hello,
>>>Please could someone add me as a contributor in JIRA so that items
>can be 
>>>assigned to me. My username is davidrad.
>>>  many thanks , David Radley.
>>>
>>>
>>>Unless stated otherwise above:
>>>IBM United Kingdom Limited - Registered in England and Wales with
>number 
>>>741598. 
>>>Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire
>PO6 3AU
>> 
>>
>>
>
>
>
>Unless stated otherwise above:
>IBM United Kingdom Limited - Registered in England and Wales with number
>741598. 
>Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
>