@ PUT @ Consumes ( Servlets . JSON_MEDIA_TYPE ) @ Produces ( Servlets . JSON_MEDIA_TYPE ) public AtlasRelationship update ( AtlasRelationship relationship ) throws AtlasBaseException { AtlasPerfTracer perf = null ; try { if ( AtlasPerfTracer . isPerfTraceEnabled ( PERF_LOG ) ) { perf = AtlasPerfTracer . getPerfTracer ( PERF_LOG , "RelationshipREST.update(" + relationship + ")" ) ; } return relationshipStore . update ( relationship ) ; } finally { AtlasPerfTracer . log ( perf ) ; } }
Update an existing relationship between entities .