java.lang.Object
org.odpi.openmetadata.frameworks.integration.bitol.mapping.BitolMapperBase
org.odpi.openmetadata.frameworks.integration.bitol.mapping.DataContractMapper

public class DataContractMapper extends BitolMapperBase
DataContractMapper catalogues an Open Data Contract Standard (ODCS) document as an Agreement in open metadata.
  • The document becomes an Agreement classified as a DataSharingAgreement (one element per version, qualifiedName DataContract::{id}::{version}) whose identifier is also recorded as an ExternalId shared by all versions.
  • Each schema object becomes a DataStructure that is an item of the agreement; each property becomes a DataField member of the structure, with nested properties and array items as nested data fields. Primary key, classification and critical data element markers become the PrimaryKey, Confidentiality and Criticality classifications; relationships between properties become LinkedDataField relationships.
  • Each data quality check becomes a DataQualityRule governance control that governs the structure or field.
  • The SLA properties become a ServiceLevelObjective that governs the agreement; the description's limitations and usage become its restrictions and entitlements.
  • Servers become Endpoints listed as resources of the agreement. A SecurityAccessControl governs the agreement and each access role becomes a SecurityRole associated with it, with the access type as the operation name.
  • The tenant, tags, team, support channels and authoritative definitions are mapped as for data products (see BitolMapperBase).
Everything that has no home in the open metadata types is kept in additional properties with the prefix "bitol.".