Hi Murali, There is no easy way to distinguish create and update. But looks it is not that important to know if policy is created or updated. If we do want to know if it is created or updated, we can look at the policy¹s history and the first change must be create.
Thanks Edward On 12/22/15, 20:48, "Krishna, Murali(AWF)" <[email protected]> wrote: >Hi Team, > >The question is in terms of https://issues.apache.org/jira/browse/EAGLE-47 > >In the eagle services for PolicyDefinition and DataSourceDefinition, both >the create and update operations go through the create method of >HBaseStorage.java. So how do we differentiate between create and update >operation without hitting HBase again to check if the row exists (is this >acceptable from the point of performance). Or is there any other way to >differentiate ? > >Thanks, >Murali Krishna
