public EntityResult updateEntityAttribute ( final String guid , final String attribute , String value ) throws AtlasServiceException { LOG . debug ( "Updating entity id: {}, attribute name: {}, attribute value: {}" , guid , attribute , value ) ; JSONObject response = callAPIWithRetries ( API . UPDATE_ENTITY_PARTIAL , value , new ResourceCreator ( ) { @ Override public WebResource createResource ( ) { API api = API . UPDATE_ENTITY_PARTIAL ; WebResource resource = getResource ( api , guid ) ; resource = resource . queryParam ( ATTRIBUTE_NAME , attribute ) ; return resource ; } } ) ; return extractEntityResult ( response ) ; }
Supports Partial updates Updates property for the entity corresponding to guid