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




client/client-v2/src/main/java/org/apache/atlas/AtlasClientV2.java
Lines 387 (patched)
<https://reviews.apache.org/r/62984/#comment265093>

    formatPathParameters call is not needed here
    
    instead do exactly what you did for the get call
    
    ```java 
    public static final API_V2 DELETE_RELATIONSHIP_BY_GUID = new 
API_V2(RELATIONSHIPS_URI + "guid/", HttpMethod.DELETE, 
Response.Status.NO_CONTENT);
    
    public void deleteRelationshipByGuid(String guid) throws 
AtlasServiceException {
        callAPI(API_V2.DELETE_RELATIONSHIP_BY_GUID, AtlasRelationship.class, 
null, guid);
    }
    ```


- Apoorv Naik


On Oct. 13, 2017, 6:48 p.m., Andrew Hulbert wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62984/
> -----------------------------------------------------------
> 
> (Updated Oct. 13, 2017, 6:48 p.m.)
> 
> 
> Review request for atlas and Apoorv Naik.
> 
> 
> Bugs: ATLAS-2210
>     https://issues.apache.org/jira/browse/ATLAS-2210
> 
> 
> Repository: atlas
> 
> 
> Description
> -------
> 
> Add calls to get and delete relationships to AtlasClientV2
> 
> 
> Diffs
> -----
> 
>   client/client-v2/src/main/java/org/apache/atlas/AtlasClientV2.java 24a3ef6 
> 
> 
> Diff: https://reviews.apache.org/r/62984/diff/1/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Andrew Hulbert
> 
>

Reply via email to