Classification Update Profile¶
The performance of programmatically updating existing classifications.
The Open Metadata Repository Services (OMRS) interface for a metadata repository defines optional methods for updating classifications:
|changes one or more values of the properties on an existing classification
|See (2) in detailed logic below.
For every classification type supported by the technology under test, this profile does the following (in order):
- Searches for
instancesPerTypeentities with that classification. (This uses
findEntitiesByClassificationwith a condition on the classification's name only and its performance is recorded as part of the classification search profile.)
- For each of these entity instances,
updateEntityClassificationis called to update the existing property values of the classification, using a new generated set of properties.
So, for example, if the technology under test supports 50 classification types, and the
instancesPerType parameter is set to 100, then this profile will update 50 (types) x 100 (instances per type) = 5000 classifications. (And it will run
findEntitiesByClassification 50 times.)
The properties of each of these instances will be fully-populated with:
- Any string properties containing a value representative of the property name itself (and where unique, they will be made unique through appending a unique sequence)
- Any non-string properties will be randomly generated, in a simple attempt to represent data that is not entirely uniform
Note the following caveats:
- Classification type definitions that have no properties will not be updated, since there are no properties to update.
Raise an issue or comment below