odpi / egeria-coco-labs

Egeria Jupiter notebooks used in the Open Metadata Labs
Apache License 2.0
9 stars 10 forks source link

run-ui-test notebook - error adding confidential classification #40

Open planetf1 opened 1 year ago

planetf1 commented 1 year ago

This notebook, used to help in testing REX, has some errors:

classificationProperties : {'class': 'InstanceProperties', 'instanceProperties': {'level': {'class': 'PrimitivePropertyValue', 'instancePropertyCategory': 'PRIMITIVE', 'primitiveDefCategory': 'OM_PRIMITIVE_TYPE_STRING', 'primitiveValue': '2'}, 'source': {'class': 'PrimitivePropertyValue', 'instancePropertyCategory': 'PRIMITIVE', 'primitiveDefCategory': 'OM_PRIMITIVE_TYPE_STRING', 'primitiveValue': 'CorporateDirective-CD112'}, 'steward': {'class': 'PrimitivePropertyValue', 'instancePropertyCategory': 'PRIMITIVE', 'primitiveDefCategory': 'OM_PRIMITIVE_TYPE_STRING', 'primitiveValue': 'data-sec-12345'}}, 'propertyNames': ['level', 'source', 'steward'], 'propertyCount': 3}
classifyEntityResponse: {'class': 'EntityDetailResponse', 'relatedHTTPCode': 400, 'actionDescription': 'classifyEntity', 'exceptionClassName': 'org.odpi.openmetadata.repositoryservices.ffdc.exception.PropertyErrorException', 'exceptionErrorMessage': 'OMRS-REPOSITORY-400-030 A property called level of type string has been proposed for a new metadata instance of category ClassificationDef and type Confidentiality; this property should be of type int in open metadata repository Schema_Server', 'exceptionErrorMessageId': 'OMRS-REPOSITORY-400-030', 'exceptionErrorMessageParameters': ['level', 'string', 'ClassificationDef', 'Confidentiality', 'int', 'Schema_Server'], 'exceptionSystemAction': 'The system is unable to store the metadata instance in the metadata repository since the properties listed do not match the supplied type definition.', 'exceptionUserAction': 'Check that the property name is spelt correctly and the correct type has been used. Correct the call to the metadata repository and retry.'}