From 83e4fb224697caa928a303aa73e10f3bc0c4b83f Mon Sep 17 00:00:00 2001 From: Dan Wolfson Date: Sat, 21 Nov 2026 14:23:59 -0600 Subject: [PATCH 01/19] feat(6.4): A0 - generated tables from odpi/egeria#9463 and the 6.4 names in one place Groundwork for the Egeria 6.4 additions (process variables and decisions). - Regenerate pyegeria/view/egeria_relationship_fields.py (307 lists) and md_processing/md_processing_utils/properties_class_fields.py (691 classes) from odpi/egeria#9463 head 0dbf468774c7f3dc102dd677b720b670ed6a8e09 (merged as 90232870b2, same tree). Both headers name that sha. - #9463 adds 14 root-element lists and 11 Properties classes. - Drift also picked up (Egeria main changes before #9463, base 7d0db89538): relationship lists asOfDataField, basisDataField, derivedFromReportType, providesAsOfTimeForMeasurements, providesBasisForMeasurements, reportTypeInstances, usedInReports, usesResultsSets added, and equivalentSchemaAttribute/equivalentSchemaType renamed to the plural (nothing in this repo reads the old names). No Properties-class drift. - scripts/gen_egeria_relationship_fields.py gains --ref, reading the two Java files with git show so the Egeria checkout is never modified (the properties generator already worked this way). - tests/fixtures/egeria-6.4/: the five .http collections at the PR head and a SOURCE file naming it. - pyegeria/core/egeria_6_4_names.py: 11 type names, 14 lists with their relationship types, 11 Properties classes with the spec's keys, 31 URL paths. Names may change in review, so they live only here. - tests/micro-tests/test_egeria_6_4_names.py (30 tests): the lists and classes are in the generated tables, the names and the .http paths agree both ways, and the fixtures and both tables name the same sha. Signed-off-by: Dan Wolfson --- .../properties_class_fields.py | 13 +- pyegeria/core/egeria_6_4_names.py | 156 ++ pyegeria/view/egeria_relationship_fields.py | 28 +- scripts/gen_egeria_relationship_fields.py | 35 +- .../egeria-6.4/Egeria-api-data-engineer.http | 372 +++ .../Egeria-api-devops-pipeline.http | 1488 ++++++++++ .../Egeria-api-governance-officer.http | 2423 +++++++++++++++++ .../Egeria-api-project-manager.http | 896 ++++++ .../egeria-6.4/Egeria-api-schema-maker.http | 1469 ++++++++++ tests/fixtures/egeria-6.4/SOURCE | 4 + tests/micro-tests/test_egeria_6_4_names.py | 80 + 11 files changed, 6951 insertions(+), 13 deletions(-) create mode 100644 pyegeria/core/egeria_6_4_names.py create mode 100644 tests/fixtures/egeria-6.4/Egeria-api-data-engineer.http create mode 100644 tests/fixtures/egeria-6.4/Egeria-api-devops-pipeline.http create mode 100644 tests/fixtures/egeria-6.4/Egeria-api-governance-officer.http create mode 100644 tests/fixtures/egeria-6.4/Egeria-api-project-manager.http create mode 100644 tests/fixtures/egeria-6.4/Egeria-api-schema-maker.http create mode 100644 tests/fixtures/egeria-6.4/SOURCE create mode 100644 tests/micro-tests/test_egeria_6_4_names.py diff --git a/md_processing/md_processing_utils/properties_class_fields.py b/md_processing/md_processing_utils/properties_class_fields.py index bb044d960..05e44db89 100644 --- a/md_processing/md_processing_utils/properties_class_fields.py +++ b/md_processing/md_processing_utils/properties_class_fields.py @@ -3,7 +3,7 @@ """ Open-metadata Properties classes: kind and the JSON property names each reads (inherited included). -GENERATED by scripts/gen_properties_class_fields.py from Egeria c61bad65 at c61bad6514 2026-11-15 -- do not +GENERATED by scripts/gen_properties_class_fields.py from Egeria 0dbf468774c7f3dc102dd677b720b670ed6a8e09 at 0dbf468774 2026-11-21 -- do not edit by hand; re-run the script instead. Kind is the root of the class's superclass chain: relationship (RelationshipProperties), classification (ClassificationProperties), entity (EntityProperties) or other. @@ -50,6 +50,7 @@ 'ArchiveContentsProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'ArchiveFileProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime', 'fileType', 'fileName', 'fileExtension')), 'AsOfDataFieldProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), + 'AssessmentProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'assessor', 'assessorTypeName', 'assessorPropertyName', 'assessmentTime', 'expiryTime', 'notes', 'additionalProperties')), 'AssetConnectionProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'AssetProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source')), 'AssignmentScopeProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), @@ -73,6 +74,7 @@ 'BareMetalComputerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'deploymentStatus', 'userDefinedDeploymentStatus', 'userId')), 'BasisDataFieldProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'BlogEntryProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'situation')), + 'BranchProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'displayName', 'scope', 'purpose', 'url')), 'BuildInstructionFileProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime', 'fileType', 'fileName', 'fileExtension')), 'BusinessCapabilityDependencyProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'BusinessCapabilityProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose', 'businessCapabilityType', 'businessImplementationType')), @@ -191,10 +193,13 @@ 'DataValueDefinitionProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'DataValueHierarchyProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'DataValueMeaningProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), + 'DataValueProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'dataFormat', 'length', 'dataType', 'usage', 'fingerprint', 'fingerprintAlgorithm', 'hash', 'hashAlgorithm')), + 'DataValueSourceProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'DataValueSpecificationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'matchPropertyNames', 'namespacePath', 'matchThreshold', 'specification', 'specificationDetails', 'dataType', 'units', 'absoluteUncertainty', 'relativeUncertainty')), 'DataVirtualizationEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), 'DatabaseManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), 'DatabaseProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime', 'databaseInstance', 'importedFrom')), + 'DecisionProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'importance', 'disposition', 'implications', 'notes', 'startTime', 'lastReviewTime', 'nextReviewTime', 'expiryTime')), 'DeletingActionProcessProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription')), 'DependentContextEventProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'DependentSoftwareComponentProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), @@ -228,6 +233,7 @@ 'ElementProperties': ('other', ('propertyValueMap',)), 'ElementSupplementProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'EmbeddedConnectionProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'position', 'displayName', 'arguments')), + 'EmbeddedDataValueProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'position')), 'EmbeddedProcessProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'situation')), 'EndpointProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'networkAddress', 'protocol', 'encryptionMethod')), 'EnforcementPointProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'qualifiedName')), @@ -367,6 +373,7 @@ 'LinkedFileProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'LinkedMediaProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'ListenerInterfaceProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), + 'LiteralDataValueProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'dataFormat', 'length', 'dataType', 'usage', 'fingerprint', 'fingerprintAlgorithm', 'hash', 'hashAlgorithm', 'dataValue', 'dataValueList', 'dataValueMap')), 'LiteralSchemaTypeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'usage', 'encodingStandard', 'namespacePath', 'formula', 'formulaType', 'dataType', 'fixedValue')), 'LocationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties')), 'LogAnalysisProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'process', 'source', 'notes', 'dataCollectionStartTime', 'dataCollectionEndTime', 'counts', 'values', 'flags', 'dates')), @@ -423,6 +430,7 @@ 'OperatingPlatformProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'operatingSystem', 'byteOrdering', 'operatingSystemPatchLevel')), 'OperatingPlatformUseProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'installTime', 'deployer', 'deployerTypeName', 'deployerPropertyName')), 'OrganizationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'teamType')), + 'OutcomeProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'importance', 'disposition')), 'OwnershipProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'owner', 'ownerTypeName', 'ownerPropertyName', 'userIds', 'additionalProperties')), 'ParquetFileProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime', 'fileType', 'fileName', 'fileExtension')), 'PartOfRelationshipProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'position', 'minCardinality', 'maxCardinality', 'coverageCategory')), @@ -454,12 +462,14 @@ 'ProcessHierarchyProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'containmentType')), 'ProcessPortProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'ProcessProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus')), + 'ProcessingVariableProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'position')), 'ProfileIdentityProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'roleTypeName', 'roleGUID', 'description')), 'ProjectClassificationProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'approach', 'managementStyle', 'resultsUsage')), 'ProjectDependencyProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'ProjectHierarchyProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'ProjectKindProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'ProjectProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'mission', 'scope', 'dataProcessingPurposes', 'successCriteria', 'projectPhase', 'projectHealth', 'projectStatus', 'priority', 'plannedStartDate', 'actualStartDate', 'plannedCompletionDate', 'actualCompletionDate')), + 'ProjectTargetProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'PromiseProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'deploymentStatus', 'userDefinedDeploymentStatus', 'startTime', 'dueTime', 'lastReviewTime', 'completionTime', 'additionalProperties')), 'PropertiesFileProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime', 'fileType', 'fileName', 'fileExtension')), 'PropertyFacetProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'properties')), @@ -623,6 +633,7 @@ 'SupplementaryPropertiesProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'SupportedGovernanceServiceProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'requestType', 'serviceRequestType', 'requestParameters', 'generateConnectorActivityReports', 'deleteMethod')), 'SupportedSoftwareCapabilityProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'deploymentTime', 'deployer', 'deployerTypeName', 'deployerPropertyName')), + 'SupportedVariableTypeProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'position', 'minCardinality', 'maxCardinality')), 'SupportingDefinitionProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'SurveyActionEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), 'SurveyActionServiceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage')), diff --git a/pyegeria/core/egeria_6_4_names.py b/pyegeria/core/egeria_6_4_names.py new file mode 100644 index 000000000..edce5a3e1 --- /dev/null +++ b/pyegeria/core/egeria_6_4_names.py @@ -0,0 +1,156 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +"""Every name the Egeria 6.4 additions (odpi/egeria#9463, process variables and decisions) introduce. + +The names were reviewed as the PR went in, so they are kept here and only here. Wrappers, Dr.Egeria +commands and the Egeria Explorer cards import them instead of typing them, which makes a rename one edit +here plus a regeneration of the generated tables. + +Source: odpi/egeria#9463, head 0dbf468774c7f3dc102dd677b720b670ed6a8e09 (branch oak2026), merged to +odpi/egeria main as 90232870b2 with the same tree. The `.http` sample collections at that sha are in +tests/fixtures/egeria-6.4/ (see its SOURCE file); tests/micro-tests/test_egeria_6_4_names.py checks this +module against them and against the generated tables. + +URL paths are relative to ``/servers/{server}/api/open-metadata/`` and use the `.http` placeholder names in +single braces. Every request is a POST. +""" + +EGERIA_6_4_SOURCE_SHA = "0dbf468774c7f3dc102dd677b720b670ed6a8e09" + +# --- Type names (11) --------------------------------------------------------------------------------------- +DECISION = "Decision" # entity, 0018 (AuthoredReferenceable) +OUTCOME = "Outcome" # relationship, uni-link: Decision -> Referenceable +ASSESSMENT = "Assessment" # relationship, MULTI-link: Referenceable -> Decision +PROJECT_TARGET = "ProjectTarget" # relationship, uni-link: Project -> Referenceable (0130) +DATA_VALUE = "DataValue" # entity, 0208 (Referenceable) +LITERAL_DATA_VALUE = "LiteralDataValue" # entity, 0208 (DataValue) +DATA_VALUE_SOURCE = "DataValueSource" # relationship, uni-link: DataValue -> Asset +PROCESSING_VARIABLE = "ProcessingVariable" # relationship, uni-link: Referenceable -> DataValue +EMBEDDED_DATA_VALUE = "EmbeddedDataValue" # relationship, uni-link: DataValue -> DataValue +BRANCH = "Branch" # classification, 0280, any Referenceable +SUPPORTED_VARIABLE_TYPE = "SupportedVariableType" # relationship, uni-link: Referenceable -> SchemaType (0520) + +TYPE_NAMES = (DECISION, OUTCOME, ASSESSMENT, PROJECT_TARGET, DATA_VALUE, LITERAL_DATA_VALUE, DATA_VALUE_SOURCE, + PROCESSING_VARIABLE, EMBEDDED_DATA_VALUE, BRANCH, SUPPORTED_VARIABLE_TYPE) + +# --- Relationship lists on OpenMetadataRootElement (14) -> the relationship type each reads ---------------- +# Assessment lists can name the same element more than once: once per assessment. +ROOT_ELEMENT_LISTS = { + "decisionOutcomes": OUTCOME, + "associatedDecisions": OUTCOME, + "inputsToDecision": ASSESSMENT, + "assessmentDecisions": ASSESSMENT, + "projectTargets": PROJECT_TARGET, + "workedOnByProjects": PROJECT_TARGET, + "processingVariables": PROCESSING_VARIABLE, + "dataValueUses": PROCESSING_VARIABLE, + "embeddedDataValues": EMBEDDED_DATA_VALUE, + "parentDataValues": EMBEDDED_DATA_VALUE, + "dataValueSources": DATA_VALUE_SOURCE, + "providesDataValues": DATA_VALUE_SOURCE, + "processVariableTypes": SUPPORTED_VARIABLE_TYPE, + "processVariableTypeUses": SUPPORTED_VARIABLE_TYPE, +} + +# --- Properties classes -> kind and the keys the spec names for each (some inherited) ---------------------- +# The spec summary says 12 classes; #9463 adds these 11 (LiteralDataValue is sent through the data-value +# requests with class LiteralDataValueProperties). +DECISION_PROPERTIES = "DecisionProperties" +OUTCOME_PROPERTIES = "OutcomeProperties" +ASSESSMENT_PROPERTIES = "AssessmentProperties" +DATA_VALUE_PROPERTIES = "DataValueProperties" +LITERAL_DATA_VALUE_PROPERTIES = "LiteralDataValueProperties" +DATA_VALUE_SOURCE_PROPERTIES = "DataValueSourceProperties" +PROCESSING_VARIABLE_PROPERTIES = "ProcessingVariableProperties" +EMBEDDED_DATA_VALUE_PROPERTIES = "EmbeddedDataValueProperties" +PROJECT_TARGET_PROPERTIES = "ProjectTargetProperties" +SUPPORTED_VARIABLE_TYPE_PROPERTIES = "SupportedVariableTypeProperties" +BRANCH_PROPERTIES = "BranchProperties" + +PROPERTIES_CLASSES = { + # class: (kind, keys the spec names; the generated table must contain every one) + DECISION_PROPERTIES: ("entity", ("summary", "scope", "usage", "importance", "disposition", "implications", + "notes", "startTime", "lastReviewTime", "nextReviewTime", "expiryTime", + "authors", "contentStatus", "userDefinedContentStatus")), + OUTCOME_PROPERTIES: ("relationship", ("label", "description", "importance", "disposition")), + ASSESSMENT_PROPERTIES: ("relationship", ("label", "description", "assessor", "assessorTypeName", + "assessorPropertyName", "assessmentTime", "expiryTime", "notes", + "additionalProperties")), + DATA_VALUE_PROPERTIES: ("entity", ("dataFormat", "length", "dataType", "usage", "fingerprint", + "fingerprintAlgorithm", "hash", "hashAlgorithm")), + LITERAL_DATA_VALUE_PROPERTIES: ("entity", ("dataFormat", "length", "dataType", "dataValue", "dataValueList", + "dataValueMap")), + DATA_VALUE_SOURCE_PROPERTIES: ("relationship", ("label", "description")), + PROCESSING_VARIABLE_PROPERTIES: ("relationship", ("label", "description", "position")), + EMBEDDED_DATA_VALUE_PROPERTIES: ("relationship", ("label", "description", "position")), + PROJECT_TARGET_PROPERTIES: ("relationship", ("label", "description")), + SUPPORTED_VARIABLE_TYPE_PROPERTIES: ("relationship", ("label", "description", "position", "minCardinality", + "maxCardinality")), + BRANCH_PROPERTIES: ("classification", ("displayName", "scope", "purpose", "url")), +} + +# --- REST requests (31), relative to /servers/{server}/api/open-metadata/ --------------------------------- +GOVERNANCE_OFFICER = "governance-officer" +DATA_ENGINEER = "data-engineer" +PROJECT_MANAGER = "project-manager" +DEVOPS_PIPELINE = "devops-pipeline" +SCHEMA_MAKER = "schema-maker" + +# Governance Officer (12; the build plan's "13" is a miscount: 12 + 13 + 2 + 2 + 2 = 31) +DECISIONS_CREATE = f"{GOVERNANCE_OFFICER}/decisions" +DECISIONS_FROM_TEMPLATE = f"{GOVERNANCE_OFFICER}/decisions/from-template" +DECISIONS_UPDATE = f"{GOVERNANCE_OFFICER}/decisions/{{decisionGUID}}/update" +DECISIONS_DELETE = f"{GOVERNANCE_OFFICER}/decisions/{{decisionGUID}}/delete" +DECISIONS_BY_NAME = f"{GOVERNANCE_OFFICER}/decisions/by-name" +DECISIONS_RETRIEVE = f"{GOVERNANCE_OFFICER}/decisions/{{decisionGUID}}/retrieve" +DECISIONS_BY_SEARCH_STRING = f"{GOVERNANCE_OFFICER}/decisions/by-search-string" +OUTCOMES_ATTACH = f"{GOVERNANCE_OFFICER}/decisions/{{decisionGUID}}/outcomes/{{outcomeGUID}}/attach" +OUTCOMES_DETACH = f"{GOVERNANCE_OFFICER}/decisions/{{decisionGUID}}/outcomes/{{outcomeGUID}}/detach" +ASSESSMENTS_ATTACH = f"{GOVERNANCE_OFFICER}/elements/{{elementGUID}}/assessments/{{decisionGUID}}/attach" +ASSESSMENTS_UPDATE = f"{GOVERNANCE_OFFICER}/assessments/{{assessmentGUID}}/update" +ASSESSMENTS_DETACH = f"{GOVERNANCE_OFFICER}/assessments/{{assessmentGUID}}/detach" + +# Data Engineer (13) +DATA_VALUES_CREATE = f"{DATA_ENGINEER}/data-values" +DATA_VALUES_FROM_TEMPLATE = f"{DATA_ENGINEER}/data-values/from-template" +DATA_VALUES_UPDATE = f"{DATA_ENGINEER}/data-values/{{dataValueGUID}}/update" +DATA_VALUES_DELETE = f"{DATA_ENGINEER}/data-values/{{dataValueGUID}}/delete" +DATA_VALUES_BY_NAME = f"{DATA_ENGINEER}/data-values/by-name" +DATA_VALUES_RETRIEVE = f"{DATA_ENGINEER}/data-values/{{dataValueGUID}}/retrieve" +DATA_VALUES_BY_SEARCH_STRING = f"{DATA_ENGINEER}/data-values/by-search-string" +DATA_VALUE_SOURCES_ATTACH = f"{DATA_ENGINEER}/data-values/{{dataValueGUID}}/data-value-sources/{{assetGUID}}/attach" +DATA_VALUE_SOURCES_DETACH = f"{DATA_ENGINEER}/data-values/{{dataValueGUID}}/data-value-sources/{{assetGUID}}/detach" +PROCESSING_VARIABLES_ATTACH = f"{DATA_ENGINEER}/elements/{{elementGUID}}/processing-variables/{{dataValueGUID}}/attach" +PROCESSING_VARIABLES_DETACH = f"{DATA_ENGINEER}/elements/{{elementGUID}}/processing-variables/{{dataValueGUID}}/detach" +EMBEDDED_DATA_VALUES_ATTACH = (f"{DATA_ENGINEER}/data-values/{{parentDataValueGUID}}/embedded-data-values/" + f"{{embeddedDataValueGUID}}/attach") +EMBEDDED_DATA_VALUES_DETACH = (f"{DATA_ENGINEER}/data-values/{{parentDataValueGUID}}/embedded-data-values/" + f"{{embeddedDataValueGUID}}/detach") + +# Project Manager (2) +PROJECT_TARGETS_ATTACH = f"{PROJECT_MANAGER}/projects/{{projectGUID}}/project-targets/{{targetGUID}}/attach" +PROJECT_TARGETS_DETACH = f"{PROJECT_MANAGER}/projects/{{projectGUID}}/project-targets/{{targetGUID}}/detach" + +# Devops Pipeline (2): set takes a NewClassificationRequestBody (BranchProperties); remove a +# MetadataSourceRequestBody. +BRANCH_SET = f"{DEVOPS_PIPELINE}/elements/{{elementGUID}}/branch" +BRANCH_REMOVE = f"{DEVOPS_PIPELINE}/elements/{{elementGUID}}/branch/remove" + +# Schema Maker (2) +SUPPORTED_VARIABLE_TYPES_ATTACH = (f"{SCHEMA_MAKER}/elements/{{elementGUID}}/supported-variable-types/" + f"{{schemaTypeGUID}}/attach") +SUPPORTED_VARIABLE_TYPES_DETACH = (f"{SCHEMA_MAKER}/elements/{{elementGUID}}/supported-variable-types/" + f"{{schemaTypeGUID}}/detach") + +URL_PATHS = ( + DECISIONS_CREATE, DECISIONS_FROM_TEMPLATE, DECISIONS_UPDATE, DECISIONS_DELETE, DECISIONS_BY_NAME, + DECISIONS_RETRIEVE, DECISIONS_BY_SEARCH_STRING, OUTCOMES_ATTACH, OUTCOMES_DETACH, ASSESSMENTS_ATTACH, + ASSESSMENTS_UPDATE, ASSESSMENTS_DETACH, + DATA_VALUES_CREATE, DATA_VALUES_FROM_TEMPLATE, DATA_VALUES_UPDATE, DATA_VALUES_DELETE, DATA_VALUES_BY_NAME, + DATA_VALUES_RETRIEVE, DATA_VALUES_BY_SEARCH_STRING, DATA_VALUE_SOURCES_ATTACH, DATA_VALUE_SOURCES_DETACH, + PROCESSING_VARIABLES_ATTACH, PROCESSING_VARIABLES_DETACH, EMBEDDED_DATA_VALUES_ATTACH, + EMBEDDED_DATA_VALUES_DETACH, + PROJECT_TARGETS_ATTACH, PROJECT_TARGETS_DETACH, + BRANCH_SET, BRANCH_REMOVE, + SUPPORTED_VARIABLE_TYPES_ATTACH, SUPPORTED_VARIABLE_TYPES_DETACH, +) diff --git a/pyegeria/view/egeria_relationship_fields.py b/pyegeria/view/egeria_relationship_fields.py index 27bfd0d32..01cc1db84 100644 --- a/pyegeria/view/egeria_relationship_fields.py +++ b/pyegeria/view/egeria_relationship_fields.py @@ -3,7 +3,7 @@ """The relationship lists an Egeria 6 element can carry, and the relationship type(s) each one reads. Generated from Egeria's `AttributedMetadataElement.java` and `OpenMetadataRootElement.java` -(open-metadata-framework, metadataelements; egeria commit ebafb08fdc, 2026-10-04): every +(open-metadata-framework, metadataelements; egeria commit 0dbf468774c7f3dc102dd677b720b670ed6a8e09; files last changed in fa9625f1d0, 2026-11-21): every `RelatedMetadataElementSummary` field, with the relationship type names its comment gives. An empty tuple means the comment names none. @@ -35,6 +35,8 @@ "apiRequest": ('APIOperations',), "apiResponse": ('APIOperations',), "archiveContents": ('ArchiveContents',), + "asOfDataField": ('AsOfDataField',), + "assessmentDecisions": ('Assessment',), "assetsUsingProfile": ('ITInfrastructureProfile',), "assignedActors": ('AssignmentScope',), "assignedDataValueSpecifications": ('DataValueAssignment',), @@ -42,11 +44,13 @@ "assignedToDataValueSpecifications": ('DataValueAssignment',), "assignmentScope": ('AssignmentScope',), "associatedAnnotations": ('AssociatedAnnotation',), + "associatedDecisions": ('Outcome',), "associatedGovernanceActions": ('TargetForGovernanceAction',), "associatedLogSubjects": ('AssociatedLog',), "associatedLogs": ('AssociatedLog',), "associatedSecurityLists": ('AssociatedSecurityGroup',), "associatedValues": ('ValidValueAssociation',), + "basisDataField": ('BasisDataField',), "broaderSubjectArea": ('SubjectAreaHierarchy',), "calledFromGovernanceEngines": ('SupportedGovernanceService',), "canonicalValidValues": ('ValidValuesImplementation',), @@ -86,8 +90,11 @@ "dataDescription": ('DataDescription',), "dataSetContent": ('DataSetContent',), "dataStructureDefinition": ('DataStructureDefinition',), + "dataValueSources": ('DataValueSource',), "dataValueSpecifications": ('DataValueDefinition',), + "dataValueUses": ('ProcessingVariable',), "databaseSchemaType": ('RelationalDBSchema',), + "decisionOutcomes": ('Outcome',), "definedInSecretsCollection": ('ResourcePermissions',), "delegationPorts": ('SolutionPortDelegation',), "dependedOnProcessSteps": ('NextGovernanceActionProcessStep',), @@ -99,6 +106,7 @@ "derivedFrom": ('ImplementedBy',), "derivedFromDataField": ('SchemaAttributeDefinition',), "derivedFromDataStructure": ('SchemaTypeDefinition',), + "derivedFromReportType": ('ReportTypeInstance',), "describedByDataValueSpecifications": ('DataValueDefinition',), "describes": ('MoreInformation',), "describesDataFor": ('DataDescription',), @@ -108,10 +116,11 @@ "digitalSubscriptions": ('DigitalSubscriber',), "edges": ('GraphEdgeLink',), "embeddedConnections": ('EmbeddedConnection',), + "embeddedDataValues": ('EmbeddedDataValue',), "endpoint": ('ConnectToEndpoint',), "equivalentElements": ('ExternalIdLink',), - "equivalentSchemaAttribute": ('SchemaAttributeDefinition',), - "equivalentSchemaType": ('SchemaTypeDefinition',), + "equivalentSchemaAttributes": ('SchemaAttributeDefinition',), + "equivalentSchemaTypes": ('SchemaTypeDefinition',), "exceptions": ('Exception',), "excludedFromRequirements": ('Exception',), "externalReferences": ('ExternalReferenceLink',), @@ -141,6 +150,7 @@ "includesSoftwarePackages": ('OperatingPlatformManifest',), "informalTags": ('AttachedTag',), "inheritsFromZone": ('ZoneHierarchy',), + "inputsToDecision": ('Assessment',), "installedOn": ('OperatingPlatformUse',), "interactingWithActors": ('SolutionComponentActor',), "interactingWithSolutionComponents": ('SolutionComponentActor',), @@ -194,6 +204,7 @@ "packagedInOperatingPlatforms": ('OperatingPlatformManifest',), "parentConnections": ('EmbeddedConnection',), "parentDataFields": ('NestedDataField',), + "parentDataValues": ('EmbeddedDataValue',), "parentFolder": ('FolderHierarchy',), "parentProcesses": ('ProcessHierarchy',), "parentSchemaElements": ('APIHeader', 'APIOperations', 'APIRequest', 'APIResponse', 'AttributeForSchema', 'NestedSchemaAttribute', 'SchemaTypeOption'), @@ -212,8 +223,15 @@ "presentInNoteLogs": ('AttachedNoteLogEntry',), "previousAnnotations": ('AnnotationExtension',), "priorReports": ('ReportDependency',), + "processVariableTypeUses": ('SupportedVariableType',), + "processVariableTypes": ('SupportedVariableType',), + "processingVariables": ('ProcessingVariable',), "profilesForAsset": ('ITInfrastructureProfile',), + "projectTargets": ('ProjectTarget',), "propertyFacets": ('ReferenceableFacet',), + "providesAsOfTimeForMeasurements": ('AsOfDataField',), + "providesBasisForMeasurements": ('BasisDataField',), + "providesDataValues": ('DataValueSource',), "providesMoreInformation": ('MoreInformation',), "providesStorageFor": ('AttachedStorage',), "queries": ('DerivedSchemaTypeQueryTarget',), @@ -227,6 +245,7 @@ "relevantToScopes": ('ScopedBy',), "reportOriginator": ('ReportOrigin',), "reportSubjects": ('ReportSubject',), + "reportTypeInstances": ('ReportTypeInstance',), "reportedAnnotations": ('ReportedAnnotation',), "reports": ('ReportSubject',), "requestForActionTargets": ('RequestForActionTarget',), @@ -286,12 +305,14 @@ "usedInCertifications": ('DataStructureDefinition',), "usedInContexts": ('UsedInContext',), "usedInImplementationOf": ('ImplementationResource',), + "usedInReports": ('ReportRunOf',), "usedInSolutionComponents": ('SolutionComposition',), "userAccounts": ('UserAccount',), "userIdentities": ('ProfileIdentity',), "userProfile": ('ProfileIdentity',), "usesDigitalProducts": ('DigitalProductDependency',), "usesDigitalServices": ('DigitalSupport',), + "usesResultsSets": ('ReportRunOf',), "validValueConsumers": ('ValidValueAssignment',), "validValueImplementations": ('ValidValuesImplementation',), "validValueMembers": ('ValidValueMember',), @@ -300,4 +321,5 @@ "visibleEndpoints": ('VisibleEndpoint',), "visibleInNetworks": ('VisibleEndpoint',), "wiredTo": ('SolutionLinkingWire',), + "workedOnByProjects": ('ProjectTarget',), } diff --git a/scripts/gen_egeria_relationship_fields.py b/scripts/gen_egeria_relationship_fields.py index 12824895f..77190ffe6 100644 --- a/scripts/gen_egeria_relationship_fields.py +++ b/scripts/gen_egeria_relationship_fields.py @@ -8,7 +8,10 @@ metadataelements) with the relationship type names its trailing comment gives. Run it when Egeria adds relationships, and say the egeria commit in the commit message. - uv run -p 3.13 python scripts/gen_egeria_relationship_fields.py ~/localGit/egeria-v6/egeria + uv run -p 3.13 python scripts/gen_egeria_relationship_fields.py ~/localGit/egeria-v6/egeria [--ref ] + +With --ref the two files are read from that git ref (`git show`), so the checkout is never modified and a +PR head can be generated from before it merges; the output then names the ref. """ import re import subprocess @@ -20,9 +23,15 @@ OUT = Path(__file__).resolve().parent.parent / "pyegeria" / "view" / "egeria_relationship_fields.py" -def fields(egeria: Path) -> dict: - src = "".join((egeria / REL / f).read_text() for f in ("AttributedMetadataElement.java", - "OpenMetadataRootElement.java")) +FILES = ("AttributedMetadataElement.java", "OpenMetadataRootElement.java") + + +def fields(egeria: Path, ref: str | None = None) -> dict: + if ref: + src = "".join(subprocess.run(["git", "-C", str(egeria), "show", f"{ref}:{REL}/{f}"], capture_output=True, + text=True, check=True).stdout for f in FILES) + else: + src = "".join((egeria / REL / f).read_text() for f in FILES) out = {} for m in re.finditer(r"private\s+(?:List<)?RelatedMetadata(?:Element|Hierarchy)Summary>?\s+(\w+)\s*=\s*null;" r"\s*(?://|/\*)\s*([^\n]*)", src): @@ -31,12 +40,14 @@ def fields(egeria: Path) -> dict: return out -def main(egeria_dir: str) -> None: +def main(egeria_dir: str, ref: str | None = None) -> None: egeria = Path(egeria_dir).expanduser() - found = fields(egeria) - commit = subprocess.run(["git", "-C", str(egeria), "log", "-1", "--format=%h, %cs", "--", - f"{REL}/AttributedMetadataElement.java", f"{REL}/OpenMetadataRootElement.java"], + found = fields(egeria, ref) + commit = subprocess.run(["git", "-C", str(egeria), "log", "-1", "--format=%h, %cs", *([ref] if ref else []), + "--", f"{REL}/AttributedMetadataElement.java", f"{REL}/OpenMetadataRootElement.java"], capture_output=True, text=True).stdout.strip() + if ref: + commit = f"{ref}; files last changed in {commit}" lines = ['# SPDX-License-Identifier: Apache-2.0', '# Copyright Contributors to the ODPi Egeria project.', '"""The relationship lists an Egeria 6 element can carry, and the relationship type(s) each one reads.', '', "Generated from Egeria's `AttributedMetadataElement.java` and `OpenMetadataRootElement.java`", @@ -56,4 +67,10 @@ def main(egeria_dir: str) -> None: if __name__ == "__main__": - main(sys.argv[1] if len(sys.argv) > 1 else "~/localGit/egeria-v6/egeria") + args = sys.argv[1:] + ref = None + if "--ref" in args: + i = args.index("--ref") + ref = args[i + 1] + del args[i:i + 2] + main(args[0] if args else "~/localGit/egeria-v6/egeria", ref) diff --git a/tests/fixtures/egeria-6.4/Egeria-api-data-engineer.http b/tests/fixtures/egeria-6.4/Egeria-api-data-engineer.http new file mode 100644 index 000000000..f3a542b4a --- /dev/null +++ b/tests/fixtures/egeria-6.4/Egeria-api-data-engineer.http @@ -0,0 +1,372 @@ +# Egeria-data-engineer-api + +@baseURL=https://localhost:7443 +@viewServer=view-server + +### +# ===================================================================================================================== +# Manage the authentication token. Run this request to create/refresh the token. + +# @name Token (RequestBody) +POST {{baseURL}}/api/token +Content-Type: application/json + +{ + "userId" : "peterprofile", + "password" : "secret" +} + +> {% client.global.set("token", response.body); %} + + +### + +@tabularDataSetGUID=add guid here + +### +# @name getTabularDataSetReport +# Returns details of a tabular data set including the data rows that match the startFromRow and maxRowCount values. +# If maxRowCount=0 then no data records are returned. +# +# @param serverName name of called server +# @param tabularDataSetGUID unique identifier of tabular dat set asset +# @param startFromRow cursor position in the data set +# @param maxRowCount maximum number of rows to return. 0 means no rows. +# +# @return a list of projects +# InvalidParameterException one of the parameters is null or invalid. +# PropertyServerException a problem retrieving information from the property server(s). +# UserNotAuthorizedException the requesting user is not authorized to issue this request. +# +GET {{baseURL}}/servers/{{viewServer}}/api/open-metadata/data-engineer/tabular-data-sets/{{tabularDataSetGUID}}/report?startFromRow=0&maxRowCount=5000 +Authorization: Bearer {{token}} + +### +# ===================================================================================================================== +# Data values +# https://egeria-project.org/types/2/0208-Data-Values/ + +@dataValueGUID=add guid here +@assetGUID=add guid here +@elementGUID=add guid here +@parentDataValueGUID=add guid here +@embeddedDataValueGUID=add guid here + +### +# @name createDataValue +# Create a data value. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/data-engineer/data-values +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewElementRequestBody", + "anchorGUID" : "add guid here", + "isOwnAnchor": false, + "parentGUID": "add guid here", + "parentRelationshipTypeName": "add type name here", + "parentRelationshipProperties": { + "class": "RelationshipElementProperties", + "propertyValueMap" : { + "description" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveValue" : "New description" + } + } + }, + "parentAtEnd1": false, + "properties": { + "class" : "DataValueProperties", + "qualifiedName": "add unique name here", + "identifier" : "add identifier here", + "displayName": "add short name here", + "description": "add description here", + "dataFormat": "add data format here", + "length": 0, + "dataType": "add data type here", + "usage": "add usage here", + "fingerprint": "add fingerprint here", + "fingerprintAlgorithm": "add algorithm name here", + "hash": 0, + "hashAlgorithm": "add algorithm name here", + "additionalProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name createDataValueFromTemplate +# Create a new metadata element to represent a data value using an existing metadata element as a template. The template defines additional classifications and relationships that should be added to the new element. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/data-engineer/data-values/from-template +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "TemplateRequestBody", + "anchorGUID" : "add guid here", + "isOwnAnchor": false, + "parentGUID": "add guid here", + "parentRelationshipTypeName": "add type name here", + "parentRelationshipProperties": { + "class": "RelationshipElementProperties", + "propertyValueMap" : { + "description" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveValue" : "New description" + } + } + }, + "parentAtEnd1": false, + "templateGUID": "add guid here", + "replacementProperties": { + "class": "EntityElementProperties", + "propertyValueMap" : { + "description" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveValue" : "New description" + } + } + }, + "placeholderPropertyValues": { + "placeholder1" : "propertyValue1", + "placeholder2" : "propertyValue2" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name updateDataValue +# Update the properties of a data value. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/data-engineer/data-values/{{dataValueGUID}}/update +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "UpdateElementRequestBody", + "mergeUpdate": true, + "properties": { + "class" : "DataValueProperties", + "qualifiedName": "add unique name here", + "identifier" : "add identifier here", + "displayName": "add short name here", + "description": "add description here", + "dataFormat": "add data format here", + "length": 0, + "dataType": "add data type here", + "usage": "add usage here", + "fingerprint": "add fingerprint here", + "fingerprintAlgorithm": "add algorithm name here", + "hash": 0, + "hashAlgorithm": "add algorithm name here", + "additionalProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name deleteDataValue +# Delete a data value. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/data-engineer/data-values/{{dataValueGUID}}/delete +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteElementRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name getDataValuesByName +# Returns the list of data values with a particular name. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/data-engineer/data-values/by-name +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "FilterRequestBody", + "filter" : "Add name here", + "startFrom": 0, + "pageSize": 10 +} + +### +# @name getDataValueByGUID +# Return the properties of a specific data value. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/data-engineer/data-values/{{dataValueGUID}}/retrieve +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "GetRequestBody", + "asOfTime" : "{{$isoTimestamp}}", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name findDataValues +# Retrieve the list of data value metadata elements that contain the search string. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/data-engineer/data-values/by-search-string +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "SearchStringRequestBody", + "searchString" : "Add value here", + "startsWith" : false, + "endsWith" : false, + "ignoreCase" : true, + "startFrom" : 0, + "pageSize": 10 +} + +### +# @name linkDataValueSource +# Attach a data value to the asset that describes the digital resource where the data is stored. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/data-engineer/data-values/{{dataValueGUID}}/data-value-sources/{{assetGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class" : "DataValueSourceProperties", + "label": "add label here", + "description": "add description here", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachDataValueSource +# Detach a data value from the asset that describes the digital resource where the data is stored. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/data-engineer/data-values/{{dataValueGUID}}/data-value-sources/{{assetGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name linkProcessingVariable +# Attach an element (such as a process) to a data value that is used to configure its processing. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/data-engineer/elements/{{elementGUID}}/processing-variables/{{dataValueGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class" : "ProcessingVariableProperties", + "label": "add label here", + "description": "add description here", + "position": 0, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachProcessingVariable +# Detach an element (such as a process) from a data value that is used to configure its processing. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/data-engineer/elements/{{elementGUID}}/processing-variables/{{dataValueGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name linkEmbeddedDataValue +# Embed a data value in another data value. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/data-engineer/data-values/{{parentDataValueGUID}}/embedded-data-values/{{embeddedDataValueGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class" : "EmbeddedDataValueProperties", + "label": "add label here", + "description": "add description here", + "position": 0, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachEmbeddedDataValue +# Remove an embedded data value from its parent data value. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/data-engineer/data-values/{{parentDataValueGUID}}/embedded-data-values/{{embeddedDataValueGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### diff --git a/tests/fixtures/egeria-6.4/Egeria-api-devops-pipeline.http b/tests/fixtures/egeria-6.4/Egeria-api-devops-pipeline.http new file mode 100644 index 000000000..5fa5e047d --- /dev/null +++ b/tests/fixtures/egeria-6.4/Egeria-api-devops-pipeline.http @@ -0,0 +1,1488 @@ +# Egeria-devops-pipeline-api + +@baseURL=https://localhost:7443 +@viewServer=view-server + +### +# ===================================================================================================================== +# Manage the authentication token. Run this request to create/refresh the token. + +# @name Token (RequestBody) +POST {{baseURL}}/api/token +Content-Type: application/json + +{ + "userId" : "peterprofile", + "password" : "secret" +} + +> {% client.global.set("token", response.body); %} + +### +# ===================================================================================================================== +# Work with Storage Volumes +# https://egeria-project.org/concepts/storage-volume + +@storageVolumeGUID=add guid here +@itInfrastructureGUID=add guid here +@dataStoreGUID=add guid here + +### +# @name createStorageVolume +# Create a storage volume. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/storage-volumes +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewElementRequestBody", + "properties": { + "class": "StorageVolumeProperties", + "qualifiedName": "StorageVolume::add unique name here", + "displayName": "add short name here", + "description": "add description here", + "storageCapacity": 0, + "units": "add units here", + "relativeUncertainty": 0, + "absoluteUncertainty": 0, + "additionalProperties": { + "property1": "propertyValue1", + "property2": "propertyValue2" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name createStorageVolumeFromTemplate +# Create a new metadata element to represent a storage volume using an existing metadata element as a template. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/storage-volumes/from-template +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "TemplateRequestBody", + "templateGUID": "add guid here", + "placeholderPropertyValues": { + "placeholder1": "propertyValue1", + "placeholder2": "propertyValue2" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name updateStorageVolume +# Update the properties of a storage volume. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/storage-volumes/{{storageVolumeGUID}}/update +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "UpdateElementRequestBody", + "mergeUpdate": true, + "properties": { + "class": "StorageVolumeProperties", + "displayName": "add short name here", + "description": "add description here", + "storageCapacity": 0, + "units": "add units here" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name deleteStorageVolume +# Delete a storage volume. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/storage-volumes/{{storageVolumeGUID}}/delete +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteElementRequestBody", + "cascadedDelete" : false, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name getStorageVolumesByName +# Returns the list of storage volumes with a particular name. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/storage-volumes/by-name +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "FilterRequestBody", + "filter" : "Add name here", + "startFrom" : 0, + "pageSize": 10, + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "limitResultsByStatus" : ["ACTIVE"], + "sequencingOrder" : "PROPERTY_ASCENDING", + "sequencingProperty" : "qualifiedName" +} + +### +# @name findStorageVolumes +# Retrieve the list of storage volume metadata elements that contain the search string. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/storage-volumes/by-search-string +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "SearchStringRequestBody", + "searchString" : "Add value here", + "startsWith" : false, + "endsWith" : false, + "ignoreCase" : true, + "startFrom" : 0, + "pageSize": 10, + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "limitResultsByStatus" : ["ACTIVE"], + "sequencingOrder" : "PROPERTY_ASCENDING", + "sequencingProperty" : "qualifiedName" +} + +### +# @name getStorageVolumeByGUID +# Return the properties of a specific storage volume. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/storage-volumes/{{storageVolumeGUID}}/retrieve +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "GetRequestBody", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name linkAttachedStorage +# Attach a storage volume to the IT infrastructure that it provides storage for. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/it-infrastructure/{{itInfrastructureGUID}}/attached-storage/{{storageVolumeGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "AttachedStorageProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachAttachedStorage +# Detach a storage volume from the IT infrastructure that it provided storage for. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/it-infrastructure/{{itInfrastructureGUID}}/attached-storage/{{storageVolumeGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name linkStoredOn +# Attach a data store to the storage volume that its data is stored on. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/data-stores/{{dataStoreGUID}}/stored-on/{{storageVolumeGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "StoredOnProperties", + "label": "add label", + "description": "add description", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachStoredOn +# Detach a data store from the storage volume that its data was stored on. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/data-stores/{{dataStoreGUID}}/stored-on/{{storageVolumeGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# ===================================================================================================================== +# Work with Networks and Network Gateways +# https://egeria-project.org/concepts/network + +@networkGUID=add guid here +@networkGatewayGUID=add guid here +@networkGatewayLinkGUID=add guid here +@endpointGUID=add guid here + +### +# @name createNetwork +# Create a network. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/networks +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewElementRequestBody", + "properties": { + "class": "NetworkProperties", + "qualifiedName": "Network::add unique name here", + "displayName": "add short name here", + "description": "add description here", + "deployedImplementationType": "add technology type here", + "identifier": "add identifier here", + "versionIdentifier": "add version here", + "additionalProperties": { + "property1": "propertyValue1" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name createNetworkFromTemplate +# Create a network from a template. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/networks/from-template +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "TemplateRequestBody", + "templateGUID": "add guid here", + "placeholderPropertyValues": { + "placeholder1": "propertyValue1" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name updateNetwork +# Update the properties of a network. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/networks/{{networkGUID}}/update +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "UpdateElementRequestBody", + "mergeUpdate": true, + "properties": { + "class": "NetworkProperties", + "qualifiedName": "Network::add unique name here", + "displayName": "add short name here", + "description": "add description here", + "deployedImplementationType": "add technology type here", + "identifier": "add identifier here", + "versionIdentifier": "add version here", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name deleteNetwork +# Delete a network. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/networks/{{networkGUID}}/delete +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteElementRequestBody", + "cascadedDelete" : false, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name getNetworksByName +# Returns the list of networks with a particular name. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/networks/by-name +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "FilterRequestBody", + "filter" : "Add name here", + "startFrom" : 0, + "pageSize": 10, + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "limitResultsByStatus" : ["ACTIVE"], + "sequencingOrder" : "PROPERTY_ASCENDING", + "sequencingProperty" : "qualifiedName" +} + +### +# @name findNetworks +# Retrieve the list of network metadata elements that contain the search string. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/networks/by-search-string +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "SearchStringRequestBody", + "searchString" : "Add value here", + "startsWith" : false, + "endsWith" : false, + "ignoreCase" : true, + "startFrom" : 0, + "pageSize": 10, + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "limitResultsByStatus" : ["ACTIVE"], + "sequencingOrder" : "PROPERTY_ASCENDING", + "sequencingProperty" : "qualifiedName" +} + +### +# @name getNetworkByGUID +# Return the properties of a specific network. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/networks/{{networkGUID}}/retrieve +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "GetRequestBody", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name createNetworkGateway +# Create a network gateway. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/network-gateways +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewElementRequestBody", + "properties": { + "class": "NetworkGatewayProperties", + "qualifiedName": "NetworkGateway::add unique name here", + "displayName": "add short name here", + "description": "add description here", + "deployedImplementationType": "add technology type here", + "version": "add version here", + "patchLevel": "add patch level here", + "source": "add source here", + "additionalProperties": { + "property1": "propertyValue1" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name createNetworkGatewayFromTemplate +# Create a network gateway from a template. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/network-gateways/from-template +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "TemplateRequestBody", + "templateGUID": "add guid here", + "placeholderPropertyValues": { + "placeholder1": "propertyValue1" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name updateNetworkGateway +# Update the properties of a network gateway. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/network-gateways/{{networkGatewayGUID}}/update +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "UpdateElementRequestBody", + "mergeUpdate": true, + "properties": { + "class": "NetworkGatewayProperties", + "qualifiedName": "NetworkGateway::add unique name here", + "displayName": "add short name here", + "description": "add description here", + "deployedImplementationType": "add technology type here", + "version": "add version here", + "patchLevel": "add patch level here", + "source": "add source here", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name deleteNetworkGateway +# Delete a network gateway. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/network-gateways/{{networkGatewayGUID}}/delete +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteElementRequestBody", + "cascadedDelete" : false, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name getNetworkGatewaysByName +# Returns the list of network gateways with a particular name. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/network-gateways/by-name +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "FilterRequestBody", + "filter" : "Add name here", + "startFrom" : 0, + "pageSize": 10, + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "limitResultsByStatus" : ["ACTIVE"], + "sequencingOrder" : "PROPERTY_ASCENDING", + "sequencingProperty" : "qualifiedName" +} + +### +# @name findNetworkGateways +# Retrieve the list of network gateway metadata elements that contain the search string. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/network-gateways/by-search-string +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "SearchStringRequestBody", + "searchString" : "Add value here", + "startsWith" : false, + "endsWith" : false, + "ignoreCase" : true, + "startFrom" : 0, + "pageSize": 10, + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "limitResultsByStatus" : ["ACTIVE"], + "sequencingOrder" : "PROPERTY_ASCENDING", + "sequencingProperty" : "qualifiedName" +} + +### +# @name getNetworkGatewayByGUID +# Return the properties of a specific network gateway. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/network-gateways/{{networkGatewayGUID}}/retrieve +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "GetRequestBody", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# --------------------------------------------------------------------------------------------------------------------- +# VisibleEndpoint is a uni-link relationship - attach and detach are addressed by the two end GUIDs. + +### +# @name linkVisibleEndpoint +# Attach an endpoint to the network that it is visible in. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/endpoints/{{endpointGUID}}/visible-endpoints/{{networkGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "VisibleEndpointProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachVisibleEndpoint +# Detach an endpoint from the network that it was visible in. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/endpoints/{{endpointGUID}}/visible-endpoints/{{networkGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# --------------------------------------------------------------------------------------------------------------------- +# NetworkGatewayLink is a multi-link relationship - the attach always creates a new relationship and returns its GUID. +# The update and detach operations are addressed by that relationship GUID, not by the two end GUIDs. + +### +# @name linkNetworkGateway +# Attach a network gateway to a network that it connects to. Returns the new relationship GUID. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/network-gateways/{{networkGatewayGUID}}/network-gateway-links/{{networkGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "NetworkGatewayLinkProperties", + "displayName": "add display name here", + "description": "add description here", + "externalEndpointAddresses": [ "add external address here" ], + "internalEndpointAddresses": [ "add internal address here" ], + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name updateNetworkGatewayLink +# Update the properties of a network gateway link. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/network-gateway-links/{{networkGatewayLinkGUID}}/update +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "UpdateRelationshipRequestBody", + "mergeUpdate": true, + "properties": { + "class": "NetworkGatewayLinkProperties", + "displayName": "add display name here", + "description": "add description here", + "externalEndpointAddresses": [ "add external address here" ], + "internalEndpointAddresses": [ "add internal address here" ] + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachNetworkGateway +# Detach a network gateway from a network that it connected to. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/network-gateway-links/{{networkGatewayLinkGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# ===================================================================================================================== +# Work with Host Clusters +# https://egeria-project.org/concepts/host + +@hostClusterGUID=add guid here +@hostGUID=add guid here + +### +# @name linkHostClusterMember +# Attach a host to the host cluster that manages it. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/host-clusters/{{hostClusterGUID}}/host-cluster-members/{{hostGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "HostClusterMemberProperties", + "memberRole": "add role of this host within the cluster", + "additionalProperties": { + "property1": "propertyValue1" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachHostClusterMember +# Detach a host from the host cluster that managed it. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/host-clusters/{{hostClusterGUID}}/host-cluster-members/{{hostGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# ===================================================================================================================== +# Work with Operating Platforms and Software Packages +# https://egeria-project.org/concepts/operating-platform + +@operatingPlatformGUID=add guid here +@collectionGUID=add guid here + +### +# @name createOperatingPlatform +# Create an operating platform. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/operating-platforms +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewElementRequestBody", + "properties": { + "class": "OperatingPlatformProperties", + "qualifiedName": "OperatingPlatform::add unique name here", + "displayName": "add short name here", + "description": "add description here", + "operatingSystem": "add operating system name here", + "operatingSystemPatchLevel": "add patch level here", + "byteOrdering": "BIG_ENDIAN", + "additionalProperties": { + "property1": "propertyValue1" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name createOperatingPlatformFromTemplate +# Create an operating platform from a template. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/operating-platforms/from-template +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "TemplateRequestBody", + "templateGUID": "add guid here", + "placeholderPropertyValues": { + "placeholder1": "propertyValue1" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name updateOperatingPlatform +# Update the properties of an operating platform. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/operating-platforms/{{operatingPlatformGUID}}/update +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "UpdateElementRequestBody", + "mergeUpdate": true, + "properties": { + "class": "OperatingPlatformProperties", + "qualifiedName": "OperatingPlatform::add unique name here", + "displayName": "add short name here", + "description": "add description here", + "operatingSystem": "add operating system name here", + "operatingSystemPatchLevel": "add patch level here", + "byteOrdering": "BIG_ENDIAN", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name deleteOperatingPlatform +# Delete an operating platform. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/operating-platforms/{{operatingPlatformGUID}}/delete +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteElementRequestBody", + "cascadedDelete" : false, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name getOperatingPlatformsByName +# Returns the list of operating platforms with a particular name. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/operating-platforms/by-name +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "FilterRequestBody", + "filter" : "Add name here", + "startFrom" : 0, + "pageSize": 10, + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "limitResultsByStatus" : ["ACTIVE"], + "sequencingOrder" : "PROPERTY_ASCENDING", + "sequencingProperty" : "qualifiedName" +} + +### +# @name findOperatingPlatforms +# Retrieve the list of operating platform metadata elements that contain the search string. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/operating-platforms/by-search-string +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "SearchStringRequestBody", + "searchString" : "Add value here", + "startsWith" : false, + "endsWith" : false, + "ignoreCase" : true, + "startFrom" : 0, + "pageSize": 10, + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "limitResultsByStatus" : ["ACTIVE"], + "sequencingOrder" : "PROPERTY_ASCENDING", + "sequencingProperty" : "qualifiedName" +} + +### +# @name getOperatingPlatformByGUID +# Return the properties of a specific operating platform. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/operating-platforms/{{operatingPlatformGUID}}/retrieve +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "GetRequestBody", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name linkOperatingPlatformUse +# Attach an operating platform to the IT infrastructure that it is installed on. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/operating-platforms/{{operatingPlatformGUID}}/operating-platform-use/{{itInfrastructureGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "OperatingPlatformUseProperties", + "installTime": "{{$isoTimestamp}}", + "deployer": "add deployer identifier here", + "deployerTypeName": "add deployer type name here", + "deployerPropertyName": "add deployer property name here", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachOperatingPlatformUse +# Detach an operating platform from the IT infrastructure that it was installed on. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/operating-platforms/{{operatingPlatformGUID}}/operating-platform-use/{{itInfrastructureGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name linkOperatingPlatformManifest +# Attach an operating platform to the collection of software packages that it is packaged with. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/operating-platforms/{{operatingPlatformGUID}}/operating-platform-manifests/{{collectionGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "OperatingPlatformManifestProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachOperatingPlatformManifest +# Detach an operating platform from a collection of software packages that it was packaged with. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/operating-platforms/{{operatingPlatformGUID}}/operating-platform-manifests/{{collectionGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name linkSoftwarePackageDependency +# Attach an asset to the collection of software packages that it depends on when it is running. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/assets/{{assetGUID}}/software-package-dependencies/{{collectionGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "SoftwarePackageDependencyProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachSoftwarePackageDependency +# Detach an asset from a collection of software packages that it no longer depends on. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/assets/{{assetGUID}}/software-package-dependencies/{{collectionGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# --------------------------------------------------------------------------------------------------------------------- +# SoftwarePackageManifest is a classification (valid on Referenceable), not a relationship. + +### +# @name setSoftwarePackageManifest +# Classify an element to indicate that it describes a list of software packages. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/elements/{{elementGUID}}/software-package-manifest +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "SoftwarePackageManifestProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearSoftwarePackageManifest +# Remove the software package manifest designation from the element. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/elements/{{elementGUID}}/software-package-manifest/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# ===================================================================================================================== +# Cloud platform classification +# https://egeria-project.org/concepts/cloud-platform + +@softwareServerPlatformGUID=add guid here + +### +# @name setAsCloudPlatform +# Classify a software server platform to say that it is a cloud platform. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/software-server-platforms/{{softwareServerPlatformGUID}}/cloud-platform +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "CloudPlatformProperties", + "deployedImplementationType": "add technology type here", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearAsCloudPlatform +# Remove the cloud platform designation from a software server platform. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/software-server-platforms/{{softwareServerPlatformGUID}}/cloud-platform/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# ===================================================================================================================== +# Cloud provider classification +# https://egeria-project.org/concepts/cloud-platform + + +### +# @name setHostAsCloudProvider +# Classify a host to say that it is a cloud provider. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/hosts/{{hostGUID}}/cloud-provider +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "CloudProviderProperties", + "providerName": "add provider name here", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearHostAsCloudProvider +# Remove the cloud provider designation from a host. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/hosts/{{hostGUID}}/cloud-provider/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# ===================================================================================================================== +# Cloud tenant classification +# https://egeria-project.org/concepts/cloud-platform + +@softwareServerGUID=add guid here + +### +# @name setServerAsCloudTenant +# Classify a software server to say that it is hosting a cloud tenant. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/software-servers/{{softwareServerGUID}}/cloud-tenant +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "CloudTenantProperties", + "tenantName": "add tenant name here", + "tenantType": "add tenant type here", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearServerAsCloudTenant +# Remove the cloud tenant designation from a software server. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/software-servers/{{softwareServerGUID}}/cloud-tenant/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# ===================================================================================================================== +# Cloud service classification +# https://egeria-project.org/concepts/cloud-platform + +@softwareCapabilityGUID=add guid here + +### +# @name setCapabilityAsCloudService +# Classify a software capability to say that it is a cloud service. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/software-capabilities/{{softwareCapabilityGUID}}/cloud-service +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "CloudServiceProperties", + "offeringName": "add offering name here", + "serviceType": "add service type here", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearCapabilityAsCloudService +# Remove the cloud service designation from a software capability. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/software-capabilities/{{softwareCapabilityGUID}}/cloud-service/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +@techniqueUserGUID=add guid here + +### +@reusableTechniqueGUID=add guid here + +### +# @name linkReusableTechniqueUse +# Attach an element to the reusable technique that it makes use of. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/elements/{{techniqueUserGUID}}/reusable-technique-use/{{reusableTechniqueGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "ReusableTechniqueUseProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachReusableTechniqueUse +# Detach an element from a reusable technique that it no longer makes use of. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/elements/{{techniqueUserGUID}}/reusable-technique-use/{{reusableTechniqueGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +@dependentComponentGUID=add guid here + +### +@dependedOnComponentGUID=add guid here + +### +# @name linkDependentSoftwareComponent +# Attach a runnable software component to a component that it needs in order to execute. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/runnable-software-components/{{dependentComponentGUID}}/dependent-software-component/{{dependedOnComponentGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "DependentSoftwareComponentProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachDependentSoftwareComponent +# Detach a runnable software component from a component that it no longer needs in order to execute. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/runnable-software-components/{{dependentComponentGUID}}/dependent-software-component/{{dependedOnComponentGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +@assetGUID=add guid here + +### +@softwareComponentGUID=add guid here + +### +# @name linkSoftwareSource +# Attach a software asset to the software component that it is built from. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/assets/{{assetGUID}}/software-source/{{softwareComponentGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "SoftwareSourceProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachSoftwareSource +# Detach a software asset from the software component that it was built from. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/assets/{{assetGUID}}/software-source/{{softwareComponentGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +@elementGUID=add guid here + +### +# @name setElementAsGeneratedTarget +# Classify an element to say that it is the generated output of a build program or script. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/elements/{{elementGUID}}/generated-target +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "GeneratedTargetProperties", + "purpose": "add purpose here", + "buildId": "add build identifier here", + "buildTool": "add build tool name here", + "buildToolVersion": "add build tool version here", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearElementAsGeneratedTarget +# Remove the generated target designation from an element. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/elements/{{elementGUID}}/generated-target/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "MetadataSourceRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name setElementAsReusableTechnique +# Classify an element to say that it is a technique that can be reused in multiple contexts. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/elements/{{elementGUID}}/reusable-technique +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "ReusableTechniqueProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearElementAsReusableTechnique +# Remove the reusable technique designation from an element. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/elements/{{elementGUID}}/reusable-technique/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "MetadataSourceRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# ===================================================================================================================== +# Source code branches +# https://egeria-project.org/types/2/0280-Software-Development-Assets/ + +@elementGUID=add guid here + +### +# @name setElementAsBranch +# Classify an element to say that it holds the files for a specific branch of a source code repository. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/elements/{{elementGUID}}/branch +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class" : "BranchProperties", + "displayName": "add branch name here", + "scope": "add scope here", + "purpose": "add purpose here", + "url": "add url here", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearElementAsBranch +# Remove the branch designation from an element. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/devops-pipeline/elements/{{elementGUID}}/branch/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "MetadataSourceRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### diff --git a/tests/fixtures/egeria-6.4/Egeria-api-governance-officer.http b/tests/fixtures/egeria-6.4/Egeria-api-governance-officer.http new file mode 100644 index 000000000..b610565d2 --- /dev/null +++ b/tests/fixtures/egeria-6.4/Egeria-api-governance-officer.http @@ -0,0 +1,2423 @@ +# Egeria-governance-officer-api + +@baseURL=https://localhost:7443 +@viewServer=view-server + +### +# ===================================================================================================================== +# Manage the authentication token. Run this request to create/refresh the token. + +# @name Token (RequestBody) +POST {{baseURL}}/api/token +Content-Type: application/json + +{ + "userId" : "peterprofile", + "password" : "secret" +} + +> {% client.global.set("token", response.body); %} + +### +# ===================================================================================================================== +# @name getValidMetadataValues - domainIdentifier values +# Retrieve all the valid values for the domainIdentifier property. +# +GET {{baseURL}}/servers/{{viewServer}}/api/open-metadata/valid-metadata/get-valid-metadata-values/domainIdentifier +Authorization: Bearer {{token}} +Content-Type: application/json + + +### +# ===================================================================================================================== +# Work with Governance Definitions +# https://egeria-project.org/concepts/governance-definition + +@governanceDefinitionGUID=add guid here + +### +# @name createGovernanceDefinition (with parent) +# Create an anchored governance definition linked to a parent. It may be of class: +## * BusinessImperativeProperties +## * RegulationArticleProperties +## * ThreatProperties +## * GovernancePrincipleProperties +## * GovernanceObligationProperties +## * GovernanceApproachProperties +## * GovernanceProcessingPurposeProperties +# The class replaces "GovernanceDefinitionProperties" in the "class" property under "properties" +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewElementRequestBody", + "anchorGUID" : "add guid here", + "isOwnAnchor": false, + "parentGUID": "add guid here", + "parentRelationshipTypeName": "add type name here", + "parentRelationshipProperties": { + "class": "RelationshipElementProperties", + "propertyValueMap" : { + "description" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveValue" : "New description" + } + } + }, + "parentAtEnd1": false, + "properties": { + "class" : "GovernanceDefinitionProperties", + "contentStatus" : "DRAFT", + "domainIdentifier": 0, + "qualifiedName": "add unique name here", + "identifier" : "Add value here", + "legal" : "Add copyright or license statement here", + "displayName": "add short name here", + "summary": "add summary here", + "description": "add description here", + "scope": "add scope of effect for this definition", + "importance": "add importance for this definition", + "implications": [], + "outcomes": [], + "results": [], + "additionalProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# @name createRegulation (with parent) +# Create an anchored governance definition linked to a parent of type Regulation +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewElementRequestBody", + "anchorGUID" : "add guid here", + "isOwnAnchor": false, + "parentGUID": "add guid here", + "parentRelationshipTypeName": "add type name here", + "parentRelationshipProperties": { + "class": "RelationshipElementProperties", + "propertyValueMap" : { + "description" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveValue" : "New description" + } + } + }, + "parentAtEnd1": false, + "properties": { + "class" : "RegulationProperties", + "domainIdentifier": 0, + "qualifiedName": "add unique name here", + "displayName": "add short name here", + "summary": "add summary here", + "description": "add description here", + "scope": "add scope of effect for this definition", + "importance": "add importance for this definition", + "jurisdiction" : "", + "implications": [], + "outcomes": [], + "results": [], + "additionalProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### + +@regulationGUID=add guid here +@regulatorGUID=add guid here + +### +# @name addRegulatorToRegulation +# Link a regulation governance definition to an organization using the Regulator relationship. +# +# @param serverName name of the server instance to connect to +# @param urlMarker view service URL marker +# @param regulationGUID unique identifier of the regulation +# @param regulatorGUID identifier of the organization to link +# @param requestBody properties for relationship request +# +# @return void or +# InvalidParameterException full path or userId is null or +# PropertyServerException problem accessing property server or +# UserNotAuthorizedException security access problem +# +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/regulations/{{regulationGUID}}/regulators/organizations/{{regulatorGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "RegulatorProperties", + "label": "", + "description": "", + "scope": "", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# @name removeRegulatorFromRegulation +# Remove the Regulator relationship between a regulation governance definition and an organization. +# +# @param serverName name of the server instance to connect to +# @param urlMarker view service URL marker +# @param regulationGUID unique identifier of the regulation +# @param regulatorGUID identifier of the organization to link +# @param requestBody properties for relationship request +# +# @return void or +# InvalidParameterException full path or userId is null or +# PropertyServerException problem accessing property server or +# UserNotAuthorizedException security access problem +# +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/regulations/{{regulationGUID}}/regulators/organizations/{{regulatorGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# @name createGovernanceControl (with parent) +# Create a governance control definition. It may be of class: +## * GovernanceRuleProperties +## * ServiceLevelObjectiveProperties +## * GovernanceProcessProperties +## * GoveranceResponsibilityProperties +## * GovernanceProcedureProperties +## * SecurityAccessControlProperties +# The class places "GovernanceControlProperties" in the "class" property. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewElementRequestBody", + "anchorGUID" : "add guid here", + "isOwnAnchor": false, + "parentGUID": "add guid here", + "parentRelationshipTypeName": "add type name here", + "parentRelationshipProperties": { + "class": "RelationshipElementProperties", + "propertyValueMap" : { + "description" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveValue" : "New description" + } + } + }, + "parentAtEnd1": false, + "properties": { + "class" : "GovernanceControlProperties", + "typeName" : "enter the type of the governance definition", + "domainIdentifier": 0, + "qualifiedName": "add unique name here", + "displayName": "add short name here", + "summary": "add summary here", + "description": "add description here", + "scope": "add scope of effect for this definition", + "importance": "add importance for this definition", + "implementationDescription" : "Describe how this control will be implemented", + "implications": [], + "outcomes": [], + "results": [], + "additionalProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# @name createDataLens (with parent) +# Create an anchored governance definition linked to a parent of type DataLens +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewElementRequestBody", + "anchorGUID" : "add guid here", + "isOwnAnchor": false, + "parentGUID": "add guid here", + "parentRelationshipTypeName": "add type name here", + "parentRelationshipProperties": { + "class": "RelationshipElementProperties", + "propertyValueMap" : { + "description" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveValue" : "New description" + } + } + }, + "parentAtEnd1": false, + "properties": { + "class" : "DataLensProperties", + "domainIdentifier": 0, + "qualifiedName": "add unique name here", + "displayName": "add short name here", + "summary": "add summary here", + "description": "add description here", + "scope": "add scope of effect for this definition", + "importance": "add importance for this definition", + "businessImperatives" : [], + "implications": [], + "outcomes": [], + "results": [], + "dataCollectionStartTime" : "{{$isoTimestamp}}", + "dataCollectionEndTime" : "{{$isoTimestamp}}", + "dataValidityStartTime" : "{{$isoTimestamp}}", + "dataValidityEndTime" : "{{$isoTimestamp}}", + "dataCoverageStartTime" : "{{$isoTimestamp}}", + "dataCoverageEndTime" : "{{$isoTimestamp}}", + "minLongitude" : 0, + "minLatitude" : 0, + "maxLongitude" : 0, + "maxLatitude" : 0, + "minHeight" : 0, + "maxHeight" : 0, + "scopeElements" : { + "add scope element name" : "add scope element GUID" + }, + "additionalProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# @name createSecurityAccessControl (with parent) +# Create an anchored governance definition linked to a parent +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewElementRequestBody", + "anchorGUID" : "add guid here", + "isOwnAnchor": false, + "parentGUID": "add guid here", + "parentRelationshipTypeName": "add type name here", + "parentRelationshipProperties": { + "class": "RelationshipElementProperties", + "propertyValueMap" : { + "description" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveValue" : "New description" + } + } + }, + "parentAtEnd1": false, + "properties": { + "class" : "SecurityAccessControlProperties", + "domainIdentifier": 0, + "distinguishedName" : "", + "qualifiedName": "add unique name here", + "displayName": "add short name here", + "summary": "add summary here", + "description": "add description here", + "scope": "add scope of effect for this definition", + "importance": "add importance for this definition", + "implementationDescription" : "Describe how this control will be implemented", + "implications": [], + "outcomes": [], + "results": [], + "additionalProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name createNamingStandardRule (with parent) +# Create an anchored governance definition linked to a parent of type NamingStandardRule +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewElementRequestBody", + "anchorGUID" : "add guid here", + "isOwnAnchor": false, + "parentGUID": "add guid here", + "parentRelationshipTypeName": "add type name here", + "parentRelationshipProperties": { + "class": "RelationshipElementProperties", + "propertyValueMap" : { + "description" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveValue" : "New description" + } + } + }, + "parentAtEnd1": false, + "properties": { + "class" : "NamingStandardRuleProperties", + "domainIdentifier": 0, + "qualifiedName": "add unique name here", + "displayName": "add short name here", + "summary": "add summary here", + "description": "add description here", + "scope": "add scope of effect for this definition", + "importance": "add importance for this definition", + "implications": [], + "implementationDescription" : "Describe how this control will be implemented", + "namePatterns" : [], + "outcomes": [], + "results": [], + "additionalProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name createCertificationType (with parent) +# Create an anchored governance definition of type CertificationType, linked to a parent. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewElementRequestBody", + "anchorGUID" : "add guid here", + "isOwnAnchor": false, + "parentGUID": "add guid here", + "parentRelationshipTypeName": "add type name here", + "parentRelationshipProperties": { + "class": "RelationshipElementProperties", + "propertyValueMap" : { + "description" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveValue" : "New description" + } + } + }, + "parentAtEnd1": false, + "properties": { + "class" : "CertificationTypeProperties", + "domainIdentifier": 0, + "qualifiedName": "add unique name here", + "displayName": "add short name here", + "summary": "add summary here", + "description": "add description here", + "scope": "add scope of effect for this definition", + "importance": "add importance for this definition", + "details" : "", + "implications": [], + "outcomes": [], + "results": [], + "additionalProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name createLicenseType (with parent) +# Create an anchored governance definition of type LicenseType, linked to a parent. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewElementRequestBody", + "anchorGUID" : "add guid here", + "isOwnAnchor": false, + "parentGUID": "add guid here", + "parentRelationshipTypeName": "add type name here", + "parentRelationshipProperties": { + "class": "RelationshipElementProperties", + "propertyValueMap" : { + "description" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveValue" : "New description" + } + } + }, + "parentAtEnd1": false, + "properties": { + "class" : "LicenseTypeProperties", + "domainIdentifier": 0, + "qualifiedName": "add unique name here", + "displayName": "add short name here", + "summary": "add summary here", + "description": "add description here", + "scope": "add scope of effect for this definition", + "usage": "add usage for this definition", + "importance": "add importance for this definition", + "details" : "", + "implications": [], + "outcomes": [], + "results": [], + "additionalProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# @name createGovernanceDefinitionFromTemplate +# Create a new metadata element to represent a governance definition using an existing metadata element as a template. The template defines additional classifications and relationships that should be added to the new element.", +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/from-template +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "TemplateRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "anchorGUID" : "add guid here", + "isOwnAnchor": false, + "parentGUID": "add guid here", + "parentRelationshipTypeName": "add type name here", + "parentRelationshipProperties": { + "class": "RelationshipElementProperties", + "propertyValueMap" : { + "description" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveValue" : "New description" + } + } + }, + "parentAtEnd1": false, + "templateGUID": "add guid here", + "replacementProperties": { + "class": "EntityElementProperties", + "propertyValueMap" : { + "description" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveValue" : "New description" + } + } + }, + "placeholderPropertyValues": { + "placeholder1" : "propertyValue1", + "placeholder2" : "propertyValue2" + } +} + + + +### +# @name updateGovernanceDefinition +# Update the properties of a governance definition. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/{{governanceDefinitionGUID}}/update +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "UpdateElementRequestBody", + "properties": { + "class" : "GovernanceDefinitionProperties", + "contentStatus" : "ACTIVE", + "qualifiedName": "add unique name here", + "displayName": "add short name here", + "description": "add description here", + "namespacePath": "add namespace for this structure", + "versionIdentifier": "add version for this structure", + "additionalProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "extendedProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "mergeUpdate": true, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# @name updateGovernanceDefinitionStatus +# Update the status of a governance definition. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/{{governanceDefinitionGUID}}/update +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "UpdateElementRequestBody", + "properties": { + "class" : "GovernanceDefinitionProperties", + "contentStatus": "ACTIVE" + }, + "mergeUpdate": true +} + +### + +@governanceDefinitionOneGUID=add guid here +@governanceDefinitionTwoGUID=add guid here +@relationshipTypeName=add type name here + +### +# @name linkPeerDefinitions +# Attach two peer governance definitions. Request body is optional. +# The relationshipTypeNme can be: +## * GovernanceDriverLink between governance drivers (BusinessImperitive, Regulation, RegulationArticle, Threat). +## * GovernancePolicyLink between governance policies (GovernancePrinciple, GovernanceObligation, GovernanceApproach). +## * GovernanceControlLink between governance controls (GovernanceRule, GovernanceProcess, GovernanceResponsibility, GovernanceProcedure, SecurityAccessControl, SecurityGroup). +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/{{governanceDefinitionOneGUID}}/peer-definitions/{{relationshipTypeName}}/{{governanceDefinitionTwoGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "PeerDefinitionProperties", + "description": "", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### + +# @name detachPeerDefinitions +# Detach a governance definition from one of its peers. Request body is optional. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/{{governanceDefinitionOneGUID}}/peer-definitions/{{relationshipTypeName}}/{{governanceDefinitionTwoGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# @name attachSupportingDefinition +# Attach a supporting governance definition. Request body is optional. +# The relationshipTypeNme can be: +## * GovernanceResponse between governance drivers (BusinessImperitive, Regulation, RegulationArticle, Threat) and governance policies (GovernancePrinciple, GovernanceObligation, GovernanceApproach). +## * GovernanceMechanism between governance policies (GovernancePrinciple, GovernanceObligation, GovernanceApproach) and governance controls (GovernanceRule, GovernanceProcess, GovernanceResponsibility, GovernanceProcedure, SecurityAccessControl, SecurityGroup). +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/{{governanceDefinitionOneGUID}}/supporting-definitions/{{relationshipTypeName}}/{{governanceDefinitionTwoGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "SupportingDefinitionProperties", + "rationale": "", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### + +# @name detachSupportingDefinition +# Detach a governance definition from a supporting governance definition. Request body is optional. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/{{governanceDefinitionOneGUID}}/supporting-definitions/{{relationshipTypeName}}/{{governanceDefinitionTwoGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# @name deleteGovernanceDefinition +# Delete a governance definition. Request body is optional. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/{{governanceDefinitionGUID}}/delete +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteElementRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# @name findAllGovernanceDefinitions +# Retrieve the list of governance definition metadata elements that contain the search string. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/by-search-string +Authorization: Bearer {{token}} +Content-Type: application/json + + +### +# @name findAllGovernanceDefinitions - with full request body +# Retrieve the list of governance definition metadata elements that contain the search string. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/by-search-string +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "SearchStringRequestBody", + "startsWith" : false, + "endsWith" : false, + "ignoreCase" : true, + "startFrom" : 0, + "pageSize": 0, + "asOfTime" : "{{$isoTimestamp}}", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "limitResultsByStatus" : ["ACTIVE"], + "sequencingOrder" : "PROPERTY_ASCENDING", + "sequencingProperty" : "qualifiedName" +} + + +### +# @name findGovernanceDefinitions +# Retrieve the list of governance definition metadata elements that contain the search string. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/by-search-string +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "SearchStringRequestBody", + "searchString": "xxx", + "startsWith" : false, + "endsWith" : false, + "ignoreCase" : true, + "startFrom" : 0, + "pageSize": 0 +} + + +### +# @name findGovernanceDefinitions - with full request body +# Retrieve the list of governance definition metadata elements that contain the search string. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/by-search-string +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "SearchStringRequestBody", + "searchString": "xxx", + "startsWith" : false, + "endsWith" : false, + "ignoreCase" : true, + "startFrom" : 0, + "pageSize": 0, + "asOfTime" : "{{$isoTimestamp}}", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "limitResultsByStatus" : ["ACTIVE"], + "sequencingOrder" : "PROPERTY_ASCENDING", + "sequencingProperty" : "qualifiedName" +} + +### + +# @name getGovernanceDefinitionsByName +# Returns the list of governance definitions with a particular name. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/by-name +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "filter" : "Add name here", + "startFrom": 0, + "pageSize": 10 +} + + +### + +# @name getGovernanceDefinitionsByName - with full request body +# Returns the list of governance definitions with a particular name. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/by-name +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "FilterRequestBody", + "filter" : "Add name here", + "startFrom": 0, + "pageSize": 10, + "asOfTime" : "{{$isoTimestamp}}", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "limitResultsByStatus" : ["ACTIVE"], + "sequencingOrder" : "PROPERTY_ASCENDING", + "sequencingProperty" : "qualifiedName" +} + + +### +# @name getGovernanceDefinitionByGUID +# Return the properties of a specific governance definition. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/{{governanceDefinitionGUID}}/retrieve +Authorization: Bearer {{token}} +Content-Type: application/json + +### +# @name getGovernanceDefinitionByGUID - with request body +# Return the properties of a specific governance definition. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/{{governanceDefinitionGUID}}/retrieve +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "GetRequestBody", + "metadataElementTypeName": "GovernancePolicy", + "metadataElementSubtypeNames": [], + "skipRelationships": [], + "includeOnlyRelationships": [], + "relationshipsPageSize": 100, + "skipClassifiedElements": [], + "includeOnlyClassifiedElements": [], + "graphQueryDepth" : 10, + "asOfTime" : "{{$isoTimestamp}}", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# ===================================================================================================================== +# A governance action type runs a single engine action. +# + + +### +# @name getAllGovernanceActionTypes +# Retrieve the list of governance action type metadata elements that contain the search string. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/by-search-string +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "SearchStringRequestBody", + "metadataElementTypeName": "GovernanceActionType" +} + +### +# @name findGovernanceActionTypes +# Retrieve the list of governance action type metadata elements that contain the search string. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/by-search-string +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "SearchStringRequestBody", + "metadataElementTypeName": "GovernanceActionType", + "metadataElementSubtypeNames": [], + "skipRelationships": [], + "includeOnlyRelationships": [], + "relationshipsPageSize": 100, + "skipClassifiedElements": [], + "includeOnlyClassifiedElements": [], + "graphQueryDepth" : 10, + "searchString": "xxx", + "startsWith" : false, + "endsWith" : false, + "ignoreCase" : true, + "startFrom" : 0, + "pageSize": 0, + "asOfTime" : "{{$isoTimestamp}}", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "limitResultsByStatus" : ["ACTIVE"], + "sequencingOrder" : "PROPERTY_ASCENDING", + "sequencingProperty" : "qualifiedName" +} + + +### +# @name getGovernanceActionTypesByName +# Retrieve the list of governance action type metadata elements with a matching qualified or display name. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/by-name +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "filter" : "AssetSurvey:survey-kafka-server", + "metadataElementTypeName": "GovernanceActionType", + "startFrom" : 0, + "pageSize": 0 +} + +### + +@governanceActionTypeGUID=add guid here + +### +# @name getGovernanceActionTypeByGUID +# Retrieve the governance action type metadata element with the supplied unique identifier. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/{{governanceActionTypeGUID}}/retrieve +Authorization: Bearer {{token}} + + +### +# @name getGovernanceActionTypeByGUID (Survey Folder) +# Retrieve the governance action type metadata element with the supplied unique identifier. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/2f988d28-8fb6-4e11-83a3-63b9ae6ef031/retrieve +Authorization: Bearer {{token}} + + +### +# ===================================================================================================================== +# A governance action process describes a well-defined series of steps that gets something done. + +# This is the unique identifier of the governance action process +@processGUID = guid + + +### +# @name findGovernanceActionProcesses +# Retrieve the list of governance action process metadata elements that contain the search string. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-action-processes/by-search-string +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "SearchStringRequestBody", + "metadataElementTypeName": "GovernanceActionProcess", + "searchString": "xxx", + "startsWith" : false, + "endsWith" : false, + "ignoreCase" : true, + "startFrom" : 0, + "pageSize": 0, + "asOfTime" : "{{$isoTimestamp}}", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "limitResultsByStatus" : ["ACTIVE"], + "sequencingOrder" : "PROPERTY_ASCENDING", + "sequencingProperty" : "qualifiedName" +} + + +### +# @name getAllGovernanceActionProcesses +# Retrieve the list of governance action process metadata elements that contain the search string. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/by-search-string +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "SearchStringRequestBody", + "metadataElementTypeName": "GovernanceActionProcess" +} + +### +# @name getGovernanceActionProcessesByName +# Retrieve the list of governance action process metadata elements with a matching qualified or display name. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/by-name +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "FilterRequestBody", + "metadataElementTypeName": "GovernanceActionProcess" +} + + +### +# @name getGovernanceActionProcessesByName +# Retrieve the list of governance action process metadata elements with a matching qualified or display name. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/by-name +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "FilterRequestBody", + "metadataElementTypeName": "GovernanceActionProcess", + "filter": "xxx", + "startFrom" : 0, + "pageSize": 0, + "asOfTime" : "{{$isoTimestamp}}", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "limitResultsByStatus" : ["ACTIVE"], + "sequencingOrder" : "PROPERTY_ASCENDING", + "sequencingProperty" : "qualifiedName" +} + + +### +# @name getGovernanceActionProcessesByName +# Retrieve the list of governance action process metadata elements with a matching qualified or display name. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/by-name +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "FilterRequestBody", + "metadataElementTypeName": "GovernanceActionProcess", + "filter": "GovernanceActionProcess::Valid Value Sets List::Create Subscription::EVALUATION-SUBSCRIPTION", + "startFrom" : 0, + "pageSize": 0 +} + + +### +# @name getGovernanceActionProcessByGUID +# Retrieve the governance action process metadata element with the supplied unique identifier. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/{{processGUID}}/retrieve +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "GetRequestBody", + "metadataElementTypeName": "GovernanceActionProcess" +} + + +### +# @name getGovernanceActionProcessByGUID (Daily Process) +# Retrieve the governance action process metadata element with the supplied unique identifier. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-definitions/dde1e255-6d0c-4589-b4a6-17e7d01db5ab/retrieve +Authorization: Bearer {{token}} + + +### +# @name getGovernanceActionProcessGraph +# Retrieve the governance action process metadata element with the supplied unique identifier +# along with the flow definition describing its implementation. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-action-processes/{{processGUID}}/graph +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "ResultsRequestBody", + "asOfTime" : "{{$isoTimestamp}}", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "limitResultsByStatus" : ["ACTIVE"], + "sequencingOrder" : "PROPERTY_ASCENDING", + "sequencingProperty" : "qualifiedName" +} + +### +# @name getGovernanceActionProcessGraph (Daily Process) +# Retrieve the governance action process metadata element with the supplied unique identifier +# along with the flow definition describing its implementation. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-action-processes/dde1e255-6d0c-4589-b4a6-17e7d01db5ab/graph +Authorization: Bearer {{token}} + +### +# @name getGovernanceActionProcessGraph (Onboarding Data Process) +# Retrieve the governance action process metadata element with the supplied unique identifier +# along with the flow definition describing its implementation. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-action-processes/508d3878-8eae-47e5-8507-ee936f33b418/graph +Authorization: Bearer {{token}} + + +### + +@elementGUID=add guid here +@definitionGUID=add guid here + +### +# @name addGovernanceDefinitionToElement +# Link a governance definition to an element using the GovernedBy relationship. +# +# Governance Definitions: https://egeria-project.org/types/4/0401-Governance-Definitions/ + +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/governed-by/definition/{{definitionGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties" : { + "class" : "GovernedByProperties", + "label" : "add label here", + "description" : "add description here" + }, + "externalSourceGUID": "Add guid here", + "externalSourceName": "Add qualified name here", + "forLineage": false, + "forDuplicateProcessing": false, + "effectiveTime" : "{{$isoTimestamp}}" +} + + +### +# @name removeGovernanceDefinitionFromElement +# Remove the GovernedBy relationship between a governance definition and an element. +# +# Governance Definition: https://egeria-project.org/types/4/0401-Governance-Definitions/ + +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/governed-by/definition/{{definitionGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "Add guid here", + "externalSourceName": "Add qualified name here", + "forLineage": false, + "forDuplicateProcessing": false, + "effectiveTime" : "{{$isoTimestamp}}" +} + +### + +### + +@designDescriptionGUID=add guid here +@implementationGUID=add guid here +@implementationResourceGUID=add guid here + +### +# @name linkDesignToImplementation +# Attach a design object such as a solution component or governance definition to its implementation via the ImplementedBy relationship. Request body is optional. +# https://egeria-project.org/types/7/0737-Solution-Implementation/ +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/designs/{{designDescriptionGUID}}/implementations/{{implementationGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "ImplementedByProperties", + "designStep": "", + "role": "", + "transformation": "", + "description": "", + "iscQualifiedName": "", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### + +# @name detachDesignFromImplementation +# Detach a design object such as a solution component or governance definition from its implementation. Request body is optional. +# https://egeria-project.org/types/7/0737-Solution-Implementation/ +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/designs/{{designDescriptionGUID}}/implementations/{{implementationGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# @name linkImplementationResource +# Attach a design object such as a solution component or governance definition to one of its implementation resource via the ImplementationResource relationship. Request body is optional. +# https://egeria-project.org/types/7/0737-Solution-Implementation/ +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/designs/{{designDescriptionGUID}}/implementation-resources/{{implementationResourceGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "ImplementationResourceProperties", + "description": "", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### + +# @name detachImplementationResource +# Detach a design object such as a solution component or governance definition from one of its implementation resources. Request body is optional. +# https://egeria-project.org/types/7/0737-Solution-Implementation/ +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/designs/{{designDescriptionGUID}}/implementation-resources/{{implementationResourceGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### + +@governanceMetricGUID=add guid here +@dataAssetGUID=add guid here +@dataProcessingPurposeGUID=add guid here + +### +# @name linkApprovedPurpose +# Attach an approved purpose to an element. Request body is optional. +# https://egeria-project.org/concepts/governance-definition/ +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/approved-purposes/{{dataProcessingPurposeGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "ApprovedPurposeProperties", + "label": "", + "description": "", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachApprovedPurpose +# Detach an approved purpose from an element. Request body is optional. +# https://egeria-project.org/concepts/governance-definition/ +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/approved-purposes/{{dataProcessingPurposeGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### + +### +# @name linkGovernanceResults +# Attach a governance metric to a data asset that describes where its measurements are kept. Request body is optional. +# https://egeria-project.org/concepts/governance-definition/ +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-metrics/{{governanceMetricGUID}}/measurements/{{dataAssetGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "GovernanceResultsProperties", + "description": "", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachGovernanceResults +# Detach an governance metric from its measurements data set. Request body is optional. +# https://egeria-project.org/concepts/governance-definition/ +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/governance-metrics/{{governanceMetricGUID}}/measurements/{{dataAssetGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# ===================================================================================================================== +# Licenses + +@licenseTypeGUID=add guid here +@licenseGUID=add guid here + +### +# @name licenseElement +# Link an element to a license type and include details of the license in the relationship properties. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/license-types/{{licenseTypeGUID}}/license +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties" : { + "class" : "LicenseProperties", + "licenseId" : "add license id here", + "coverageStart" : "{{$isoTimestamp}}", + "coverageEnd" : "{{$isoTimestamp}}", + "conditions" : "add conditions here", + "licensedBy" : "add value here", + "licensedByTypeName" : "add value here", + "licensedByPropertyName" : "add value here", + "custodian" : "add value here", + "custodianTypeName" : "add value here", + "custodianPropertyName" : "add value here", + "licensee" : "add value here", + "licenseeTypeName" : "add value here", + "licenseePropertyName" : "add value here", + "entitlements" : {}, + "restrictions" : {}, + "obligations" : {}, + "notes" : "add notes here" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# @name updateLicense +# Update the properties of a license. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/licenses/{{licenseGUID}}/update +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "UpdateRelationshipRequestBody", + "mergeUpdate" : true, + "properties" : { + "class" : "LicenseProperties", + "licenseId" : "add license id here", + "coverageStart" : "{{$isoTimestamp}}", + "coverageEnd" : "{{$isoTimestamp}}", + "conditions" : "add conditions here", + "licensedBy" : "add value here", + "licensedByTypeName" : "add value here", + "licensedByPropertyName" : "add value here", + "custodian" : "add value here", + "custodianTypeName" : "add value here", + "custodianPropertyName" : "add value here", + "licensee" : "add value here", + "licenseeTypeName" : "add value here", + "licenseePropertyName" : "add value here", + "entitlements" : {}, + "restrictions" : {}, + "obligations" : {}, + "notes" : "add notes here" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# @name unlicenseElement +# Remove the license for an element. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/licenses/{{licenseGUID}}/delete +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# ===================================================================================================================== +# Certifications + +@certificationTypeGUID=add guid here +@certificationGUID=add guid here + +### +# @name certifyElement +# Link an element to a certification type and include details of the certification in the relationship properties. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/certification-types/{{certificationTypeGUID}}/certify +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties" : { + "class" : "CertificationProperties", + "certificateId" : "add certificate id here", + "coverageStart" : "{{$isoTimestamp}}", + "coverageEnd" : "{{$isoTimestamp}}", + "conditions" : "add conditions here", + "certifiedBy" : "add value here", + "certifiedByTypeName" : "add value here", + "certifiedByPropertyName" : "add value here", + "custodian" : "add value here", + "custodianTypeName" : "add value here", + "custodianPropertyName" : "add value here", + "recipient" : "add value here", + "recipientTypeName" : "add value here", + "recipientPropertyName" : "add value here", + "notes" : "add notes here" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# @name updateCertification +# Update the properties of a certification. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/certifications/{{certificationGUID}}/update +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "UpdateRelationshipRequestBody", + "mergeUpdate" : true, + "properties" : { + "class" : "CertificationProperties", + "certificateId" : "add certificate id here", + "coverageStart" : "{{$isoTimestamp}}", + "coverageEnd" : "{{$isoTimestamp}}", + "conditions" : "add conditions here", + "certifiedBy" : "add value here", + "certifiedByTypeName" : "add value here", + "certifiedByPropertyName" : "add value here", + "custodian" : "add value here", + "custodianTypeName" : "add value here", + "custodianPropertyName" : "add value here", + "recipient" : "add value here", + "recipientTypeName" : "add value here", + "recipientPropertyName" : "add value here", + "notes" : "add notes here" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# @name decertifyElement +# Remove the certification for an element. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/certifications/{{certificationGUID}}/delete +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### + +### +# ===================================================================================================================== +# Regulation and exception relationships +# https://egeria-project.org/concepts/governance-definition + +@exceptionGUID=add guid here +@exceptionTypeGUID=add guid here + +### +# @name linkException +# Attach an element to an exception type that excludes it from a requirement. This is a multi-link relationship so a new relationship is always created and its unique identifier is returned. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/exceptions/{{exceptionTypeGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "ExceptionProperties", + "label": "add label", + "description": "add description", + "conditions": "add conditions here", + "lastReviewTime": "{{$isoTimestamp}}", + "reviewDate": "{{$isoTimestamp}}", + "steward": "add steward here", + "stewardTypeName": "add steward type name here", + "stewardPropertyName": "add steward property name here", + "notes": "add notes here", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name updateException +# Update the properties of a exception relationship. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/exceptions/{{exceptionGUID}}/update +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "UpdateRelationshipRequestBody", + "mergeUpdate": true, + "properties": { + "class": "ExceptionProperties", + "label": "add label", + "description": "add description", + "conditions": "add conditions here", + "lastReviewTime": "{{$isoTimestamp}}", + "reviewDate": "{{$isoTimestamp}}", + "steward": "add steward here", + "stewardTypeName": "add steward type name here", + "stewardPropertyName": "add steward property name here", + "notes": "add notes here", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachException +# Detach an element from an exception type that excluded it from a requirement. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/exceptions/{{exceptionGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name linkRegulationCertificationType +# Attach a certification type to the regulation that requires it. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/regulations/{{regulationGUID}}/regulation-certification-types/{{certificationTypeGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "RegulationCertificationTypeProperties", + "label": "add label", + "description": "add description", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachRegulationCertificationType +# Detach a certification type from the regulation that required it. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/regulations/{{regulationGUID}}/regulation-certification-types/{{certificationTypeGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# ===================================================================================================================== +# Governance point classifications +# https://egeria-project.org/concepts/governance-definition + + +### +# @name setControlPoint +# Classify an element to say that it is a control point where a governance action is performed. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/control-point +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "ControlPointProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearControlPoint +# Remove the control point designation from an element. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/control-point/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name setVerificationPoint +# Classify an element to say that it is a verification point where a governance requirement is checked. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/verification-point +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "VerificationPointProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearVerificationPoint +# Remove the verification point designation from an element. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/verification-point/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name setEnforcementPoint +# Classify an element to say that it is an enforcement point where a governance requirement is enforced. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/enforcement-point +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "EnforcementPointProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearEnforcementPoint +# Remove the enforcement point designation from an element. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/enforcement-point/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name setExecutionPoint +# Classify an element to say that it is an execution point where governance is executed. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/execution-point +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "ExecutionPointProperties", + "qualifiedName": "add unique name here", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearExecutionPoint +# Remove the execution point designation from an element. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/execution-point/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name setPolicyAdministrationPoint +# Classify an element to say that it is a policy administration point where policies are created and maintained. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/policy-administration-point +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "PolicyAdministrationPointProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearPolicyAdministrationPoint +# Remove the policy administration point designation from an element. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/policy-administration-point/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name setPolicyDecisionPoint +# Classify an element to say that it is a policy decision point where a policy decision is made. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/policy-decision-point +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "PolicyDecisionPointProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearPolicyDecisionPoint +# Remove the policy decision point designation from an element. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/policy-decision-point/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name setPolicyEnforcementPoint +# Classify an element to say that it is a policy enforcement point where a policy decision is applied. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/policy-enforcement-point +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "PolicyEnforcementPointProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearPolicyEnforcementPoint +# Remove the policy enforcement point designation from an element. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/policy-enforcement-point/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name setPolicyInformationPoint +# Classify an element to say that it is a policy information point that supplies the information a policy decision needs. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/policy-information-point +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "PolicyInformationPointProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearPolicyInformationPoint +# Remove the policy information point designation from an element. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/policy-information-point/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name setPolicyManagementPoint +# Classify an element to say that it is a policy management point. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/policy-management-point +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "PolicyManagementPointProperties", + "label": "add label here", + "description": "add description here", + "pointType": "add point type here", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearPolicyManagementPoint +# Remove the policy management point designation from an element. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/policy-management-point/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name setPolicyRetrievalPoint +# Classify an element to say that it is a policy retrieval point where policies are retrieved for a decision. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/policy-retrieval-point +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "PolicyRetrievalPointProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearPolicyRetrievalPoint +# Remove the policy retrieval point designation from an element. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/policy-retrieval-point/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# ===================================================================================================================== +# Decisions, their outcomes and assessments +# https://egeria-project.org/types/0/0018-Decisions/ + +@decisionGUID=add guid here +@outcomeGUID=add guid here +@elementGUID=add guid here +@assessmentGUID=add guid here + +### +# @name createDecision +# Create a decision. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/decisions +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewElementRequestBody", + "anchorGUID" : "add guid here", + "isOwnAnchor": false, + "parentGUID": "add guid here", + "parentRelationshipTypeName": "add type name here", + "parentRelationshipProperties": { + "class": "RelationshipElementProperties", + "propertyValueMap" : { + "description" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveValue" : "New description" + } + } + }, + "parentAtEnd1": false, + "properties": { + "class" : "DecisionProperties", + "qualifiedName": "add unique name here", + "identifier" : "add identifier here", + "displayName": "add short name here", + "description": "add description here", + "summary": "add summary here", + "scope": "add scope here", + "usage": "add usage here", + "importance": "add importance here", + "disposition": "add disposition here", + "implications": ["add implication here"], + "notes": "add notes here", + "startTime": "{{$isoTimestamp}}", + "lastReviewTime": "{{$isoTimestamp}}", + "nextReviewTime": "{{$isoTimestamp}}", + "expiryTime": "{{$isoTimestamp}}", + "authors": ["add author here"], + "contentStatus": "DRAFT", + "additionalProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name createDecisionFromTemplate +# Create a new metadata element to represent a decision using an existing metadata element as a template. The template defines additional classifications and relationships that should be added to the new element. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/decisions/from-template +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "TemplateRequestBody", + "anchorGUID" : "add guid here", + "isOwnAnchor": false, + "parentGUID": "add guid here", + "parentRelationshipTypeName": "add type name here", + "parentRelationshipProperties": { + "class": "RelationshipElementProperties", + "propertyValueMap" : { + "description" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveValue" : "New description" + } + } + }, + "parentAtEnd1": false, + "templateGUID": "add guid here", + "replacementProperties": { + "class": "EntityElementProperties", + "propertyValueMap" : { + "description" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveValue" : "New description" + } + } + }, + "placeholderPropertyValues": { + "placeholder1" : "propertyValue1", + "placeholder2" : "propertyValue2" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name updateDecision +# Update the properties of a decision. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/decisions/{{decisionGUID}}/update +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "UpdateElementRequestBody", + "mergeUpdate": true, + "properties": { + "class" : "DecisionProperties", + "qualifiedName": "add unique name here", + "identifier" : "add identifier here", + "displayName": "add short name here", + "description": "add description here", + "summary": "add summary here", + "scope": "add scope here", + "usage": "add usage here", + "importance": "add importance here", + "disposition": "add disposition here", + "implications": ["add implication here"], + "notes": "add notes here", + "startTime": "{{$isoTimestamp}}", + "lastReviewTime": "{{$isoTimestamp}}", + "nextReviewTime": "{{$isoTimestamp}}", + "expiryTime": "{{$isoTimestamp}}", + "authors": ["add author here"], + "contentStatus": "DRAFT", + "additionalProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name deleteDecision +# Delete a decision. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/decisions/{{decisionGUID}}/delete +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteElementRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name getDecisionsByName +# Returns the list of decisions with a particular name. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/decisions/by-name +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "FilterRequestBody", + "filter" : "Add name here", + "startFrom": 0, + "pageSize": 10 +} + +### +# @name getDecisionByGUID +# Return the properties of a specific decision. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/decisions/{{decisionGUID}}/retrieve +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "GetRequestBody", + "asOfTime" : "{{$isoTimestamp}}", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name findDecisions +# Retrieve the list of decision metadata elements that contain the search string. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/decisions/by-search-string +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "SearchStringRequestBody", + "searchString" : "Add value here", + "startsWith" : false, + "endsWith" : false, + "ignoreCase" : true, + "startFrom" : 0, + "pageSize": 10 +} + +### +# @name linkDecisionOutcome +# Attach a decision to an element that represents an outcome of the decision. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/decisions/{{decisionGUID}}/outcomes/{{outcomeGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class" : "OutcomeProperties", + "label": "add label here", + "description": "add description here", + "importance": "add importance here", + "disposition": "add disposition here", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachDecisionOutcome +# Detach a decision from an element that represents an outcome of the decision. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/decisions/{{decisionGUID}}/outcomes/{{outcomeGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name linkAssessment +# Attach an element that has been assessed to the decision that the assessment contributes to. This is a multi-link relationship so a new relationship is always created and its unique identifier is returned. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/elements/{{elementGUID}}/assessments/{{decisionGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class" : "AssessmentProperties", + "label": "add label here", + "description": "add description here", + "assessor": "add assessor here", + "assessorTypeName": "add assessor type name here", + "assessorPropertyName": "add assessor property name here", + "assessmentTime": "{{$isoTimestamp}}", + "expiryTime": "{{$isoTimestamp}}", + "notes": "add notes here", + "additionalProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name updateAssessment +# Update the properties of an assessment relationship. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/assessments/{{assessmentGUID}}/update +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "UpdateRelationshipRequestBody", + "mergeUpdate": true, + "properties": { + "class" : "AssessmentProperties", + "label": "add label here", + "description": "add description here", + "assessor": "add assessor here", + "assessorTypeName": "add assessor type name here", + "assessorPropertyName": "add assessor property name here", + "assessmentTime": "{{$isoTimestamp}}", + "expiryTime": "{{$isoTimestamp}}", + "notes": "add notes here", + "additionalProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachAssessment +# Remove an assessment relationship between an element and a decision. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/governance-officer/assessments/{{assessmentGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### diff --git a/tests/fixtures/egeria-6.4/Egeria-api-project-manager.http b/tests/fixtures/egeria-6.4/Egeria-api-project-manager.http new file mode 100644 index 000000000..b683e4138 --- /dev/null +++ b/tests/fixtures/egeria-6.4/Egeria-api-project-manager.http @@ -0,0 +1,896 @@ +# Egeria-project-manager-api + +@baseURL=https://localhost:7443 +@viewServer=view-server + +### +# ===================================================================================================================== +# Manage the authentication token. Run this request to create/refresh the token. + +# @name Token (RequestBody) +POST {{baseURL}}/api/token +Content-Type: application/json + +{ + "userId" : "peterprofile", + "password" : "secret" +} + +> {% client.global.set("token", response.body); %} + +### +# ===================================================================================================================== +# Retrieving Projects: https://egeria-project.org/concepts/project +# + +@parentGUID=xxx + +### +# @name getLinkedProjects +# Returns the list of projects that are linked off of the supplied element. Any relationship will do. +# The request body is optional, but if supplied acts as a filter on project status. + +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/metadata-elements/{{parentGUID}}/projects +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "filter" : "" +} + + +### +# @name getClassifiedProjects +# Returns the list of projects with a particular classification. The name of the classification is supplied in the request body. +# Examples of these classifications include "StudyProject", "PersonalProject", "Campaign" or "Task". +# There is also "GlossaryProject" and "GovernanceProject". +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/by-classifications +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "filter" : "" +} + +### +# @name getProjectsByClassificationProperties +# Returns the list of projects with a ProjectClassification classification and with matching properties. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/by-classification-properties +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "FindProjectClassificationProperties", + "approach" : "", + "managementStyle" : "", + "resultsUsage" : "" +} + + +### +# @name getProjectTeam +# Returns the list of actors that are linked off of the project. This includes the project managers. +# The optional request body allows a teamRole to be specified as a filter. To retrieve the project managers, +# specify "Leader" as the filter. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/team +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "filter" : "" +} + + +### +# @name findProjects +# Returns the list of projects matching the search string. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/by-search-string +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "SearchStringRequestBody", + "searchString" : "Add value here", + "startsWith" : false, + "endsWith" : false, + "ignoreCase" : true, + "startFrom" : 0, + "pageSize": 10, + "asOfTime" : "{{$isoTimestamp}}", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "limitResultsByStatus" : ["ACTIVE"], + "sequencingOrder" : "PROPERTY_ASCENDING", + "sequencingProperty" : "qualifiedName" +} + +### +# @name getProjectsByName +# Returns the list of projects with a particular name. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/by-name +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "FilterRequestBody", + "filter" : "Add name here", + "startFrom": 0, + "pageSize": 10, + "asOfTime" : "{{$isoTimestamp}}", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "limitResultsByStatus" : ["ACTIVE"], + "sequencingOrder" : "PROPERTY_ASCENDING", + "sequencingProperty" : "qualifiedName" +} + +### + +@projectGUID=xxx + +### +# @name getProjectByGUID +# Return the properties of a specific project. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}} +Authorization: Bearer {{token}} + +### +# @name getProjectGraph +# Returns the graph of related projects and resources starting with a supplied project guid.. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/graph +Authorization: Bearer {{token}} + +### +# @name getProjectHierarchy +# Returns the hierarchy of managed projects and resources starting with a supplied project guid. Request body is optional. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/hierarchy +Authorization: Bearer {{token}} + +### +# ===================================================================================================================== +# Create Projects: https://egeria-project.org/concepts/project +# These requests use the following parameters: +# +# anchorGUID - the unique identifier of the element that should be the anchor for the new project. Set to null if no anchor, +# or if this project is to be its own anchor. +# +# isOwnAnchor -this element should be classified as its own anchor or not. The default is false. +# +# parentGUID - the optional unique identifier for an element that should be connected to the newly created element. +# If this property is specified, parentRelationshipTypeName must also be specified +# +# parentRelationshipTypeName - the name of the relationship, if any, that should be established between the new +# project and the parent element. An example could be "ResourceList". +# +# parentAtEnd1 -identifies which end any parent entity sits on the relationship. +# + +### +# @name createProject +# Create a new generic project. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "anchorGUID" : "anchor GUID, if set then isOwnAnchor=false", + "isOwnAnchor" : false, + "parentGUID" : "parent GUID, if set, set all parameters beginning 'parent'", + "parentRelationshipTypeName" : "open metadata type name", + "parentAtEnd1": true, + "properties": { + "class" : "ProjectProperties", + "qualifiedName": "Must provide a unique name here", + "identifier" : "Add business identifier", + "displayName" : "Add display name here", + "description" : "Add description of the project here", + "projectPhase" : "lifecycle phase of the project", + "projectStatus": "Add appropriate valid value for type", + "projectHealth" : "Add how well the project is tracking to plan", + "priority" : 0, + "startDate" : "date/time", + "plannedEndDate" : "date/time" + } +} + +### + +@classificationName="PersonalProject" + +### +# @name createClassifiedProject +# Create a new project with a specific classification. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects?classificationName={{classificationName}} +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "anchorGUID" : "anchor GUID, if set then isOwnAnchor=false", + "isOwnAnchor" : false, + "parentGUID" : "parent GUID, if set, set all parameters beginning 'parent'", + "parentRelationshipTypeName" : "open metadata type name", + "parentAtEnd1": true, + "properties": { + "class" : "ProjectProperties", + "qualifiedName": "Must provide a unique name here", + "identifier" : "Add business identifier", + "displayName" : "Add display name here", + "description" : "Add description of the project here", + "projectPhase" : "lifecycle phase of the project", + "projectStatus": "Add appropriate valid value for type", + "projectHealth" : "Add how well the project is tracking to plan", + "priority" : 0, + "startDate" : "date/time", + "plannedEndDate" : "date/time" + } +} + +### +# @name createCampaign +# Create a new project with the Campaign classification. Used to identify the top of a project hierarchy. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects?classificationName=Campaign +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "anchorGUID" : "anchor GUID, if set then isOwnAnchor=false", + "isOwnAnchor" : false, + "parentGUID" : "parent GUID, if set, set all parameters beginning 'parent'", + "parentRelationshipTypeName" : "open metadata type name", + "parentAtEnd1": true, + "properties": { + "class" : "ProjectProperties", + "qualifiedName": "Must provide a unique name here", + "identifier" : "Add business identifier", + "displayName" : "Add display name here", + "description" : "Add description of the project here", + "projectPhase" : "lifecycle phase of the project", + "projectStatus": "Add appropriate valid value for type", + "projectHealth" : "Add how well the project is tracking to plan", + "priority" : 0, + "startDate" : "date/time", + "plannedEndDate" : "date/time" + } +} + + +### +# @name createTaskForProject +# Create a new project with the Task classificationand link it to a project. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/task-classification +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class": "NewAttachmentRequestBody", + "properties" : { + "class" : "ProjectProperties", + "qualifiedName": "Must provide a unique name here", + "identifier": "Add business identifier", + "displayName": "Add display name here", + "description": "Add description of the task here", + "projectPhase": "lifecycle phase of the task", + "projectStatus": "Add appropriate valid value for type", + "projectHealth": "Add how well the task is tracking to plan", + "priority": 0, + "startDate": "date/time", + "plannedEndDate": "date/time" + } +} + +### +# @name createProjectFromTemplate +# Create a new metadata element to represent a project using an existing metadata element as a template. +# The template defines additional classifications and relationships that should be added to the new project. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/from-template +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class": "TemplateRequestBody", + "anchorGUID": "anchor GUID, if set then isOwnAnchor=false", + "isOwnAnchor": false, + "parentGUID": "parent GUID, if set, set all parameters beginning 'parent'", + "parentRelationshipTypeName": "open metadata type name", + "parentAtEnd1": true, + "templateGUID": "template GUID", + "replacementProperties": { + "class": "EntityElementProperties", + "propertyValueMap" : { + "propertyName" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveTypeCategory" : "OM_PRIMITIVE_TYPE_STRING", + "primitiveValue" : "value of property" + } + } + }, + "placeholderPropertyValues" : { + "placeholderProperty1Name" : "property1Value", + "placeholderProperty2Name" : "property2Value" + } +} + +### +# @name updateProject +# Update the properties of a project. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/update +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "UpdateElementRequestBody", + "properties": { + "class" : "ProjectProperties", + "qualifiedName": "Must provide a unique name here", + "identifier" : "Add business identifier", + "displayName" : "Add display name here", + "description" : "Add description of the project here", + "projectPhase" : "lifecycle phase of the project", + "projectStatus": "Add appropriate valid value for type", + "projectHealth" : "Add how well the project is tracking to plan", + "priority" : 0, + "startDate" : "date/time", + "plannedEndDate" : "date/time" + }, + "mergeUpdate": true, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + + +### +# @name deleteProject +# Delete a project. It is detected from all parent elements. If members are anchored to the project +# then they are also deleted. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/delete +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteElementRequestBody" +} + +### + +@actorGUID="guid that is to be a member of the project" + +### +# @name addToProjectTeam +# Add an actor to a project. The request body is optional. If supplied, it contain the name of the role that the actor +# plays in the project. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/members/{{actorGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties" : { + "class": "AssignmentScopeProperties", + "assignmentType": "xxx", + "description": "xxx" + } +} + + +### +# @name removeFromProjectTeam +# Remove an actor from a project. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/members/{{actorGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody" +} + + +### +# @name addProjectClassification +# Classify the project to indicate the approach and style of project based on its intended outcome. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/classification-properties/classify +Authorization: Bearer {{token}} +Content-Type: application/json + + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "ProjectClassificationProperties", + "approach": "", + "managementStyle": "", + "resultsUsage": "", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# @name clearProjectClassification +# Remove the ProjectClassification classification from the element. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/classification-properties/declassify +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### + +@dependsOnProjectGUID=add guid here +@managedProjectGUID=add guid here + +### +# @name setupProjectDependency +# Create a project dependency relationship between two projects. Request body is optional. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/project-dependencies/{{dependsOnProjectGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# @name clearProjectDependency +# Remove a project dependency relationship between two projects. Request body is optional. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/project-dependencies/{{dependsOnProjectGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# @name setupProjectHierarchy +# Create a project hierarchy relationship between two projects. Request body is optional. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/project-hierarchies/{{managedProjectGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# @name clearProjectHierarchy +# Remove a project hierarchy relationship between two projects. Request body is optional. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/project-hierarchies/{{managedProjectGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### + +### +# ===================================================================================================================== +# Project classifications +# https://egeria-project.org/concepts/project + +### +# @name setProjectAsCampaign +# Classify a project to say that it is a campaign - a long running activity made up of many projects. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/campaign +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "CampaignProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearProjectAsCampaign +# Remove the campaign designation from a project. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/campaign/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name setProjectAsTask +# Classify a project to say that it is a task within a larger project. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/task-classification +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "TaskProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearProjectAsTask +# Remove the task designation from a project. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/task-classification/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name setProjectAsPersonalProject +# Classify a project to say that it is a personal project used to organize an individual's work. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/personal-project +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "PersonalProjectProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearProjectAsPersonalProject +# Remove the personal project designation from a project. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/personal-project/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name setProjectAsStudyProject +# Classify a project to say that it is a study project that is investigating a topic. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/study-project +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "StudyProjectProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearProjectAsStudyProject +# Remove the study project designation from a project. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/study-project/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name setProjectAsExperiment +# Classify a project to say that it is an experiment that is testing a hypothesis. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/experiment +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "ExperimentProperties", + "hypothesis": "add the hypothesis being tested here", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearProjectAsExperiment +# Remove the experiment designation from a project. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/experiment/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name setProjectAsInvestigation +# Classify a project to say that it is an investigation that is seeking to answer a question. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/investigation +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "InvestigationProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearProjectAsInvestigation +# Remove the investigation designation from a project. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/investigation/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name setProjectAsGlossaryProject +# Classify a project to say that it is managing the development of a glossary. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/glossary-project +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "GlossaryProjectProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearProjectAsGlossaryProject +# Remove the glossary project designation from a project. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/glossary-project/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name setProjectAsGovernanceProject +# Classify a project to say that it is part of the governance program. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/governance-project +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "GovernanceProjectProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearProjectAsGovernanceProject +# Remove the governance project designation from a project. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/governance-project/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name setProjectKind +# Classify a project to describe the kind of project that it is. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/project-kind +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "ProjectKindProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearProjectKind +# Remove the project kind classification from a project. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/project-kind/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# ===================================================================================================================== +# Project targets +# https://egeria-project.org/types/1/0130-Projects/ + +@targetGUID=add guid here + +### +# @name setupProjectTarget +# Attach a project to an element that the project is to work on. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/project-targets/{{targetGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class" : "ProjectTargetProperties", + "label": "add label here", + "description": "add description here", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name clearProjectTarget +# Detach a project from an element that the project was to work on. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/project-manager/projects/{{projectGUID}}/project-targets/{{targetGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### diff --git a/tests/fixtures/egeria-6.4/Egeria-api-schema-maker.http b/tests/fixtures/egeria-6.4/Egeria-api-schema-maker.http new file mode 100644 index 000000000..2cc377bea --- /dev/null +++ b/tests/fixtures/egeria-6.4/Egeria-api-schema-maker.http @@ -0,0 +1,1469 @@ +# Egeria-schema-maker-api +# The Schema Maker OMVS provides APIs for supporting the creation and editing of schema types and +# schema attributes. + +@baseURL=https://localhost:7443 +@viewServer=view-server + +### +# ===================================================================================================================== +# Manage the authentication token. Run this request to create/refresh the token. + +# @name Token (RequestBody) +POST {{baseURL}}/api/token +Content-Type: application/json + +{ + "userId" : "peterprofile", + "password" : "secret" +} + +> {% client.global.set("token", response.body); %} + + +### +# ===================================================================================================================== +# Work with Schema Elements +# https://egeria-project.org/concepts/schema-type + +@schemaTypeGUID=add guid here + + +### +# @name createSchemaType +# Create a schema type. +# +# Request body provides properties for the schema type. +# +# Returns unique identifier of the newly created element +# InvalidParameterException one of the parameters is invalid. +# PropertyServerException a problem retrieving information from the property server(s). +# UserNotAuthorizedException the requesting user is not authorized to issue this request. +# +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-types +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewElementRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "anchorGUID" : "add guid here", + "isOwnAnchor": false, + "parentGUID": "add guid here", + "parentRelationshipTypeName": "add type name here", + "parentRelationshipProperties": { + "class": "RelationshipElementProperties", + "propertyValueMap" : { + "description" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveValue" : "New description" + } + } + }, + "parentAtEnd1": false, + "properties": { + "class" : "SchemaTypeProperties", + "typeName" : "enter the type of the element", + "qualifiedName": "add unique name here", + "displayName": "add short name here", + "description": "add description here", + "additionalProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "extendedProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + } +} + + +### +# @name createSchemaTypeFromTemplate +# Create a new metadata element to represent a schema type using an existing metadata element as a template. +# The template defines additional classifications and relationships that should be added to the new element. +# +# Request body provides properties that override the template +# +# Returns unique identifier of the new metadata element +# InvalidParameterException one of the parameters is invalid +# UserNotAuthorizedException the user is not authorized to issue this request +# PropertyServerException a problem reported in the open metadata server(s) +# +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-types/from-template +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "TemplateRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "anchorGUID" : "add guid here", + "isOwnAnchor": false, + "parentGUID": "add guid here", + "parentRelationshipTypeName": "add type name here", + "parentRelationshipProperties": { + "class": "RelationshipElementProperties", + "propertyValueMap" : { + "description" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveValue" : "New description" + } + } + }, + "parentAtEnd1": false, + "templateGUID": "add guid here", + "replacementProperties": { + "class": "EntityElementProperties", + "propertyValueMap" : { + "description" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveValue" : "New description" + } + } + }, + "placeholderPropertyValues": { + "placeholder1" : "propertyValue1", + "placeholder2" : "propertyValue2" + } +} + + +### +# @name updateSchemaType +# Update the properties of a schema type. +# +# @param schemaTypeGUID unique identifier of the schema type (returned from create) +# Request body provides properties for the new element. +# +# Returns void or +# InvalidParameterException one of the parameters is invalid. +# PropertyServerException a problem retrieving information from the property server(s). +# UserNotAuthorizedException the requesting user is not authorized to issue this request. +# +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-types/{{schemaTypeGUID}}/update +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "UpdateElementRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "properties": { + "class" : "SchemaTypeProperties", + "typeName" : "enter the type of the element", + "qualifiedName": "add unique name here", + "displayName": "add short name here", + "description": "add description here", + "additionalProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "extendedProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + } +} + + +### +# @name deleteSchemaType +# Delete a schema type. +# +# @param schemaTypeGUID unique identifier of the element to delete +# Request body provides description of the relationship. +# +# Returns void or +# InvalidParameterException one of the parameters is null or invalid. +# PropertyServerException a problem retrieving information from the property server(s). +# UserNotAuthorizedException the requesting user is not authorized to issue this request. +# +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-types/{{schemaTypeGUID}}/delete +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteElementRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# @name getSchemaTypesByName +# Returns the list of schema types with a particular name. +# +# Request body provides string to find in the properties +# +# Returns list of matching metadata elements or +# InvalidParameterException one of the parameters is invalid +# UserNotAuthorizedException the user is not authorized to issue this request +# PropertyServerException a problem reported in the open metadata server(s) +# +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-types/by-name +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "FilterRequestBody", + "filter" : "Add name here", + "startFrom": 0, + "pageSize": 10, + "asOfTime" : "{{$isoTimestamp}}", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "limitResultsByStatus" : ["ACTIVE"], + "sequencingOrder" : "PROPERTY_ASCENDING", + "sequencingProperty" : "qualifiedName" +} + + +### +# @name findSchemaTypes +# Retrieve the list of schema type metadata elements that contain the search string. +# +# Request body provides string to find in the properties +# +# Returns list of matching metadata elements or +# InvalidParameterException one of the parameters is invalid +# UserNotAuthorizedException the user is not authorized to issue this request +# PropertyServerException a problem reported in the open metadata server(s) +# +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-types/by-search-string +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "SearchStringRequestBody", + "searchString": "xxx", + "startsWith" : false, + "endsWith" : false, + "ignoreCase" : true, + "startFrom" : 0, + "pageSize": 0, + "asOfTime" : "{{$isoTimestamp}}", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "limitResultsByStatus" : ["ACTIVE"], + "sequencingOrder" : "PROPERTY_ASCENDING", + "sequencingProperty" : "qualifiedName" +} + + +### +# @name getSchemaTypeByGUID +# Return the properties of a specific schema type. +# +# @param schemaTypeGUID unique identifier of the required element +# Request body provides string to find in the properties +# +# Returns list of matching metadata elements or +# InvalidParameterException one of the parameters is invalid +# UserNotAuthorizedException the user is not authorized to issue this request +# PropertyServerException a problem reported in the open metadata server(s) +# +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-types/{{schemaTypeGUID}}/retrieve +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "GetRequestBody", + "asOfTime" : "{{$isoTimestamp}}", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### + +@schemaAttributeGUID=add guid here + + +### +# @name createSchemaAttribute +# Create a schema attribute. +# +# Request body provides properties for the schema attribute. +# +# Returns unique identifier of the newly created element +# InvalidParameterException one of the parameters is invalid. +# PropertyServerException a problem retrieving information from the property server(s). +# UserNotAuthorizedException the requesting user is not authorized to issue this request. +# +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-attributes +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewElementRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "anchorGUID" : "add guid here", + "isOwnAnchor": false, + "parentGUID": "add guid here", + "parentRelationshipTypeName": "add type name here", + "parentRelationshipProperties": { + "class": "RelationshipElementProperties", + "propertyValueMap" : { + "description" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveValue" : "New description" + } + } + }, + "parentAtEnd1": false, + "properties": { + "class" : "SchemaAttributeProperties", + "typeName" : "enter the type of the element", + "qualifiedName": "add unique name here", + "displayName":"add name here", + "identifier": "add name here", + "description": "add description here", + "scope": "add scope here", + "additionalProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "extendedProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + } +} + + +### +# @name createSchemaAttributeFromTemplate +# Create a new metadata element to represent a schema attribute using an existing metadata element as a template. +# The template defines additional classifications and relationships that should be added to the new element. +# +# Request body provides properties that override the template +# +# Returns unique identifier of the new metadata element +# InvalidParameterException one of the parameters is invalid +# UserNotAuthorizedException the user is not authorized to issue this request +# PropertyServerException a problem reported in the open metadata server(s) +# +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-attributes/from-template +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "TemplateRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "anchorGUID" : "add guid here", + "isOwnAnchor": false, + "parentGUID": "add guid here", + "parentRelationshipTypeName": "add type name here", + "parentRelationshipProperties": { + "class": "RelationshipElementProperties", + "propertyValueMap" : { + "description" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveValue" : "New description" + } + } + }, + "parentAtEnd1": false, + "templateGUID": "add guid here", + "replacementProperties": { + "class": "EntityElementProperties", + "propertyValueMap" : { + "description" : { + "class": "PrimitiveTypePropertyValue", + "typeName": "string", + "primitiveValue" : "New description" + } + } + }, + "placeholderPropertyValues": { + "placeholder1" : "propertyValue1", + "placeholder2" : "propertyValue2" + } +} + + +### +# @name updateSchemaAttribute +# Update the properties of a schema attribute. +# +# @param schemaAttributeGUID unique identifier of the schema attribute (returned from create) +# Request body provides properties for the new element. +# +# Returns void or +# InvalidParameterException one of the parameters is invalid. +# PropertyServerException a problem retrieving information from the property server(s). +# UserNotAuthorizedException the requesting user is not authorized to issue this request. +# +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-attributes/{{schemaAttributeGUID}}/update +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "UpdateElementRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "properties": { + "class" : "SchemaAttributeProperties", + "typeName" : "enter the type of the element", + "qualifiedName": "add unique name here", + "displayName":"add name here", + "identifier": "add name here", + "description": "add description here", + "scope": "add scope here", + "additionalProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "extendedProperties": { + "property1" : "propertyValue1", + "property2" : "propertyValue2" + }, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + } +} + + + + +### +# @name deleteSchemaAttribute +# Delete a schema attribute. +# +# @param schemaAttributeGUID unique identifier of the element to delete +# Request body provides description of the relationship. +# +# Returns void or +# InvalidParameterException one of the parameters is null or invalid. +# PropertyServerException a problem retrieving information from the property server(s). +# UserNotAuthorizedException the requesting user is not authorized to issue this request. +# +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-attributes/{{schemaAttributeGUID}}/delete +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteElementRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + + +### +# @name getSchemaAttributesByName +# Returns the list of schema attributes with a particular name. +# +# Request body provides string to find in the properties +# +# Returns list of matching metadata elements or +# InvalidParameterException one of the parameters is invalid +# UserNotAuthorizedException the user is not authorized to issue this request +# PropertyServerException a problem reported in the open metadata server(s) +# +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-attributes/by-name +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "FilterRequestBody", + "filter" : "Add name here", + "startFrom": 0, + "pageSize": 10, + "asOfTime" : "{{$isoTimestamp}}", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "limitResultsByStatus" : ["ACTIVE"], + "sequencingOrder" : "PROPERTY_ASCENDING", + "sequencingProperty" : "qualifiedName" +} + + +### +# @name findSchemaAttributes +# Retrieve the list of schema attribute metadata elements that contain the search string. +# +# Request body provides string to find in the properties +# +# Returns list of matching metadata elements or +# InvalidParameterException one of the parameters is invalid +# UserNotAuthorizedException the user is not authorized to issue this request +# PropertyServerException a problem reported in the open metadata server(s) +# +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-attributes/by-search-string +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "SearchStringRequestBody", + "searchString": "xxx", + "startsWith" : false, + "endsWith" : false, + "ignoreCase" : true, + "startFrom" : 0, + "pageSize": 0, + "asOfTime" : "{{$isoTimestamp}}", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false, + "limitResultsByStatus" : ["ACTIVE"], + "sequencingOrder" : "PROPERTY_ASCENDING", + "sequencingProperty" : "qualifiedName" +} + + +### +# @name getSchemaAttributeByGUID +# Return the properties of a specific schema attribute. +# +# @param schemaAttributeGUID unique identifier of the required element +# Request body provides string to find in the properties +# +# Returns list of matching metadata elements or +# InvalidParameterException one of the parameters is invalid +# UserNotAuthorizedException the user is not authorized to issue this request +# PropertyServerException a problem reported in the open metadata server(s) +# +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-attributes/{{schemaAttributeGUID}}/retrieve"}) +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "GetRequestBody", + "asOfTime" : "{{$isoTimestamp}}", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# ===================================================================================================================== +# Schema element relationships + +### +# @name linkNestedSchemaAttribute +# Attach a nested schema attribute to its parent schema attribute. +# +# @param serverName name of the server to route the request to +# @param urlMarker view service URL marker +# @param schemaAttributeGUID unique identifier of the parent schema attribute +# @param nestedSchemaAttributeGUID unique identifier of the nested schema attribute +# @param requestBody properties for the relationship +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-attributes/{{schemaAttributeGUID}}/nested-schema-attributes/{{nestedSchemaAttributeGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "NestedSchemaAttributeProperties", + "position": 0, + "minCardinality": 0, + "maxCardinality": 1, + "coverageCategory": "CORE_DETAIL", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachNestedSchemaAttribute +# Detach a nested schema attribute from its parent schema attribute. +# +# @param serverName name of the server to route the request to +# @param urlMarker view service URL marker +# @param schemaAttributeGUID unique identifier of the parent schema attribute +# @param nestedSchemaAttributeGUID unique identifier of the nested schema attribute +# @param requestBody delete options +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-attributes/{{schemaAttributeGUID}}/nested-schema-attributes/{{nestedSchemaAttributeGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name linkAttributeForSchema +# Attach a schema attribute to the schema type that it belongs to. +# +# @param serverName name of the server to route the request to +# @param urlMarker view service URL marker +# @param schemaTypeGUID unique identifier of the schema type +# @param nestedSchemaAttributeGUID unique identifier of the schema attribute +# @param requestBody properties for the relationship +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-types/{{schemaTypeGUID}}/attribute-for-schema/{{nestedSchemaAttributeGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "AttributeForSchemaProperties", + "position": 0, + "minCardinality": 0, + "maxCardinality": 1, + "coverageCategory": "CORE_DETAIL", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachAttributeForSchema +# Detach a schema attribute from the schema type that it belongs to. +# +# @param serverName name of the server to route the request to +# @param urlMarker view service URL marker +# @param schemaTypeGUID unique identifier of the schema type +# @param nestedSchemaAttributeGUID unique identifier of the schema attribute +# @param requestBody delete options +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-types/{{schemaTypeGUID}}/attribute-for-schema/{{nestedSchemaAttributeGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name linkForeignKey +# Attach a foreign key column to the primary key column that it refers to. +# +# @param serverName name of the server to route the request to +# @param urlMarker view service URL marker +# @param primaryKeyColumnGUID unique identifier of the primary key column +# @param foreignKeyColumnGUID unique identifier of the foreign key column +# @param requestBody properties for the relationship +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-attributes/{{primaryKeyColumnGUID}}/foreign-keys/{{foreignKeyColumnGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "ForeignKeyProperties", + "displayName": "add display name", + "description": "add description", + "confidence": 100, + "steward": "add steward name", + "source": "add source", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachForeignKey +# Detach a foreign key column from the primary key column that it refers to. +# +# @param serverName name of the server to route the request to +# @param urlMarker view service URL marker +# @param primaryKeyColumnGUID unique identifier of the primary key column +# @param foreignKeyColumnGUID unique identifier of the foreign key column +# @param requestBody delete options +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-attributes/{{primaryKeyColumnGUID}}/foreign-keys/{{foreignKeyColumnGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name linkExternalSchemaType +# Attach an external schema type to the schema element that uses it. +# +# @param serverName name of the server to route the request to +# @param urlMarker view service URL marker +# @param schemaElementGUID unique identifier of the schema element +# @param schemaTypeGUID unique identifier of the external schema type +# @param requestBody properties for the relationship +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-elements/{{schemaElementGUID}}/linked-external-schema-types/{{schemaTypeGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "LinkedExternalSchemaTypeProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachExternalSchemaType +# Detach an external schema type from the schema element that uses it. +# +# @param serverName name of the server to route the request to +# @param urlMarker view service URL marker +# @param schemaElementGUID unique identifier of the schema element +# @param schemaTypeGUID unique identifier of the external schema type +# @param requestBody delete options +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-elements/{{schemaElementGUID}}/linked-external-schema-types/{{schemaTypeGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name linkMapFromSchemaType +# Attach the schema type that describes the domain (from) element of a map. +# +# @param serverName name of the server to route the request to +# @param urlMarker view service URL marker +# @param schemaElementGUID unique identifier of the map schema element +# @param schemaTypeGUID unique identifier of the schema type describing the domain of the map +# @param requestBody properties for the relationship +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-elements/{{schemaElementGUID}}/map-from-element-types/{{schemaTypeGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "MapFromElementTypeProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachMapFromSchemaType +# Detach the schema type that describes the domain (from) element of a map. +# +# @param serverName name of the server to route the request to +# @param urlMarker view service URL marker +# @param schemaElementGUID unique identifier of the map schema element +# @param schemaTypeGUID unique identifier of the schema type describing the domain of the map +# @param requestBody delete options +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-elements/{{schemaElementGUID}}/map-from-element-types/{{schemaTypeGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name linkMapToSchemaType +# Attach the schema type that describes the range (to) element of a map. +# +# @param serverName name of the server to route the request to +# @param urlMarker view service URL marker +# @param schemaElementGUID unique identifier of the map schema element +# @param schemaTypeGUID unique identifier of the schema type describing the range of the map +# @param requestBody properties for the relationship +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-elements/{{schemaElementGUID}}/map-to-element-types/{{schemaTypeGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "MapToElementTypeProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachMapToSchemaType +# Detach the schema type that describes the range (to) element of a map. +# +# @param serverName name of the server to route the request to +# @param urlMarker view service URL marker +# @param schemaElementGUID unique identifier of the map schema element +# @param schemaTypeGUID unique identifier of the schema type describing the range of the map +# @param requestBody delete options +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-elements/{{schemaElementGUID}}/map-to-element-types/{{schemaTypeGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name linkGraphEdge +# Attach a graph edge to one of the graph vertices that it connects. +# +# @param serverName name of the server to route the request to +# @param urlMarker view service URL marker +# @param graphEdgeGUID unique identifier of the graph edge +# @param graphVertexGUID unique identifier of the graph vertex +# @param requestBody properties for the relationship +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/graph-edges/{{graphEdgeGUID}}/graph-vertices/{{graphVertexGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "GraphEdgeLinkProperties", + "linkTypeName": "add link type name", + "relationshipEnd": 1, + "relationshipEndName": "add end name", + "description": "add description", + "minCardinality": 0, + "maxCardinality": 1, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachGraphEdge +# Detach a graph edge from one of the graph vertices that it connects. +# +# @param serverName name of the server to route the request to +# @param urlMarker view service URL marker +# @param graphEdgeGUID unique identifier of the graph edge +# @param graphVertexGUID unique identifier of the graph vertex +# @param requestBody delete options +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/graph-edges/{{graphEdgeGUID}}/graph-vertices/{{graphVertexGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name linkQueryTarget +# Attach a query target to the derived schema element that queries it. +# +# @param serverName name of the server to route the request to +# @param urlMarker view service URL marker +# @param schemaElementGUID unique identifier of the derived schema element +# @param queryTargetSchemaElementGUID unique identifier of the schema element supplying the query target +# @param requestBody properties for the relationship +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-elements/{{schemaElementGUID}}/query-targets/{{queryTargetSchemaElementGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "DerivedSchemaTypeQueryTargetProperties", + "label": "add label", + "description": "add description", + "queryId": "add id that is used on the overall formula", + "query": "add query", + "queryType": "add query type", + "iscQualifiedName": "add information supply chain qualified name", + "derivation": "add the rule that derived this relationship, if a tool derived it", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachQueryTarget +# Detach a query target from the derived schema element that queries it. +# +# @param serverName name of the server to route the request to +# @param urlMarker view service URL marker +# @param schemaElementGUID unique identifier of the derived schema element +# @param queryTargetSchemaElementGUID unique identifier of the schema element supplying the query target +# @param requestBody delete options +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-elements/{{schemaElementGUID}}/query-targets/{{queryTargetSchemaElementGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name linkSchema +# Attach a schema type to the element that it describes. +# +# @param serverName name of the server to route the request to +# @param urlMarker view service URL marker +# @param elementGUID unique identifier of the element that is described by the schema type +# @param schemaTypeGUID unique identifier of the schema type +# @param requestBody properties for the relationship +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/elements/{{elementGUID}}/schema-types/{{schemaTypeGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "SchemaProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachSchema +# Detach a schema type from the element that it describes. +# +# @param serverName name of the server to route the request to +# @param urlMarker view service URL marker +# @param elementGUID unique identifier of the element that is described by the schema type +# @param schemaTypeGUID unique identifier of the schema type +# @param requestBody delete options +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/elements/{{elementGUID}}/schema-types/{{schemaTypeGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# ===================================================================================================================== +# Relational database schema relationships +# https://egeria-project.org/concepts/schema-type + +@databaseSchemaTypeListGUID=add guid here +@relationalDBSchemaTypeGUID=add guid here + +### +# @name linkRelationalDBSchema +# Attach a relational database schema type to the list that contains it. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/relational-db-schema-type-lists/{{databaseSchemaTypeListGUID}}/relational-db-schemas/{{relationalDBSchemaTypeGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "RelationalDBSchemaProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachRelationalDBSchema +# Detach a relational database schema type from the list that contained it. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/relational-db-schema-type-lists/{{databaseSchemaTypeListGUID}}/relational-db-schemas/{{relationalDBSchemaTypeGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# ===================================================================================================================== +# Schema element classifications +# https://egeria-project.org/concepts/schema-attribute + +@relationalColumnGUID=add guid here + +### +# @name addPrimaryKeyClassification +# Add the PrimaryKey classification to a relational column. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/relational-columns/{{relationalColumnGUID}}/primary-key +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "PrimaryKeyProperties", + "displayName": "add primary key name here", + "keyPattern": "LOCAL_KEY", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name removePrimaryKeyClassification +# Remove the PrimaryKey classification from a relational column. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/relational-columns/{{relationalColumnGUID}}/primary-key/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name addTypeEmbeddedAttribute +# Add the TypeEmbeddedAttribute classification to a schema attribute. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-attributes/{{schemaAttributeGUID}}/type-embedded-attribute +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "TypeEmbeddedAttributeProperties", + "schemaTypeName": "add schema type name here", + "qualifiedName": "add unique name here", + "displayName": "add short name here", + "description": "add description here", + "versionIdentifier": "add version here", + "category": "add category here", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name removeTypeEmbeddedAttribute +# Remove the TypeEmbeddedAttribute classification from a schema attribute. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-attributes/{{schemaAttributeGUID}}/type-embedded-attribute/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name addCalculatedValue +# Add the CalculatedValue classification to a schema element to show that its value is derived by a formula. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-attributes/{{schemaAttributeGUID}}/calculated-value +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewClassificationRequestBody", + "properties": { + "class": "CalculatedValueProperties", + "formula": "add formula here", + "formulaType": "add formula type here", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name removeCalculatedValue +# Remove the CalculatedValue classification from a schema element. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-attributes/{{schemaAttributeGUID}}/calculated-value/remove +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteClassificationRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# ===================================================================================================================== +# API and schema option relationships +# https://egeria-project.org/concepts/schema-type + +@apiOperationGUID=add guid here +@apiSchemaTypeGUID=add guid here +@schemaElementGUID=add guid here + +### +# @name linkAPIOperations +# Attach an API operation to the API schema type that contains it. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/api-schema-types/{{apiSchemaTypeGUID}}/api-operations/{{apiOperationGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "APIOperationsProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachAPIOperations +# Detach an API operation from the API schema type that contained it. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/api-schema-types/{{apiSchemaTypeGUID}}/api-operations/{{apiOperationGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name linkAPIHeader +# Attach a schema type to the API operation that uses it as its header. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/api-operations/{{apiOperationGUID}}/api-headers/{{schemaTypeGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "APIHeaderProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachAPIHeader +# Detach a schema type from the API operation that used it as its header. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/api-operations/{{apiOperationGUID}}/api-headers/{{schemaTypeGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name linkAPIRequest +# Attach a schema type to the API operation that uses it as its request. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/api-operations/{{apiOperationGUID}}/api-requests/{{schemaTypeGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "APIRequestProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachAPIRequest +# Detach a schema type from the API operation that used it as its request. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/api-operations/{{apiOperationGUID}}/api-requests/{{schemaTypeGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name linkAPIResponse +# Attach a schema type to the API operation that uses it as its response. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/api-operations/{{apiOperationGUID}}/api-responses/{{schemaTypeGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "APIResponseProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachAPIResponse +# Detach a schema type from the API operation that used it as its response. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/api-operations/{{apiOperationGUID}}/api-responses/{{schemaTypeGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name linkSchemaTypeOption +# Attach a schema type to a schema element that may optionally use it. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-elements/{{schemaElementGUID}}/schema-type-options/{{schemaTypeGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class": "SchemaTypeOptionProperties", + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachSchemaTypeOption +# Detach a schema type from a schema element that may optionally have used it. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/schema-elements/{{schemaElementGUID}}/schema-type-options/{{schemaTypeGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# ===================================================================================================================== +# Process schemas +# https://egeria-project.org/types/5/0520-Process-Schemas/ + +@elementGUID=add guid here +@schemaTypeGUID=add guid here + +### +# @name linkSupportedVariableType +# Attach an element (such as a process) to a schema type that describes a type of data value used to initialize/configure it. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/elements/{{elementGUID}}/supported-variable-types/{{schemaTypeGUID}}/attach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "NewRelationshipRequestBody", + "properties": { + "class" : "SupportedVariableTypeProperties", + "label": "add label here", + "description": "add description here", + "position": 0, + "minCardinality": 0, + "maxCardinality": 1, + "effectiveFrom": "{{$isoTimestamp}}", + "effectiveTo": "{{$isoTimestamp}}" + }, + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### +# @name detachSupportedVariableType +# Detach an element (such as a process) from a schema type that describes a type of data value used to initialize/configure it. +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/schema-maker/elements/{{elementGUID}}/supported-variable-types/{{schemaTypeGUID}}/detach +Authorization: Bearer {{token}} +Content-Type: application/json + +{ + "class" : "DeleteRelationshipRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "effectiveTime" : "{{$isoTimestamp}}", + "forLineage" : false, + "forDuplicateProcessing" : false +} + +### diff --git a/tests/fixtures/egeria-6.4/SOURCE b/tests/fixtures/egeria-6.4/SOURCE new file mode 100644 index 000000000..ab5017e96 --- /dev/null +++ b/tests/fixtures/egeria-6.4/SOURCE @@ -0,0 +1,4 @@ +odpi/egeria#9463 (branch oak2026) +head: 0dbf468774c7f3dc102dd677b720b670ed6a8e09 +merged: 90232870b2 on odpi/egeria main, 2026-11-21 (same tree as the head) +files: the five Egeria-api-*.http collections at the head, copied unchanged with git show : diff --git a/tests/micro-tests/test_egeria_6_4_names.py b/tests/micro-tests/test_egeria_6_4_names.py new file mode 100644 index 000000000..de5cfc38a --- /dev/null +++ b/tests/micro-tests/test_egeria_6_4_names.py @@ -0,0 +1,80 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +"""A0 for the Egeria 6.4 additions (odpi/egeria#9463): the names module agrees with the generated tables and +with the PR's `.http` sample collections, and every one names the same Egeria source sha.""" +import re +from pathlib import Path + +import pytest + +from md_processing.md_processing_utils.properties_class_fields import PROPERTIES_CLASS_FIELDS +from pyegeria.core import egeria_6_4_names as n +from pyegeria.view.egeria_relationship_fields import RELATIONSHIP_FIELDS + +FIXTURES = Path(__file__).resolve().parent.parent / "fixtures" / "egeria-6.4" +HTTP_FILES = ("Egeria-api-governance-officer.http", "Egeria-api-data-engineer.http", + "Egeria-api-project-manager.http", "Egeria-api-devops-pipeline.http", "Egeria-api-schema-maker.http") +# A path segment that only the 6.4 requests use; it picks the 6.4 requests out of the full collections. +_6_4_SEGMENTS = {"decisions", "outcomes", "assessments", "data-values", "data-value-sources", + "processing-variables", "embedded-data-values", "project-targets", "branch", + "supported-variable-types"} +_POST = re.compile(r"^POST\s+\{\{baseURL\}\}/servers/\{\{viewServer\}\}/api/open-metadata/(\S+?)(?:\?\S*)?\s*$", re.M) + + +def _http_paths() -> set[str]: + paths = set() + for name in HTTP_FILES: + for path in _POST.findall((FIXTURES / name).read_text(encoding="utf-8")): + path = re.sub(r"\{\{(\w+)\}\}", r"{\1}", path) + if _6_4_SEGMENTS & set(path.split("/")): + paths.add(path) + return paths + + +def test_counts_match_the_spec(): + assert len(n.TYPE_NAMES) == len(set(n.TYPE_NAMES)) == 11 + assert len(n.ROOT_ELEMENT_LISTS) == 14 + assert len(n.PROPERTIES_CLASSES) == 11 + assert len(n.URL_PATHS) == len(set(n.URL_PATHS)) == 31 + assert set(n.ROOT_ELEMENT_LISTS.values()) <= set(n.TYPE_NAMES) + + +@pytest.mark.parametrize("list_name", sorted(n.ROOT_ELEMENT_LISTS)) +def test_root_element_list_is_generated_with_its_relationship_type(list_name): + assert list_name in RELATIONSHIP_FIELDS, f"{list_name} is missing: regenerate egeria_relationship_fields.py" + assert RELATIONSHIP_FIELDS[list_name] == (n.ROOT_ELEMENT_LISTS[list_name],) + + +@pytest.mark.parametrize("cls", sorted(n.PROPERTIES_CLASSES)) +def test_properties_class_is_generated_with_the_spec_keys(cls): + assert cls in PROPERTIES_CLASS_FIELDS, f"{cls} is missing: regenerate properties_class_fields.py" + kind, keys = n.PROPERTIES_CLASSES[cls] + gen_kind, gen_keys = PROPERTIES_CLASS_FIELDS[cls] + assert gen_kind == kind + assert set(keys) <= set(gen_keys), f"{cls} lacks {sorted(set(keys) - set(gen_keys))}" + + +def test_assessment_properties_example_from_the_plan(): + kind, keys = PROPERTIES_CLASS_FIELDS["AssessmentProperties"] + assert kind == "relationship" and {"assessmentTime", "assessorTypeName"} <= set(keys) + + +def test_branch_properties_has_no_label_or_description(): + _, keys = PROPERTIES_CLASS_FIELDS["BranchProperties"] + assert not {"label", "description"} & set(keys) + + +def test_names_module_and_http_paths_agree(): + http = _http_paths() + names = set(n.URL_PATHS) + assert not names - http, f"in egeria_6_4_names but not in the .http collections: {sorted(names - http)}" + assert not http - names, f"in the .http collections but not in egeria_6_4_names: {sorted(http - names)}" + + +def test_fixtures_and_generated_tables_name_the_same_source_sha(): + sha = n.EGERIA_6_4_SOURCE_SHA + assert f"head: {sha}" in (FIXTURES / "SOURCE").read_text(encoding="utf-8") + import md_processing.md_processing_utils.properties_class_fields as pcf + import pyegeria.view.egeria_relationship_fields as erf + assert sha in pcf.__doc__, "properties_class_fields.py was not generated from the fixtures' sha" + assert sha[:10] in erf.__doc__, "egeria_relationship_fields.py was not generated from the fixtures' sha" From 0010735c7f2b7ef0d628b9b9bd9801f75ceb39ad Mon Sep 17 00:00:00 2001 From: Dan Wolfson Date: Sat, 21 Nov 2026 14:25:05 -0600 Subject: [PATCH 02/19] feat(audit): properties-class audit of built request bodies (Egeria 6.4 A5) Egeria reads Properties beans with ignoreUnknown=true, so a body whose properties.class doesn't read a key we send drops it silently (TR-89 lost libraryType under SoftwareCapabilityProperties). This adds scripts/audit_properties_class_bodies.py, an AST scan of the bodies our code builds that reports UNREAD_KEYS, PARENT_CLASS and NO_CLASS, counts pass-throughs and table-filtering helpers, and lists what it can't classify instead of guessing. Keys read = PROPERTIES_CLASS_FIELDS plus, when an Egeria clone is present, the public setters in the class chain at the table's source sha (git cat-file, read-only); that also exposes table gaps in gen_properties_class_fields (package-private fields, superclasses outside properties/). The report for egeria-python, egeria-workspaces and trellis is in docs/audits/properties-class-audit-2026-11-21.md. No fixes here: each finding is its own item. Signed-off-by: Dan Wolfson --- .../properties-class-audit-2026-11-21.md | 318 +++++++ scripts/audit_properties_class_bodies.py | 787 ++++++++++++++++++ .../test_audit_properties_class_bodies.py | 261 ++++++ 3 files changed, 1366 insertions(+) create mode 100644 docs/audits/properties-class-audit-2026-11-21.md create mode 100644 scripts/audit_properties_class_bodies.py create mode 100644 tests/micro-tests/test_audit_properties_class_bodies.py diff --git a/docs/audits/properties-class-audit-2026-11-21.md b/docs/audits/properties-class-audit-2026-11-21.md new file mode 100644 index 000000000..7247d095b --- /dev/null +++ b/docs/audits/properties-class-audit-2026-11-21.md @@ -0,0 +1,318 @@ +# Properties-class audit of built request bodies (2026-11-21) + +Egeria 6.4 build plan, branch A5 (§3 of `DESIGN-EGERIA-6.4-ADDITIONS-BUILD-PLAN-2026-11-21.md`). **This is a report only: nothing in this branch fixes anything.** Each fix below becomes its own small item. + +## Why + +Egeria deserialises its Properties beans with `@JsonIgnoreProperties(ignoreUnknown=true)`. If a body's `properties.class` names a class that doesn't read a key we send, **Egeria drops that key and reports no error.** That is how TR-89 lost `libraryType`: it was sent under `SoftwareCapabilityProperties`, and only `SourceControlLibraryProperties` reads it. + +A wrong, unrelated class is a different case. laz's Egeria already rejects it loudly (`handleInvalidPropertiesObject`, 386 sites), so this audit only hunts the quiet cases. + +## What was scanned + +| repo | ref | what | +|---|---|---| +| egeria-python | upstream/main `6232bcfa` | `pyegeria/`, `md_processing/` | +| egeria-workspaces | upstream/main `61251c77` | whole tree, read-only via `git archive` into a scratch dir | +| trellis | origin/main `b3d9c69d` | whole tree, read-only via `git archive` into a scratch dir | +| Egeria | `c61bad6514` (the sha `properties_class_fields.py` was generated from) | class hierarchy and Jackson setters, read with `git cat-file` (no checkout) | + +Two kinds of file are skipped by default: tests and fakes (`tests/` dirs, `test_*.py`, `fake_*.py`, `conftest.py`), because they don't send to a real Egeria. Use `--include-tests` to scan them too. No Egeria server was called. + +To reproduce it: + +```bash +python scripts/audit_properties_class_bodies.py pyegeria md_processing \ + --label egeria-python --label egeria-python --label egeria-workspaces --label trellis \ + --base . --base . --base --base --report report.md +``` + +## How "built" was told apart from pass-through + +The scan is AST-based and works on Python only. + +**Built (checked):** +- a dict literal in our code whose `"class"` is a Properties class; +- plus keys added to it later in the same function: `x["k"] = …`, `x.update({...})` / `x.update(k=…)`, `x.setdefault("k", …)`, `x |= {...}`; +- plus `**` spreads that resolve to another literal in the same function. + +A name resolves to its **nearest preceding assignment**, so one `props` reused across `if/elif` branches keeps each branch's keys apart. A string class bound to a name in the same function (`cls = "XProperties"`) is resolved too. + +**Built by a table-filtering helper (counted, not checked):** Dr.Egeria's `typed_properties` family in `md_processing/md_processing_utils/typed_properties.py`. These helpers keep only the keys the class reads and note the rest, so they are correct by construction. + +**Pass-through (counted, skipped):** a `properties` / `parentRelationshipProperties` / `replacementProperties` slot whose value is a parameter of the enclosing function, meaning the caller supplied the properties. A pyegeria method that takes a whole `body` from its caller isn't counted here. It has no literal to check, so it never appears at all. + +**Unclassified (listed, never guessed):** +- a class that is an expression we can't resolve (`f"{t}Properties"`, a parameter, a lookup table); +- a `*Properties` class missing from the table; +- a slot filled by a call or another non-literal; +- a `**` spread or computed key we can't resolve (the static keys are still checked); +- a slot assigned on a parameter (`body["properties"] = {}`); +- a query class whose inherited fields the table lacks. + +**What counts as "read":** the table's keys, plus, when an Egeria clone is present, every public setter in the class's superclass chain. Jackson binds through setters (`setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE`), so the setters are the ground truth. This matters because the table has gaps (see "Table gaps seen in use" at the end): +- `gen_properties_class_fields.py`'s field regex misses package-private fields, such as `ResourceListProperties.resourceUse`; +- it also misses superclasses outside the `properties` packages, such as `GetOptions`, `SearchOptions` and `QueryOptions`. + +Checked against the table alone, that would give 9 false findings. + +**How a parent class is detected (`PARENT_CLASS`):** the named class is an ancestor, in Egeria's hierarchy, of a more specific Properties class that the call is evidently about. The evidence is any of: +- the body's own literal `"typeName"`. When this is present, it is the only evidence used; +- the enclosing function's name, e.g. `create_source_control_library`; +- a URL path segment in the same function, e.g. `/source-control-libraries`. + +Without an Egeria clone, "ancestor" is *inferred* as "same kind and a strict superset of fields", and the report says so. + +## How this differs from the attribute-consumption audit + +`scripts/dr_egeria_attribute_consumption_audit.py` (dr-egeria-command-sync, Step 3) checks the layer above this one: +- **That audit** asks whether a Dr.Egeria processor reads every attribute its compact spec declares. It works spec → processor, by display-name string search. +- **This audit** asks whether the body the code then sends names a class that Egeria will actually read those keys from. It works code → wire, by AST and Egeria's Java. + +An attribute can pass the sibling audit and still be lost here, because it was read and sent but under the wrong class. That was TR-89's shape. No parsing was shared: the sibling works on compact-spec JSON and string search, and this one needs Python ASTs. + +## Triage and suggested fix items + +Each row is a separate fix item. The ones marked *read* were confirmed by reading the code, not only by the script. + +| # | where | what is lost | suggested fix | confidence | +|---|---|---|---|---| +| F1 | `pyegeria/core/_server_client.py:5571` `_async_add_search_keyword_to_element` | `keyword` is the **only** key sent; `SearchKeywordProperties` reads `displayName`/`description`, so the keyword entity is created empty | send `displayName` (Dr.Egeria's curation.py already does) | read | +| F2 | `pyegeria/omvs/project_manager.py:1350, 1654, 2387` (create / update project, create task) | `startDate`, `plannedEndDate` | `plannedStartDate`, `plannedCompletionDate` (also `actualStartDate`/`actualCompletionDate` exist) | read | +| F3 | `md_processing/v2/governance.py:374, 530` (Certification) and `:395, 563` (License) | `startDate`, `endDate`; for Certification also `entitlements`, `obligations`, `restrictions` | `coverageStart`, `coverageEnd`. Certification has no entitlements/obligations/restrictions in Egeria: drop them or ask Mandy (License does have them) | read | +| F4 | `pyegeria/core/_server_client.py:532` `FindPropertyNamesProperties` | `openMetadataType`, so the relationship-type filter is silently ignored | `metadataElementTypeName` (from `SearchOptions`) | read | +| F5 | `pyegeria/omvs/glossary_manager.py:1001, 1032` (CSV import); `pyegeria/view/md_processing_utils.py:1490, 1530` (legacy term upsert) | `publishVersionIdentifier`; also `status` at 1490 | `versionIdentifier`; `contentStatus` | read | +| F6 | `md_processing/v2/collection_manager_processor.py:408` AgreementActor | `actorRole`, `agreementStart/End`, `entitlements`, `obligations`, `restrictions`, `usageMeasurements` (only `agreementPartyName` is read) | send `agreementPartyName`; the rest belong to AgreementItem, so check the compact spec | read | +| F7 | `md_processing/v2/collection_manager_processor.py:373` AgreementItem | `agreementItemTypeName` | no Properties class reads it: drop it, or ask whether it should be `typeName` | read | +| F8 | `pyegeria/core/_server_client.py:3951` InformalTag | `name` (low impact: `displayName` is sent too) | drop `name` | read | +| F9 | trellis `resource_explorer/open_data/publish.py:92` `origin_body` | `owner`, `ownerTypeName`, `ownerPropertyName` on `DigitalResourceOriginProperties` | these belong to the `Ownership` classification (`OwnershipProperties`) | script | +| F10 | trellis `surveyors/egeria_investigation_publisher.py:208` | `ClassificationProperties` + `typeName` for the Investigation marker. Also PARENT_CLASS: `InvestigationProperties` exists | send `InvestigationProperties` | read | +| F11 | trellis `scripts/create_measure_definitions.py:200` | `description`, `label` on `ValidValueMemberProperties` (it reads `isDefaultValue`, `ordinal`) | drop them, or put them on the member entity | script | +| F12 | `md_processing/v2/schema_maker.py:300` SchemaLinkProcessor | `properties` with `label`/`description` and **no class** under NewRelationshipRequestBody. pyegeria's `validate_new_relationship_request` doesn't fill the class in (`NewRelationshipRequestBody.properties` is a plain `dict`, models.py:501) | add `f"{om_type}Properties"`, after checking that the relationship class reads label/description | read; 400 not proven live | +| F13 | egeria-workspaces `PyegeriaWebHandler/resource_browser_handler.py` `_create_list` (quickstart :2298, freshstart :2093) | PARENT_CLASS: `CollectionProperties` with `typeName "WorkingSet"`. Nothing is dropped today (`disposition` isn't sent) | send `WorkingSetProperties` | script | +| F14 | trellis, 7 SurveyReport creates (`egeria_publisher.py:1426`, `database/egeria_database_surveyor.py:845, 1386`, `filesystem/egeria_filesystem_surveyor.py:366, 600, 768, 844, 910`) | PARENT_CLASS: `AssetProperties` with `typeName "SurveyReport"`. Nothing is dropped today, but any future `analysisStep`/`completionTime`/… would be | send `SurveyReportProperties` (one trellis item covering all 7) | script | +| F15 | the generator `scripts/gen_properties_class_fields.py` | table gaps: package-private fields and superclasses outside `properties/`. Dr.Egeria's `typed_properties` would **refuse** valid keys sent through it, e.g. ResourceList `resourceUse`/`label`/`description`, AssignmentScope `assignmentType`/`description`, SupportingDefinition `rationale`, AssociatedSecurityList `operationName` | derive keys from public setters, as this audit does, or widen the field regex and the scanned paths. **Land it before or with A0's regeneration from `oak2026`** | read (Java checked) | + +`exchange-quickstart/project_manager.py` in egeria-workspaces had F2's sibling (`AssignmentScopeProperties`), which turned out to be a table gap, not a finding. That file is a vendored copy of pyegeria, so fixing F2 in pyegeria won't reach it. + +## Unclassified, in short + +There are 127 unclassified sites (egeria-python 94, egeria-workspaces 12, trellis 21), all listed below. +- **52** have a class the script can't resolve to a string. Most are generic helpers building `f"{type}Properties"`. +- **29** have a slot filled by a non-literal, mostly a call. +- The rest are unresolved spreads or `update(...)` calls, slots set on a parameter, and names not bound in scope. + +The biggest single follow-up is `md_processing_utils/common_md_utils.py` `set_element_prop_body` (`"class": prop_name + "Properties"`, 6 call sites listed). It builds keys for whatever type it's handed, so checking it needs a per-call-site (inter-procedural) pass. That is worth its own item. + +## Re-run on 6.4 + +Once A0 lands the `oak2026` tables, re-run with `--ref ` against the Egeria clone (after fetching the PR head) and the regenerated `properties_class_fields.py`. Do this before the 6.4 upgrade, as the plan's §3 says. + +# Generated report + +- properties table source: c61bad6514 +- class hierarchy: Egeria c61bad6514 (git cat-file, read-only): superclasses, and keys read = table ∪ public setters in the class chain +- tests and fakes: skipped + +### Totals + +| repo | files | bodies checked | UNREAD_KEYS | PARENT_CLASS | NO_CLASS | unclassified | pass-through | table-filtering helper | +|---|---|---|---|---|---|---|---|---| +| egeria-python | 177 | 185 | 16 | 0 | 1 | 94 | 4 | 4 | +| egeria-workspaces | 204 | 55 | 0 | 2 | 0 | 12 | 0 | 0 | +| trellis | 819 | 75 | 3 | 9 | 0 | 21 | 2 | 0 | + +### UNREAD_KEYS + +| repo | file:line | function | class | keys | detail | suggested fix | +|---|---|---|---|---|---|---| +| egeria-python | `pyegeria/core/_server_client.py:532` | `ServerClient._async_get_relationships_with_property_value` | FindPropertyNamesProperties | openMetadataType | FindPropertyNamesProperties doesn't read openMetadataType (added at line 534) | no single class reads them all (openMetadataType: no class) — drop them, split them into the right body, or move them to additionalProperties | +| egeria-python | `pyegeria/core/_server_client.py:3951` | `ServerClient._async_create_informal_tag` | InformalTagProperties | name | InformalTagProperties doesn't read name (added at line 3953) | no subclass of InformalTagProperties reads them; classes that do: FindPropertyNameProperties — use the right one, or drop/move the keys | +| egeria-python | `pyegeria/core/_server_client.py:5571` | `ServerClient._async_add_search_keyword_to_element` | SearchKeywordProperties | keyword | SearchKeywordProperties doesn't read keyword (added at line 5573) | no single class reads them all (keyword: no class) — drop them, split them into the right body, or move them to additionalProperties | +| egeria-python | `pyegeria/omvs/glossary_manager.py:1032` | `GlossaryManager._async_import_glossary_terms_from_csv` | GlossaryTermProperties | publishVersionIdentifier | GlossaryTermProperties doesn't read publishVersionIdentifier (added at line 1041) | no single class reads them all (publishVersionIdentifier: no class) — drop them, split them into the right body, or move them to additionalProperties; closest names this class reads: publishVersionIdentifier → versionIdentifier | +| egeria-python | `pyegeria/omvs/glossary_manager.py:1001` | `GlossaryManager._async_import_glossary_terms_from_csv` | GlossaryTermProperties | publishVersionIdentifier | GlossaryTermProperties doesn't read publishVersionIdentifier (added at line 1010) | no single class reads them all (publishVersionIdentifier: no class) — drop them, split them into the right body, or move them to additionalProperties; closest names this class reads: publishVersionIdentifier → versionIdentifier | +| egeria-python | `pyegeria/omvs/project_manager.py:1350` | `ProjectManager._async_create_project` | ProjectProperties | plannedEndDate, startDate | ProjectProperties doesn't read plannedEndDate, startDate (added at line 1359, 1360) | no single class reads them all (plannedEndDate: no class; startDate: RegisteredIntegrationConnectorProperties) — drop them, split them into the right body, or move them to additionalProperties; closest names this class reads: plannedEndDate → plannedStartDate / plannedCompletionDate; startDate → actualStartDate / plannedStartDate | +| egeria-python | `pyegeria/omvs/project_manager.py:1654` | `ProjectManager._async_update_project` | ProjectProperties | plannedEndDate, startDate | ProjectProperties doesn't read plannedEndDate, startDate (added at line 1663, 1664) | no single class reads them all (plannedEndDate: no class; startDate: RegisteredIntegrationConnectorProperties) — drop them, split them into the right body, or move them to additionalProperties; closest names this class reads: plannedEndDate → plannedStartDate / plannedCompletionDate; startDate → actualStartDate / plannedStartDate | +| egeria-python | `pyegeria/omvs/project_manager.py:2387` | `ProjectManager._async_create_project_task` | ProjectProperties | plannedEndDate, startDate | ProjectProperties doesn't read plannedEndDate, startDate (added at line 2396, 2397) | no single class reads them all (plannedEndDate: no class; startDate: RegisteredIntegrationConnectorProperties) — drop them, split them into the right body, or move them to additionalProperties; closest names this class reads: plannedEndDate → plannedStartDate / plannedCompletionDate; startDate → actualStartDate / plannedStartDate | +| egeria-python | `pyegeria/view/md_processing_utils.py:1530` | `process_term_upsert_command` | GlossaryTermProperties | publishVersionIdentifier | GlossaryTermProperties doesn't read publishVersionIdentifier (added at line 1533) | no single class reads them all (publishVersionIdentifier: no class) — drop them, split them into the right body, or move them to additionalProperties; closest names this class reads: publishVersionIdentifier → versionIdentifier | +| egeria-python | `pyegeria/view/md_processing_utils.py:1490` | `process_term_upsert_command` | GlossaryTermProperties | publishVersionIdentifier, status | GlossaryTermProperties doesn't read publishVersionIdentifier, status (added at line 1493) | no single class reads them all (publishVersionIdentifier: no class; status: SemanticAssignmentQueryProperties) — drop them, split them into the right body, or move them to additionalProperties; closest names this class reads: publishVersionIdentifier → versionIdentifier | +| egeria-python | `md_processing/v2/collection_manager_processor.py:408` | `CollectionLinkProcessor.apply_changes` | AgreementActorProperties | actorRole, agreementEnd, agreementStart, entitlements, obligations, restrictions, usageMeasurements | AgreementActorProperties doesn't read actorRole, agreementEnd, agreementStart, entitlements, obligations, restrictions, usageMeasurements (added at line 411, 412, 413, 414, 415, 416, 417) | no single class reads them all (actorRole: no class; agreementEnd: AgreementItemProperties; agreementStart: AgreementItemProperties; entitlements: AgreementItemProperties, CertificationTypeProperties, LicenseProperties …; obligations: AgreementItemProperties, CertificationTypeProperties, LicenseProperties …; restrictions: AgreementItemProperties, CertificationTypeProperties, LicenseProperties …; usageMeasurements: AgreementItemProperties) — drop them, split them into the right body, or move them to additionalProperties; closest names this class reads: agreementEnd → agreementPartyName; agreementStart → agreementPartyName | +| egeria-python | `md_processing/v2/collection_manager_processor.py:373` | `CollectionLinkProcessor.apply_changes` | AgreementItemProperties | agreementItemTypeName | AgreementItemProperties doesn't read agreementItemTypeName (added at line 377) | no single class reads them all (agreementItemTypeName: no class) — drop them, split them into the right body, or move them to additionalProperties; closest names this class reads: agreementItemTypeName → agreementItemId / agreementStart | +| egeria-python | `md_processing/v2/governance.py:563` | `GovernanceLinkProcessor.apply_changes` | LicenseProperties | endDate, startDate | LicenseProperties doesn't read endDate, startDate (added at line 566, 567) | no single class reads them all (endDate: no class; startDate: RegisteredIntegrationConnectorProperties) — drop them, split them into the right body, or move them to additionalProperties | +| egeria-python | `md_processing/v2/governance.py:530` | `GovernanceLinkProcessor.apply_changes` | CertificationProperties | endDate, entitlements, obligations, restrictions, startDate | CertificationProperties doesn't read endDate, entitlements, obligations, restrictions, startDate (added at line 533, 534, 545, 546, 547) | no single class reads them all (endDate: no class; entitlements: AgreementItemProperties, CertificationTypeProperties, LicenseProperties …; obligations: AgreementItemProperties, CertificationTypeProperties, LicenseProperties …; restrictions: AgreementItemProperties, CertificationTypeProperties, LicenseProperties …; startDate: RegisteredIntegrationConnectorProperties) — drop them, split them into the right body, or move them to additionalProperties; closest names this class reads: obligations → conditions | +| egeria-python | `md_processing/v2/governance.py:395` | `GovernanceLinkProcessor.apply_changes` | LicenseProperties | endDate, startDate | LicenseProperties doesn't read endDate, startDate (added at line 397, 398) | no single class reads them all (endDate: no class; startDate: RegisteredIntegrationConnectorProperties) — drop them, split them into the right body, or move them to additionalProperties | +| egeria-python | `md_processing/v2/governance.py:374` | `GovernanceLinkProcessor.apply_changes` | CertificationProperties | endDate, entitlements, obligations, restrictions, startDate | CertificationProperties doesn't read endDate, entitlements, obligations, restrictions, startDate (added at line 376, 377, 388, 389, 390) | no single class reads them all (endDate: no class; entitlements: AgreementItemProperties, CertificationTypeProperties, LicenseProperties …; obligations: AgreementItemProperties, CertificationTypeProperties, LicenseProperties …; restrictions: AgreementItemProperties, CertificationTypeProperties, LicenseProperties …; startDate: RegisteredIntegrationConnectorProperties) — drop them, split them into the right body, or move them to additionalProperties; closest names this class reads: obligations → conditions | +| trellis | `packages/resource-explorer/resource_explorer/open_data/publish.py:92` | `origin_body` | DigitalResourceOriginProperties | owner, ownerPropertyName, ownerTypeName | DigitalResourceOriginProperties doesn't read owner, ownerPropertyName, ownerTypeName (added at line 92, 93) | no subclass of DigitalResourceOriginProperties reads them; classes that do: OwnershipProperties — use the right one, or drop/move the keys; closest names this class reads: ownerPropertyName → organizationPropertyName; ownerTypeName → typeName | +| trellis | `packages/resource-explorer/resource_explorer/surveyors/egeria_investigation_publisher.py:208` | `_apply_investigation_marker` | ClassificationProperties | typeName | ClassificationProperties doesn't read typeName (added at line 209) | name the subclass that reads them: AbstractConceptProperties, AccountingCodesProperties, ActivityDescriptionProperties, AnchorsProperties | +| trellis | `packages/resource-explorer/scripts/create_measure_definitions.py:200` | `_link_member` | ValidValueMemberProperties | description, label | ValidValueMemberProperties doesn't read description, label (added at line 203, 204) | no subclass of ValidValueMemberProperties reads them; classes that do: ActionRequesterProperties, ActionsProperties, AdjacentLocationProperties, AnnotationExtensionProperties … — use the right one, or drop/move the keys | + +### PARENT_CLASS + +| repo | file:line | function | class | keys | detail | suggested fix | +|---|---|---|---|---|---|---| +| egeria-workspaces | `compose-configs/egeria-freshstart/PyegeriaWebHandler/resource_browser_handler.py:2093` | `_create_list` | CollectionProperties | — | CollectionProperties is a parent of WorkingSetProperties (typeName "WorkingSet") [Egeria hierarchy]; subclass-only fields: disposition | send WorkingSetProperties (check the endpoint's element type first) | +| egeria-workspaces | `compose-configs/egeria-quickstart/PyegeriaWebHandler/resource_browser_handler.py:2298` | `_create_list` | CollectionProperties | — | CollectionProperties is a parent of WorkingSetProperties (typeName "WorkingSet") [Egeria hierarchy]; subclass-only fields: disposition | send WorkingSetProperties (check the endpoint's element type first) | +| trellis | `packages/resource-explorer/resource_explorer/surveyors/egeria_investigation_publisher.py:208` | `_apply_investigation_marker` | ClassificationProperties | typeName | ClassificationProperties is a parent of InvestigationProperties (function _apply_investigation_marker) [Egeria hierarchy]; subclass-only fields: extendedProperties, typeName | send InvestigationProperties (check the endpoint's element type first) | +| trellis | `packages/resource-explorer/resource_explorer/surveyors/egeria_publisher.py:1426` | `EgeriaPublisher._create_survey_report` | AssetProperties | — | AssetProperties is a parent of SurveyReportProperties (typeName "SurveyReport") [Egeria hierarchy]; subclass-only fields: analysisParameters, analysisStep, authors, completionMessage, completionTime, contentStatus, createdTime, formula … | send SurveyReportProperties (check the endpoint's element type first) | +| trellis | `packages/resource-explorer/resource_explorer/surveyors/database/egeria_database_surveyor.py:845` | `EgeriaDatabaseSurveyor.publish_step_annotations` | AssetProperties | — | AssetProperties is a parent of SurveyReportProperties (typeName "SurveyReport") [Egeria hierarchy]; subclass-only fields: analysisParameters, analysisStep, authors, completionMessage, completionTime, contentStatus, createdTime, formula … | send SurveyReportProperties (check the endpoint's element type first) | +| trellis | `packages/resource-explorer/resource_explorer/surveyors/database/egeria_database_surveyor.py:1386` | `EgeriaDatabaseSurveyor.publish_local_survey` | AssetProperties | — | AssetProperties is a parent of SurveyReportProperties (typeName "SurveyReport") [Egeria hierarchy]; subclass-only fields: analysisParameters, analysisStep, authors, completionMessage, completionTime, contentStatus, createdTime, formula … | send SurveyReportProperties (check the endpoint's element type first) | +| trellis | `packages/resource-explorer/resource_explorer/surveyors/filesystem/egeria_filesystem_surveyor.py:366` | `EgeriaFileSystemSurveyor.catalog_and_survey` | AssetProperties | — | AssetProperties is a parent of SurveyReportProperties (typeName "SurveyReport") [Egeria hierarchy]; subclass-only fields: analysisParameters, analysisStep, authors, completionMessage, completionTime, contentStatus, createdTime, formula … | send SurveyReportProperties (check the endpoint's element type first) | +| trellis | `packages/resource-explorer/resource_explorer/surveyors/filesystem/egeria_filesystem_surveyor.py:600` | `EgeriaFileSystemSurveyor._publish_step_annotations` | AssetProperties | — | AssetProperties is a parent of SurveyReportProperties (typeName "SurveyReport") [Egeria hierarchy]; subclass-only fields: analysisParameters, analysisStep, authors, completionMessage, completionTime, contentStatus, createdTime, formula … | send SurveyReportProperties (check the endpoint's element type first) | +| trellis | `packages/resource-explorer/resource_explorer/surveyors/filesystem/egeria_filesystem_surveyor.py:768` | `EgeriaFileSystemSurveyor.publish_file_profiles` | AssetProperties | — | AssetProperties is a parent of SurveyReportProperties (typeName "SurveyReport") [Egeria hierarchy]; subclass-only fields: analysisParameters, analysisStep, authors, completionMessage, completionTime, contentStatus, createdTime, formula … | send SurveyReportProperties (check the endpoint's element type first) | +| trellis | `packages/resource-explorer/resource_explorer/surveyors/filesystem/egeria_filesystem_surveyor.py:844` | `EgeriaFileSystemSurveyor.publish_confirmed_data_classes` | AssetProperties | — | AssetProperties is a parent of SurveyReportProperties (typeName "SurveyReport") [Egeria hierarchy]; subclass-only fields: analysisParameters, analysisStep, authors, completionMessage, completionTime, contentStatus, createdTime, formula … | send SurveyReportProperties (check the endpoint's element type first) | +| trellis | `packages/resource-explorer/resource_explorer/surveyors/filesystem/egeria_filesystem_surveyor.py:910` | `EgeriaFileSystemSurveyor.request_action_for_finding` | AssetProperties | — | AssetProperties is a parent of SurveyReportProperties (typeName "SurveyReport") [Egeria hierarchy]; subclass-only fields: analysisParameters, analysisStep, authors, completionMessage, completionTime, contentStatus, createdTime, formula … | send SurveyReportProperties (check the endpoint's element type first) | + +### NO_CLASS + +| repo | file:line | function | class | keys | detail | suggested fix | +|---|---|---|---|---|---|---| +| egeria-python | `md_processing/v2/schema_maker.py:300` | `SchemaLinkProcessor.apply_changes` | — | description, label | `properties` under NewRelationshipRequestBody has no class | add the Properties class of the element/relationship/classification type | + +### Unclassified + +| repo | file:line | function | why not classified | +|---|---|---|---| +| egeria-python | `pyegeria/core/_server_client.py:685` | `ServerClient._async_get_elements_by_property_value` | FindPropertyNamesProperties: spread **kwargs: keys not known (the static keys were checked) | +| egeria-python | `pyegeria/core/_server_client.py:1339` | `ServerClient._async_update_comment` | `body['properties']` set on a parameter: the caller's body, class not known here | +| egeria-python | `pyegeria/core/_server_client.py:6645` | `ServerClient._async_find_request` | FindPropertyNamesProperties: spread **_filters: keys not known (the static keys were checked) | +| egeria-python | `pyegeria/core/_server_client.py:6817` | `ServerClient._async_get_guid_request` | class is `body_model.__name__`: not resolvable to a string | +| egeria-python | `pyegeria/core/_server_client.py:7515` | `ServerClient._async_new_relationship_request` | class is `prop_class`: not resolvable to a string | +| egeria-python | `pyegeria/omvs/automated_curation.py:4247` | `AutomatedCuration._async_add_catalog_target` | `properties` is `self._catalog_target_properties(catalog_target_name, connection_name, metadata_src_qual_name, config`: not a literal | +| egeria-python | `pyegeria/omvs/automated_curation.py:4374` | `AutomatedCuration._async_update_catalog_target` | `properties` is `self._catalog_target_properties(catalog_target_name, connection_name, metadata_src_qual_name, config`: not a literal | +| egeria-python | `pyegeria/omvs/classification_explorer.py:5608` | `ClassificationExplorer._async_retrieve_instance_for_guid` | class FindProperties is not in PROPERTIES_CLASS_FIELDS | +| egeria-python | `pyegeria/omvs/collection_manager.py:1645` | `CollectionManager._async_create_collection` | `properties` is `collection_properties.model_dump()`: not a literal | +| egeria-python | `pyegeria/omvs/collection_manager.py:1629` | `CollectionManager._async_create_collection` | class is `f'{c}Properties'`: not resolvable to a string | +| egeria-python | `pyegeria/omvs/collection_manager.py:2150` | `CollectionManager._async_create_data_spec_collection` | `properties` is `collection_properties.model_dump()`: not a literal | +| egeria-python | `pyegeria/omvs/collection_manager.py:2359` | `CollectionManager._async_create_report_type_collection` | `properties` is `collection_properties.model_dump()`: not a literal | +| egeria-python | `pyegeria/omvs/collection_manager.py:2541` | `CollectionManager._async_create_report_spec` | `properties` is `spec_properties.model_dump(exclude_none=True)`: not a literal | +| egeria-python | `pyegeria/omvs/collection_manager.py:2613` | `CollectionManager._async_create_question_spec_folder` | `properties` is `collection_properties.model_dump()`: not a literal | +| egeria-python | `pyegeria/omvs/collection_manager.py:2726` | `CollectionManager._async_create_security_list` | class is `prop + 'Properties'`: not resolvable to a string | +| egeria-python | `pyegeria/omvs/collection_manager.py:3064` | `CollectionManager._async_create_data_dictionary_collection` | `properties` is `collection_properties.model_dump()`: not a literal | +| egeria-python | `pyegeria/omvs/collection_manager.py:3270` | `CollectionManager._async_create_skill_set_collection` | `properties` is `collection_properties.model_dump()`: not a literal | +| egeria-python | `pyegeria/omvs/collection_manager.py:3424` | `CollectionManager._async_create_reference_list_collection` | `properties` is `collection_properties.model_dump()`: not a literal | +| egeria-python | `pyegeria/omvs/data_designer.py:3399` | `DataDesigner._as_data_class` | DataClassProperties: spread **body['properties']: keys not known (the static keys were checked) | +| egeria-python | `pyegeria/omvs/data_designer.py:3406` | `DataDesigner._as_value_assignment` | DataValueAssignmentProperties: spread **body['properties']: keys not known (the static keys were checked) | +| egeria-python | `pyegeria/omvs/data_discovery.py:1994` | `DataDiscovery._as_survey_report` | SurveyReportProperties: spread **body['properties']: keys not known (the static keys were checked) | +| egeria-python | `pyegeria/omvs/my_profile.py:1378` | `MyProfile._async_create_my_todo` | ToDoProperties: update({k: v for k, v in extra_properties.items() if v is not None}) at line 1400: keys not known (the static keys were checked) | +| egeria-python | `pyegeria/omvs/my_profile.py:1496` | `MyProfile._async_create_meeting` | MeetingProperties: update({k: v for k, v in extra_properties.items() if v is not None}) at line 1513: keys not known (the static keys were checked) | +| egeria-python | `pyegeria/omvs/my_profile.py:1589` | `MyProfile._async_create_review` | ReviewProperties: update({k: v for k, v in extra_properties.items() if v is not None}) at line 1605: keys not known (the static keys were checked) | +| egeria-python | `pyegeria/omvs/project_manager.py:1346` | `ProjectManager._async_create_project` | class is `f'{classification_name}Properties'`: not resolvable to a string | +| egeria-python | `md_processing/md_processing_utils/common_md_utils.py:404` | `set_create_body` | `parentRelationshipProperties` is `parent_props` = unbound here: not a literal | +| egeria-python | `md_processing/md_processing_utils/common_md_utils.py:409` | `set_create_body` | `properties` is `''`: not a literal | +| egeria-python | `md_processing/md_processing_utils/common_md_utils.py:433` | `set_update_body` | `properties` is `''`: not a literal | +| egeria-python | `md_processing/md_processing_utils/common_md_utils.py:439` | `set_rel_prop_body` | class is `prop_name + 'Properties'`: not resolvable to a string | +| egeria-python | `md_processing/md_processing_utils/common_md_utils.py:500` | `set_element_prop_body` | class is `prop_name + 'Properties'`: not resolvable to a string | +| egeria-python | `md_processing/md_processing_utils/common_md_utils.py:1016` | `set_rel_request_body` | `properties` is `''`: not a literal | +| egeria-python | `md_processing/md_processing_utils/common_md_utils.py:1039` | `set_rel_request_body_for_type` | class is `class_prop`: not resolvable to a string | +| egeria-python | `md_processing/md_processing_utils/common_md_utils.py:1084` | `set_element_status_request_body` | class is `f'{camel_to_title_case(object_type)}StatusRequestBody'`: not resolvable to a string | +| egeria-python | `md_processing/md_processing_utils/common_md_utils.py:1115` | `set_object_classifications` | class is `f'{classification}Properties'`: not resolvable to a string | +| egeria-python | `md_processing/v2/asset_maker.py:80` | `AssetMakerProcessor.apply_changes` | `replacementProperties` is `replacement` = unbound here: not a literal | +| egeria-python | `md_processing/v2/asset_maker.py:89` | `AssetMakerProcessor.apply_changes` | `parentRelationshipProperties` is `parent_props` = unbound here: not a literal | +| egeria-python | `md_processing/v2/curation.py:301` | `_build_classification_properties` | class is `spec.props_class`: not resolvable to a string | +| egeria-python | `md_processing/v2/curation.py:373` | `CurationClassifyProcessor.apply_changes` | class is `'UpdateClassificationRequestBody' if use_update else 'NewClassificationRequestBody'`: not resolvable to a string | +| egeria-python | `md_processing/v2/data_designer.py:169` | `DataValueSpecificationProcessor.apply_changes` | `properties` is `props` = _with_create_defaults(props): not a literal | +| egeria-python | `md_processing/v2/data_designer.py:97` | `DataValueSpecificationProcessor.apply_changes` | class is `f"{om_type or 'DataValueSpecification'}Properties"`: not resolvable to a string | +| egeria-python | `md_processing/v2/data_designer.py:513` | `DataFieldProcessor._sync_all_rels` | NestedDataFieldProperties: spread **_part_of_props(attributes): keys not known (the static keys were checked) | +| egeria-python | `md_processing/v2/data_designer.py:509` | `DataFieldProcessor._sync_all_rels` | MemberDataFieldProperties: spread **_part_of_props(attributes): keys not known (the static keys were checked) | +| egeria-python | `md_processing/v2/data_designer.py:675` | `DataClassProcessor.apply_changes` | `properties` is `props` = _with_create_defaults(props): not a literal | +| egeria-python | `md_processing/v2/data_designer.py:604` | `DataClassProcessor.apply_changes` | class is `f"{om_type or 'DataClass'}Properties"`: not resolvable to a string | +| egeria-python | `md_processing/v2/data_designer.py:999` | `DataDesignerLinkProcessor.apply_changes` | class is `f'{om_type}Properties'`: not resolvable to a string | +| egeria-python | `md_processing/v2/embedded_process.py:77` | `EmbeddedProcessProcessor.apply_changes` | `properties` is `props` = set_element_prop_body('Embedded Process', qualified_name, attributes): not a literal | +| egeria-python | `md_processing/v2/feedback.py:102` | `FeedbackProcessor.apply_changes` | `properties` is `{k: v for k, v in entry_props.items() if v not in (None, '', [], {})}`: not a literal | +| egeria-python | `md_processing/v2/feedback.py:93` | `FeedbackProcessor.apply_changes` | class is `f'{entry_type}Properties'`: not resolvable to a string | +| egeria-python | `md_processing/v2/glossary.py:166` | `TermProcessor._classify_term` | `properties` is `props` = unbound here: not a literal | +| egeria-python | `md_processing/v2/glossary.py:455` | `GlossaryClassifyProcessor.apply_changes` | class is `props_class`: not resolvable to a string | +| egeria-python | `md_processing/v2/glossary.py:667` | `TermAsContextProcessor.apply_changes` | UsedInContextProperties: key prop_name added at line 674: keys not known (the static keys were checked) | +| egeria-python | `md_processing/v2/governance.py:109` | `GovernanceProcessor._to_base_governance_definition_properties` | GovernanceDefinitionProperties: key key added at line 130: keys not known (the static keys were checked) | +| egeria-python | `md_processing/v2/governance.py:180` | `GovernanceProcessor.apply_changes` | `properties` is `self.filter_update_properties(prop_body, attributes.get('Merge Update', {}).get('value', True))`: not a literal | +| egeria-python | `md_processing/v2/governance.py:688` | `GovernanceLinkProcessor.apply_changes` | `properties` is `set_rel_prop_body(object_type, attributes)`: not a literal | +| egeria-python | `md_processing/v2/governance.py:658` | `GovernanceLinkProcessor.apply_changes` | `properties` is `set_rel_prop_body(object_type, attributes)`: not a literal | +| egeria-python | `md_processing/v2/governance.py:523` | `GovernanceLinkProcessor.apply_changes` | `properties` is `set_rel_prop_body(object_type, attributes)`: not a literal | +| egeria-python | `md_processing/v2/governance.py:516` | `GovernanceLinkProcessor.apply_changes` | `properties` is `set_rel_prop_body(object_type, attributes)`: not a literal | +| egeria-python | `md_processing/v2/governance.py:509` | `GovernanceLinkProcessor.apply_changes` | `properties` is `set_rel_prop_body(object_type, attributes)`: not a literal | +| egeria-python | `md_processing/v2/lineage_linker.py:121` | `_build_relationship_properties` | class is `_RELATIONSHIP_PROPERTIES_CLASS[relationship_type]`: not resolvable to a string | +| egeria-python | `md_processing/v2/lineage_linker.py:175` | `LineageLinkProcessor.apply_changes` | `properties` is `properties` = _build_relationship_properties(relationship_type, attributes): not a literal | +| egeria-python | `md_processing/v2/lineage_linker.py:244` | `UpdateLineageRelationshipProcessor.apply_changes` | `properties` is `properties` = _build_relationship_properties(relationship_type, attributes): not a literal | +| egeria-python | `md_processing/v2/metadata_expert.py:84` | `_attribute_type` | class is `cls`: not resolvable to a string | +| egeria-python | `md_processing/v2/metadata_expert.py:97` | `type_def_body` | class is `_CATEGORY_CLASS[category]`: not resolvable to a string | +| egeria-python | `md_processing/v2/metadata_expert.py:415` | `element_properties` | class is `class_name`: not resolvable to a string | +| egeria-python | `md_processing/v2/metadata_expert.py:448` | `new_instance_body` | `properties` is `props` = element_properties(_v(attributes, 'Instance Properties'), 'EntityElementProperti: not a literal | +| egeria-python | `md_processing/v2/metadata_expert.py:469` | `update_properties_body` | `properties` is `props` = element_properties(properties, class_name, declared, type_name): not a literal | +| egeria-python | `md_processing/v2/metadata_expert.py:482` | `related_elements_body` | `properties` is `props` = element_properties(_v(attributes, 'Relationship Properties'), 'RelationshipEleme: not a literal | +| egeria-python | `md_processing/v2/metadata_expert.py:559` | `InstanceClassificationProcessor.apply_changes` | `properties` is `cls_props` = element_properties(props, 'ClassificationElementProperties', declared, name): not a literal | +| egeria-python | `md_processing/v2/processors.py:360` | `AsyncBaseCommandProcessor._sync_governance_classifications` | class is `prop_class`: not resolvable to a string | +| egeria-python | `md_processing/v2/processors.py:481` | `AsyncBaseCommandProcessor._sync_referenceable_extras` | `properties` is `typed` = unbound here: not a literal | +| egeria-python | `md_processing/v2/processors.py:466` | `AsyncBaseCommandProcessor._sync_referenceable_extras` | `properties` is `props` = unbound here: not a literal | +| egeria-python | `md_processing/v2/processors.py:547` | `AsyncBaseCommandProcessor._sync_referenceable_classifications` | class is `spec.props_class`: not resolvable to a string | +| egeria-python | `md_processing/v2/processors.py:536` | `AsyncBaseCommandProcessor._sync_referenceable_classifications` | class is `spec.props_class`: not resolvable to a string | +| egeria-python | `md_processing/v2/processors.py:598` | `AsyncBaseCommandProcessor._sync_term_naming_classifications` | class is `spec.props_class`: not resolvable to a string | +| egeria-python | `md_processing/v2/project.py:163` | `ProjectProcessor.apply_changes` | class is `type_classification`: not resolvable to a string | +| egeria-python | `md_processing/v2/project.py:160` | `ProjectProcessor.apply_changes` | ProjectClassificationProperties: spread **project_classification: keys not known (the static keys were checked) | +| egeria-python | `md_processing/v2/project.py:210` | `ProjectProcessor._apply_project_classifications` | class is `type_classification`: not resolvable to a string | +| egeria-python | `md_processing/v2/project.py:201` | `ProjectProcessor._apply_project_classifications` | ProjectClassificationProperties: spread **project_classification: keys not known (the static keys were checked) | +| egeria-python | `md_processing/v2/reference_data.py:536` | `ValidValueLinkProcessor.apply_changes` | class is `f'{om_type}Properties'`: not resolvable to a string | +| egeria-python | `md_processing/v2/report.py:323` | `upsert_dashboard_asset` | `properties` has no literal class; it may come from **update_props | +| egeria-python | `md_processing/v2/report.py:398` | `ReportProcessor.apply_changes` | `properties` is `props` = set_element_prop_body('Report', qualified_name, attributes): not a literal | +| egeria-python | `md_processing/v2/saved_query.py:67` | `SavedQueryProcessor.apply_changes` | `properties` is `props` = set_element_prop_body('SavedQuery', qualified_name, attributes): not a literal | +| egeria-python | `md_processing/v2/schema_maker.py:66` | `_outer_body` | `parentRelationshipProperties` has no literal class; it may come from **parent_props or {'class': f'{rel_type}Properties'} | +| egeria-python | `md_processing/v2/schema_maker.py:66` | `_outer_body` | class is `f'{rel_type}Properties'`: not resolvable to a string | +| egeria-python | `md_processing/v2/schema_maker.py:178` | `SchemaElementProcessor.apply_changes` | `properties` is `self.filter_update_properties(props, _v(attributes, 'Merge Update', True))`: not a literal | +| egeria-python | `md_processing/v2/schema_maker.py:106` | `SchemaElementProcessor.apply_changes` | class is `props_class`: not resolvable to a string | +| egeria-python | `md_processing/v2/schema_maker.py:226` | `SchemaTemplateProcessor.apply_changes` | `replacementProperties` is `replacement` = unbound here: not a literal | +| egeria-python | `md_processing/v2/schema_maker.py:358` | `SchemaClassificationProcessor.apply_changes` | class is `f'{om_type}Properties'`: not resolvable to a string | +| egeria-python | `md_processing/v2/security_officer.py:116` | `StatementOfApplicabilityProcessor.apply_changes` | `properties` is `self.filter_update_properties(props, merge_update)`: not a literal | +| egeria-python | `md_processing/v2/security_officer.py:353` | `SurveyReportProcessor.apply_changes` | `properties` is `self.filter_update_properties(props, merge_update)`: not a literal | +| egeria-python | `md_processing/v2/security_officer.py:404` | `SecurityFindingProcessor.apply_changes` | `properties` is `self.filter_update_properties(props, merge_update)`: not a literal | +| egeria-python | `md_processing/v2/solution_architect.py:253` | `ComponentProcessor.apply_changes` | `properties` is `prop_body` = set_element_prop_body(om_type or 'SolutionComponent', qualified_name, attributes: not a literal | +| egeria-python | `md_processing/v2/solution_architect.py:227` | `ComponentProcessor.apply_changes` | `properties` is `prop_body` = set_element_prop_body(om_type or 'SolutionComponent', qualified_name, attributes: not a literal | +| egeria-python | `md_processing/v2/solution_architect.py:799` | `SolutionLinkProcessor.apply_changes` | class is `f'{om_type}Properties'`: not resolvable to a string | +| egeria-workspaces | `compose-configs/egeria-freshstart/PyegeriaWebHandler/resource_browser_handler.py:1997` | `_membership_body` | `properties` is `dict(props, **{'class': 'CollectionMembershipProperties'})`: not a literal | +| egeria-workspaces | `compose-configs/egeria-quickstart/PyegeriaWebHandler/data_scope_handler.py:250` | `_write_body` | class is `body_class`: not resolvable to a string | +| egeria-workspaces | `compose-configs/egeria-quickstart/PyegeriaWebHandler/data_scope_handler.py:247` | `_write_body` | class is `props_class`: not resolvable to a string | +| egeria-workspaces | `compose-configs/egeria-quickstart/PyegeriaWebHandler/governance_classifications_handler.py:387` | `set_classification_members` | class is `cfg['properties_class']`: not resolvable to a string | +| egeria-workspaces | `compose-configs/egeria-quickstart/PyegeriaWebHandler/resource_browser_handler.py:2199` | `_membership_body` | `properties` is `dict(props, **{'class': 'CollectionMembershipProperties'})`: not a literal | +| egeria-workspaces | `compose-configs/egeria-quickstart/PyegeriaWebHandler/resource_locator_lens_handler.py:179` | `_lens_properties` | DataLensProperties: spread **dims: keys not known (the static keys were checked) | +| egeria-workspaces | `compose-configs/egeria-quickstart/PyegeriaWebHandler/resource_locator_lens_handler.py:314` | `create_lens` | `properties` is `_lens_properties(name, body.description or '', dims, qn)`: not a literal | +| egeria-workspaces | `compose-configs/egeria-quickstart/PyegeriaWebHandler/resource_locator_lens_handler.py:342` | `edit_lens` | `properties` has no literal class; it may come from **kept | +| egeria-workspaces | `exchange-quickstart/coco-dags/coco_egeria_client.py:69` | `Egeria.create` | class is `properties_class`: not resolvable to a string | +| egeria-workspaces | `exchange-quickstart/coco-dags/coco_egeria_client.py:78` | `Egeria.update` | class is `properties_class`: not resolvable to a string | +| egeria-workspaces | `exchange-quickstart/coco-dags/coco_egeria_client.py:84` | `Egeria.attach` | class is `properties_class`: not resolvable to a string | +| egeria-workspaces | `exchange-quickstart/coco-dags/coco_egeria_client.py:91` | `Egeria.classify` | class is `properties_class`: not resolvable to a string | +| trellis | `packages/egeria-advisor/advisor/analytics.py:62` | `AnalyticsManager._load_statistics` | class is `data.get('total_classes', 0)`: not resolvable to a string | +| trellis | `packages/egeria-advisor/advisor/enhanced_relationships.py:74` | `EnhancedRelationshipQueryHandler.find_class` | class is `cls`: not resolvable to a string | +| trellis | `packages/egeria-advisor/advisor/enhanced_relationships.py:100` | `EnhancedRelationshipQueryHandler.find_function` | class is `cls['name']`: not resolvable to a string | +| trellis | `packages/egeria-advisor/advisor/enhanced_relationships.py:151` | `EnhancedRelationshipQueryHandler.get_class_hierarchy` | class is `cls['name']`: not resolvable to a string | +| trellis | `packages/egeria-advisor/advisor/agents/pyegeria_agent.py:67` | `PyEgeriaAgent.__init__` | class is `['class', 'what is', 'tell me about', 'explain', 'manager', 'client', 'handler', 'widget']`: not resolvable to a string | +| trellis | `packages/egeria-advisor/advisor/agents/pyegeria_agent.py:498` | `PyEgeriaAgent.generate_response` | class is `QueryType.CONCEPT`: not resolvable to a string | +| trellis | `packages/resource-explorer/resource_explorer/curate_plan.py:217` | `_classification_write` | class RetentionClassificationProperties is not in PROPERTIES_CLASS_FIELDS | +| trellis | `packages/resource-explorer/resource_explorer/curate_plan.py:205` | `_classification_write` | CriticalityProperties: spread **common(): keys not known (the static keys were checked) | +| trellis | `packages/resource-explorer/resource_explorer/curate_plan.py:199` | `_classification_write` | ConfidentialityProperties: spread **common(): keys not known (the static keys were checked) | +| trellis | `packages/resource-explorer/resource_explorer/dr_egeria_runner.py:538` | `_Steps._element` | class is `properties_class`: not resolvable to a string | +| trellis | `packages/resource-explorer/resource_explorer/egeria_outbox.py:522` | `_refresh_adopted_annotation` | `properties` is `props` = dict((payload or {}).get('properties') or {}): not a literal | +| trellis | `packages/resource-explorer/resource_explorer/egeria_outbox.py:556` | `_create_collection_membership` | `properties` is `dict(props, **{'class': 'CollectionMembershipProperties'})`: not a literal | +| trellis | `packages/resource-explorer/resource_explorer/surveyors/annotation_props.py:191` | `build_annotation_props` | class is `egeria_class`: not resolvable to a string | +| trellis | `packages/resource-explorer/resource_explorer/surveyors/annotation_props.py:411` | `build_annotation_body` | `properties` is `build_annotation_props(ann, qualified_name)`: not a literal | +| trellis | `packages/resource-explorer/resource_explorer/surveyors/egeria_investigation_publisher.py:94` | `_initial_classifications` | class is `f'{classification}Properties'`: not resolvable to a string | +| trellis | `packages/resource-explorer/resource_explorer/surveyors/investigation_reclassifier.py:329` | `InvestigationReclassifier._move_kind_classification` | `properties` is `props` = _initial_classifications(to_kind, hypothesis)[to_kind]: not a literal | +| trellis | `packages/resource-explorer/resource_explorer/surveyors/database/bootstrap_data_classes.py:273` | `_vvd_body` | ValidValueDefinitionProperties: spread **props: keys not known (the static keys were checked) | +| trellis | `packages/resource-explorer/resource_explorer/surveyors/database/egeria_database_surveyor.py:1756` | `EgeriaDatabaseSurveyor._retire_superseded_verdicts` | class is `f'{type_name}Properties' if type_name else 'AnnotationProperties'`: not resolvable to a string | +| trellis | `packages/resource-explorer/resource_explorer/surveyors/database/quality/egeria_rules.py:143` | `rule_properties` | class is `PROPERTIES_CLASS`: not resolvable to a string | +| trellis | `packages/resource-explorer/resource_explorer/surveyors/database/quality/egeria_rules.py:394` | `_retire` | class is `PROPERTIES_CLASS`: not resolvable to a string | +| trellis | `packages/resource-explorer/scripts/backfill_classification_annotations.py:188` | `update_body` | class is `PROPERTIES_CLASS`: not resolvable to a string | + +### Table gaps seen in use + +Keys our code sends that Egeria does read (a public setter in the class chain) but +PROPERTIES_CLASS_FIELDS lacks. Not findings; they are gen_properties_class_fields misses +(package-private fields, or superclasses outside the scanned packages), and Dr.Egeria's +typed_properties would wrongly refuse to send them. + +| class | keys the table lacks | +|---|---| +| AssignmentScopeProperties | assignmentType, description | +| AssociatedSecurityListProperties | operationName | +| FindProjectClassificationProperties | pageSize, startFrom | +| FindPropertyNameProperties | asOfTime, effectiveTime, forDuplicateProcessing, forLineage, metadataElementTypeName | +| FindPropertyNamesProperties | anchorDomainName, anchorGUID, anchorScopeGUID, asOfTime, effectiveTime, forDuplicateProcessing, forLineage, governanceZoneFilter, graphQueryDepth, includeOnlyClassifiedElements, includeOnlyRelationships, limitResultsByStatus, maxMermaidNodeCount, metadataElementSubtypeNames, metadataElementTypeName, pageSize, relationshipsPageSize, sequencingOrder, sequencingProperty, skipClassifiedElements, skipRelationships, startFrom | +| ResourceListProperties | additionalProperties, description, label, resourceUse | +| SupportingDefinitionProperties | rationale | diff --git a/scripts/audit_properties_class_bodies.py b/scripts/audit_properties_class_bodies.py new file mode 100644 index 000000000..627250f37 --- /dev/null +++ b/scripts/audit_properties_class_bodies.py @@ -0,0 +1,787 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +"""Audit the request bodies our code BUILDS for a `properties.class` that silently loses data. + +Egeria deserialises RelationshipProperties / ClassificationProperties / EntityProperties (and the +other framework Properties beans) with `ignoreUnknown=true`. A body whose `"class"` names a class +that doesn't declare a key we send loses that key with no error: TR-89 sent `libraryType` under +`SoftwareCapabilityProperties`, and only `SourceControlLibraryProperties` reads it. A wrong, +unrelated class is already rejected loudly by Egeria (`handleInvalidPropertiesObject`), so this +audit hunts the quiet cases only. + +Findings +-------- +UNREAD_KEYS + A dict literal whose `"class"` is a Properties class in PROPERTIES_CLASS_FIELDS + (md_processing/md_processing_utils/properties_class_fields.py) carries keys that class doesn't + read. Keys come from the literal itself, from `**` spreads that resolve to another literal in + the same function, and from later `x["k"] = ...`, `x.update({...})`, `x |= {...}` and + `x.setdefault("k", ...)` on a name bound to the literal. +PARENT_CLASS + The class is an ancestor of a more specific Properties class that the call is evidently about. + Evidence, any of: the body's own `"typeName"`; the enclosing function's name (snake_case of + the subtype, e.g. `create_source_control_library`); a URL path segment in a string in the + same function (`/source-control-libraries`). The hierarchy comes from Egeria's Java at the + ref the table was generated from (read with `git cat-file`, never a checkout), or, without an + Egeria clone, is *inferred*: same kind and a strict superset of fields. +NO_CLASS + A built dict in a polymorphic slot (`properties`, `parentRelationshipProperties`, + `replacementProperties`, or a value of `initialClassifications` / + `replacementClassifications`) under a `*RequestBody`, with no `"class"`; or a request body + with no `"class"` whose `properties` does name a table class. Both are a 400 on Egeria 6.x. + +What counts as "built" (and what doesn't) +----------------------------------------- +* Built: a dict literal written in the code, plus the keys added to it in the same function, as + above. A string class bound to a name in the same function (`cls = "XProperties"`) is resolved. +* Built by a table-filtering helper (counted, not checked): bodies made by Dr.Egeria's + `typed_properties` family (md_processing/md_processing_utils/typed_properties.py), which keep + only the keys the class reads and note the rest. They are already correct by construction. +* Pass-through (counted, skipped): a polymorphic slot whose value is a parameter of the enclosing + function, i.e. the caller supplied the properties. +* Unclassified (listed, never guessed): a class given by an expression we can't resolve to a + string (`f"{t}Properties"`, a parameter, a lookup table); a `*Properties` class that isn't in + the table; a polymorphic slot filled by a call or other non-literal; a `**` spread or a computed + key we can't resolve (the static keys are still checked). + +Known limits: flow-insensitive within a function (every assignment to a name counts); no +inter-procedural tracking (a helper that takes the class as a parameter shows up as unclassified +at the helper, not at its callers); Python only. Tests and fakes are skipped unless --include-tests. + +Usage +----- + python scripts/audit_properties_class_bodies.py REPO [REPO ...] [--label NAME ...] + [--egeria ~/localGit/egeria-v6/egeria] [--ref SHA] [--report PATH] [--include-tests] + +Exit status 1 if any finding survives (a discovery tool first: it won't be clean on first run). +""" +from __future__ import annotations + +import argparse +import ast +import difflib +import importlib.util +import os +import re +import sys +from dataclasses import dataclass, field + +_HERE = os.path.dirname(os.path.abspath(__file__)) +_ROOT = os.path.dirname(_HERE) +if _ROOT not in sys.path: + sys.path.insert(0, _ROOT) + +from md_processing.md_processing_utils.properties_class_fields import PROPERTIES_CLASS_FIELDS # noqa: E402 + +UNREAD_KEYS = "UNREAD_KEYS" +PARENT_CLASS = "PARENT_CLASS" +NO_CLASS = "NO_CLASS" +KINDS = (UNREAD_KEYS, PARENT_CLASS, NO_CLASS) + +POLY_SLOTS = {"properties", "parentRelationshipProperties", "replacementProperties"} +POLY_MAPS = {"initialClassifications", "replacementClassifications"} +SAFE_HELPERS = {"typed_properties", "parent_relationship_properties", "classification_map", + "entity_properties", "new_element_properties"} +SKIP_DIRS = {".git", ".venv", "venv", "node_modules", "build", "dist", "__pycache__", ".tox", + "site-packages", ".mypy_cache", ".pytest_cache"} +TEST_DIRS = {"tests", "test", "testing"} + + +@dataclass +class Finding: + repo: str + path: str + line: int + func: str + kind: str + cls: str | None + keys: tuple[str, ...] + detail: str + fix: str + + +@dataclass +class Unclassified: + repo: str + path: str + line: int + func: str + reason: str + + +@dataclass +class Result: + findings: list[Finding] = field(default_factory=list) + unclassified: list[Unclassified] = field(default_factory=list) + bodies_checked: int = 0 + pass_through: int = 0 + safe_helper: int = 0 + files: int = 0 + parse_errors: list[str] = field(default_factory=list) + + def extend(self, other: "Result") -> None: + self.findings += other.findings + self.unclassified += other.unclassified + self.bodies_checked += other.bodies_checked + self.pass_through += other.pass_through + self.safe_helper += other.safe_helper + self.files += other.files + self.parse_errors += other.parse_errors + + +# ---------------------------------------------------------------- hierarchy + +class Hierarchy: + """Ancestor/descendant questions over the Properties classes in the table.""" + + def __init__(self, parents: dict[str, str | None] | None, setters: dict[str, set[str]] | None = None): + self.parents = parents + self.inferred = parents is None + self.setters = setters + self._reads: dict[str, set[str]] = {} + self.gaps: dict[str, set[str]] = {} # table class -> keys Egeria reads that the table lacks (seen in use) + if setters: # the whole frameworks tree was read: no unscanned superclasses left to worry about + self.incomplete = {c: p for c, p in incomplete_classes(parents).items() if p not in parents} + else: + self.incomplete = dict(KNOWN_INCOMPLETE) if parents is None else incomplete_classes(parents) + + def reads(self, cls: str) -> set[str]: + """Keys `cls` reads: the table's, plus (with Egeria loaded) every public setter in its chain.""" + if cls not in self._reads: + fields = set(PROPERTIES_CLASS_FIELDS[cls][1]) + if self.setters: + fields |= chain_setters(cls, self.parents, self.setters) + self._reads[cls] = fields + return self._reads[cls] + + def is_ancestor(self, anc: str, cls: str) -> bool: + if anc == cls or anc not in PROPERTIES_CLASS_FIELDS or cls not in PROPERTIES_CLASS_FIELDS: + return False + if self.inferred: + ka, fa = PROPERTIES_CLASS_FIELDS[anc] + kc, fc = PROPERTIES_CLASS_FIELDS[cls] + return ka == kc and set(fa) < set(fc) + seen, node = set(), self.parents.get(cls) + while node and node not in seen: + if node == anc: + return True + seen.add(node) + node = self.parents.get(node) + return False + + def descendants(self, anc: str) -> list[str]: + return [c for c in PROPERTIES_CLASS_FIELDS if self.is_ancestor(anc, c)] + + +# Table classes whose superclass gen_properties_class_fields doesn't scan (it reads only *Properties.java +# and properties/ packages), so their inherited fields are missing from the table. Computed from the +# hierarchy when Egeria is loaded; this fallback is what Egeria c61bad6514 gives. +KNOWN_INCOMPLETE = { + "FindPropertyNameProperties": "GetOptions", "FindPropertyNamesProperties": "SearchOptions", + "FindDigitalResourceOriginProperties": "QueryOptions", "FindProjectClassificationProperties": "QueryOptions", + "LevelIdentifierQueryProperties": "QueryOptions", "SecurityTagQueryProperties": "QueryOptions", + "SemanticAssignmentQueryProperties": "QueryOptions", +} + + +def incomplete_classes(parents: dict[str, str | None]) -> dict[str, str]: + """Table class -> the unscanned superclass its inherited fields would come from.""" + out = {} + for cls in PROPERTIES_CLASS_FIELDS: + node, seen = cls, set() + while node and node not in seen: + seen.add(node) + p = parents.get(node) + if p and p not in parents: + out[cls] = p + break + node = p + return out + + +def table_source_ref() -> str | None: + """The Egeria sha PROPERTIES_CLASS_FIELDS was generated from (its module docstring says).""" + spec = importlib.util.find_spec("md_processing.md_processing_utils.properties_class_fields") + with open(spec.origin, encoding="utf-8") as f: + m = re.search(r"from Egeria \S+ at ([0-9a-f]{7,40})", f.read(2000)) + return m.group(1) if m else None + + +_SETTER = re.compile(r"public\s+void\s+set(\w+)\s*\(") +_CLASS = re.compile(r"public\s+(?:abstract\s+)?class\s+(\w+)(?:\s*<[^>{]*>)?(?:\s+extends\s+(\w+))?") + + +def _decapitalize(name: str) -> str: + """java.beans.Introspector.decapitalize, which Jackson uses for setter names.""" + if len(name) > 1 and name[0].isupper() and name[1].isupper(): + return name + return name[:1].lower() + name[1:] + + +def load_egeria(egeria: str, ref: str) -> tuple[dict[str, str | None], dict[str, set[str]]]: + """From Egeria's Java at `ref` (git cat-file, read-only): every frameworks class's superclass, and the + JSON keys it declares a public setter for. Jackson binds through setters (the beans say + `setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE`), so setters are the ground truth; they also + cover package-private fields and superclasses outside the properties packages, which + gen_properties_class_fields' field regex misses.""" + spec = importlib.util.spec_from_file_location("_gen_pcf", os.path.join(_HERE, "gen_properties_class_fields.py")) + gen = importlib.util.module_from_spec(spec) + spec.loader.exec_module(gen) + paths = [p for p in gen.git(egeria, "ls-tree", "-r", "--name-only", ref, "--", gen.FRAMEWORKS).decode().split("\n") + if p.endswith(".java") and "/src/main/java/" in p] + batch = gen.git(egeria, "cat-file", "--batch", stdin="".join(f"{ref}:{p}\n" for p in paths).encode()) + parents, setters, pos = {}, {}, 0 + for _ in paths: + header_end = batch.index(b"\n", pos) + size = int(batch[pos:header_end].split()[2]) + start = header_end + 1 + src = batch[start:start + size].decode("utf-8", errors="ignore") + pos = start + size + 1 + m = _CLASS.search(src) + if not m or m.group(1) in parents: + continue + parents[m.group(1)] = m.group(2) + setters[m.group(1)] = {_decapitalize(x) for x in _SETTER.findall(src[m.end():])} + return parents, setters + + +def chain_setters(cls: str, parents: dict, setters: dict) -> set[str]: + out, node, seen = set(), cls, set() + while node and node not in seen: + seen.add(node) + out |= setters.get(node, set()) + node = parents.get(node) + return out + + +# ---------------------------------------------------------------- helpers + +def _snake(name: str) -> str: + return re.sub(r"(?<=[a-z0-9])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])", "_", name).lower() + + +def _plurals(word: str) -> set[str]: + out = {word, word + "s"} + if word.endswith("y"): + out.add(word[:-1] + "ies") + if word.endswith(("s", "x", "ch", "sh")): + out.add(word + "es") + return out + + +def _const_str(node) -> str | None: + return node.value if isinstance(node, ast.Constant) and isinstance(node.value, str) else None + + +def _iter_scope(node): + """Nodes in this scope, not descending into nested functions, lambdas or classes.""" + stack = list(ast.iter_child_nodes(node)) + while stack: + n = stack.pop() + yield n + if not isinstance(n, (ast.FunctionDef, ast.AsyncFunctionDef, ast.Lambda, ast.ClassDef)): + stack.extend(ast.iter_child_nodes(n)) + + +def _scopes(tree): + """(qualified name, node, parameter names) for the module and every function.""" + yield "", tree, set() + def walk(node, prefix): + for child in ast.iter_child_nodes(node): + if isinstance(child, (ast.FunctionDef, ast.AsyncFunctionDef)): + name = f"{prefix}{child.name}" + a = child.args + params = {x.arg for x in a.posonlyargs + a.args + a.kwonlyargs} + params |= {x.arg for x in (a.vararg, a.kwarg) if x} + yield name, child, params + yield from walk(child, name + ".") + elif isinstance(child, ast.ClassDef): + yield from walk(child, f"{prefix}{child.name}.") + else: + yield from walk(child, prefix) + yield from walk(tree, "") + + +def _call_name(call: ast.Call) -> str: + f = call.func + return f.attr if isinstance(f, ast.Attribute) else f.id if isinstance(f, ast.Name) else "" + + +# ---------------------------------------------------------------- per-scope analysis + +class _Scope: + def __init__(self, repo, path, func, node, params, hierarchy, result): + self.repo, self.path, self.func, self.node, self.params = repo, path, func, node, params + self.h, self.r = hierarchy, result + self.short = func.rsplit(".", 1)[-1] + self.names: dict[str, list[tuple[int, ast.AST]]] = {} # name -> (line, value) per assignment + self.extra: dict[int, dict[str, int]] = {} # id(dict) -> key -> line added later + self.extra_unknown: dict[int, list[str]] = {} # id(dict) -> unresolved additions + self.slot: dict[int, tuple[str, ast.Dict | None]] = {} # id(dict) -> (slot key, parent dict) + self.strings: list[str] = [] + self.nodes = list(_iter_scope(node)) + + # -- resolution + def bound(self, name: ast.Name) -> list[ast.AST]: + """What `name` holds where it's read: the nearest assignment at or before that line (so a name + reused across if/elif branches resolves to its own branch's literal). All of them if none precedes.""" + binds = self.names.get(name.id, []) + line = getattr(name, "lineno", None) + before = [b for b in binds if line is None or b[0] < line + or (b[0] == line and not any(x is name for x in ast.walk(b[1])))] # `x = {**x}` reads the old x + if not before: + return [v for _, v in binds] + last = max(b[0] for b in before) + return [v for ln, v in before if ln == last] + + def dicts_of(self, expr, depth=0) -> list[ast.Dict]: + if depth > 6 or expr is None: + return [] + if isinstance(expr, ast.Dict): + return [expr] + if isinstance(expr, ast.Name): + return [d for v in self.bound(expr) for d in self.dicts_of(v, depth + 1)] + if isinstance(expr, ast.BinOp) and isinstance(expr.op, ast.BitOr): + return self.dicts_of(expr.left, depth + 1) + self.dicts_of(expr.right, depth + 1) + if isinstance(expr, ast.Subscript): + key = _const_str(expr.slice) + if key is None: + return [] + out = [] + for d in self.dicts_of(expr.value, depth + 1): + for k, v in zip(d.keys, d.values): + if _const_str(k) == key: + out += self.dicts_of(v, depth + 1) + return out + return [] + + def str_of(self, expr, depth=0) -> str | None: + s = _const_str(expr) + if s is not None or depth > 4: + return s + if isinstance(expr, ast.Name): + vals = {self.str_of(v, depth + 1) for v in self.bound(expr)} + return vals.pop() if len(vals) == 1 and None not in vals else None + return None + + # -- passes + def collect(self): + for n in self.nodes: + if isinstance(n, ast.Assign): + for t in n.targets: + if isinstance(t, ast.Name): + self.names.setdefault(t.id, []).append((n.lineno, n.value)) + elif isinstance(n, (ast.AnnAssign, ast.NamedExpr)) and isinstance(n.target, ast.Name) and n.value: + self.names.setdefault(n.target.id, []).append((n.lineno, n.value)) + elif isinstance(n, ast.AugAssign) and isinstance(n.target, ast.Name) and isinstance(n.op, ast.BitOr): + # x |= {...} == x = x | {...}, where the left x is the binding before this line + prev = ast.Name(id=n.target.id, ctx=ast.Load(), lineno=n.lineno - 1, col_offset=0) + self.names.setdefault(n.target.id, []).append( + (n.lineno, ast.BinOp(left=prev, op=ast.BitOr(), right=n.value, lineno=n.lineno, col_offset=0))) + elif isinstance(n, ast.Constant) and isinstance(n.value, str): + self.strings.append(n.value) + # literal-to-literal slots + for n in self.nodes: + if isinstance(n, ast.Dict): + for k, v in zip(n.keys, n.values): + self._link(_const_str(k), v, n) + # later additions: x["k"] = v ; x.update(...) ; x.setdefault("k", ...) ; x |= {...} + for n in self.nodes: + if isinstance(n, ast.Assign): + for t in n.targets: + if isinstance(t, ast.Subscript): + key = _const_str(t.slice) + if isinstance(t.value, ast.Name) and t.value.id in self.params: + # the caller's dict on some path; literals bound to the name elsewhere may not be it + if key in POLY_SLOTS and not isinstance(n.value, ast.Name): + self._unclassified(n.lineno, f"`{t.value.id}[{key!r}]` set on a parameter: " + "the caller's body, class not known here") + continue + for d in self.dicts_of(t.value): + if key is None: + self.extra_unknown.setdefault(id(d), []).append( + f"key {ast.unparse(t.slice)} added at line {n.lineno}") + else: + self.extra.setdefault(id(d), {}).setdefault(key, n.lineno) + self._link(key, n.value, d) + elif isinstance(n, ast.Call) and isinstance(n.func, ast.Attribute) and n.func.attr in ("update", "setdefault"): + for d in self.dicts_of(n.func.value): + if n.func.attr == "setdefault" and n.args: + key = _const_str(n.args[0]) + if key: + self.extra.setdefault(id(d), {}).setdefault(key, n.lineno) + continue + for kw in n.keywords: + if kw.arg: + self.extra.setdefault(id(d), {}).setdefault(kw.arg, n.lineno) + for a in n.args: + srcs = self.dicts_of(a) + if not srcs: + self.extra_unknown.setdefault(id(d), []).append( + f"update({ast.unparse(a)}) at line {n.lineno}") + for s in srcs: + for k in s.keys: + if _const_str(k): + self.extra.setdefault(id(d), {}).setdefault(_const_str(k), n.lineno) + + def _link(self, key, value, parent): + if key in POLY_SLOTS: + targets = self.dicts_of(value) + for d in targets: + self.slot.setdefault(id(d), (key, parent)) + if not targets: + self._slot_value_unresolved(key, value, parent) + elif key in POLY_MAPS: + for m in self.dicts_of(value): + for v in m.values: + for d in self.dicts_of(v): + self.slot.setdefault(id(d), (key, parent)) + + def _slot_value_unresolved(self, key, value, parent): + if not self._is_request_body(parent): + return + if isinstance(value, ast.Constant) and value.value is None: + return + if isinstance(value, ast.Name) and value.id in self.params and not self.bound(value): + self.r.pass_through += 1 + return + if isinstance(value, ast.Call) and _call_name(value) in SAFE_HELPERS: + self.r.safe_helper += 1 + return + if isinstance(value, ast.Name): + srcs = self.bound(value) + if srcs and all(isinstance(s, ast.Call) and _call_name(s) in SAFE_HELPERS for s in srcs): + self.r.safe_helper += 1 + return + if not srcs and value.id in self.params: + self.r.pass_through += 1 + return + what = ", ".join(ast.unparse(s)[:80] for s in srcs) or "unbound here" + self._unclassified(value.lineno, f"`{key}` is `{value.id}` = {what}: not a literal") + return + self._unclassified(getattr(value, "lineno", parent.lineno), + f"`{key}` is `{ast.unparse(value)[:100]}`: not a literal") + + def _is_request_body(self, d: ast.Dict | None) -> bool: + if d is None: + return False + cls = self.dict_class(d)[0] + return bool(cls and cls.endswith("RequestBody")) + + def dict_class(self, d: ast.Dict, depth=0) -> tuple[str | None, ast.AST | None]: + """The `"class"` value, looking through `**` spreads of literals (the last one wins, as in Python).""" + found = (None, None) + for k, v in zip(d.keys, d.values): + if _const_str(k) == "class": + found = (self.str_of(v), v) + elif k is None and depth < 4: + for s in self.dicts_of(v): + sub = self.dict_class(s, depth + 1) + if sub[1] is not None: + found = sub + return found + + def dict_keys(self, d: ast.Dict, depth=0) -> tuple[dict[str, int], list[str]]: + """Keys (with line) of the dict as finally sent, and what couldn't be resolved.""" + keys, unknown = {}, [] + for k, v in zip(d.keys, d.values): + if k is None: # ** spread + srcs = [x for x in self.dicts_of(v) if x is not d] if depth < 4 else [] + if not srcs or self._spread_is_opaque(d, v): + unknown.append(f"spread **{ast.unparse(v)[:80]}") + for s in srcs: + sk, su = self.dict_keys(s, depth + 1) + keys.update({x: d.lineno for x in sk if x not in keys}) + unknown += su + elif _const_str(k) is not None: + keys.setdefault(_const_str(k), k.lineno) + else: + unknown.append(f"computed key {ast.unparse(k)[:60]}") + for k, line in self.extra.get(id(d), {}).items(): + keys.setdefault(k, line) + unknown += self.extra_unknown.get(id(d), []) + return keys, unknown + + def analyse(self): + if self.short in SAFE_HELPERS: + for n in self.nodes: + if isinstance(n, ast.Dict) and any(_const_str(k) == "class" for k in n.keys): + self.r.safe_helper += 1 + return + for d in (n for n in self.nodes if isinstance(n, ast.Dict)): + cls, cls_expr = self.dict_class(d) + slot = self.slot.get(id(d)) + if cls_expr is None: + self._check_no_class(d, slot) + continue + if cls is None: + self._unclassified(d.lineno, f"class is `{ast.unparse(cls_expr)[:100]}`: not resolvable to a string") + continue + if cls not in PROPERTIES_CLASS_FIELDS: + if cls.endswith("Properties"): + self._unclassified(d.lineno, f"class {cls} is not in PROPERTIES_CLASS_FIELDS") + continue + self.r.bodies_checked += 1 + keys, unknown = self.dict_keys(d) + for u in unknown: + self._unclassified(d.lineno, f"{cls}: {u}: keys not known (the static keys were checked)") + self._check_unread(d, cls, keys) + self._check_parent(d, cls, keys) + + def _check_unread(self, d, cls, keys): + fields = self.h.reads(cls) | {"class"} + table = set(PROPERTIES_CLASS_FIELDS[cls][1]) + missed = {k for k in keys if k in fields and k not in table and k != "class"} + if missed: + self.h.gaps.setdefault(cls, set()).update(missed) + bad = tuple(sorted(k for k in keys if k not in fields)) + if not bad: + return + if cls in self.h.incomplete: + self._unclassified(d.lineno, f"{cls} sends {', '.join(bad)}, but the table lacks the fields it inherits " + f"from {self.h.incomplete[cls]} (not scanned by gen_properties_class_fields)") + return + readers = [c for c in PROPERTIES_CLASS_FIELDS if set(bad) <= self.h.reads(c)] + subs = [c for c in readers if self.h.is_ancestor(cls, c)] + if subs: + fix = f"name the subclass that reads them: {', '.join(sorted(subs)[:4])}" + elif readers: + fix = (f"no subclass of {cls} reads them; classes that do: {', '.join(sorted(readers)[:4])}" + f"{' …' if len(readers) > 4 else ''} — use the right one, or drop/move the keys") + else: + per = {k: sorted(c for c in PROPERTIES_CLASS_FIELDS if k in self.h.reads(c)) for k in bad} + parts = [f"{k}: {', '.join(v[:3]) + (' …' if len(v) > 3 else '') if v else 'no class'}" for k, v in per.items()] + fix = ("no single class reads them all (" + "; ".join(parts) + + ") — drop them, split them into the right body, or move them to additionalProperties") + near = {k: difflib.get_close_matches(k, sorted(fields - {"class"}), n=2, cutoff=0.6) for k in bad} + near = {k: v for k, v in near.items() if v} + if near: + fix += "; closest names this class reads: " + "; ".join(f"{k} → {' / '.join(v)}" for k, v in near.items()) + lines = sorted({keys[k] for k in bad}) + self._finding(d.lineno, UNREAD_KEYS, cls, bad, + f"{cls} doesn't read {', '.join(bad)} (added at line {', '.join(map(str, lines))})", fix) + + def _check_parent(self, d, cls, keys): + evidence = {} + for k, v in zip(d.keys, d.values): + if _const_str(k) == "typeName": + t = self.str_of(v) + if t and self.h.is_ancestor(cls, t + "Properties"): + evidence.setdefault(t + "Properties", []).append(f'typeName "{t}"') + has_type_name = any(_const_str(k) == "typeName" and self.str_of(v) for k, v in zip(d.keys, d.values)) + # a literal typeName says what the element is; function names and URLs only hint at it + descendants = [] if has_type_name else self.h.descendants(cls) + fn = f"_{self.short.lower()}_" + segs = set() + for s in self.strings: + if "/" in s: + segs.update(p for p in s.split("/") if p) + for sub in descendants: + base = sub[: -len("Properties")] + sn = _snake(base) + if f"_{sn}_" in fn: + evidence.setdefault(sub, []).append(f"function {self.short}") + kebab = sn.replace("_", "-") + if "-" in kebab or len(kebab) > 3: + hit = _plurals(kebab) & segs + if hit: + evidence.setdefault(sub, []).append(f"URL segment /{sorted(hit)[0]}") + if not evidence: + return + # keep the most specific: drop a candidate that is an ancestor of another candidate + best = [c for c in evidence if not any(self.h.is_ancestor(c, o) for o in evidence if o != c)] + why = "; ".join(f"{c} ({', '.join(evidence[c])})" for c in sorted(best)) + only_sub = sorted(set().union(*(self.h.reads(c) for c in best)) - self.h.reads(cls)) + how = "inferred: strict field superset, no Egeria hierarchy loaded" if self.h.inferred else "Egeria hierarchy" + self._finding(d.lineno, PARENT_CLASS, cls, tuple(sorted(k for k in keys if k in only_sub)), + f"{cls} is a parent of {why} [{how}]; subclass-only fields: " + f"{', '.join(only_sub[:8]) + (' …' if len(only_sub) > 8 else '') or 'none'}", + f"send {' or '.join(sorted(best))} (check the endpoint's element type first)") + + def _opaque_spread(self, d: ast.Dict) -> str | None: + """A `**` spread we can't resolve to a literal: it may well carry the class.""" + for k, v in zip(d.keys, d.values): + if k is None and self._spread_is_opaque(d, v): + return ast.unparse(v)[:80] + return None + + def _spread_is_opaque(self, d, v) -> bool: + """Unresolvable, a parameter (the caller's dict, whatever else the name is bound to later), + bound to something other than a literal too, or the dict itself (`x = {**x, ...}`).""" + srcs = self.dicts_of(v) + if not srcs or any(s is d for s in srcs): + return True + if isinstance(v, ast.Name): + if v.id in self.params: + return True + return any(not isinstance(b, ast.Dict) for b in self.bound(v)) + return False + + def _check_no_class(self, d, slot): + spread = self._opaque_spread(d) + if spread and (slot or any(_const_str(k) == "properties" for k in d.keys)): + if slot and (self._is_request_body(slot[1]) or slot[0] in POLY_MAPS): + self._unclassified(d.lineno, f"`{slot[0]}` has no literal class; it may come from **{spread}") + return + if slot: + key, parent = slot + if self._is_request_body(parent) or key in POLY_MAPS: + keys, _ = self.dict_keys(d) + self._finding(d.lineno, NO_CLASS, None, tuple(sorted(keys)), + f"`{key}` under {self.dict_class(parent)[0] or 'a request body'} has no class", + "add the Properties class of the element/relationship/classification type") + return + # a request body with no class whose `properties` names a table class + for k, v in zip(d.keys, d.values): + if _const_str(k) == "properties": + for p in self.dicts_of(v): + pc = self.dict_class(p)[0] + if pc in PROPERTIES_CLASS_FIELDS: + self._finding(d.lineno, NO_CLASS, pc, (), + f"request body (properties {pc}) has no class", + "add the request body class, e.g. NewElementRequestBody / " + "UpdateElementRequestBody / NewRelationshipRequestBody") + return + + def _finding(self, line, kind, cls, keys, detail, fix): + self.r.findings.append(Finding(self.repo, self.path, line, self.func, kind, cls, keys, detail, fix)) + + def _unclassified(self, line, reason): + self.r.unclassified.append(Unclassified(self.repo, self.path, line, self.func, reason)) + + +# ---------------------------------------------------------------- driver + +def audit_source(source: str, path: str, repo: str, hierarchy: Hierarchy) -> Result: + r = Result(files=1) + try: + tree = ast.parse(source) + except SyntaxError as e: + r.parse_errors.append(f"{path}: {e}") + return r + if "class" not in source: + return r + for func, node, params in _scopes(tree): + s = _Scope(repo, path, func, node, params, hierarchy, r) + s.collect() + s.analyse() + return r + + +def iter_py(repo: str, include_tests: bool): + for dirpath, dirnames, filenames in os.walk(repo): + dirnames[:] = sorted(d for d in dirnames if d not in SKIP_DIRS and not d.startswith(".") + and (include_tests or d not in TEST_DIRS)) + for f in sorted(filenames): + if not f.endswith(".py"): + continue + if not include_tests and (f.startswith("test_") or f.startswith("fake_") or f == "conftest.py"): + continue + yield os.path.join(dirpath, f) + + +def audit_repo(repo: str, parents: dict | None = None, label: str | None = None, + include_tests: bool = False, base: str | None = None, + hierarchy: Hierarchy | None = None) -> Result: + hierarchy = hierarchy or Hierarchy(parents) + label = label or os.path.basename(os.path.abspath(repo)) + out = Result() + for p in iter_py(repo, include_tests): + with open(p, encoding="utf-8", errors="ignore") as f: + src = f.read() + out.extend(audit_source(src, os.path.relpath(p, base or repo), label, hierarchy)) + return out + + +def render(results: dict[str, Result], meta: dict, gaps: dict[str, set[str]] | None = None) -> str: + L = ["# Properties-class audit of built request bodies", ""] + L += [f"- {k}: {v}" for k, v in meta.items()] + L += ["", "## Totals", "", "| repo | files | bodies checked | " + " | ".join(KINDS) + + " | unclassified | pass-through | table-filtering helper |", + "|---|---|---|" + "---|" * len(KINDS) + "---|---|---|"] + for repo, r in results.items(): + cnt = {k: sum(f.kind == k for f in r.findings) for k in KINDS} + L.append(f"| {repo} | {r.files} | {r.bodies_checked} | " + " | ".join(str(cnt[k]) for k in KINDS) + + f" | {len(r.unclassified)} | {r.pass_through} | {r.safe_helper} |") + for kind in KINDS: + L += ["", f"## {kind}", ""] + rows = [f for r in results.values() for f in r.findings if f.kind == kind] + if not rows: + L.append("None.") + continue + L += ["| repo | file:line | function | class | keys | detail | suggested fix |", "|---|---|---|---|---|---|---|"] + for f in rows: + L.append(f"| {f.repo} | `{f.path}:{f.line}` | `{f.func}` | {f.cls or '—'} | " + f"{', '.join(f.keys) or '—'} | {f.detail} | {f.fix} |".replace("\n", " ")) + L += ["", "## Unclassified", ""] + rows = [u for r in results.values() for u in r.unclassified] + if not rows: + L.append("None.") + else: + L += ["| repo | file:line | function | why not classified |", "|---|---|---|---|"] + L += [f"| {u.repo} | `{u.path}:{u.line}` | `{u.func}` | {u.reason.replace('|', '/')} |" for u in rows] + L += ["", "## Table gaps seen in use", "", + "Keys our code sends that Egeria does read (a public setter in the class chain) but", + "PROPERTIES_CLASS_FIELDS lacks. Not findings; they are gen_properties_class_fields misses", + "(package-private fields, or superclasses outside the scanned packages), and Dr.Egeria's", + "typed_properties would wrongly refuse to send them.", ""] + if gaps: + L += ["| class | keys the table lacks |", "|---|---|"] + L += [f"| {c} | {', '.join(sorted(k))} |" for c, k in sorted(gaps.items())] + else: + L.append("None (or no Egeria clone was available to check).") + errs = [e for r in results.values() for e in r.parse_errors] + if errs: + L += ["", "## Files that didn't parse", ""] + [f"- {e}" for e in errs] + return "\n".join(L) + "\n" + + +def main(argv=None) -> int: + ap = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) + ap.add_argument("repos", nargs="+") + ap.add_argument("--label", action="append", help="display name per repo, in order") + ap.add_argument("--egeria", default=os.path.expanduser("~/localGit/egeria-v6/egeria")) + ap.add_argument("--ref", help="Egeria ref for the hierarchy (default: the table's source sha)") + ap.add_argument("--report", help="write the markdown report here") + ap.add_argument("--include-tests", action="store_true") + ap.add_argument("--base", action="append", help="show paths relative to this dir, per repo in order") + args = ap.parse_args(argv) + ref = args.ref or table_source_ref() + parents, setters, how = None, None, "inferred (no Egeria clone); keys checked against the table only" + if ref and os.path.isdir(args.egeria): + try: + parents, setters = load_egeria(args.egeria, ref) + how = (f"Egeria {ref} (git cat-file, read-only): superclasses, and keys read = table ∪ public " + f"setters in the class chain") + except Exception as e: # noqa: BLE001 - fall back, and say so in the report + how = f"inferred (couldn't read Egeria {ref}: {e}); keys checked against the table only" + hierarchy = Hierarchy(parents, setters) + labels = args.label or [] + results = {} + for i, repo in enumerate(args.repos): + label = labels[i] if i < len(labels) else os.path.basename(os.path.abspath(repo)) + base = args.base[i] if args.base and i < len(args.base) else None + r = audit_repo(repo, label=label, include_tests=args.include_tests, base=base, hierarchy=hierarchy) + if label in results: + results[label].extend(r) + else: + results[label] = r + meta = {"properties table source": table_source_ref() or "unknown", "class hierarchy": how, + "tests and fakes": "included" if args.include_tests else "skipped"} + text = render(results, meta, hierarchy.gaps) + if args.report: + with open(args.report, "w", encoding="utf-8") as f: + f.write(text) + else: + sys.stdout.write(text) + for label, r in results.items(): + print(f"{label}: files={r.files} checked={r.bodies_checked} " + + " ".join(f"{k}={sum(f.kind == k for f in r.findings)}" for k in KINDS) + + f" unclassified={len(r.unclassified)} pass_through={r.pass_through} helper={r.safe_helper}", + file=sys.stderr) + return 1 if any(r.findings for r in results.values()) else 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/tests/micro-tests/test_audit_properties_class_bodies.py b/tests/micro-tests/test_audit_properties_class_bodies.py new file mode 100644 index 000000000..cda8ddd4a --- /dev/null +++ b/tests/micro-tests/test_audit_properties_class_bodies.py @@ -0,0 +1,261 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +"""scripts/audit_properties_class_bodies.py: finds built request bodies whose `properties.class` +silently drops keys (TR-89), names a parent class, or has no class at all. + +Every test plants a tiny source file in tmp_path and audits only that, so no repo, Egeria checkout +or server is needed. The parent map is passed in, so the hierarchy is fixed by the test. +""" +import importlib.util +import os +import sys +import textwrap + +import pytest + +_SCRIPT = os.path.join(os.path.dirname(__file__), "..", "..", "scripts", "audit_properties_class_bodies.py") + + +@pytest.fixture(scope="module") +def audit(): + spec = importlib.util.spec_from_file_location("audit_properties_class_bodies", _SCRIPT) + mod = importlib.util.module_from_spec(spec) + sys.modules[spec.name] = mod # dataclasses look the module up by name + spec.loader.exec_module(mod) + return mod + + +PARENTS = { + "SourceControlLibraryProperties": "SoftwareCapabilityProperties", + "SoftwareCapabilityProperties": "ReferenceableProperties", + "ReferenceableProperties": "EntityProperties", + "EntityProperties": None, # a complete chain: every superclass was scanned +} + + +def _run(audit, tmp_path, source, parents=PARENTS): + repo = tmp_path / "repo" + repo.mkdir() + (repo / "planted.py").write_text(textwrap.dedent(source)) + return audit.audit_repo(str(repo), parents=parents) + + +def _kinds(result): + return sorted(f.kind for f in result.findings) + + +def test_finds_tr89_library_type_dropped(audit, tmp_path): + result = _run(audit, tmp_path, """ + def publish(client, qn): + body = { + "class": "NewElementRequestBody", + "properties": { + "class": "SoftwareCapabilityProperties", + "qualifiedName": qn, + "libraryType": "git", + }, + } + return client.create(body) + """) + unread = [f for f in result.findings if f.kind == audit.UNREAD_KEYS] + assert len(unread) == 1 + assert unread[0].cls == "SoftwareCapabilityProperties" + assert unread[0].keys == ("libraryType",) + assert unread[0].line == 5 # the line of the properties dict literal + assert "SourceControlLibraryProperties" in unread[0].fix # the one class that reads libraryType + + +def test_key_added_after_the_literal_is_seen(audit, tmp_path): + result = _run(audit, tmp_path, """ + def publish(client, qn): + props = {"class": "SoftwareCapabilityProperties", "qualifiedName": qn} + props["libraryType"] = "git" + client.create({"class": "NewElementRequestBody", "properties": props}) + """) + unread = [f for f in result.findings if f.kind == audit.UNREAD_KEYS] + assert [f.keys for f in unread] == [("libraryType",)] + + +def test_clean_body_finds_nothing(audit, tmp_path): + result = _run(audit, tmp_path, """ + def publish(client, qn): + body = { + "class": "NewElementRequestBody", + "properties": { + "class": "SourceControlLibraryProperties", + "qualifiedName": qn, + "libraryType": "git", + }, + } + return client.create(body) + """) + assert result.findings == [] + assert result.unclassified == [] + assert result.bodies_checked == 1 + + +def test_finds_properties_with_no_class(audit, tmp_path): + result = _run(audit, tmp_path, """ + def publish(client, qn): + return client.create({"class": "NewElementRequestBody", + "properties": {"qualifiedName": qn, "displayName": "x"}}) + """) + assert _kinds(result) == [audit.NO_CLASS] + assert result.findings[0].keys == ("displayName", "qualifiedName") + + +def test_reports_parent_class_from_type_name(audit, tmp_path): + result = _run(audit, tmp_path, """ + def publish(client, qn): + return client.create({"class": "NewElementRequestBody", + "properties": {"class": "SoftwareCapabilityProperties", + "typeName": "SourceControlLibrary", + "qualifiedName": qn}}) + """) + assert _kinds(result) == [audit.PARENT_CLASS] + f = result.findings[0] + assert f.cls == "SoftwareCapabilityProperties" + assert "SourceControlLibraryProperties" in f.fix + + +def test_reports_parent_class_from_function_name(audit, tmp_path): + result = _run(audit, tmp_path, """ + def create_source_control_library(client, qn): + return client.create({"class": "NewElementRequestBody", + "properties": {"class": "SoftwareCapabilityProperties", "qualifiedName": qn}}) + """) + assert _kinds(result) == [audit.PARENT_CLASS] + + +def test_pass_through_properties_are_skipped_not_guessed(audit, tmp_path): + result = _run(audit, tmp_path, """ + def create_thing(client, properties): + return client.create({"class": "NewElementRequestBody", "properties": properties}) + """) + assert result.findings == [] + assert result.pass_through == 1 + + +def test_unresolved_class_is_unclassified(audit, tmp_path): + result = _run(audit, tmp_path, """ + def create_thing(client, type_name, qn): + return client.create({"class": "NewElementRequestBody", + "properties": {"class": f"{type_name}Properties", "qualifiedName": qn}}) + """) + assert result.findings == [] + assert len(result.unclassified) == 1 + assert "type_name" in result.unclassified[0].reason + + +def test_string_class_bound_in_scope_is_resolved(audit, tmp_path): + result = _run(audit, tmp_path, """ + def publish(client, qn): + cls = "SoftwareCapabilityProperties" + return client.create({"class": "NewElementRequestBody", + "properties": {"class": cls, "qualifiedName": qn, "libraryType": "git"}}) + """) + assert [f.keys for f in result.findings if f.kind == audit.UNREAD_KEYS] == [("libraryType",)] + + +def test_parent_inference_without_a_parent_map(audit, tmp_path): + """No Egeria checkout: a strict superset of fields of the same kind stands in for 'subclass'.""" + result = _run(audit, tmp_path, """ + def create_source_control_library(client, qn): + return client.create({"class": "NewElementRequestBody", + "properties": {"class": "SoftwareCapabilityProperties", "qualifiedName": qn}}) + """, parents=None) + assert _kinds(result) == [audit.PARENT_CLASS] + assert "inferred" in result.findings[0].detail + + +def test_class_from_a_spread_literal_counts(audit, tmp_path): + result = _run(audit, tmp_path, """ + def publish(client, qn): + base = {"class": "SourceControlLibraryProperties", "qualifiedName": qn} + return client.create({"class": "NewElementRequestBody", + "properties": {**base, "libraryType": "git"}}) + """) + assert result.findings == [] + + +def test_literal_type_name_overrides_function_name(audit, tmp_path): + """typeName names a type with no Properties class of its own: not a parent-class case.""" + result = _run(audit, tmp_path, """ + def create_source_control_library(client, qn): + return client.create({"class": "NewElementRequestBody", + "properties": {"class": "SoftwareCapabilityProperties", + "typeName": "SoftwareCapability", "qualifiedName": qn}}) + """) + assert result.findings == [] + + +def test_class_with_unscanned_superclass_is_unclassified(audit, tmp_path): + """FindPropertyNameProperties inherits from GetOptions, which the table generator doesn't scan.""" + result = _run(audit, tmp_path, """ + def find(client, v): + return client.find({"class": "FindPropertyNameProperties", "propertyValue": v, + "propertyName": "qualifiedName", "forLineage": True}) + """, parents={"FindPropertyNameProperties": "GetOptions"}) + assert result.findings == [] + assert "GetOptions" in result.unclassified[0].reason + + +def test_class_maybe_in_an_opaque_spread_is_not_no_class(audit, tmp_path): + result = _run(audit, tmp_path, """ + def fix_class(body): + return {**body, "properties": {**body["properties"], "class": "SourceControlLibraryProperties"}} + """) + assert [f for f in result.findings if f.kind == audit.NO_CLASS] == [] + + +def test_self_spread_of_a_parameter_is_opaque(audit, tmp_path): + result = _run(audit, tmp_path, """ + def fix_class(body): + if body.get("properties"): + body = {**body, "properties": {**body["properties"], "class": "SourceControlLibraryProperties"}} + return body + """) + assert [f for f in result.findings if f.kind == audit.NO_CLASS] == [] + + +def test_relationship_properties_built_without_class(audit, tmp_path): + result = _run(audit, tmp_path, """ + def link(client, label): + props = {} + if label: + props["label"] = label + body = {"class": "NewRelationshipRequestBody", "properties": props} + client.link(body) + """) + assert [(f.kind, f.keys) for f in result.findings] == [(audit.NO_CLASS, ("label",))] + + +def test_name_reused_across_branches_keeps_keys_apart(audit, tmp_path): + result = _run(audit, tmp_path, """ + def apply(client, kind, qn, lib): + if kind == "plain": + props = {"class": "SoftwareCapabilityProperties", "qualifiedName": qn} + client.create({"class": "NewElementRequestBody", "properties": props}) + elif kind == "scl": + props = {"class": "SourceControlLibraryProperties", "qualifiedName": qn} + props["libraryType"] = lib + client.create({"class": "NewElementRequestBody", "properties": props}) + """) + assert result.findings == [] + assert result.bodies_checked == 2 + + +def test_setter_known_key_is_not_a_finding_but_a_table_gap(audit, tmp_path): + """ResourceListProperties' fields are package-private, so the table misses them; Jackson binds setters.""" + repo = tmp_path / "repo" + repo.mkdir() + (repo / "planted.py").write_text(textwrap.dedent(""" + def link(client, use): + client.link({"class": "NewRelationshipRequestBody", + "properties": {"class": "ResourceListProperties", "resourceUse": use}}) + """)) + h = audit.Hierarchy({"ResourceListProperties": "RelationshipBeanProperties", "RelationshipBeanProperties": None}, + {"ResourceListProperties": {"resourceUse", "label"}}) + result = audit.audit_repo(str(repo), hierarchy=h) + assert result.findings == [] + assert h.gaps == {"ResourceListProperties": {"resourceUse"}} From 6552ace20c9fa80fca4f09ce79fbf3376aa0b07c Mon Sep 17 00:00:00 2001 From: Dan Wolfson Date: Sat, 21 Nov 2026 14:37:11 -0600 Subject: [PATCH 03/19] docs(audit): re-run the properties-class audit on Egeria 90232870b2 (A0 tables) Read-back conditions for A5: re-run the audit against Egeria 90232870b2 (#9463 merged) using A0's regenerated tables (claude/e64-a0-generated-tables 83e4fb22, generated from 0dbf468774, the same tree), and record the unclassified count per run. - audit_properties_class_bodies.py: --table PATH audits against another generated properties_class_fields.py (with a test). - The report has been updated in place. A new Runs table gives the Egeria ref, tables ref, findings and unclassified counts per run. Run 2's findings match run 1 row for row (19/11/1, unclassified 127), and A0's table still has the F15 gaps. The largest unclassified bucket (57: 52 unresolvable built classes, plus 5 set_element_prop_body slots) is named as the inter-procedural follow-up. Signed-off-by: Dan Wolfson --- .../properties-class-audit-2026-11-21.md | 53 ++++++++++++++----- scripts/audit_properties_class_bodies.py | 25 +++++++-- .../test_audit_properties_class_bodies.py | 21 ++++++++ 3 files changed, 81 insertions(+), 18 deletions(-) diff --git a/docs/audits/properties-class-audit-2026-11-21.md b/docs/audits/properties-class-audit-2026-11-21.md index 7247d095b..c0d502465 100644 --- a/docs/audits/properties-class-audit-2026-11-21.md +++ b/docs/audits/properties-class-audit-2026-11-21.md @@ -1,6 +1,6 @@ # Properties-class audit of built request bodies (2026-11-21) -Egeria 6.4 build plan, branch A5 (§3 of `DESIGN-EGERIA-6.4-ADDITIONS-BUILD-PLAN-2026-11-21.md`). **This is a report only: nothing in this branch fixes anything.** Each fix below becomes its own small item. +Egeria 6.4 build plan, branch A5. Run 2 was against Egeria `90232870b2` and A0's tables; see "Runs" (§3 of `DESIGN-EGERIA-6.4-ADDITIONS-BUILD-PLAN-2026-11-21.md`). **This is a report only: nothing in this branch fixes anything.** Each fix below becomes its own small item. ## Why @@ -15,7 +15,8 @@ A wrong, unrelated class is a different case. laz's Egeria already rejects it lo | egeria-python | upstream/main `6232bcfa` | `pyegeria/`, `md_processing/` | | egeria-workspaces | upstream/main `61251c77` | whole tree, read-only via `git archive` into a scratch dir | | trellis | origin/main `b3d9c69d` | whole tree, read-only via `git archive` into a scratch dir | -| Egeria | `c61bad6514` (the sha `properties_class_fields.py` was generated from) | class hierarchy and Jackson setters, read with `git cat-file` (no checkout) | +| Egeria | `90232870b2` (odpi/egeria main, the #9463 merge) | class hierarchy and Jackson setters, read with `git cat-file` (no checkout) | +| properties table | egeria-python `claude/e64-a0-generated-tables` `83e4fb22` (A0's regeneration, from #9463's head `0dbf468774`, the same tree as `90232870b2`) | `PROPERTIES_CLASS_FIELDS`, passed with `--table` | Two kinds of file are skipped by default: tests and fakes (`tests/` dirs, `test_*.py`, `fake_*.py`, `conftest.py`), because they don't send to a real Egeria. Use `--include-tests` to scan them too. No Egeria server was called. @@ -24,7 +25,8 @@ To reproduce it: ```bash python scripts/audit_properties_class_bodies.py pyegeria md_processing \ --label egeria-python --label egeria-python --label egeria-workspaces --label trellis \ - --base . --base . --base --base --report report.md + --base . --base . --base --base \ + --table --ref 90232870b2 --report report.md ``` ## How "built" was told apart from pass-through @@ -88,30 +90,53 @@ Each row is a separate fix item. The ones marked *read* were confirmed by readin | F9 | trellis `resource_explorer/open_data/publish.py:92` `origin_body` | `owner`, `ownerTypeName`, `ownerPropertyName` on `DigitalResourceOriginProperties` | these belong to the `Ownership` classification (`OwnershipProperties`) | script | | F10 | trellis `surveyors/egeria_investigation_publisher.py:208` | `ClassificationProperties` + `typeName` for the Investigation marker. Also PARENT_CLASS: `InvestigationProperties` exists | send `InvestigationProperties` | read | | F11 | trellis `scripts/create_measure_definitions.py:200` | `description`, `label` on `ValidValueMemberProperties` (it reads `isDefaultValue`, `ordinal`) | drop them, or put them on the member entity | script | -| F12 | `md_processing/v2/schema_maker.py:300` SchemaLinkProcessor | `properties` with `label`/`description` and **no class** under NewRelationshipRequestBody. pyegeria's `validate_new_relationship_request` doesn't fill the class in (`NewRelationshipRequestBody.properties` is a plain `dict`, models.py:501) | add `f"{om_type}Properties"`, after checking that the relationship class reads label/description | read; 400 not proven live | +| F12 | `md_processing/v2/schema_maker.py:300` SchemaLinkProcessor | `properties` with `label`/`description` and **no class** under NewRelationshipRequestBody. pyegeria's `validate_new_relationship_request` doesn't fill the class in | add `f"{om_type}Properties"`, after checking that the relationship class reads label/description | read; 400 not proven live | | F13 | egeria-workspaces `PyegeriaWebHandler/resource_browser_handler.py` `_create_list` (quickstart :2298, freshstart :2093) | PARENT_CLASS: `CollectionProperties` with `typeName "WorkingSet"`. Nothing is dropped today (`disposition` isn't sent) | send `WorkingSetProperties` | script | | F14 | trellis, 7 SurveyReport creates (`egeria_publisher.py:1426`, `database/egeria_database_surveyor.py:845, 1386`, `filesystem/egeria_filesystem_surveyor.py:366, 600, 768, 844, 910`) | PARENT_CLASS: `AssetProperties` with `typeName "SurveyReport"`. Nothing is dropped today, but any future `analysisStep`/`completionTime`/… would be | send `SurveyReportProperties` (one trellis item covering all 7) | script | -| F15 | the generator `scripts/gen_properties_class_fields.py` | table gaps: package-private fields and superclasses outside `properties/`. Dr.Egeria's `typed_properties` would **refuse** valid keys sent through it, e.g. ResourceList `resourceUse`/`label`/`description`, AssignmentScope `assignmentType`/`description`, SupportingDefinition `rationale`, AssociatedSecurityList `operationName` | derive keys from public setters, as this audit does, or widen the field regex and the scanned paths. **Land it before or with A0's regeneration from `oak2026`** | read (Java checked) | +| F15 | the generator `scripts/gen_properties_class_fields.py` | table gaps: package-private fields and superclasses outside `properties/`. Dr.Egeria's `typed_properties` would **refuse** valid keys, e.g. ResourceList `resourceUse`/`label`/`description`, AssignmentScope `assignmentType`/`description`, SupportingDefinition `rationale`, AssociatedSecurityList `operationName` | derive keys from public setters, as this audit does, or widen the field regex and the scanned paths. **Land it before or with A0's regeneration from `oak2026`** | read (Java checked) | `exchange-quickstart/project_manager.py` in egeria-workspaces had F2's sibling (`AssignmentScopeProperties`), which turned out to be a table gap, not a finding. That file is a vendored copy of pyegeria, so fixing F2 in pyegeria won't reach it. +## Runs + +Each re-run adds a row here, so the drop in unclassified sites shows over time. The code refs were the same in both runs: egeria-python `6232bcfa`, egeria-workspaces `61251c77`, trellis `b3d9c69d`. + +| run | date | Egeria ref (hierarchy, setters) | tables ref | findings (UNREAD / PARENT / NO_CLASS) | unclassified (python / workspaces / trellis) | +|---|---|---|---|---|---| +| 1 | 2026-11-21 | `c61bad6514` | egeria-python upstream/main `6232bcfa` (generated from `c61bad6514`) | 19 / 11 / 1 | **127** (94 / 12 / 21) | +| 2 | 2026-11-21 | `90232870b2` (#9463 merged) | A0 `83e4fb22` (generated from `0dbf468774`, the same tree) | 19 / 11 / 1 | **127** (94 / 12 / 21) | + +Run 2 gave the same findings as run 1, row for row. #9463 adds new types and endpoints, but none of the bodies we build today use them. A0's table still has every F15 gap, so the generator fix is still needed. + ## Unclassified, in short -There are 127 unclassified sites (egeria-python 94, egeria-workspaces 12, trellis 21), all listed below. -- **52** have a class the script can't resolve to a string. Most are generic helpers building `f"{type}Properties"`. -- **29** have a slot filled by a non-literal, mostly a call. -- The rest are unresolved spreads or `update(...)` calls, slots set on a parameter, and names not bound in scope. +There are 127 unclassified sites in run 2, all listed below. -The biggest single follow-up is `md_processing_utils/common_md_utils.py` `set_element_prop_body` (`"class": prop_name + "Properties"`, 6 call sites listed). It builds keys for whatever type it's handed, so checking it needs a per-call-site (inter-procedural) pass. That is worth its own item. +**Largest bucket, the inter-procedural follow-up:** 57 sites. +- 52 have a class built from a type name, such as `f"{type}Properties"` or `prop_name + "Properties"`, that the script can't resolve to a string: egeria-python 32, egeria-workspaces 7, trellis 13. +- 5 have a slot filled by `md_processing_utils/common_md_utils.py` `set_element_prop_body`. + +These helpers build keys for whatever type their caller hands them, so they can only be checked per call site: resolve the type argument at each caller, then check the helper's keys against that class. That is the next item to shrink this count. + +**The rest (70):** + +| reason | sites | +|---|---| +| slot filled by another non-literal (calls such as `element_properties(...)`, `_build_relationship_properties(...)`) | 39 | +| unresolved `**` spread or `update(...)`, or a class that may come from a spread | 19 | +| name not bound in scope | 7 | +| computed key (`x[prop_name] = …`) | 2 | +| class missing from the table | 2 | +| slot set on a parameter | 1 | ## Re-run on 6.4 -Once A0 lands the `oak2026` tables, re-run with `--ref ` against the Egeria clone (after fetching the PR head) and the regenerated `properties_class_fields.py`. Do this before the 6.4 upgrade, as the plan's §3 says. +Done: that is run 2 in the table above. Before the 6.4 upgrade on laz, re-run the audit with the tables on egeria-python main once A0 merges, and add a row. -# Generated report +# Generated report (run 2) -- properties table source: c61bad6514 -- class hierarchy: Egeria c61bad6514 (git cat-file, read-only): superclasses, and keys read = table ∪ public setters in the class chain +- properties table: A0 83e4fb22 md_processing/md_processing_utils/properties_class_fields.py (generated from Egeria 0dbf468774) +- class hierarchy: Egeria 90232870b2 (git cat-file, read-only): superclasses, and keys read = table ∪ public setters in the class chain - tests and fakes: skipped ### Totals diff --git a/scripts/audit_properties_class_bodies.py b/scripts/audit_properties_class_bodies.py index 627250f37..e42015dfc 100644 --- a/scripts/audit_properties_class_bodies.py +++ b/scripts/audit_properties_class_bodies.py @@ -52,7 +52,7 @@ Usage ----- python scripts/audit_properties_class_bodies.py REPO [REPO ...] [--label NAME ...] - [--egeria ~/localGit/egeria-v6/egeria] [--ref SHA] [--report PATH] [--include-tests] + [--egeria ~/localGit/egeria-v6/egeria] [--ref SHA] [--table PATH] [--report PATH] [--include-tests] Exit status 1 if any finding survives (a discovery tool first: it won't be clean on first run). """ @@ -200,10 +200,22 @@ def incomplete_classes(parents: dict[str, str | None]) -> dict[str, str]: return out +_TABLE_PATH = importlib.util.find_spec("md_processing.md_processing_utils.properties_class_fields").origin + + +def load_table(path: str) -> None: + """Audit against another generated properties_class_fields.py (e.g. a branch's regeneration), not the + one in this checkout. It is a plain data module; every check reads the rebound global.""" + global PROPERTIES_CLASS_FIELDS, _TABLE_PATH + spec = importlib.util.spec_from_file_location("_alt_properties_class_fields", path) + mod = importlib.util.module_from_spec(spec) + spec.loader.exec_module(mod) + PROPERTIES_CLASS_FIELDS, _TABLE_PATH = mod.PROPERTIES_CLASS_FIELDS, os.path.abspath(path) + + def table_source_ref() -> str | None: """The Egeria sha PROPERTIES_CLASS_FIELDS was generated from (its module docstring says).""" - spec = importlib.util.find_spec("md_processing.md_processing_utils.properties_class_fields") - with open(spec.origin, encoding="utf-8") as f: + with open(_TABLE_PATH, encoding="utf-8") as f: m = re.search(r"from Egeria \S+ at ([0-9a-f]{7,40})", f.read(2000)) return m.group(1) if m else None @@ -746,7 +758,10 @@ def main(argv=None) -> int: ap.add_argument("--report", help="write the markdown report here") ap.add_argument("--include-tests", action="store_true") ap.add_argument("--base", action="append", help="show paths relative to this dir, per repo in order") + ap.add_argument("--table", help="a generated properties_class_fields.py to use instead of this checkout's") args = ap.parse_args(argv) + if args.table: + load_table(args.table) ref = args.ref or table_source_ref() parents, setters, how = None, None, "inferred (no Egeria clone); keys checked against the table only" if ref and os.path.isdir(args.egeria): @@ -767,7 +782,9 @@ def main(argv=None) -> int: results[label].extend(r) else: results[label] = r - meta = {"properties table source": table_source_ref() or "unknown", "class hierarchy": how, + meta = {"properties table": f"{os.path.relpath(_TABLE_PATH) if not args.table else args.table} " + f"(generated from Egeria {table_source_ref() or 'unknown'})", + "class hierarchy": how, "tests and fakes": "included" if args.include_tests else "skipped"} text = render(results, meta, hierarchy.gaps) if args.report: diff --git a/tests/micro-tests/test_audit_properties_class_bodies.py b/tests/micro-tests/test_audit_properties_class_bodies.py index cda8ddd4a..1982cbf19 100644 --- a/tests/micro-tests/test_audit_properties_class_bodies.py +++ b/tests/micro-tests/test_audit_properties_class_bodies.py @@ -259,3 +259,24 @@ def link(client, use): result = audit.audit_repo(str(repo), hierarchy=h) assert result.findings == [] assert h.gaps == {"ResourceListProperties": {"resourceUse"}} + + +def test_alternate_table_is_used(audit, tmp_path): + """--table: audit against another generated table (A0's regeneration), not this checkout's.""" + table = tmp_path / "alt_fields.py" + table.write_text('"""GENERATED by x from Egeria abc at 1234567 2026-11-21"""\n' + "PROPERTIES_CLASS_FIELDS = {'SoftwareCapabilityProperties': " + "('entity', ('qualifiedName', 'libraryType'))}\n") + saved = (audit.PROPERTIES_CLASS_FIELDS, audit._TABLE_PATH) + try: + audit.load_table(str(table)) + assert audit.table_source_ref() == "1234567" + result = _run(audit, tmp_path, """ + def publish(client, qn): + client.create({"class": "NewElementRequestBody", + "properties": {"class": "SoftwareCapabilityProperties", "qualifiedName": qn, + "libraryType": "git"}}) + """) + assert result.findings == [] + finally: + audit.PROPERTIES_CLASS_FIELDS, audit._TABLE_PATH = saved From 1b9b967de0ac2358c374fc2798773f968c2edeb3 Mon Sep 17 00:00:00 2001 From: Dan Wolfson Date: Sat, 21 Nov 2026 14:44:57 -0600 Subject: [PATCH 04/19] feat(6.4): A1 - Governance Officer decisions, outcomes and assessments The 12 Governance Officer requests odpi/egeria#9463 adds for Egeria 6.4, each an _async_x plus sync wrapper, with every path from egeria_6_4_names: - decisions: create, create_from_template, update, delete, get_by_name, get_by_guid (retrieve), find (by-search-string); - link_decision_outcome / detach_decision_outcome (uni-link, returns nothing); - link_assessment returns the Assessment RELATIONSHIP GUID (or NO_GUID_RETURNED), the License/Certification multi-link shape; update_assessment and detach_assessment take that GUID. Attach and detach with no body send no body. Updates without a body are refused locally with words; mergeUpdate passes through. A properties object naming the wrong class (or none) is refused before sending, naming the class the request expects. Every docstring says the call needs Egeria 6.4. Tests: tests/micro-tests/test_egeria_6_4_governance_officer.py, 50 tests, run failing first (49 failed, 1 passed). Each request's body is the .http sample sent whole and unchanged, plus only the listed defaults the shared request models always add (makeAnchor, templateSubstitute, allowRetrieve, relationshipsPageSize, forLineage, forDuplicateProcessing). Signed-off-by: Dan Wolfson --- pyegeria/omvs/governance_officer.py | 742 ++++++++++++++++++ .../test_egeria_6_4_governance_officer.py | 319 ++++++++ 2 files changed, 1061 insertions(+) create mode 100644 tests/micro-tests/test_egeria_6_4_governance_officer.py diff --git a/pyegeria/omvs/governance_officer.py b/pyegeria/omvs/governance_officer.py index 6e714a394..11f90de9a 100644 --- a/pyegeria/omvs/governance_officer.py +++ b/pyegeria/omvs/governance_officer.py @@ -36,6 +36,7 @@ NewClassificationRequestBody, DeleteClassificationRequestBody) from pyegeria.core.utils import dynamic_catch from pyegeria.core.async_runner import run_sync +from pyegeria.core import egeria_6_4_names as e64 # GovernanceDefinitionProperties and every subclass in its @JsonSubTypes tree, from Egeria main # (8de9572c, 2026-10-26). Regenerate from the Java when Egeria adds a type; a hand-kept list missed @@ -69,6 +70,31 @@ } +def _require_properties_class(body, expected: str, request: str) -> None: + """Refuse, before Egeria does, a body whose ``properties`` object names a class other than ``expected``. + + Egeria 6.4 rejects a properties object of the wrong class on these requests; refusing here says which + class was expected. A body with no properties object passes (attach works with no properties). + """ + if body is None: + return + properties = body.get("properties") if isinstance(body, dict) else getattr(body, "properties", None) + if properties is None: + return + sent = properties.get("class") if isinstance(properties, dict) else getattr(properties, "class_", None) + if sent != expected: + named = f"names class {sent}" if sent else "names no class" + raise PyegeriaInvalidParameterException(additional_info={ + "reason": f"{request}: the properties object {named}; this request expects {expected}."}) + + +def _require_body(body, request: str) -> None: + """Refuse an update sent with no body: Egeria 6.4 needs one, and an empty update changes nothing.""" + if body is None: + raise PyegeriaInvalidParameterException(additional_info={ + "reason": f"{request} needs a request body: there is nothing to update without one."}) + + def base_path(client, view_server: str): return f"{client.platform_url}/servers/governance-officer/api/open-metadata/metadata-expert" @@ -4259,6 +4285,722 @@ def clear_policy_retrieval_point(self, element_guid: str, """Remove the PolicyRetrievalPoint classification from an element.""" run_sync(self._async_clear_policy_retrieval_point(element_guid, body)) + # + # Decisions, their outcomes and assessments (0018 Decisions). Needs Egeria 6.4 (odpi/egeria#9463): on an + # earlier Egeria these requests are not found. Every name and path comes from pyegeria.core.egeria_6_4_names. + # The sample bodies are the createDecision ... detachAssessment requests in Egeria's + # Egeria-api-governance-officer.http (a copy is in tests/fixtures/egeria-6.4/). + # + + def _e64_url(self, path: str, **guids) -> str: + return f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/{path.format(**guids)}" + + @dynamic_catch + async def _async_create_decision(self, body: dict | NewElementRequestBody) -> str: + """ Create a Decision. Async version. + + Needs Egeria 6.4 (odpi/egeria#9463). + + Parameters + ---------- + body: dict | NewElementRequestBody + A NewElementRequestBody whose properties are DecisionProperties: qualifiedName, displayName, + description, summary, scope, usage, importance, disposition, implications (list), notes, startTime, + lastReviewTime, nextReviewTime, expiryTime, authors, contentStatus, userDefinedContentStatus. + See the createDecision sample. + + Returns + ------- + str + The GUID of the new Decision. + + Raises + ------ + PyegeriaInvalidParameterException + The properties object names a class other than DecisionProperties (refused before sending). + PyegeriaException + """ + _require_properties_class(body, e64.DECISION_PROPERTIES, "create_decision") + url = self._e64_url(e64.DECISIONS_CREATE) + return await self._async_create_element_body_request(url, [e64.DECISION_PROPERTIES], body) + + @dynamic_catch + def create_decision(self, body: dict | NewElementRequestBody) -> str: + """ Create a Decision. + + Needs Egeria 6.4 (odpi/egeria#9463). + + Parameters + ---------- + body: dict | NewElementRequestBody + A NewElementRequestBody whose properties are DecisionProperties. See the createDecision sample. + + Returns + ------- + str + The GUID of the new Decision. + + Raises + ------ + PyegeriaInvalidParameterException + The properties object names a class other than DecisionProperties (refused before sending). + PyegeriaException + """ + return run_sync(self._async_create_decision(body)) + + @dynamic_catch + async def _async_create_decision_from_template(self, body: dict | TemplateRequestBody) -> str: + """ Create a Decision from an existing element used as a template. Async version. + + Needs Egeria 6.4 (odpi/egeria#9463). The template supplies the classifications and relationships the new + element is given. + + Parameters + ---------- + body: dict | TemplateRequestBody + The templateGUID, replacementProperties and placeholderPropertyValues. See the + createDecisionFromTemplate sample. + + Returns + ------- + str + The GUID of the new Decision. + + Raises + ------ + PyegeriaException + """ + url = self._e64_url(e64.DECISIONS_FROM_TEMPLATE) + return await self._async_create_element_from_template(url, body) + + @dynamic_catch + def create_decision_from_template(self, body: dict | TemplateRequestBody) -> str: + """ Create a Decision from an existing element used as a template. + + Needs Egeria 6.4 (odpi/egeria#9463). + + Parameters + ---------- + body: dict | TemplateRequestBody + See the createDecisionFromTemplate sample. + + Returns + ------- + str + The GUID of the new Decision. + + Raises + ------ + PyegeriaException + """ + return run_sync(self._async_create_decision_from_template(body)) + + @dynamic_catch + async def _async_update_decision(self, decision_guid: str, body: dict | UpdateElementRequestBody) -> None: + """ Update the properties of a Decision. Async version. + + Needs Egeria 6.4 (odpi/egeria#9463). A body is required. With mergeUpdate true (the default) only the + properties sent change; with false the properties sent replace them all. + + Parameters + ---------- + decision_guid: str + The GUID of the Decision. + body: dict | UpdateElementRequestBody + An UpdateElementRequestBody whose properties are DecisionProperties. See the updateDecision sample. + + Returns + ------- + None + + Raises + ------ + PyegeriaInvalidParameterException + No body, or the properties object names a class other than DecisionProperties (refused before + sending). + PyegeriaException + """ + _require_body(body, "update_decision") + _require_properties_class(body, e64.DECISION_PROPERTIES, "update_decision") + url = self._e64_url(e64.DECISIONS_UPDATE, decisionGUID=decision_guid) + await self._async_update_element_body_request(url, [e64.DECISION_PROPERTIES], body) + logger.info(f"Updated Decision {decision_guid}") + + @dynamic_catch + def update_decision(self, decision_guid: str, body: dict | UpdateElementRequestBody) -> None: + """ Update the properties of a Decision. + + Needs Egeria 6.4 (odpi/egeria#9463). A body is required; mergeUpdate is passed through. + + Parameters + ---------- + decision_guid: str + The GUID of the Decision. + body: dict | UpdateElementRequestBody + See the updateDecision sample. + + Returns + ------- + None + + Raises + ------ + PyegeriaInvalidParameterException + No body, or the wrong properties class (refused before sending). + PyegeriaException + """ + run_sync(self._async_update_decision(decision_guid, body)) + + @dynamic_catch + async def _async_delete_decision(self, decision_guid: str, + body: Optional[dict | DeleteElementRequestBody] = None, + cascade: bool = False) -> None: + """ Delete a Decision. Async version. + + Needs Egeria 6.4 (odpi/egeria#9463). + + Parameters + ---------- + decision_guid: str + The GUID of the Decision. + body: dict | DeleteElementRequestBody, optional + See the deleteDecision sample. Without one, a DeleteElementRequestBody carrying `cascade` is sent. + cascade: bool, default False + Cascade the delete; used only when no body is given. + + Returns + ------- + None + + Raises + ------ + PyegeriaException + """ + url = self._e64_url(e64.DECISIONS_DELETE, decisionGUID=decision_guid) + await self._async_delete_element_request(url, body, cascade) + logger.info(f"Deleted Decision {decision_guid} with cascade {cascade}") + + @dynamic_catch + def delete_decision(self, decision_guid: str, body: Optional[dict | DeleteElementRequestBody] = None, + cascade: bool = False) -> None: + """ Delete a Decision. + + Needs Egeria 6.4 (odpi/egeria#9463). + + Parameters + ---------- + decision_guid: str + The GUID of the Decision. + body: dict | DeleteElementRequestBody, optional + See the deleteDecision sample. + cascade: bool, default False + Cascade the delete; used only when no body is given. + + Returns + ------- + None + + Raises + ------ + PyegeriaException + """ + run_sync(self._async_delete_decision(decision_guid, body, cascade)) + + @dynamic_catch + async def _async_get_decisions_by_name(self, name: Optional[str] = None, + body: Optional[dict | FilterRequestBody] = None, + start_from: int = 0, page_size: int = 0, + graph_query_depth: int = 3, output_format: str = "JSON", + report_spec: str | dict = None, + **kwargs: Unpack[ListFilters]) -> list | str: + """ Return the Decisions with a particular name. Async version. + + Needs Egeria 6.4 (odpi/egeria#9463). + + Parameters + ---------- + name: str, optional + The name to match. Ignored when a body is given. + body: dict | FilterRequestBody, optional + See the getDecisionsByName sample. + start_from: int, default 0 + page_size: int, default 0 + graph_query_depth: int, default 3 + output_format: str, default "JSON" + JSON, DICT, MD, FORM, REPORT, LIST, MERMAID or HTML. + report_spec: str | dict, optional + **kwargs + The list filters (see ListFilters). + + Returns + ------- + list | str + The matching Decisions, or NO_ELEMENTS_FOUND. + + Raises + ------ + PyegeriaException + """ + url = self._e64_url(e64.DECISIONS_BY_NAME) + params = {"start_from": start_from, "page_size": page_size, "graph_query_depth": graph_query_depth, + "output_format": output_format, "report_spec": report_spec, "body": body} + params.update(kwargs) + params = {k: v for k, v in params.items() if v is not None} + return await self._async_get_name_request(url, _type=e64.DECISION, + _gen_output=self._generate_referenceable_output, + filter_string=name, **params) + + @dynamic_catch + def get_decisions_by_name(self, name: Optional[str] = None, body: Optional[dict | FilterRequestBody] = None, + start_from: int = 0, page_size: int = 0, graph_query_depth: int = 3, + output_format: str = "JSON", report_spec: str | dict = None, + **kwargs: Unpack[ListFilters]) -> list | str: + """ Return the Decisions with a particular name. + + Needs Egeria 6.4 (odpi/egeria#9463). Parameters as for `_async_get_decisions_by_name`. + + Returns + ------- + list | str + The matching Decisions, or NO_ELEMENTS_FOUND. + + Raises + ------ + PyegeriaException + """ + return run_sync(self._async_get_decisions_by_name(name, body, start_from, page_size, graph_query_depth, + output_format, report_spec, **kwargs)) + + @dynamic_catch + async def _async_get_decision_by_guid(self, decision_guid: str, body: Optional[dict | GetRequestBody] = None, + graph_query_depth: int = 3, output_format: str = "JSON", + report_spec: str | dict = None, + **kwargs: Unpack[GetFilters]) -> dict | str: + """ Return a Decision by its GUID. Async version. + + Needs Egeria 6.4 (odpi/egeria#9463). On 6.4 the element carries the decisionOutcomes and + inputsToDecision lists; inputsToDecision can name one element more than once, once per assessment. + + Parameters + ---------- + decision_guid: str + The GUID of the Decision. + body: dict | GetRequestBody, optional + See the getDecisionByGUID sample. + graph_query_depth: int, default 3 + output_format: str, default "JSON" + report_spec: str | dict, optional + **kwargs + The get filters (see GetFilters). + + Returns + ------- + dict | str + The Decision, or NO_ELEMENTS_FOUND. + + Raises + ------ + PyegeriaException + """ + url = self._e64_url(e64.DECISIONS_RETRIEVE, decisionGUID=decision_guid) + params = {"graph_query_depth": graph_query_depth, "output_format": output_format, + "report_spec": report_spec, "body": body} + params.update(kwargs) + params = {k: v for k, v in params.items() if v is not None} + return await self._async_get_guid_request(url, _type=e64.DECISION, + _gen_output=self._generate_referenceable_output, **params) + + @dynamic_catch + def get_decision_by_guid(self, decision_guid: str, body: Optional[dict | GetRequestBody] = None, + graph_query_depth: int = 3, output_format: str = "JSON", + report_spec: str | dict = None, **kwargs: Unpack[GetFilters]) -> dict | str: + """ Return a Decision by its GUID. + + Needs Egeria 6.4 (odpi/egeria#9463). Parameters as for `_async_get_decision_by_guid`. + + Returns + ------- + dict | str + The Decision, or NO_ELEMENTS_FOUND. + + Raises + ------ + PyegeriaException + """ + return run_sync(self._async_get_decision_by_guid(decision_guid, body, graph_query_depth, output_format, + report_spec, **kwargs)) + + @dynamic_catch + async def _async_find_decisions(self, search_string: str = "*", + body: Optional[dict | SearchStringRequestBody] = None, + starts_with: bool = True, ends_with: bool = False, ignore_case: bool = False, + start_from: int = 0, page_size: int = 100, graph_query_depth: int = 3, + output_format: str = "JSON", report_spec: str | dict = None, + **kwargs: Unpack[SearchFilters]) -> list | str: + """ Return the Decisions that contain the search string. Async version. + + Needs Egeria 6.4 (odpi/egeria#9463). + + Parameters + ---------- + search_string: str, default "*" + The string to match; "*" matches every Decision. Ignored when a body is given. + body: dict | SearchStringRequestBody, optional + See the findDecisions sample. + starts_with: bool, default True + ends_with: bool, default False + ignore_case: bool, default False + start_from: int, default 0 + page_size: int, default 100 + graph_query_depth: int, default 3 + output_format: str, default "JSON" + report_spec: str | dict, optional + **kwargs + The search filters (see SearchFilters). + + Returns + ------- + list | str + The matching Decisions, or NO_ELEMENTS_FOUND. + + Raises + ------ + PyegeriaException + """ + url = self._e64_url(e64.DECISIONS_BY_SEARCH_STRING) + params = {"search_string": search_string, "body": body, "starts_with": starts_with, + "ends_with": ends_with, "ignore_case": ignore_case, "start_from": start_from, + "page_size": page_size, "graph_query_depth": graph_query_depth, + "output_format": output_format, "report_spec": report_spec} + params.update(kwargs) + params = {k: v for k, v in params.items() if v is not None or k == "search_string"} + return await self._async_find_request(url, _type=e64.DECISION, + _gen_output=self._generate_referenceable_output, **params) + + @dynamic_catch + def find_decisions(self, search_string: str = "*", body: Optional[dict | SearchStringRequestBody] = None, + starts_with: bool = True, ends_with: bool = False, ignore_case: bool = False, + start_from: int = 0, page_size: int = 100, graph_query_depth: int = 3, + output_format: str = "JSON", report_spec: str | dict = None, + **kwargs: Unpack[SearchFilters]) -> list | str: + """ Return the Decisions that contain the search string. + + Needs Egeria 6.4 (odpi/egeria#9463). Parameters as for `_async_find_decisions`. + + Returns + ------- + list | str + The matching Decisions, or NO_ELEMENTS_FOUND. + + Raises + ------ + PyegeriaException + """ + return run_sync(self._async_find_decisions(search_string, body, starts_with, ends_with, ignore_case, + start_from, page_size, graph_query_depth, output_format, + report_spec, **kwargs)) + + @dynamic_catch + async def _async_link_decision_outcome(self, decision_guid: str, outcome_guid: str, + body: Optional[dict | NewRelationshipRequestBody] = None) -> None: + """ Link a Decision to an element that is an outcome of it (Outcome relationship). Async version. + + Needs Egeria 6.4 (odpi/egeria#9463). Outcome is a uni-link: there is at most one between the two + elements, so it is detached by the two GUIDs and nothing is returned. With no body, no body is sent. + + Parameters + ---------- + decision_guid: str + The GUID of the Decision (end 1). + outcome_guid: str + The GUID of the element that is the outcome (end 2, any Referenceable). + body: dict | NewRelationshipRequestBody, optional + Properties are OutcomeProperties: label, description, importance, disposition. See the + linkDecisionOutcome sample. + + Returns + ------- + None + + Raises + ------ + PyegeriaInvalidParameterException + The properties object names a class other than OutcomeProperties (refused before sending). + PyegeriaException + """ + _require_properties_class(body, e64.OUTCOME_PROPERTIES, "link_decision_outcome") + url = self._e64_url(e64.OUTCOMES_ATTACH, decisionGUID=decision_guid, outcomeGUID=outcome_guid) + validated_body = self.validate_new_relationship_request(body, [e64.OUTCOME_PROPERTIES]) + if validated_body: + await self._async_make_request("POST", url, validated_body.model_dump_json(indent=2, exclude_none=True)) + else: + await self._async_make_request("POST", url) + logger.info(f"Linked Decision {decision_guid} to outcome {outcome_guid}") + + @dynamic_catch + def link_decision_outcome(self, decision_guid: str, outcome_guid: str, + body: Optional[dict | NewRelationshipRequestBody] = None) -> None: + """ Link a Decision to an element that is an outcome of it (Outcome relationship). + + Needs Egeria 6.4 (odpi/egeria#9463). Uni-link: nothing is returned. With no body, no body is sent. + + Parameters + ---------- + decision_guid: str + The GUID of the Decision. + outcome_guid: str + The GUID of the outcome element. + body: dict | NewRelationshipRequestBody, optional + See the linkDecisionOutcome sample. + + Returns + ------- + None + + Raises + ------ + PyegeriaInvalidParameterException + The wrong properties class (refused before sending). + PyegeriaException + """ + run_sync(self._async_link_decision_outcome(decision_guid, outcome_guid, body)) + + @dynamic_catch + async def _async_detach_decision_outcome(self, decision_guid: str, outcome_guid: str, + body: Optional[dict | DeleteRelationshipRequestBody] = None) -> None: + """ Remove the Outcome relationship between a Decision and an element. Async version. + + Needs Egeria 6.4 (odpi/egeria#9463). With no body, no body is sent. + + Parameters + ---------- + decision_guid: str + The GUID of the Decision. + outcome_guid: str + The GUID of the outcome element. + body: dict | DeleteRelationshipRequestBody, optional + See the detachDecisionOutcome sample. + + Returns + ------- + None + + Raises + ------ + PyegeriaException + """ + url = self._e64_url(e64.OUTCOMES_DETACH, decisionGUID=decision_guid, outcomeGUID=outcome_guid) + await self._async_delete_relationship_request(url, body) + logger.info(f"Detached Decision {decision_guid} from outcome {outcome_guid}") + + @dynamic_catch + def detach_decision_outcome(self, decision_guid: str, outcome_guid: str, + body: Optional[dict | DeleteRelationshipRequestBody] = None) -> None: + """ Remove the Outcome relationship between a Decision and an element. + + Needs Egeria 6.4 (odpi/egeria#9463). With no body, no body is sent. + + Parameters + ---------- + decision_guid: str + The GUID of the Decision. + outcome_guid: str + The GUID of the outcome element. + body: dict | DeleteRelationshipRequestBody, optional + See the detachDecisionOutcome sample. + + Returns + ------- + None + + Raises + ------ + PyegeriaException + """ + run_sync(self._async_detach_decision_outcome(decision_guid, outcome_guid, body)) + + @dynamic_catch + async def _async_link_assessment(self, element_guid: str, decision_guid: str, + body: Optional[dict | NewRelationshipRequestBody] = None) -> str: + """ Record that an element was assessed for a Decision (Assessment relationship). Async version. + + Needs Egeria 6.4 (odpi/egeria#9463). Assessment is a MULTI-link, as License and Certification are: the + same element can be assessed for the same Decision many times, and each call creates a new + relationship. The GUID returned identifies that relationship; `update_assessment` and + `detach_assessment` take it. With no body, no body is sent. + + Parameters + ---------- + element_guid: str + The GUID of the element assessed (end 1, any Referenceable). + decision_guid: str + The GUID of the Decision the assessment contributes to (end 2). + body: dict | NewRelationshipRequestBody, optional + Properties are AssessmentProperties: label, description, assessor, assessorTypeName, + assessorPropertyName, assessmentTime, expiryTime, notes, additionalProperties. See the + linkAssessment sample. + + Returns + ------- + str + The GUID of the new Assessment relationship, or NO_GUID_RETURNED if Egeria sent none. + + Raises + ------ + PyegeriaInvalidParameterException + The properties object names a class other than AssessmentProperties (refused before sending). + PyegeriaException + """ + _require_properties_class(body, e64.ASSESSMENT_PROPERTIES, "link_assessment") + url = self._e64_url(e64.ASSESSMENTS_ATTACH, elementGUID=element_guid, decisionGUID=decision_guid) + validated_body = self.validate_new_relationship_request(body, [e64.ASSESSMENT_PROPERTIES]) + if validated_body: + json_body = validated_body.model_dump_json(indent=2, exclude_none=True) + resp = await self._async_make_request("POST", url, json_body) + else: + resp = await self._async_make_request("POST", url) + return resp.json().get("guid", NO_GUID_RETURNED) + + @dynamic_catch + def link_assessment(self, element_guid: str, decision_guid: str, + body: Optional[dict | NewRelationshipRequestBody] = None) -> str: + """ Record that an element was assessed for a Decision (Assessment relationship). + + Needs Egeria 6.4 (odpi/egeria#9463). Multi-link, as License is: each call creates a new relationship + and returns its GUID, which `update_assessment` and `detach_assessment` take. + + Parameters + ---------- + element_guid: str + The GUID of the element assessed. + decision_guid: str + The GUID of the Decision. + body: dict | NewRelationshipRequestBody, optional + See the linkAssessment sample. + + Returns + ------- + str + The GUID of the new Assessment relationship, or NO_GUID_RETURNED if Egeria sent none. + + Raises + ------ + PyegeriaInvalidParameterException + The wrong properties class (refused before sending). + PyegeriaException + """ + return run_sync(self._async_link_assessment(element_guid, decision_guid, body)) + + @dynamic_catch + async def _async_update_assessment(self, assessment_guid: str, body: dict | UpdateRelationshipRequestBody) -> None: + """ Update the properties of one Assessment relationship. Async version. + + Needs Egeria 6.4 (odpi/egeria#9463). The relationship is named by its own GUID, as returned by + `link_assessment` (as `update_license` takes the License GUID). A body is required; mergeUpdate is + passed through. + + Parameters + ---------- + assessment_guid: str + The GUID of the Assessment relationship. + body: dict | UpdateRelationshipRequestBody + Properties are AssessmentProperties. See the updateAssessment sample. + + Returns + ------- + None + + Raises + ------ + PyegeriaInvalidParameterException + No body, or the properties object names a class other than AssessmentProperties (refused before + sending). + PyegeriaException + """ + _require_body(body, "update_assessment") + _require_properties_class(body, e64.ASSESSMENT_PROPERTIES, "update_assessment") + url = self._e64_url(e64.ASSESSMENTS_UPDATE, assessmentGUID=assessment_guid) + await self._async_update_relationship_request(url, [e64.ASSESSMENT_PROPERTIES], body) + logger.info(f"Updated Assessment {assessment_guid}") + + @dynamic_catch + def update_assessment(self, assessment_guid: str, body: dict | UpdateRelationshipRequestBody) -> None: + """ Update the properties of one Assessment relationship. + + Needs Egeria 6.4 (odpi/egeria#9463). Named by the relationship GUID `link_assessment` returned. A body + is required; mergeUpdate is passed through. + + Parameters + ---------- + assessment_guid: str + The GUID of the Assessment relationship. + body: dict | UpdateRelationshipRequestBody + See the updateAssessment sample. + + Returns + ------- + None + + Raises + ------ + PyegeriaInvalidParameterException + No body, or the wrong properties class (refused before sending). + PyegeriaException + """ + run_sync(self._async_update_assessment(assessment_guid, body)) + + @dynamic_catch + async def _async_detach_assessment(self, assessment_guid: str, + body: Optional[dict | DeleteRelationshipRequestBody] = None) -> None: + """ Remove one Assessment relationship. Async version. + + Needs Egeria 6.4 (odpi/egeria#9463). Named by the relationship GUID `link_assessment` returned (as + `unlicense_element` takes the License GUID); other assessments of the same element stay. With no body, + no body is sent. + + Parameters + ---------- + assessment_guid: str + The GUID of the Assessment relationship. + body: dict | DeleteRelationshipRequestBody, optional + See the detachAssessment sample. + + Returns + ------- + None + + Raises + ------ + PyegeriaException + """ + url = self._e64_url(e64.ASSESSMENTS_DETACH, assessmentGUID=assessment_guid) + await self._async_delete_relationship_request(url, body) + logger.info(f"Detached Assessment {assessment_guid}") + + @dynamic_catch + def detach_assessment(self, assessment_guid: str, + body: Optional[dict | DeleteRelationshipRequestBody] = None) -> None: + """ Remove one Assessment relationship. + + Needs Egeria 6.4 (odpi/egeria#9463). Named by the relationship GUID `link_assessment` returned. With no + body, no body is sent. + + Parameters + ---------- + assessment_guid: str + The GUID of the Assessment relationship. + body: dict | DeleteRelationshipRequestBody, optional + See the detachAssessment sample. + + Returns + ------- + None + + Raises + ------ + PyegeriaException + """ + run_sync(self._async_detach_assessment(assessment_guid, body)) if __name__ == "__main__": print("Main-Metadata Explorer") diff --git a/tests/micro-tests/test_egeria_6_4_governance_officer.py b/tests/micro-tests/test_egeria_6_4_governance_officer.py new file mode 100644 index 000000000..0cb2fdceb --- /dev/null +++ b/tests/micro-tests/test_egeria_6_4_governance_officer.py @@ -0,0 +1,319 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +""" +Egeria 6.4 (odpi/egeria#9463) Governance Officer requests: decisions, their outcomes and assessments. + +The 12 requests are checked against the `.http` samples in tests/fixtures/egeria-6.4/, with every URL path +taken from pyegeria.core.egeria_6_4_names. For each method: the HTTP verb, the URL, and that the body sent +equals the sample once its placeholders are filled. Also: attach with no body sends no body; update without a +body is refused locally; mergeUpdate passes through; link_assessment returns the relationship GUID; a +properties object of the wrong class is refused locally, naming the class expected. + +No live server: the HTTP call is captured. +""" +import json +import re +from pathlib import Path + +import pytest + +from pyegeria.core import egeria_6_4_names as n +from pyegeria.core._exceptions import PyegeriaInvalidParameterException +from pyegeria.core._globals import NO_GUID_RETURNED +from pyegeria.omvs.governance_officer import GovernanceOfficer + +FIXTURE = Path(__file__).resolve().parents[1] / "fixtures" / "egeria-6.4" / "Egeria-api-governance-officer.http" +PLATFORM = "https://localhost:1" +SERVER = "view-server" +ROOT = f"{PLATFORM}/servers/{SERVER}/api/open-metadata/" +TIMESTAMP = "2026-11-21T12:00:00Z" +REL_GUID = "assessment-rel-guid-0001" + +DECISION_GUID = "decision-guid-1" +OUTCOME_GUID = "outcome-guid-1" +ELEMENT_GUID = "element-guid-1" + + +def _samples() -> dict: + """`# @name` -> (verb, path relative to /api/open-metadata/, body or None) for every request in the file.""" + out = {} + for block in FIXTURE.read_text().split("\n###"): + m = re.search(r"^# @name (\S+)", block, re.M) + req = re.search(r"^(POST|GET) \{\{baseURL\}\}/servers/\{\{viewServer\}\}/api/open-metadata/(\S+)", block, re.M) + if not (m and req): + continue + start = re.compile(r"^\{", re.M).search(block, req.end()) # the body opens on a line of its own + body = None + if start: + body_text = block[start.start():].replace("{{$isoTimestamp}}", TIMESTAMP) + body = json.JSONDecoder().raw_decode(body_text)[0] + out[m.group(1)] = (req.group(1), req.group(2).replace("{{", "{").replace("}}", "}"), body) + return out + + +SAMPLES = _samples() + + +def _sample_body(name: str) -> dict: + return json.loads(json.dumps(SAMPLES[name][2])) # a fresh copy each time + + +class _Response: + def __init__(self, payload: dict): + self._payload = payload + + def json(self): + return self._payload + + +def _client(monkeypatch, calls: list, response: dict | None = None) -> GovernanceOfficer: + monkeypatch.setattr(GovernanceOfficer, "check_connection", lambda self: "test") + client = GovernanceOfficer(SERVER, PLATFORM, "user", "pwd") + payload = response or {"class": "VoidResponse", "relatedHTTPCode": 200} + + async def fake_make_request(method, url, payload_=None, *args, **kwargs): + body = json.loads(payload_) if isinstance(payload_, str) else payload_ + calls.append({"method": method, "url": url, "body": body}) + return _Response(payload) + + client._async_make_request = fake_make_request + return client + + +def _url(path: str, **guids) -> str: + return ROOT + path.format(**guids) + + +# --- the fixture and the names module agree on the 12 requests ----------------------------------------------- + +CASES = { + # sample name: (names-module path, guids for the path) + "createDecision": (n.DECISIONS_CREATE, {}), + "createDecisionFromTemplate": (n.DECISIONS_FROM_TEMPLATE, {}), + "updateDecision": (n.DECISIONS_UPDATE, {"decisionGUID": DECISION_GUID}), + "deleteDecision": (n.DECISIONS_DELETE, {"decisionGUID": DECISION_GUID}), + "getDecisionsByName": (n.DECISIONS_BY_NAME, {}), + "getDecisionByGUID": (n.DECISIONS_RETRIEVE, {"decisionGUID": DECISION_GUID}), + "findDecisions": (n.DECISIONS_BY_SEARCH_STRING, {}), + "linkDecisionOutcome": (n.OUTCOMES_ATTACH, {"decisionGUID": DECISION_GUID, "outcomeGUID": OUTCOME_GUID}), + "detachDecisionOutcome": (n.OUTCOMES_DETACH, {"decisionGUID": DECISION_GUID, "outcomeGUID": OUTCOME_GUID}), + "linkAssessment": (n.ASSESSMENTS_ATTACH, {"elementGUID": ELEMENT_GUID, "decisionGUID": DECISION_GUID}), + "updateAssessment": (n.ASSESSMENTS_UPDATE, {"assessmentGUID": REL_GUID}), + "detachAssessment": (n.ASSESSMENTS_DETACH, {"assessmentGUID": REL_GUID}), +} + + +def test_the_twelve_samples_match_the_names_module(): + assert len(CASES) == 12 + for name, (path, _guids) in CASES.items(): + verb, sample_path, _body = SAMPLES[name] + assert verb == "POST", name + assert sample_path == path, name + + +# --- each method: verb, URL and the body sent equal to the sample --------------------------------------------- + +async def _call(client: GovernanceOfficer, name: str, body): + if name == "createDecision": + return await client._async_create_decision(body) + if name == "createDecisionFromTemplate": + return await client._async_create_decision_from_template(body) + if name == "updateDecision": + return await client._async_update_decision(DECISION_GUID, body) + if name == "deleteDecision": + return await client._async_delete_decision(DECISION_GUID, body) + if name == "getDecisionsByName": + return await client._async_get_decisions_by_name(body=body) + if name == "getDecisionByGUID": + return await client._async_get_decision_by_guid(DECISION_GUID, body=body) + if name == "findDecisions": + return await client._async_find_decisions(body=body) + if name == "linkDecisionOutcome": + return await client._async_link_decision_outcome(DECISION_GUID, OUTCOME_GUID, body) + if name == "detachDecisionOutcome": + return await client._async_detach_decision_outcome(DECISION_GUID, OUTCOME_GUID, body) + if name == "linkAssessment": + return await client._async_link_assessment(ELEMENT_GUID, DECISION_GUID, body) + if name == "updateAssessment": + return await client._async_update_assessment(REL_GUID, body) + if name == "detachAssessment": + return await client._async_detach_assessment(REL_GUID, body) + raise AssertionError(name) + + +@pytest.mark.asyncio +@pytest.mark.parametrize("name", list(CASES)) +async def test_each_request_sends_the_sample_body_to_the_right_url(monkeypatch, name): + calls: list = [] + client = _client(monkeypatch, calls, {"class": "GUIDResponse", "guid": "new-guid", "elements": [{"x": 1}], + "element": {"x": 1}}) + path, guids = CASES[name] + + await _call(client, name, _sample_body(name)) + + assert len(calls) == 1 + assert calls[0]["method"] == "POST" + assert calls[0]["url"] == _url(path, **guids) + # The sample is sent whole and unchanged; the only additions are the defaults pyegeria's shared request + # models always send (Egeria's own defaults for those fields), listed here so any other addition fails. + assert calls[0]["body"] == {**SAMPLES[name][2], **MODEL_DEFAULTS.get(name, {})} + + +_GET_DEFAULTS = {"relationshipsPageSize": 0} +_LIST_DEFAULTS = {"forLineage": False, "forDuplicateProcessing": False, "relationshipsPageSize": 0} +MODEL_DEFAULTS = { + "createDecisionFromTemplate": {"templateSubstitute": False, "allowRetrieve": True}, # TemplateRequestBody + "getDecisionsByName": _LIST_DEFAULTS, # FilterRequestBody + "getDecisionByGUID": _GET_DEFAULTS, # GetRequestBody + "findDecisions": _LIST_DEFAULTS, # SearchStringRequestBody + "linkDecisionOutcome": {"makeAnchor": False}, # NewRelationshipRequestBody + "linkAssessment": {"makeAnchor": False}, +} + + +@pytest.mark.parametrize("name", list(CASES)) +def test_each_request_has_a_sync_wrapper_whose_docstring_names_egeria_6_4(name): + method = { + "createDecision": "create_decision", "createDecisionFromTemplate": "create_decision_from_template", + "updateDecision": "update_decision", "deleteDecision": "delete_decision", + "getDecisionsByName": "get_decisions_by_name", "getDecisionByGUID": "get_decision_by_guid", + "findDecisions": "find_decisions", "linkDecisionOutcome": "link_decision_outcome", + "detachDecisionOutcome": "detach_decision_outcome", "linkAssessment": "link_assessment", + "updateAssessment": "update_assessment", "detachAssessment": "detach_assessment", + }[name] + for attr in (method, f"_async_{method}"): + fn = getattr(GovernanceOfficer, attr) + assert fn.__doc__ and "Egeria 6.4" in fn.__doc__, attr + + +def test_sync_wrapper_reaches_the_same_request(monkeypatch): + calls: list = [] + client = _client(monkeypatch, calls, {"class": "GUIDResponse", "guid": REL_GUID}) + assert client.link_assessment(ELEMENT_GUID, DECISION_GUID) == REL_GUID + assert calls[0]["url"] == _url(n.ASSESSMENTS_ATTACH, elementGUID=ELEMENT_GUID, decisionGUID=DECISION_GUID) + + +# --- attach / detach with no body send no body ----------------------------------------------------------------- + +@pytest.mark.asyncio +@pytest.mark.parametrize("name", ["linkDecisionOutcome", "detachDecisionOutcome", "linkAssessment", + "detachAssessment"]) +async def test_attach_and_detach_with_no_body_send_no_body(monkeypatch, name): + calls: list = [] + client = _client(monkeypatch, calls, {"class": "GUIDResponse", "guid": REL_GUID}) + path, guids = CASES[name] + + await _call(client, name, None) + + assert calls == [{"method": "POST", "url": _url(path, **guids), "body": None}] + + +# --- link_assessment returns the relationship GUID ------------------------------------------------------------- + +@pytest.mark.asyncio +async def test_link_assessment_returns_the_relationship_guid(monkeypatch): + calls: list = [] + client = _client(monkeypatch, calls, {"class": "GUIDResponse", "guid": REL_GUID}) + assert await client._async_link_assessment(ELEMENT_GUID, DECISION_GUID, _sample_body("linkAssessment")) == REL_GUID + + +@pytest.mark.asyncio +async def test_link_assessment_without_a_guid_in_the_answer_says_so(monkeypatch): + calls: list = [] + client = _client(monkeypatch, calls, {"class": "VoidResponse"}) + assert await client._async_link_assessment(ELEMENT_GUID, DECISION_GUID) == NO_GUID_RETURNED + + +# --- updates need a body; mergeUpdate passes through ------------------------------------------------------------ + +@pytest.mark.asyncio +@pytest.mark.parametrize("name", ["updateDecision", "updateAssessment"]) +async def test_update_without_a_body_is_refused_locally(monkeypatch, name): + calls: list = [] + client = _client(monkeypatch, calls) + with pytest.raises(PyegeriaInvalidParameterException) as exc: + await _call(client, name, None) + assert "needs a request body" in str(exc.value) + assert calls == [] + + +@pytest.mark.asyncio +@pytest.mark.parametrize("name", ["updateDecision", "updateAssessment"]) +@pytest.mark.parametrize("merge", [True, False]) +async def test_merge_update_passes_through(monkeypatch, name, merge): + calls: list = [] + client = _client(monkeypatch, calls) + body = _sample_body(name) + body["mergeUpdate"] = merge + + await _call(client, name, body) + + assert calls[0]["body"]["mergeUpdate"] is merge + + +# --- a properties object of the wrong class is refused locally --------------------------------------------------- + +WRONG_CLASS = { + "createDecision": "DecisionProperties", + "updateDecision": "DecisionProperties", + "linkDecisionOutcome": "OutcomeProperties", + "linkAssessment": "AssessmentProperties", + "updateAssessment": "AssessmentProperties", +} + + +@pytest.mark.asyncio +@pytest.mark.parametrize("name", list(WRONG_CLASS)) +async def test_a_wrong_properties_class_is_refused_naming_the_class_expected(monkeypatch, name): + calls: list = [] + client = _client(monkeypatch, calls) + body = _sample_body(name) + body["properties"]["class"] = "GovernanceDefinitionProperties" + + with pytest.raises(PyegeriaInvalidParameterException) as exc: + await _call(client, name, body) + + assert WRONG_CLASS[name] in str(exc.value) + assert "GovernanceDefinitionProperties" in str(exc.value) + assert calls == [] + + +@pytest.mark.asyncio +@pytest.mark.parametrize("name", list(WRONG_CLASS)) +async def test_a_properties_object_with_no_class_is_refused(monkeypatch, name): + calls: list = [] + client = _client(monkeypatch, calls) + body = _sample_body(name) + del body["properties"]["class"] + + with pytest.raises(PyegeriaInvalidParameterException) as exc: + await _call(client, name, body) + + assert WRONG_CLASS[name] in str(exc.value) + assert calls == [] + + +@pytest.mark.asyncio +async def test_a_wrong_class_in_a_model_body_is_refused_too(monkeypatch): + from pyegeria.models import NewRelationshipRequestBody + calls: list = [] + client = _client(monkeypatch, calls) + body = NewRelationshipRequestBody.model_validate( + {"class": "NewRelationshipRequestBody", "properties": {"class": "LicenseProperties"}}) + + with pytest.raises(PyegeriaInvalidParameterException) as exc: + await client._async_link_assessment(ELEMENT_GUID, DECISION_GUID, body) + + assert "AssessmentProperties" in str(exc.value) + assert calls == [] + + +@pytest.mark.asyncio +async def test_attach_with_a_body_but_no_properties_is_sent(monkeypatch): + calls: list = [] + client = _client(monkeypatch, calls) + body = {"class": "NewRelationshipRequestBody", "forLineage": False, "forDuplicateProcessing": False} + + await client._async_link_decision_outcome(DECISION_GUID, OUTCOME_GUID, body) + + assert calls[0]["body"] == {**body, "makeAnchor": False} From b3982dd4df2c31ecc64d2f15e0c15c9022997eae Mon Sep 17 00:00:00 2001 From: Dan Wolfson Date: Sat, 21 Nov 2026 14:47:25 -0600 Subject: [PATCH 05/19] feat(6.4): A2a - DataEngineer data-value lifecycle (7 requests) Adds the seven Egeria 6.4 data-value lifecycle requests (odpi/egeria#9463) to pyegeria/omvs/data_engineer.py, each as _async_x plus a sync wrapper: create, create-from-template, update, delete, get-by-name, get-by-GUID and find. Paths come from pyegeria.core.egeria_6_4_names. - Write requests send the caller's body as given: a dict is validated against its request-body model and sent unchanged; a model is sent as its JSON dump. A body copied from the .http samples reaches Egeria as is. - properties.class must be DataValueProperties or LiteralDataValueProperties; anything else is refused locally, naming both expected classes. dataValueList and dataValueMap round-trip. - create, create-from-template and update with no body are refused locally; mergeUpdate passes through. - Reads use the shared helpers and annotate **kwargs with the matching filters TypedDict (ListFilters / GetFilters / SearchFilters). - Every docstring says the call needs Egeria 6.4. - The five existing tabular-data-set defs are unchanged. Tests: tests/micro-tests/test_e64_data_engineer_data_values.py, 37 tests, no Egeria, run failing first (37 failed, then 37 passed). Full micro-test suite on Python 3.13: 4651 passed, 5 skipped, 0 failed; parent A0 83e4fb22 (git archive): 4614 passed, 5 skipped, 0 failed. Signed-off-by: Dan Wolfson --- pyegeria/omvs/data_engineer.py | 464 +++++++++++++++++- .../test_e64_data_engineer_data_values.py | 339 +++++++++++++ 2 files changed, 801 insertions(+), 2 deletions(-) create mode 100644 tests/micro-tests/test_e64_data_engineer_data_values.py diff --git a/pyegeria/omvs/data_engineer.py b/pyegeria/omvs/data_engineer.py index 92501150c..4c7cf04a7 100644 --- a/pyegeria/omvs/data_engineer.py +++ b/pyegeria/omvs/data_engineer.py @@ -11,14 +11,28 @@ from pydantic import HttpUrl from typing import Unpack -from pyegeria.core.request_filters import SearchFilters +from pyegeria.core.request_filters import GetFilters, ListFilters, SearchFilters from pyegeria.core._exceptions import PyegeriaException from pyegeria.core.utils import dynamic_catch, transform_json_to_tabular from pyegeria.core._server_client import ServerClient from pyegeria.models import SearchStringRequestBody +from pyegeria.models import (NewElementRequestBody, TemplateRequestBody, UpdateElementRequestBody, + DeleteElementRequestBody, FilterRequestBody, GetRequestBody) +from pyegeria.core._exceptions import PyegeriaInvalidParameterException +from pyegeria.core._globals import NO_GUID_RETURNED +from pyegeria.core.egeria_6_4_names import ( + DATA_VALUE, DATA_VALUE_PROPERTIES, LITERAL_DATA_VALUE_PROPERTIES, + DATA_VALUES_CREATE, DATA_VALUES_FROM_TEMPLATE, DATA_VALUES_UPDATE, DATA_VALUES_DELETE, DATA_VALUES_BY_NAME, + DATA_VALUES_RETRIEVE, DATA_VALUES_BY_SEARCH_STRING, +) from pyegeria.view.output_formatter import _generate_default_output from typing import Any, Optional from pyegeria.core.async_runner import run_sync +import json +from pydantic import BaseModel, TypeAdapter + +# The properties classes a data-value request accepts (Egeria 6.4): a DataValue or its LiteralDataValue subtype. +DATA_VALUE_PROPERTIES_CLASSES = (DATA_VALUE_PROPERTIES, LITERAL_DATA_VALUE_PROPERTIES) class DataEngineer(ServerClient): """ @@ -361,4 +375,450 @@ async def _async_get_tabular_data_set(self, guid: str = None, start_from_row: in if isinstance(el_list, dict): return el_list else: - raise PyegeriaException(f"Unsupported output format: {output_format}") \ No newline at end of file + raise PyegeriaException(f"Unsupported output format: {output_format}") + + # ========================================================================================================= + # Data values (Egeria 6.4, odpi/egeria#9463; type 0208 Data Values) + # + # Every request below needs Egeria 6.4 or later: on an earlier Egeria the endpoints do not exist (404). + # The paths come from pyegeria.core.egeria_6_4_names, the one place the 6.4 names are kept. + # + # The write requests send the caller's body as given (a dict is checked against its request-body model and + # then sent unchanged; a model is sent as its JSON dump), so a body copied from Egeria's `.http` samples + # reaches Egeria exactly. A DataValue's properties may be DataValueProperties or its subtype + # LiteralDataValueProperties (dataValue, dataValueList, dataValueMap); any other properties class is + # refused here, before Egeria refuses it. + # ========================================================================================================= + + def _e64_url(self, path: str, **guids: str) -> str: + """The full URL of a 6.4 request whose path (from egeria_6_4_names) is relative to open-metadata/.""" + return f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/{path.format(**guids)}" + + def _e64_body(self, body: Optional[dict | BaseModel], adapter: TypeAdapter, method: str, + prop_classes: Optional[tuple[str, ...]] = None, required: bool = True) -> Optional[str]: + """Check a request body locally and return the JSON to send (None when no body is given and none is + required). Refuses, with words, a missing body that is required and a properties class not in + `prop_classes` (when given). A dict is validated by `adapter` but sent exactly as given.""" + if body is None: + if required: + raise PyegeriaInvalidParameterException(additional_info={ + "reason": f"{method} needs a request body: Egeria 6.4 refuses this request without one."}) + return None + if isinstance(body, BaseModel): + payload = json.loads(body.model_dump_json(exclude_none=True, by_alias=True)) + elif isinstance(body, dict): + self._validate_body(adapter.validate_python, body) + payload = body + else: + raise PyegeriaInvalidParameterException(additional_info={ + "reason": f"{method} takes a dict or a request-body model, not {type(body).__name__}."}) + if prop_classes: + props = payload.get("properties") + got = props.get("class") if isinstance(props, dict) else None + if got not in prop_classes: + expected = " or ".join(prop_classes) + raise PyegeriaInvalidParameterException(additional_info={ + "reason": f"{method}: properties.class must be {expected}, not {got or 'missing'}. " + f"Egeria rejects a properties object of the wrong class."}) + return json.dumps(payload) + + @dynamic_catch + async def _async_create_data_value(self, body: dict | NewElementRequestBody) -> str: + """Create a data value (a DataValue, or a LiteralDataValue that holds the value itself). Async version. + + Needs Egeria 6.4 or later (odpi/egeria#9463). + + Parameters + ---------- + body : dict | NewElementRequestBody + A NewElementRequestBody whose properties are DataValueProperties or LiteralDataValueProperties. + Required. For a literal value, `dataValue` holds one value, `dataValueList` a list of values and + `dataValueMap` a map of names to values; all three are sent unchanged. + + Returns + ------- + str + The GUID of the new data value. + + Raises + ------ + PyegeriaInvalidParameterException + No body, or a properties class other than DataValueProperties or LiteralDataValueProperties + (refused locally, before the request is sent). + PyegeriaException + Issues raised in communicating or server-side processing. + + Notes + ----- + Sample body (Egeria's data-engineer `.http`, createDataValue):: + + { + "class" : "NewElementRequestBody", + "anchorGUID" : "add guid here", + "isOwnAnchor": false, + "parentGUID": "add guid here", + "parentRelationshipTypeName": "add type name here", + "parentAtEnd1": false, + "properties": { + "class" : "DataValueProperties", + "qualifiedName": "add unique name here", + "displayName": "add short name here", + "description": "add description here", + "dataFormat": "add data format here", + "length": 0, + "dataType": "add data type here", + "usage": "add usage here" + } + } + + For a LiteralDataValue, use "class": "LiteralDataValueProperties" and add any of + "dataValue": "42", "dataValueList": ["a", "b"], "dataValueMap": {"low": "1", "high": "9"}. + """ + json_body = self._e64_body(body, self._new_element_request_adapter, "create_data_value", + DATA_VALUE_PROPERTIES_CLASSES) + response = await self._async_make_request("POST", self._e64_url(DATA_VALUES_CREATE), json_body) + return response.json().get("guid", NO_GUID_RETURNED) + + @dynamic_catch + def create_data_value(self, body: dict | NewElementRequestBody) -> str: + """Create a data value (a DataValue, or a LiteralDataValue that holds the value itself). + + Needs Egeria 6.4 or later (odpi/egeria#9463). See `_async_create_data_value` for the body. + + Returns + ------- + str + The GUID of the new data value. + """ + return run_sync(self._async_create_data_value(body)) + + @dynamic_catch + async def _async_create_data_value_from_template(self, body: dict | TemplateRequestBody) -> str: + """Create a data value from an existing element used as a template. Async version. + + Needs Egeria 6.4 or later (odpi/egeria#9463). + + The template defines additional classifications and relationships to add to the new element. + + Parameters + ---------- + body : dict | TemplateRequestBody + A TemplateRequestBody naming the `templateGUID`, with optional `replacementProperties` and + `placeholderPropertyValues`. Required. + + Returns + ------- + str + The GUID of the new data value. + + Raises + ------ + PyegeriaInvalidParameterException + No body (refused locally). + PyegeriaException + Issues raised in communicating or server-side processing. + + Notes + ----- + Sample body (createDataValueFromTemplate):: + + { + "class" : "TemplateRequestBody", + "anchorGUID" : "add guid here", + "isOwnAnchor": false, + "templateGUID": "add guid here", + "replacementProperties": { + "class": "EntityElementProperties", + "propertyValueMap" : { + "description" : {"class": "PrimitiveTypePropertyValue", "typeName": "string", + "primitiveValue" : "New description"} + } + }, + "placeholderPropertyValues": {"placeholder1" : "propertyValue1"} + } + """ + json_body = self._e64_body(body, self._template_request_adapter, "create_data_value_from_template") + response = await self._async_make_request("POST", self._e64_url(DATA_VALUES_FROM_TEMPLATE), json_body) + return response.json().get("guid", NO_GUID_RETURNED) + + @dynamic_catch + def create_data_value_from_template(self, body: dict | TemplateRequestBody) -> str: + """Create a data value from an existing element used as a template. + + Needs Egeria 6.4 or later (odpi/egeria#9463). See `_async_create_data_value_from_template`. + + Returns + ------- + str + The GUID of the new data value. + """ + return run_sync(self._async_create_data_value_from_template(body)) + + @dynamic_catch + async def _async_update_data_value(self, data_value_guid: str, body: dict | UpdateElementRequestBody) -> None: + """Update the properties of a data value. Async version. + + Needs Egeria 6.4 or later (odpi/egeria#9463). + + Parameters + ---------- + data_value_guid : str + The GUID of the data value to update. + body : dict | UpdateElementRequestBody + Required. Its properties are DataValueProperties or LiteralDataValueProperties. `mergeUpdate` is + sent as given: true changes only the properties sent; false replaces them all. + + Returns + ------- + None + + Raises + ------ + PyegeriaInvalidParameterException + No body, or a properties class other than DataValueProperties or LiteralDataValueProperties + (refused locally). + PyegeriaException + Issues raised in communicating or server-side processing. + + Notes + ----- + Sample body (updateDataValue):: + + { + "class" : "UpdateElementRequestBody", + "mergeUpdate": true, + "properties": { + "class" : "DataValueProperties", + "qualifiedName": "add unique name here", + "description": "add description here", + "dataFormat": "add data format here", + "dataType": "add data type here" + } + } + """ + json_body = self._e64_body(body, self._update_element_request_adapter, "update_data_value", + DATA_VALUE_PROPERTIES_CLASSES) + await self._async_make_request("POST", self._e64_url(DATA_VALUES_UPDATE, dataValueGUID=data_value_guid), + json_body) + + @dynamic_catch + def update_data_value(self, data_value_guid: str, body: dict | UpdateElementRequestBody) -> None: + """Update the properties of a data value. + + Needs Egeria 6.4 or later (odpi/egeria#9463). See `_async_update_data_value` for the body. + """ + return run_sync(self._async_update_data_value(data_value_guid, body)) + + @dynamic_catch + async def _async_delete_data_value(self, data_value_guid: str, + body: Optional[dict | DeleteElementRequestBody] = None, + cascade: bool = False) -> None: + """Delete a data value. Async version. + + Needs Egeria 6.4 or later (odpi/egeria#9463). + + Parameters + ---------- + data_value_guid : str + The GUID of the data value to delete. + body : dict | DeleteElementRequestBody, optional + Sent as given. With no body, a DeleteElementRequestBody with `cascadedDelete` = `cascade` is sent. + cascade : bool, default False + Used only when no body is given: also delete the elements anchored to this one. + + Returns + ------- + None + + Notes + ----- + Sample body (deleteDataValue):: + + { + "class" : "DeleteElementRequestBody", + "externalSourceGUID": "add guid here", + "externalSourceName": "add qualified name here", + "forLineage" : false, + "forDuplicateProcessing" : false + } + """ + if body is None: + body = {"class": "DeleteElementRequestBody", "cascadedDelete": cascade} + json_body = self._e64_body(body, self._delete_element_request_adapter, "delete_data_value") + await self._async_make_request("POST", self._e64_url(DATA_VALUES_DELETE, dataValueGUID=data_value_guid), + json_body) + + @dynamic_catch + def delete_data_value(self, data_value_guid: str, body: Optional[dict | DeleteElementRequestBody] = None, + cascade: bool = False) -> None: + """Delete a data value. + + Needs Egeria 6.4 or later (odpi/egeria#9463). See `_async_delete_data_value`. + """ + return run_sync(self._async_delete_data_value(data_value_guid, body, cascade)) + + @dynamic_catch + async def _async_get_data_values_by_name(self, filter_string: Optional[str] = None, + body: Optional[dict | FilterRequestBody] = None, + start_from: int = 0, page_size: int = 0, + output_format: str = "JSON", + report_spec: str | dict = "Referenceable", + **kwargs: Unpack[ListFilters]) -> list | str: + """Return the data values (and literal data values) with a particular name. Async version. + + Needs Egeria 6.4 or later (odpi/egeria#9463). + + Parameters + ---------- + filter_string : str, optional + The name to match. Ignored when `body` is given. + body : dict | FilterRequestBody, optional + A FilterRequestBody; it takes precedence over the other arguments. + start_from : int, default 0 + The first result to return, when paging. + page_size : int, default 0 + The most results to return (0 means the server's maximum). + output_format : str, default "JSON" + One of "JSON", "DICT", "MD", "FORM", "REPORT", "LIST", "MERMAID". + report_spec : str | dict, default "Referenceable" + The report spec that chooses the columns, for formats other than JSON. + + Returns + ------- + list | str + The matching elements, or NO_ELEMENTS_FOUND. + + Notes + ----- + Sample body (getDataValuesByName):: + + {"class" : "FilterRequestBody", "filter" : "Add name here", "startFrom": 0, "pageSize": 10} + """ + return await self._async_get_name_request(self._e64_url(DATA_VALUES_BY_NAME), _type=DATA_VALUE, + _gen_output=self._generate_referenceable_output, + filter_string=filter_string, body=body, start_from=start_from, + page_size=page_size, output_format=output_format, + report_spec=report_spec, **kwargs) + + @dynamic_catch + def get_data_values_by_name(self, filter_string: Optional[str] = None, + body: Optional[dict | FilterRequestBody] = None, start_from: int = 0, + page_size: int = 0, output_format: str = "JSON", + report_spec: str | dict = "Referenceable", **kwargs: Unpack[ListFilters]) -> list | str: + """Return the data values (and literal data values) with a particular name. + + Needs Egeria 6.4 or later (odpi/egeria#9463). See `_async_get_data_values_by_name`. + """ + return run_sync(self._async_get_data_values_by_name(filter_string, body, start_from, page_size, + output_format, report_spec, **kwargs)) + + @dynamic_catch + async def _async_get_data_value_by_guid(self, data_value_guid: str, + body: Optional[dict | GetRequestBody] = None, + output_format: str = "JSON", + report_spec: str | dict = "Referenceable", + **kwargs: Unpack[GetFilters]) -> dict | str: + """Return the properties of a data value (or literal data value). Async version. + + Needs Egeria 6.4 or later (odpi/egeria#9463). + + Parameters + ---------- + data_value_guid : str + The GUID of the data value. + body : dict | GetRequestBody, optional + A GetRequestBody (asOfTime, effectiveTime, ...); it takes precedence over the other arguments. + output_format : str, default "JSON" + One of "JSON", "DICT", "MD", "FORM", "REPORT", "LIST", "MERMAID". + report_spec : str | dict, default "Referenceable" + The report spec that chooses the columns, for formats other than JSON. + + Returns + ------- + dict | str + The element, or NO_ELEMENTS_FOUND. + + Notes + ----- + Sample body (getDataValueByGUID):: + + {"class" : "GetRequestBody", "asOfTime" : "2026-11-21T10:00:00Z", + "effectiveTime" : "2026-11-21T10:00:00Z", "forLineage" : false, "forDuplicateProcessing" : false} + """ + return await self._async_get_guid_request( + self._e64_url(DATA_VALUES_RETRIEVE, dataValueGUID=data_value_guid), _type=DATA_VALUE, + _gen_output=self._generate_referenceable_output, body=body, output_format=output_format, + report_spec=report_spec, **kwargs) + + @dynamic_catch + def get_data_value_by_guid(self, data_value_guid: str, body: Optional[dict | GetRequestBody] = None, + output_format: str = "JSON", report_spec: str | dict = "Referenceable", + **kwargs: Unpack[GetFilters]) -> dict | str: + """Return the properties of a data value (or literal data value). + + Needs Egeria 6.4 or later (odpi/egeria#9463). See `_async_get_data_value_by_guid`. + """ + return run_sync(self._async_get_data_value_by_guid(data_value_guid, body, output_format, report_spec, + **kwargs)) + + @dynamic_catch + async def _async_find_data_values(self, search_string: str = "*", + body: Optional[dict | SearchStringRequestBody] = None, + starts_with: bool = True, ends_with: bool = False, + ignore_case: bool = False, start_from: int = 0, page_size: int = 0, + output_format: str = "JSON", report_spec: str | dict = "Referenceable", + **kwargs: Unpack[SearchFilters]) -> list | str: + """Return the data values (and literal data values) that contain the search string. Async version. + + Needs Egeria 6.4 or later (odpi/egeria#9463). + + Parameters + ---------- + search_string : str, default "*" + The string to search for; "*" matches every data value. Ignored when `body` is given. + body : dict | SearchStringRequestBody, optional + A SearchStringRequestBody; it takes precedence over the other arguments. + starts_with, ends_with, ignore_case : bool + How the search string matches. + start_from : int, default 0 + The first result to return, when paging. + page_size : int, default 0 + The most results to return (0 means the server's maximum). + output_format : str, default "JSON" + One of "JSON", "DICT", "MD", "FORM", "REPORT", "LIST", "MERMAID". + report_spec : str | dict, default "Referenceable" + The report spec that chooses the columns, for formats other than JSON. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters``). + + Returns + ------- + list | str + The matching elements, or NO_ELEMENTS_FOUND. + + Notes + ----- + Sample body (findDataValues):: + + {"class" : "SearchStringRequestBody", "searchString" : "Add value here", "startsWith" : false, + "endsWith" : false, "ignoreCase" : true, "startFrom" : 0, "pageSize": 10} + """ + return await self._async_find_request(self._e64_url(DATA_VALUES_BY_SEARCH_STRING), _type=DATA_VALUE, + _gen_output=self._generate_referenceable_output, + search_string=search_string, body=body, starts_with=starts_with, + ends_with=ends_with, ignore_case=ignore_case, + start_from=start_from, page_size=page_size, + output_format=output_format, report_spec=report_spec, **kwargs) + + @dynamic_catch + def find_data_values(self, search_string: str = "*", body: Optional[dict | SearchStringRequestBody] = None, + starts_with: bool = True, ends_with: bool = False, ignore_case: bool = False, + start_from: int = 0, page_size: int = 0, output_format: str = "JSON", + report_spec: str | dict = "Referenceable", **kwargs: Unpack[SearchFilters]) -> list | str: + """Return the data values (and literal data values) that contain the search string. + + Needs Egeria 6.4 or later (odpi/egeria#9463). See `_async_find_data_values`. + """ + return run_sync(self._async_find_data_values(search_string, body, starts_with, ends_with, ignore_case, + start_from, page_size, output_format, report_spec, + **kwargs)) diff --git a/tests/micro-tests/test_e64_data_engineer_data_values.py b/tests/micro-tests/test_e64_data_engineer_data_values.py new file mode 100644 index 000000000..911ef6f21 --- /dev/null +++ b/tests/micro-tests/test_e64_data_engineer_data_values.py @@ -0,0 +1,339 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +"""A2a for the Egeria 6.4 additions (odpi/egeria#9463): the seven data-value lifecycle requests on +DataEngineer. No Egeria: `_async_make_request` is replaced by a recorder, and each body is compared with the +sample body in the PR's `.http` collection (tests/fixtures/egeria-6.4/Egeria-api-data-engineer.http). + +Covered for each request: the URL path and HTTP method, the body sent, and the local refusals (an update or a +create with no body; a `properties.class` that is neither DataValueProperties nor LiteralDataValueProperties). +LiteralDataValueProperties, with dataValueList and dataValueMap, must round-trip unchanged. +""" +import copy +import json +import re +from pathlib import Path + +import pytest + +from pyegeria.core import egeria_6_4_names as n +from pyegeria.core._exceptions import PyegeriaInvalidParameterException +from pyegeria.models import NewElementRequestBody, UpdateElementRequestBody +from pyegeria.omvs.data_engineer import DataEngineer + +FIXTURE = Path(__file__).resolve().parent.parent / "fixtures" / "egeria-6.4" / "Egeria-api-data-engineer.http" +PLATFORM = "https://localhost:1" +SERVER = "view-server" +ROOT = f"{PLATFORM}/servers/{SERVER}/api/open-metadata/" +DV_GUID = "dv-guid-1" +# The `.http` samples use {{$isoTimestamp}}; any fixed instant in Egeria's own form will do. +TIMESTAMP = "2026-11-21T10:00:00Z" + + +def _samples() -> dict[str, dict]: + """Every named request in the collection that has a JSON body: name -> body.""" + out = {} + for block in re.split(r"\n###\n", FIXTURE.read_text(encoding="utf-8")): + name = re.search(r"# @name (\w+)", block) + start = block.find("\n{") + if name and start >= 0: + text = block[start + 1:].replace("{{$isoTimestamp}}", TIMESTAMP) + body = json.JSONDecoder().raw_decode(text)[0] + if "class" in body: + out[name.group(1)] = body + return out + + +SAMPLES = _samples() + + +def sample(name: str) -> dict: + return copy.deepcopy(SAMPLES[name]) + + +def literal(body: dict) -> dict: + """The same body, with the properties of a LiteralDataValue (a list and a map as well as a single value).""" + body = copy.deepcopy(body) + props = body["properties"] + props["class"] = n.LITERAL_DATA_VALUE_PROPERTIES + props["dataValue"] = "42" + props["dataValueList"] = ["red", "amber", "green"] + props["dataValueMap"] = {"low": "1", "high": "9"} + return body + + +class _Response: + def __init__(self, payload: dict): + self._payload = payload + + def json(self): + return self._payload + + +@pytest.fixture +def client(monkeypatch): + monkeypatch.setattr(DataEngineer, "check_connection", lambda self: "test") + c = DataEngineer(SERVER, PLATFORM, "user", "pwd") + c.calls = [] + c.reply = {"class": "GUIDResponse", "relatedHTTPCode": 200, "guid": "new-guid"} + + async def fake_make_request(method, url, payload=None, *args, **kwargs): + body = json.loads(payload) if isinstance(payload, str) else payload + c.calls.append((method, url, body)) + return _Response(c.reply) + + c._async_make_request = fake_make_request + return c + + +def _url(path: str, **guids) -> str: + return ROOT + path.format(**guids) + + +# --- create ------------------------------------------------------------------------------------------------- +@pytest.mark.asyncio +async def test_create_posts_the_sample_body_and_returns_the_guid(client): + guid = await client._async_create_data_value(sample("createDataValue")) + assert guid == "new-guid" + assert client.calls == [("POST", _url(n.DATA_VALUES_CREATE), sample("createDataValue"))] + + +@pytest.mark.asyncio +async def test_create_accepts_a_literal_data_value_and_round_trips_list_and_map(client): + await client._async_create_data_value(literal(sample("createDataValue"))) + sent = client.calls[0][2]["properties"] + assert sent["class"] == "LiteralDataValueProperties" + assert sent["dataValueList"] == ["red", "amber", "green"] + assert sent["dataValueMap"] == {"low": "1", "high": "9"} + assert client.calls[0][2] == literal(sample("createDataValue")) + + +@pytest.mark.asyncio +async def test_create_accepts_a_model_body_and_keeps_the_literal_fields(client): + await client._async_create_data_value(NewElementRequestBody.model_validate(literal(sample("createDataValue")))) + sent = client.calls[0][2]["properties"] + assert sent["dataValueList"] == ["red", "amber", "green"] + assert sent["dataValueMap"] == {"low": "1", "high": "9"} + + +def test_create_sync_wrapper(client): + assert client.create_data_value(sample("createDataValue")) == "new-guid" + assert client.calls[0][1] == _url(n.DATA_VALUES_CREATE) + + +@pytest.mark.asyncio +async def test_create_without_a_body_is_refused_locally(client): + with pytest.raises(PyegeriaInvalidParameterException): + await client._async_create_data_value(None) + assert client.calls == [] + + +@pytest.mark.asyncio +async def test_create_with_the_wrong_properties_class_is_refused_naming_the_expected_class(client): + body = sample("createDataValue") + body["properties"]["class"] = "DecisionProperties" + with pytest.raises(PyegeriaInvalidParameterException) as err: + await client._async_create_data_value(body) + assert "DataValueProperties" in str(err.value) and "LiteralDataValueProperties" in str(err.value) + assert "DecisionProperties" in str(err.value) + assert client.calls == [] + + +@pytest.mark.asyncio +async def test_create_with_no_properties_class_is_refused(client): + body = sample("createDataValue") + del body["properties"]["class"] + with pytest.raises(PyegeriaInvalidParameterException): + await client._async_create_data_value(body) + assert client.calls == [] + + +# --- create from template ----------------------------------------------------------------------------------- +@pytest.mark.asyncio +async def test_create_from_template_posts_the_sample_body_and_returns_the_guid(client): + guid = await client._async_create_data_value_from_template(sample("createDataValueFromTemplate")) + assert guid == "new-guid" + assert client.calls == [("POST", _url(n.DATA_VALUES_FROM_TEMPLATE), sample("createDataValueFromTemplate"))] + + +def test_create_from_template_sync_wrapper(client): + assert client.create_data_value_from_template(sample("createDataValueFromTemplate")) == "new-guid" + + +@pytest.mark.asyncio +async def test_create_from_template_without_a_body_is_refused_locally(client): + with pytest.raises(PyegeriaInvalidParameterException): + await client._async_create_data_value_from_template(None) + assert client.calls == [] + + +# --- update ------------------------------------------------------------------------------------------------- +@pytest.mark.asyncio +async def test_update_posts_the_sample_body(client): + await client._async_update_data_value(DV_GUID, sample("updateDataValue")) + assert client.calls == [("POST", _url(n.DATA_VALUES_UPDATE, dataValueGUID=DV_GUID), sample("updateDataValue"))] + + +@pytest.mark.asyncio +async def test_update_accepts_a_literal_data_value_and_round_trips_list_and_map(client): + await client._async_update_data_value(DV_GUID, literal(sample("updateDataValue"))) + assert client.calls[0][2] == literal(sample("updateDataValue")) + + +@pytest.mark.asyncio +async def test_update_accepts_a_model_body(client): + await client._async_update_data_value(DV_GUID, UpdateElementRequestBody.model_validate( + literal(sample("updateDataValue")))) + sent = client.calls[0][2] + assert sent["properties"]["dataValueMap"] == {"low": "1", "high": "9"} + assert sent["mergeUpdate"] is True + + +@pytest.mark.asyncio +@pytest.mark.parametrize("merge", [True, False]) +async def test_update_passes_merge_update_through(client, merge): + body = sample("updateDataValue") + body["mergeUpdate"] = merge + await client._async_update_data_value(DV_GUID, body) + assert client.calls[0][2]["mergeUpdate"] is merge + + +def test_update_sync_wrapper(client): + client.update_data_value(DV_GUID, sample("updateDataValue")) + assert client.calls[0][1] == _url(n.DATA_VALUES_UPDATE, dataValueGUID=DV_GUID) + + +@pytest.mark.asyncio +async def test_update_without_a_body_is_refused_locally(client): + with pytest.raises(PyegeriaInvalidParameterException) as err: + await client._async_update_data_value(DV_GUID, None) + assert "body" in str(err.value) + assert client.calls == [] + + +@pytest.mark.asyncio +async def test_update_with_the_wrong_properties_class_is_refused_naming_the_expected_class(client): + body = sample("updateDataValue") + body["properties"]["class"] = "AssetProperties" + with pytest.raises(PyegeriaInvalidParameterException) as err: + await client._async_update_data_value(DV_GUID, body) + assert "DataValueProperties" in str(err.value) and "AssetProperties" in str(err.value) + assert client.calls == [] + + +# --- delete ------------------------------------------------------------------------------------------------- +@pytest.mark.asyncio +async def test_delete_posts_the_sample_body(client): + await client._async_delete_data_value(DV_GUID, sample("deleteDataValue")) + assert client.calls == [("POST", _url(n.DATA_VALUES_DELETE, dataValueGUID=DV_GUID), sample("deleteDataValue"))] + + +@pytest.mark.asyncio +async def test_delete_without_a_body_sends_a_plain_delete_body(client): + await client._async_delete_data_value(DV_GUID) + method, url, body = client.calls[0] + assert (method, url) == ("POST", _url(n.DATA_VALUES_DELETE, dataValueGUID=DV_GUID)) + assert body == {"class": "DeleteElementRequestBody", "cascadedDelete": False} + + +def test_delete_sync_wrapper(client): + client.delete_data_value(DV_GUID, cascade=True) + assert client.calls[0][2]["cascadedDelete"] is True + + +# --- reads: by name, by GUID, by search string -------------------------------------------------------------- +# These go through the shared read helpers, which validate the body into its pydantic model and send its dump: +# every key of the sample is sent unchanged, and the only extra keys are the model's own defaults. +READ_DEFAULTS = {"relationshipsPageSize": 0, "forLineage": False, "forDuplicateProcessing": False} + + +def _assert_sample_sent(sent: dict, expected: dict): + for key, value in expected.items(): + assert sent.get(key) == value, f"{key}: sent {sent.get(key)!r}, sample {value!r}" + extra = {k: v for k, v in sent.items() if k not in expected} + assert extra.items() <= READ_DEFAULTS.items(), f"unexpected keys sent: {extra}" + + +@pytest.mark.asyncio +async def test_get_by_name_posts_the_sample_body(client): + client.reply = {"relatedHTTPCode": 200, "elements": [{"elementHeader": {"guid": "g"}}]} + result = await client._async_get_data_values_by_name(body=sample("getDataValuesByName")) + method, url, body = client.calls[0] + assert (method, url) == ("POST", _url(n.DATA_VALUES_BY_NAME)) + _assert_sample_sent(body, sample("getDataValuesByName")) + assert result == [{"elementHeader": {"guid": "g"}}] + + +@pytest.mark.asyncio +async def test_get_by_name_from_a_name(client): + client.reply = {"relatedHTTPCode": 200, "elements": []} + await client._async_get_data_values_by_name("Threshold") + assert client.calls[0][2]["filter"] == "Threshold" + assert client.calls[0][2]["class"] == "FilterRequestBody" + + +def test_get_by_name_sync_wrapper(client): + client.reply = {"relatedHTTPCode": 200, "elements": []} + client.get_data_values_by_name("Threshold") + assert client.calls[0][1] == _url(n.DATA_VALUES_BY_NAME) + + +@pytest.mark.asyncio +async def test_get_by_guid_posts_the_sample_body(client): + client.reply = {"relatedHTTPCode": 200, "element": {"elementHeader": {"guid": DV_GUID}}} + result = await client._async_get_data_value_by_guid(DV_GUID, body=sample("getDataValueByGUID")) + method, url, body = client.calls[0] + assert (method, url) == ("POST", _url(n.DATA_VALUES_RETRIEVE, dataValueGUID=DV_GUID)) + _assert_sample_sent(body, sample("getDataValueByGUID")) + assert result == {"elementHeader": {"guid": DV_GUID}} + + +@pytest.mark.asyncio +async def test_get_by_guid_without_a_body_does_not_filter_out_literal_data_values(client): + """A LiteralDataValue is a DataValue subtype: the default body must not narrow the result to DataValue only + in a way that hides it. Egeria's metadataElementTypeName includes subtypes, so DataValue is safe.""" + client.reply = {"relatedHTTPCode": 200, "element": {"elementHeader": {"guid": DV_GUID}}} + await client._async_get_data_value_by_guid(DV_GUID) + body = client.calls[0][2] + assert body["class"] == "GetRequestBody" + assert body.get("metadataElementTypeName") in (None, "DataValue") + + +def test_get_by_guid_sync_wrapper(client): + client.reply = {"relatedHTTPCode": 200, "element": {"elementHeader": {"guid": DV_GUID}}} + assert client.get_data_value_by_guid(DV_GUID) == {"elementHeader": {"guid": DV_GUID}} + + +@pytest.mark.asyncio +async def test_find_posts_the_sample_body(client): + client.reply = {"relatedHTTPCode": 200, "elements": [{"elementHeader": {"guid": "g"}}]} + result = await client._async_find_data_values(body=sample("findDataValues")) + method, url, body = client.calls[0] + assert (method, url) == ("POST", _url(n.DATA_VALUES_BY_SEARCH_STRING)) + _assert_sample_sent(body, sample("findDataValues")) + assert result == [{"elementHeader": {"guid": "g"}}] + + +@pytest.mark.asyncio +async def test_find_from_a_search_string(client): + client.reply = {"relatedHTTPCode": 200, "elements": []} + await client._async_find_data_values("thresh") + body = client.calls[0][2] + assert body["class"] == "SearchStringRequestBody" and body["searchString"] == "thresh" + + +def test_find_sync_wrapper(client): + client.reply = {"relatedHTTPCode": 200, "elements": []} + client.find_data_values("thresh") + assert client.calls[0][1] == _url(n.DATA_VALUES_BY_SEARCH_STRING) + + +# --- docstrings ---------------------------------------------------------------------------------------------- +LIFECYCLE = ("create_data_value", "create_data_value_from_template", "update_data_value", "delete_data_value", + "get_data_values_by_name", "get_data_value_by_guid", "find_data_values") + + +@pytest.mark.parametrize("method", LIFECYCLE) +def test_docstrings_say_the_call_needs_egeria_6_4(method): + for name in (method, f"_async_{method}"): + doc = getattr(DataEngineer, name).__doc__ or "" + assert "Egeria 6.4" in doc, f"{name} does not say it needs Egeria 6.4" From e295ba6fb3cdf9025834b7bbcb13af602f2c1c01 Mon Sep 17 00:00:00 2001 From: Dan Wolfson Date: Sat, 21 Nov 2026 14:48:32 -0600 Subject: [PATCH 06/19] feat(6.4): A3 - ProjectTarget, SupportedVariableType and a new DevopsPipeline client (Branch) Wraps 6 of the 31 Egeria 6.4 requests (odpi/egeria#9463, merged as 90232870b2): - ProjectManager.setup_project_target / clear_project_target (project-manager/projects/{p}/project-targets/{t}/attach|detach); - SchemaMaker.link_supported_variable_type / detach_supported_variable_type (schema-maker/elements/{e}/supported-variable-types/{schemaType}/attach|detach); - new pyegeria/omvs/devops_pipeline.py, DevopsPipeline.set_element_as_branch (NewClassificationRequestBody, BranchProperties) and clear_element_as_branch (branch/remove, MetadataSourceRequestBody). Every path comes from pyegeria.core.egeria_6_4_names (A0). A shared local check, _checked_6_4_body, sends the caller's body as given (so it equals the .http sample), sends no body when none is given, and refuses before Egeria a wrong request-body class, a wrong or missing properties class (the TR-89 parent-class case), and keys the class does not read per PROPERTIES_CLASS_FIELDS (so BranchProperties label/description are refused). The ServerClient helpers could not be used as they are: with no body they send a default body, they do not refuse a wrong properties class, and they add model defaults. DevopsPipeline is registered in pyegeria/__init__.py, pyegeria/omvs/__init__.py, egeria_client.py and egeria_tech_client.py (subclient "devops_pipeline"). Tests: tests/micro-tests/test_egeria_6_4_a3_project_schema_devops.py, 47 tests, failing first (46 failed, 1 passed). Micro-tests on Python 3.13: 4662 passed, 5 skipped, 0 failed (A0 tip: 4614 passed, 5 skipped); +47 new, +1 from test_no_password_opt_out covering the new client. Signed-off-by: Dan Wolfson --- pyegeria/__init__.py | 2 + pyegeria/egeria_client.py | 2 + pyegeria/egeria_tech_client.py | 2 + pyegeria/omvs/__init__.py | 2 + pyegeria/omvs/devops_pipeline.py | 250 ++++++++++++++ pyegeria/omvs/project_manager.py | 106 ++++++ pyegeria/omvs/schema_maker.py | 116 +++++++ ...est_egeria_6_4_a3_project_schema_devops.py | 326 ++++++++++++++++++ 8 files changed, 806 insertions(+) create mode 100644 pyegeria/omvs/devops_pipeline.py create mode 100644 tests/micro-tests/test_egeria_6_4_a3_project_schema_devops.py diff --git a/pyegeria/__init__.py b/pyegeria/__init__.py index 1a3fb10bc..f0a001fb5 100644 --- a/pyegeria/__init__.py +++ b/pyegeria/__init__.py @@ -69,6 +69,7 @@ from pyegeria.omvs.data_discovery import DataDiscovery from pyegeria.omvs.data_engineer import DataEngineer from pyegeria.omvs.digital_business import DigitalBusiness +from pyegeria.omvs.devops_pipeline import DevopsPipeline from pyegeria.omvs.external_links import ExternalReferences from pyegeria.omvs.full_omag_server_config import FullServerConfig from pyegeria.omvs.glossary_manager import GlossaryManager @@ -178,6 +179,7 @@ "DataDesigner", "DataDiscovery", "DataEngineer", + "DevopsPipeline", "DigitalBusiness", "ExternalReferences", "FullServerConfig", diff --git a/pyegeria/egeria_client.py b/pyegeria/egeria_client.py index 09a438d66..84095ce15 100644 --- a/pyegeria/egeria_client.py +++ b/pyegeria/egeria_client.py @@ -26,6 +26,7 @@ from pyegeria.omvs.data_discovery import DataDiscovery from pyegeria.omvs.data_engineer import DataEngineer from pyegeria.omvs.digital_business import DigitalBusiness +from pyegeria.omvs.devops_pipeline import DevopsPipeline from pyegeria.omvs.external_links import ExternalReferences from pyegeria.core._server_client import ServerClient from pyegeria.omvs.full_omag_server_config import FullServerConfig @@ -97,6 +98,7 @@ def __init__( "config": EgeriaConfig, "data_discovery": DataDiscovery, "data_engineer": DataEngineer, + "devops_pipeline": DevopsPipeline, "designer": DataDesigner, "data_designer": DataDesigner, "digital_business": DigitalBusiness, diff --git a/pyegeria/egeria_tech_client.py b/pyegeria/egeria_tech_client.py index a508241d7..9779b43d8 100644 --- a/pyegeria/egeria_tech_client.py +++ b/pyegeria/egeria_tech_client.py @@ -19,6 +19,7 @@ from pyegeria.omvs.data_discovery import DataDiscovery from pyegeria.omvs.data_engineer import DataEngineer from pyegeria.omvs.digital_business import DigitalBusiness +from pyegeria.omvs.devops_pipeline import DevopsPipeline from pyegeria.omvs.external_links import ExternalReferences from pyegeria.core._server_client import ServerClient from pyegeria.omvs.glossary_manager import GlossaryManager @@ -131,6 +132,7 @@ def __init__( "location_arena": LocationArena, "data_discovery": DataDiscovery, "data_engineer": DataEngineer, + "devops_pipeline": DevopsPipeline, "security_officer": SecurityOfficer, "digital_business": DigitalBusiness, "lineage_linker": LineageLinker, diff --git a/pyegeria/omvs/__init__.py b/pyegeria/omvs/__init__.py index e841ba218..fae70b257 100644 --- a/pyegeria/omvs/__init__.py +++ b/pyegeria/omvs/__init__.py @@ -13,6 +13,7 @@ from pyegeria.omvs.data_discovery import DataDiscovery from pyegeria.omvs.data_engineer import DataEngineer from pyegeria.omvs.digital_business import DigitalBusiness +from pyegeria.omvs.devops_pipeline import DevopsPipeline from pyegeria.omvs.external_links import ExternalReferences from pyegeria.omvs.full_omag_server_config import FullServerConfig from pyegeria.omvs.glossary_manager import GlossaryManager @@ -54,6 +55,7 @@ "DataDesigner", "DataDiscovery", "DataEngineer", + "DevopsPipeline", "DigitalBusiness", "ExternalReferences", "FullServerConfig", diff --git a/pyegeria/omvs/devops_pipeline.py b/pyegeria/omvs/devops_pipeline.py new file mode 100644 index 000000000..e1192dbe2 --- /dev/null +++ b/pyegeria/omvs/devops_pipeline.py @@ -0,0 +1,250 @@ +""" +SPDX-License-Identifier: Apache-2.0 +Copyright Contributors to the ODPi Egeria project. + + Devops Pipeline View Service client. + + Egeria 6.4 (odpi/egeria#9463) adds the Branch classification (model 0280): it marks an element as + holding the files for one branch of a source code repository. This client wraps the two requests that + set and clear it. The other devops-pipeline requests (storage volumes and so on) are not wrapped yet. + + Every URL path comes from pyegeria.core.egeria_6_4_names, so a rename is one edit there. +""" + +from typing import Optional + +from loguru import logger +from pydantic import BaseModel, ValidationError + +from pyegeria.core import egeria_6_4_names as e64 +from pyegeria.core._exceptions import PyegeriaInvalidParameterException +from pyegeria.core._server_client import ServerClient +from pyegeria.core.async_runner import run_sync +from pyegeria.core.utils import dynamic_catch +from pyegeria.models import ( + DeleteRelationshipRequestBody, + MetadataSourceRequestBody, + NewClassificationRequestBody, + NewRelationshipRequestBody, +) + +_BODY_MODELS = { + "NewRelationshipRequestBody": NewRelationshipRequestBody, + "DeleteRelationshipRequestBody": DeleteRelationshipRequestBody, + "NewClassificationRequestBody": NewClassificationRequestBody, + "MetadataSourceRequestBody": MetadataSourceRequestBody, +} + + +def _refuse(method: str, reason: str) -> None: + raise PyegeriaInvalidParameterException(None, context={"caller_method": method}, + additional_info={"reason": reason}) + + +def _checked_6_4_body(body: Optional[dict | BaseModel], request_class: str, properties_class: Optional[str], + method: str, default_body: bool = False) -> Optional[str]: + """The JSON to send for an Egeria 6.4 request, or None to send no body. + + Shared by the A3 wrappers (ProjectManager, SchemaMaker, DevopsPipeline). Refuses locally, with words, + what Egeria would reject or silently drop: + + - a request body of another class than `request_class`; + - properties of another class than `properties_class`, or with no class (6.4 rejects a wrong class; a + parent class passes Egeria's check and loses the subclass's fields, the TR-89 case); + - property keys the class does not read (Egeria ignores them silently), per PROPERTIES_CLASS_FIELDS. + + The body is sent as given: only the keys the caller set, so it equals the `.http` sample it came from. + With no body, nothing is sent, unless `default_body` asks for a bare body of `request_class`. + """ + if body is None: + if not default_body: + return None + body = {"class": request_class} + if isinstance(body, BaseModel): + data = body.model_dump(mode="json", by_alias=True, exclude_unset=True, exclude_none=True) + elif isinstance(body, dict): + data = dict(body) + else: + _refuse(method, f"{method} takes a dict or a {request_class}, not a {type(body).__name__}.") + sent_class = data.setdefault("class", request_class) + if sent_class != request_class: + _refuse(method, f"{method} sends a {request_class}; the body is a {sent_class}.") + + props = data.get("properties") + if properties_class and props is not None: + if not isinstance(props, dict): + _refuse(method, f"{method}: properties must be a dict of {properties_class}.") + props_class = props.get("class") + if props_class != properties_class: + named = f"names {props_class}" if props_class else "names no class" + _refuse(method, f"{method} needs properties of class {properties_class}; the body {named}.") + from md_processing.md_processing_utils.properties_class_fields import PROPERTIES_CLASS_FIELDS + known = PROPERTIES_CLASS_FIELDS.get(properties_class) + if known: + unread = sorted(set(props) - {"class"} - set(known[1])) + if unread: + _refuse(method, f"{properties_class} does not read {', '.join(unread)}; Egeria would drop " + f"{'it' if len(unread) == 1 else 'them'} silently.") + + try: + validated = _BODY_MODELS[request_class].model_validate(data) + except ValidationError as error: + _refuse(method, f"{method}: the body is not a valid {request_class}: {error}") + return validated.model_dump_json(by_alias=True, exclude_none=True, exclude_unset=True) + + +class DevopsPipeline(ServerClient): + """ + Client for the Devops Pipeline View Service. + + Today it sets and clears the Branch classification, which needs Egeria 6.4 (odpi/egeria#9463). + + Parameters + ----------- + view_server : str + The name of the View Server to connect to. + platform_url : str + URL of the server platform to connect to. + user_id : str + Default user identity for calls (can be overridden per call). + user_pwd : str, optional + Password for the user_id. If a token is supplied, this may be None. + token : str, optional + Supply a token instead of using userId/password discovery. + timeout : int, optional + An optional timeout for requests. + """ + + def __init__( + self, + view_server: str = None, + platform_url: str = None, + user_id: str = None, + user_pwd: Optional[str] = None, + token: Optional[str] = None, + timeout: int = None): + ServerClient.__init__(self, view_server, platform_url, user_id, user_pwd, token, timeout=timeout) + self.url_marker = e64.DEVOPS_PIPELINE + self.open_metadata_root = f"{self.platform_url}/servers/{self.server_name}/api/open-metadata/" + self.devops_pipeline_command_root = self.open_metadata_root + e64.DEVOPS_PIPELINE + + # + # Branch classification (model 0280) + # + + @dynamic_catch + async def _async_set_element_as_branch(self, element_guid: str, + body: Optional[dict | NewClassificationRequestBody] = None, + display_name: Optional[str] = None, scope: Optional[str] = None, + purpose: Optional[str] = None, url: Optional[str] = None) -> None: + """Classify an element as holding the files for one branch of a source code repository. Async version. + + Needs Egeria 6.4 (odpi/egeria#9463); an older Egeria does not have this request. + + Parameters + ---------- + element_guid: str + The element to classify, for example a SourceControlLibrary. + body: dict | NewClassificationRequestBody, optional + A NewClassificationRequestBody whose properties are BranchProperties: displayName, scope, + purpose and url. BranchProperties has no label or description. Leave it out to classify with no + properties, or use the keywords instead. + display_name, scope, purpose, url: str, optional + The BranchProperties, as a convenience instead of `body`. Not with `body`. + + Returns + ------- + None + + Raises + ------ + PyegeriaInvalidParameterException + Refused locally, before Egeria: `body` and keywords together; a body class other than + NewClassificationRequestBody; properties of a class other than BranchProperties, or with no + class; keys BranchProperties does not read, such as label or description. + PyegeriaAPIException + Raised by the server when an issue arises in processing a valid request. + PyegeriaNotAuthorizedException + The principal does not have authorization for the requested action. + + Example + ------- + ``{"class": "NewClassificationRequestBody", "properties": {"class": "BranchProperties", + "displayName": "main", "scope": "repository", "purpose": "default branch", "url": "https://..."}}`` + """ + method = "set_element_as_branch" + keywords = {"displayName": display_name, "scope": scope, "purpose": purpose, "url": url} + keywords = {k: v for k, v in keywords.items() if v is not None} + if keywords: + if body is not None: + _refuse(method, f"{method} takes either a body or the Branch keywords, not both.") + body = {"class": "NewClassificationRequestBody", + "properties": {"class": e64.BRANCH_PROPERTIES, **keywords}} + payload = _checked_6_4_body(body, "NewClassificationRequestBody", e64.BRANCH_PROPERTIES, method) + request_url = self.open_metadata_root + e64.BRANCH_SET.format(elementGUID=element_guid) + if payload: + await self._async_make_request("POST", request_url, payload) + else: + await self._async_make_request("POST", request_url) + logger.info(f"Classified {element_guid} as a Branch.") + + @dynamic_catch + def set_element_as_branch(self, element_guid: str, body: Optional[dict | NewClassificationRequestBody] = None, + display_name: Optional[str] = None, scope: Optional[str] = None, + purpose: Optional[str] = None, url: Optional[str] = None) -> None: + """Classify an element as holding the files for one branch of a source code repository. + + Needs Egeria 6.4 (odpi/egeria#9463). See `_async_set_element_as_branch` for the parameters: a + NewClassificationRequestBody with BranchProperties (displayName, scope, purpose, url; no label or + description), or those four as keywords. + """ + return run_sync(self._async_set_element_as_branch(element_guid, body, display_name, scope, purpose, url)) + + @dynamic_catch + async def _async_clear_element_as_branch(self, element_guid: str, + body: Optional[dict | MetadataSourceRequestBody] = None) -> None: + """Remove the Branch classification from an element. Async version. + + Needs Egeria 6.4 (odpi/egeria#9463); an older Egeria does not have this request. + + Parameters + ---------- + element_guid: str + The element to declassify. + body: dict | MetadataSourceRequestBody, optional + A MetadataSourceRequestBody (externalSourceGUID/Name, effectiveTime, forLineage, + forDuplicateProcessing). Left out, a bare MetadataSourceRequestBody is sent. Its "class" may be + left out; any other class is refused. + + Returns + ------- + None + + Raises + ------ + PyegeriaInvalidParameterException + A body class other than MetadataSourceRequestBody, refused locally. + PyegeriaAPIException + Raised by the server when an issue arises in processing a valid request. + PyegeriaNotAuthorizedException + The principal does not have authorization for the requested action. + """ + payload = _checked_6_4_body(body, "MetadataSourceRequestBody", None, "clear_element_as_branch", + default_body=True) + request_url = self.open_metadata_root + e64.BRANCH_REMOVE.format(elementGUID=element_guid) + await self._async_make_request("POST", request_url, payload) + logger.info(f"Removed the Branch classification from {element_guid}.") + + @dynamic_catch + def clear_element_as_branch(self, element_guid: str, + body: Optional[dict | MetadataSourceRequestBody] = None) -> None: + """Remove the Branch classification from an element. + + Needs Egeria 6.4 (odpi/egeria#9463). Sends a MetadataSourceRequestBody (a bare one when `body` is left + out). See `_async_clear_element_as_branch`. + """ + return run_sync(self._async_clear_element_as_branch(element_guid, body)) + + +if __name__ == "__main__": + print("Devops Pipeline") diff --git a/pyegeria/omvs/project_manager.py b/pyegeria/omvs/project_manager.py index 47c2ebcad..f2f3642ac 100644 --- a/pyegeria/omvs/project_manager.py +++ b/pyegeria/omvs/project_manager.py @@ -23,6 +23,8 @@ from pyegeria.core.utils import body_slimmer, dynamic_catch from loguru import logger from pyegeria.core.async_runner import run_sync +from pyegeria.core import egeria_6_4_names as e64 +from pyegeria.omvs.devops_pipeline import _checked_6_4_body # the shared Egeria 6.4 body check (A3) PROJECT_TYPES = ["Project", "Campaign", "StudyProject", "Task", "PersonalProject", "Experiment", "Investigation"] @@ -2707,5 +2709,109 @@ def clear_project_kind(self, project_guid: str, run_sync(self._async_clear_project_kind(project_guid, body)) + # + # ProjectTarget relationship (Egeria 6.4, model 0130) + # + + @dynamic_catch + async def _async_setup_project_target(self, project_guid: str, target_guid: str, + body: Optional[dict | NewRelationshipRequestBody] = None) -> None: + """Attach a project to an element it is to work on (ProjectTarget relationship). Async version. + + Needs Egeria 6.4 (odpi/egeria#9463); an older Egeria does not have this request. ProjectTarget is a + uni-link relationship, so it is addressed by its two ends and the attach returns nothing. + + Parameters + ---------- + project_guid: str + The project (end 1). + target_guid: str + The element the project works on (end 2), any Referenceable. + body: dict | NewRelationshipRequestBody, optional + A NewRelationshipRequestBody whose properties are ProjectTargetProperties (label, description, + effectiveFrom, effectiveTo). Left out, the request is sent with no body. + + Returns + ------- + None + + Raises + ------ + PyegeriaInvalidParameterException + Refused locally, before Egeria: a body class other than NewRelationshipRequestBody; properties + of a class other than ProjectTargetProperties, or with no class; keys the class does not read. + PyegeriaAPIException + Raised by the server when an issue arises in processing a valid request. + PyegeriaNotAuthorizedException + The principal does not have authorization for the requested action. + """ + payload = _checked_6_4_body(body, "NewRelationshipRequestBody", e64.PROJECT_TARGET_PROPERTIES, + "setup_project_target") + url = (f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/" + + e64.PROJECT_TARGETS_ATTACH.format(projectGUID=project_guid, targetGUID=target_guid)) + if payload: + await self._async_make_request("POST", url, payload) + else: + await self._async_make_request("POST", url) + logger.info(f"Project {project_guid} targets {target_guid}") + + @dynamic_catch + def setup_project_target(self, project_guid: str, target_guid: str, + body: Optional[dict | NewRelationshipRequestBody] = None) -> None: + """Attach a project to an element it is to work on (ProjectTarget relationship). + + Needs Egeria 6.4 (odpi/egeria#9463). See `_async_setup_project_target` for the parameters; the body, + if any, carries ProjectTargetProperties. + """ + return run_sync(self._async_setup_project_target(project_guid, target_guid, body)) + + @dynamic_catch + async def _async_clear_project_target(self, project_guid: str, target_guid: str, + body: Optional[dict | DeleteRelationshipRequestBody] = None) -> None: + """Detach a project from an element it was to work on (ProjectTarget relationship). Async version. + + Needs Egeria 6.4 (odpi/egeria#9463); an older Egeria does not have this request. + + Parameters + ---------- + project_guid: str + The project (end 1). + target_guid: str + The element the project worked on (end 2). + body: dict | DeleteRelationshipRequestBody, optional + A DeleteRelationshipRequestBody. Left out, the request is sent with no body. + + Returns + ------- + None + + Raises + ------ + PyegeriaInvalidParameterException + A body class other than DeleteRelationshipRequestBody, refused locally. + PyegeriaAPIException + Raised by the server when an issue arises in processing a valid request. + PyegeriaNotAuthorizedException + The principal does not have authorization for the requested action. + """ + payload = _checked_6_4_body(body, "DeleteRelationshipRequestBody", None, "clear_project_target") + url = (f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/" + + e64.PROJECT_TARGETS_DETACH.format(projectGUID=project_guid, targetGUID=target_guid)) + if payload: + await self._async_make_request("POST", url, payload) + else: + await self._async_make_request("POST", url) + logger.info(f"Project {project_guid} no longer targets {target_guid}") + + @dynamic_catch + def clear_project_target(self, project_guid: str, target_guid: str, + body: Optional[dict | DeleteRelationshipRequestBody] = None) -> None: + """Detach a project from an element it was to work on (ProjectTarget relationship). + + Needs Egeria 6.4 (odpi/egeria#9463). See `_async_clear_project_target`. + """ + return run_sync(self._async_clear_project_target(project_guid, target_guid, body)) + + if __name__ == "__main__": print("Main-Project Manager") diff --git a/pyegeria/omvs/schema_maker.py b/pyegeria/omvs/schema_maker.py index 4d77c6a09..a2890f204 100644 --- a/pyegeria/omvs/schema_maker.py +++ b/pyegeria/omvs/schema_maker.py @@ -36,6 +36,8 @@ ) from pyegeria.core.utils import dynamic_catch from pyegeria.core.async_runner import run_sync +from pyegeria.core import egeria_6_4_names as e64 +from pyegeria.omvs.devops_pipeline import _checked_6_4_body # the shared Egeria 6.4 body check (A3) class SchemaTypeProperties(ReferenceableProperties): @@ -1200,3 +1202,117 @@ def remove_calculated_value(self, schema_attribute_guid: str, """Remove the CalculatedValue classification from a schema attribute.""" run_sync(self._async_remove_calculated_value( schema_attribute_guid, body, cascade_delete)) + + + # + # SupportedVariableType relationship (Egeria 6.4, model 0520) + # + + @dynamic_catch + async def _async_link_supported_variable_type(self, element_guid: str, schema_type_guid: str, + body: Optional[dict | NewRelationshipRequestBody] = None) -> None: + """Attach an element, such as a process, to a schema type describing a type of data value used to + initialize or configure it (SupportedVariableType relationship). Async version. + + Needs Egeria 6.4 (odpi/egeria#9463); an older Egeria does not have this request. SupportedVariableType + is a uni-link relationship, so it is addressed by its two ends and the attach returns nothing. + + Parameters + ---------- + element_guid: str + The element (end 1), any Referenceable. + schema_type_guid: str + The schema type (end 2). + body: dict | NewRelationshipRequestBody, optional + A NewRelationshipRequestBody whose properties are SupportedVariableTypeProperties: label, + description, position, minCardinality, maxCardinality, effectiveFrom, effectiveTo. Left out, the + request is sent with no body. + + Returns + ------- + None + + Raises + ------ + PyegeriaInvalidParameterException + Refused locally, before Egeria: a body class other than NewRelationshipRequestBody; properties + of a class other than SupportedVariableTypeProperties, or with no class; keys the class does not + read. + PyegeriaAPIException + Raised by the server when an issue arises in processing a valid request. + PyegeriaNotAuthorizedException + The principal does not have authorization for the requested action. + """ + payload = _checked_6_4_body(body, "NewRelationshipRequestBody", e64.SUPPORTED_VARIABLE_TYPE_PROPERTIES, + "link_supported_variable_type") + url = (f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/" + + e64.SUPPORTED_VARIABLE_TYPES_ATTACH.format(elementGUID=element_guid, + schemaTypeGUID=schema_type_guid)) + if payload: + await self._async_make_request("POST", url, payload) + else: + await self._async_make_request("POST", url) + logger.info(f"Linked {element_guid} to supported variable type {schema_type_guid}.") + + @dynamic_catch + def link_supported_variable_type(self, element_guid: str, schema_type_guid: str, + body: Optional[dict | NewRelationshipRequestBody] = None) -> None: + """Attach an element, such as a process, to a schema type describing a type of data value used to + initialize or configure it (SupportedVariableType relationship). + + Needs Egeria 6.4 (odpi/egeria#9463). See `_async_link_supported_variable_type`; the body, if any, + carries SupportedVariableTypeProperties (position, minCardinality, maxCardinality, label, + description). + """ + return run_sync(self._async_link_supported_variable_type(element_guid, schema_type_guid, body)) + + @dynamic_catch + async def _async_detach_supported_variable_type(self, element_guid: str, schema_type_guid: str, + body: Optional[dict | DeleteRelationshipRequestBody] = None + ) -> None: + """Detach an element from a schema type describing a type of data value used to initialize or + configure it (SupportedVariableType relationship). Async version. + + Needs Egeria 6.4 (odpi/egeria#9463); an older Egeria does not have this request. + + Parameters + ---------- + element_guid: str + The element (end 1). + schema_type_guid: str + The schema type (end 2). + body: dict | DeleteRelationshipRequestBody, optional + A DeleteRelationshipRequestBody. Left out, the request is sent with no body. + + Returns + ------- + None + + Raises + ------ + PyegeriaInvalidParameterException + A body class other than DeleteRelationshipRequestBody, refused locally. + PyegeriaAPIException + Raised by the server when an issue arises in processing a valid request. + PyegeriaNotAuthorizedException + The principal does not have authorization for the requested action. + """ + payload = _checked_6_4_body(body, "DeleteRelationshipRequestBody", None, "detach_supported_variable_type") + url = (f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/" + + e64.SUPPORTED_VARIABLE_TYPES_DETACH.format(elementGUID=element_guid, + schemaTypeGUID=schema_type_guid)) + if payload: + await self._async_make_request("POST", url, payload) + else: + await self._async_make_request("POST", url) + logger.info(f"Detached {element_guid} from supported variable type {schema_type_guid}.") + + @dynamic_catch + def detach_supported_variable_type(self, element_guid: str, schema_type_guid: str, + body: Optional[dict | DeleteRelationshipRequestBody] = None) -> None: + """Detach an element from a schema type describing a type of data value used to initialize or + configure it (SupportedVariableType relationship). + + Needs Egeria 6.4 (odpi/egeria#9463). See `_async_detach_supported_variable_type`. + """ + return run_sync(self._async_detach_supported_variable_type(element_guid, schema_type_guid, body)) diff --git a/tests/micro-tests/test_egeria_6_4_a3_project_schema_devops.py b/tests/micro-tests/test_egeria_6_4_a3_project_schema_devops.py new file mode 100644 index 000000000..8dec6e896 --- /dev/null +++ b/tests/micro-tests/test_egeria_6_4_a3_project_schema_devops.py @@ -0,0 +1,326 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +"""Egeria 6.4 A3 (odpi/egeria#9463): ProjectTarget, SupportedVariableType and the new DevopsPipeline client. + +Six requests, all POST: + project-manager projects/{p}/project-targets/{t}/attach|detach ProjectManager + schema-maker elements/{e}/supported-variable-types/{st}/attach|detach SchemaMaker + devops-pipeline elements/{e}/branch and elements/{e}/branch/remove DevopsPipeline (new) + +No Egeria: the HTTP call is captured. Every path comes from pyegeria.core.egeria_6_4_names, and every +sample body from the `.http` collections in tests/fixtures/egeria-6.4/ (the PR's own samples), so a rename +in review breaks these tests rather than the calls. +""" +from __future__ import annotations + +import importlib +import json +import re +from pathlib import Path + +import pytest + +from md_processing.md_processing_utils.properties_class_fields import PROPERTIES_CLASS_FIELDS +from pyegeria.core import egeria_6_4_names as n +from pyegeria.core._exceptions import PyegeriaException +from pyegeria.omvs.project_manager import ProjectManager +from pyegeria.omvs.schema_maker import SchemaMaker + +pytestmark = pytest.mark.unit + +FIXTURES = Path(__file__).resolve().parents[1] / "fixtures" / "egeria-6.4" +ROOT = "https://localhost:1/servers/view-server/api/open-metadata/" +TIMESTAMP = "2026-11-21T12:00:00Z" + + +def _sample(collection: str, name: str) -> dict: + """The JSON body of request `name` in the collection, placeholders filled.""" + text = (FIXTURES / f"Egeria-api-{collection}.http").read_text() + start = text.index(f"# @name {name}\n") + block = text[start:].split("\n###", 1)[0] + body = block[block.index("\n{"):].strip() + body = body.replace("{{$isoTimestamp}}", TIMESTAMP) + assert "{{" not in body, f"unfilled placeholder in {name}" + return json.loads(body) + + +def _path(template: str, **guids) -> str: + return ROOT + re.sub(r"\{(\w+)\}", lambda m: guids[m.group(1)], template) + + +class _Response: + def json(self): + return {"class": "VoidResponse", "relatedHTTPCode": 200} + + +def _client(cls, calls: list, monkeypatch): + monkeypatch.setattr(cls, "check_connection", lambda self: "test", raising=False) + client = cls("view-server", "https://localhost:1", "user", "pwd") + + async def fake_make_request(method, url, payload=None, *args, **kwargs): + calls.append({"method": method, "url": url, + "body": json.loads(payload) if isinstance(payload, str) else payload}) + return _Response() + + client._async_make_request = fake_make_request + return client + + +def _devops_cls(): + from pyegeria.omvs.devops_pipeline import DevopsPipeline + return DevopsPipeline + + +# --- (client factory, method, path template, guid args, .http collection, sample name, properties class) --- +CASES = [ + pytest.param(lambda: ProjectManager, "_async_setup_project_target", n.PROJECT_TARGETS_ATTACH, + {"projectGUID": "p-guid", "targetGUID": "t-guid"}, "project-manager", "setupProjectTarget", + n.PROJECT_TARGET_PROPERTIES, id="setup_project_target"), + pytest.param(lambda: ProjectManager, "_async_clear_project_target", n.PROJECT_TARGETS_DETACH, + {"projectGUID": "p-guid", "targetGUID": "t-guid"}, "project-manager", "clearProjectTarget", + None, id="clear_project_target"), + pytest.param(lambda: SchemaMaker, "_async_link_supported_variable_type", n.SUPPORTED_VARIABLE_TYPES_ATTACH, + {"elementGUID": "e-guid", "schemaTypeGUID": "st-guid"}, "schema-maker", + "linkSupportedVariableType", n.SUPPORTED_VARIABLE_TYPE_PROPERTIES, + id="link_supported_variable_type"), + pytest.param(lambda: SchemaMaker, "_async_detach_supported_variable_type", n.SUPPORTED_VARIABLE_TYPES_DETACH, + {"elementGUID": "e-guid", "schemaTypeGUID": "st-guid"}, "schema-maker", + "detachSupportedVariableType", None, id="detach_supported_variable_type"), + pytest.param(_devops_cls, "_async_set_element_as_branch", n.BRANCH_SET, {"elementGUID": "e-guid"}, + "devops-pipeline", "setElementAsBranch", n.BRANCH_PROPERTIES, id="set_element_as_branch"), + pytest.param(_devops_cls, "_async_clear_element_as_branch", n.BRANCH_REMOVE, {"elementGUID": "e-guid"}, + "devops-pipeline", "clearElementAsBranch", None, id="clear_element_as_branch"), +] +ATTACH_CASES = [c for c in CASES if c.values[6] is not None] + + +@pytest.mark.asyncio +@pytest.mark.parametrize("factory, method, template, guids, collection, sample, props_class", CASES) +async def test_path_method_and_body_equal_the_http_sample(factory, method, template, guids, collection, sample, + props_class, monkeypatch): + calls: list = [] + client = _client(factory(), calls, monkeypatch) + body = _sample(collection, sample) + + await getattr(client, method)(*guids.values(), body) + + assert len(calls) == 1 + assert calls[0]["method"] == "POST" + assert calls[0]["url"] == _path(template, **guids) + assert calls[0]["body"] == body + + +@pytest.mark.asyncio +@pytest.mark.parametrize("factory, method, template, guids, collection, sample, props_class", ATTACH_CASES) +async def test_attach_with_no_body_sends_no_body(factory, method, template, guids, collection, sample, + props_class, monkeypatch): + calls: list = [] + client = _client(factory(), calls, monkeypatch) + + await getattr(client, method)(*guids.values()) + + assert calls == [{"method": "POST", "url": _path(template, **guids), "body": None}] + + +@pytest.mark.asyncio +@pytest.mark.parametrize("factory, method, template, guids, collection, sample, props_class", ATTACH_CASES) +async def test_wrong_properties_class_is_refused_locally(factory, method, template, guids, collection, sample, + props_class, monkeypatch): + calls: list = [] + client = _client(factory(), calls, monkeypatch) + body = _sample(collection, sample) + body["properties"]["class"] = "ReferenceableProperties" # a parent class: the TR-89 silent-drop case + + with pytest.raises(PyegeriaException) as raised: + await getattr(client, method)(*guids.values(), body) + + assert calls == [], "nothing may reach Egeria" + assert props_class in str(raised.value), "the words must name the class the call needs" + + +@pytest.mark.asyncio +@pytest.mark.parametrize("factory, method, template, guids, collection, sample, props_class", ATTACH_CASES) +async def test_properties_with_no_class_are_refused_locally(factory, method, template, guids, collection, sample, + props_class, monkeypatch): + calls: list = [] + client = _client(factory(), calls, monkeypatch) + body = _sample(collection, sample) + del body["properties"]["class"] + + with pytest.raises(PyegeriaException) as raised: + await getattr(client, method)(*guids.values(), body) + + assert calls == [] + assert props_class in str(raised.value) + + +@pytest.mark.asyncio +@pytest.mark.parametrize("factory, method, template, guids, collection, sample, props_class", ATTACH_CASES) +async def test_a_key_the_class_does_not_read_is_refused_locally(factory, method, template, guids, collection, + sample, props_class, monkeypatch): + """Egeria ignores unknown keys silently (the TR-89 libraryType drop), so the client refuses them.""" + calls: list = [] + client = _client(factory(), calls, monkeypatch) + body = _sample(collection, sample) + body["properties"]["notARealProperty"] = "x" + + with pytest.raises(PyegeriaException) as raised: + await getattr(client, method)(*guids.values(), body) + + assert calls == [] + assert "notARealProperty" in str(raised.value) + + +# --- Branch -------------------------------------------------------------------------------------------------- + +def test_branch_properties_have_no_label_or_description(): + kind, keys = PROPERTIES_CLASS_FIELDS[n.BRANCH_PROPERTIES] + assert kind == "classification" + assert "label" not in keys and "description" not in keys + assert {"displayName", "scope", "purpose", "url"} <= set(keys) + assert "label" not in _sample("devops-pipeline", "setElementAsBranch")["properties"] + + +@pytest.mark.asyncio +@pytest.mark.parametrize("key", ["label", "description"]) +async def test_set_element_as_branch_refuses_label_and_description(key, monkeypatch): + calls: list = [] + client = _client(_devops_cls(), calls, monkeypatch) + body = _sample("devops-pipeline", "setElementAsBranch") + body["properties"][key] = "would be dropped by Egeria" + + with pytest.raises(PyegeriaException) as raised: + await client._async_set_element_as_branch("e-guid", body) + + assert calls == [] + assert key in str(raised.value) + + +@pytest.mark.asyncio +async def test_set_element_as_branch_builds_the_body_from_keywords(monkeypatch): + calls: list = [] + client = _client(_devops_cls(), calls, monkeypatch) + + await client._async_set_element_as_branch("e-guid", display_name="main", scope="repo", + purpose="default branch", url="https://example.org/r/tree/main") + + assert calls[0]["body"] == { + "class": "NewClassificationRequestBody", + "properties": {"class": "BranchProperties", "displayName": "main", "scope": "repo", + "purpose": "default branch", "url": "https://example.org/r/tree/main"}, + } + + +@pytest.mark.asyncio +async def test_set_element_as_branch_refuses_body_and_keywords_together(monkeypatch): + calls: list = [] + client = _client(_devops_cls(), calls, monkeypatch) + + with pytest.raises(PyegeriaException): + await client._async_set_element_as_branch("e-guid", _sample("devops-pipeline", "setElementAsBranch"), + display_name="main") + assert calls == [] + + +@pytest.mark.asyncio +@pytest.mark.parametrize("body", [None, {"externalSourceName": "src"}]) +async def test_clear_element_as_branch_sends_a_metadata_source_request_body(body, monkeypatch): + calls: list = [] + client = _client(_devops_cls(), calls, monkeypatch) + + await client._async_clear_element_as_branch("e-guid", body) + + assert calls[0]["url"] == _path(n.BRANCH_REMOVE, elementGUID="e-guid") + assert calls[0]["body"]["class"] == "MetadataSourceRequestBody" + if body: + assert calls[0]["body"]["externalSourceName"] == "src" + + +@pytest.mark.asyncio +async def test_clear_element_as_branch_refuses_another_body_class(monkeypatch): + calls: list = [] + client = _client(_devops_cls(), calls, monkeypatch) + + with pytest.raises(PyegeriaException) as raised: + await client._async_clear_element_as_branch("e-guid", {"class": "DeleteClassificationRequestBody"}) + + assert calls == [] + assert "MetadataSourceRequestBody" in str(raised.value) + + +# --- Wrong request-body class, detach with no body, sync wrappers, docstrings ------------------------------- + +@pytest.mark.asyncio +@pytest.mark.parametrize("factory, method, template, guids, collection, sample, props_class", ATTACH_CASES) +async def test_wrong_request_body_class_is_refused_locally(factory, method, template, guids, collection, sample, + props_class, monkeypatch): + calls: list = [] + client = _client(factory(), calls, monkeypatch) + body = _sample(collection, sample) + body["class"] = "UpdateRelationshipRequestBody" + + with pytest.raises(PyegeriaException): + await getattr(client, method)(*guids.values(), body) + assert calls == [] + + +@pytest.mark.asyncio +@pytest.mark.parametrize("factory, method, template, guids", + [pytest.param(*c.values[:4], id=c.id) for c in CASES + if c.values[6] is None and "branch" not in c.id]) +async def test_detach_with_no_body_sends_no_body(factory, method, template, guids, monkeypatch): + calls: list = [] + client = _client(factory(), calls, monkeypatch) + + await getattr(client, method)(*guids.values()) + + assert calls == [{"method": "POST", "url": _path(template, **guids), "body": None}] + + +@pytest.mark.parametrize("factory, method, template, guids, collection, sample, props_class", CASES) +def test_sync_wrapper_sends_the_same_request(factory, method, template, guids, collection, sample, props_class, + monkeypatch): + calls: list = [] + client = _client(factory(), calls, monkeypatch) + body = _sample(collection, sample) + + getattr(client, method.removeprefix("_async_"))(*guids.values(), body) + + assert calls[0]["url"] == _path(template, **guids) + assert calls[0]["body"] == body + + +@pytest.mark.parametrize("factory, method, template, guids, collection, sample, props_class", CASES) +def test_docstrings_say_the_call_needs_egeria_6_4(factory, method, template, guids, collection, sample, + props_class): + cls = factory() + for name in (method, method.removeprefix("_async_")): + assert "Egeria 6.4" in (getattr(cls, name).__doc__ or ""), name + + +# --- The new client is importable from every place its siblings are ----------------------------------------- + +def test_devops_pipeline_is_exported_where_its_siblings_are(): + cls = _devops_cls() + for module_name in ("pyegeria", "pyegeria.omvs"): + module = importlib.import_module(module_name) + assert getattr(module, "SchemaMaker") is SchemaMaker # the sibling, as the reference + assert getattr(module, "DevopsPipeline") is cls, module_name + assert "DevopsPipeline" in module.__all__, module_name + + +@pytest.mark.parametrize("module_name, class_name", [("pyegeria.egeria_client", "Egeria"), + ("pyegeria.egeria_tech_client", "EgeriaTech")]) +def test_devops_pipeline_is_registered_in_the_composite_clients(module_name, class_name): + cls = _devops_cls() + composite = getattr(importlib.import_module(module_name), class_name)("view-server", "https://localhost:1", + "user", "pwd") + assert composite._subclient_map["devops_pipeline"] is cls + assert composite._subclient_map["schema_maker"] is SchemaMaker + assert composite._subclient_map["project_manager"] is ProjectManager + + +def test_devops_pipeline_url_marker_and_base_url(monkeypatch): + client = _client(_devops_cls(), [], monkeypatch) + assert client.url_marker == n.DEVOPS_PIPELINE + assert client.devops_pipeline_command_root == ROOT + n.DEVOPS_PIPELINE From eb16baf0cff511e71b39bcc3a66b405461f4b7ff Mon Sep 17 00:00:00 2001 From: Dan Wolfson Date: Sat, 21 Nov 2026 14:50:59 -0600 Subject: [PATCH 07/19] feat(6.4): A2b - DataEngineer data-value link pairs (6 requests) Adds the three Egeria 6.4 data-value link pairs (odpi/egeria#9463) to pyegeria/omvs/data_engineer.py, each as _async_x plus a sync wrapper: link/detach_data_value_source, link/detach_processing_variable and link/detach_embedded_data_value. Paths come from egeria_6_4_names. - Attach and detach with no body send no body. - A body is sent as given. When it has properties, properties.class must be the relationship's own class (DataValueSourceProperties, ProcessingVariableProperties, EmbeddedDataValueProperties); anything else is refused locally, naming the expected class. - position (ProcessingVariable, EmbeddedDataValue) must be an int; 0 means unset and is passed through unchanged. A str, float or bool is refused locally. - link_* returns the relationship GUID, or NO_GUID_RETURNED. - Every docstring says the call needs Egeria 6.4. Tests: tests/micro-tests/test_e64_data_engineer_data_value_links.py, 47 tests, no Egeria, run failing first (47 failed, then 47 passed). Full micro-test suite on Python 3.13: 4698 passed, 5 skipped, 0 failed; parent A2a b3982dd4: 4651 passed, 5 skipped, 0 failed. Signed-off-by: Dan Wolfson --- pyegeria/omvs/data_engineer.py | 340 +++++++++++++++++- ...test_e64_data_engineer_data_value_links.py | 216 +++++++++++ 2 files changed, 555 insertions(+), 1 deletion(-) create mode 100644 tests/micro-tests/test_e64_data_engineer_data_value_links.py diff --git a/pyegeria/omvs/data_engineer.py b/pyegeria/omvs/data_engineer.py index 4c7cf04a7..a0ecbf883 100644 --- a/pyegeria/omvs/data_engineer.py +++ b/pyegeria/omvs/data_engineer.py @@ -17,13 +17,17 @@ from pyegeria.core._server_client import ServerClient from pyegeria.models import SearchStringRequestBody from pyegeria.models import (NewElementRequestBody, TemplateRequestBody, UpdateElementRequestBody, - DeleteElementRequestBody, FilterRequestBody, GetRequestBody) + DeleteElementRequestBody, FilterRequestBody, GetRequestBody, + NewRelationshipRequestBody, DeleteRelationshipRequestBody) from pyegeria.core._exceptions import PyegeriaInvalidParameterException from pyegeria.core._globals import NO_GUID_RETURNED from pyegeria.core.egeria_6_4_names import ( DATA_VALUE, DATA_VALUE_PROPERTIES, LITERAL_DATA_VALUE_PROPERTIES, DATA_VALUES_CREATE, DATA_VALUES_FROM_TEMPLATE, DATA_VALUES_UPDATE, DATA_VALUES_DELETE, DATA_VALUES_BY_NAME, DATA_VALUES_RETRIEVE, DATA_VALUES_BY_SEARCH_STRING, + DATA_VALUE_SOURCE_PROPERTIES, PROCESSING_VARIABLE_PROPERTIES, EMBEDDED_DATA_VALUE_PROPERTIES, + DATA_VALUE_SOURCES_ATTACH, DATA_VALUE_SOURCES_DETACH, PROCESSING_VARIABLES_ATTACH, + PROCESSING_VARIABLES_DETACH, EMBEDDED_DATA_VALUES_ATTACH, EMBEDDED_DATA_VALUES_DETACH, ) from pyegeria.view.output_formatter import _generate_default_output from typing import Any, Optional @@ -822,3 +826,337 @@ def find_data_values(self, search_string: str = "*", body: Optional[dict | Searc return run_sync(self._async_find_data_values(search_string, body, starts_with, ends_with, ignore_case, start_from, page_size, output_format, report_spec, **kwargs)) + + # ========================================================================================================= + # Data-value links (Egeria 6.4, odpi/egeria#9463): DataValueSource, ProcessingVariable, EmbeddedDataValue + # + # Attach and detach take an optional body. With no body, no body is sent (Egeria accepts an attach with + # no body or no properties). A body is sent as given; its properties class, when it has properties, must + # be the relationship's own class, and `position` (ProcessingVariable, EmbeddedDataValue) must be an int: + # 0 means unset, and it is passed through unchanged. + # ========================================================================================================= + + def _e64_link_body(self, body: Optional[dict | NewRelationshipRequestBody], method: str, prop_class: str, + positioned: bool = False) -> Optional[str]: + """The JSON for a 6.4 attach request, or None to send no body. Refuses, with words, a properties + class other than `prop_class` and a `position` that is not an int.""" + if body is None: + return None + json_body = self._e64_body(body, self._new_relationship_request_adapter, method) + props = json.loads(json_body).get("properties") + if props is None: + return json_body + got = props.get("class") if isinstance(props, dict) else None + if got != prop_class: + raise PyegeriaInvalidParameterException(additional_info={ + "reason": f"{method}: properties.class must be {prop_class}, not {got or 'missing'}. " + f"Egeria rejects a properties object of the wrong class."}) + if positioned: + position = props.get("position") + if position is not None and (type(position) is not int): + raise PyegeriaInvalidParameterException(additional_info={ + "reason": f"{method}: position must be an int (0 means unset), not " + f"{type(position).__name__} {position!r}."}) + return json_body + + def _e64_detach_body(self, body: Optional[dict | DeleteRelationshipRequestBody], method: str) -> Optional[str]: + """The JSON for a 6.4 detach request, or None to send no body.""" + if body is None: + return None + return self._e64_body(body, self._delete_relationship_request_adapter, method) + + @dynamic_catch + async def _async_link_data_value_source(self, data_value_guid: str, asset_guid: str, + body: Optional[dict | NewRelationshipRequestBody] = None) -> str: + """Attach a data value to the asset that describes the digital resource where its data is stored + (a DataValueSource relationship). Async version. + + Needs Egeria 6.4 or later (odpi/egeria#9463). + + Parameters + ---------- + data_value_guid : str + The GUID of the data value. + asset_guid : str + The GUID of the asset where the data is stored. + body : dict | NewRelationshipRequestBody, optional + Sent as given; with no body, no body is sent. Its properties, if any, are + DataValueSourceProperties (label, description, effectiveFrom, effectiveTo). + + Returns + ------- + str + The GUID of the new relationship, or NO_GUID_RETURNED. + + Raises + ------ + PyegeriaInvalidParameterException + A properties class other than DataValueSourceProperties (refused locally). + PyegeriaException + Issues raised in communicating or server-side processing. + + Notes + ----- + Sample body (linkDataValueSource):: + + { + "class" : "NewRelationshipRequestBody", + "properties": { + "class" : "DataValueSourceProperties", + "label": "add label here", + "description": "add description here" + } + } + """ + json_body = self._e64_link_body(body, "link_data_value_source", DATA_VALUE_SOURCE_PROPERTIES) + url = self._e64_url(DATA_VALUE_SOURCES_ATTACH, dataValueGUID=data_value_guid, assetGUID=asset_guid) + response = await self._async_make_request("POST", url, json_body) + return response.json().get("guid", NO_GUID_RETURNED) + + @dynamic_catch + def link_data_value_source(self, data_value_guid: str, asset_guid: str, + body: Optional[dict | NewRelationshipRequestBody] = None) -> str: + """Attach a data value to the asset where its data is stored (DataValueSource). + + Needs Egeria 6.4 or later (odpi/egeria#9463). See `_async_link_data_value_source`. + + Returns + ------- + str + The GUID of the new relationship, or NO_GUID_RETURNED. + """ + return run_sync(self._async_link_data_value_source(data_value_guid, asset_guid, body)) + + @dynamic_catch + async def _async_detach_data_value_source(self, data_value_guid: str, asset_guid: str, + body: Optional[dict | DeleteRelationshipRequestBody] = None) -> None: + """Detach a data value from the asset where its data is stored (DataValueSource). Async version. + + Needs Egeria 6.4 or later (odpi/egeria#9463). + + Parameters + ---------- + data_value_guid : str + The GUID of the data value. + asset_guid : str + The GUID of the asset. + body : dict | DeleteRelationshipRequestBody, optional + Sent as given; with no body, no body is sent. + + Returns + ------- + None + """ + url = self._e64_url(DATA_VALUE_SOURCES_DETACH, dataValueGUID=data_value_guid, assetGUID=asset_guid) + await self._async_make_request("POST", url, self._e64_detach_body(body, "detach_data_value_source")) + + @dynamic_catch + def detach_data_value_source(self, data_value_guid: str, asset_guid: str, + body: Optional[dict | DeleteRelationshipRequestBody] = None) -> None: + """Detach a data value from the asset where its data is stored (DataValueSource). + + Needs Egeria 6.4 or later (odpi/egeria#9463). See `_async_detach_data_value_source`. + """ + return run_sync(self._async_detach_data_value_source(data_value_guid, asset_guid, body)) + + @dynamic_catch + async def _async_link_processing_variable(self, element_guid: str, data_value_guid: str, + body: Optional[dict | NewRelationshipRequestBody] = None) -> str: + """Attach an element (such as a process) to a data value used to configure its processing + (a ProcessingVariable relationship). Async version. + + Needs Egeria 6.4 or later (odpi/egeria#9463). + + Parameters + ---------- + element_guid : str + The GUID of the element (for example a process) that uses the data value. + data_value_guid : str + The GUID of the data value. + body : dict | NewRelationshipRequestBody, optional + Sent as given; with no body, no body is sent. Its properties, if any, are + ProcessingVariableProperties (label, description, position). `position` is an int and 0 means + unset; it is passed through unchanged. + + Returns + ------- + str + The GUID of the new relationship, or NO_GUID_RETURNED. + + Raises + ------ + PyegeriaInvalidParameterException + A properties class other than ProcessingVariableProperties, or a position that is not an int + (refused locally). + PyegeriaException + Issues raised in communicating or server-side processing. + + Notes + ----- + Sample body (linkProcessingVariable):: + + { + "class" : "NewRelationshipRequestBody", + "properties": { + "class" : "ProcessingVariableProperties", + "label": "add label here", + "description": "add description here", + "position": 0 + } + } + """ + json_body = self._e64_link_body(body, "link_processing_variable", PROCESSING_VARIABLE_PROPERTIES, + positioned=True) + url = self._e64_url(PROCESSING_VARIABLES_ATTACH, elementGUID=element_guid, dataValueGUID=data_value_guid) + response = await self._async_make_request("POST", url, json_body) + return response.json().get("guid", NO_GUID_RETURNED) + + @dynamic_catch + def link_processing_variable(self, element_guid: str, data_value_guid: str, + body: Optional[dict | NewRelationshipRequestBody] = None) -> str: + """Attach an element (such as a process) to a data value that configures its processing. + + Needs Egeria 6.4 or later (odpi/egeria#9463). See `_async_link_processing_variable`. + + Returns + ------- + str + The GUID of the new relationship, or NO_GUID_RETURNED. + """ + return run_sync(self._async_link_processing_variable(element_guid, data_value_guid, body)) + + @dynamic_catch + async def _async_detach_processing_variable(self, element_guid: str, data_value_guid: str, + body: Optional[dict | DeleteRelationshipRequestBody] = None + ) -> None: + """Detach an element (such as a process) from a data value that configures its processing + (ProcessingVariable). Async version. + + Needs Egeria 6.4 or later (odpi/egeria#9463). + + Parameters + ---------- + element_guid : str + The GUID of the element that uses the data value. + data_value_guid : str + The GUID of the data value. + body : dict | DeleteRelationshipRequestBody, optional + Sent as given; with no body, no body is sent. + + Returns + ------- + None + """ + url = self._e64_url(PROCESSING_VARIABLES_DETACH, elementGUID=element_guid, dataValueGUID=data_value_guid) + await self._async_make_request("POST", url, self._e64_detach_body(body, "detach_processing_variable")) + + @dynamic_catch + def detach_processing_variable(self, element_guid: str, data_value_guid: str, + body: Optional[dict | DeleteRelationshipRequestBody] = None) -> None: + """Detach an element (such as a process) from a data value that configures its processing. + + Needs Egeria 6.4 or later (odpi/egeria#9463). See `_async_detach_processing_variable`. + """ + return run_sync(self._async_detach_processing_variable(element_guid, data_value_guid, body)) + + @dynamic_catch + async def _async_link_embedded_data_value(self, parent_data_value_guid: str, embedded_data_value_guid: str, + body: Optional[dict | NewRelationshipRequestBody] = None) -> str: + """Embed a data value in another data value (an EmbeddedDataValue relationship). Async version. + + Needs Egeria 6.4 or later (odpi/egeria#9463). + + Parameters + ---------- + parent_data_value_guid : str + The GUID of the data value that holds the embedded one. + embedded_data_value_guid : str + The GUID of the data value to embed. + body : dict | NewRelationshipRequestBody, optional + Sent as given; with no body, no body is sent. Its properties, if any, are + EmbeddedDataValueProperties (label, description, position). `position` orders the embedded + values: an int, 0 meaning unset, passed through unchanged. + + Returns + ------- + str + The GUID of the new relationship, or NO_GUID_RETURNED. + + Raises + ------ + PyegeriaInvalidParameterException + A properties class other than EmbeddedDataValueProperties, or a position that is not an int + (refused locally). + PyegeriaException + Issues raised in communicating or server-side processing. + + Notes + ----- + Sample body (linkEmbeddedDataValue):: + + { + "class" : "NewRelationshipRequestBody", + "properties": { + "class" : "EmbeddedDataValueProperties", + "label": "add label here", + "description": "add description here", + "position": 0 + } + } + """ + json_body = self._e64_link_body(body, "link_embedded_data_value", EMBEDDED_DATA_VALUE_PROPERTIES, + positioned=True) + url = self._e64_url(EMBEDDED_DATA_VALUES_ATTACH, parentDataValueGUID=parent_data_value_guid, + embeddedDataValueGUID=embedded_data_value_guid) + response = await self._async_make_request("POST", url, json_body) + return response.json().get("guid", NO_GUID_RETURNED) + + @dynamic_catch + def link_embedded_data_value(self, parent_data_value_guid: str, embedded_data_value_guid: str, + body: Optional[dict | NewRelationshipRequestBody] = None) -> str: + """Embed a data value in another data value (EmbeddedDataValue). + + Needs Egeria 6.4 or later (odpi/egeria#9463). See `_async_link_embedded_data_value`. + + Returns + ------- + str + The GUID of the new relationship, or NO_GUID_RETURNED. + """ + return run_sync(self._async_link_embedded_data_value(parent_data_value_guid, embedded_data_value_guid, + body)) + + @dynamic_catch + async def _async_detach_embedded_data_value(self, parent_data_value_guid: str, embedded_data_value_guid: str, + body: Optional[dict | DeleteRelationshipRequestBody] = None + ) -> None: + """Remove an embedded data value from its parent data value (EmbeddedDataValue). Async version. + + Needs Egeria 6.4 or later (odpi/egeria#9463). + + Parameters + ---------- + parent_data_value_guid : str + The GUID of the parent data value. + embedded_data_value_guid : str + The GUID of the embedded data value. + body : dict | DeleteRelationshipRequestBody, optional + Sent as given; with no body, no body is sent. + + Returns + ------- + None + """ + url = self._e64_url(EMBEDDED_DATA_VALUES_DETACH, parentDataValueGUID=parent_data_value_guid, + embeddedDataValueGUID=embedded_data_value_guid) + await self._async_make_request("POST", url, self._e64_detach_body(body, "detach_embedded_data_value")) + + @dynamic_catch + def detach_embedded_data_value(self, parent_data_value_guid: str, embedded_data_value_guid: str, + body: Optional[dict | DeleteRelationshipRequestBody] = None) -> None: + """Remove an embedded data value from its parent data value (EmbeddedDataValue). + + Needs Egeria 6.4 or later (odpi/egeria#9463). See `_async_detach_embedded_data_value`. + """ + return run_sync(self._async_detach_embedded_data_value(parent_data_value_guid, embedded_data_value_guid, + body)) diff --git a/tests/micro-tests/test_e64_data_engineer_data_value_links.py b/tests/micro-tests/test_e64_data_engineer_data_value_links.py new file mode 100644 index 000000000..76d982767 --- /dev/null +++ b/tests/micro-tests/test_e64_data_engineer_data_value_links.py @@ -0,0 +1,216 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +"""A2b for the Egeria 6.4 additions (odpi/egeria#9463): the three data-value link pairs on DataEngineer +(DataValueSource, ProcessingVariable and EmbeddedDataValue, attach and detach). No Egeria: +`_async_make_request` is replaced by a recorder, and each body is compared with the sample body in the PR's +`.http` collection (tests/fixtures/egeria-6.4/Egeria-api-data-engineer.http). + +Covered for each request: the URL path and HTTP method; the body sent; attach and detach with no body send no +body; a `properties.class` of the wrong relationship is refused locally, naming the expected class; and +`position` (ProcessingVariable, EmbeddedDataValue) is an int, 0 meaning unset, passed through unchanged. +""" +import copy +import json +import re +from pathlib import Path + +import pytest + +from pyegeria.core import egeria_6_4_names as n +from pyegeria.core._exceptions import PyegeriaInvalidParameterException +from pyegeria.models import NewRelationshipRequestBody +from pyegeria.omvs.data_engineer import DataEngineer + +FIXTURE = Path(__file__).resolve().parent.parent / "fixtures" / "egeria-6.4" / "Egeria-api-data-engineer.http" +PLATFORM = "https://localhost:1" +SERVER = "view-server" +ROOT = f"{PLATFORM}/servers/{SERVER}/api/open-metadata/" +TIMESTAMP = "2026-11-21T10:00:00Z" + + +def _samples() -> dict[str, dict]: + out = {} + for block in re.split(r"\n###\n", FIXTURE.read_text(encoding="utf-8")): + name = re.search(r"# @name (\w+)", block) + start = block.find("\n{") + if name and start >= 0: + text = block[start + 1:].replace("{{$isoTimestamp}}", TIMESTAMP) + body = json.JSONDecoder().raw_decode(text)[0] + if "class" in body: + out[name.group(1)] = body + return out + + +SAMPLES = _samples() + + +def sample(name: str) -> dict: + return copy.deepcopy(SAMPLES[name]) + + +class _Response: + def __init__(self, payload: dict): + self._payload = payload + + def json(self): + return self._payload + + +@pytest.fixture +def client(monkeypatch): + monkeypatch.setattr(DataEngineer, "check_connection", lambda self: "test") + c = DataEngineer(SERVER, PLATFORM, "user", "pwd") + c.calls = [] + + async def fake_make_request(method, url, payload=None, *args, **kwargs): + body = json.loads(payload) if isinstance(payload, str) else payload + c.calls.append((method, url, body)) + return _Response({"class": "GUIDResponse", "relatedHTTPCode": 200, "guid": "rel-guid"}) + + c._async_make_request = fake_make_request + return c + + +# (method stem, path for attach, path for detach, the two GUID placeholders, attach sample, detach sample, +# the properties class, whether it has a position) +PAIRS = [ + ("data_value_source", n.DATA_VALUE_SOURCES_ATTACH, n.DATA_VALUE_SOURCES_DETACH, ("dataValueGUID", "assetGUID"), + "linkDataValueSource", "detachDataValueSource", n.DATA_VALUE_SOURCE_PROPERTIES, False), + ("processing_variable", n.PROCESSING_VARIABLES_ATTACH, n.PROCESSING_VARIABLES_DETACH, + ("elementGUID", "dataValueGUID"), "linkProcessingVariable", "detachProcessingVariable", + n.PROCESSING_VARIABLE_PROPERTIES, True), + ("embedded_data_value", n.EMBEDDED_DATA_VALUES_ATTACH, n.EMBEDDED_DATA_VALUES_DETACH, + ("parentDataValueGUID", "embeddedDataValueGUID"), "linkEmbeddedDataValue", "detachEmbeddedDataValue", + n.EMBEDDED_DATA_VALUE_PROPERTIES, True), +] +IDS = [p[0] for p in PAIRS] +GUID1, GUID2 = "guid-one", "guid-two" + + +def _url(path: str, names: tuple[str, str]) -> str: + return ROOT + path.format(**{names[0]: GUID1, names[1]: GUID2}) + + +@pytest.mark.asyncio +@pytest.mark.parametrize("pair", PAIRS, ids=IDS) +async def test_link_posts_the_sample_body_and_returns_the_relationship_guid(client, pair): + stem, attach, _, names, link_sample, *_ = pair + guid = await getattr(client, f"_async_link_{stem}")(GUID1, GUID2, sample(link_sample)) + assert guid == "rel-guid" + assert client.calls == [("POST", _url(attach, names), sample(link_sample))] + + +@pytest.mark.asyncio +@pytest.mark.parametrize("pair", PAIRS, ids=IDS) +async def test_link_with_no_body_sends_no_body(client, pair): + stem, attach, _, names, *_ = pair + await getattr(client, f"_async_link_{stem}")(GUID1, GUID2) + assert client.calls == [("POST", _url(attach, names), None)] + + +@pytest.mark.asyncio +@pytest.mark.parametrize("pair", PAIRS, ids=IDS) +async def test_link_with_a_body_but_no_properties_is_sent(client, pair): + stem, attach, _, names, *_ = pair + body = {"class": "NewRelationshipRequestBody", "forLineage": False} + await getattr(client, f"_async_link_{stem}")(GUID1, GUID2, body) + assert client.calls == [("POST", _url(attach, names), body)] + + +@pytest.mark.asyncio +@pytest.mark.parametrize("pair", PAIRS, ids=IDS) +async def test_link_accepts_a_model_body(client, pair): + stem, attach, _, names, link_sample, _, cls, _ = pair + await getattr(client, f"_async_link_{stem}")(GUID1, GUID2, + NewRelationshipRequestBody.model_validate(sample(link_sample))) + assert client.calls[0][2]["properties"] == sample(link_sample)["properties"] + assert client.calls[0][2]["properties"]["class"] == cls + + +@pytest.mark.asyncio +@pytest.mark.parametrize("pair", PAIRS, ids=IDS) +async def test_link_with_the_wrong_properties_class_is_refused_naming_the_expected_class(client, pair): + stem, _, _, _, link_sample, _, cls, _ = pair + body = sample(link_sample) + body["properties"]["class"] = "AssessmentProperties" + with pytest.raises(PyegeriaInvalidParameterException) as err: + await getattr(client, f"_async_link_{stem}")(GUID1, GUID2, body) + assert cls in str(err.value) and "AssessmentProperties" in str(err.value) + assert client.calls == [] + + +@pytest.mark.parametrize("pair", PAIRS, ids=IDS) +def test_link_sync_wrapper(client, pair): + stem, attach, _, names, link_sample, *_ = pair + assert getattr(client, f"link_{stem}")(GUID1, GUID2, sample(link_sample)) == "rel-guid" + assert client.calls[0][1] == _url(attach, names) + + +@pytest.mark.asyncio +@pytest.mark.parametrize("pair", PAIRS, ids=IDS) +async def test_detach_posts_the_sample_body(client, pair): + stem, _, detach, names, _, detach_sample, *_ = pair + await getattr(client, f"_async_detach_{stem}")(GUID1, GUID2, sample(detach_sample)) + assert client.calls == [("POST", _url(detach, names), sample(detach_sample))] + + +@pytest.mark.asyncio +@pytest.mark.parametrize("pair", PAIRS, ids=IDS) +async def test_detach_with_no_body_sends_no_body(client, pair): + stem, _, detach, names, *_ = pair + await getattr(client, f"_async_detach_{stem}")(GUID1, GUID2) + assert client.calls == [("POST", _url(detach, names), None)] + + +@pytest.mark.parametrize("pair", PAIRS, ids=IDS) +def test_detach_sync_wrapper(client, pair): + stem, _, detach, names, *_ = pair + assert getattr(client, f"detach_{stem}")(GUID1, GUID2) is None + assert client.calls[0][1] == _url(detach, names) + + +# --- position ----------------------------------------------------------------------------------------------- +POSITIONED = [p for p in PAIRS if p[7]] + + +@pytest.mark.asyncio +@pytest.mark.parametrize("position", [0, 1, 7]) +@pytest.mark.parametrize("pair", POSITIONED, ids=[p[0] for p in POSITIONED]) +async def test_position_is_an_int_passed_through_and_zero_means_unset(client, pair, position): + stem, _, _, _, link_sample, *_ = pair + body = sample(link_sample) + body["properties"]["position"] = position + await getattr(client, f"_async_link_{stem}")(GUID1, GUID2, body) + sent = client.calls[0][2]["properties"]["position"] + assert sent == position and type(sent) is int + + +@pytest.mark.asyncio +@pytest.mark.parametrize("bad", ["3", 2.5, True]) +@pytest.mark.parametrize("pair", POSITIONED, ids=[p[0] for p in POSITIONED]) +async def test_a_position_that_is_not_an_int_is_refused(client, pair, bad): + stem, _, _, _, link_sample, *_ = pair + body = sample(link_sample) + body["properties"]["position"] = bad + with pytest.raises(PyegeriaInvalidParameterException) as err: + await getattr(client, f"_async_link_{stem}")(GUID1, GUID2, body) + assert "position" in str(err.value) + assert client.calls == [] + + +@pytest.mark.asyncio +@pytest.mark.parametrize("pair", POSITIONED, ids=[p[0] for p in POSITIONED]) +async def test_position_may_be_left_out(client, pair): + stem, _, _, _, link_sample, *_ = pair + body = sample(link_sample) + del body["properties"]["position"] + await getattr(client, f"_async_link_{stem}")(GUID1, GUID2, body) + assert "position" not in client.calls[0][2]["properties"] + + +# --- docstrings ---------------------------------------------------------------------------------------------- +@pytest.mark.parametrize("method", [f"{verb}_{p[0]}" for p in PAIRS for verb in ("link", "detach")]) +def test_docstrings_say_the_call_needs_egeria_6_4(method): + for name in (method, f"_async_{method}"): + doc = getattr(DataEngineer, name).__doc__ or "" + assert "Egeria 6.4" in doc, f"{name} does not say it needs Egeria 6.4" From a0f914e476cc61833948c8880e8a75fef706f555 Mon Sep 17 00:00:00 2001 From: Dan Wolfson Date: Sat, 21 Nov 2026 14:55:48 -0600 Subject: [PATCH 08/19] fix(dr-egeria): PY-45 - properties table keys from public setters through the full superclass chain scripts/gen_properties_class_fields.py read private/protected fields of *Properties.java and properties/ files only, so it missed package-private fields (ResourceListProperties' resourceUse/label/description/ additionalProperties) and superclasses outside properties/ (the GetOptions -> QueryOptions -> SearchOptions chain under FindPropertyNamesProperties and six other query classes). Dr.Egeria's typed_properties would refuse those valid keys (A5 finding F15). The generator now derives each class's JSON keys the way Jackson binds them (setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE): public one-argument setters of the top-level class, through the whole superclass chain, root first. Same ground truth as scripts/audit_properties_class_bodies.py, with: - superclasses resolved by explicit import, then same package, then wildcard imports, across the whole frameworks tree (not by simple name); - Jackson's default setter naming (setURL -> url, setGUID -> guid) and @JsonProperty renames (setISCQualifiedName -> iscQualifiedName); - nested-class setters, @JsonIgnore'd and multi-argument setters excluded. It still reads a git ref with git cat-file, never the Egeria working tree. Regenerated from Egeria 90232870b2 (odpi/egeria#9463 merged; same tree as A0's 0dbf468774): 691 classes as before, 14 classes gain keys, none lose any, no kind changes. The 11 new 6.4 classes are unchanged. test_egeria_6_4_names' source-sha check also accepts the merge commit that tests/fixtures/egeria-6.4/SOURCE records. Signed-off-by: Dan Wolfson --- .../properties_class_fields.py | 255 +++++++++--------- scripts/gen_properties_class_fields.py | 215 +++++++++++++-- tests/micro-tests/test_egeria_6_4_names.py | 5 +- .../test_gen_properties_class_fields.py | 134 +++++++++ 4 files changed, 456 insertions(+), 153 deletions(-) create mode 100644 tests/micro-tests/test_gen_properties_class_fields.py diff --git a/md_processing/md_processing_utils/properties_class_fields.py b/md_processing/md_processing_utils/properties_class_fields.py index 05e44db89..07ac626c7 100644 --- a/md_processing/md_processing_utils/properties_class_fields.py +++ b/md_processing/md_processing_utils/properties_class_fields.py @@ -3,32 +3,33 @@ """ Open-metadata Properties classes: kind and the JSON property names each reads (inherited included). -GENERATED by scripts/gen_properties_class_fields.py from Egeria 0dbf468774c7f3dc102dd677b720b670ed6a8e09 at 0dbf468774 2026-11-21 -- do not +GENERATED by scripts/gen_properties_class_fields.py from Egeria 90232870b2 at 90232870b2 2026-11-21 -- do not edit by hand; re-run the script instead. Kind is the root of the class's superclass chain: relationship (RelationshipProperties), classification (ClassificationProperties), entity -(EntityProperties) or other. +(EntityProperties) or other. Keys are the public setters (what Jackson binds) through the whole +superclass chain, root first. """ PROPERTIES_CLASS_FIELDS: dict[str, tuple[str, tuple[str, ...]]] = { 'APIEndpointProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'APIHeaderProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), - 'APIManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), + 'APIManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), 'APIOperationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'usage', 'encodingStandard', 'namespacePath', 'formula', 'formulaType', 'path', 'command')), 'APIOperationsProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'APIParameterListProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'usage', 'encodingStandard', 'namespacePath', 'formula', 'formulaType', 'required')), - 'APIParameterProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'defaultValueOverride', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'nativeClass', 'aliases', 'parameterType')), + 'APIParameterProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'defaultValueOverride', 'nativeClass', 'aliases', 'parameterType')), 'APIRequestProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'APIResponseProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'APISchemaTypeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'usage', 'encodingStandard', 'namespacePath', 'formula', 'formulaType')), 'AbstractConceptProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'AcceptedAnswerProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'AccountingCodesProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'accountingCode', 'description', 'accountingCodeList', 'accountingCodeMap')), - 'ActionProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'situation')), + 'ActionProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'situation')), 'ActionRequesterProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'iscQualifiedName', 'derivation')), 'ActionTargetProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'actionTargetName', 'activityStatus', 'startTime', 'completionTime', 'completionMessage')), 'ActionsProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'ActivityDescriptionProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'activityType')), - 'ActivityEntryProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'situation')), + 'ActivityEntryProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'situation')), 'ActorProfileProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties')), 'ActorProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties')), 'ActorRoleProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'scope', 'actorRoleGroups')), @@ -37,15 +38,15 @@ 'AgreementItemProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'agreementItemId', 'agreementStart', 'agreementEnd', 'entitlements', 'restrictions', 'obligations', 'usageMeasurements')), 'AgreementProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose')), 'AnalyticalActionProcessProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription')), - 'AnalyticsEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), - 'AnalyticsModelRunProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'situation')), + 'AnalyticsEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), + 'AnalyticsModelRunProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'situation')), 'AnchorsProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'anchorGUID', 'anchorTypeName', 'anchorDomainName', 'anchorScopeGUIDs', 'zoneMembership')), 'AnnotationExtensionProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'AnnotationMatchProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'method', 'threshold')), 'AnnotationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'annotationType', 'summary', 'sampleSize', 'samplePercent', 'samplingMethod', 'confidence', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'expression', 'explanation', 'analysisStep', 'jsonProperties')), - 'AnnotationReviewProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'situation', 'reviewDate', 'comment', 'annotationStatus')), - 'AntonymProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'expression', 'confidence', 'description', 'termRelationshipStatus', 'steward', 'source')), - 'ApplicationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), + 'AnnotationReviewProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'situation', 'reviewDate', 'comment', 'annotationStatus')), + 'AntonymProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'expression', 'description', 'confidence', 'termRelationshipStatus', 'steward', 'source')), + 'ApplicationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), 'ApprovedPurposeProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'ArchiveContentsProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'ArchiveFileProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime', 'fileType', 'fileName', 'fileExtension')), @@ -53,10 +54,10 @@ 'AssessmentProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'assessor', 'assessorTypeName', 'assessorPropertyName', 'assessmentTime', 'expiryTime', 'notes', 'additionalProperties')), 'AssetConnectionProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'AssetProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source')), - 'AssignmentScopeProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), + 'AssignmentScopeProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'assignmentType', 'description')), 'AssociatedAnnotationProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'AssociatedLogProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), - 'AssociatedSecurityListProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), + 'AssociatedSecurityListProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'operationName')), 'AssociatedSkillSetProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'AttachedCommentProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'AttachedLikeProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), @@ -69,11 +70,11 @@ 'AudioFileProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime', 'fileType', 'fileName', 'fileExtension', 'embeddedMetadata')), 'AuditLogProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'process', 'source', 'notes')), 'AuthoredReferenceableProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus')), - 'AuthorizationManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), + 'AuthorizationManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), 'AvroFileProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime', 'fileType', 'fileName', 'fileExtension')), 'BareMetalComputerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'deploymentStatus', 'userDefinedDeploymentStatus', 'userId')), 'BasisDataFieldProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), - 'BlogEntryProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'situation')), + 'BlogEntryProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'situation')), 'BranchProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'displayName', 'scope', 'purpose', 'url')), 'BuildInstructionFileProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime', 'fileType', 'fileName', 'fileExtension')), 'BusinessCapabilityDependencyProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), @@ -85,14 +86,14 @@ 'CampaignProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'CanonicalVocabularyProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'scope')), 'CapabilityAssetUseProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'useType', 'description', 'minimumInstancesSet', 'minimumInstances', 'maximumInstancesSet', 'maximumInstances')), - 'CatalogTargetProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'catalogTargetName', 'metadataCollectionQualifiedName', 'metadataSourceQualifiedName', 'connectionName', 'configurationProperties', 'templates', 'permittedSynchronization', 'deleteMethod')), + 'CatalogTargetProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'catalogTargetName', 'metadataCollectionQualifiedName', 'metadataSourceQualifiedName', 'configurationProperties', 'templates', 'connectionName', 'permittedSynchronization', 'deleteMethod')), 'CatalogTemplateProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'CataloguingActionProcessProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription')), 'CertificationProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'certificateId', 'coverageStart', 'coverageEnd', 'conditions', 'certifiedBy', 'certifiedByTypeName', 'certifiedByPropertyName', 'custodian', 'custodianTypeName', 'custodianPropertyName', 'recipient', 'recipientTypeName', 'recipientPropertyName', 'notes')), 'CertificationTypeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription', 'entitlements', 'restrictions', 'obligations')), - 'ChangeManagementLibraryProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source', 'libraryType')), + 'ChangeManagementLibraryProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source', 'libraryType')), 'CitedDocumentLinkProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'referenceId', 'description', 'pages')), - 'CitedDocumentProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'referenceTitle', 'referenceAbstract', 'organization', 'sources', 'license', 'copyright', 'attribution', 'numberOfPages', 'pageRange', 'publicationSeries', 'publicationSeriesVolume', 'publisher', 'edition', 'firstPublicationDate', 'publicationDate', 'publicationCity', 'publicationYear', 'publicationNumbers')), + 'CitedDocumentProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'referenceTitle', 'referenceAbstract', 'license', 'copyright', 'organization', 'sources', 'attribution', 'pageRange', 'publicationSeries', 'publicationSeriesVolume', 'publisher', 'edition', 'publicationCity', 'numberOfPages', 'firstPublicationDate', 'publicationDate', 'publicationYear', 'publicationNumbers')), 'ClassWordProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'ClassificationAnnotationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'annotationType', 'summary', 'sampleSize', 'samplePercent', 'samplingMethod', 'confidence', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'expression', 'explanation', 'analysisStep', 'jsonProperties', 'dataType', 'matchingValues', 'nonMatchingValues', 'classificationName', 'properties')), 'ClassificationBeanProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), @@ -103,11 +104,11 @@ 'CloudServiceProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'offeringName', 'serviceType')), 'CloudTenantProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'tenantName', 'tenantType')), 'CodeAnalysisAnnotationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'annotationType', 'summary', 'sampleSize', 'samplePercent', 'samplingMethod', 'confidence', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'expression', 'explanation', 'analysisStep', 'jsonProperties', 'fileCount', 'lineCount', 'codeLineCount', 'commentLineCount', 'primaryLanguage', 'languageCount', 'publicSymbolCount', 'entryPointCount', 'dataReadCount', 'dataCreateCount', 'dataUpdateCount', 'dataDeleteCount', 'dataChecksCount', 'dataStoreCount', 'externalCallCount', 'functionCount', 'cyclomaticComplexityTotal', 'cyclomaticComplexityMax', 'maxNestingDepth', 'testFileCount', 'documentedSymbolCount')), - 'CohortMemberProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), + 'CohortMemberProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), 'CohortRegistryStoreProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime')), 'CollectionFolderProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose')), 'CollectionKindProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), - 'CollectionMembershipProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'membershipRationale', 'membershipType', 'expression', 'confidence', 'membershipStatus', 'userDefinedStatus', 'steward', 'stewardTypeName', 'stewardPropertyName', 'source', 'notes')), + 'CollectionMembershipProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'membershipRationale', 'membershipType', 'expression', 'confidence', 'membershipStatus', 'userDefinedStatus', 'source', 'steward', 'stewardTypeName', 'stewardPropertyName', 'notes')), 'CollectionProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose')), 'CommentProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'commentType')), 'CommunityProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'mission')), @@ -116,7 +117,7 @@ 'ConceptBeadAttributeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'canonicalName')), 'ConceptBeadExtensionProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'role', 'description')), 'ConceptBeadProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'canonicalName')), - 'ConceptBeadRelationshipEndProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'attributeName', 'decoration', 'position', 'minCardinality', 'maxCardinality', 'uniqueValues', 'orderedValues', 'navigable')), + 'ConceptBeadRelationshipEndProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'position', 'attributeName', 'decoration', 'minCardinality', 'maxCardinality', 'uniqueValues', 'orderedValues', 'navigable')), 'ConceptBeadRelationshipProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'canonicalName')), 'ConceptDesignProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'ConceptModelElementProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'canonicalName')), @@ -133,7 +134,7 @@ 'ConsolidatedDuplicateProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'statusIdentifier', 'steward', 'stewardTypeName', 'stewardPropertyName', 'source', 'notes')), 'ContactDetailsProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'contactType', 'contactMethodType', 'contactMethodService', 'contactMethodValue')), 'ContactThroughProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), - 'ContentCollectionManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), + 'ContentCollectionManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), 'ContextDefinitionProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'description', 'scope')), 'ContextEventCollectionProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose')), 'ContextEventEvidenceProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), @@ -148,15 +149,15 @@ 'ControlFlowProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'iscQualifiedName', 'derivation', 'guard', 'mandatoryGuard')), 'ControlPointProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'qualifiedName')), 'CriticalityProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'statusIdentifier', 'confidence', 'steward', 'stewardTypeName', 'stewardPropertyName', 'source', 'notes', 'criticalityLevel')), - 'CrowdSourcingContributionProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), + 'CrowdSourcingContributionProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'roleType')), 'CyberLocationProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'networkAddress')), 'DashboardProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'formula', 'formulaType', 'aliases', 'refreshTimeInterval', 'layoutStyle')), - 'DataAccessManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), + 'DataAccessManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), 'DataAssetEncodingProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'encodingType', 'encodingLanguage', 'encodingDescription', 'encodingProperties')), 'DataAssetProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus')), 'DataClassAnnotationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'annotationType', 'summary', 'sampleSize', 'samplePercent', 'samplingMethod', 'confidence', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'expression', 'explanation', 'analysisStep', 'jsonProperties', 'dataType', 'matchingValues', 'nonMatchingValues', 'specification', 'candidateDataClassGUIDs')), 'DataClassCompositionProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), - 'DataClassProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'matchPropertyNames', 'namespacePath', 'matchThreshold', 'specification', 'specificationDetails', 'dataType', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'allowsDuplicateValues', 'isCaseSensitive', 'isNullable', 'defaultValue', 'averageValue', 'valueList', 'valueRangeFrom', 'valueRangeTo', 'sampleValues', 'dataPatterns')), + 'DataClassProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'matchPropertyNames', 'matchThreshold', 'namespacePath', 'specification', 'specificationDetails', 'dataType', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'allowsDuplicateValues', 'isCaseSensitive', 'isNullable', 'defaultValue', 'valueList', 'valueRangeFrom', 'valueRangeTo', 'averageValue', 'sampleValues', 'dataPatterns')), 'DataDescriptionProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'DataDictionaryProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose')), 'DataFeedProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus')), @@ -167,12 +168,12 @@ 'DataFlowProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'iscQualifiedName', 'derivation', 'oneWay', 'integrationStyle', 'protocol', 'frequency', 'dataExchanged', 'formula', 'formulaType')), 'DataFolderProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime')), 'DataGrainAnnotationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'annotationType', 'summary', 'sampleSize', 'samplePercent', 'samplingMethod', 'confidence', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'expression', 'explanation', 'analysisStep', 'jsonProperties', 'dataType', 'matchingValues', 'nonMatchingValues', 'granularityBasis', 'grainStatement', 'interval', 'candidateDataGrainGUIDs')), - 'DataGrainProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'matchPropertyNames', 'namespacePath', 'matchThreshold', 'specification', 'specificationDetails', 'dataType', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'granularityBasis', 'grainStatement', 'interval')), + 'DataGrainProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'matchPropertyNames', 'matchThreshold', 'namespacePath', 'specification', 'specificationDetails', 'dataType', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'grainStatement', 'interval', 'granularityBasis')), 'DataLensProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription', 'minLongitude', 'minLatitude', 'maxLongitude', 'maxLatitude', 'minHeight', 'maxHeight', 'dataCollectionStartTime', 'dataCollectionEndTime', 'dataValidityStartTime', 'dataValidityEndTime', 'dataCoverageStartTime', 'dataCoverageEndTime', 'scopeElements')), 'DataLineageRelationshipProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'iscQualifiedName', 'derivation', 'oneWay', 'integrationStyle', 'protocol', 'frequency', 'dataExchanged')), - 'DataManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), + 'DataManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), 'DataMappingProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'iscQualifiedName', 'derivation', 'formula', 'formulaType', 'queryId', 'query', 'queryType')), - 'DataMovementEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), + 'DataMovementEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), 'DataProcessingActionProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose')), 'DataProcessingDescriptionProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose')), 'DataProcessingPurposeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription')), @@ -184,7 +185,7 @@ 'DataSetProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'formula', 'formulaType')), 'DataSharingAgreementProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'DataSharingHubProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose')), - 'DataSharingRequestProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'situation')), + 'DataSharingRequestProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'situation')), 'DataSpecProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose')), 'DataStoreProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime')), 'DataStructureDefinitionProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), @@ -195,20 +196,20 @@ 'DataValueMeaningProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'DataValueProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'dataFormat', 'length', 'dataType', 'usage', 'fingerprint', 'fingerprintAlgorithm', 'hash', 'hashAlgorithm')), 'DataValueSourceProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), - 'DataValueSpecificationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'matchPropertyNames', 'namespacePath', 'matchThreshold', 'specification', 'specificationDetails', 'dataType', 'units', 'absoluteUncertainty', 'relativeUncertainty')), - 'DataVirtualizationEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), - 'DatabaseManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), + 'DataValueSpecificationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'matchPropertyNames', 'matchThreshold', 'namespacePath', 'specification', 'specificationDetails', 'dataType', 'units', 'absoluteUncertainty', 'relativeUncertainty')), + 'DataVirtualizationEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), + 'DatabaseManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), 'DatabaseProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime', 'databaseInstance', 'importedFrom')), 'DecisionProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'importance', 'disposition', 'implications', 'notes', 'startTime', 'lastReviewTime', 'nextReviewTime', 'expiryTime')), 'DeletingActionProcessProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription')), 'DependentContextEventProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'DependentSoftwareComponentProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), - 'DeployedAPIProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage')), - 'DeployedAnalyticsModelProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage')), - 'DeployedConnectorProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage')), + 'DeployedAPIProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage')), + 'DeployedAnalyticsModelProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage')), + 'DeployedConnectorProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage')), 'DeployedDatabaseSchemaProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'formula', 'formulaType')), 'DeployedOnProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'deploymentTime', 'deployer', 'deployerTypeName', 'deployerPropertyName')), - 'DeployedSoftwareComponentProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage')), + 'DeployedSoftwareComponentProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage')), 'DerivedSchemaTypeQueryTargetProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'iscQualifiedName', 'derivation', 'queryId', 'query', 'queryType')), 'DesignModelElementProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'canonicalName')), 'DesignModelProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose')), @@ -222,11 +223,11 @@ 'DigitalSubscriberProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'subscriberId')), 'DigitalSubscriptionProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose', 'supportLevel', 'serviceLevels')), 'DigitalSupportProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), - 'DisplayDataContainerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'defaultValueOverride', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'nativeClass', 'aliases', 'renderer', 'placementKind', 'span', 'presentationStyle', 'markdownContent')), - 'DisplayDataFieldProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'defaultValueOverride', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'nativeClass', 'aliases', 'inputField', 'placementKind', 'span', 'presentationStyle', 'markdownContent')), + 'DisplayDataContainerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'defaultValueOverride', 'nativeClass', 'aliases', 'renderer', 'placementKind', 'span', 'presentationStyle', 'markdownContent')), + 'DisplayDataFieldProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'defaultValueOverride', 'nativeClass', 'aliases', 'inputField', 'placementKind', 'span', 'presentationStyle', 'markdownContent')), 'DisplayDataSchemaTypeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'usage', 'encodingStandard', 'namespacePath', 'formula', 'formulaType')), 'DocumentProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime', 'fileType', 'fileName', 'fileExtension', 'embeddedMetadata')), - 'DocumentSchemaAttributeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'defaultValueOverride', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'nativeClass', 'aliases')), + 'DocumentSchemaAttributeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'defaultValueOverride', 'nativeClass', 'aliases')), 'DocumentSchemaTypeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'usage', 'encodingStandard', 'namespacePath', 'formula', 'formulaType')), 'DocumentStoreProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime', 'embeddedMetadata')), 'EditingCollectionProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'description')), @@ -234,65 +235,65 @@ 'ElementSupplementProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'EmbeddedConnectionProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'position', 'displayName', 'arguments')), 'EmbeddedDataValueProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'position')), - 'EmbeddedProcessProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'situation')), + 'EmbeddedProcessProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'situation')), 'EndpointProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'networkAddress', 'protocol', 'encryptionMethod')), 'EnforcementPointProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'qualifiedName')), - 'EngineActionProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'situation', 'domainIdentifier', 'mandatoryGuards', 'receivedGuards', 'executorEngineGUID', 'executorEngineName', 'governanceActionTypeGUID', 'governanceActionTypeName', 'processName', 'iscQualifiedName', 'processStepGUID', 'processStepName', 'requesterUserId', 'requestType', 'requestParameters', 'processingEngineUserId', 'completionGuards', 'completionMessage')), - 'EngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), + 'EngineActionProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'situation', 'domainIdentifier', 'mandatoryGuards', 'receivedGuards', 'executorEngineGUID', 'executorEngineName', 'governanceActionTypeGUID', 'governanceActionTypeName', 'processName', 'iscQualifiedName', 'processStepGUID', 'processStepName', 'processingEngineUserId', 'requesterUserId', 'requestType', 'requestParameters', 'completionGuards', 'completionMessage')), + 'EngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), 'EntityElementProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'propertyValueMap')), 'EntityProperties': ('entity', ('effectiveFrom', 'effectiveTo')), 'EnumSchemaTypeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'usage', 'encodingStandard', 'namespacePath', 'formula', 'formulaType', 'dataType', 'defaultValue', 'validValueSetGUID')), - 'EventBrokerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), - 'EventManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), - 'EventSchemaAttributeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'defaultValueOverride', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'nativeClass', 'aliases')), + 'EventBrokerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), + 'EventManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), + 'EventSchemaAttributeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'defaultValueOverride', 'nativeClass', 'aliases')), 'EventSetProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose')), 'EventTypeListProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'usage', 'encodingStandard', 'namespacePath', 'formula', 'formulaType')), 'EventTypeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'usage', 'encodingStandard', 'namespacePath', 'formula', 'formulaType')), - 'ExceptionBacklogProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'process', 'steward', 'stewardTypeName', 'stewardPropertyName', 'source', 'notes')), + 'ExceptionBacklogProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'process', 'source', 'steward', 'stewardTypeName', 'stewardPropertyName', 'notes')), 'ExceptionProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'affectedClassifications', 'affectedElements', 'affectedRelationships', 'lastReviewTime', 'reviewDate', 'conditions', 'steward', 'stewardTypeName', 'stewardPropertyName', 'notes')), 'ExceptionTypeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription')), 'ExecutableFileProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime', 'fileType', 'fileName', 'fileExtension')), 'ExecutionPointProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'qualifiedName')), 'ExperimentProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'hypothesis')), - 'ExplorerActionEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), - 'ExplorerActionServiceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage')), + 'ExplorerActionEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), + 'ExplorerActionServiceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage')), 'ExploringActionProcessProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription')), - 'ExternalDataSourceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'referenceTitle', 'referenceAbstract', 'organization', 'sources', 'license', 'copyright', 'attribution')), + 'ExternalDataSourceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'referenceTitle', 'referenceAbstract', 'license', 'copyright', 'organization', 'sources', 'attribution')), 'ExternalIdLinkProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'usage', 'source', 'lastSynchronized', 'mappingProperties', 'permittedSynchronization')), - 'ExternalIdProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'key', 'keyPattern', 'externalInstanceTypeName', 'externalInstanceCreatedBy', 'externalInstanceCreationTime', 'externalInstanceLastUpdatedBy', 'externalInstanceLastUpdateTime', 'externalInstanceVersion')), - 'ExternalModelSourceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'referenceTitle', 'referenceAbstract', 'organization', 'sources', 'license', 'copyright', 'attribution')), + 'ExternalIdProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'key', 'externalInstanceTypeName', 'keyPattern', 'externalInstanceCreatedBy', 'externalInstanceCreationTime', 'externalInstanceLastUpdatedBy', 'externalInstanceLastUpdateTime', 'externalInstanceVersion')), + 'ExternalModelSourceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'referenceTitle', 'referenceAbstract', 'license', 'copyright', 'organization', 'sources', 'attribution')), 'ExternalReferenceLinkProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), - 'ExternalReferenceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'referenceTitle', 'referenceAbstract', 'organization', 'sources', 'license', 'copyright', 'attribution')), + 'ExternalReferenceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'referenceTitle', 'referenceAbstract', 'license', 'copyright', 'organization', 'sources', 'attribution')), 'ExternalSchemaTypeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'usage', 'encodingStandard', 'namespacePath', 'formula', 'formulaType')), - 'ExternalSourceCodeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'referenceTitle', 'referenceAbstract', 'organization', 'sources', 'license', 'copyright', 'attribution')), - 'ExternalStandardProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'referenceTitle', 'referenceAbstract', 'organization', 'sources', 'license', 'copyright', 'attribution')), + 'ExternalSourceCodeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'referenceTitle', 'referenceAbstract', 'license', 'copyright', 'organization', 'sources', 'attribution')), + 'ExternalStandardProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'referenceTitle', 'referenceAbstract', 'license', 'copyright', 'organization', 'sources', 'attribution')), 'FileFolderProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime')), - 'FileManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), - 'FileSystemProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source', 'format', 'encryption', 'canonicalMountPoint', 'localMountPoint')), - 'FindDigitalResourceOriginProperties': ('other', ('properties',)), - 'FindProjectClassificationProperties': ('other', ('approach', 'managementStyle', 'resultsUsage')), - 'FindPropertyNameProperties': ('other', ('propertyValue', 'propertyName')), - 'FindPropertyNamesProperties': ('other', ('propertyValue', 'propertyNames')), + 'FileManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), + 'FileSystemProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source', 'format', 'encryption', 'canonicalMountPoint', 'localMountPoint')), + 'FindDigitalResourceOriginProperties': ('other', ('requestId', 'forLineage', 'forDuplicateProcessing', 'effectiveTime', 'asOfTime', 'metadataElementTypeName', 'skipRelationships', 'includeOnlyRelationships', 'relationshipsPageSize', 'graphQueryDepth', 'maxMermaidNodeCount', 'viewElementGUID', 'startFrom', 'pageSize', 'anchorGUID', 'anchorScopeGUID', 'anchorDomainName', 'limitResultsByStatus', 'sequencingProperty', 'sequencingOrder', 'governanceZoneFilter', 'skipClassifiedElements', 'includeOnlyClassifiedElements', 'metadataElementSubtypeNames', 'skipSubtypes', 'properties')), + 'FindProjectClassificationProperties': ('other', ('requestId', 'forLineage', 'forDuplicateProcessing', 'effectiveTime', 'asOfTime', 'metadataElementTypeName', 'skipRelationships', 'includeOnlyRelationships', 'relationshipsPageSize', 'graphQueryDepth', 'maxMermaidNodeCount', 'viewElementGUID', 'startFrom', 'pageSize', 'anchorGUID', 'anchorScopeGUID', 'anchorDomainName', 'limitResultsByStatus', 'sequencingProperty', 'sequencingOrder', 'governanceZoneFilter', 'skipClassifiedElements', 'includeOnlyClassifiedElements', 'metadataElementSubtypeNames', 'skipSubtypes', 'approach', 'managementStyle', 'resultsUsage')), + 'FindPropertyNameProperties': ('other', ('requestId', 'forLineage', 'forDuplicateProcessing', 'effectiveTime', 'asOfTime', 'metadataElementTypeName', 'skipRelationships', 'includeOnlyRelationships', 'relationshipsPageSize', 'graphQueryDepth', 'maxMermaidNodeCount', 'viewElementGUID', 'propertyValue', 'propertyName', 'name', 'namePropertyName')), + 'FindPropertyNamesProperties': ('other', ('requestId', 'forLineage', 'forDuplicateProcessing', 'effectiveTime', 'asOfTime', 'metadataElementTypeName', 'skipRelationships', 'includeOnlyRelationships', 'relationshipsPageSize', 'graphQueryDepth', 'maxMermaidNodeCount', 'viewElementGUID', 'startFrom', 'pageSize', 'anchorGUID', 'anchorScopeGUID', 'anchorDomainName', 'limitResultsByStatus', 'sequencingProperty', 'sequencingOrder', 'governanceZoneFilter', 'skipClassifiedElements', 'includeOnlyClassifiedElements', 'metadataElementSubtypeNames', 'skipSubtypes', 'startsWith', 'endsWith', 'ignoreCase', 'propertyValue', 'propertyNames')), 'FingerprintAnnotationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'annotationType', 'summary', 'sampleSize', 'samplePercent', 'samplingMethod', 'confidence', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'expression', 'explanation', 'analysisStep', 'jsonProperties', 'dataType', 'matchingValues', 'nonMatchingValues', 'fingerprint', 'fingerprintAlgorithm', 'hash', 'hashAlgorithm')), 'FixedLocationProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'coordinates', 'mapProjection', 'postalAddress', 'timeZone')), 'FolderHierarchyProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'FolioProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose')), 'ForeignKeyProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'displayName', 'description', 'confidence', 'steward', 'source')), 'FormProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'formula', 'formulaType')), - 'FunctionCallProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'situation')), + 'FunctionCallProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'situation')), 'GeneratedTargetProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'purpose', 'buildId', 'buildTool', 'buildToolVersion')), 'GlossaryProjectProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'GlossaryProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose', 'language', 'usage')), 'GlossaryTermProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'aliases', 'summary', 'examples', 'abbreviation', 'usage')), - 'GlossaryTermRelationshipProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'expression', 'confidence', 'description', 'termRelationshipStatus', 'steward', 'source')), - 'GovernanceActionEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), + 'GlossaryTermRelationshipProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'expression', 'description', 'confidence', 'termRelationshipStatus', 'steward', 'source')), + 'GovernanceActionEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), 'GovernanceActionExecutorProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'requestType', 'requestParameters', 'requestParameterFilter', 'requestParameterMap', 'actionTargetFilter', 'actionTargetMap')), 'GovernanceActionProcessFlowProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'guard', 'requestParameters')), - 'GovernanceActionProcessInstanceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'situation')), + 'GovernanceActionProcessInstanceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'situation')), 'GovernanceActionProcessProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription')), 'GovernanceActionProcessStepProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription', 'waitTime', 'producedGuards', 'ignoreMultipleTriggers')), 'GovernanceActionProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription')), - 'GovernanceActionServiceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage')), + 'GovernanceActionServiceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage')), 'GovernanceActionTypeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription', 'waitTime', 'producedGuards')), 'GovernanceApproachProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results')), 'GovernanceControlLinkProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), @@ -300,10 +301,10 @@ 'GovernanceDefinitionProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results')), 'GovernanceDriverLinkProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'GovernanceDriverProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results')), - 'GovernanceEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), + 'GovernanceEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), 'GovernanceExpectationsProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'counts', 'values', 'flags', 'dates')), 'GovernanceMeasurementsProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'dataCollectionStartTime', 'dataCollectionEndTime', 'counts', 'values', 'flags', 'dates')), - 'GovernanceMechanismProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), + 'GovernanceMechanismProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'rationale')), 'GovernanceMetricProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription', 'measurement', 'target')), 'GovernanceObligationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results')), 'GovernancePolicyLinkProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), @@ -311,25 +312,25 @@ 'GovernancePrincipleProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results')), 'GovernanceProcedureProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription')), 'GovernanceProjectProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), - 'GovernanceResponseProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), + 'GovernanceResponseProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'rationale')), 'GovernanceResponsibilityProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription')), 'GovernanceResultsProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'query', 'queryType')), 'GovernanceRoleProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'scope', 'actorRoleGroups', 'headCountLimitSet', 'headCount', 'domainIdentifier')), 'GovernanceRuleProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription')), - 'GovernanceServiceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage')), + 'GovernanceServiceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage')), 'GovernanceStrategyProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'businessImperatives')), 'GovernanceZoneProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription', 'criteria')), 'GovernedByProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'GraphEdgeLinkProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'linkTypeName', 'relationshipEnd', 'relationshipEndName', 'description', 'minCardinality', 'maxCardinality', 'additionalProperties')), - 'GraphEdgeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'defaultValueOverride', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'nativeClass', 'aliases')), + 'GraphEdgeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'defaultValueOverride', 'nativeClass', 'aliases')), 'GraphSchemaTypeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'usage', 'encodingStandard', 'namespacePath', 'formula', 'formulaType')), 'GraphStoreProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime')), - 'GraphVertexProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'defaultValueOverride', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'nativeClass', 'aliases')), + 'GraphVertexProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'defaultValueOverride', 'nativeClass', 'aliases')), 'HomeCollectionProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose')), 'HostClusterMemberProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'memberRole', 'additionalProperties')), 'HostClusterProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'deploymentStatus', 'userDefinedDeploymentStatus', 'userId')), 'HostProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'deploymentStatus', 'userDefinedDeploymentStatus', 'userId')), - 'ISARelationshipProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'expression', 'confidence', 'description', 'termRelationshipStatus', 'steward', 'source')), + 'ISARelationshipProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'expression', 'description', 'confidence', 'termRelationshipStatus', 'steward', 'source')), 'ITInfrastructureProfileProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'ITInfrastructureProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'deploymentStatus', 'userDefinedDeploymentStatus', 'userId')), 'ITProfileProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties')), @@ -349,18 +350,18 @@ 'InformationViewProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'formula', 'formulaType')), 'InfrastructureProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'deploymentStatus', 'userDefinedDeploymentStatus')), 'InstanceMetadataProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'instanceMetadataTypeName', 'description', 'additionalProperties')), - 'IntegrationConnectorProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage', 'usesBlockingCalls')), - 'IntegrationGroupProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), - 'InventoryCatalogProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), + 'IntegrationConnectorProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage', 'usesBlockingCalls')), + 'IntegrationGroupProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), + 'InventoryCatalogProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), 'InvestigationProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'IsAConceptBeadProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'JSONFileProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime', 'fileType', 'fileName', 'fileExtension')), - 'JournalEntryProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'situation')), + 'JournalEntryProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'situation')), 'KeyStoreFileProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime', 'fileType', 'fileName', 'fileExtension')), 'KnownDuplicateProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'KnownLocationProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'LabeledRelationshipProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), - 'LevelIdentifierQueryProperties': ('other', ('returnSpecificLevel', 'levelIdentifier')), + 'LevelIdentifierQueryProperties': ('other', ('requestId', 'forLineage', 'forDuplicateProcessing', 'effectiveTime', 'asOfTime', 'metadataElementTypeName', 'skipRelationships', 'includeOnlyRelationships', 'relationshipsPageSize', 'graphQueryDepth', 'maxMermaidNodeCount', 'viewElementGUID', 'startFrom', 'pageSize', 'anchorGUID', 'anchorScopeGUID', 'anchorDomainName', 'limitResultsByStatus', 'sequencingProperty', 'sequencingOrder', 'governanceZoneFilter', 'skipClassifiedElements', 'includeOnlyClassifiedElements', 'metadataElementSubtypeNames', 'skipSubtypes', 'returnSpecificLevel', 'levelIdentifier')), 'LicenseProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'licenseId', 'coverageStart', 'coverageEnd', 'conditions', 'licensedBy', 'licensedByTypeName', 'licensedByPropertyName', 'custodian', 'custodianTypeName', 'custodianPropertyName', 'licensee', 'licenseeTypeName', 'licenseePropertyName', 'entitlements', 'restrictions', 'obligations', 'notes')), 'LicenseTypeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription', 'entitlements', 'restrictions', 'obligations')), 'LikeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'emoji')), @@ -381,15 +382,15 @@ 'MapFromElementTypeProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'MapSchemaTypeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'usage', 'encodingStandard', 'namespacePath', 'formula', 'formulaType')), 'MapToElementTypeProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), - 'MasterDataManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), - 'MeasurementSpecificationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'matchPropertyNames', 'namespacePath', 'matchThreshold', 'specification', 'specificationDetails', 'dataType', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'completenessDeclared', 'confidenceForm', 'uncertaintyForm', 'absenceSentences')), + 'MasterDataManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), + 'MeasurementSpecificationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'matchPropertyNames', 'matchThreshold', 'namespacePath', 'specification', 'specificationDetails', 'dataType', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'completenessDeclared', 'confidenceForm', 'uncertaintyForm', 'absenceSentences')), 'MediaCollectionProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'formula', 'formulaType', 'embeddedMetadata')), 'MediaFileProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime', 'fileType', 'fileName', 'fileExtension', 'embeddedMetadata')), 'MediaReferenceProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'mediaId', 'description', 'mediaUsage', 'mediaUsageOtherId')), - 'MeetingProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'situation', 'objective', 'minutes', 'decisions')), + 'MeetingProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'situation', 'objective', 'minutes', 'decisions')), 'MemberDataFieldProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'position', 'minCardinality', 'maxCardinality', 'coverageCategory')), 'MemberPopularityProfileProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'explicitGetCountTotal', 'explicitGetCountProfile', 'findCountTotal', 'findCountProfile', 'updatePropertyCountTotal', 'updatePropertyCountProfile', 'updateAttachmentCountTotal', 'updateAttachmentCountProfile', 'updateFeedbackCountTotal', 'updateFeedbackCountProfile', 'deleteAttachmentCountTotal', 'deleteAttachmentCountProfile', 'deleteFeedbackCountTotal', 'deleteFeedbackCountProfile')), - 'MementoProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'archiveDate', 'archiveUser', 'archiveService', 'archiveMethod', 'archiveProcess', 'archiveProperties')), + 'MementoProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'archiveDate', 'archiveProcess', 'archiveProperties', 'archiveUser', 'archiveService', 'archiveMethod')), 'MetadataCohortPeerProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'registrationDate')), 'MetadataCollectionProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'formula', 'formulaType', 'managedMetadataCollectionId')), 'MetadataRepositoryCohortProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'cohortTopics')), @@ -411,17 +412,17 @@ 'NestedLocationProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'NestedSchemaAttributeProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'position', 'minCardinality', 'maxCardinality', 'coverageCategory')), 'NetworkGatewayLinkProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'displayName', 'description', 'externalEndpointAddresses', 'internalEndpointAddresses')), - 'NetworkGatewayProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), + 'NetworkGatewayProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), 'NetworkProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'deploymentStatus', 'userDefinedDeploymentStatus', 'userId')), 'NewElementProperties': ('other', ('propertyValueMap', 'effectiveFrom', 'effectiveTo')), 'NextGovernanceActionProcessStepProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'guard', 'mandatoryGuard')), 'NoteLogProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties')), - 'NoteProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'situation')), - 'NotificationManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), - 'NotificationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'situation')), + 'NoteProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'situation')), + 'NotificationManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), + 'NotificationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'situation')), 'NotificationSubscriberProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'activityStatus', 'zoneMembership', 'iscQualifiedName', 'lastNotification')), 'NotificationTypeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription', 'plannedStartDate', 'multipleNotificationsPermitted', 'minimumNotificationInterval', 'lastNotification', 'nextScheduledNotification', 'notificationCount', 'plannedCompletionDate')), - 'ObjectAttributeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'defaultValueOverride', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'nativeClass', 'aliases')), + 'ObjectAttributeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'defaultValueOverride', 'nativeClass', 'aliases')), 'ObjectIdentifierProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'ObjectSchemaTypeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'usage', 'encodingStandard', 'namespacePath', 'formula', 'formulaType')), 'OpenMetadataRootProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties')), @@ -439,7 +440,7 @@ 'PeerProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'PenetrationTestFindingAnnotationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'annotationType', 'summary', 'sampleSize', 'samplePercent', 'samplingMethod', 'confidence', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'expression', 'explanation', 'analysisStep', 'jsonProperties', 'severity', 'cvssScore', 'cvssVector', 'vulnerabilityIdentifiers', 'weaknessIdentifiers', 'affectedLocation', 'evidence', 'remediation', 'exploitAvailable', 'attackVector', 'attackTechniques', 'privilegesGained', 'compromisedResources', 'reproductionSteps')), 'PermittedProcessingProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), - 'PersonProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'courtesyTitle', 'initials', 'givenNames', 'surname', 'fullName', 'pronouns', 'jobTitle', 'employeeNumber', 'employeeType', 'preferredLanguage', 'residentCountry', 'timeZone')), + 'PersonProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'fullName', 'pronouns', 'jobTitle', 'courtesyTitle', 'initials', 'givenNames', 'surname', 'employeeNumber', 'employeeType', 'preferredLanguage', 'residentCountry', 'timeZone')), 'PersonRoleAppointmentProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'expectedTimeAllocationPercent')), 'PersonRoleProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'scope', 'actorRoleGroups', 'headCountLimitSet', 'headCount')), 'PersonalProjectProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), @@ -454,14 +455,14 @@ 'PortDelegationProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'PortImplementationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'portType')), 'PortProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'portType')), - 'PreferredTermProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'expression', 'confidence', 'description', 'termRelationshipStatus', 'steward', 'source')), + 'PreferredTermProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'expression', 'description', 'confidence', 'termRelationshipStatus', 'steward', 'source')), 'PrimaryKeyProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'displayName', 'keyPattern')), 'PrimeWordProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'PrimitiveSchemaTypeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'usage', 'encodingStandard', 'namespacePath', 'formula', 'formulaType', 'dataType', 'defaultValue')), 'ProcessCallProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'iscQualifiedName', 'derivation', 'oneWay', 'integrationStyle', 'protocol', 'frequency', 'dataExchanged', 'formula', 'formulaType', 'lineNumber')), 'ProcessHierarchyProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'containmentType')), 'ProcessPortProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), - 'ProcessProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus')), + 'ProcessProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus')), 'ProcessingVariableProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'position')), 'ProfileIdentityProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'roleTypeName', 'roleGUID', 'description')), 'ProjectClassificationProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'approach', 'managementStyle', 'resultsUsage')), @@ -475,12 +476,12 @@ 'PropertyFacetProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'properties')), 'ProvisioningActionProcessProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription')), 'PublisherInterfaceProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), - 'QualityAnnotationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'annotationType', 'summary', 'sampleSize', 'samplePercent', 'samplingMethod', 'confidence', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'expression', 'explanation', 'analysisStep', 'jsonProperties', 'dataType', 'matchingValues', 'nonMatchingValues', 'qualityDescription', 'qualityDimension', 'qualityScore')), - 'QueryDataContainerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'defaultValueOverride', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'nativeClass', 'aliases')), - 'QueryDataFieldProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'defaultValueOverride', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'nativeClass', 'aliases')), + 'QualityAnnotationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'annotationType', 'summary', 'sampleSize', 'samplePercent', 'samplingMethod', 'confidence', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'expression', 'explanation', 'analysisStep', 'jsonProperties', 'dataType', 'matchingValues', 'nonMatchingValues', 'qualityDimension', 'qualityDescription', 'qualityScore')), + 'QueryDataContainerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'defaultValueOverride', 'nativeClass', 'aliases')), + 'QueryDataFieldProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'defaultValueOverride', 'nativeClass', 'aliases')), 'QuerySchemaTypeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'usage', 'encodingStandard', 'namespacePath', 'formula', 'formulaType')), 'QuestionProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), - 'RESTAPIManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), + 'RESTAPIManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), 'RasterFileProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime', 'fileType', 'fileName', 'fileExtension', 'embeddedMetadata')), 'RatingProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'starRating', 'review')), 'RecentAccessProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose')), @@ -500,20 +501,20 @@ 'RegulatorProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'scope')), 'RelatedContextEventProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'statusIdentifier', 'source', 'confidence', 'steward', 'stewardTypeName', 'stewardPropertyName', 'notes')), 'RelatedDesignPatternProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), - 'RelatedMediaProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'referenceTitle', 'referenceAbstract', 'organization', 'sources', 'license', 'copyright', 'attribution', 'mediaType', 'mediaTypeOtherId', 'defaultMediaUsage', 'defaultMediaUsageOtherId')), - 'RelatedTermProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'expression', 'confidence', 'description', 'termRelationshipStatus', 'steward', 'source')), - 'RelationalColumnProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'defaultValueOverride', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'nativeClass', 'aliases')), + 'RelatedMediaProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'referenceTitle', 'referenceAbstract', 'license', 'copyright', 'organization', 'sources', 'attribution', 'mediaType', 'mediaTypeOtherId', 'defaultMediaUsage', 'defaultMediaUsageOtherId')), + 'RelatedTermProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'expression', 'description', 'confidence', 'termRelationshipStatus', 'steward', 'source')), + 'RelationalColumnProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'defaultValueOverride', 'nativeClass', 'aliases')), 'RelationalDBSchemaProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'RelationalDBSchemaTypeListProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'usage', 'encodingStandard', 'namespacePath', 'formula', 'formulaType')), 'RelationalDBSchemaTypeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'usage', 'encodingStandard', 'namespacePath', 'formula', 'formulaType')), 'RelationalDatabaseProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime', 'databaseInstance', 'importedFrom')), - 'RelationalTableProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'defaultValueOverride', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'nativeClass', 'aliases')), + 'RelationalTableProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'defaultValueOverride', 'nativeClass', 'aliases')), 'RelationalTableTypeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'usage', 'encodingStandard', 'namespacePath', 'formula', 'formulaType')), 'RelationshipAdviceAnnotationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'annotationType', 'summary', 'sampleSize', 'samplePercent', 'samplingMethod', 'confidence', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'expression', 'explanation', 'analysisStep', 'jsonProperties', 'dataType', 'matchingValues', 'nonMatchingValues', 'relatedEntityGUID', 'relationshipTypeName', 'relationshipProperties')), 'RelationshipBeanProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'RelationshipElementProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'propertyValueMap')), 'RelationshipProperties': ('relationship', ('effectiveFrom', 'effectiveTo')), - 'ReplacementTermProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'expression', 'confidence', 'description', 'termRelationshipStatus', 'steward', 'source')), + 'ReplacementTermProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'expression', 'description', 'confidence', 'termRelationshipStatus', 'steward', 'source')), 'ReportDependencyProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'ReportOriginatorProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'ReportProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'formula', 'formulaType', 'purpose', 'startTime', 'completionTime', 'completionMessage', 'createdTime', 'lastModifiedTime', 'lastModifier', 'outputFormat', 'reportParameters')), @@ -523,17 +524,17 @@ 'ReportTypeInstanceProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'ReportTypeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose', 'createdTime', 'lastModifiedTime', 'lastModifier')), 'ReportedAnnotationProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), - 'ReportingEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), - 'RepositoryGovernanceEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), - 'RepositoryGovernanceServiceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage')), + 'ReportingEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), + 'RepositoryGovernanceEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), + 'RepositoryGovernanceServiceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage')), 'RequestForActionProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'annotationType', 'summary', 'sampleSize', 'samplePercent', 'samplingMethod', 'confidence', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'expression', 'explanation', 'analysisStep', 'jsonProperties', 'dataType', 'matchingValues', 'nonMatchingValues', 'actionSourceName', 'actionRequested', 'actionProperties')), 'RequestForActionTargetProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'actionTargetName')), 'RequestResponseInterfaceProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'RequirementProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription')), 'ResearchQuestionProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription')), 'ResourceConnectionProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), - 'ResourceListProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), - 'ResourceManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), + 'ResourceListProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'resourceUse', 'label', 'description', 'additionalProperties')), + 'ResourceManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), 'ResourceMeasureAnnotationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'annotationType', 'summary', 'sampleSize', 'samplePercent', 'samplingMethod', 'confidence', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'expression', 'explanation', 'analysisStep', 'jsonProperties', 'resourceProperties')), 'ResourcePermissionsProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'ResourcePhysicalStatusAnnotationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'annotationType', 'summary', 'sampleSize', 'samplePercent', 'samplingMethod', 'confidence', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'expression', 'explanation', 'analysisStep', 'jsonProperties', 'resourceProperties', 'resourceCreateTime', 'resourceUpdateTime', 'resourceLastAccessedTime', 'size', 'encodingType')), @@ -544,7 +545,7 @@ 'RetentionProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'statusIdentifier', 'confidence', 'steward', 'stewardTypeName', 'stewardPropertyName', 'source', 'notes', 'retentionBasis', 'associatedGUID', 'archiveAfter', 'deleteAfter')), 'ReusableTechniqueProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'ReusableTechniqueUseProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), - 'ReviewProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'situation', 'reviewDate', 'comment')), + 'ReviewProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'situation', 'reviewDate', 'comment')), 'RiskProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results')), 'RoledRelationshipProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'role', 'description')), 'RootCollectionProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose')), @@ -555,7 +556,7 @@ 'SavedQueryProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'formula', 'formulaType', 'queryURL', 'queryRequestBody')), 'SchemaAnalysisAnnotationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'annotationType', 'summary', 'sampleSize', 'samplePercent', 'samplingMethod', 'confidence', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'expression', 'explanation', 'analysisStep', 'jsonProperties', 'schemaName', 'schemaType')), 'SchemaAttributeDefinitionProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), - 'SchemaAttributeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'defaultValueOverride', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'nativeClass', 'aliases')), + 'SchemaAttributeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'defaultValueOverride', 'nativeClass', 'aliases')), 'SchemaAttributeRelationshipProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'linkGUID', 'linkType', 'linkedAttributeName', 'linkProperties', 'linkedAttributeGUID')), 'SchemaElementProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus')), 'SchemaProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), @@ -580,11 +581,11 @@ 'SecurityLogProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'process', 'source', 'notes')), 'SecurityPostureAnnotationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'annotationType', 'summary', 'sampleSize', 'samplePercent', 'samplingMethod', 'confidence', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'expression', 'explanation', 'analysisStep', 'jsonProperties', 'resourceProperties', 'findingCountsBySeverity', 'resourcesInScopeCount', 'resourcesTestedCount', 'newFindingCount', 'resolvedFindingCount')), 'SecurityRoleProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose', 'distinguishedName')), - 'SecurityTagQueryProperties': ('other', ('securityLabels', 'securityProperties')), + 'SecurityTagQueryProperties': ('other', ('requestId', 'forLineage', 'forDuplicateProcessing', 'effectiveTime', 'asOfTime', 'metadataElementTypeName', 'skipRelationships', 'includeOnlyRelationships', 'relationshipsPageSize', 'graphQueryDepth', 'maxMermaidNodeCount', 'viewElementGUID', 'startFrom', 'pageSize', 'anchorGUID', 'anchorScopeGUID', 'anchorDomainName', 'limitResultsByStatus', 'sequencingProperty', 'sequencingOrder', 'governanceZoneFilter', 'skipClassifiedElements', 'includeOnlyClassifiedElements', 'metadataElementSubtypeNames', 'skipSubtypes', 'securityLabels', 'securityProperties')), 'SecurityTagsProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'securityLabels', 'securityProperties')), 'SemanticAnnotationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'annotationType', 'summary', 'sampleSize', 'samplePercent', 'samplingMethod', 'confidence', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'expression', 'explanation', 'analysisStep', 'jsonProperties', 'dataType', 'matchingValues', 'nonMatchingValues', 'informalTerm', 'subjectAreaName', 'candidateGlossaryTermGUIDs', 'candidateSubjectAreaGUIDs')), 'SemanticAssignmentProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'expression', 'description', 'termAssignmentStatus', 'confidence', 'createdBy', 'steward', 'stewardTypeName', 'stewardPropertyName', 'source', 'notes')), - 'SemanticAssignmentQueryProperties': ('other', ('expression', 'description', 'status', 'returnSpecificConfidence', 'confidence', 'createdBy', 'steward', 'source')), + 'SemanticAssignmentQueryProperties': ('other', ('requestId', 'forLineage', 'forDuplicateProcessing', 'effectiveTime', 'asOfTime', 'metadataElementTypeName', 'skipRelationships', 'includeOnlyRelationships', 'relationshipsPageSize', 'graphQueryDepth', 'maxMermaidNodeCount', 'viewElementGUID', 'startFrom', 'pageSize', 'anchorGUID', 'anchorScopeGUID', 'anchorDomainName', 'limitResultsByStatus', 'sequencingProperty', 'sequencingOrder', 'governanceZoneFilter', 'skipClassifiedElements', 'includeOnlyClassifiedElements', 'metadataElementSubtypeNames', 'skipSubtypes', 'expression', 'description', 'status', 'returnSpecificConfidence', 'confidence', 'createdBy', 'steward', 'source')), 'SemanticDefinitionProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'ServerEndpointProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'ServiceAccessControlProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription', 'mappingProperties')), @@ -594,15 +595,15 @@ 'SkillSetProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose')), 'SmartQueryProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'SoftwareArchiveProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose')), - 'SoftwareCapabilityProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), + 'SoftwareCapabilityProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), 'SoftwareComponentProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose')), - 'SoftwareLibraryProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source', 'libraryType')), + 'SoftwareLibraryProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source', 'libraryType')), 'SoftwareModuleProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose')), 'SoftwarePackageDependencyProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'SoftwarePackageManifestProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'SoftwareServerPlatformProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'deploymentStatus', 'userDefinedDeploymentStatus', 'userId')), 'SoftwareServerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'deploymentStatus', 'userDefinedDeploymentStatus', 'userId')), - 'SoftwareServiceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), + 'SoftwareServiceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), 'SoftwareSourceProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'SolutionActorRoleProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'scope', 'actorRoleGroups')), 'SolutionBlueprintProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose')), @@ -615,7 +616,7 @@ 'SolutionPortDelegationProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'role', 'description')), 'SolutionPortProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'canonicalName', 'direction')), 'SourceCodeFileProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime', 'fileType', 'fileName', 'fileExtension')), - 'SourceControlLibraryProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source', 'libraryType')), + 'SourceControlLibraryProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source', 'libraryType')), 'SourcedFromProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'sourceVersionNumber')), 'SpecializedDesignPatternProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), 'SpecificationPropertyAssignmentProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'propertyName')), @@ -634,16 +635,16 @@ 'SupportedGovernanceServiceProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'requestType', 'serviceRequestType', 'requestParameters', 'generateConnectorActivityReports', 'deleteMethod')), 'SupportedSoftwareCapabilityProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'deploymentTime', 'deployer', 'deployerTypeName', 'deployerPropertyName')), 'SupportedVariableTypeProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'position', 'minCardinality', 'maxCardinality')), - 'SupportingDefinitionProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), - 'SurveyActionEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), - 'SurveyActionServiceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage')), + 'SupportingDefinitionProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'rationale')), + 'SurveyActionEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), + 'SurveyActionServiceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage')), 'SurveyReportProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'formula', 'formulaType', 'purpose', 'startTime', 'completionTime', 'completionMessage', 'createdTime', 'lastModifiedTime', 'lastModifier', 'outputFormat', 'reportParameters', 'analysisParameters', 'analysisStep')), 'SurveyingActionProcessProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription')), - 'SynonymProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'expression', 'confidence', 'description', 'termRelationshipStatus', 'steward', 'source')), - 'TabularColumnProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'defaultValueOverride', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'nativeClass', 'aliases')), + 'SynonymProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'expression', 'description', 'confidence', 'termRelationshipStatus', 'steward', 'source')), + 'TabularColumnProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'defaultValueOverride', 'nativeClass', 'aliases')), 'TabularDataSetCollectionProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'formula', 'formulaType')), 'TabularDataSetProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'formula', 'formulaType')), - 'TabularFileColumnProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'defaultValueOverride', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'nativeClass', 'aliases')), + 'TabularFileColumnProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'allowsDuplicateValues', 'orderedValues', 'sortOrder', 'minimumLength', 'length', 'precision', 'isNullable', 'defaultValueOverride', 'nativeClass', 'aliases')), 'TabularSchemaTypeProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'usage', 'encodingStandard', 'namespacePath', 'formula', 'formulaType')), 'TargetForGovernanceActionProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'actionTargetName')), 'TaskProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), @@ -658,9 +659,9 @@ 'TermsAndConditionsProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results', 'implementationDescription', 'entitlements', 'restrictions', 'obligations')), 'ThreatProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'summary', 'scope', 'usage', 'domainIdentifier', 'importance', 'implications', 'outcomes', 'results')), 'ThreeDImageFileProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime', 'fileType', 'fileName', 'fileExtension', 'embeddedMetadata')), - 'ToDoProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'situation')), + 'ToDoProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'situation')), 'TopicProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'topicType')), - 'TransientEmbeddedProcessProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'situation')), + 'TransientEmbeddedProcessProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'situation')), 'TranslationDetailProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'language', 'languageCode', 'locale', 'displayName', 'description', 'additionalTranslations')), 'TranslationLinkProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'TypeEmbeddedAttributeProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'schemaTypeName', 'qualifiedName', 'displayName', 'description', 'versionIdentifier', 'category', 'additionalProperties', 'usage', 'encodingStandard', 'namespacePath', 'dataType', 'defaultValue', 'fixedValue')), @@ -668,13 +669,13 @@ 'UltimateDestinationProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'iscQualifiedName', 'derivation', 'oneWay', 'integrationStyle', 'protocol', 'frequency', 'dataExchanged', 'hops')), 'UltimateSourceProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description', 'iscQualifiedName', 'derivation', 'oneWay', 'integrationStyle', 'protocol', 'frequency', 'dataExchanged', 'hops')), 'UsageActivityProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'explicitGetCount', 'findCount', 'updatePropertyCount', 'updateAttachmentCount', 'updateFeedbackCount', 'deleteAttachmentCount', 'deleteFeedbackCount')), - 'UsedInContextProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'expression', 'confidence', 'description', 'termRelationshipStatus', 'steward', 'source')), - 'UserAccessDirectoryProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), - 'UserAccountProfileProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'userAccountCount', 'employeeAccountCount', 'contractorAccountCount', 'externalAccountCount', 'digitalAccountCount', 'activeAccountCount', 'expiredAccountCount', 'lockedAccountCount', 'disabledAccountCount', 'userAccountTypes', 'userAccountStatuses', 'additionalProperties')), + 'UsedInContextProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'expression', 'description', 'confidence', 'termRelationshipStatus', 'steward', 'source')), + 'UserAccessDirectoryProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), + 'UserAccountProfileProperties': ('classification', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'userAccountCount', 'employeeAccountCount', 'contractorAccountCount', 'externalAccountCount', 'digitalAccountCount', 'activeAccountCount', 'expiredAccountCount', 'lockedAccountCount', 'userAccountTypes', 'userAccountStatuses', 'disabledAccountCount', 'additionalProperties')), 'UserAccountProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'label', 'description')), - 'UserAuthenticationManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), + 'UserAuthenticationManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), 'UserIdentityProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'userId', 'distinguishedName')), - 'UserProfileManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), + 'UserProfileManagerProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), 'ValidMetadataValueProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'usage', 'scope', 'preferredValue', 'dataType', 'isCaseSensitive', 'ordinal')), 'ValidValueAssociationProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties', 'associationName', 'associationType', 'additionalProperties')), 'ValidValueDefinitionProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'namespacePath', 'usage', 'scope', 'preferredValue', 'dataType', 'isCaseSensitive', 'ordinal')), @@ -691,10 +692,10 @@ 'VirtualRelationalTableProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'formula', 'formulaType')), 'VisibleEndpointProperties': ('relationship', ('effectiveFrom', 'effectiveTo', 'typeName', 'extendedProperties')), 'VulnerabilityAnnotationProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'annotationType', 'summary', 'sampleSize', 'samplePercent', 'samplingMethod', 'confidence', 'units', 'absoluteUncertainty', 'relativeUncertainty', 'expression', 'explanation', 'analysisStep', 'jsonProperties', 'severity', 'cvssScore', 'cvssVector', 'vulnerabilityIdentifiers', 'weaknessIdentifiers', 'affectedLocation', 'evidence', 'remediation', 'exploitAvailable', 'packageURL', 'installedVersion', 'fixedVersion', 'patchAvailable')), - 'WatchdogActionEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), - 'WatchdogActionServiceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'formula', 'formulaType', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage')), + 'WatchdogActionEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), + 'WatchdogActionServiceProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'expectedBehaviour', 'formula', 'formulaType', 'requestedTime', 'requestedStartTime', 'startTime', 'dueTime', 'lastReviewTime', 'lastPauseTime', 'lastResumeTime', 'completionTime', 'priority', 'activityStatus', 'userDefinedActivityStatus', 'implementationLanguage')), 'WorkItemListProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose')), - 'WorkflowEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'deploymentStatus', 'userDefinedDeploymentStatus', 'patchLevel', 'source')), + 'WorkflowEngineProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deploymentStatus', 'userDefinedDeploymentStatus', 'deployedImplementationType', 'patchLevel', 'source')), 'WorkingSetProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'authors', 'contentStatus', 'userDefinedContentStatus', 'purpose', 'disposition')), 'XMLFileProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime', 'fileType', 'fileName', 'fileExtension')), 'YAMLFileProperties': ('entity', ('effectiveFrom', 'effectiveTo', 'typeName', 'legal', 'extendedProperties', 'qualifiedName', 'identifier', 'displayName', 'description', 'versionIdentifier', 'category', 'url', 'additionalProperties', 'resourceName', 'namespacePath', 'deployedImplementationType', 'source', 'authors', 'contentStatus', 'userDefinedContentStatus', 'pathName', 'storeCreateTime', 'storeUpdateTime', 'fileType', 'fileName', 'fileExtension')), diff --git a/scripts/gen_properties_class_fields.py b/scripts/gen_properties_class_fields.py index e8c5574d6..f8a43410d 100644 --- a/scripts/gen_properties_class_fields.py +++ b/scripts/gen_properties_class_fields.py @@ -13,6 +13,13 @@ build the typed bodies (parent relationship properties, initial/replacement classifications, template replacement properties) and to report every key it can't send. +The keys are what Jackson binds: the beans say `setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE`, +so a key is a public one-argument `setX` (named as Jackson does by default: setURL is "url"), or its +`@JsonProperty` name, declared in the class or any superclass. Superclasses are resolved the way javac +does (explicit import, then same package, then wildcard imports) across the whole frameworks tree, so +package-private fields and superclasses outside the properties packages (GetOptions, SearchOptions, +...) count. This is the same ground truth scripts/audit_properties_class_bodies.py checks against (PY-45). + Reads a git ref (default origin/main) with `git cat-file`, so the Egeria checkout is never modified: python scripts/gen_properties_class_fields.py [--egeria ~/localGit/egeria-v6/egeria] [--ref origin/main] @@ -21,23 +28,36 @@ import os import re import subprocess +import sys OUT = os.path.join(os.path.dirname(__file__), "..", "md_processing", "md_processing_utils", "properties_class_fields.py") FRAMEWORKS = "open-metadata-implementation/frameworks/" ROOTS = {"RelationshipProperties": "relationship", "ClassificationProperties": "classification", "EntityProperties": "entity"} -_FIELD = re.compile(r"^\s*(?:private|protected)\s+(?!static\b)(?!final\b)[\w<>,\s\[\]?]+?\s+(\w+)\s*(?:=[^;]*)?;", - re.M) + +_PACKAGE = re.compile(r"^\s*package\s+([\w.]+)\s*;", re.M) +_IMPORT = re.compile(r"^\s*import\s+(?!static\b)([\w.]+?)(\.\*)?\s*;", re.M) +_CLASS = re.compile(r"\bpublic\s+(?:(?:abstract|final)\s+)*class\s+(\w+)(?:\s*<[^{]*?>)?" + r"(?:\s+extends\s+([\w.]+))?") +_SETTER = re.compile(r"\bpublic\s+(?:(?:final|synchronized)\s+)*void\s+set(\w+)\s*\(") +_JSON_PROPERTY = re.compile(r"@JsonProperty\s*\(\s*(?:value\s*=\s*)?\"([^\"]*)\"") +_JSON_IGNORE = re.compile(r"@JsonIgnore\b(?!Properties)") def git(egeria: str, *args, stdin: bytes | None = None) -> bytes: return subprocess.run(["git", "-C", egeria, *args], input=stdin, capture_output=True, check=True).stdout +def listed(path: str) -> bool: + """Files whose *Properties classes go in the table (the rest are read only for superclass chains).""" + return path.endswith("Properties.java") or "/properties/" in path + + def read_sources(egeria: str, ref: str) -> dict[str, str]: + """Every main-source Java file under the frameworks tree at `ref`, by path.""" paths = [p for p in git(egeria, "ls-tree", "-r", "--name-only", ref, "--", FRAMEWORKS).decode().split("\n") - if p.endswith(".java") and "/src/main/java/" in p and (p.endswith("Properties.java") or "/properties/" in p)] + if p.endswith(".java") and "/src/main/java/" in p] batch = git(egeria, "cat-file", "--batch", stdin="".join(f"{ref}:{p}\n" for p in paths).encode()) sources, pos = {}, 0 for path in paths: @@ -49,27 +69,173 @@ def read_sources(egeria: str, ref: str) -> dict[str, str]: return sources -def scan(sources: dict[str, str]) -> tuple[dict, dict]: - parent, declares = {}, {} - for src in sources.values(): - m = re.search(r"public\s+(?:abstract\s+)?class\s+(\w+)(?:\s+extends\s+(\w+))?", src) - if not m: +def _strip_comments(src: str) -> str: + """The source with comments blanked (newlines kept); string and char literals are left in place.""" + out, i, n = [], 0, len(src) + while i < n: + c = src[i] + if c == "/" and src.startswith("//", i): + j = src.find("\n", i) + j = n if j < 0 else j + out.append(" " * (j - i)) + i = j + elif c == "/" and src.startswith("/*", i): + j = src.find("*/", i + 2) + j = n if j < 0 else j + 2 + out.append(re.sub(r"[^\n]", " ", src[i:j])) + i = j + elif c in "\"'": + j = i + 1 + while j < n and src[j] != c: + j += 2 if src[j] == "\\" else 1 + out.append(src[i:j + 1]) + i = j + 1 + else: + out.append(c) + i += 1 + return "".join(out) + + +def _depths(src: str) -> list[int]: + """Brace depth at every character of comment-free `src`, ignoring braces inside literals.""" + depth, out, quote, i = 0, [0] * len(src), None, 0 + while i < len(src): + c = src[i] + if quote: + if c == "\\": + out[i] = depth + i += 1 + elif c == quote: + quote = None + elif c in "\"'": + quote = c + elif c == "{": + depth += 1 + elif c == "}": + depth -= 1 + if i < len(src): + out[i] = depth + i += 1 + return out + + +def _one_argument(src: str, open_paren: int) -> bool: + """True if the parameter list starting at `open_paren` holds exactly one parameter.""" + depth, angle, saw = 0, 0, False + for c in src[open_paren:]: + if c == "(": + depth += 1 + elif c == ")": + depth -= 1 + if depth == 0: + return saw + elif c == "<": + angle += 1 + elif c == ">": + angle -= 1 + elif c == "," and depth == 1 and angle == 0: + return False + elif not c.isspace(): + saw = True + return False + + +def _jackson_name(base: str) -> str: + """Jackson's default (legacy) setter naming: lower-case the leading run of capitals, so setURL is + "url" and setGUID "guid", not java.beans' "URL". Egeria doesn't enable USE_STD_BEAN_NAMING; where it + wants a camel-case acronym key it says so with @JsonProperty (e.g. iscQualifiedName).""" + i = 0 + while i < len(base) and base[i].isupper(): + i += 1 + return base[:i].lower() + base[i:] + + +def parse(src: str) -> dict | None: + """The top-level public class of one Java file: package, imports, name, extends, and its JSON keys in + declaration order. Setters of nested classes don't count (depth 1 only); None for interfaces etc.""" + src = _strip_comments(src) + depth = _depths(src) + m = next((m for m in _CLASS.finditer(src) if depth[m.start()] == 0), None) + if not m: + return None + package = (_PACKAGE.search(src) or [None, ""])[1] + explicit, wildcards = {}, [] + for imp in _IMPORT.finditer(src): + if imp.group(2): + wildcards.append(imp.group(1)) + else: + explicit[imp.group(1).rsplit(".", 1)[-1]] = imp.group(1) + keys, prev_end = [], m.end() + for s in _SETTER.finditer(src, m.end()): + if depth[s.start()] != 1: + continue + # the annotations on this method: everything since the previous member ended + start = max(src.rfind(";", prev_end, s.start()), src.rfind("}", prev_end, s.start()), prev_end) + annotations = src[start:s.start()] + prev_end = s.end() + if _JSON_IGNORE.search(annotations) or not _one_argument(src, s.end() - 1): + continue + renamed = _JSON_PROPERTY.search(annotations) + keys.append(renamed.group(1) if renamed else _jackson_name(s.group(1))) + return {"package": package, "explicit": explicit, "wildcards": wildcards, "name": m.group(1), + "extends": m.group(2), "keys": list(dict.fromkeys(keys))} + + +def build_table(sources: dict[str, str], warn=lambda msg: None) -> dict[str, tuple[str, tuple[str, ...]]]: + """{simple class name: (kind, keys)} for every listed *Properties class in `sources` ({path: java}).""" + classes, paths, by_simple = {}, {}, {} + for path, src in sources.items(): + info = parse(src) + if info is None: + continue + fqn = f"{info['package']}.{info['name']}" if info["package"] else info["name"] + if fqn in classes: continue - cls = m.group(1) - parent[cls] = m.group(2) - declares[cls] = [f for f in _FIELD.findall(src[m.end():]) if f != "serialVersionUID"] - return parent, declares + classes[fqn], paths[fqn] = info, path + by_simple.setdefault(info["name"], []).append(fqn) + + unresolved: dict[str, set[str]] = {} + def parent_of(fqn: str) -> str | None: + info = classes[fqn] + name = info["extends"] + if not name: + return None + if "." in name and name in classes: + return name + candidates = [info["explicit"].get(name), f"{info['package']}.{name}", + *(f"{w}.{name}" for w in info["wildcards"])] + for c in candidates: + if c and c in classes: + return c + if len(by_simple.get(name, [])) == 1: # e.g. a fully qualified extends to a nested name + return by_simple[name][0] + unresolved.setdefault(name, set()).add(fqn) + return None -def describe(cls: str, parent: dict, declares: dict) -> tuple[str, tuple]: - fields, seen, kind, node = [], set(), "other", cls - while node and node not in seen: - seen.add(node) - if node in ROOTS: - kind = ROOTS[node] - fields = declares.get(node, []) + [f for f in fields if f not in declares.get(node, [])] - node = parent.get(node) - return kind, tuple(dict.fromkeys(fields)) + def describe(fqn: str) -> tuple[str, tuple[str, ...]]: + chain, node, seen = [], fqn, set() + while node and node not in seen: + seen.add(node) + chain.append(node) + node = parent_of(node) + kind = next((ROOTS[classes[n]["name"]] for n in reversed(chain) if classes[n]["name"] in ROOTS), "other") + # root first, as Jackson's bean description lists them; a subclass override keeps the root's slot + keys = [k for n in reversed(chain) for k in classes[n]["keys"]] + return kind, tuple(dict.fromkeys(keys)) + + table = {} + for fqn in sorted(classes, key=lambda f: classes[f]["name"]): + name = classes[fqn]["name"] + if not name.endswith("Properties") or not listed(paths[fqn]): + continue + if name in table: + raise SystemExit(f"two listed classes are both called {name}: the table is keyed by simple name") + table[name] = describe(fqn) + for name, subclasses in sorted(unresolved.items()): + warn(f"superclass {name} not in the frameworks tree (its setters are not counted): " + f"{', '.join(sorted(s.rsplit('.', 1)[-1] for s in subclasses))}") + return table def main(): @@ -77,9 +243,7 @@ def main(): ap.add_argument("--egeria", default=os.path.expanduser("~/localGit/egeria-v6/egeria")) ap.add_argument("--ref", default="origin/main") args = ap.parse_args() - parent, declares = scan(read_sources(args.egeria, args.ref)) - # Superclasses such as GovernedDataClassificationBase are scanned too; only *Properties classes are listed. - table = {c: describe(c, parent, declares) for c in sorted(parent) if c.endswith("Properties")} + table = build_table(read_sources(args.egeria, args.ref), warn=lambda m: print(f"warning: {m}", file=sys.stderr)) head = git(args.egeria, "log", "-1", "--format=%h %cs", args.ref).decode().strip() lines = [ "# SPDX-License-Identifier: Apache-2.0", @@ -90,7 +254,8 @@ def main(): f"GENERATED by scripts/gen_properties_class_fields.py from Egeria {args.ref} at {head} -- do not", "edit by hand; re-run the script instead. Kind is the root of the class's superclass chain:", "relationship (RelationshipProperties), classification (ClassificationProperties), entity", - "(EntityProperties) or other.", + "(EntityProperties) or other. Keys are the public setters (what Jackson binds) through the whole", + "superclass chain, root first.", '"""', "", "PROPERTIES_CLASS_FIELDS: dict[str, tuple[str, tuple[str, ...]]] = {", diff --git a/tests/micro-tests/test_egeria_6_4_names.py b/tests/micro-tests/test_egeria_6_4_names.py index de5cfc38a..d6853781c 100644 --- a/tests/micro-tests/test_egeria_6_4_names.py +++ b/tests/micro-tests/test_egeria_6_4_names.py @@ -76,5 +76,8 @@ def test_fixtures_and_generated_tables_name_the_same_source_sha(): assert f"head: {sha}" in (FIXTURES / "SOURCE").read_text(encoding="utf-8") import md_processing.md_processing_utils.properties_class_fields as pcf import pyegeria.view.egeria_relationship_fields as erf - assert sha in pcf.__doc__, "properties_class_fields.py was not generated from the fixtures' sha" + # PY-45 regenerated it from the merge commit, which SOURCE records as the same tree as the head + merged = re.search(r"^merged: ([0-9a-f]{7,40})", (FIXTURES / "SOURCE").read_text(encoding="utf-8"), re.M) + assert sha in pcf.__doc__ or (merged and f"Egeria {merged.group(1)} at" in pcf.__doc__), \ + "properties_class_fields.py was not generated from the fixtures' sha (or its merge commit)" assert sha[:10] in erf.__doc__, "egeria_relationship_fields.py was not generated from the fixtures' sha" diff --git a/tests/micro-tests/test_gen_properties_class_fields.py b/tests/micro-tests/test_gen_properties_class_fields.py new file mode 100644 index 000000000..2d9b7ecd7 --- /dev/null +++ b/tests/micro-tests/test_gen_properties_class_fields.py @@ -0,0 +1,134 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +"""PY-45: properties_class_fields.py lists the keys Jackson binds, i.e. the public setters through each +class's whole superclass chain, wherever the superclass lives (A5 finding F15).""" +import importlib.util +from pathlib import Path + +import pytest + +from md_processing.md_processing_utils.properties_class_fields import PROPERTIES_CLASS_FIELDS + +_GEN = Path(__file__).resolve().parents[2] / "scripts" / "gen_properties_class_fields.py" + + +@pytest.fixture(scope="module") +def gen(): + spec = importlib.util.spec_from_file_location("_gen_properties_class_fields", _GEN) + mod = importlib.util.module_from_spec(spec) + spec.loader.exec_module(mod) + return mod + + +def _keys(cls): + return set(PROPERTIES_CLASS_FIELDS[cls][1]) + + +# ---------------------------------------------------------------- the generated table (Egeria 90232870b2) + +def test_find_property_names_properties_inherits_the_search_options_chain(): + # FindPropertyNamesProperties -> SearchOptions -> QueryOptions -> GetOptions, all in .../search/ + keys = _keys("FindPropertyNamesProperties") + assert {"metadataElementTypeName", "asOfTime", "anchorGUID", "pageSize", "startFrom"} <= keys + + +def test_resource_list_properties_has_its_package_private_fields(): + assert {"resourceUse", "label", "description", "additionalProperties"} <= _keys("ResourceListProperties") + + +# The 11 classes odpi/egeria#9463 adds: their key sets as A0 generated them. PY-45 must not change them. +A0_6_4_KEYS = { + 'AssessmentProperties': ['additionalProperties', 'assessmentTime', 'assessor', 'assessorPropertyName', 'assessorTypeName', 'description', 'effectiveFrom', 'effectiveTo', 'expiryTime', 'extendedProperties', 'label', 'notes', 'typeName'], + 'BranchProperties': ['displayName', 'effectiveFrom', 'effectiveTo', 'extendedProperties', 'purpose', 'scope', 'typeName', 'url'], + 'DataValueProperties': ['additionalProperties', 'category', 'dataFormat', 'dataType', 'description', 'displayName', 'effectiveFrom', 'effectiveTo', 'extendedProperties', 'fingerprint', 'fingerprintAlgorithm', 'hash', 'hashAlgorithm', 'identifier', 'legal', 'length', 'qualifiedName', 'typeName', 'url', 'usage', 'versionIdentifier'], + 'DataValueSourceProperties': ['description', 'effectiveFrom', 'effectiveTo', 'extendedProperties', 'label', 'typeName'], + 'DecisionProperties': ['additionalProperties', 'authors', 'category', 'contentStatus', 'description', 'displayName', 'disposition', 'effectiveFrom', 'effectiveTo', 'expiryTime', 'extendedProperties', 'identifier', 'implications', 'importance', 'lastReviewTime', 'legal', 'nextReviewTime', 'notes', 'qualifiedName', 'scope', 'startTime', 'summary', 'typeName', 'url', 'usage', 'userDefinedContentStatus', 'versionIdentifier'], + 'EmbeddedDataValueProperties': ['description', 'effectiveFrom', 'effectiveTo', 'extendedProperties', 'label', 'position', 'typeName'], + 'LiteralDataValueProperties': ['additionalProperties', 'category', 'dataFormat', 'dataType', 'dataValue', 'dataValueList', 'dataValueMap', 'description', 'displayName', 'effectiveFrom', 'effectiveTo', 'extendedProperties', 'fingerprint', 'fingerprintAlgorithm', 'hash', 'hashAlgorithm', 'identifier', 'legal', 'length', 'qualifiedName', 'typeName', 'url', 'usage', 'versionIdentifier'], + 'OutcomeProperties': ['description', 'disposition', 'effectiveFrom', 'effectiveTo', 'extendedProperties', 'importance', 'label', 'typeName'], + 'ProcessingVariableProperties': ['description', 'effectiveFrom', 'effectiveTo', 'extendedProperties', 'label', 'position', 'typeName'], + 'ProjectTargetProperties': ['description', 'effectiveFrom', 'effectiveTo', 'extendedProperties', 'label', 'typeName'], + 'SupportedVariableTypeProperties': ['description', 'effectiveFrom', 'effectiveTo', 'extendedProperties', 'label', 'maxCardinality', 'minCardinality', 'position', 'typeName'], +} + + +@pytest.mark.parametrize("cls", sorted(A0_6_4_KEYS)) +def test_6_4_classes_keep_a0_keys(cls): + assert sorted(_keys(cls)) == A0_6_4_KEYS[cls] + + +def test_table_has_no_duplicate_keys(): + for cls, (_, keys) in PROPERTIES_CLASS_FIELDS.items(): + assert len(keys) == len(set(keys)), cls + + +# ---------------------------------------------------------------- the generator on synthetic Java + +_ROOT = "x/src/main/java/org/odpi/openmetadata/frameworks/" + + +def _src(package, body, imports=()): + return "\n".join([f"package {package};", *[f"import {i};" for i in imports], body]) + + +def test_package_private_setters_are_not_keys_but_package_private_fields_are(gen): + sources = { + _ROOT + "openmetadata/properties/RelationshipProperties.java": _src( + "org.odpi.openmetadata.frameworks.openmetadata.properties", + "public class RelationshipProperties {\n private String typeName;\n" + " public void setTypeName(String t) { typeName = t; }\n}"), + # Only package-private (and static / private) setters: Jackson (setterVisibility=PUBLIC_ONLY) + # binds none of them, so the class reads only what it inherits. + _ROOT + "openmetadata/properties/HiddenProperties.java": _src( + "org.odpi.openmetadata.frameworks.openmetadata.properties", + "public class HiddenProperties extends RelationshipProperties {\n" + " String secret;\n void setSecret(String s) { secret = s; }\n" + " private void setOther(String s) {}\n public static void setGlobal(String s) {}\n}"), + # Package-private fields with public setters (the ResourceListProperties shape): all keys. + _ROOT + "openmetadata/properties/VisibleProperties.java": _src( + "org.odpi.openmetadata.frameworks.openmetadata.properties", + "public class VisibleProperties extends RelationshipProperties {\n" + " String resourceUse;\n String label;\n" + " public void setResourceUse(String r) { resourceUse = r; }\n" + " public void setLabel(String l) { label = l; }\n" + " public void setURL(String u) {}\n public void setISCName(String u) {}\n}"), + } + table = gen.build_table(sources) + assert table["HiddenProperties"] == ("relationship", ("typeName",)) + assert table["VisibleProperties"] == ("relationship", ("typeName", "resourceUse", "label", "url", "iscname")) + + +def test_superclass_outside_properties_is_resolved_by_import_not_simple_name(gen): + sources = { + # Two classes called GetOptions; the import picks which one FindThingProperties extends. + _ROOT + "openmetadata/search/GetOptions.java": _src( + "org.odpi.openmetadata.frameworks.openmetadata.search", + "public class GetOptions {\n public void setAsOfTime(Object t) {}\n}"), + _ROOT + "other/GetOptions.java": _src( + "org.odpi.openmetadata.frameworks.other", + "public class GetOptions {\n public void setWrong(Object t) {}\n}"), + _ROOT + "openmetadata/search/QueryOptions.java": _src( + "org.odpi.openmetadata.frameworks.openmetadata.search", + "public class QueryOptions extends GetOptions {\n public void setPageSize(int p) {}\n}"), + _ROOT + "openmetadata/properties/FindThingProperties.java": _src( + "org.odpi.openmetadata.frameworks.openmetadata.properties", + "public class FindThingProperties extends QueryOptions\n{\n" + " public void setMetadataElementTypeName(String n) {}\n}", + imports=("org.odpi.openmetadata.frameworks.openmetadata.search.QueryOptions",)), + } + table = gen.build_table(sources) + assert table["FindThingProperties"] == ("other", ("asOfTime", "pageSize", "metadataElementTypeName")) + # QueryOptions isn't a *Properties class, so it is read for the chain but not listed. + assert "QueryOptions" not in table + + +def test_json_property_rename_and_nested_classes(gen): + sources = { + _ROOT + "openmetadata/properties/EntityProperties.java": _src( + "org.odpi.openmetadata.frameworks.openmetadata.properties", + "public abstract class EntityProperties {\n" + " @JsonProperty(\"enum\")\n public void setEnumValues(Object e) {}\n" + " public static class Inner {\n public void setInnerOnly(String s) {}\n }\n" + " public void setAfterInner(String s) {}\n}"), + } + assert gen.build_table(sources)["EntityProperties"] == ("entity", ("enum", "afterInner")) From a55dc252096b611ed09fb21cc061fe464bb55253 Mon Sep 17 00:00:00 2001 From: Dan Wolfson Date: Sat, 21 Nov 2026 14:59:31 -0600 Subject: [PATCH 09/19] feat(6.4): A4 - report specs for Decision, DataValue and LiteralDataValue Egeria 6.4 (odpi/egeria#9463) adds Decision, DataValue and LiteralDataValue. These hand-maintained FormatSets in base_report_specs follow License-Type's shape, so Dr.Egeria Display and Portal tables have columns before the Phase B Dr.Egeria commands exist. - Decision: displayName, disposition, importance, contentStatus, summary, scope, usage, implications, notes, authors, start/lastReview/nextReview/ expiry times, plus the decisionOutcomes and inputsToDecision lists. - Data-Value: displayName, dataType, dataFormat, usage, length, description, plus the dataValueUses, dataValueSources and embeddedDataValues lists. - Literal-Data-Value: the Data-Value columns plus dataValue, dataValueList and dataValueMap. - Each spec also carries qualifiedName and GUID. - Formats: DICT/MD/FORM/REPORT/ALL give the full set; TABLE/LIST give the scalar summary. - Aliases: the Egeria type name and "-DrE", the name render_result_markdown falls back to. - Action: MetadataExpert.find_metadata_elements_with_string filtered by metadata_element_type (the Dashboards precedent) until the typed finders land in A1/A2. - target_type is the Egeria type name, so the authoring validator's strict column check applies to every spec. The seed is regenerated with `python -m pyegeria.view.seed build`: the Governance Officer.json and manifest.json files change, and the Data Engineer.json family file is new. authoring/validate.py: the five 6.4 relationship-list keys are added to RELATED_ELEMENT_KEYS, the allow-list of relationship fields that shipped specs read. Tests: tests/micro-tests/test_egeria_6_4_report_specs.py (19), run failing first. The specs load and resolve through select_report_spec by label, type name and -DrE name. Every column is a PROPERTIES_CLASS_FIELDS field, a RELATIONSHIP_FIELDS list or the header GUID. The brief's columns and lists are present. Strict authoring validation checks each spec and accepts it. Signed-off-by: Dan Wolfson --- pyegeria/authoring/validate.py | 2 + pyegeria/view/base_report_formats.py | 132 ++++++++++++++++ pyegeria/view/seed/Data Engineer.json | 148 ++++++++++++++++++ pyegeria/view/seed/Governance Officer.json | 78 +++++++++ pyegeria/view/seed/manifest.json | 9 +- .../test_egeria_6_4_report_specs.py | 137 ++++++++++++++++ 6 files changed, 502 insertions(+), 4 deletions(-) create mode 100644 pyegeria/view/seed/Data Engineer.json create mode 100644 tests/micro-tests/test_egeria_6_4_report_specs.py diff --git a/pyegeria/authoring/validate.py b/pyegeria/authoring/validate.py index 7dc66ae0e..4326c4b12 100644 --- a/pyegeria/authoring/validate.py +++ b/pyegeria/authoring/validate.py @@ -53,6 +53,8 @@ # planned/actual start dates) and the view service doesn't attach, so it shows nothing today. Allowed so that # authoring doesn't refuse a copy of a shipped spec; the spec itself is to be fixed against live output. "start_date", + # Egeria 6.4 (odpi/egeria#9463) relationship lists, read by the Decision, Data-Value and Literal-Data-Value specs. + "decision_outcomes", "inputs_to_decision", "data_value_uses", "data_value_sources", "embedded_data_values", }) #: Properties of the survey annotation subtypes, which the Properties-class catalog doesn't list. diff --git a/pyegeria/view/base_report_formats.py b/pyegeria/view/base_report_formats.py index 676f59c9b..36f852891 100644 --- a/pyegeria/view/base_report_formats.py +++ b/pyegeria/view/base_report_formats.py @@ -652,6 +652,28 @@ def _user_report_specs_dir() -> str: ] # Modularized report_specs +# Egeria 6.4 (odpi/egeria#9463) DataValue columns, shared by the Data-Value and Literal-Data-Value specs. +DATA_VALUE_COLUMNS = [ + Column(name='Display Name', key='display_name'), + Column(name='Data Type', key='data_type'), + Column(name='Data Format', key='data_format'), + Column(name='Usage', key='usage'), + Column(name='Length', key='length'), + Column(name='Description', key='description'), +] + +LITERAL_DATA_VALUE_COLUMNS = [ + Column(name='Data Value', key='data_value'), + Column(name='Data Value List', key='data_value_list'), + Column(name='Data Value Map', key='data_value_map'), +] + +DATA_VALUE_RELATIONSHIP_COLUMNS = [ + Column(name='Used By (Processing Variable)', key='data_value_uses', label='display_name'), + Column(name='Data Value Sources', key='data_value_sources', label='display_name'), + Column(name='Embedded Data Values', key='embedded_data_values', label='display_name'), +] + base_report_specs = FormatSetDict({ "Referenceable": FormatSet( heading="Default Attributes for a Referenceable", @@ -3465,6 +3487,116 @@ def _user_report_specs_dir() -> str: ) ), + # Egeria 6.4 (odpi/egeria#9463): Decision, DataValue and LiteralDataValue. Hand maintained here, + # in License-Type's shape, so Dr.Egeria Display and Portal tables have columns before the + # Dr.Egeria commands exist (Phase B generates the "-DrE-Basic"/"-Advanced" specs, which + # render_result_markdown tries first; the "-DrE" alias is its fallback). Column keys are + # checked against PROPERTIES_CLASS_FIELDS and RELATIONSHIP_FIELDS by + # tests/micro-tests/test_egeria_6_4_report_specs.py. The action is the generic finder filtered to + # the type (as "Dashboards" does) until the typed find_decisions/find_data_values land. + 'Decision': FormatSet(target_type='Decision', + heading='Decision Attributes', + description='Attributes of a Decision (Egeria 6.4), with its outcomes and assessed inputs.', + aliases=['Decisions', 'Decision-DrE'], + family="Governance Officer", + formats=[ + Format(types=['DICT', 'MD', 'FORM', 'REPORT', 'ALL'], + attributes=[Column(name='Display Name', key='display_name'), + Column(name='Disposition', key='disposition'), + Column(name='Importance', key='importance'), + Column(name='Content Status', key='content_status'), + Column(name='Summary', key='summary'), + Column(name='Description', key='description'), + Column(name='Scope', key='scope'), + Column(name='Usage', key='usage'), + Column(name='Implications', key='implications'), + Column(name='Notes', key='notes'), + Column(name='Authors', key='authors'), + Column(name='Start Time', key='start_time'), + Column(name='Last Review Time', key='last_review_time'), + Column(name='Next Review Time', key='next_review_time'), + Column(name='Expiry Time', key='expiry_time'), + Column(name='Outcomes', key='decision_outcomes', + label='display_name'), + Column(name='Inputs To Decision', key='inputs_to_decision', + label='display_name'), + Column(name='Qualified Name', key='qualified_name'), + Column(name='GUID', key='guid'), + ]), + Format(types=['TABLE', 'LIST'], + attributes=[Column(name='Display Name', key='display_name'), + Column(name='Disposition', key='disposition'), + Column(name='Importance', key='importance'), + Column(name='Content Status', key='content_status'), + Column(name='Summary', key='summary'), + Column(name='Scope', key='scope'), + Column(name='Next Review Time', key='next_review_time'), + Column(name='Expiry Time', key='expiry_time'), + Column(name='Qualified Name', key='qualified_name'), + Column(name='GUID', key='guid'), + ]) + ], + action=ActionParameter( + function="MetadataExpert.find_metadata_elements_with_string", + required_params=["search_string"], + optional_params=OPTIONAL_SEARCH_PARAMS, + spec_params={"metadata_element_type": "Decision"}, + ) + ), + + 'Data-Value': FormatSet(target_type='DataValue', + heading='Data Value Attributes', + description='Attributes of a Data Value (Egeria 6.4), with where it is used, ' + 'where it comes from and the values embedded in it.', + aliases=['DataValue', 'Data Values', 'Data-Value-DrE'], + family="Data Engineer", + formats=[ + Format(types=['DICT', 'MD', 'FORM', 'REPORT', 'ALL'], + attributes=DATA_VALUE_COLUMNS + DATA_VALUE_RELATIONSHIP_COLUMNS + [ + Column(name='Qualified Name', key='qualified_name'), + Column(name='GUID', key='guid'), + ]), + Format(types=['TABLE', 'LIST'], + attributes=DATA_VALUE_COLUMNS + [ + Column(name='Qualified Name', key='qualified_name'), + Column(name='GUID', key='guid'), + ]) + ], + action=ActionParameter( + function="MetadataExpert.find_metadata_elements_with_string", + required_params=["search_string"], + optional_params=OPTIONAL_SEARCH_PARAMS, + spec_params={"metadata_element_type": "DataValue"}, + ) + ), + + 'Literal-Data-Value': FormatSet(target_type='LiteralDataValue', + heading='Literal Data Value Attributes', + description='Attributes of a Literal Data Value (Egeria 6.4): a Data Value ' + 'that carries its value, list or map.', + aliases=['LiteralDataValue', 'Literal Data Values', 'Literal-Data-Value-DrE'], + family="Data Engineer", + formats=[ + Format(types=['DICT', 'MD', 'FORM', 'REPORT', 'ALL'], + attributes=DATA_VALUE_COLUMNS + LITERAL_DATA_VALUE_COLUMNS + + DATA_VALUE_RELATIONSHIP_COLUMNS + [ + Column(name='Qualified Name', key='qualified_name'), + Column(name='GUID', key='guid'), + ]), + Format(types=['TABLE', 'LIST'], + attributes=DATA_VALUE_COLUMNS + LITERAL_DATA_VALUE_COLUMNS + [ + Column(name='Qualified Name', key='qualified_name'), + Column(name='GUID', key='guid'), + ]) + ], + action=ActionParameter( + function="MetadataExpert.find_metadata_elements_with_string", + required_params=["search_string"], + optional_params=OPTIONAL_SEARCH_PARAMS, + spec_params={"metadata_element_type": "LiteralDataValue"}, + ) + ), + "Governance Policies": FormatSet( target_type="GovernancePolicy", heading="Governance-Definitions Information", diff --git a/pyegeria/view/seed/Data Engineer.json b/pyegeria/view/seed/Data Engineer.json new file mode 100644 index 000000000..8a6650e78 --- /dev/null +++ b/pyegeria/view/seed/Data Engineer.json @@ -0,0 +1,148 @@ +{ + "format": "pyegeria-seed/1", + "family": "Data Engineer", + "specs": [ + { + "label": "Data-Value", + "envelope": { + "heading": "Data Value Attributes", + "description": "Attributes of a Data Value (Egeria 6.4), with where it is used, where it comes from and the values embedded in it.", + "family": "Data Engineer", + "target_type_name": "DataValue", + "aliases": ["DataValue", "Data Values", "Data-Value-DrE", "Data Value"] + }, + "microflow": { + "format": "microflow/1", + "params": { + "search_string": {"type": "string", "required": true}, + "sequencing_order": {"type": "string", "required": false}, + "sequencing_property": {"type": "string", "required": false}, + "page_size": {"type": "string", "required": false}, + "start_from": {"type": "string", "required": false}, + "starts_with": {"type": "string", "required": false}, + "ends_with": {"type": "string", "required": false}, + "ignore_case": {"type": "string", "required": false}, + "classification_names": {"type": "string", "required": false}, + "metadata_element_subtypes": {"type": "string", "required": false}, + "metadata_element_type": {"type": "string", "required": false} + }, + "stages": [ + { + "stage": "producer/find", + "type": "DataValue", + "function": "MetadataExpert.find_metadata_elements_with_string", + "params": {"search_string": "$search_string", "metadata_element_type": "DataValue"} + } + ], + "formatters": { + "DICT": { + "columns": [ + {"field": "display_name", "label": "Display Name"}, + {"field": "data_type", "label": "Data Type"}, + {"field": "data_format", "label": "Data Format"}, + {"field": "usage", "label": "Usage"}, + {"field": "length", "label": "Length"}, + {"field": "description", "label": "Description"}, + {"field": "data_value_uses", "label": "Used By (Processing Variable)", "related_label": "display_name"}, + {"field": "data_value_sources", "label": "Data Value Sources", "related_label": "display_name"}, + {"field": "embedded_data_values", "label": "Embedded Data Values", "related_label": "display_name"}, + {"field": "qualified_name", "label": "Qualified Name"}, + {"field": "guid", "label": "GUID"} + ] + }, + "MD": {"same_as": "DICT"}, + "FORM": {"same_as": "DICT"}, + "REPORT": {"same_as": "DICT"}, + "ALL": {"same_as": "DICT"}, + "TABLE": { + "columns": [ + {"field": "display_name", "label": "Display Name"}, + {"field": "data_type", "label": "Data Type"}, + {"field": "data_format", "label": "Data Format"}, + {"field": "usage", "label": "Usage"}, + {"field": "length", "label": "Length"}, + {"field": "description", "label": "Description"}, + {"field": "qualified_name", "label": "Qualified Name"}, + {"field": "guid", "label": "GUID"} + ] + }, + "LIST": {"same_as": "TABLE"} + } + } + }, + { + "label": "Literal-Data-Value", + "envelope": { + "heading": "Literal Data Value Attributes", + "description": "Attributes of a Literal Data Value (Egeria 6.4): a Data Value that carries its value, list or map.", + "family": "Data Engineer", + "target_type_name": "LiteralDataValue", + "aliases": ["LiteralDataValue", "Literal Data Values", "Literal-Data-Value-DrE", "Literal Data Value"] + }, + "microflow": { + "format": "microflow/1", + "params": { + "search_string": {"type": "string", "required": true}, + "sequencing_order": {"type": "string", "required": false}, + "sequencing_property": {"type": "string", "required": false}, + "page_size": {"type": "string", "required": false}, + "start_from": {"type": "string", "required": false}, + "starts_with": {"type": "string", "required": false}, + "ends_with": {"type": "string", "required": false}, + "ignore_case": {"type": "string", "required": false}, + "classification_names": {"type": "string", "required": false}, + "metadata_element_subtypes": {"type": "string", "required": false}, + "metadata_element_type": {"type": "string", "required": false} + }, + "stages": [ + { + "stage": "producer/find", + "type": "LiteralDataValue", + "function": "MetadataExpert.find_metadata_elements_with_string", + "params": {"search_string": "$search_string", "metadata_element_type": "LiteralDataValue"} + } + ], + "formatters": { + "DICT": { + "columns": [ + {"field": "display_name", "label": "Display Name"}, + {"field": "data_type", "label": "Data Type"}, + {"field": "data_format", "label": "Data Format"}, + {"field": "usage", "label": "Usage"}, + {"field": "length", "label": "Length"}, + {"field": "description", "label": "Description"}, + {"field": "data_value", "label": "Data Value"}, + {"field": "data_value_list", "label": "Data Value List"}, + {"field": "data_value_map", "label": "Data Value Map"}, + {"field": "data_value_uses", "label": "Used By (Processing Variable)", "related_label": "display_name"}, + {"field": "data_value_sources", "label": "Data Value Sources", "related_label": "display_name"}, + {"field": "embedded_data_values", "label": "Embedded Data Values", "related_label": "display_name"}, + {"field": "qualified_name", "label": "Qualified Name"}, + {"field": "guid", "label": "GUID"} + ] + }, + "MD": {"same_as": "DICT"}, + "FORM": {"same_as": "DICT"}, + "REPORT": {"same_as": "DICT"}, + "ALL": {"same_as": "DICT"}, + "TABLE": { + "columns": [ + {"field": "display_name", "label": "Display Name"}, + {"field": "data_type", "label": "Data Type"}, + {"field": "data_format", "label": "Data Format"}, + {"field": "usage", "label": "Usage"}, + {"field": "length", "label": "Length"}, + {"field": "description", "label": "Description"}, + {"field": "data_value", "label": "Data Value"}, + {"field": "data_value_list", "label": "Data Value List"}, + {"field": "data_value_map", "label": "Data Value Map"}, + {"field": "qualified_name", "label": "Qualified Name"}, + {"field": "guid", "label": "GUID"} + ] + }, + "LIST": {"same_as": "TABLE"} + } + } + } + ] +} diff --git a/pyegeria/view/seed/Governance Officer.json b/pyegeria/view/seed/Governance Officer.json index 5539b60ab..1cd1dc16d 100644 --- a/pyegeria/view/seed/Governance Officer.json +++ b/pyegeria/view/seed/Governance Officer.json @@ -554,6 +554,84 @@ } } }, + { + "label": "Decision", + "envelope": { + "heading": "Decision Attributes", + "description": "Attributes of a Decision (Egeria 6.4), with its outcomes and assessed inputs.", + "family": "Governance Officer", + "target_type_name": "Decision", + "aliases": ["Decisions", "Decision-DrE"] + }, + "microflow": { + "format": "microflow/1", + "params": { + "search_string": {"type": "string", "required": true}, + "sequencing_order": {"type": "string", "required": false}, + "sequencing_property": {"type": "string", "required": false}, + "page_size": {"type": "string", "required": false}, + "start_from": {"type": "string", "required": false}, + "starts_with": {"type": "string", "required": false}, + "ends_with": {"type": "string", "required": false}, + "ignore_case": {"type": "string", "required": false}, + "classification_names": {"type": "string", "required": false}, + "metadata_element_subtypes": {"type": "string", "required": false}, + "metadata_element_type": {"type": "string", "required": false} + }, + "stages": [ + { + "stage": "producer/find", + "type": "Decision", + "function": "MetadataExpert.find_metadata_elements_with_string", + "params": {"search_string": "$search_string", "metadata_element_type": "Decision"} + } + ], + "formatters": { + "DICT": { + "columns": [ + {"field": "display_name", "label": "Display Name"}, + {"field": "disposition", "label": "Disposition"}, + {"field": "importance", "label": "Importance"}, + {"field": "content_status", "label": "Content Status"}, + {"field": "summary", "label": "Summary"}, + {"field": "description", "label": "Description"}, + {"field": "scope", "label": "Scope"}, + {"field": "usage", "label": "Usage"}, + {"field": "implications", "label": "Implications"}, + {"field": "notes", "label": "Notes"}, + {"field": "authors", "label": "Authors"}, + {"field": "start_time", "label": "Start Time"}, + {"field": "last_review_time", "label": "Last Review Time"}, + {"field": "next_review_time", "label": "Next Review Time"}, + {"field": "expiry_time", "label": "Expiry Time"}, + {"field": "decision_outcomes", "label": "Outcomes", "related_label": "display_name"}, + {"field": "inputs_to_decision", "label": "Inputs To Decision", "related_label": "display_name"}, + {"field": "qualified_name", "label": "Qualified Name"}, + {"field": "guid", "label": "GUID"} + ] + }, + "MD": {"same_as": "DICT"}, + "FORM": {"same_as": "DICT"}, + "REPORT": {"same_as": "DICT"}, + "ALL": {"same_as": "DICT"}, + "TABLE": { + "columns": [ + {"field": "display_name", "label": "Display Name"}, + {"field": "disposition", "label": "Disposition"}, + {"field": "importance", "label": "Importance"}, + {"field": "content_status", "label": "Content Status"}, + {"field": "summary", "label": "Summary"}, + {"field": "scope", "label": "Scope"}, + {"field": "next_review_time", "label": "Next Review Time"}, + {"field": "expiry_time", "label": "Expiry Time"}, + {"field": "qualified_name", "label": "Qualified Name"}, + {"field": "guid", "label": "GUID"} + ] + }, + "LIST": {"same_as": "TABLE"} + } + } + }, { "label": "Governance Policies", "envelope": { diff --git a/pyegeria/view/seed/manifest.json b/pyegeria/view/seed/manifest.json index 70e41925b..77ed79b6d 100644 --- a/pyegeria/view/seed/manifest.json +++ b/pyegeria/view/seed/manifest.json @@ -1,8 +1,8 @@ { "format": "pyegeria-seed/1", "description": "pyegeria's shipped report specs (the builtin tier). Generated by `python -m pyegeria.view.seed build` from the Python constants; do not edit by hand.", - "census": {"total": 445, "runnable": 378, "unrunnable": 0, "format_only": 67}, - "families": 40, + "census": {"total": 448, "runnable": 381, "unrunnable": 0, "format_only": 67}, + "families": 41, "files": [ {"file": "Action Author.json", "family": "Action Author", "count": 8}, {"file": "Actor Manager.json", "family": "Actor Manager", "count": 21}, @@ -17,6 +17,7 @@ {"file": "CollectionManager.json", "family": "CollectionManager", "count": 2}, {"file": "Collections.json", "family": "Collections", "count": 50}, {"file": "Data Designer.json", "family": "Data Designer", "count": 25}, + {"file": "Data Engineer.json", "family": "Data Engineer", "count": 2}, {"file": "Digital Business.json", "family": "Digital Business", "count": 1}, {"file": "Digital Product Manager.json", "family": "Digital Product Manager", "count": 14}, {"file": "External Reference.json", "family": "External Reference", "count": 14}, @@ -27,7 +28,7 @@ {"file": "Glossary Manager.json", "family": "Glossary Manager", "count": 2}, {"file": "Glossary.json", "family": "Glossary", "count": 6}, {"file": "GlossaryManager.json", "family": "GlossaryManager", "count": 1}, - {"file": "Governance Officer.json", "family": "Governance Officer", "count": 66}, + {"file": "Governance Officer.json", "family": "Governance Officer", "count": 67}, {"file": "MetadataExpert.json", "family": "MetadataExpert", "count": 6}, {"file": "My Profile.json", "family": "My Profile", "count": 3}, {"file": "MyProfile.json", "family": "MyProfile", "count": 13}, @@ -45,5 +46,5 @@ {"file": "Valid-Values.json", "family": "Valid-Values", "count": 1}, {"file": "Views & Reports.json", "family": "Views & Reports", "count": 12} ], - "order": ["Referenceable", "ToDo-DrE", "Meeting-DrE", "Review-DrE", "Default", "Comment-by-Element", "Element-By-Owner", "Actor-Profiles", "Actor-Profiles-Assigned-MD", "Profile-Team-Detail", "Actor-Roles", "Team-Members", "Team-Member-Role-Detail", "User-Identities", "Perspectives", "Skills", "My-User", "My-User-MD", "My-User-Contribution-Record-Detail", "My-User-Note-Logs-Detail", "My-User-Activities", "My-User-Blogs", "My-User-Journals", "My-User-Contact-Detail", "My-User-Roles-Detail", "My-User-Teams-Detail", "My-User-Projects-Detail", "My-User-Communities-Detail", "My-User-ToDos", "Org-Chart", "TypeDef", "Valid-Values", "Engine-Actions", "Asset-Graph", "Asset-Lineage-Hops", "Common-Mermaid", "Common-Mermaid-Prop-Value", "Tech-Type-Elements", "Search-Keywords", "Tech-Type-Details", "Tech-Type-Details-MD", "Catalog-Template-Detail", "Governance-Action-Processes-Detail", "Place-Holder-Property-Detail", "External-Reference-Detail", "Governance-Action-Steps-Detail", "Action-Targets-Detail", "Action-Request-Sources-Detail", "Catalog-Target", "Tech-Type-Processes", "Tech-Types", "Platforms", "OMAGServers", "IntegrationConnectors", "Journal-Entry-DrE", "Informal-Tags-DrE", "ExternalReference", "ExternalIdentifier", "RelatedMedia", "CitedDocument", "Projects", "Glossaries", "Glossary-Terms", "Help-Terms", "Collections", "Collection-MindMap", "BasicCollections", "Folders", "BusinessCapabilities", "Security-Findings", "Penetration-Test-Findings", "Security-Posture", "Statement-of-Applicability-Controls", "Statement-of-Applicability-Implementation-Summary", "Collection Members", "Solution-Blueprint-Mermaid", "Solution-Blueprint", "Registered-Services", "Severity-Definitions", "Asset-Types", "Digital-Product-Catalog", "Digital-Product-Catalog-MyE", "Digital-Products", "Digital-Products-MyE", "Digital-Products-Slim", "Agreements", "Data-Dictionaries", "Data-Specifications", "Data-Structures", "Data-Fields", "Data-Classes", "Data-Value-Spec", "Report-Specs", "Measurement-Specifications", "Dashboards", "External-References", "Governance Basics", "Governance Definitions", "Governance Def", "Governance-Controls", "Governance-Zones", "Governance-Process", "Governance-Zone-Overview-Charts", "Secrets-Collection-User-Profile-Charts", "Valid-Value-Def", "License-Type", "Governance Policies", "Activity-Entry-DrE-Advanced", "Activity-Entry-DrE-Basic", "Agreement-DrE-Advanced", "Agreement-DrE-Basic", "Blog-Entry-DrE-Advanced", "Blog-Entry-DrE-Basic", "Business-Capability-DrE-Advanced", "Business-Capability-DrE-Basic", "Business-Imperative-DrE-Advanced", "Business-Imperative-DrE-Basic", "Campaign-DrE-Advanced", "Campaign-DrE-Basic", "Certification-Type-DrE-Advanced", "Certification-Type-DrE-Basic", "Cited-Document-DrE-Advanced", "Cited-Document-DrE-Basic", "Collection-DrE-Advanced", "Collection-DrE-Basic", "Collection-Folder-DrE-Advanced", "Collection-Folder-DrE-Basic", "Comment-DrE-Advanced", "Comment-DrE-Basic", "Concept-Bead-Attribute-DrE-Advanced", "Concept-Bead-Attribute-DrE-Basic", "Concept-Bead-DrE-Advanced", "Concept-Bead-DrE-Basic", "Concept-Bead-Relationship-DrE-Advanced", "Concept-Bead-Relationship-DrE-Basic", "Concept-Model-DrE-Advanced", "Concept-Model-DrE-Basic", "Context-Event-Collection-DrE-Advanced", "Context-Event-Collection-DrE-Basic", "CSV-Data-File-Element-DrE-Advanced", "CSV-Data-File-Element-DrE-Basic", "CSV-File-DrE-Advanced", "CSV-File-DrE-Basic", "Dashboard-DrE-Advanced", "Dashboard-DrE-Basic", "Dashboard-Sheet-DrE-Advanced", "Dashboard-Sheet-DrE-Basic", "Data-Class-DrE-Advanced", "Data-Class-DrE-Basic", "Data-Dictionary-DrE-Advanced", "Data-Dictionary-DrE-Basic", "Data-Field-DrE-Advanced", "Data-Field-DrE-Basic", "Data-Grain-DrE-Advanced", "Data-Grain-DrE-Basic", "Data-Lens-DrE-Advanced", "Data-Lens-DrE-Basic", "Data-Processing-Purpose-DrE-Advanced", "Data-Processing-Purpose-DrE-Basic", "Data-Sharing-Agreement-DrE-Advanced", "Data-Sharing-Agreement-DrE-Basic", "Data-Sharing-Hub-DrE-Advanced", "Data-Sharing-Hub-DrE-Basic", "Data-Sharing-Request-DrE-Advanced", "Data-Sharing-Request-DrE-Basic", "Data-Spec-DrE-Advanced", "Data-Spec-DrE-Basic", "Data-Structure-DrE-Advanced", "Data-Structure-DrE-Basic", "Data-Value-Specification-DrE-Advanced", "Data-Value-Specification-DrE-Basic", "Design-Pattern-DrE-Advanced", "Design-Pattern-DrE-Basic", "Digital-Product-Catalog-DrE-Advanced", "Digital-Product-Catalog-DrE-Basic", "Digital-Product-DrE-Advanced", "Digital-Product-DrE-Basic", "Digital-Subscription-DrE-Advanced", "Digital-Subscription-DrE-Basic", "Display-Data-Container-DrE-Advanced", "Display-Data-Container-DrE-Basic", "Display-Data-Field-DrE-Advanced", "Display-Data-Field-DrE-Basic", "Element-DrE-Advanced", "Element-DrE-Basic", "Embedded-Process-DrE-Advanced", "Embedded-Process-DrE-Basic", "Enum-Def-DrE-Advanced", "Enum-Def-DrE-Basic", "Event-Set-DrE-Advanced", "Event-Set-DrE-Basic", "Experiment-DrE-Advanced", "Experiment-DrE-Basic", "External-Data-Source-DrE-Advanced", "External-Data-Source-DrE-Basic", "External-Model-Source-DrE-Advanced", "External-Model-Source-DrE-Basic", "External-Reference-DrE-Advanced", "External-Reference-DrE-Basic", "External-Source-Code-DrE-Advanced", "External-Source-Code-DrE-Basic", "External-Standard-DrE-Advanced", "External-Standard-DrE-Basic", "Folder-Element-DrE-Advanced", "Folder-Element-DrE-Basic", "Folio-DrE-Advanced", "Folio-DrE-Basic", "Glossary-DrE-Advanced", "Glossary-DrE-Basic", "Glossary-Project-DrE-Advanced", "Glossary-Project-DrE-Basic", "Glossary-Term-DrE-Advanced", "Glossary-Term-DrE-Basic", "Governance-Action-Process-DrE-Advanced", "Governance-Action-Process-DrE-Basic", "Governance-Action-Process-Step-DrE-Advanced", "Governance-Action-Process-Step-DrE-Basic", "Governance-Action-Type-DrE-Advanced", "Governance-Action-Type-DrE-Basic", "Governance-Approach-DrE-Advanced", "Governance-Approach-DrE-Basic", "Governance-Control-DrE-Advanced", "Governance-Control-DrE-Basic", "Governance-Definition-DrE-Advanced", "Governance-Definition-DrE-Basic", "Governance-Driver-DrE-Advanced", "Governance-Driver-DrE-Basic", "Governance-Metric-DrE-Advanced", "Governance-Metric-DrE-Basic", "Governance-Obligation-DrE-Advanced", "Governance-Obligation-DrE-Basic", "Governance-Policy-DrE-Advanced", "Governance-Policy-DrE-Basic", "Governance-Principle-DrE-Advanced", "Governance-Principle-DrE-Basic", "Governance-Procedure-DrE-Advanced", "Governance-Procedure-DrE-Basic", "Governance-Project-DrE-Advanced", "Governance-Project-DrE-Basic", "Governance-Responsibility-DrE-Advanced", "Governance-Responsibility-DrE-Basic", "Governance-Role-DrE-Advanced", "Governance-Role-DrE-Basic", "Governance-Rule-DrE-Advanced", "Governance-Rule-DrE-Basic", "Governance-Strategy-DrE-Advanced", "Governance-Strategy-DrE-Basic", "Governance-Zone-DrE-Advanced", "Governance-Zone-DrE-Basic", "Home-Collection-DrE-Advanced", "Home-Collection-DrE-Basic", "Informal-Tag-DrE-Advanced", "Informal-Tag-DrE-Basic", "Information-Supply-Chain-DrE-Advanced", "Information-Supply-Chain-DrE-Basic", "Instance-DrE-Advanced", "Instance-DrE-Basic", "IT-Profile-Role-DrE-Advanced", "IT-Profile-Role-DrE-Basic", "IT-Subsystem-DrE-Advanced", "IT-Subsystem-DrE-Basic", "Journal-Entry-DrE-Advanced", "Journal-Entry-DrE-Basic", "Kafka-Server-Element-DrE-Advanced", "Kafka-Server-Element-DrE-Basic", "License-Type-DrE-Advanced", "License-Type-DrE-Basic", "Like-DrE-Advanced", "Like-DrE-Basic", "Measurement-Specification-DrE-Advanced", "Measurement-Specification-DrE-Basic", "Meeting-DrE-Advanced", "Meeting-DrE-Basic", "Methodology-DrE-Advanced", "Methodology-DrE-Basic", "Namespace-DrE-Advanced", "Namespace-DrE-Basic", "Naming-Standard-Rule-DrE-Advanced", "Naming-Standard-Rule-DrE-Basic", "Naming-Standard-Rule-Set-DrE-Advanced", "Naming-Standard-Rule-Set-DrE-Basic", "Note-DrE-Advanced", "Note-DrE-Basic", "Notification-Type-DrE-Advanced", "Notification-Type-DrE-Basic", "Organization-DrE-Advanced", "Organization-DrE-Basic", "Penetration-Test-Finding-DrE-Advanced", "Penetration-Test-Finding-DrE-Basic", "Person-DrE-Advanced", "Person-DrE-Basic", "Person-Role-DrE-Advanced", "Person-Role-DrE-Basic", "Personal-Project-DrE-Advanced", "Personal-Project-DrE-Basic", "Perspective-DrE-Advanced", "Perspective-DrE-Basic", "Postgres-Database-Element-DrE-Advanced", "Postgres-Database-Element-DrE-Basic", "Postgres-Server-Element-DrE-Advanced", "Postgres-Server-Element-DrE-Basic", "Project-DrE-Advanced", "Project-DrE-Basic", "Question-DrE-Advanced", "Question-DrE-Basic", "Question-Spec-DrE-Advanced", "Question-Spec-DrE-Basic", "Rating-DrE-Advanced", "Rating-DrE-Basic", "Recent-Access-DrE-Advanced", "Recent-Access-DrE-Basic", "Reference-Data-Set-DrE-Advanced", "Reference-Data-Set-DrE-Basic", "Reference-Data-Value-DrE-Advanced", "Reference-Data-Value-DrE-Basic", "Reference-List-DrE-Advanced", "Reference-List-DrE-Basic", "Regulation-Article-DrE-Advanced", "Regulation-Article-DrE-Basic", "Regulation-DrE-Advanced", "Regulation-DrE-Basic", "Related-Media-DrE-Advanced", "Related-Media-DrE-Basic", "Report-DrE-Advanced", "Report-DrE-Basic", "Report-Spec-DrE-Advanced", "Report-Spec-DrE-Basic", "Report-Type-DrE-Advanced", "Report-Type-DrE-Basic", "Results-Set-DrE-Advanced", "Results-Set-DrE-Basic", "Review-DrE-Advanced", "Review-DrE-Basic", "Risk-DrE-Advanced", "Risk-DrE-Basic", "Root-Collection-DrE-Advanced", "Root-Collection-DrE-Basic", "Saved-Query-DrE-Advanced", "Saved-Query-DrE-Basic", "Schema-Attribute-DrE-Advanced", "Schema-Attribute-DrE-Basic", "Schema-Attribute-From-Template-DrE-Advanced", "Schema-Attribute-From-Template-DrE-Basic", "Schema-Type-DrE-Advanced", "Schema-Type-DrE-Basic", "Schema-Type-From-Template-DrE-Advanced", "Schema-Type-From-Template-DrE-Basic", "Secrets-Store-Element-DrE-Advanced", "Secrets-Store-Element-DrE-Basic", "Security-Access-Control-DrE-Advanced", "Security-Access-Control-DrE-Basic", "Security-Finding-DrE-Advanced", "Security-Finding-DrE-Basic", "Security-Group-DrE-Advanced", "Security-Group-DrE-Basic", "Security-List-DrE-Advanced", "Security-List-DrE-Basic", "Security-Posture-Summary-DrE-Advanced", "Security-Posture-Summary-DrE-Basic", "Security-Role-DrE-Advanced", "Security-Role-DrE-Basic", "Service-Level-Objective-DrE-Advanced", "Service-Level-Objective-DrE-Basic", "Skill-DrE-Advanced", "Skill-DrE-Basic", "Skill-Set-DrE-Advanced", "Skill-Set-DrE-Basic", "Software-Archive-DrE-Advanced", "Software-Archive-DrE-Basic", "Solution-Blueprint-DrE-Advanced", "Solution-Blueprint-DrE-Basic", "Solution-Component-DrE-Advanced", "Solution-Component-DrE-Basic", "Solution-Role-DrE-Advanced", "Solution-Role-DrE-Basic", "Statement-of-Applicability-DrE-Advanced", "Statement-of-Applicability-DrE-Basic", "Study-Project-DrE-Advanced", "Study-Project-DrE-Basic", "Subject-Area-DrE-Advanced", "Subject-Area-DrE-Basic", "Subscription-Type-DrE-Advanced", "Subscription-Type-DrE-Basic", "Survey-Report-DrE-Advanced", "Survey-Report-DrE-Basic", "Task-DrE-Advanced", "Task-DrE-Basic", "Team-DrE-Advanced", "Team-DrE-Basic", "Team-Role-DrE-Advanced", "Team-Role-DrE-Basic", "Terms-and-Conditions-DrE-Advanced", "Terms-and-Conditions-DrE-Basic", "Threat-DrE-Advanced", "Threat-DrE-Basic", "ToDo-DrE-Advanced", "ToDo-DrE-Basic", "Type-Def-DrE-Advanced", "Type-Def-DrE-Basic", "UC-Catalog-Element-DrE-Advanced", "UC-Catalog-Element-DrE-Basic", "UC-Function-Element-DrE-Advanced", "UC-Function-Element-DrE-Basic", "UC-Schema-Element-DrE-Advanced", "UC-Schema-Element-DrE-Basic", "UC-Server-Element-DrE-Advanced", "UC-Server-Element-DrE-Basic", "UC-Table-Element-DrE-Advanced", "UC-Table-Element-DrE-Basic", "UC-Volume-Element-DrE-Advanced", "UC-Volume-Element-DrE-Basic", "Vulnerability-Finding-DrE-Advanced", "Vulnerability-Finding-DrE-Basic", "Work-Item-List-DrE-Advanced", "Work-Item-List-DrE-Basic", "Working-Set-DrE-Advanced", "Working-Set-DrE-Basic", "Analytic Demo - Element Count by Type", "Analytic Demo - Assets by Type Breakdown", "Analytic Demo - Ownership Coverage", "Analytic Demo - Business Value Signals", "Analytic Demo - Governance Coverage", "Analytic Demo - Certifications and Exceptions", "Analytic Demo - People and Community", "Analytic Demo - Feedback Summary", "Analytic Demo - Usage Context: Supply Chains & Blueprints", "Analytic Demo - Semantic Grounding", "Analytic Demo - AI Context Readiness", "Analytic Demo - AI-Ready Assets", "Analytic Demo - Catalog Growth Trend", "Analytic Demo - Term Definition Completeness", "Analytic Demo - Active Contributors", "Analytic Demo - Assets by Type Total (Composite)", "Analytic Demo - Count by Property", "Analytic Demo - Contextualised Coverage", "Analytic Demo - Karma Leaderboard", "Analytic Demo - Engagement Over Time", "Analytic Demo - Orphan Glossary Terms", "Analytic Demo - Stale Assets", "Analytic Demo - Metric Trend (Governance Coverage)", "Questions", "Report-Types", "Question-Specs", "DCAT Catalog", "DCAT Catalog (Turtle)"] + "order": ["Referenceable", "ToDo-DrE", "Meeting-DrE", "Review-DrE", "Default", "Comment-by-Element", "Element-By-Owner", "Actor-Profiles", "Actor-Profiles-Assigned-MD", "Profile-Team-Detail", "Actor-Roles", "Team-Members", "Team-Member-Role-Detail", "User-Identities", "Perspectives", "Skills", "My-User", "My-User-MD", "My-User-Contribution-Record-Detail", "My-User-Note-Logs-Detail", "My-User-Activities", "My-User-Blogs", "My-User-Journals", "My-User-Contact-Detail", "My-User-Roles-Detail", "My-User-Teams-Detail", "My-User-Projects-Detail", "My-User-Communities-Detail", "My-User-ToDos", "Org-Chart", "TypeDef", "Valid-Values", "Engine-Actions", "Asset-Graph", "Asset-Lineage-Hops", "Common-Mermaid", "Common-Mermaid-Prop-Value", "Tech-Type-Elements", "Search-Keywords", "Tech-Type-Details", "Tech-Type-Details-MD", "Catalog-Template-Detail", "Governance-Action-Processes-Detail", "Place-Holder-Property-Detail", "External-Reference-Detail", "Governance-Action-Steps-Detail", "Action-Targets-Detail", "Action-Request-Sources-Detail", "Catalog-Target", "Tech-Type-Processes", "Tech-Types", "Platforms", "OMAGServers", "IntegrationConnectors", "Journal-Entry-DrE", "Informal-Tags-DrE", "ExternalReference", "ExternalIdentifier", "RelatedMedia", "CitedDocument", "Projects", "Glossaries", "Glossary-Terms", "Help-Terms", "Collections", "Collection-MindMap", "BasicCollections", "Folders", "BusinessCapabilities", "Security-Findings", "Penetration-Test-Findings", "Security-Posture", "Statement-of-Applicability-Controls", "Statement-of-Applicability-Implementation-Summary", "Collection Members", "Solution-Blueprint-Mermaid", "Solution-Blueprint", "Registered-Services", "Severity-Definitions", "Asset-Types", "Digital-Product-Catalog", "Digital-Product-Catalog-MyE", "Digital-Products", "Digital-Products-MyE", "Digital-Products-Slim", "Agreements", "Data-Dictionaries", "Data-Specifications", "Data-Structures", "Data-Fields", "Data-Classes", "Data-Value-Spec", "Report-Specs", "Measurement-Specifications", "Dashboards", "External-References", "Governance Basics", "Governance Definitions", "Governance Def", "Governance-Controls", "Governance-Zones", "Governance-Process", "Governance-Zone-Overview-Charts", "Secrets-Collection-User-Profile-Charts", "Valid-Value-Def", "License-Type", "Decision", "Data-Value", "Literal-Data-Value", "Governance Policies", "Activity-Entry-DrE-Advanced", "Activity-Entry-DrE-Basic", "Agreement-DrE-Advanced", "Agreement-DrE-Basic", "Blog-Entry-DrE-Advanced", "Blog-Entry-DrE-Basic", "Business-Capability-DrE-Advanced", "Business-Capability-DrE-Basic", "Business-Imperative-DrE-Advanced", "Business-Imperative-DrE-Basic", "Campaign-DrE-Advanced", "Campaign-DrE-Basic", "Certification-Type-DrE-Advanced", "Certification-Type-DrE-Basic", "Cited-Document-DrE-Advanced", "Cited-Document-DrE-Basic", "Collection-DrE-Advanced", "Collection-DrE-Basic", "Collection-Folder-DrE-Advanced", "Collection-Folder-DrE-Basic", "Comment-DrE-Advanced", "Comment-DrE-Basic", "Concept-Bead-Attribute-DrE-Advanced", "Concept-Bead-Attribute-DrE-Basic", "Concept-Bead-DrE-Advanced", "Concept-Bead-DrE-Basic", "Concept-Bead-Relationship-DrE-Advanced", "Concept-Bead-Relationship-DrE-Basic", "Concept-Model-DrE-Advanced", "Concept-Model-DrE-Basic", "Context-Event-Collection-DrE-Advanced", "Context-Event-Collection-DrE-Basic", "CSV-Data-File-Element-DrE-Advanced", "CSV-Data-File-Element-DrE-Basic", "CSV-File-DrE-Advanced", "CSV-File-DrE-Basic", "Dashboard-DrE-Advanced", "Dashboard-DrE-Basic", "Dashboard-Sheet-DrE-Advanced", "Dashboard-Sheet-DrE-Basic", "Data-Class-DrE-Advanced", "Data-Class-DrE-Basic", "Data-Dictionary-DrE-Advanced", "Data-Dictionary-DrE-Basic", "Data-Field-DrE-Advanced", "Data-Field-DrE-Basic", "Data-Grain-DrE-Advanced", "Data-Grain-DrE-Basic", "Data-Lens-DrE-Advanced", "Data-Lens-DrE-Basic", "Data-Processing-Purpose-DrE-Advanced", "Data-Processing-Purpose-DrE-Basic", "Data-Sharing-Agreement-DrE-Advanced", "Data-Sharing-Agreement-DrE-Basic", "Data-Sharing-Hub-DrE-Advanced", "Data-Sharing-Hub-DrE-Basic", "Data-Sharing-Request-DrE-Advanced", "Data-Sharing-Request-DrE-Basic", "Data-Spec-DrE-Advanced", "Data-Spec-DrE-Basic", "Data-Structure-DrE-Advanced", "Data-Structure-DrE-Basic", "Data-Value-Specification-DrE-Advanced", "Data-Value-Specification-DrE-Basic", "Design-Pattern-DrE-Advanced", "Design-Pattern-DrE-Basic", "Digital-Product-Catalog-DrE-Advanced", "Digital-Product-Catalog-DrE-Basic", "Digital-Product-DrE-Advanced", "Digital-Product-DrE-Basic", "Digital-Subscription-DrE-Advanced", "Digital-Subscription-DrE-Basic", "Display-Data-Container-DrE-Advanced", "Display-Data-Container-DrE-Basic", "Display-Data-Field-DrE-Advanced", "Display-Data-Field-DrE-Basic", "Element-DrE-Advanced", "Element-DrE-Basic", "Embedded-Process-DrE-Advanced", "Embedded-Process-DrE-Basic", "Enum-Def-DrE-Advanced", "Enum-Def-DrE-Basic", "Event-Set-DrE-Advanced", "Event-Set-DrE-Basic", "Experiment-DrE-Advanced", "Experiment-DrE-Basic", "External-Data-Source-DrE-Advanced", "External-Data-Source-DrE-Basic", "External-Model-Source-DrE-Advanced", "External-Model-Source-DrE-Basic", "External-Reference-DrE-Advanced", "External-Reference-DrE-Basic", "External-Source-Code-DrE-Advanced", "External-Source-Code-DrE-Basic", "External-Standard-DrE-Advanced", "External-Standard-DrE-Basic", "Folder-Element-DrE-Advanced", "Folder-Element-DrE-Basic", "Folio-DrE-Advanced", "Folio-DrE-Basic", "Glossary-DrE-Advanced", "Glossary-DrE-Basic", "Glossary-Project-DrE-Advanced", "Glossary-Project-DrE-Basic", "Glossary-Term-DrE-Advanced", "Glossary-Term-DrE-Basic", "Governance-Action-Process-DrE-Advanced", "Governance-Action-Process-DrE-Basic", "Governance-Action-Process-Step-DrE-Advanced", "Governance-Action-Process-Step-DrE-Basic", "Governance-Action-Type-DrE-Advanced", "Governance-Action-Type-DrE-Basic", "Governance-Approach-DrE-Advanced", "Governance-Approach-DrE-Basic", "Governance-Control-DrE-Advanced", "Governance-Control-DrE-Basic", "Governance-Definition-DrE-Advanced", "Governance-Definition-DrE-Basic", "Governance-Driver-DrE-Advanced", "Governance-Driver-DrE-Basic", "Governance-Metric-DrE-Advanced", "Governance-Metric-DrE-Basic", "Governance-Obligation-DrE-Advanced", "Governance-Obligation-DrE-Basic", "Governance-Policy-DrE-Advanced", "Governance-Policy-DrE-Basic", "Governance-Principle-DrE-Advanced", "Governance-Principle-DrE-Basic", "Governance-Procedure-DrE-Advanced", "Governance-Procedure-DrE-Basic", "Governance-Project-DrE-Advanced", "Governance-Project-DrE-Basic", "Governance-Responsibility-DrE-Advanced", "Governance-Responsibility-DrE-Basic", "Governance-Role-DrE-Advanced", "Governance-Role-DrE-Basic", "Governance-Rule-DrE-Advanced", "Governance-Rule-DrE-Basic", "Governance-Strategy-DrE-Advanced", "Governance-Strategy-DrE-Basic", "Governance-Zone-DrE-Advanced", "Governance-Zone-DrE-Basic", "Home-Collection-DrE-Advanced", "Home-Collection-DrE-Basic", "Informal-Tag-DrE-Advanced", "Informal-Tag-DrE-Basic", "Information-Supply-Chain-DrE-Advanced", "Information-Supply-Chain-DrE-Basic", "Instance-DrE-Advanced", "Instance-DrE-Basic", "IT-Profile-Role-DrE-Advanced", "IT-Profile-Role-DrE-Basic", "IT-Subsystem-DrE-Advanced", "IT-Subsystem-DrE-Basic", "Journal-Entry-DrE-Advanced", "Journal-Entry-DrE-Basic", "Kafka-Server-Element-DrE-Advanced", "Kafka-Server-Element-DrE-Basic", "License-Type-DrE-Advanced", "License-Type-DrE-Basic", "Like-DrE-Advanced", "Like-DrE-Basic", "Measurement-Specification-DrE-Advanced", "Measurement-Specification-DrE-Basic", "Meeting-DrE-Advanced", "Meeting-DrE-Basic", "Methodology-DrE-Advanced", "Methodology-DrE-Basic", "Namespace-DrE-Advanced", "Namespace-DrE-Basic", "Naming-Standard-Rule-DrE-Advanced", "Naming-Standard-Rule-DrE-Basic", "Naming-Standard-Rule-Set-DrE-Advanced", "Naming-Standard-Rule-Set-DrE-Basic", "Note-DrE-Advanced", "Note-DrE-Basic", "Notification-Type-DrE-Advanced", "Notification-Type-DrE-Basic", "Organization-DrE-Advanced", "Organization-DrE-Basic", "Penetration-Test-Finding-DrE-Advanced", "Penetration-Test-Finding-DrE-Basic", "Person-DrE-Advanced", "Person-DrE-Basic", "Person-Role-DrE-Advanced", "Person-Role-DrE-Basic", "Personal-Project-DrE-Advanced", "Personal-Project-DrE-Basic", "Perspective-DrE-Advanced", "Perspective-DrE-Basic", "Postgres-Database-Element-DrE-Advanced", "Postgres-Database-Element-DrE-Basic", "Postgres-Server-Element-DrE-Advanced", "Postgres-Server-Element-DrE-Basic", "Project-DrE-Advanced", "Project-DrE-Basic", "Question-DrE-Advanced", "Question-DrE-Basic", "Question-Spec-DrE-Advanced", "Question-Spec-DrE-Basic", "Rating-DrE-Advanced", "Rating-DrE-Basic", "Recent-Access-DrE-Advanced", "Recent-Access-DrE-Basic", "Reference-Data-Set-DrE-Advanced", "Reference-Data-Set-DrE-Basic", "Reference-Data-Value-DrE-Advanced", "Reference-Data-Value-DrE-Basic", "Reference-List-DrE-Advanced", "Reference-List-DrE-Basic", "Regulation-Article-DrE-Advanced", "Regulation-Article-DrE-Basic", "Regulation-DrE-Advanced", "Regulation-DrE-Basic", "Related-Media-DrE-Advanced", "Related-Media-DrE-Basic", "Report-DrE-Advanced", "Report-DrE-Basic", "Report-Spec-DrE-Advanced", "Report-Spec-DrE-Basic", "Report-Type-DrE-Advanced", "Report-Type-DrE-Basic", "Results-Set-DrE-Advanced", "Results-Set-DrE-Basic", "Review-DrE-Advanced", "Review-DrE-Basic", "Risk-DrE-Advanced", "Risk-DrE-Basic", "Root-Collection-DrE-Advanced", "Root-Collection-DrE-Basic", "Saved-Query-DrE-Advanced", "Saved-Query-DrE-Basic", "Schema-Attribute-DrE-Advanced", "Schema-Attribute-DrE-Basic", "Schema-Attribute-From-Template-DrE-Advanced", "Schema-Attribute-From-Template-DrE-Basic", "Schema-Type-DrE-Advanced", "Schema-Type-DrE-Basic", "Schema-Type-From-Template-DrE-Advanced", "Schema-Type-From-Template-DrE-Basic", "Secrets-Store-Element-DrE-Advanced", "Secrets-Store-Element-DrE-Basic", "Security-Access-Control-DrE-Advanced", "Security-Access-Control-DrE-Basic", "Security-Finding-DrE-Advanced", "Security-Finding-DrE-Basic", "Security-Group-DrE-Advanced", "Security-Group-DrE-Basic", "Security-List-DrE-Advanced", "Security-List-DrE-Basic", "Security-Posture-Summary-DrE-Advanced", "Security-Posture-Summary-DrE-Basic", "Security-Role-DrE-Advanced", "Security-Role-DrE-Basic", "Service-Level-Objective-DrE-Advanced", "Service-Level-Objective-DrE-Basic", "Skill-DrE-Advanced", "Skill-DrE-Basic", "Skill-Set-DrE-Advanced", "Skill-Set-DrE-Basic", "Software-Archive-DrE-Advanced", "Software-Archive-DrE-Basic", "Solution-Blueprint-DrE-Advanced", "Solution-Blueprint-DrE-Basic", "Solution-Component-DrE-Advanced", "Solution-Component-DrE-Basic", "Solution-Role-DrE-Advanced", "Solution-Role-DrE-Basic", "Statement-of-Applicability-DrE-Advanced", "Statement-of-Applicability-DrE-Basic", "Study-Project-DrE-Advanced", "Study-Project-DrE-Basic", "Subject-Area-DrE-Advanced", "Subject-Area-DrE-Basic", "Subscription-Type-DrE-Advanced", "Subscription-Type-DrE-Basic", "Survey-Report-DrE-Advanced", "Survey-Report-DrE-Basic", "Task-DrE-Advanced", "Task-DrE-Basic", "Team-DrE-Advanced", "Team-DrE-Basic", "Team-Role-DrE-Advanced", "Team-Role-DrE-Basic", "Terms-and-Conditions-DrE-Advanced", "Terms-and-Conditions-DrE-Basic", "Threat-DrE-Advanced", "Threat-DrE-Basic", "ToDo-DrE-Advanced", "ToDo-DrE-Basic", "Type-Def-DrE-Advanced", "Type-Def-DrE-Basic", "UC-Catalog-Element-DrE-Advanced", "UC-Catalog-Element-DrE-Basic", "UC-Function-Element-DrE-Advanced", "UC-Function-Element-DrE-Basic", "UC-Schema-Element-DrE-Advanced", "UC-Schema-Element-DrE-Basic", "UC-Server-Element-DrE-Advanced", "UC-Server-Element-DrE-Basic", "UC-Table-Element-DrE-Advanced", "UC-Table-Element-DrE-Basic", "UC-Volume-Element-DrE-Advanced", "UC-Volume-Element-DrE-Basic", "Vulnerability-Finding-DrE-Advanced", "Vulnerability-Finding-DrE-Basic", "Work-Item-List-DrE-Advanced", "Work-Item-List-DrE-Basic", "Working-Set-DrE-Advanced", "Working-Set-DrE-Basic", "Analytic Demo - Element Count by Type", "Analytic Demo - Assets by Type Breakdown", "Analytic Demo - Ownership Coverage", "Analytic Demo - Business Value Signals", "Analytic Demo - Governance Coverage", "Analytic Demo - Certifications and Exceptions", "Analytic Demo - People and Community", "Analytic Demo - Feedback Summary", "Analytic Demo - Usage Context: Supply Chains & Blueprints", "Analytic Demo - Semantic Grounding", "Analytic Demo - AI Context Readiness", "Analytic Demo - AI-Ready Assets", "Analytic Demo - Catalog Growth Trend", "Analytic Demo - Term Definition Completeness", "Analytic Demo - Active Contributors", "Analytic Demo - Assets by Type Total (Composite)", "Analytic Demo - Count by Property", "Analytic Demo - Contextualised Coverage", "Analytic Demo - Karma Leaderboard", "Analytic Demo - Engagement Over Time", "Analytic Demo - Orphan Glossary Terms", "Analytic Demo - Stale Assets", "Analytic Demo - Metric Trend (Governance Coverage)", "Questions", "Report-Types", "Question-Specs", "DCAT Catalog", "DCAT Catalog (Turtle)"] } diff --git a/tests/micro-tests/test_egeria_6_4_report_specs.py b/tests/micro-tests/test_egeria_6_4_report_specs.py new file mode 100644 index 000000000..3b469d80f --- /dev/null +++ b/tests/micro-tests/test_egeria_6_4_report_specs.py @@ -0,0 +1,137 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +"""Egeria 6.4 (odpi/egeria#9463) A4: report specs for Decision, DataValue and LiteralDataValue. + +The specs are hand-maintained FormatSets in ``base_report_formats.base_report_specs``, the same +place and shape as ``License-Type``. These tests check that: + +- each spec loads and resolves through ``select_report_spec``, the lookup ``License-Type`` uses, by + its type name: the dashed label (``Data-Value``), the Egeria type name (``DataValue``) and the + Dr.Egeria ``-DrE`` fallback name that ``render_result_markdown`` asks for; +- every column names a real field: a key of the type's Properties class in PROPERTIES_CLASS_FIELDS + (A0's generated table), a relationship list in RELATIONSHIP_FIELDS, or the header GUID. The key is + mapped the way the formatter maps it (``to_camel_case``), so a typo fails here, not as a blank + column in Dr.Egeria or the Portal; +- the brief's columns and relationship lists are all there. +""" + +import pytest + +from md_processing.md_processing_utils.properties_class_fields import PROPERTIES_CLASS_FIELDS +from pyegeria.models import to_camel_case +from pyegeria.view.base_report_formats import base_report_specs, select_report_spec +from pyegeria.view.egeria_relationship_fields import RELATIONSHIP_FIELDS + +# label -> (Properties class, Egeria type name, Dr.Egeria fallback name) +SPECS = { + "Decision": ("DecisionProperties", "Decision", "Decision-DrE"), + "Data-Value": ("DataValueProperties", "DataValue", "Data-Value-DrE"), + "Literal-Data-Value": ("LiteralDataValueProperties", "LiteralDataValue", "Literal-Data-Value-DrE"), +} + +#: Keys that come from the element header rather than the Properties class. +HEADER_KEYS = {"guid"} + +_DATA_VALUE_PROPS = {"displayName", "dataType", "dataFormat", "usage", "length"} +_DATA_VALUE_LISTS = {"dataValueUses", "dataValueSources", "embeddedDataValues"} + +EXPECTED_PROPERTIES = { + "Decision": {"displayName", "qualifiedName", "disposition", "importance", "contentStatus", "summary", + "scope", "nextReviewTime", "expiryTime"}, + "Data-Value": _DATA_VALUE_PROPS | {"qualifiedName"}, + "Literal-Data-Value": _DATA_VALUE_PROPS | {"qualifiedName", "dataValue", "dataValueList", "dataValueMap"}, +} +EXPECTED_LISTS = { + "Decision": {"decisionOutcomes", "inputsToDecision"}, + "Data-Value": _DATA_VALUE_LISTS, + "Literal-Data-Value": _DATA_VALUE_LISTS, +} + + +def _columns(label): + """(snake key, camelCase key, column) for every column in every format of the spec.""" + out = [] + for fmt in base_report_specs[label].formats: + for col in fmt.attributes: + out.append((col.key, to_camel_case(col.key), col)) + return out + + +@pytest.mark.parametrize("label", sorted(SPECS)) +def test_spec_loads(label): + assert label in base_report_specs, f"report spec {label!r} missing from base_report_specs" + fs = base_report_specs[label] + assert fs.target_type, label + assert fs.formats, label + assert fs.action is not None, f"{label}: no action, so a Portal table has nothing to run" + + +@pytest.mark.parametrize("label", sorted(SPECS)) +def test_found_by_type_name(label): + """The same lookup License-Type goes through: select_report_spec(name, output_type).""" + _cls, type_name, dre_name = SPECS[label] + assert select_report_spec("License-Type", "DICT") is not None # the precedent still resolves + for name in (label, type_name, dre_name): + for output_type in ("DICT", "MD", "TABLE", "LIST", "REPORT"): + got = select_report_spec(name, output_type) + assert got is not None, f"select_report_spec({name!r}, {output_type!r}) found nothing" + # The registry names an alias hit by the alias, so match on the spec itself. + assert got["heading"] == base_report_specs[label].heading, (name, output_type, got["heading"]) + assert got["target_type"] == base_report_specs[label].target_type, (name, output_type) + assert got["formats"]["attributes"], (name, output_type) + + +@pytest.mark.parametrize("label", sorted(SPECS)) +def test_every_column_is_a_real_field(label): + cls = SPECS[label][0] + assert cls in PROPERTIES_CLASS_FIELDS, f"{cls} not in PROPERTIES_CLASS_FIELDS (A0 table)" + _kind, fields = PROPERTIES_CLASS_FIELDS[cls] + unknown = [snake for snake, camel, _c in _columns(label) + if camel not in fields and camel not in RELATIONSHIP_FIELDS and snake not in HEADER_KEYS] + assert not unknown, f"{label}: columns name no {cls} field or relationship list: {unknown}" + + +@pytest.mark.parametrize("label", sorted(SPECS)) +def test_brief_columns_present(label): + cls = SPECS[label][0] + fields = set(PROPERTIES_CLASS_FIELDS[cls][1]) + have = {camel for _s, camel, _c in _columns(label)} + assert "guid" in {s for s, _c, _x in _columns(label)}, f"{label}: no GUID column" + missing = EXPECTED_PROPERTIES[label] - have + assert not missing, f"{label}: missing columns {sorted(missing)}" + assert EXPECTED_PROPERTIES[label] <= fields # the brief's names are real for this class + + +@pytest.mark.parametrize("label", sorted(SPECS)) +def test_relationship_lists_present(label): + cols = {camel: col for _s, camel, col in _columns(label)} + for rel_list in sorted(EXPECTED_LISTS[label]): + assert rel_list in RELATIONSHIP_FIELDS, f"{rel_list} not in RELATIONSHIP_FIELDS (A0 table)" + assert rel_list in cols, f"{label}: no column for relationship list {rel_list}" + # A relationship list renders as the related elements' names, as Projects' assigned_actors does. + assert cols[rel_list].label == "display_name", (label, rel_list) + + +def test_action_uses_existing_finder_for_the_type(): + """The finder exists today, ahead of A1/A2's typed finders, and is filtered to the 6.4 type.""" + from pyegeria.omvs.metadata_expert import MetadataExpert + + for label, (_cls, type_name, _dre) in SPECS.items(): + action = base_report_specs[label].action + cls_name, method = action.function.split(".") + assert cls_name == "MetadataExpert" and hasattr(MetadataExpert, method), action.function + assert action.spec_params == {"metadata_element_type": type_name}, label + + +@pytest.mark.parametrize("label", sorted(SPECS)) +def test_strict_authoring_validation_checks_and_accepts_the_spec(label): + """target_type is the Egeria type name, so the authoring validator finds its Properties class and checks + every column strictly (a spaced name such as 'Data Value' matches no class and skips the check).""" + from pyegeria.authoring.models import SpecDraft + from pyegeria.authoring.validate import validate + + _cls, type_name, _dre = SPECS[label] + assert base_report_specs[label].target_type == type_name + result = validate(SpecDraft(label=label, format_set=base_report_specs[label])) + assert "column attributes" in result.checked, (label, result.not_checked) + assert not result.errors, (label, result.errors) From 90a7000f94b406df100b786433cfc2b93a78aaf2 Mon Sep 17 00:00:00 2001 From: Dan Wolfson Date: Sat, 21 Nov 2026 15:47:30 -0600 Subject: [PATCH 10/19] feat(6.4): A6 - one shared body checker in pyegeria/core for every 6.4 wrapper pyegeria/core/egeria_6_4_bodies.py holds the URL builder, the body requirement, the Properties-class check (a set of accepted classes) and the unread-key refusal (generated PROPERTIES_CLASS_FIELDS, imported lazily here only). Writes send the caller's body exactly as given: no model re-dump. - governance_officer: drop _require_properties_class, _require_body and _e64_url; writes go through checked_body (no added makeAnchor or template defaults). Unread keys are now refused. - data_engineer: drop _e64_url, _e64_body, _e64_link_body, _e64_detach_body; unread keys are now refused. - devops_pipeline: _checked_6_4_body moves to core, without its final model_validate/model_dump_json re-dump; project_manager and schema_maker import from core. SupportedVariableType position must be an int. - A1 write tests move to exact equality with the .http sample; reads keep sample plus Egeria's defaults. - New core tests for rules 1-5. Signed-off-by: Dan Wolfson --- pyegeria/core/egeria_6_4_bodies.py | 171 +++++++++++ pyegeria/omvs/data_engineer.py | 131 +++----- pyegeria/omvs/devops_pipeline.py | 87 +----- pyegeria/omvs/governance_officer.py | 110 +++---- pyegeria/omvs/project_manager.py | 26 +- pyegeria/omvs/schema_maker.py | 28 +- tests/micro-tests/test_egeria_6_4_bodies.py | 280 ++++++++++++++++++ .../test_egeria_6_4_governance_officer.py | 23 +- 8 files changed, 574 insertions(+), 282 deletions(-) create mode 100644 pyegeria/core/egeria_6_4_bodies.py create mode 100644 tests/micro-tests/test_egeria_6_4_bodies.py diff --git a/pyegeria/core/egeria_6_4_bodies.py b/pyegeria/core/egeria_6_4_bodies.py new file mode 100644 index 000000000..3d5879bd9 --- /dev/null +++ b/pyegeria/core/egeria_6_4_bodies.py @@ -0,0 +1,171 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +"""The one request-body checker for the Egeria 6.4 wrappers (odpi/egeria#9463). + +Every 6.4 wrapper (GovernanceOfficer, DataEngineer, ProjectManager, SchemaMaker, DevopsPipeline) builds its +URL and checks its body here, so the five modules follow one rule: + +1. **Writes** (create, update, delete, link, detach, set, clear) send the caller's body exactly as given, + after the checks. A dict is never re-dumped through a pyegeria model: the models are ``extra='ignore'`` + (models.py), so a dump would drop keys the model lacks and reformat timestamps. A model the caller built + is sent as its own JSON dump (by alias, without None). With no body, attach and detach send none; a + request that needs a body (create, update) is refused with words. +2. **Reads** are not checked here; they use the shared ServerClient helpers, whose added defaults equal + Egeria's. +3. **The class check** takes a set of accepted Properties classes (for example DataValueProperties or + LiteralDataValueProperties) and refuses, before sending, a properties object of any other class or of + none, naming the accepted classes. +4. **Unread keys are refused**, naming the class and the keys it reads, using the generated + PROPERTIES_CLASS_FIELDS (public setters through the whole superclass chain, as Jackson binds). Egeria + would ignore them silently. A class that is not in the table at all is only warned about. +5. The URL builder joins a path from pyegeria.core.egeria_6_4_names to the view server's open-metadata root. + +The generated table lives in md_processing (the same wheel); it is imported lazily, here and only here. +""" + +from __future__ import annotations + +import json +from collections.abc import Iterable +from typing import Any, Optional + +from loguru import logger +from pydantic import BaseModel, ValidationError + +from pyegeria.core._exceptions import PyegeriaInvalidParameterException + + +def e64_url(platform_url: str, view_server: str, path: str, **guids: str) -> str: + """The full URL of a 6.4 request whose path (from egeria_6_4_names) is relative to open-metadata/.""" + return f"{platform_url}/servers/{view_server}/api/open-metadata/{path.format(**guids)}" + + +def refuse(method: str, reason: str) -> None: + """Raise the local refusal every check uses: nothing reaches Egeria.""" + raise PyegeriaInvalidParameterException(None, context={"caller_method": method}, + additional_info={"reason": reason}) + + +def properties_class_fields() -> dict[str, tuple[str, tuple[str, ...]]]: + """The generated PROPERTIES_CLASS_FIELDS table (class -> (kind, keys it reads)).""" + from md_processing.md_processing_utils.properties_class_fields import PROPERTIES_CLASS_FIELDS + return PROPERTIES_CLASS_FIELDS + + +def _accepted(classes: str | Iterable[str]) -> tuple[str, ...]: + return (classes,) if isinstance(classes, str) else tuple(classes) + + +def _named(classes: tuple[str, ...]) -> str: + return " or ".join(classes) + + +def require_body(body: Any, method: str) -> None: + """Refuse a request that needs a body (create, update) sent with none.""" + if body is None: + refuse(method, f"{method} needs a request body: Egeria 6.4 refuses this request without one, and an " + f"update with no body changes nothing.") + + +def check_properties_class(properties: Any, accepted: str | Iterable[str], method: str) -> str: + """Refuse a properties object whose class is not one of `accepted`; return the class it names.""" + accepted = _accepted(accepted) + if not isinstance(properties, dict): + refuse(method, f"{method}: properties must be an object of class {_named(accepted)}, " + f"not a {type(properties).__name__}.") + sent = properties.get("class") + if sent not in accepted: + named = f"names class {sent}" if sent else "names no class" + refuse(method, f"{method}: the properties object {named}; this request accepts {_named(accepted)}. " + f"Egeria rejects a properties object of the wrong class, and a parent class would lose " + f"the subclass's fields.") + return sent + + +def check_unread_keys(properties: dict, properties_class: str, method: str) -> None: + """Refuse property keys `properties_class` does not read (Egeria would drop them silently).""" + known = properties_class_fields().get(properties_class) + if known is None: + logger.warning(f"{method}: {properties_class} is not in PROPERTIES_CLASS_FIELDS, so its keys are not " + f"checked; regenerate the table (scripts/gen_properties_class_fields.py).") + return + reads = known[1] + unread = sorted(set(properties) - {"class"} - set(reads)) + if unread: + refuse(method, f"{method}: {properties_class} does not read {', '.join(unread)}; Egeria would drop " + f"{'it' if len(unread) == 1 else 'them'} silently. {properties_class} reads: " + f"{', '.join(reads)}.") + + +def _request_model(request_class: str): + import pyegeria.models as models + return getattr(models, request_class, None) + + +def checked_body(body: Optional[dict | BaseModel], method: str, *, request_class: Optional[str] = None, + properties_classes: Optional[str | Iterable[str]] = None, required: bool = False, + default_body: Optional[dict] = None, int_keys: Iterable[str] = ()) -> Optional[str]: + """Check a 6.4 write body locally and return the JSON to send, or None to send no body. + + Parameters + ---------- + body : dict | BaseModel | None + The caller's body. A dict is sent exactly as given; a model is sent as its own dump. + method : str + The wrapper's name, used in every refusal. + request_class : str, optional + The request-body class the endpoint takes (for example NewRelationshipRequestBody). A body naming + another class is refused. A body naming no class is given this one: the only key ever added, since + Egeria cannot read a body without it. The body is also validated against that pyegeria model (the + result is discarded, never sent). + properties_classes : str | iterable of str, optional + The Properties classes accepted. When given and the body has properties, they must name one of them + and carry only keys that class reads. + required : bool, default False + Refuse a missing body (create and update). + default_body : dict, optional + Sent when no body is given (delete sends ``{"class": "DeleteElementRequestBody", "cascadedDelete": ...}``). + int_keys : iterable of str + Property keys that must be an int when present (``position``: 0 means unset). + """ + if body is None: + if required: + require_body(body, method) + if default_body is None: + return None + body = default_body + + if isinstance(body, BaseModel): + data = body.model_dump(mode="json", by_alias=True, exclude_none=True) + elif isinstance(body, dict): + data = body + else: + refuse(method, f"{method} takes a dict or a {request_class or 'request-body model'}, " + f"not a {type(body).__name__}.") + + if request_class: + sent_class = data.get("class") + if sent_class is None: + data = {"class": request_class, **data} + elif sent_class != request_class: + refuse(method, f"{method} sends a {request_class}; the body is a {sent_class}.") + + props = data.get("properties") + if properties_classes and props is not None: + props_class = check_properties_class(props, properties_classes, method) + check_unread_keys(props, props_class, method) + for key in int_keys: + value = props.get(key) + if value is not None and type(value) is not int: + refuse(method, f"{method}: {key} must be an int (0 means unset), not " + f"{type(value).__name__} {value!r}.") + + model = _request_model(request_class) if request_class else None + if model is not None: + try: + model.model_validate(data) + except ValidationError as error: + refuse(method, f"{method}: the body is not a valid {request_class}: " + f"{error.errors(include_url=False)}") + + return json.dumps(data) diff --git a/pyegeria/omvs/data_engineer.py b/pyegeria/omvs/data_engineer.py index a0ecbf883..ea75e4695 100644 --- a/pyegeria/omvs/data_engineer.py +++ b/pyegeria/omvs/data_engineer.py @@ -19,8 +19,8 @@ from pyegeria.models import (NewElementRequestBody, TemplateRequestBody, UpdateElementRequestBody, DeleteElementRequestBody, FilterRequestBody, GetRequestBody, NewRelationshipRequestBody, DeleteRelationshipRequestBody) -from pyegeria.core._exceptions import PyegeriaInvalidParameterException from pyegeria.core._globals import NO_GUID_RETURNED +from pyegeria.core.egeria_6_4_bodies import checked_body, e64_url from pyegeria.core.egeria_6_4_names import ( DATA_VALUE, DATA_VALUE_PROPERTIES, LITERAL_DATA_VALUE_PROPERTIES, DATA_VALUES_CREATE, DATA_VALUES_FROM_TEMPLATE, DATA_VALUES_UPDATE, DATA_VALUES_DELETE, DATA_VALUES_BY_NAME, @@ -32,8 +32,6 @@ from pyegeria.view.output_formatter import _generate_default_output from typing import Any, Optional from pyegeria.core.async_runner import run_sync -import json -from pydantic import BaseModel, TypeAdapter # The properties classes a data-value request accepts (Egeria 6.4): a DataValue or its LiteralDataValue subtype. DATA_VALUE_PROPERTIES_CLASSES = (DATA_VALUE_PROPERTIES, LITERAL_DATA_VALUE_PROPERTIES) @@ -387,45 +385,13 @@ async def _async_get_tabular_data_set(self, guid: str = None, start_from_row: in # Every request below needs Egeria 6.4 or later: on an earlier Egeria the endpoints do not exist (404). # The paths come from pyegeria.core.egeria_6_4_names, the one place the 6.4 names are kept. # - # The write requests send the caller's body as given (a dict is checked against its request-body model and - # then sent unchanged; a model is sent as its JSON dump), so a body copied from Egeria's `.http` samples - # reaches Egeria exactly. A DataValue's properties may be DataValueProperties or its subtype - # LiteralDataValueProperties (dataValue, dataValueList, dataValueMap); any other properties class is - # refused here, before Egeria refuses it. + # The write requests send the caller's body as given, after pyegeria.core.egeria_6_4_bodies.checked_body's + # checks (a dict is sent unchanged; a model is sent as its JSON dump), so a body copied from Egeria's `.http` + # samples reaches Egeria exactly. A DataValue's properties may be DataValueProperties or its subtype + # LiteralDataValueProperties (dataValue, dataValueList, dataValueMap); any other properties class, and any + # property key the class does not read, is refused here, before Egeria refuses or silently drops it. # ========================================================================================================= - def _e64_url(self, path: str, **guids: str) -> str: - """The full URL of a 6.4 request whose path (from egeria_6_4_names) is relative to open-metadata/.""" - return f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/{path.format(**guids)}" - - def _e64_body(self, body: Optional[dict | BaseModel], adapter: TypeAdapter, method: str, - prop_classes: Optional[tuple[str, ...]] = None, required: bool = True) -> Optional[str]: - """Check a request body locally and return the JSON to send (None when no body is given and none is - required). Refuses, with words, a missing body that is required and a properties class not in - `prop_classes` (when given). A dict is validated by `adapter` but sent exactly as given.""" - if body is None: - if required: - raise PyegeriaInvalidParameterException(additional_info={ - "reason": f"{method} needs a request body: Egeria 6.4 refuses this request without one."}) - return None - if isinstance(body, BaseModel): - payload = json.loads(body.model_dump_json(exclude_none=True, by_alias=True)) - elif isinstance(body, dict): - self._validate_body(adapter.validate_python, body) - payload = body - else: - raise PyegeriaInvalidParameterException(additional_info={ - "reason": f"{method} takes a dict or a request-body model, not {type(body).__name__}."}) - if prop_classes: - props = payload.get("properties") - got = props.get("class") if isinstance(props, dict) else None - if got not in prop_classes: - expected = " or ".join(prop_classes) - raise PyegeriaInvalidParameterException(additional_info={ - "reason": f"{method}: properties.class must be {expected}, not {got or 'missing'}. " - f"Egeria rejects a properties object of the wrong class."}) - return json.dumps(payload) - @dynamic_catch async def _async_create_data_value(self, body: dict | NewElementRequestBody) -> str: """Create a data value (a DataValue, or a LiteralDataValue that holds the value itself). Async version. @@ -478,9 +444,9 @@ async def _async_create_data_value(self, body: dict | NewElementRequestBody) -> For a LiteralDataValue, use "class": "LiteralDataValueProperties" and add any of "dataValue": "42", "dataValueList": ["a", "b"], "dataValueMap": {"low": "1", "high": "9"}. """ - json_body = self._e64_body(body, self._new_element_request_adapter, "create_data_value", - DATA_VALUE_PROPERTIES_CLASSES) - response = await self._async_make_request("POST", self._e64_url(DATA_VALUES_CREATE), json_body) + json_body = checked_body(body, "create_data_value", request_class="NewElementRequestBody", + properties_classes=DATA_VALUE_PROPERTIES_CLASSES, required=True) + response = await self._async_make_request("POST", e64_url(self.platform_url, self.view_server, DATA_VALUES_CREATE), json_body) return response.json().get("guid", NO_GUID_RETURNED) @dynamic_catch @@ -541,8 +507,9 @@ async def _async_create_data_value_from_template(self, body: dict | TemplateRequ "placeholderPropertyValues": {"placeholder1" : "propertyValue1"} } """ - json_body = self._e64_body(body, self._template_request_adapter, "create_data_value_from_template") - response = await self._async_make_request("POST", self._e64_url(DATA_VALUES_FROM_TEMPLATE), json_body) + json_body = checked_body(body, "create_data_value_from_template", request_class="TemplateRequestBody", + required=True) + response = await self._async_make_request("POST", e64_url(self.platform_url, self.view_server, DATA_VALUES_FROM_TEMPLATE), json_body) return response.json().get("guid", NO_GUID_RETURNED) @dynamic_catch @@ -600,9 +567,9 @@ async def _async_update_data_value(self, data_value_guid: str, body: dict | Upda } } """ - json_body = self._e64_body(body, self._update_element_request_adapter, "update_data_value", - DATA_VALUE_PROPERTIES_CLASSES) - await self._async_make_request("POST", self._e64_url(DATA_VALUES_UPDATE, dataValueGUID=data_value_guid), + json_body = checked_body(body, "update_data_value", request_class="UpdateElementRequestBody", + properties_classes=DATA_VALUE_PROPERTIES_CLASSES, required=True) + await self._async_make_request("POST", e64_url(self.platform_url, self.view_server, DATA_VALUES_UPDATE, dataValueGUID=data_value_guid), json_body) @dynamic_catch @@ -648,8 +615,8 @@ async def _async_delete_data_value(self, data_value_guid: str, """ if body is None: body = {"class": "DeleteElementRequestBody", "cascadedDelete": cascade} - json_body = self._e64_body(body, self._delete_element_request_adapter, "delete_data_value") - await self._async_make_request("POST", self._e64_url(DATA_VALUES_DELETE, dataValueGUID=data_value_guid), + json_body = checked_body(body, "delete_data_value", request_class="DeleteElementRequestBody") + await self._async_make_request("POST", e64_url(self.platform_url, self.view_server, DATA_VALUES_DELETE, dataValueGUID=data_value_guid), json_body) @dynamic_catch @@ -698,7 +665,7 @@ async def _async_get_data_values_by_name(self, filter_string: Optional[str] = No {"class" : "FilterRequestBody", "filter" : "Add name here", "startFrom": 0, "pageSize": 10} """ - return await self._async_get_name_request(self._e64_url(DATA_VALUES_BY_NAME), _type=DATA_VALUE, + return await self._async_get_name_request(e64_url(self.platform_url, self.view_server, DATA_VALUES_BY_NAME), _type=DATA_VALUE, _gen_output=self._generate_referenceable_output, filter_string=filter_string, body=body, start_from=start_from, page_size=page_size, output_format=output_format, @@ -750,7 +717,7 @@ async def _async_get_data_value_by_guid(self, data_value_guid: str, "effectiveTime" : "2026-11-21T10:00:00Z", "forLineage" : false, "forDuplicateProcessing" : false} """ return await self._async_get_guid_request( - self._e64_url(DATA_VALUES_RETRIEVE, dataValueGUID=data_value_guid), _type=DATA_VALUE, + e64_url(self.platform_url, self.view_server, DATA_VALUES_RETRIEVE, dataValueGUID=data_value_guid), _type=DATA_VALUE, _gen_output=self._generate_referenceable_output, body=body, output_format=output_format, report_spec=report_spec, **kwargs) @@ -807,7 +774,7 @@ async def _async_find_data_values(self, search_string: str = "*", {"class" : "SearchStringRequestBody", "searchString" : "Add value here", "startsWith" : false, "endsWith" : false, "ignoreCase" : true, "startFrom" : 0, "pageSize": 10} """ - return await self._async_find_request(self._e64_url(DATA_VALUES_BY_SEARCH_STRING), _type=DATA_VALUE, + return await self._async_find_request(e64_url(self.platform_url, self.view_server, DATA_VALUES_BY_SEARCH_STRING), _type=DATA_VALUE, _gen_output=self._generate_referenceable_output, search_string=search_string, body=body, starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, @@ -836,35 +803,6 @@ def find_data_values(self, search_string: str = "*", body: Optional[dict | Searc # 0 means unset, and it is passed through unchanged. # ========================================================================================================= - def _e64_link_body(self, body: Optional[dict | NewRelationshipRequestBody], method: str, prop_class: str, - positioned: bool = False) -> Optional[str]: - """The JSON for a 6.4 attach request, or None to send no body. Refuses, with words, a properties - class other than `prop_class` and a `position` that is not an int.""" - if body is None: - return None - json_body = self._e64_body(body, self._new_relationship_request_adapter, method) - props = json.loads(json_body).get("properties") - if props is None: - return json_body - got = props.get("class") if isinstance(props, dict) else None - if got != prop_class: - raise PyegeriaInvalidParameterException(additional_info={ - "reason": f"{method}: properties.class must be {prop_class}, not {got or 'missing'}. " - f"Egeria rejects a properties object of the wrong class."}) - if positioned: - position = props.get("position") - if position is not None and (type(position) is not int): - raise PyegeriaInvalidParameterException(additional_info={ - "reason": f"{method}: position must be an int (0 means unset), not " - f"{type(position).__name__} {position!r}."}) - return json_body - - def _e64_detach_body(self, body: Optional[dict | DeleteRelationshipRequestBody], method: str) -> Optional[str]: - """The JSON for a 6.4 detach request, or None to send no body.""" - if body is None: - return None - return self._e64_body(body, self._delete_relationship_request_adapter, method) - @dynamic_catch async def _async_link_data_value_source(self, data_value_guid: str, asset_guid: str, body: Optional[dict | NewRelationshipRequestBody] = None) -> str: @@ -908,8 +846,9 @@ async def _async_link_data_value_source(self, data_value_guid: str, asset_guid: } } """ - json_body = self._e64_link_body(body, "link_data_value_source", DATA_VALUE_SOURCE_PROPERTIES) - url = self._e64_url(DATA_VALUE_SOURCES_ATTACH, dataValueGUID=data_value_guid, assetGUID=asset_guid) + json_body = checked_body(body, "link_data_value_source", request_class="NewRelationshipRequestBody", + properties_classes={DATA_VALUE_SOURCE_PROPERTIES}) + url = e64_url(self.platform_url, self.view_server, DATA_VALUE_SOURCES_ATTACH, dataValueGUID=data_value_guid, assetGUID=asset_guid) response = await self._async_make_request("POST", url, json_body) return response.json().get("guid", NO_GUID_RETURNED) @@ -947,8 +886,8 @@ async def _async_detach_data_value_source(self, data_value_guid: str, asset_guid ------- None """ - url = self._e64_url(DATA_VALUE_SOURCES_DETACH, dataValueGUID=data_value_guid, assetGUID=asset_guid) - await self._async_make_request("POST", url, self._e64_detach_body(body, "detach_data_value_source")) + url = e64_url(self.platform_url, self.view_server, DATA_VALUE_SOURCES_DETACH, dataValueGUID=data_value_guid, assetGUID=asset_guid) + await self._async_make_request("POST", url, checked_body(body, "detach_data_value_source", request_class="DeleteRelationshipRequestBody")) @dynamic_catch def detach_data_value_source(self, data_value_guid: str, asset_guid: str, @@ -1005,9 +944,9 @@ async def _async_link_processing_variable(self, element_guid: str, data_value_gu } } """ - json_body = self._e64_link_body(body, "link_processing_variable", PROCESSING_VARIABLE_PROPERTIES, - positioned=True) - url = self._e64_url(PROCESSING_VARIABLES_ATTACH, elementGUID=element_guid, dataValueGUID=data_value_guid) + json_body = checked_body(body, "link_processing_variable", request_class="NewRelationshipRequestBody", + properties_classes={PROCESSING_VARIABLE_PROPERTIES}, int_keys=("position",)) + url = e64_url(self.platform_url, self.view_server, PROCESSING_VARIABLES_ATTACH, elementGUID=element_guid, dataValueGUID=data_value_guid) response = await self._async_make_request("POST", url, json_body) return response.json().get("guid", NO_GUID_RETURNED) @@ -1047,8 +986,8 @@ async def _async_detach_processing_variable(self, element_guid: str, data_value_ ------- None """ - url = self._e64_url(PROCESSING_VARIABLES_DETACH, elementGUID=element_guid, dataValueGUID=data_value_guid) - await self._async_make_request("POST", url, self._e64_detach_body(body, "detach_processing_variable")) + url = e64_url(self.platform_url, self.view_server, PROCESSING_VARIABLES_DETACH, elementGUID=element_guid, dataValueGUID=data_value_guid) + await self._async_make_request("POST", url, checked_body(body, "detach_processing_variable", request_class="DeleteRelationshipRequestBody")) @dynamic_catch def detach_processing_variable(self, element_guid: str, data_value_guid: str, @@ -1104,9 +1043,9 @@ async def _async_link_embedded_data_value(self, parent_data_value_guid: str, emb } } """ - json_body = self._e64_link_body(body, "link_embedded_data_value", EMBEDDED_DATA_VALUE_PROPERTIES, - positioned=True) - url = self._e64_url(EMBEDDED_DATA_VALUES_ATTACH, parentDataValueGUID=parent_data_value_guid, + json_body = checked_body(body, "link_embedded_data_value", request_class="NewRelationshipRequestBody", + properties_classes={EMBEDDED_DATA_VALUE_PROPERTIES}, int_keys=("position",)) + url = e64_url(self.platform_url, self.view_server, EMBEDDED_DATA_VALUES_ATTACH, parentDataValueGUID=parent_data_value_guid, embeddedDataValueGUID=embedded_data_value_guid) response = await self._async_make_request("POST", url, json_body) return response.json().get("guid", NO_GUID_RETURNED) @@ -1147,9 +1086,9 @@ async def _async_detach_embedded_data_value(self, parent_data_value_guid: str, e ------- None """ - url = self._e64_url(EMBEDDED_DATA_VALUES_DETACH, parentDataValueGUID=parent_data_value_guid, + url = e64_url(self.platform_url, self.view_server, EMBEDDED_DATA_VALUES_DETACH, parentDataValueGUID=parent_data_value_guid, embeddedDataValueGUID=embedded_data_value_guid) - await self._async_make_request("POST", url, self._e64_detach_body(body, "detach_embedded_data_value")) + await self._async_make_request("POST", url, checked_body(body, "detach_embedded_data_value", request_class="DeleteRelationshipRequestBody")) @dynamic_catch def detach_embedded_data_value(self, parent_data_value_guid: str, embedded_data_value_guid: str, diff --git a/pyegeria/omvs/devops_pipeline.py b/pyegeria/omvs/devops_pipeline.py index e1192dbe2..33dea39e4 100644 --- a/pyegeria/omvs/devops_pipeline.py +++ b/pyegeria/omvs/devops_pipeline.py @@ -14,10 +14,8 @@ from typing import Optional from loguru import logger -from pydantic import BaseModel, ValidationError - from pyegeria.core import egeria_6_4_names as e64 -from pyegeria.core._exceptions import PyegeriaInvalidParameterException +from pyegeria.core.egeria_6_4_bodies import checked_body, e64_url, refuse from pyegeria.core._server_client import ServerClient from pyegeria.core.async_runner import run_sync from pyegeria.core.utils import dynamic_catch @@ -28,71 +26,6 @@ NewRelationshipRequestBody, ) -_BODY_MODELS = { - "NewRelationshipRequestBody": NewRelationshipRequestBody, - "DeleteRelationshipRequestBody": DeleteRelationshipRequestBody, - "NewClassificationRequestBody": NewClassificationRequestBody, - "MetadataSourceRequestBody": MetadataSourceRequestBody, -} - - -def _refuse(method: str, reason: str) -> None: - raise PyegeriaInvalidParameterException(None, context={"caller_method": method}, - additional_info={"reason": reason}) - - -def _checked_6_4_body(body: Optional[dict | BaseModel], request_class: str, properties_class: Optional[str], - method: str, default_body: bool = False) -> Optional[str]: - """The JSON to send for an Egeria 6.4 request, or None to send no body. - - Shared by the A3 wrappers (ProjectManager, SchemaMaker, DevopsPipeline). Refuses locally, with words, - what Egeria would reject or silently drop: - - - a request body of another class than `request_class`; - - properties of another class than `properties_class`, or with no class (6.4 rejects a wrong class; a - parent class passes Egeria's check and loses the subclass's fields, the TR-89 case); - - property keys the class does not read (Egeria ignores them silently), per PROPERTIES_CLASS_FIELDS. - - The body is sent as given: only the keys the caller set, so it equals the `.http` sample it came from. - With no body, nothing is sent, unless `default_body` asks for a bare body of `request_class`. - """ - if body is None: - if not default_body: - return None - body = {"class": request_class} - if isinstance(body, BaseModel): - data = body.model_dump(mode="json", by_alias=True, exclude_unset=True, exclude_none=True) - elif isinstance(body, dict): - data = dict(body) - else: - _refuse(method, f"{method} takes a dict or a {request_class}, not a {type(body).__name__}.") - sent_class = data.setdefault("class", request_class) - if sent_class != request_class: - _refuse(method, f"{method} sends a {request_class}; the body is a {sent_class}.") - - props = data.get("properties") - if properties_class and props is not None: - if not isinstance(props, dict): - _refuse(method, f"{method}: properties must be a dict of {properties_class}.") - props_class = props.get("class") - if props_class != properties_class: - named = f"names {props_class}" if props_class else "names no class" - _refuse(method, f"{method} needs properties of class {properties_class}; the body {named}.") - from md_processing.md_processing_utils.properties_class_fields import PROPERTIES_CLASS_FIELDS - known = PROPERTIES_CLASS_FIELDS.get(properties_class) - if known: - unread = sorted(set(props) - {"class"} - set(known[1])) - if unread: - _refuse(method, f"{properties_class} does not read {', '.join(unread)}; Egeria would drop " - f"{'it' if len(unread) == 1 else 'them'} silently.") - - try: - validated = _BODY_MODELS[request_class].model_validate(data) - except ValidationError as error: - _refuse(method, f"{method}: the body is not a valid {request_class}: {error}") - return validated.model_dump_json(by_alias=True, exclude_none=True, exclude_unset=True) - - class DevopsPipeline(ServerClient): """ Client for the Devops Pipeline View Service. @@ -177,15 +110,13 @@ async def _async_set_element_as_branch(self, element_guid: str, keywords = {k: v for k, v in keywords.items() if v is not None} if keywords: if body is not None: - _refuse(method, f"{method} takes either a body or the Branch keywords, not both.") + refuse(method, f"{method} takes either a body or the Branch keywords, not both.") body = {"class": "NewClassificationRequestBody", "properties": {"class": e64.BRANCH_PROPERTIES, **keywords}} - payload = _checked_6_4_body(body, "NewClassificationRequestBody", e64.BRANCH_PROPERTIES, method) - request_url = self.open_metadata_root + e64.BRANCH_SET.format(elementGUID=element_guid) - if payload: - await self._async_make_request("POST", request_url, payload) - else: - await self._async_make_request("POST", request_url) + payload = checked_body(body, method, request_class="NewClassificationRequestBody", + properties_classes={e64.BRANCH_PROPERTIES}) + request_url = e64_url(self.platform_url, self.server_name, e64.BRANCH_SET, elementGUID=element_guid) + await self._async_make_request("POST", request_url, payload) logger.info(f"Classified {element_guid} as a Branch.") @dynamic_catch @@ -229,9 +160,9 @@ async def _async_clear_element_as_branch(self, element_guid: str, PyegeriaNotAuthorizedException The principal does not have authorization for the requested action. """ - payload = _checked_6_4_body(body, "MetadataSourceRequestBody", None, "clear_element_as_branch", - default_body=True) - request_url = self.open_metadata_root + e64.BRANCH_REMOVE.format(elementGUID=element_guid) + payload = checked_body(body, "clear_element_as_branch", request_class="MetadataSourceRequestBody", + default_body={"class": "MetadataSourceRequestBody"}) + request_url = e64_url(self.platform_url, self.server_name, e64.BRANCH_REMOVE, elementGUID=element_guid) await self._async_make_request("POST", request_url, payload) logger.info(f"Removed the Branch classification from {element_guid}.") diff --git a/pyegeria/omvs/governance_officer.py b/pyegeria/omvs/governance_officer.py index 11f90de9a..07e68502b 100644 --- a/pyegeria/omvs/governance_officer.py +++ b/pyegeria/omvs/governance_officer.py @@ -37,6 +37,7 @@ from pyegeria.core.utils import dynamic_catch from pyegeria.core.async_runner import run_sync from pyegeria.core import egeria_6_4_names as e64 +from pyegeria.core.egeria_6_4_bodies import checked_body, e64_url # GovernanceDefinitionProperties and every subclass in its @JsonSubTypes tree, from Egeria main # (8de9572c, 2026-10-26). Regenerate from the Java when Egeria adds a type; a hand-kept list missed @@ -70,31 +71,6 @@ } -def _require_properties_class(body, expected: str, request: str) -> None: - """Refuse, before Egeria does, a body whose ``properties`` object names a class other than ``expected``. - - Egeria 6.4 rejects a properties object of the wrong class on these requests; refusing here says which - class was expected. A body with no properties object passes (attach works with no properties). - """ - if body is None: - return - properties = body.get("properties") if isinstance(body, dict) else getattr(body, "properties", None) - if properties is None: - return - sent = properties.get("class") if isinstance(properties, dict) else getattr(properties, "class_", None) - if sent != expected: - named = f"names class {sent}" if sent else "names no class" - raise PyegeriaInvalidParameterException(additional_info={ - "reason": f"{request}: the properties object {named}; this request expects {expected}."}) - - -def _require_body(body, request: str) -> None: - """Refuse an update sent with no body: Egeria 6.4 needs one, and an empty update changes nothing.""" - if body is None: - raise PyegeriaInvalidParameterException(additional_info={ - "reason": f"{request} needs a request body: there is nothing to update without one."}) - - def base_path(client, view_server: str): return f"{client.platform_url}/servers/governance-officer/api/open-metadata/metadata-expert" @@ -4290,11 +4266,10 @@ def clear_policy_retrieval_point(self, element_guid: str, # earlier Egeria these requests are not found. Every name and path comes from pyegeria.core.egeria_6_4_names. # The sample bodies are the createDecision ... detachAssessment requests in Egeria's # Egeria-api-governance-officer.http (a copy is in tests/fixtures/egeria-6.4/). + # Writes send the caller's body exactly as given, after pyegeria.core.egeria_6_4_bodies.checked_body's + # checks (request class, properties class, unread keys); reads use the shared helpers. # - def _e64_url(self, path: str, **guids) -> str: - return f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/{path.format(**guids)}" - @dynamic_catch async def _async_create_decision(self, body: dict | NewElementRequestBody) -> str: """ Create a Decision. Async version. @@ -4320,9 +4295,11 @@ async def _async_create_decision(self, body: dict | NewElementRequestBody) -> st The properties object names a class other than DecisionProperties (refused before sending). PyegeriaException """ - _require_properties_class(body, e64.DECISION_PROPERTIES, "create_decision") - url = self._e64_url(e64.DECISIONS_CREATE) - return await self._async_create_element_body_request(url, [e64.DECISION_PROPERTIES], body) + json_body = checked_body(body, "create_decision", request_class="NewElementRequestBody", + properties_classes={e64.DECISION_PROPERTIES}, required=True) + url = e64_url(self.platform_url, self.view_server, e64.DECISIONS_CREATE) + response = await self._async_make_request("POST", url, json_body) + return response.json().get("guid", NO_GUID_RETURNED) @dynamic_catch def create_decision(self, body: dict | NewElementRequestBody) -> str: @@ -4370,8 +4347,11 @@ async def _async_create_decision_from_template(self, body: dict | TemplateReques ------ PyegeriaException """ - url = self._e64_url(e64.DECISIONS_FROM_TEMPLATE) - return await self._async_create_element_from_template(url, body) + json_body = checked_body(body, "create_decision_from_template", request_class="TemplateRequestBody", + required=True) + url = e64_url(self.platform_url, self.view_server, e64.DECISIONS_FROM_TEMPLATE) + response = await self._async_make_request("POST", url, json_body) + return response.json().get("guid", NO_GUID_RETURNED) @dynamic_catch def create_decision_from_template(self, body: dict | TemplateRequestBody) -> str: @@ -4420,10 +4400,10 @@ async def _async_update_decision(self, decision_guid: str, body: dict | UpdateEl sending). PyegeriaException """ - _require_body(body, "update_decision") - _require_properties_class(body, e64.DECISION_PROPERTIES, "update_decision") - url = self._e64_url(e64.DECISIONS_UPDATE, decisionGUID=decision_guid) - await self._async_update_element_body_request(url, [e64.DECISION_PROPERTIES], body) + json_body = checked_body(body, "update_decision", request_class="UpdateElementRequestBody", + properties_classes={e64.DECISION_PROPERTIES}, required=True) + url = e64_url(self.platform_url, self.view_server, e64.DECISIONS_UPDATE, decisionGUID=decision_guid) + await self._async_make_request("POST", url, json_body) logger.info(f"Updated Decision {decision_guid}") @dynamic_catch @@ -4476,8 +4456,10 @@ async def _async_delete_decision(self, decision_guid: str, ------ PyegeriaException """ - url = self._e64_url(e64.DECISIONS_DELETE, decisionGUID=decision_guid) - await self._async_delete_element_request(url, body, cascade) + json_body = checked_body(body, "delete_decision", request_class="DeleteElementRequestBody", + default_body={"class": "DeleteElementRequestBody", "cascadedDelete": cascade}) + url = e64_url(self.platform_url, self.view_server, e64.DECISIONS_DELETE, decisionGUID=decision_guid) + await self._async_make_request("POST", url, json_body) logger.info(f"Deleted Decision {decision_guid} with cascade {cascade}") @dynamic_catch @@ -4541,7 +4523,7 @@ async def _async_get_decisions_by_name(self, name: Optional[str] = None, ------ PyegeriaException """ - url = self._e64_url(e64.DECISIONS_BY_NAME) + url = e64_url(self.platform_url, self.view_server, e64.DECISIONS_BY_NAME) params = {"start_from": start_from, "page_size": page_size, "graph_query_depth": graph_query_depth, "output_format": output_format, "report_spec": report_spec, "body": body} params.update(kwargs) @@ -4602,7 +4584,7 @@ async def _async_get_decision_by_guid(self, decision_guid: str, body: Optional[d ------ PyegeriaException """ - url = self._e64_url(e64.DECISIONS_RETRIEVE, decisionGUID=decision_guid) + url = e64_url(self.platform_url, self.view_server, e64.DECISIONS_RETRIEVE, decisionGUID=decision_guid) params = {"graph_query_depth": graph_query_depth, "output_format": output_format, "report_spec": report_spec, "body": body} params.update(kwargs) @@ -4667,7 +4649,7 @@ async def _async_find_decisions(self, search_string: str = "*", ------ PyegeriaException """ - url = self._e64_url(e64.DECISIONS_BY_SEARCH_STRING) + url = e64_url(self.platform_url, self.view_server, e64.DECISIONS_BY_SEARCH_STRING) params = {"search_string": search_string, "body": body, "starts_with": starts_with, "ends_with": ends_with, "ignore_case": ignore_case, "start_from": start_from, "page_size": page_size, "graph_query_depth": graph_query_depth, @@ -4728,13 +4710,11 @@ async def _async_link_decision_outcome(self, decision_guid: str, outcome_guid: s The properties object names a class other than OutcomeProperties (refused before sending). PyegeriaException """ - _require_properties_class(body, e64.OUTCOME_PROPERTIES, "link_decision_outcome") - url = self._e64_url(e64.OUTCOMES_ATTACH, decisionGUID=decision_guid, outcomeGUID=outcome_guid) - validated_body = self.validate_new_relationship_request(body, [e64.OUTCOME_PROPERTIES]) - if validated_body: - await self._async_make_request("POST", url, validated_body.model_dump_json(indent=2, exclude_none=True)) - else: - await self._async_make_request("POST", url) + json_body = checked_body(body, "link_decision_outcome", request_class="NewRelationshipRequestBody", + properties_classes={e64.OUTCOME_PROPERTIES}) + url = e64_url(self.platform_url, self.view_server, e64.OUTCOMES_ATTACH, decisionGUID=decision_guid, + outcomeGUID=outcome_guid) + await self._async_make_request("POST", url, json_body) logger.info(f"Linked Decision {decision_guid} to outcome {outcome_guid}") @dynamic_catch @@ -4789,8 +4769,10 @@ async def _async_detach_decision_outcome(self, decision_guid: str, outcome_guid: ------ PyegeriaException """ - url = self._e64_url(e64.OUTCOMES_DETACH, decisionGUID=decision_guid, outcomeGUID=outcome_guid) - await self._async_delete_relationship_request(url, body) + json_body = checked_body(body, "detach_decision_outcome", request_class="DeleteRelationshipRequestBody") + url = e64_url(self.platform_url, self.view_server, e64.OUTCOMES_DETACH, decisionGUID=decision_guid, + outcomeGUID=outcome_guid) + await self._async_make_request("POST", url, json_body) logger.info(f"Detached Decision {decision_guid} from outcome {outcome_guid}") @dynamic_catch @@ -4851,14 +4833,11 @@ async def _async_link_assessment(self, element_guid: str, decision_guid: str, The properties object names a class other than AssessmentProperties (refused before sending). PyegeriaException """ - _require_properties_class(body, e64.ASSESSMENT_PROPERTIES, "link_assessment") - url = self._e64_url(e64.ASSESSMENTS_ATTACH, elementGUID=element_guid, decisionGUID=decision_guid) - validated_body = self.validate_new_relationship_request(body, [e64.ASSESSMENT_PROPERTIES]) - if validated_body: - json_body = validated_body.model_dump_json(indent=2, exclude_none=True) - resp = await self._async_make_request("POST", url, json_body) - else: - resp = await self._async_make_request("POST", url) + json_body = checked_body(body, "link_assessment", request_class="NewRelationshipRequestBody", + properties_classes={e64.ASSESSMENT_PROPERTIES}) + url = e64_url(self.platform_url, self.view_server, e64.ASSESSMENTS_ATTACH, elementGUID=element_guid, + decisionGUID=decision_guid) + resp = await self._async_make_request("POST", url, json_body) return resp.json().get("guid", NO_GUID_RETURNED) @dynamic_catch @@ -4917,10 +4896,10 @@ async def _async_update_assessment(self, assessment_guid: str, body: dict | Upda sending). PyegeriaException """ - _require_body(body, "update_assessment") - _require_properties_class(body, e64.ASSESSMENT_PROPERTIES, "update_assessment") - url = self._e64_url(e64.ASSESSMENTS_UPDATE, assessmentGUID=assessment_guid) - await self._async_update_relationship_request(url, [e64.ASSESSMENT_PROPERTIES], body) + json_body = checked_body(body, "update_assessment", request_class="UpdateRelationshipRequestBody", + properties_classes={e64.ASSESSMENT_PROPERTIES}, required=True) + url = e64_url(self.platform_url, self.view_server, e64.ASSESSMENTS_UPDATE, assessmentGUID=assessment_guid) + await self._async_make_request("POST", url, json_body) logger.info(f"Updated Assessment {assessment_guid}") @dynamic_catch @@ -4973,8 +4952,9 @@ async def _async_detach_assessment(self, assessment_guid: str, ------ PyegeriaException """ - url = self._e64_url(e64.ASSESSMENTS_DETACH, assessmentGUID=assessment_guid) - await self._async_delete_relationship_request(url, body) + json_body = checked_body(body, "detach_assessment", request_class="DeleteRelationshipRequestBody") + url = e64_url(self.platform_url, self.view_server, e64.ASSESSMENTS_DETACH, assessmentGUID=assessment_guid) + await self._async_make_request("POST", url, json_body) logger.info(f"Detached Assessment {assessment_guid}") @dynamic_catch diff --git a/pyegeria/omvs/project_manager.py b/pyegeria/omvs/project_manager.py index f2f3642ac..a410d1533 100644 --- a/pyegeria/omvs/project_manager.py +++ b/pyegeria/omvs/project_manager.py @@ -24,7 +24,7 @@ from loguru import logger from pyegeria.core.async_runner import run_sync from pyegeria.core import egeria_6_4_names as e64 -from pyegeria.omvs.devops_pipeline import _checked_6_4_body # the shared Egeria 6.4 body check (A3) +from pyegeria.core.egeria_6_4_bodies import checked_body, e64_url # the shared Egeria 6.4 body check PROJECT_TYPES = ["Project", "Campaign", "StudyProject", "Task", "PersonalProject", "Experiment", "Investigation"] @@ -2745,14 +2745,11 @@ async def _async_setup_project_target(self, project_guid: str, target_guid: str, PyegeriaNotAuthorizedException The principal does not have authorization for the requested action. """ - payload = _checked_6_4_body(body, "NewRelationshipRequestBody", e64.PROJECT_TARGET_PROPERTIES, - "setup_project_target") - url = (f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/" - + e64.PROJECT_TARGETS_ATTACH.format(projectGUID=project_guid, targetGUID=target_guid)) - if payload: - await self._async_make_request("POST", url, payload) - else: - await self._async_make_request("POST", url) + payload = checked_body(body, "setup_project_target", request_class="NewRelationshipRequestBody", + properties_classes={e64.PROJECT_TARGET_PROPERTIES}) + url = e64_url(self.platform_url, self.view_server, e64.PROJECT_TARGETS_ATTACH, projectGUID=project_guid, + targetGUID=target_guid) + await self._async_make_request("POST", url, payload) logger.info(f"Project {project_guid} targets {target_guid}") @dynamic_catch @@ -2794,13 +2791,10 @@ async def _async_clear_project_target(self, project_guid: str, target_guid: str, PyegeriaNotAuthorizedException The principal does not have authorization for the requested action. """ - payload = _checked_6_4_body(body, "DeleteRelationshipRequestBody", None, "clear_project_target") - url = (f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/" - + e64.PROJECT_TARGETS_DETACH.format(projectGUID=project_guid, targetGUID=target_guid)) - if payload: - await self._async_make_request("POST", url, payload) - else: - await self._async_make_request("POST", url) + payload = checked_body(body, "clear_project_target", request_class="DeleteRelationshipRequestBody") + url = e64_url(self.platform_url, self.view_server, e64.PROJECT_TARGETS_DETACH, projectGUID=project_guid, + targetGUID=target_guid) + await self._async_make_request("POST", url, payload) logger.info(f"Project {project_guid} no longer targets {target_guid}") @dynamic_catch diff --git a/pyegeria/omvs/schema_maker.py b/pyegeria/omvs/schema_maker.py index a2890f204..4762c69fc 100644 --- a/pyegeria/omvs/schema_maker.py +++ b/pyegeria/omvs/schema_maker.py @@ -37,7 +37,7 @@ from pyegeria.core.utils import dynamic_catch from pyegeria.core.async_runner import run_sync from pyegeria.core import egeria_6_4_names as e64 -from pyegeria.omvs.devops_pipeline import _checked_6_4_body # the shared Egeria 6.4 body check (A3) +from pyegeria.core.egeria_6_4_bodies import checked_body, e64_url # the shared Egeria 6.4 body check class SchemaTypeProperties(ReferenceableProperties): @@ -1243,15 +1243,11 @@ async def _async_link_supported_variable_type(self, element_guid: str, schema_ty PyegeriaNotAuthorizedException The principal does not have authorization for the requested action. """ - payload = _checked_6_4_body(body, "NewRelationshipRequestBody", e64.SUPPORTED_VARIABLE_TYPE_PROPERTIES, - "link_supported_variable_type") - url = (f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/" - + e64.SUPPORTED_VARIABLE_TYPES_ATTACH.format(elementGUID=element_guid, - schemaTypeGUID=schema_type_guid)) - if payload: - await self._async_make_request("POST", url, payload) - else: - await self._async_make_request("POST", url) + payload = checked_body(body, "link_supported_variable_type", request_class="NewRelationshipRequestBody", + properties_classes={e64.SUPPORTED_VARIABLE_TYPE_PROPERTIES}, int_keys=("position",)) + url = e64_url(self.platform_url, self.view_server, e64.SUPPORTED_VARIABLE_TYPES_ATTACH, + elementGUID=element_guid, schemaTypeGUID=schema_type_guid) + await self._async_make_request("POST", url, payload) logger.info(f"Linked {element_guid} to supported variable type {schema_type_guid}.") @dynamic_catch @@ -1297,14 +1293,10 @@ async def _async_detach_supported_variable_type(self, element_guid: str, schema_ PyegeriaNotAuthorizedException The principal does not have authorization for the requested action. """ - payload = _checked_6_4_body(body, "DeleteRelationshipRequestBody", None, "detach_supported_variable_type") - url = (f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/" - + e64.SUPPORTED_VARIABLE_TYPES_DETACH.format(elementGUID=element_guid, - schemaTypeGUID=schema_type_guid)) - if payload: - await self._async_make_request("POST", url, payload) - else: - await self._async_make_request("POST", url) + payload = checked_body(body, "detach_supported_variable_type", request_class="DeleteRelationshipRequestBody") + url = e64_url(self.platform_url, self.view_server, e64.SUPPORTED_VARIABLE_TYPES_DETACH, + elementGUID=element_guid, schemaTypeGUID=schema_type_guid) + await self._async_make_request("POST", url, payload) logger.info(f"Detached {element_guid} from supported variable type {schema_type_guid}.") @dynamic_catch diff --git a/tests/micro-tests/test_egeria_6_4_bodies.py b/tests/micro-tests/test_egeria_6_4_bodies.py new file mode 100644 index 000000000..dccd345a5 --- /dev/null +++ b/tests/micro-tests/test_egeria_6_4_bodies.py @@ -0,0 +1,280 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +""" +The one Egeria 6.4 body checker, pyegeria.core.egeria_6_4_bodies (A6 consolidation). + +One test group per rule of the Architect's ruling: +1. writes send the caller's body exactly as given (no model re-dump), no body on a bodiless attach/detach, a + required body refused with words; +2. reads keep the shared helpers (their added defaults are checked per wrapper in the A1/A2 tests); here, that + the checker is not on the read path; +3. the class check takes a set of accepted Properties classes and names them all when it refuses; +4. unread keys are refused, naming the class and the keys it reads; a class missing from the table only warns; +5. it is the ONE checker: the five 6.4 modules import it, define no helper of their own, and only it imports + the md_processing table. + +No live server. +""" +import ast +import inspect +import json +from pathlib import Path + +import pytest +from loguru import logger + +from pyegeria.core import egeria_6_4_bodies as bodies +from pyegeria.core import egeria_6_4_names as n +from pyegeria.core._exceptions import PyegeriaInvalidParameterException +from pyegeria.models import NewRelationshipRequestBody + +REPO = Path(__file__).resolve().parents[2] +SIX_FOUR_MODULES = ("governance_officer", "data_engineer", "project_manager", "schema_maker", "devops_pipeline") + + +def _refusal(fn, *args, **kwargs) -> str: + with pytest.raises(PyegeriaInvalidParameterException) as raised: + fn(*args, **kwargs) + return str(raised.value) + + +# --- rule 1: writes send exactly what was given ---------------------------------------------------------------- + +def test_a_dict_body_is_sent_exactly_even_keys_the_model_lacks_and_timestamp_formats(): + body = {"class": "NewRelationshipRequestBody", + "aKeyNoPyegeriaModelHas": ["kept"], # the model is extra='ignore': a dump would drop it + "effectiveTime": "2026-11-21T12:00:00.000+00:00", # a dump would reformat it + "properties": {"class": n.ASSESSMENT_PROPERTIES, "label": "first", + "assessmentTime": "2026-11-21T12:00:00.000+00:00"}} + original = json.loads(json.dumps(body)) + + sent = bodies.checked_body(body, "link_assessment", request_class="NewRelationshipRequestBody", + properties_classes={n.ASSESSMENT_PROPERTIES}) + + assert json.loads(sent) == original + assert body == original, "the caller's dict is not changed" + + +def test_no_body_sends_no_body_on_attach_and_detach(): + assert bodies.checked_body(None, "link_x", request_class="NewRelationshipRequestBody", + properties_classes={n.OUTCOME_PROPERTIES}) is None + assert bodies.checked_body(None, "detach_x", request_class="DeleteRelationshipRequestBody") is None + + +def test_a_required_body_is_refused_with_words(): + words = _refusal(bodies.checked_body, None, "update_decision", request_class="UpdateElementRequestBody", + required=True) + assert "update_decision needs a request body" in words + + +def test_a_default_body_is_sent_only_when_none_is_given(): + default = {"class": "DeleteElementRequestBody", "cascadedDelete": True} + assert json.loads(bodies.checked_body(None, "delete_x", request_class="DeleteElementRequestBody", + default_body=default)) == default + given = {"class": "DeleteElementRequestBody", "externalSourceName": "x"} + assert json.loads(bodies.checked_body(given, "delete_x", request_class="DeleteElementRequestBody", + default_body=default)) == given + + +def test_a_body_with_no_class_is_given_the_request_class_and_nothing_else(): + body = {"properties": {"class": n.PROJECT_TARGET_PROPERTIES, "label": "x"}} + sent = json.loads(bodies.checked_body(body, "setup_project_target", request_class="NewRelationshipRequestBody", + properties_classes={n.PROJECT_TARGET_PROPERTIES})) + assert sent == {"class": "NewRelationshipRequestBody", **body} + assert "class" not in body + + +def test_a_body_of_another_request_class_is_refused(): + words = _refusal(bodies.checked_body, {"class": "DeleteRelationshipRequestBody"}, "link_x", + request_class="NewRelationshipRequestBody") + assert "NewRelationshipRequestBody" in words and "DeleteRelationshipRequestBody" in words + + +def test_a_model_body_is_sent_as_its_own_dump(): + model = NewRelationshipRequestBody.model_validate( + {"class": "NewRelationshipRequestBody", + "properties": {"class": n.OUTCOME_PROPERTIES, "label": "x"}}) + sent = json.loads(bodies.checked_body(model, "link_decision_outcome", request_class="NewRelationshipRequestBody", + properties_classes={n.OUTCOME_PROPERTIES})) + assert sent["class"] == "NewRelationshipRequestBody" + assert sent["properties"]["class"] == n.OUTCOME_PROPERTIES and sent["properties"]["label"] == "x" + + +def test_something_that_is_not_a_body_is_refused(): + assert "not a str" in _refusal(bodies.checked_body, "{}", "link_x", request_class="NewRelationshipRequestBody") + + +def test_a_malformed_body_is_refused_with_words_not_a_raw_validation_error(): + words = _refusal(bodies.checked_body, {"class": "NewRelationshipRequestBody", "forLineage": "not-a-bool"}, + "link_x", request_class="NewRelationshipRequestBody") + assert "not a valid NewRelationshipRequestBody" in words + + +# --- rule 2: reads are not checked here --------------------------------------------------------------------------- + +def test_the_6_4_reads_do_not_use_the_write_checker(): + from pyegeria.omvs.data_engineer import DataEngineer + from pyegeria.omvs.governance_officer import GovernanceOfficer + reads = [GovernanceOfficer._async_get_decisions_by_name, GovernanceOfficer._async_get_decision_by_guid, + GovernanceOfficer._async_find_decisions, DataEngineer._async_get_data_values_by_name, + DataEngineer._async_get_data_value_by_guid, DataEngineer._async_find_data_values] + for read in reads: + assert "checked_body" not in inspect.getsource(read), read.__qualname__ + + +# --- rule 3: a SET of accepted Properties classes ------------------------------------------------------------------ + +ACCEPTED = {n.DATA_VALUE_PROPERTIES, n.LITERAL_DATA_VALUE_PROPERTIES} + + +@pytest.mark.parametrize("cls", sorted(ACCEPTED)) +def test_each_accepted_class_passes(cls): + body = {"class": "NewElementRequestBody", "properties": {"class": cls, "qualifiedName": "q"}} + assert json.loads(bodies.checked_body(body, "create_data_value", request_class="NewElementRequestBody", + properties_classes=ACCEPTED, required=True)) == body + + +@pytest.mark.parametrize("sent", ["DecisionProperties", None]) +def test_another_class_or_none_is_refused_naming_every_accepted_class(sent): + props = {"qualifiedName": "q"} if sent is None else {"class": sent, "qualifiedName": "q"} + words = _refusal(bodies.checked_body, {"class": "NewElementRequestBody", "properties": props}, + "create_data_value", request_class="NewElementRequestBody", properties_classes=ACCEPTED) + for cls in ACCEPTED: + assert cls in words + assert ("DecisionProperties" in words) if sent else ("names no class" in words) + + +def test_a_single_class_string_is_accepted_as_a_set_of_one(): + assert bodies.check_properties_class({"class": n.BRANCH_PROPERTIES}, n.BRANCH_PROPERTIES, "m") == \ + n.BRANCH_PROPERTIES + + +def test_properties_that_are_not_an_object_are_refused(): + words = _refusal(bodies.check_properties_class, ["x"], {n.BRANCH_PROPERTIES}, "set_element_as_branch") + assert n.BRANCH_PROPERTIES in words + + +def test_an_int_key_must_be_an_int(): + body = {"class": "NewRelationshipRequestBody", + "properties": {"class": n.PROCESSING_VARIABLE_PROPERTIES, "position": "1"}} + words = _refusal(bodies.checked_body, body, "link_processing_variable", + request_class="NewRelationshipRequestBody", + properties_classes={n.PROCESSING_VARIABLE_PROPERTIES}, int_keys=("position",)) + assert "position must be an int" in words + body["properties"]["position"] = 0 + assert json.loads(bodies.checked_body(body, "link_processing_variable", + request_class="NewRelationshipRequestBody", + properties_classes={n.PROCESSING_VARIABLE_PROPERTIES}, + int_keys=("position",))) == body + + +# --- rule 4: unread keys are refused --------------------------------------------------------------------------------- + +def test_an_unread_key_is_refused_naming_the_class_and_the_keys_it_reads(): + body = {"class": "NewClassificationRequestBody", + "properties": {"class": n.BRANCH_PROPERTIES, "displayName": "main", "label": "not read"}} + words = _refusal(bodies.checked_body, body, "set_element_as_branch", + request_class="NewClassificationRequestBody", properties_classes={n.BRANCH_PROPERTIES}) + assert "BranchProperties does not read label" in words + for key in ("displayName", "scope", "purpose", "url"): + assert key in words.split("reads:")[1] + + +def test_every_properties_class_the_6_4_wrappers_send_is_in_the_table(): + table = bodies.properties_class_fields() + for cls in n.PROPERTIES_CLASSES: + assert cls in table, cls + + +def test_a_class_missing_from_the_table_only_warns(monkeypatch): + real = bodies.properties_class_fields() + monkeypatch.setattr(bodies, "properties_class_fields", + lambda: {k: v for k, v in real.items() if k != n.OUTCOME_PROPERTIES}) + seen: list = [] + sink = logger.add(lambda message: seen.append(str(message)), level="WARNING") + try: + body = {"class": "NewRelationshipRequestBody", + "properties": {"class": n.OUTCOME_PROPERTIES, "anythingAtAll": 1}} + sent = bodies.checked_body(body, "link_decision_outcome", request_class="NewRelationshipRequestBody", + properties_classes={n.OUTCOME_PROPERTIES}) + finally: + logger.remove(sink) + assert json.loads(sent) == body + assert any("OutcomeProperties is not in PROPERTIES_CLASS_FIELDS" in line for line in seen) + + +# --- rule 5: one checker, in pyegeria/core -------------------------------------------------------------------------- + +def _source(module: str) -> str: + return (REPO / "pyegeria" / "omvs" / f"{module}.py").read_text() + + +@pytest.mark.parametrize("module", SIX_FOUR_MODULES) +def test_each_6_4_module_imports_the_core_checker_and_defines_none_of_its_own(module): + tree = ast.parse(_source(module)) + imported = {(node.module, alias.name) for node in ast.walk(tree) if isinstance(node, ast.ImportFrom) + for alias in node.names} + assert ("pyegeria.core.egeria_6_4_bodies", "checked_body") in imported + assert ("pyegeria.core.egeria_6_4_bodies", "e64_url") in imported + defined = {node.name for node in ast.walk(tree) if isinstance(node, (ast.FunctionDef, ast.AsyncFunctionDef))} + for helper in ("_checked_6_4_body", "_e64_body", "_e64_link_body", "_e64_detach_body", "_e64_url", + "_require_properties_class", "_require_body"): + assert helper not in defined, f"{module} defines {helper}" + + +@pytest.mark.parametrize("module", SIX_FOUR_MODULES) +def test_only_the_core_checker_imports_the_md_processing_table(module): + assert "properties_class_fields" not in _source(module) + + +def test_the_url_builder_joins_a_names_path_to_the_open_metadata_root(): + assert bodies.e64_url("https://p:9443", "qs-view-server", n.ASSESSMENTS_UPDATE, assessmentGUID="g1") == \ + "https://p:9443/servers/qs-view-server/api/open-metadata/" + n.ASSESSMENTS_UPDATE.format(assessmentGUID="g1") + + +# --- rule 4 reaches every module's wrappers (A1 and A2 gained it in A6; A3 had it) ---------------------------------- + +def _capturing(cls, monkeypatch, calls): + monkeypatch.setattr(cls, "check_connection", lambda self: "test") + client = cls("view-server", "https://localhost:1", "user", "pwd") + + async def fake_make_request(method, url, payload=None, *args, **kwargs): + calls.append((method, url, payload)) + raise AssertionError("nothing may be sent") + + client._async_make_request = fake_make_request + return client + + +def _unread_cases(): + from pyegeria.omvs.data_engineer import DataEngineer + from pyegeria.omvs.governance_officer import GovernanceOfficer + element = {"class": "NewElementRequestBody"} + relationship = {"class": "NewRelationshipRequestBody"} + return [ + (GovernanceOfficer, "_async_create_decision", (), + {**element, "properties": {"class": n.DECISION_PROPERTIES, "qualifiedName": "q", "startDate": "x"}}, + n.DECISION_PROPERTIES, "startDate"), + (GovernanceOfficer, "_async_link_assessment", ("e", "d"), + {**relationship, "properties": {"class": n.ASSESSMENT_PROPERTIES, "assessorType": "x"}}, + n.ASSESSMENT_PROPERTIES, "assessorType"), + (DataEngineer, "_async_create_data_value", (), + {**element, "properties": {"class": n.LITERAL_DATA_VALUE_PROPERTIES, "qualifiedName": "q", + "dataValues": ["a"]}}, + n.LITERAL_DATA_VALUE_PROPERTIES, "dataValues"), + (DataEngineer, "_async_link_embedded_data_value", ("p", "c"), + {**relationship, "properties": {"class": n.EMBEDDED_DATA_VALUE_PROPERTIES, "ordinal": 1}}, + n.EMBEDDED_DATA_VALUE_PROPERTIES, "ordinal"), + ] + + +@pytest.mark.asyncio +@pytest.mark.parametrize("case", range(4)) +async def test_wrappers_refuse_unread_keys_before_sending(monkeypatch, case): + cls, method, args, body, props_class, key = _unread_cases()[case] + calls: list = [] + client = _capturing(cls, monkeypatch, calls) + with pytest.raises(PyegeriaInvalidParameterException) as raised: + await getattr(client, method)(*args, body) + assert f"{props_class} does not read {key}" in str(raised.value) + assert calls == [] diff --git a/tests/micro-tests/test_egeria_6_4_governance_officer.py b/tests/micro-tests/test_egeria_6_4_governance_officer.py index 0cb2fdceb..b5b02c35f 100644 --- a/tests/micro-tests/test_egeria_6_4_governance_officer.py +++ b/tests/micro-tests/test_egeria_6_4_governance_officer.py @@ -7,7 +7,9 @@ taken from pyegeria.core.egeria_6_4_names. For each method: the HTTP verb, the URL, and that the body sent equals the sample once its placeholders are filled. Also: attach with no body sends no body; update without a body is refused locally; mergeUpdate passes through; link_assessment returns the relationship GUID; a -properties object of the wrong class is refused locally, naming the class expected. +properties object of the wrong class is refused locally, naming the class expected. Writes are compared to the +sample by exact equality (A6: one body rule, pyegeria.core.egeria_6_4_bodies); reads to the sample plus +Egeria's own defaults. No live server: the HTTP call is captured. """ @@ -154,21 +156,24 @@ async def test_each_request_sends_the_sample_body_to_the_right_url(monkeypatch, assert len(calls) == 1 assert calls[0]["method"] == "POST" assert calls[0]["url"] == _url(path, **guids) - # The sample is sent whole and unchanged; the only additions are the defaults pyegeria's shared request - # models always send (Egeria's own defaults for those fields), listed here so any other addition fails. - assert calls[0]["body"] == {**SAMPLES[name][2], **MODEL_DEFAULTS.get(name, {})} + if name in READS: + # Reads use the shared request helpers; their only additions are Egeria's own defaults for those + # fields, listed here so any other addition fails. + assert calls[0]["body"] == {**SAMPLES[name][2], **READ_DEFAULTS[name]} + else: + # Writes send the caller's body exactly (pyegeria.core.egeria_6_4_bodies): no model re-dump, no + # added defaults. + assert calls[0]["body"] == SAMPLES[name][2] _GET_DEFAULTS = {"relationshipsPageSize": 0} _LIST_DEFAULTS = {"forLineage": False, "forDuplicateProcessing": False, "relationshipsPageSize": 0} -MODEL_DEFAULTS = { - "createDecisionFromTemplate": {"templateSubstitute": False, "allowRetrieve": True}, # TemplateRequestBody +READ_DEFAULTS = { "getDecisionsByName": _LIST_DEFAULTS, # FilterRequestBody "getDecisionByGUID": _GET_DEFAULTS, # GetRequestBody "findDecisions": _LIST_DEFAULTS, # SearchStringRequestBody - "linkDecisionOutcome": {"makeAnchor": False}, # NewRelationshipRequestBody - "linkAssessment": {"makeAnchor": False}, } +READS = set(READ_DEFAULTS) @pytest.mark.parametrize("name", list(CASES)) @@ -316,4 +321,4 @@ async def test_attach_with_a_body_but_no_properties_is_sent(monkeypatch): await client._async_link_decision_outcome(DECISION_GUID, OUTCOME_GUID, body) - assert calls[0]["body"] == {**body, "makeAnchor": False} + assert calls[0]["body"] == body From f7b329b15276581d9e955741d058f35c1901d949 Mon Sep 17 00:00:00 2001 From: Dan Wolfson Date: Sat, 21 Nov 2026 15:47:31 -0600 Subject: [PATCH 11/19] feat(authoring): derive RELATED_ELEMENT_KEYS from RELATIONSHIP_FIELDS (A4 follow-up) Every relationship list in the generated RELATIONSHIP_FIELDS is allowed, in snake_case, replacing A4's two hand-added 6.4 lines, so a later Egeria's lists need no hand edit. Keys a shipped spec reads that are not relationship lists stay hand-kept (_HAND_KEPT_RELATED_KEYS); the "allow-list keys must be used by a shipped spec" test now applies to those hand-kept keys only. Signed-off-by: Dan Wolfson --- pyegeria/authoring/validate.py | 33 ++++++++++--------- .../test_authoring_validate_strict.py | 6 ++-- .../test_egeria_6_4_report_specs.py | 14 ++++++++ 3 files changed, 35 insertions(+), 18 deletions(-) diff --git a/pyegeria/authoring/validate.py b/pyegeria/authoring/validate.py index 4326c4b12..832f5eb41 100644 --- a/pyegeria/authoring/validate.py +++ b/pyegeria/authoring/validate.py @@ -35,27 +35,35 @@ AuthoringGates, AuthoringRefused, ReportDraft, SheetDraft, SpecDraft, ValidationResult, as_draft, default_gates, ) from pyegeria.authoring.serialize import FIND_PARAMETERS, serialize +from pyegeria.view.egeria_relationship_fields import RELATIONSHIP_FIELDS #: Column keys the formatter derives from an element's header or relationships, not a property of the type. DERIVED_KEYS = {"guid", "type_name", "classifications", "created_by", "create_time", "updated_by", "update_time", "version", "status", "anchor", "mermaid", "related", "members", "member_of", "properties"} +def _snake(camel: str) -> str: + out = [] + for ch in camel: + out.append("_" + ch.lower() if ch.isupper() else ch) + return "".join(out).lstrip("_") + + #: Fields the view service attaches to an element from its relationships, read by the formatter's step 3 -#: (`element[camelCase(key)]`). No type definition lists them, so the attribute catalog can't. Each is used by -#: a shipped find spec. -RELATED_ELEMENT_KEYS = frozenset({ - "collection_members", "member_of_collections", "assigned_actors", "actor_list", "governed_by", "next_version", - "solution_designs", "used_by_digital_products", "uses_digital_products", "agreement_items", "service_levels", - "support_level", "folder_display_names", "as_of_data_field", "basis_data_field", "managed_projects", - "project_roles", "resource_list", "report_type_instances", "note_log_name", "note_log_qualified_name", +#: (`element[camelCase(key)]`). No type definition lists them, so the attribute catalog can't. Every +#: relationship list Egeria's OpenMetadataRootElement carries is derived, in snake_case, from the generated +#: RELATIONSHIP_FIELDS, so a regeneration for a later Egeria (6.4 added decisionOutcomes, inputsToDecision, +#: dataValueUses, ...) needs no edit here. The hand-kept keys below are ones a shipped find spec reads that are +#: not relationship lists. +_HAND_KEPT_RELATED_KEYS = frozenset({ + "actor_list", "folder_display_names", "next_version", "note_log_name", "note_log_qualified_name", + "project_roles", "service_levels", "support_level", # The shipped 'Projects' spec reads start_date, which ProjectProperties doesn't have (it has # planned/actual start dates) and the view service doesn't attach, so it shows nothing today. Allowed so that # authoring doesn't refuse a copy of a shipped spec; the spec itself is to be fixed against live output. "start_date", - # Egeria 6.4 (odpi/egeria#9463) relationship lists, read by the Decision, Data-Value and Literal-Data-Value specs. - "decision_outcomes", "inputs_to_decision", "data_value_uses", "data_value_sources", "embedded_data_values", }) +RELATED_ELEMENT_KEYS = frozenset({_snake(key) for key in RELATIONSHIP_FIELDS}) | _HAND_KEPT_RELATED_KEYS #: Properties of the survey annotation subtypes, which the Properties-class catalog doesn't list. ANNOTATION_KEYS = frozenset({ @@ -114,13 +122,6 @@ def _is_generated(fs: Any, label: str) -> bool: return str(getattr(fs, "description", "") or "").startswith(_GENERATED_MARK) or "-DrE" in (label or "") -def _snake(camel: str) -> str: - out = [] - for ch in camel: - out.append("_" + ch.lower() if ch.isupper() else ch) - return "".join(out).lstrip("_") - - def type_attributes(type_name: str) -> Optional[Set[str]]: """The snake_case property names of an Egeria type (inherited included), from pyegeria's generated Properties-class catalog; None if the catalog has no such type.""" diff --git a/tests/micro-tests/test_authoring_validate_strict.py b/tests/micro-tests/test_authoring_validate_strict.py index d9900f0b2..6bda5f336 100644 --- a/tests/micro-tests/test_authoring_validate_strict.py +++ b/tests/micro-tests/test_authoring_validate_strict.py @@ -162,9 +162,11 @@ def test_no_shipped_find_spec_is_refused_for_its_find_method_fit(): def test_the_allow_lists_name_only_keys_a_shipped_spec_uses(): - from pyegeria.authoring.validate import ANNOTATION_KEYS, RELATED_ELEMENT_KEYS + # The hand-kept lists only: RELATED_ELEMENT_KEYS' relationship lists are derived from the generated + # RELATIONSHIP_FIELDS (every list Egeria can attach), so they need no shipped spec to justify them. + from pyegeria.authoring.validate import ANNOTATION_KEYS, _HAND_KEPT_RELATED_KEYS used, _ = _registry_columns_and_types() - unused = sorted((RELATED_ELEMENT_KEYS | ANNOTATION_KEYS) - used) + unused = sorted((_HAND_KEPT_RELATED_KEYS | ANNOTATION_KEYS) - used) assert not unused, f"allow-listed but no shipped spec uses them (remove): {unused}" diff --git a/tests/micro-tests/test_egeria_6_4_report_specs.py b/tests/micro-tests/test_egeria_6_4_report_specs.py index 3b469d80f..f25cd22ed 100644 --- a/tests/micro-tests/test_egeria_6_4_report_specs.py +++ b/tests/micro-tests/test_egeria_6_4_report_specs.py @@ -135,3 +135,17 @@ def test_strict_authoring_validation_checks_and_accepts_the_spec(label): result = validate(SpecDraft(label=label, format_set=base_report_specs[label])) assert "column attributes" in result.checked, (label, result.not_checked) assert not result.errors, (label, result.errors) + + +def test_related_element_keys_contain_every_relationship_fields_key_in_snake_case(): + """A6 follow-up to A4: RELATED_ELEMENT_KEYS is derived from the generated RELATIONSHIP_FIELDS, so a later + Egeria's relationship lists need no hand edit in authoring/validate.py.""" + from pyegeria.authoring.validate import RELATED_ELEMENT_KEYS, _snake + from pyegeria.view.egeria_relationship_fields import RELATIONSHIP_FIELDS + + missing = sorted(_snake(key) for key in RELATIONSHIP_FIELDS if _snake(key) not in RELATED_ELEMENT_KEYS) + assert missing == [] + assert all(key == key.lower() for key in RELATED_ELEMENT_KEYS), "every key is snake_case" + for key in ("decision_outcomes", "inputs_to_decision", "data_value_uses", "data_value_sources", + "embedded_data_values"): + assert key in RELATED_ELEMENT_KEYS From f24b1cf89418b9428c20433b12ddfc4ccde578c2 Mon Sep 17 00:00:00 2001 From: Dan Wolfson Date: Sat, 21 Nov 2026 15:47:31 -0600 Subject: [PATCH 12/19] fix(audit): name setter keys by Jackson's rule, as the PY-45 generator does (A5 follow-up) The audit now reads Egeria's setters with gen_properties_class_fields' own parser: Jackson legacy naming (setURL -> url, setGUID -> guid), @JsonProperty honoured, @JsonIgnore'd, multi-argument and nested-class setters skipped, instead of java.beans decapitalize. This changes 70 classes' setter keys at 90232870b2 but no finding. Two A5 tests relied on table gaps that PY-45 filled (they failed on the merged base); they now plant A0-shaped rows. Runs 3 and 4 are added to the report: 19/11/1 findings, 127 and 129 unclassified. Signed-off-by: Dan Wolfson --- .../properties-class-audit-2026-11-21.md | 8 ++- scripts/audit_properties_class_bodies.py | 51 ++++++++++++------- .../test_audit_properties_class_bodies.py | 40 +++++++++++++-- 3 files changed, 76 insertions(+), 23 deletions(-) diff --git a/docs/audits/properties-class-audit-2026-11-21.md b/docs/audits/properties-class-audit-2026-11-21.md index c0d502465..1e3f55443 100644 --- a/docs/audits/properties-class-audit-2026-11-21.md +++ b/docs/audits/properties-class-audit-2026-11-21.md @@ -99,15 +99,21 @@ Each row is a separate fix item. The ones marked *read* were confirmed by readin ## Runs -Each re-run adds a row here, so the drop in unclassified sites shows over time. The code refs were the same in both runs: egeria-python `6232bcfa`, egeria-workspaces `61251c77`, trellis `b3d9c69d`. +Each re-run adds a row here, so the drop in unclassified sites shows over time. The code refs were the same in runs 1–3: egeria-python `6232bcfa`, egeria-workspaces `61251c77`, trellis `b3d9c69d` (each read with `git archive`). | run | date | Egeria ref (hierarchy, setters) | tables ref | findings (UNREAD / PARENT / NO_CLASS) | unclassified (python / workspaces / trellis) | |---|---|---|---|---|---| | 1 | 2026-11-21 | `c61bad6514` | egeria-python upstream/main `6232bcfa` (generated from `c61bad6514`) | 19 / 11 / 1 | **127** (94 / 12 / 21) | | 2 | 2026-11-21 | `90232870b2` (#9463 merged) | A0 `83e4fb22` (generated from `0dbf468774`, the same tree) | 19 / 11 / 1 | **127** (94 / 12 / 21) | +| 3 | 2026-11-21 | `90232870b2`; **setter keys by Jackson's naming** (A6) | PY-45 `a0f914e4` (setters through the whole chain) | 19 / 11 / 1 | **127** (94 / 12 / 21) | +| 4 | 2026-11-21 | as run 3; egeria-python code = A6 `claude/e64-a6-consolidation` instead of `6232bcfa` | as run 3 | 19 / 11 / 1 | **129** (96 / 12 / 21) | Run 2 gave the same findings as run 1, row for row. #9463 adds new types and endpoints, but none of the bodies we build today use them. A0's table still has every F15 gap, so the generator fix is still needed. +Run 3 changes only how the script names Egeria's setters, and the table. The script now uses gen_properties_class_fields' own parser (PY-45's rule): Jackson's legacy naming (`setURL` → `url`, `setGUID` → `guid`, not java.beans' `URL`), `@JsonProperty` names honoured, and `@JsonIgnore`'d, multi-argument and nested-class setters not counted. That changes the setter keys of 70 Egeria classes at `90232870b2`, but no finding: the 19 / 11 / 1 are the same rows as runs 1 and 2. PY-45's table already has every F15 key, so the "table gaps" section is empty. + +Run 4 scans the A6 code. Its 2 extra unclassified sites are the shared 6.4 checker itself (`pyegeria/core/egeria_6_4_bodies.py` `checked_body`, whose class is a parameter) and DevopsPipeline's Branch keywords body (`e64.BRANCH_PROPERTIES`, a names-module constant). Both are checked at run time by `checked_body` (rules 3 and 4), so neither is a gap. The A1–A3 6.4 wrappers add no finding. + ## Unclassified, in short There are 127 unclassified sites in run 2, all listed below. diff --git a/scripts/audit_properties_class_bodies.py b/scripts/audit_properties_class_bodies.py index e42015dfc..3e47285de 100644 --- a/scripts/audit_properties_class_bodies.py +++ b/scripts/audit_properties_class_bodies.py @@ -220,26 +220,42 @@ def table_source_ref() -> str | None: return m.group(1) if m else None -_SETTER = re.compile(r"public\s+void\s+set(\w+)\s*\(") -_CLASS = re.compile(r"public\s+(?:abstract\s+)?class\s+(\w+)(?:\s*<[^>{]*>)?(?:\s+extends\s+(\w+))?") -def _decapitalize(name: str) -> str: - """java.beans.Introspector.decapitalize, which Jackson uses for setter names.""" - if len(name) > 1 and name[0].isupper() and name[1].isupper(): - return name - return name[:1].lower() + name[1:] +def _generator(): + """scripts/gen_properties_class_fields.py, loaded once: its parser is the one key-naming rule.""" + global _GEN + if _GEN is None: + spec = importlib.util.spec_from_file_location("_gen_pcf", + os.path.join(_HERE, "gen_properties_class_fields.py")) + _GEN = importlib.util.module_from_spec(spec) + spec.loader.exec_module(_GEN) + return _GEN + + +_GEN = None + + +def class_setters(src: str) -> tuple[str, str | None, set[str]] | None: + """(class, superclass, JSON keys) of one Java file's top-level public class, or None. + + The keys are named as Jackson binds them, by gen_properties_class_fields' own parser (the PY-45 rule): + public one-argument setters of the class itself (not nested classes), not @JsonIgnore'd; an + @JsonProperty name wins; otherwise Jackson's legacy naming lower-cases the leading run of capitals, so + setURL is "url" and setGUID "guid" (java.beans' decapitalize would keep "URL").""" + info = _generator().parse(src) + if info is None: + return None + extends = info["extends"].rsplit(".", 1)[-1] if info["extends"] else None + return info["name"], extends, set(info["keys"]) def load_egeria(egeria: str, ref: str) -> tuple[dict[str, str | None], dict[str, set[str]]]: """From Egeria's Java at `ref` (git cat-file, read-only): every frameworks class's superclass, and the - JSON keys it declares a public setter for. Jackson binds through setters (the beans say - `setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE`), so setters are the ground truth; they also - cover package-private fields and superclasses outside the properties packages, which - gen_properties_class_fields' field regex misses.""" - spec = importlib.util.spec_from_file_location("_gen_pcf", os.path.join(_HERE, "gen_properties_class_fields.py")) - gen = importlib.util.module_from_spec(spec) - spec.loader.exec_module(gen) + JSON keys it declares a public setter for (named by `class_setters`, Jackson's rule). Jackson binds + through setters (the beans say `setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE`), so setters are the + ground truth; they also cover superclasses outside the properties packages.""" + gen = _generator() paths = [p for p in gen.git(egeria, "ls-tree", "-r", "--name-only", ref, "--", gen.FRAMEWORKS).decode().split("\n") if p.endswith(".java") and "/src/main/java/" in p] batch = gen.git(egeria, "cat-file", "--batch", stdin="".join(f"{ref}:{p}\n" for p in paths).encode()) @@ -250,11 +266,10 @@ def load_egeria(egeria: str, ref: str) -> tuple[dict[str, str | None], dict[str, start = header_end + 1 src = batch[start:start + size].decode("utf-8", errors="ignore") pos = start + size + 1 - m = _CLASS.search(src) - if not m or m.group(1) in parents: + found = class_setters(src) + if not found or found[0] in parents: continue - parents[m.group(1)] = m.group(2) - setters[m.group(1)] = {_decapitalize(x) for x in _SETTER.findall(src[m.end():])} + parents[found[0]], setters[found[0]] = found[1], found[2] return parents, setters diff --git a/tests/micro-tests/test_audit_properties_class_bodies.py b/tests/micro-tests/test_audit_properties_class_bodies.py index 1982cbf19..b440db045 100644 --- a/tests/micro-tests/test_audit_properties_class_bodies.py +++ b/tests/micro-tests/test_audit_properties_class_bodies.py @@ -189,8 +189,16 @@ def create_source_control_library(client, qn): assert result.findings == [] -def test_class_with_unscanned_superclass_is_unclassified(audit, tmp_path): - """FindPropertyNameProperties inherits from GetOptions, which the table generator doesn't scan.""" +def _plant_table_rows(audit, monkeypatch, **rows): + """Replace rows of the audited table. PY-45 made the generated table complete (setters through the whole + chain), so the gaps these tests need are planted, in A0's pre-PY-45 shape, instead of read live.""" + monkeypatch.setattr(audit, "PROPERTIES_CLASS_FIELDS", {**audit.PROPERTIES_CLASS_FIELDS, **rows}) + + +def test_class_with_unscanned_superclass_is_unclassified(audit, tmp_path, monkeypatch): + """FindPropertyNameProperties inherits from GetOptions, which the table generator didn't scan (A0).""" + _plant_table_rows(audit, monkeypatch, + FindPropertyNameProperties=("other", ("propertyValue", "propertyName"))) result = _run(audit, tmp_path, """ def find(client, v): return client.find({"class": "FindPropertyNameProperties", "propertyValue": v, @@ -245,8 +253,10 @@ def apply(client, kind, qn, lib): assert result.bodies_checked == 2 -def test_setter_known_key_is_not_a_finding_but_a_table_gap(audit, tmp_path): - """ResourceListProperties' fields are package-private, so the table misses them; Jackson binds setters.""" +def test_setter_known_key_is_not_a_finding_but_a_table_gap(audit, tmp_path, monkeypatch): + """ResourceListProperties' fields are package-private, so A0's table missed them; Jackson binds setters.""" + _plant_table_rows(audit, monkeypatch, ResourceListProperties=( + "relationship", ("effectiveFrom", "effectiveTo", "typeName", "extendedProperties"))) repo = tmp_path / "repo" repo.mkdir() (repo / "planted.py").write_text(textwrap.dedent(""" @@ -280,3 +290,25 @@ def publish(client, qn): assert result.findings == [] finally: audit.PROPERTIES_CLASS_FIELDS, audit._TABLE_PATH = saved + + +def test_setter_keys_follow_jacksons_naming_like_the_generator(audit): + """A6 follow-up to A5: setURL is "url" (Jackson's legacy naming, not java.beans' "URL"), @JsonProperty wins, + @JsonIgnore'd and nested-class setters are not keys: the same parser as gen_properties_class_fields.""" + java = textwrap.dedent(""" + package org.odpi.openmetadata.frameworks.openmetadata.properties; + public class BranchishProperties extends org.odpi.x.ClassificationBeanProperties + { + public void setURL(String url) { } + public void setGUID(String guid) { } + public void setDisplayName(String n) { } + @JsonProperty(value = "iscQualifiedName") + public void setISCQualifiedName(String n) { } + @JsonIgnore + public void setHidden(String h) { } + static class Inner { public void setInnerOnly(String x) { } } + } + """) + name, parent, keys = audit.class_setters(java) + assert (name, parent) == ("BranchishProperties", "ClassificationBeanProperties") + assert keys == {"url", "guid", "displayName", "iscQualifiedName"} From 64aa9f7e038dfad431b026dd68c034c62906fa08 Mon Sep 17 00:00:00 2001 From: Dan Wolfson Date: Sat, 21 Nov 2026 16:25:06 -0600 Subject: [PATCH 13/19] feat(dr-egeria): Egeria 6.4 Decision commands (Phase B1, Governance Officer) Create/Update Decision, Link/Detach Decision Outcome and Link/Update/Detach Assessment, through the A6 GovernanceOfficer wrappers (md_processing/v2/ decisions.py). Specs added with the Spec Editor API; templates, help and the Decision-DrE report specs regenerated by refresh_specs. Assessment (multi-link) follows the Architect's section 2 ruling: Link Assessment writes Assessment GUID into the processed document (re-running it updates that assessment rather than adding another); Update/Detach take the GUID, or else Element + Decision + Label (+ Assessment Time) resolved through the Decision's inputsToDecision. Exactly one match proceeds; none or several are refused listing each candidate's GUID, label and assessmentTime. Times compare as UTC instants; a time with no zone is refused with words. Version gate (pyegeria/core/egeria_6_4_gate.py, md_processing/v2/ egeria_6_4.py): on an Egeria before 6.4 (from /api/about; a 6.4-SNAPSHOT built before the #9463 merge counts as before) every new command is a WARNING row saying "needs Egeria 6.4" and nothing is sent. With the version unreadable, a bare HTTP 404 from the request gives the same words. Shared attributes reworded identically in every family that defines them (the loader merges attribute definitions across files): Disposition, Start Time, Last Review Time. GovernanceOfficer.find_decisions joins the reviewed find-method additions (it only reads). generated_format_sets.json gains only the two new entries; the snapshot is fully regenerated at release bumps. Tests: each command's document runs through the real extractor, dispatcher, processor and A6 wrapper with the HTTP call captured, checking the exact body; the assessment picking rules; the gate for every B1 command; the attribute-consumption audit. Signed-off-by: Dan Wolfson --- docs/dr_egeria_manual.md | 3 + .../commands_collections_compact.json | 4 +- .../commands_curation_compact.json | 8 +- .../commands_governance_officer_compact.json | 411 +++ .../commands_security_officer_compact.json | 4 +- md_processing/data/generated_format_sets.json | 3160 ++++++++++++++++- md_processing/dr_egeria.py | 6 + md_processing/v2/decisions.py | 272 ++ md_processing/v2/egeria_6_4.py | 196 + pyegeria/core/egeria_6_4_gate.py | 126 + pyegeria/view/base_report_formats.py | 2 + pyegeria/view/dr_egeria_reports.py | 2 + pyegeria/view/microflow.py | 4 + pyegeria/view/seed/Governance Officer.json | 206 ++ pyegeria/view/seed/manifest.json | 6 +- .../Collections/Create_Working_Set.md | 2 +- .../advanced/Curation/Classify_Promise.md | 4 +- .../Governance Officer/Create_Decision.md | 520 +++ .../Governance Officer/Detach_Assessment.md | 122 + .../Detach_Decision_Outcome.md | 94 + .../Governance Officer/Link_Assessment.md | 200 ++ .../Link_Decision_Outcome.md | 146 + .../Governance Officer/Update_Assessment.md | 360 ++ .../Security Officer/Create_Survey_Report.md | 2 +- .../basic/Collections/Create_Working_Set.md | 2 +- .../basic/Curation/Classify_Promise.md | 4 +- .../Governance Officer/Create_Decision.md | 212 ++ .../Governance Officer/Detach_Assessment.md | 58 + .../Detach_Decision_Outcome.md | 30 + .../Governance Officer/Link_Assessment.md | 106 + .../Link_Decision_Outcome.md | 64 + .../Security Officer/Create_Survey_Report.md | 2 +- tests/micro-tests/e64_dre_harness.py | 104 + .../test_e64_b1_dr_egeria_decisions.py | 463 +++ 34 files changed, 6885 insertions(+), 20 deletions(-) create mode 100644 md_processing/v2/decisions.py create mode 100644 md_processing/v2/egeria_6_4.py create mode 100644 pyegeria/core/egeria_6_4_gate.py create mode 100644 sample-data/templates/advanced/Governance Officer/Create_Decision.md create mode 100644 sample-data/templates/advanced/Governance Officer/Detach_Assessment.md create mode 100644 sample-data/templates/advanced/Governance Officer/Detach_Decision_Outcome.md create mode 100644 sample-data/templates/advanced/Governance Officer/Link_Assessment.md create mode 100644 sample-data/templates/advanced/Governance Officer/Link_Decision_Outcome.md create mode 100644 sample-data/templates/advanced/Governance Officer/Update_Assessment.md create mode 100644 sample-data/templates/basic/Governance Officer/Create_Decision.md create mode 100644 sample-data/templates/basic/Governance Officer/Detach_Assessment.md create mode 100644 sample-data/templates/basic/Governance Officer/Detach_Decision_Outcome.md create mode 100644 sample-data/templates/basic/Governance Officer/Link_Assessment.md create mode 100644 sample-data/templates/basic/Governance Officer/Link_Decision_Outcome.md create mode 100644 tests/micro-tests/e64_dre_harness.py create mode 100644 tests/micro-tests/test_e64_b1_dr_egeria_decisions.py diff --git a/docs/dr_egeria_manual.md b/docs/dr_egeria_manual.md index 95c7720e2..f71ec3de9 100644 --- a/docs/dr_egeria_manual.md +++ b/docs/dr_egeria_manual.md @@ -301,6 +301,9 @@ Dr.Egeria organizes its commands into "families," each corresponding to a specif - **Correction, 2026-09-16:** the paragraph above's `Create Information Supply Chain`/`Create Solution Component` sync was itself wrong — `In Information Supply Chain` (on `Create Solution Component`) and `Implemented By` (on `Create Information Supply Chain`) were both syncing via `ImplementedBy` (the mechanism `Link Implemented By` legitimately uses), when `InformationSupplyChain` is a Collection subtype and these two attributes are ordinary collection membership. Reported live: 71 components each carrying `In Information Supply Chain` fanned each chain out to 143 `ImplementedBy` links, alongside the 47 correct `CollectionMembership`s from explicit `Add Member` blocks. Both sync points (`SolutionComponentProcessor._sync_all_rels`'s "Supply Chains" block and `SupplyChainProcessor._sync_rels`'s "Implemented By" block, `solution_architect.py`) now call `_async_add_to_collection`/`_async_remove_from_collection` with `CollectionMembershipProperties`, matching every other ISC membership sync in this file. Pre-existing bad `ImplementedBy` links created before this fix are not auto-cleaned — the as-is fetch now reads `collectionMembers`, not `implementedBy`, so a re-sync no longer sees or touches them; removing them is a separate one-off cleanup against affected servers. - **Lineage Linker** (added 2026-09-16): Create/update/detach the seven Lineage Linker OMVS relationship types (0750/0755/0770 — DataFlow, ControlFlow, ProcessCall, LineageMapping, DataMapping, UltimateSource, UltimateDestination) between two elements, e.g. `Link Data Flow`, `Update Process Call`, `Link Data Mapping`. One dedicated `Link`/`Update` command pair per type (each with only its own type's attributes — Guard/Mandatory Guard for `Control Flow`; Query/Query ID/Query Type for `Data Mapping`; One Way/Integration Style/Protocol/Frequency/Data Exchanged, reused from Solution Architect's `SolutionLinkingWire` attributes, for the rest), plus one shared `Unlink Lineage Relationship` command since detaching only needs the relationship's own GUID. Split from an earlier single generic command triple that used a `Lineage Relationship Type` selector attribute offering every type's attributes regardless of which type was picked. The split also surfaced and fixed a real gap: the pyegeria SDK's `DataFlowProperties`/`ProcessCallProperties`/`LineageMappingProperties`/`UltimateSourceProperties`/`UltimateDestinationProperties` (`pyegeria/omvs/lineage_linker.py`) were missing `oneWay`/`integrationStyle`/`protocol`/`frequency`/`dataExchanged` (and `ProcessCallProperties` was missing `lineNumber`) entirely — real fields on the Egeria DTOs (`DataLineageRelationshipProperties`/`ProcessCallProperties.java`) that had no home on the pydantic model, so a caller passing them would validate silently and have them dropped before serialization (the `PyegeriaModel` `extra='ignore'` gotcha — see the SDK section below). - **Governance Officer**: Manage governance definitions, policies, and responsibilities. + - **Decisions** (Egeria 6.4, odpi/egeria#9463, model 0018; processors in `md_processing/v2/decisions.py`): `Create`/`Update Decision` (an AuthoredReferenceable with Summary, Scope, Usage, Importance, Disposition, Implications, Notes and Start / Last Review / Next Review / Expiry Time); `Link`/`Detach Decision Outcome` (the Outcome relationship, Decision → any element, with Label, Description, Importance, Disposition); `Link`/`Update`/`Detach Assessment` (the Assessment relationship, element → Decision, with Assessor, Assessor Type Name, Assessor Property Name, Assessment Time, Expiry Time, Notes, Additional Properties). + - Assessment is **multi-link**: the same element can be assessed for a decision many times, so one assessment is identified by its own `Assessment GUID`. `Link Assessment` writes it into the processed document, and running that document again updates the assessment instead of adding another. `Update`/`Detach Assessment` take the `Assessment GUID`, or else `Element` + `Decision` + `Label` (+ `Assessment Time` when more than one matches), found in the decision's assessed inputs (`inputsToDecision`). Exactly one match proceeds; none, or several, is refused with the candidates listed (GUID, label, assessmentTime). Times are compared as UTC instants, and an Assessment Time with no zone is refused. + - On an Egeria before 6.4 every one of these commands is refused with "needs Egeria 6.4" (a WARNING row; nothing is sent). The platform version comes from `/api/about` (`pyegeria/core/egeria_6_4_gate.py`); when it can't be read, a bare HTTP 404 from the request gives the same words. - **Security Officer** (added 2026-10-26, Egeria 6.3): Statements of applicability — the record of which controls from a standard (such as ISO/IEC 27001 Annex A) apply to the organization, why, and how far each is implemented. Processors in `md_processing/v2/security_officer.py`. - `Create`/`Update Statement of Applicability`: an AuthoredReferenceable with `Scope`, `Review Date`, `Authors` and `Content Status` (set APPROVED before an audit). `Certification Standard` links the certification type it is assessed against (GovernedBy); `Scoped By` links the organization, site or system it covers (ScopedBy). Leaving either out leaves its links alone; `Merge Update: false` also removes links the command no longer lists. - Security testing results (model 0665): `Create`/`Update Survey Report` catalogues one test run, through Asset Maker. It takes Category (e.g. Penetration Test Results), Purpose, Start Time and Completion Time; `Report Subjects` links the assets the run tested (ReportSubject). `Create`/`Update Security Finding`, `Vulnerability Finding` and `Penetration Test Finding` each create one finding under its `Survey Report` (ReportedAnnotation, required), with Severity (the CVSS ratings None/Low/Medium/High/Critical), CVSS Score and the type's own fields. `Affected Elements` links catalogued elements (AssociatedAnnotation), `Previous Finding` links the same finding in an earlier run (AnnotationExtension), and `Vulnerability Type` links a reference data value (ReferenceValueAssignment). `Create Security Posture Summary` records a run's counts: `Finding Counts By Severity` takes one `severity: count` pair per line. Egeria stores the CVSS score, exploit/patch flags and posture counts as primitives, so a merge update that leaves one out would reset it to 0 / false; these commands copy the current value into the update to prevent that (ISSUE-166). Processors in `md_processing/v2/security_officer.py`. diff --git a/md_processing/data/compact_commands/commands_collections_compact.json b/md_processing/data/compact_commands/commands_collections_compact.json index 7bd9ca410..01a674470 100644 --- a/md_processing/data/compact_commands/commands_collections_compact.json +++ b/md_processing/data/compact_commands/commands_collections_compact.json @@ -2262,7 +2262,7 @@ "default_value": "", "valid_values": [], "existing_element": "", - "description": "The status of the elements in the working set.", + "description": "The disposition: what was decided, or the current state of the item (for a working set, the status of its elements; for a decision or an outcome, what it settled).", "generated": false, "style": "Simple", "user_specified": true, @@ -2271,7 +2271,7 @@ "min_cardinality": 0, "max_cardinality": 1, "level": "Domain", - "Journal Entry": "" + "Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 Decision commands can share it." }, "Business Capability Type": { "variable_name": "business_capability_type", diff --git a/md_processing/data/compact_commands/commands_curation_compact.json b/md_processing/data/compact_commands/commands_curation_compact.json index 06d597e19..effe64f98 100644 --- a/md_processing/data/compact_commands/commands_curation_compact.json +++ b/md_processing/data/compact_commands/commands_curation_compact.json @@ -2900,7 +2900,7 @@ "default_value": "", "valid_values": [], "existing_element": "", - "description": "Date/time (ISO 8601) that the work started - for a promise, work on delivering the promised resource; for a report, the run that produced it.", + "description": "Date/time (ISO 8601) that the work or decision started - for a promise, work on delivering the promised resource; for a report, the run that produced it; for a decision, when it took effect.", "generated": false, "style": "Simple", "user_specified": true, @@ -2909,7 +2909,7 @@ "min_cardinality": 0, "max_cardinality": 1, "level": "Domain", - "Journal Entry": "Added 2026-09-30 -- Promise classification (0010), Classification Explorer setElementAsPromise." + "Journal Entry": "Added 2026-09-30 -- Promise classification (0010), Classification Explorer setElementAsPromise. Reworded 2026-11-21 so the Egeria 6.4 Decision commands can share it." }, "Last Review Time": { "variable_name": "last_review_time", @@ -2919,7 +2919,7 @@ "default_value": "", "valid_values": [], "existing_element": "", - "description": "Date/time (ISO 8601) that the promise was last reviewed.", + "description": "Date/time (ISO 8601) that the element (a promise, a decision) was last reviewed.", "generated": false, "style": "Simple", "user_specified": true, @@ -2928,7 +2928,7 @@ "min_cardinality": 0, "max_cardinality": 1, "level": "Domain", - "Journal Entry": "Added 2026-09-30 -- Promise classification (0010), Classification Explorer setElementAsPromise." + "Journal Entry": "Added 2026-09-30 -- Promise classification (0010), Classification Explorer setElementAsPromise. Reworded 2026-11-21 so the Egeria 6.4 Decision commands can share it." }, "Completion Time": { "variable_name": "completion_time", diff --git a/md_processing/data/compact_commands/commands_governance_officer_compact.json b/md_processing/data/compact_commands/commands_governance_officer_compact.json index 3d7570111..01977aa32 100644 --- a/md_processing/data/compact_commands/commands_governance_officer_compact.json +++ b/md_processing/data/compact_commands/commands_governance_officer_compact.json @@ -3643,6 +3643,253 @@ "max_cardinality": 1, "level": "Domain", "Journal Entry": "" + }, + "Disposition": { + "variable_name": "disposition", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The disposition: what was decided, or the current state of the item (for a working set, the status of its elements; for a decision or an outcome, what it settled).", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 Decision commands can share it." + }, + "Start Time": { + "variable_name": "start_time", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "Date/time (ISO 8601) that the work or decision started - for a promise, work on delivering the promised resource; for a report, the run that produced it; for a decision, when it took effect.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-09-30 -- Promise classification (0010), Classification Explorer setElementAsPromise. Reworded 2026-11-21 so the Egeria 6.4 Decision commands can share it." + }, + "Last Review Time": { + "variable_name": "last_review_time", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "Date/time (ISO 8601) that the element (a promise, a decision) was last reviewed.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-09-30 -- Promise classification (0010), Classification Explorer setElementAsPromise. Reworded 2026-11-21 so the Egeria 6.4 Decision commands can share it." + }, + "Next Review Time": { + "variable_name": "next_review_time", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "Date/time (ISO 8601) that the decision is next due for review.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0018 Decisions." + }, + "Expiry Time": { + "variable_name": "expiry_time", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "Date/time (ISO 8601) after which the decision or assessment no longer applies.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0018 Decisions." + }, + "Decision": { + "variable_name": "decision", + "inUpdate": true, + "attr_labels": "", + "examples": "Decision::adopt-egeria-6.4", + "default_value": "", + "valid_values": [], + "existing_element": "Decision", + "description": "The decision: its qualified name, display name or GUID.", + "generated": false, + "style": "Reference Name", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0018 Decisions." + }, + "Outcome": { + "variable_name": "outcome", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "Referenceable", + "description": "The element that is an outcome of the decision (any Referenceable): its qualified name, display name or GUID.", + "generated": false, + "style": "Reference Name", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0018 Decisions." + }, + "Element": { + "variable_name": "element", + "inUpdate": true, + "attr_labels": "Assessed Element", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "Referenceable", + "description": "The element at the other end of the relationship (any Referenceable): its qualified name, display name or GUID. For an assessment, the element that was assessed.", + "generated": false, + "style": "Reference Name", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0018 Decisions." + }, + "Assessment GUID": { + "variable_name": "assessment_guid", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The GUID of the Assessment relationship, as Link Assessment writes it into the processed document. Identifies one assessment exactly: the same element can be assessed for a decision many times.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0018 Decisions." + }, + "Assessor": { + "variable_name": "assessor", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "Who or what made the assessment (a name or GUID).", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0018 Decisions." + }, + "Assessor Type Name": { + "variable_name": "assessor_type_name", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The type name of the assessor element.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0018 Decisions." + }, + "Assessor Property Name": { + "variable_name": "assessor_property_name", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The property of the assessor element that identifies it (e.g. qualifiedName).", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0018 Decisions." + }, + "Assessment Time": { + "variable_name": "assessment_time", + "inUpdate": true, + "attr_labels": "", + "examples": "2026-11-21T10:00:00Z", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "Date/time of the assessment, ISO 8601 with a zone (e.g. 2026-11-21T10:00:00Z); a time with no zone is refused. With Element, Decision and Label it can pick one assessment when no Assessment GUID is given.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0018 Decisions." } }, "bundles": { @@ -4847,6 +5094,170 @@ "Start Date" ], "Journal Entry": "" + }, + "Create Decision": { + "display_name": "Decision", + "qn_prefix": "Decision", + "alternate_names": [], + "family": "Governance Officer", + "description": "Create or update a Decision (Egeria 6.4): a choice that was made, with its summary, scope, importance, disposition, implications and review dates. Needs Egeria 6.4.", + "verb": "Create", + "upsert": false, + "attach": false, + "level": "Basic", + "find_method": "GovernanceOfficer.find_decisions", + "find_constraints": "", + "extra_find": "", + "extra_constraints": "", + "OM_TYPE": "Decision", + "bundle": "Authored Referenceable", + "custom_attributes": [ + "Summary", + "Scope", + "Usage", + "Importance", + "Disposition", + "Implications", + "Notes", + "Start Time", + "Last Review Time", + "Next Review Time", + "Expiry Time" + ], + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0018 Decisions." + }, + "Link Decision Outcome": { + "display_name": "Decision Outcome", + "qn_prefix": "", + "alternate_names": [], + "family": "Governance Officer", + "description": "Record that an element is an outcome of a decision (the Outcome relationship, Decision to any Referenceable). Needs Egeria 6.4.", + "verb": "Link", + "upsert": false, + "attach": true, + "level": "Basic", + "find_method": "", + "find_constraints": "", + "extra_find": "", + "extra_constraints": "", + "OM_TYPE": "Outcome", + "bundle": "Link Command Base", + "custom_attributes": [ + "Decision", + "Outcome", + "Importance", + "Disposition" + ], + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0018 Decisions." + }, + "Detach Decision Outcome": { + "display_name": "Decision Outcome", + "qn_prefix": "", + "alternate_names": [], + "family": "Governance Officer", + "description": "Remove the Outcome relationship between a decision and an element. Needs Egeria 6.4.", + "verb": "Detach", + "upsert": false, + "attach": false, + "level": "Basic", + "find_method": "", + "find_constraints": "", + "extra_find": "", + "extra_constraints": "", + "OM_TYPE": "Outcome", + "bundle": "Request Base", + "custom_attributes": [ + "Decision", + "Outcome" + ], + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0018 Decisions." + }, + "Link Assessment": { + "display_name": "Assessment", + "qn_prefix": "", + "alternate_names": [], + "family": "Governance Officer", + "description": "Record an assessment of an element that contributes to a decision (the Assessment relationship, multi-link: the same element can be assessed many times). The processed document carries the new Assessment GUID; re-running it with that GUID updates that assessment instead of adding another. Needs Egeria 6.4.", + "verb": "Link", + "upsert": false, + "attach": true, + "level": "Basic", + "find_method": "", + "find_constraints": "", + "extra_find": "", + "extra_constraints": "", + "OM_TYPE": "Assessment", + "bundle": "Link Command Base", + "custom_attributes": [ + "Element", + "Decision", + "Assessment GUID", + "Assessor", + "Assessor Type Name", + "Assessor Property Name", + "Assessment Time", + "Expiry Time", + "Notes", + "Additional Properties" + ], + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0018 Decisions." + }, + "Update Assessment": { + "display_name": "Assessment", + "qn_prefix": "", + "alternate_names": [], + "family": "Governance Officer", + "description": "Update one Assessment relationship: by its Assessment GUID, or else by Element + Decision + Label (+ Assessment Time when more than one matches), resolved through the decision's assessed inputs. Zero or several matches are refused, listing the candidates. Needs Egeria 6.4.", + "verb": "Update", + "upsert": false, + "attach": false, + "level": "Advanced", + "find_method": "", + "find_constraints": "", + "extra_find": "", + "extra_constraints": "", + "OM_TYPE": "Assessment", + "bundle": "Request Base", + "custom_attributes": [ + "Assessment GUID", + "Element", + "Decision", + "Label", + "Description", + "Assessor", + "Assessor Type Name", + "Assessor Property Name", + "Assessment Time", + "Expiry Time", + "Notes", + "Additional Properties" + ], + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0018 Decisions." + }, + "Detach Assessment": { + "display_name": "Assessment", + "qn_prefix": "", + "alternate_names": [], + "family": "Governance Officer", + "description": "Remove one Assessment relationship: by its Assessment GUID, or else by Element + Decision + Label (+ Assessment Time when more than one matches). Zero or several matches are refused, listing the candidates. Needs Egeria 6.4.", + "verb": "Detach", + "upsert": false, + "attach": false, + "level": "Basic", + "find_method": "", + "find_constraints": "", + "extra_find": "", + "extra_constraints": "", + "OM_TYPE": "Assessment", + "bundle": "Request Base", + "custom_attributes": [ + "Assessment GUID", + "Element", + "Decision", + "Label", + "Assessment Time" + ], + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0018 Decisions." } } } diff --git a/md_processing/data/compact_commands/commands_security_officer_compact.json b/md_processing/data/compact_commands/commands_security_officer_compact.json index 8579cecba..54a20e6e8 100644 --- a/md_processing/data/compact_commands/commands_security_officer_compact.json +++ b/md_processing/data/compact_commands/commands_security_officer_compact.json @@ -1145,7 +1145,7 @@ "default_value": "", "valid_values": [], "existing_element": "", - "description": "Date/time (ISO 8601) that the work started - for a promise, work on delivering the promised resource; for a report, the run that produced it.", + "description": "Date/time (ISO 8601) that the work or decision started - for a promise, work on delivering the promised resource; for a report, the run that produced it; for a decision, when it took effect.", "generated": false, "style": "Simple", "user_specified": true, @@ -1154,7 +1154,7 @@ "min_cardinality": 0, "max_cardinality": 1, "level": "Domain", - "Journal Entry": "Added 2026-09-30 -- Promise classification (0010), Classification Explorer setElementAsPromise." + "Journal Entry": "Added 2026-09-30 -- Promise classification (0010), Classification Explorer setElementAsPromise. Reworded 2026-11-21 so the Egeria 6.4 Decision commands can share it." }, "Completion Time": { "variable_name": "completion_time", diff --git a/md_processing/data/generated_format_sets.json b/md_processing/data/generated_format_sets.json index 69d878f31..49cab751f 100644 --- a/md_processing/data/generated_format_sets.json +++ b/md_processing/data/generated_format_sets.json @@ -200035,6 +200035,3164 @@ "get_additional_props": null, "question_spec": null }, + "Decision-DrE-Basic": { + "target_type": "Decision", + "heading": "Decision-DrE-Basic Attributes", + "description": "Auto-generated format for Decision (Create, Basic).", + "aliases": [], + "annotations": {}, + "family": "Governance Officer", + "formats": [ + { + "types": [ + "LIST" + ], + "attributes": [ + { + "name": "Display Name", + "key": "display_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Qualified Name", + "key": "qualified_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "GUID", + "key": "guid", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Zone Membership", + "key": "zone_membership", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Description", + "key": "description", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Legal", + "key": "legal", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Authors", + "key": "authors", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Summary", + "key": "summary", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Scope", + "key": "scope", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Usage", + "key": "usage", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Importance", + "key": "importance", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Disposition", + "key": "disposition", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Implications", + "key": "implications", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Notes", + "key": "notes", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Start Time", + "key": "start_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Last Review Time", + "key": "last_review_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Next Review Time", + "key": "next_review_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Expiry Time", + "key": "expiry_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Version Identifier", + "key": "version_identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Content Status", + "key": "content_status", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "DRAFT", + "PREPARED", + "PROPOSED", + "APPROVED", + "REJECTED", + "ACTIVE", + "DEPRECATED", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Category", + "key": "category", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + } + ], + "document": null, + "columns": [ + { + "name": "Display Name", + "key": "display_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Qualified Name", + "key": "qualified_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "GUID", + "key": "guid", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Zone Membership", + "key": "zone_membership", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Description", + "key": "description", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Legal", + "key": "legal", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Authors", + "key": "authors", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Summary", + "key": "summary", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Scope", + "key": "scope", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Usage", + "key": "usage", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Importance", + "key": "importance", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Disposition", + "key": "disposition", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Implications", + "key": "implications", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Notes", + "key": "notes", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Start Time", + "key": "start_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Last Review Time", + "key": "last_review_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Next Review Time", + "key": "next_review_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Expiry Time", + "key": "expiry_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Version Identifier", + "key": "version_identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Content Status", + "key": "content_status", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "DRAFT", + "PREPARED", + "PROPOSED", + "APPROVED", + "REJECTED", + "ACTIVE", + "DEPRECATED", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Category", + "key": "category", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + } + ] + }, + { + "types": [ + "ALL" + ], + "attributes": [ + { + "name": "Zone Membership", + "key": "zone_membership", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Category", + "key": "category", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Description", + "key": "description", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Display Name", + "key": "display_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "GUID", + "key": "guid", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Legal", + "key": "legal", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Qualified Name", + "key": "qualified_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "URL", + "key": "url", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Version Identifier", + "key": "version_identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Authors", + "key": "authors", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Content Status", + "key": "content_status", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "DRAFT", + "PREPARED", + "PROPOSED", + "APPROVED", + "REJECTED", + "ACTIVE", + "DEPRECATED", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Summary", + "key": "summary", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Scope", + "key": "scope", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Usage", + "key": "usage", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Importance", + "key": "importance", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Disposition", + "key": "disposition", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Implications", + "key": "implications", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Notes", + "key": "notes", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Start Time", + "key": "start_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Last Review Time", + "key": "last_review_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Next Review Time", + "key": "next_review_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Expiry Time", + "key": "expiry_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + } + ], + "document": null, + "columns": [ + { + "name": "Zone Membership", + "key": "zone_membership", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Category", + "key": "category", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Description", + "key": "description", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Display Name", + "key": "display_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "GUID", + "key": "guid", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Legal", + "key": "legal", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Qualified Name", + "key": "qualified_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "URL", + "key": "url", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Version Identifier", + "key": "version_identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Authors", + "key": "authors", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Content Status", + "key": "content_status", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "DRAFT", + "PREPARED", + "PROPOSED", + "APPROVED", + "REJECTED", + "ACTIVE", + "DEPRECATED", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Summary", + "key": "summary", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Scope", + "key": "scope", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Usage", + "key": "usage", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Importance", + "key": "importance", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Disposition", + "key": "disposition", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Implications", + "key": "implications", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Notes", + "key": "notes", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Start Time", + "key": "start_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Last Review Time", + "key": "last_review_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Next Review Time", + "key": "next_review_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Expiry Time", + "key": "expiry_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + } + ] + } + ], + "action": { + "function": "GovernanceOfficer.find_decisions", + "required_params": [ + "search_string" + ], + "optional_params": [ + "sequencing_order", + "sequencing_property", + "page_size", + "start_from", + "starts_with", + "ends_with", + "ignore_case", + "classification_names", + "metadata_element_subtypes", + "metadata_element_type" + ], + "spec_params": {}, + "analytic_function": null, + "analytic_spec_params": {} + }, + "get_additional_props": null, + "question_spec": null + }, + "Decision-DrE-Advanced": { + "target_type": "Decision", + "heading": "Decision-DrE-Advanced Attributes", + "description": "Auto-generated format for Decision (Create, Advanced).", + "aliases": [], + "annotations": {}, + "family": "Governance Officer", + "formats": [ + { + "types": [ + "LIST" + ], + "attributes": [ + { + "name": "Display Name", + "key": "display_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Qualified Name", + "key": "qualified_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "GUID", + "key": "guid", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Effective From", + "key": "effective_from", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Effective Time", + "key": "effective_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Effective To", + "key": "effective_to", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Glossary Term", + "key": "glossary_term", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Is Own Anchor", + "key": "is_own_anchor", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Zone Membership", + "key": "zone_membership", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Additional Properties", + "key": "additional_properties", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Confidence Classification", + "key": "confidence_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "AD_HOC", + "TRANSACTIONAL", + "AUTHORITATIVE", + "DERIVED", + "OBSOLETE", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Confidentiality Classification", + "key": "confidentiality_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "INTERNAL", + "CONFIDENTIAL", + "SENSITIVE", + "RESTRICTED", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Criticality Classification", + "key": "criticality_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "MARGINAL", + "IMPORTANT", + "CRITICAL", + "CATASTROPHIC", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Description", + "key": "description", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Identifier", + "key": "identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Impact Classification", + "key": "impact_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "LOW", + "MEDIUM", + "HIGH", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Legal", + "key": "legal", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Policy Management Point", + "key": "policy_management_point", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Retention Classification", + "key": "retention_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "TEMPORARY", + "PROJECT_LIFETIME", + "TEAM_LIFETIME", + "CONTRACT_LIFETIME", + "REGULATED_LIFETIME", + "TIMEBOXED_LIFETIME", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Security Tags", + "key": "security_tags", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Authors", + "key": "authors", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Summary", + "key": "summary", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Scope", + "key": "scope", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Usage", + "key": "usage", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Importance", + "key": "importance", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Disposition", + "key": "disposition", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Implications", + "key": "implications", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Notes", + "key": "notes", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Start Time", + "key": "start_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Last Review Time", + "key": "last_review_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Next Review Time", + "key": "next_review_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Expiry Time", + "key": "expiry_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Version Identifier", + "key": "version_identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Status", + "key": "status", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Content Status", + "key": "content_status", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "DRAFT", + "PREPARED", + "PROPOSED", + "APPROVED", + "REJECTED", + "ACTIVE", + "DEPRECATED", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "User Defined Content Status", + "key": "user_defined_content_status", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Category", + "key": "category", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + } + ], + "document": null, + "columns": [ + { + "name": "Display Name", + "key": "display_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Qualified Name", + "key": "qualified_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "GUID", + "key": "guid", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Effective From", + "key": "effective_from", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Effective Time", + "key": "effective_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Effective To", + "key": "effective_to", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Glossary Term", + "key": "glossary_term", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Is Own Anchor", + "key": "is_own_anchor", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Zone Membership", + "key": "zone_membership", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Additional Properties", + "key": "additional_properties", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Confidence Classification", + "key": "confidence_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "AD_HOC", + "TRANSACTIONAL", + "AUTHORITATIVE", + "DERIVED", + "OBSOLETE", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Confidentiality Classification", + "key": "confidentiality_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "INTERNAL", + "CONFIDENTIAL", + "SENSITIVE", + "RESTRICTED", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Criticality Classification", + "key": "criticality_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "MARGINAL", + "IMPORTANT", + "CRITICAL", + "CATASTROPHIC", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Description", + "key": "description", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Identifier", + "key": "identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Impact Classification", + "key": "impact_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "LOW", + "MEDIUM", + "HIGH", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Legal", + "key": "legal", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Policy Management Point", + "key": "policy_management_point", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Retention Classification", + "key": "retention_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "TEMPORARY", + "PROJECT_LIFETIME", + "TEAM_LIFETIME", + "CONTRACT_LIFETIME", + "REGULATED_LIFETIME", + "TIMEBOXED_LIFETIME", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Security Tags", + "key": "security_tags", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Authors", + "key": "authors", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Summary", + "key": "summary", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Scope", + "key": "scope", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Usage", + "key": "usage", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Importance", + "key": "importance", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Disposition", + "key": "disposition", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Implications", + "key": "implications", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Notes", + "key": "notes", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Start Time", + "key": "start_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Last Review Time", + "key": "last_review_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Next Review Time", + "key": "next_review_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Expiry Time", + "key": "expiry_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Version Identifier", + "key": "version_identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Status", + "key": "status", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Content Status", + "key": "content_status", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "DRAFT", + "PREPARED", + "PROPOSED", + "APPROVED", + "REJECTED", + "ACTIVE", + "DEPRECATED", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "User Defined Content Status", + "key": "user_defined_content_status", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Category", + "key": "category", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + } + ] + }, + { + "types": [ + "ALL" + ], + "attributes": [ + { + "name": "Effective From", + "key": "effective_from", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Effective Time", + "key": "effective_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Effective To", + "key": "effective_to", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Glossary Term", + "key": "glossary_term", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Is Own Anchor", + "key": "is_own_anchor", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Status", + "key": "status", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Zone Membership", + "key": "zone_membership", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Additional Properties", + "key": "additional_properties", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Category", + "key": "category", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Confidence Classification", + "key": "confidence_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "AD_HOC", + "TRANSACTIONAL", + "AUTHORITATIVE", + "DERIVED", + "OBSOLETE", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Confidentiality Classification", + "key": "confidentiality_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "INTERNAL", + "CONFIDENTIAL", + "SENSITIVE", + "RESTRICTED", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Criticality Classification", + "key": "criticality_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "MARGINAL", + "IMPORTANT", + "CRITICAL", + "CATASTROPHIC", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Description", + "key": "description", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Display Name", + "key": "display_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "GUID", + "key": "guid", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Identifier", + "key": "identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Impact Classification", + "key": "impact_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "LOW", + "MEDIUM", + "HIGH", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Legal", + "key": "legal", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Policy Management Point", + "key": "policy_management_point", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Qualified Name", + "key": "qualified_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Retention Classification", + "key": "retention_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "TEMPORARY", + "PROJECT_LIFETIME", + "TEAM_LIFETIME", + "CONTRACT_LIFETIME", + "REGULATED_LIFETIME", + "TIMEBOXED_LIFETIME", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Security Tags", + "key": "security_tags", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "URL", + "key": "url", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Version Identifier", + "key": "version_identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Authors", + "key": "authors", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Content Status", + "key": "content_status", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "DRAFT", + "PREPARED", + "PROPOSED", + "APPROVED", + "REJECTED", + "ACTIVE", + "DEPRECATED", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "User Defined Content Status", + "key": "user_defined_content_status", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Summary", + "key": "summary", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Scope", + "key": "scope", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Usage", + "key": "usage", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Importance", + "key": "importance", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Disposition", + "key": "disposition", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Implications", + "key": "implications", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Notes", + "key": "notes", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Start Time", + "key": "start_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Last Review Time", + "key": "last_review_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Next Review Time", + "key": "next_review_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Expiry Time", + "key": "expiry_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + } + ], + "document": null, + "columns": [ + { + "name": "Effective From", + "key": "effective_from", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Effective Time", + "key": "effective_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Effective To", + "key": "effective_to", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Glossary Term", + "key": "glossary_term", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Is Own Anchor", + "key": "is_own_anchor", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Status", + "key": "status", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Zone Membership", + "key": "zone_membership", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Additional Properties", + "key": "additional_properties", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Category", + "key": "category", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Confidence Classification", + "key": "confidence_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "AD_HOC", + "TRANSACTIONAL", + "AUTHORITATIVE", + "DERIVED", + "OBSOLETE", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Confidentiality Classification", + "key": "confidentiality_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "INTERNAL", + "CONFIDENTIAL", + "SENSITIVE", + "RESTRICTED", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Criticality Classification", + "key": "criticality_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "MARGINAL", + "IMPORTANT", + "CRITICAL", + "CATASTROPHIC", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Description", + "key": "description", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Display Name", + "key": "display_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "GUID", + "key": "guid", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Identifier", + "key": "identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Impact Classification", + "key": "impact_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "LOW", + "MEDIUM", + "HIGH", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Legal", + "key": "legal", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Policy Management Point", + "key": "policy_management_point", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Qualified Name", + "key": "qualified_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Retention Classification", + "key": "retention_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "TEMPORARY", + "PROJECT_LIFETIME", + "TEAM_LIFETIME", + "CONTRACT_LIFETIME", + "REGULATED_LIFETIME", + "TIMEBOXED_LIFETIME", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Security Tags", + "key": "security_tags", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "URL", + "key": "url", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Version Identifier", + "key": "version_identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Authors", + "key": "authors", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Content Status", + "key": "content_status", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "DRAFT", + "PREPARED", + "PROPOSED", + "APPROVED", + "REJECTED", + "ACTIVE", + "DEPRECATED", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "User Defined Content Status", + "key": "user_defined_content_status", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Summary", + "key": "summary", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Scope", + "key": "scope", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Usage", + "key": "usage", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Importance", + "key": "importance", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Disposition", + "key": "disposition", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Implications", + "key": "implications", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Notes", + "key": "notes", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Start Time", + "key": "start_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Last Review Time", + "key": "last_review_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Next Review Time", + "key": "next_review_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Expiry Time", + "key": "expiry_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + } + ] + } + ], + "action": { + "function": "GovernanceOfficer.find_decisions", + "required_params": [ + "search_string" + ], + "optional_params": [ + "sequencing_order", + "sequencing_property", + "page_size", + "start_from", + "starts_with", + "ends_with", + "ignore_case", + "classification_names", + "metadata_element_subtypes", + "metadata_element_type" + ], + "spec_params": {}, + "analytic_function": null, + "analytic_spec_params": {} + }, + "get_additional_props": null, + "question_spec": null + }, "Type-Def-DrE-Basic": { "target_type": "Type Def", "heading": "Type-Def-DrE-Basic Attributes", @@ -278423,4 +281581,4 @@ "get_additional_props": null, "question_spec": null } -} \ No newline at end of file +} diff --git a/md_processing/dr_egeria.py b/md_processing/dr_egeria.py index 6dec87537..12d214407 100644 --- a/md_processing/dr_egeria.py +++ b/md_processing/dr_egeria.py @@ -418,6 +418,12 @@ def reg(base, cls): reg("Update Certification", GovernanceLinkProcessor) reg("Update License", GovernanceLinkProcessor) + # Egeria 6.4 Decisions (odpi/egeria#9463): Decision, Outcome and Assessment have their own + # GovernanceOfficer requests, so override the family walker's GovernanceProcessor/ + # GovernanceLinkProcessor routing above. Each command is gated on Egeria 6.4 (md_processing/v2/egeria_6_4.py). + from md_processing.v2.decisions import register_decision_processors + register_decision_processors(reg) + # Lineage Linker -- a dedicated Link/Update command pair per relationship # type (2026-09-16 split from one generic selector-attribute command triple # -- see lineage_linker.py's module docstring for why), plus one shared diff --git a/md_processing/v2/decisions.py b/md_processing/v2/decisions.py new file mode 100644 index 000000000..cfa30af01 --- /dev/null +++ b/md_processing/v2/decisions.py @@ -0,0 +1,272 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +"""Dr.Egeria commands for Egeria 6.4 Decisions (odpi/egeria#9463, model 0018): Governance Officer family. + +- Create/Update Decision -> GovernanceOfficer.create_decision / update_decision (DecisionProperties). +- Link/Detach Decision Outcome -> link_decision_outcome / detach_decision_outcome (Outcome: Decision -> element). +- Link/Update/Detach Assessment -> link_assessment / update_assessment / detach_assessment (Assessment: element -> + Decision, MULTI-link). + +**How one assessment is picked** (the Architect's ruling, DESIGN-EGERIA-6.4-ADDITIONS-BUILD-PLAN §2): +- The Assessment relationship's own GUID is the identifier, as with License and Certification. Link Assessment + writes ``Assessment GUID`` into the processed document, so the author has it for later. +- Update and Detach take ``Assessment GUID``. Without it they take Element + Decision + Label (+ Assessment Time + when more than one matches), read from the Decision's ``inputsToDecision`` list. +- Exactly one match proceeds. Zero, or more than one, is refused, listing each candidate's GUID, label and + assessmentTime, so the author can paste the right GUID. Nothing is guessed. +- Times compare as UTC instants; a time with no zone is refused with words. +- Link Assessment given an Assessment GUID (a processed document run again) updates that assessment instead of + adding another: Egeria never merges a second Assessment between the same two elements. + +Every command is gated on Egeria 6.4 (md_processing.v2.egeria_6_4). +""" +from __future__ import annotations + +import re +from typing import Any, Dict, List + +from loguru import logger + +from pyegeria.core import egeria_6_4_names as e64 +from pyegeria.core._globals import NO_GUID_RETURNED +from pyegeria.core.utils import body_slimmer +from md_processing.md_processing_utils.common_md_utils import ( + set_create_body, set_element_prop_body, set_update_body, update_element_dictionary) +from md_processing.v2.egeria_6_4 import ( + EMPTY, Egeria64LinkProcessor, Egeria64Processor, delete_relationship_body, guid, new_relationship_body, + read_keys_only, stored_instant, update_relationship_body, utc_instant, value) + +#: Decision-specific attributes and the DecisionProperties key each fills. +DECISION_FIELDS = { + "Summary": "summary", "Scope": "scope", "Usage": "usage", "Importance": "importance", + "Disposition": "disposition", "Implications": "implications", "Notes": "notes", "Start Time": "startTime", + "Last Review Time": "lastReviewTime", "Next Review Time": "nextReviewTime", "Expiry Time": "expiryTime", +} + +#: The Referenceable/Authored bundle keys set_element_prop_body fills, and their attributes (for "not applied"). +ELEMENT_ATTRIBUTE_OF = { + "displayName": "Display Name", "description": "Description", "category": "Category", "identifier": "Identifier", + "url": "URL", "authors": "Authors", "userDefinedContentStatus": "User Defined Content Status", + "versionIdentifier": "Version Identifier", "effectiveFrom": "Effective From", "effectiveTo": "Effective To", + "additionalProperties": "Additional Properties", "extendedProperties": "Extended Properties", + "supportLevel": "Support Level", "serviceLevels": "Service Levels", "legal": "Legal", + "contentStatus": "Content Status", +} + +#: Outcome-specific attributes and the OutcomeProperties key each fills. +OUTCOME_FIELDS = {"Importance": "importance", "Disposition": "disposition"} + +#: Assessment-specific attributes and the AssessmentProperties key each fills. +ASSESSMENT_FIELDS = { + "Assessor": "assessor", "Assessor Type Name": "assessorTypeName", "Assessor Property Name": "assessorPropertyName", + "Assessment Time": "assessmentTime", "Expiry Time": "expiryTime", "Notes": "notes", + "Additional Properties": "additionalProperties", +} + + +def _fields(attributes: Dict[str, Any], mapping: Dict[str, str]) -> dict: + return {key: value(attributes, name) for name, key in mapping.items()} + + +class DecisionProcessor(Egeria64Processor): + """Create Decision / Update Decision.""" + + async def fetch_element(self, guid_: str, _max_timeout_retries: int = 2): + element = await self.e64(self.client.governance_officer._async_get_decision_by_guid(guid_)) + return element if isinstance(element, dict) else None + + def decision_properties(self, qualified_name: str) -> dict: + attributes = self.parsed_output["attributes"] + props = set_element_prop_body(e64.DECISION, qualified_name, attributes) + props.update({k: v for k, v in _fields(attributes, DECISION_FIELDS).items() if v not in EMPTY}) + props["class"] = e64.DECISION_PROPERTIES + # Empty values are not sent: on a merge update an empty list (set_element_prop_body's default authors) + # would clear what Egeria holds. + props = {k: v for k, v in body_slimmer(props).items() if v not in EMPTY} + return read_keys_only(props, attributes, {**ELEMENT_ATTRIBUTE_OF, + **{k: n for n, k in DECISION_FIELDS.items()}}) + + async def apply_changes(self) -> str: + attributes = self.parsed_output["attributes"] + qualified_name = self.parsed_output.get("qualified_name") + display_name = value(attributes, "Display Name") + go = self.client.governance_officer + + if self.command.verb == "Update": + guid_ = self.parsed_output.get("guid") + body = set_update_body(e64.DECISION, attributes) + body["properties"] = self.decision_properties(qualified_name) + body = body_slimmer(body) + self.last_body = body + await self.e64(go._async_update_decision(guid_, body)) + logger.success(f"Updated Decision '{display_name}' ({guid_})") + update_element_dictionary(qualified_name, {"guid": guid_, "display_name": display_name}) + return await self.render_result_markdown(guid_) + + body = set_create_body(e64.DECISION, attributes) + body["properties"] = self.decision_properties(qualified_name) + body.pop("initialClassifications", None) + body = body_slimmer(body) + self.last_body = body + guid_ = self.extract_guid_or_raise(await self.e64(go._async_create_decision(body)), "Create Decision") + self.parsed_output["guid"] = guid_ + update_element_dictionary(qualified_name, {"guid": guid_, "display_name": display_name}) + logger.success(f"Created Decision '{display_name}' with GUID {guid_}") + return await self.render_result_markdown(guid_) + + +class DecisionOutcomeProcessor(Egeria64LinkProcessor): + """Link Decision Outcome / Detach Decision Outcome (uni-link: attach by the two end GUIDs).""" + + async def apply_changes(self) -> str: + attributes = self.parsed_output["attributes"] + decision, outcome = self.ends(attributes, "Decision", "Outcome") + go = self.client.governance_officer + if self.command.verb in self.DETACH_VERBS: + body = delete_relationship_body(attributes) + self.last_body = body + await self.e64(go._async_detach_decision_outcome(decision, outcome, body)) + return f"\n\n# {self.command.verb} {self.command.object_type}\n\nDetached outcome {outcome} from decision {decision}.\n" + body = new_relationship_body(e64.OUTCOME, attributes, _fields(attributes, OUTCOME_FIELDS), + {k: n for n, k in OUTCOME_FIELDS.items()}) + self.last_body = body + await self.e64(go._async_link_decision_outcome(decision, outcome, body)) + return f"\n\n# {self.command.verb} {self.command.object_type}\n\nLinked outcome {outcome} to decision {decision}.\n" + + +def _candidate_line(c: Dict[str, Any]) -> str: + rel = c.get("relationshipHeader") or {} + props = c.get("relationshipProperties") or {} + return (f"Assessment GUID {rel.get('guid') or '(no GUID returned)'}, label " + f"{props.get('label')!r}, assessmentTime {props.get('assessmentTime') or '(none)'}") + + +class AssessmentProcessor(Egeria64LinkProcessor): + """Link / Update / Detach Assessment (multi-link: the relationship's own GUID identifies one).""" + + def _assessment_properties(self, attributes: Dict[str, Any]) -> dict: + fields = _fields(attributes, ASSESSMENT_FIELDS) + if fields.get("assessmentTime") not in EMPTY: + utc_instant(fields["assessmentTime"], "Assessment Time") # refused with words when it has no zone + return fields + + async def _resolve_assessment_guid(self, attributes: Dict[str, Any]) -> str: + """The one assessment this Update/Detach means: by Assessment GUID, else Element + Decision + Label + (+ Assessment Time), read from the Decision's inputsToDecision. Zero or several matches are refused.""" + explicit = value(attributes, "Assessment GUID") + if explicit not in EMPTY: + return str(explicit).strip() + what = f"{self.command.verb} {self.command.object_type}" + element, decision, label = guid(attributes, "Element"), guid(attributes, "Decision"), value(attributes, "Label") + missing = [n for n, v in (("Element", element), ("Decision", decision), ("Label", label)) if v in EMPTY] + if missing: + raise ValueError(f"{what} needs the Assessment GUID (as Link Assessment wrote it into the processed " + f"document), or else Element, Decision and Label to find it; " + f"{', '.join(missing)} {'is' if len(missing) == 1 else 'are'} missing.") + wanted_time = value(attributes, "Assessment Time") + wanted = utc_instant(wanted_time, "Assessment Time") if wanted_time not in EMPTY else None + + found = await self.e64(self.client.governance_officer._async_get_decision_by_guid(decision)) + if not isinstance(found, dict): + raise ValueError(f"{what}: decision {decision} could not be read, so no assessment can be picked. " + f"Give the Assessment GUID instead.") + inputs = found.get("inputsToDecision") or [] + same = [c for c in inputs + if ((c.get("relatedElement") or {}).get("elementHeader") or {}).get("guid") == element + and (c.get("relationshipProperties") or {}).get("label") == label] + matches = same + if wanted is not None: + matches = [c for c in same + if stored_instant((c.get("relationshipProperties") or {}).get("assessmentTime")) == wanted] + if len(matches) == 1: + rel_guid = (matches[0].get("relationshipHeader") or {}).get("guid") + if rel_guid: + return rel_guid + criteria = f"element {element}, label {label!r}" + (f", assessment time {wanted_time}" if wanted else "") + if not matches: + if not inputs: + listed = (f"decision {decision} lists no assessed inputs (its inputsToDecision is empty), so there " + f"is nothing to {self.command.verb.lower()}.") + elif same: + listed = ("these assessments match the element and label but not the time: " + + "; ".join(_candidate_line(c) for c in same) + ".") + else: + listed = (f"decision {decision} has {len(inputs)} assessed input(s), none for that element and label: " + + "; ".join(_candidate_line(c) for c in inputs) + ".") + raise ValueError(f"{what}: no assessment matches {criteria}; {listed} Nothing was changed.") + hint = "Add Assessment Time, or give" if wanted is None else "Give" + raise ValueError(f"{what}: {len(matches)} assessments match {criteria}, so none was picked: " + + "; ".join(_candidate_line(c) for c in matches) + + f". {hint} the Assessment GUID of the one you mean. Nothing was changed.") + + @staticmethod + def _with_guid_section(raw_block: str, rel_guid: str) -> str: + """The command block with its ``Assessment GUID`` section set to `rel_guid` (added after the header when + absent), so the processed document identifies this assessment for later Update/Detach commands.""" + lines = raw_block.rstrip("\n").split("\n") + for i, line in enumerate(lines): + if re.match(r"^\s*#{3,}\s*Assessment GUID\s*$", line, re.IGNORECASE): + j = i + 1 + while j < len(lines) and not re.match(r"^\s*#{2,}\s", lines[j]) and not lines[j].strip().startswith("___"): + j += 1 + return "\n".join(lines[:i + 1] + [rel_guid, ""] + lines[j:]) + "\n" + header = next((i for i, line in enumerate(lines) if re.match(r"^\s*#{1,2}\s*\S", line)), 0) + return "\n".join(lines[:header + 1] + ["", "### Assessment GUID", rel_guid] + lines[header + 1:]) + "\n" + + async def apply_changes(self) -> str: + attributes = self.parsed_output["attributes"] + verb = self.command.verb + go = self.client.governance_officer + attribute_of = {k: n for n, k in ASSESSMENT_FIELDS.items()} + + if verb in self.DETACH_VERBS: + rel_guid = await self._resolve_assessment_guid(attributes) + body = delete_relationship_body(attributes) + self.last_body = body + await self.e64(go._async_detach_assessment(rel_guid, body)) + return f"\n\n# {verb} {self.command.object_type}\n\nDetached assessment {rel_guid}.\n" + + if verb == "Update": + rel_guid = await self._resolve_assessment_guid(attributes) + body = update_relationship_body(e64.ASSESSMENT, attributes, self._assessment_properties(attributes), + attribute_of) + self.last_body = body + await self.e64(go._async_update_assessment(rel_guid, body)) + self.parsed_output["guid"] = rel_guid + return f"\n\n# {verb} {self.command.object_type}\n\nUpdated assessment {rel_guid}.\n" + + # Link: a new assessment, unless the document already names one (re-run of a processed document). + properties = self._assessment_properties(attributes) + explicit = value(attributes, "Assessment GUID") + if explicit not in EMPTY: + rel_guid = str(explicit).strip() + body = update_relationship_body(e64.ASSESSMENT, attributes, properties, attribute_of) + self.last_body = body + await self.e64(go._async_update_assessment(rel_guid, body)) + self.parsed_output["guid"] = rel_guid + logger.info(f"Link Assessment names Assessment GUID {rel_guid}: updated it rather than adding another") + return (self._with_guid_section(self.command.raw_block, rel_guid) + + f"\n> Updated existing assessment {rel_guid} (the document names its Assessment GUID).\n") + element, decision = self.ends(attributes, "Element", "Decision") + body = new_relationship_body(e64.ASSESSMENT, attributes, properties, attribute_of) + self.last_body = body + rel_guid = await self.e64(go._async_link_assessment(element, decision, body)) + if not isinstance(rel_guid, str) or not rel_guid or rel_guid == NO_GUID_RETURNED: + raise ValueError(f"Link Assessment: Egeria returned no relationship GUID ({rel_guid!r}), so the " + f"processed document can't name this assessment.") + self.parsed_output["guid"] = rel_guid + return (self._with_guid_section(self.command.raw_block, rel_guid) + + f"\n> Linked assessment {rel_guid}: element {element} assessed for decision {decision}.\n") + + +def register_decision_processors(reg) -> List[str]: + """Register the B1 commands; returns their names.""" + names = { + "Create Decision": DecisionProcessor, "Update Decision": DecisionProcessor, + "Link Decision Outcome": DecisionOutcomeProcessor, "Detach Decision Outcome": DecisionOutcomeProcessor, + "Link Assessment": AssessmentProcessor, "Update Assessment": AssessmentProcessor, + "Detach Assessment": AssessmentProcessor, + } + for name, cls in names.items(): + reg(name, cls) + return list(names) diff --git a/md_processing/v2/egeria_6_4.py b/md_processing/v2/egeria_6_4.py new file mode 100644 index 000000000..71524c9f4 --- /dev/null +++ b/md_processing/v2/egeria_6_4.py @@ -0,0 +1,196 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +"""Shared pieces of the Dr.Egeria commands for the Egeria 6.4 additions (odpi/egeria#9463). + +- **The version gate.** Every 6.4 command asks pyegeria.core.egeria_6_4_gate first. On an Egeria before 6.4 the + command is refused with the "needs Egeria 6.4" words, as a WARNING row: never an error, never "none", and + nothing is sent. When the platform's version can't be read, the command runs, and a bare HTTP 404 from its + 6.4 request is turned into the same words. +- **Bodies.** The request bodies are built here from the parsed attributes, then sent through the pyegeria 6.4 + wrappers, which check the properties class and refuse keys the class doesn't read. Keys the class doesn't + read are therefore dropped here first and reported as "not applied", the same as the rest of Dr.Egeria. +- **Values.** Position-style attributes must be whole numbers; times used to pick one assessment must carry a + zone and are compared as UTC instants. +""" +from __future__ import annotations + +from datetime import datetime, timezone +from typing import Any, Dict, Optional + +from pyegeria.core.egeria_6_4_gate import async_egeria_6_4_status, is_missing_6_4_endpoint, needs_6_4_words +from pyegeria.core.utils import body_slimmer +from md_processing.md_processing_utils.common_md_utils import ( + set_delete_rel_request_body, set_rel_prop_body, set_rel_request_body) +from md_processing.md_processing_utils.typed_properties import record_not_applied +from md_processing.v2.processors import AsyncBaseCommandProcessor + +EMPTY = (None, "", [], {}) + + +def value(attributes: Dict[str, Any], name: str) -> Any: + return (attributes.get(name) or {}).get("value") + + +def guid(attributes: Dict[str, Any], name: str) -> Optional[str]: + return (attributes.get(name) or {}).get("guid") + + +def read_keys_only(props: dict, attributes: Dict[str, Any], attribute_of: Dict[str, str]) -> dict: + """Drop the keys `props["class"]` doesn't read (Egeria would ignore them, and the 6.4 wrappers refuse them), + reporting each given one as "not applied" on the attribute it came from.""" + from md_processing.md_processing_utils.properties_class_fields import PROPERTIES_CLASS_FIELDS + cls = props.get("class") + reads = (PROPERTIES_CLASS_FIELDS.get(cls) or ("", None))[1] + if reads is None: + return props + for key in [k for k in props if k != "class" and k not in reads]: + dropped = props.pop(key) + attribute = attribute_of.get(key) + if attribute and dropped not in EMPTY: + record_not_applied(attributes, attribute, [f"not applied: {attribute}: {cls} has no {key} property"]) + return props + + +def int_value(attributes: Dict[str, Any], name: str) -> Optional[int]: + """A whole-number attribute (Position, Min/Max Cardinality); refused with words when it isn't one.""" + raw = value(attributes, name) + if raw in EMPTY: + return None + try: + return int(str(raw).strip()) + except ValueError: + raise ValueError(f"{name} must be a whole number; '{raw}' isn't one.") from None + + +def utc_instant(text: Any, name: str) -> datetime: + """An ISO 8601 date/time WITH a zone, as a UTC instant. A time with no zone is refused: it can't be compared + with what Egeria stored.""" + s = str(text).strip() + try: + when = datetime.fromisoformat(s.replace("Z", "+00:00")) + except ValueError: + raise ValueError(f"{name} '{s}' isn't an ISO 8601 date/time (for example 2026-11-21T10:00:00Z).") from None + if when.tzinfo is None: + raise ValueError(f"{name} '{s}' has no time zone, so it can't be compared with the time Egeria stored. " + f"Add one, for example {s}Z for UTC or {s}+01:00.") + return when.astimezone(timezone.utc) + + +def stored_instant(stored: Any) -> Optional[datetime]: + """A time as Egeria returns it (ISO 8601 text, or epoch milliseconds), as a UTC instant; None if unreadable.""" + if stored in EMPTY: + return None + try: + if isinstance(stored, (int, float)): + return datetime.fromtimestamp(stored / 1000, tz=timezone.utc) + when = datetime.fromisoformat(str(stored).strip().replace("Z", "+00:00")) + return (when if when.tzinfo else when.replace(tzinfo=timezone.utc)).astimezone(timezone.utc) + except (ValueError, OverflowError): + return None + + +#: The Link Command Base / relationship attributes and the property each fills. +REL_ATTRIBUTE_OF = {"label": "Label", "description": "Description", "effectiveFrom": "Effective From", + "effectiveTo": "Effective To", "extendedProperties": "Extended Properties", "typeName": "Type Name"} + + +def new_relationship_body(type_name: str, attributes: Dict[str, Any], extra: Optional[dict] = None, + extra_attribute_of: Optional[Dict[str, str]] = None, with_properties: bool = True) -> dict: + """A NewRelationshipRequestBody for a 6.4 link: `Properties` from the shared relationship attributes + plus `extra`, only keys the class reads. With nothing but the class (and typeName) given, no properties are + sent: the 6.4 attach takes a body with no properties.""" + body = set_rel_request_body(type_name, attributes) + props = {**set_rel_prop_body(type_name, attributes), **(extra or {})} + props = read_keys_only(body_slimmer(props), attributes, {**REL_ATTRIBUTE_OF, **(extra_attribute_of or {})}) + meaningful = {k for k, v in props.items() if k not in ("class", "typeName") and v not in EMPTY} + body["properties"] = props if (with_properties and meaningful) else None + return body_slimmer(body) + + +def update_relationship_body(type_name: str, attributes: Dict[str, Any], extra: Optional[dict] = None, + extra_attribute_of: Optional[Dict[str, str]] = None) -> dict: + """An UpdateRelationshipRequestBody (mergeUpdate unless Merge Update says otherwise).""" + new = new_relationship_body(type_name, attributes, extra, extra_attribute_of) + props = new.get("properties") or {"class": f"{type_name}Properties"} + merge = value(attributes, "Merge Update") + return body_slimmer({ + "class": "UpdateRelationshipRequestBody", + "externalSourceGUID": new.get("externalSourceGUID"), + "externalSourceName": new.get("externalSourceName"), + "effectiveTime": new.get("effectiveTime"), + "forLineage": new.get("forLineage", False), + "forDuplicateProcessing": new.get("forDuplicateProcessing", False), + "mergeUpdate": True if merge in EMPTY else bool(merge), + "properties": props, + }) + + +def delete_relationship_body(attributes: Dict[str, Any]) -> dict: + return body_slimmer(set_delete_rel_request_body("", attributes)) + + +class Egeria64Processor(AsyncBaseCommandProcessor): + """Base of every 6.4 command: the version gate around the normal execution.""" + + _needs_6_4: bool = False + + def _needs_6_4_result(self, platform_url: str, version: str) -> Dict[str, Any]: + what = f"{self.command.verb} {self.command.object_type}" + words = needs_6_4_words(what, platform_url, version) + parsed = self.parsed_output or {} + return { + "output": f"{self.command.raw_block}\n\n> ⚠️ **Needs Egeria 6.4**\n> - {words}\n", + "status": "warning", + "message": words, + "verb": self.command.verb, + "object_type": self.canonical_object_type, + "markdown_object_type": self.markdown_object_type, + "display_name": parsed.get("display_name"), + "qualified_name": parsed.get("qualified_name"), + "found": False, + "needs_egeria_6_4": True, + } + + async def execute(self) -> Dict[str, Any]: + directive = self.context.get("directive", "process") + url, version = getattr(self.client, "platform_url", "") or "", "" + if directive in ("process", "validate"): + carries, version, url = await async_egeria_6_4_status(self.client) + if carries is False: + return self._needs_6_4_result(url, version) + self._needs_6_4 = False + result = await super().execute() + if self._needs_6_4: + return self._needs_6_4_result(url, "") + return result + + async def e64(self, awaitable): + """Await a pyegeria 6.4 request; a bare 404 (the endpoint isn't served) marks the command "needs 6.4".""" + try: + return await awaitable + except Exception as e: + if is_missing_6_4_endpoint(e): + self._needs_6_4 = True + raise + + +class Egeria64LinkProcessor(Egeria64Processor): + """A 6.4 relationship command: there is no target element of its own to look up or upsert.""" + + def supports_target_element_lookup(self) -> bool: + return False + + async def fetch_as_is(self) -> Optional[Dict[str, Any]]: + return None + + LINK_VERBS = {"Link", "Attach", "Add"} + DETACH_VERBS = {"Detach", "Unlink", "Remove"} + + def ends(self, attributes: Dict[str, Any], *names: str) -> list[str]: + """The GUIDs of the named end attributes; refused with words naming any that is missing.""" + found = [guid(attributes, n) for n in names] + missing = [n for n, g in zip(names, found) if not g] + if missing: + raise ValueError(f"{self.command.verb} {self.command.object_type} needs {' and '.join(missing)} " + f"(a qualified name, display name or GUID that resolves to an element).") + return found # type: ignore[return-value] diff --git a/pyegeria/core/egeria_6_4_gate.py b/pyegeria/core/egeria_6_4_gate.py new file mode 100644 index 000000000..ef8b6c779 --- /dev/null +++ b/pyegeria/core/egeria_6_4_gate.py @@ -0,0 +1,126 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +"""The version gate for the Egeria 6.4 additions (odpi/egeria#9463): "needs Egeria 6.4", in words. + +An Egeria before 6.4 has none of the 6.4 requests (decisions, data values, project targets, supported variable +types, Branch): they 404, and the lists they fill are absent. Anything that offers a 6.4 request (Dr.Egeria +commands now, the Egeria Explorer cards later) asks here first, and says the same words when the answer is no. +It is never reported as an error, and never as "none". + +How the answer is reached, in order: + +1. The platform's ``/api/about`` version, read once per platform URL per GATE_TTL_SECONDS: + - a release (no ``-SNAPSHOT``) carries the additions from 6.4.0 on; + - a ``6.4-SNAPSHOT`` carries them when built at or after the #9463 merge (2026-11-21T19:51:36Z, 90232870b2); + one built before it is a 6.4 line without the additions; + - a SNAPSHOT of a later line (6.5-SNAPSHOT, ...) carries them; an earlier line, never. +2. If the version can't be read or parsed, the answer is unknown (None), never "no": the request is sent, and a + bare HTTP 404 from it (the endpoint is not served, as opposed to Egeria's own not-found, which is a 200 with + relatedHTTPCode 404) is read as "needs Egeria 6.4" with :func:`is_missing_6_4_endpoint`. +""" +from __future__ import annotations + +import json +import re +import time +from datetime import datetime +from typing import Any, Optional + +from loguru import logger + +#: The #9463 merge into odpi/egeria main: a 6.4-SNAPSHOT built at or after it carries the additions. +EGERIA_6_4_MERGE_SHA = "90232870b2955ea33a1e791c331b4d085cc9da3e" +EGERIA_6_4_SNAPSHOT_CUTOFF = "2026-11-21T19:51:36Z" + +GATE_TTL_SECONDS = 3600 # a parsed /api/about answer +GATE_FAILED_TTL_SECONDS = 60 # a failed about-read is retried soon +GATE_ABOUT_TIMEOUT_SECONDS = 5 + +_CACHE: dict[str, tuple[float, Optional[bool], str]] = {} # platform URL -> (expires, carries, version) + + +def carries_6_4(about: Any) -> tuple[Optional[bool], str]: + """Whether a platform's /api/about answer shows the 6.4 additions: (True | False | None, version seen). + + None means the answer couldn't be read or parsed: unknown, not "no".""" + try: + if isinstance(about, (str, bytes)): + about = json.loads(about) + if not isinstance(about, dict): + return None, "" + version = str(about.get("version") or "").strip() + m = re.fullmatch(r"(\d+)\.(\d+)(?:\.(\d+))?(-SNAPSHOT)?", version) + if not m: + return None, version + numbers = tuple(int(g or 0) for g in m.groups()[:3]) + if not m.group(4): # a release + return numbers >= (6, 4, 0), version + if numbers[:2] > (6, 4): # a later line's SNAPSHOT + return True, version + if numbers[:2] < (6, 4): # an earlier line's SNAPSHOT + return False, version + built = about.get("time") # a 6.4 SNAPSHOT: built after the merge? + if not built: + return None, version + when = datetime.fromisoformat(str(built).replace("Z", "+00:00")) + cutoff = datetime.fromisoformat(EGERIA_6_4_SNAPSHOT_CUTOFF.replace("Z", "+00:00")) + if when.tzinfo is None: + return None, version + return when >= cutoff, f"{version} built {built}" + except Exception: # noqa: BLE001 -- an unreadable answer is unknown, never "no" + return None, "" + + +def needs_6_4_words(what: str, platform_url: str = "", version: str = "") -> str: + """The one sentence every 6.4 refusal uses.""" + where = f"the platform at {platform_url}" if platform_url else "this platform" + runs = f" runs Egeria {version}" if version else " does not serve this request" + return (f"{what} needs Egeria 6.4 (odpi/egeria#9463, process variables and decisions): {where}{runs}. " + f"Nothing was sent to Egeria.") + + +def is_missing_6_4_endpoint(exc: BaseException) -> bool: + """A bare HTTP 404 on a 6.4 request: the endpoint isn't served (an Egeria before 6.4). + + Egeria's own "element not found" comes back as HTTP 200 with relatedHTTPCode 404 and is a + PyegeriaNotFoundException; only the transport-level 404 (a PyegeriaClientException) means the URL is unknown.""" + from pyegeria.core._exceptions import PyegeriaClientException + return isinstance(exc, PyegeriaClientException) and getattr(exc, "http_status_code", None) == 404 + + +def _about_reader(client: Any): + reader = getattr(client, "async_get_platform_origin", None) + if reader is None: + for sub in ("classification_manager", "metadata_expert"): + inner = getattr(client, sub, None) + reader = getattr(inner, "async_get_platform_origin", None) if inner is not None else None + if reader is not None: + break + return reader + + +async def async_egeria_6_4_status(client: Any) -> tuple[Optional[bool], str, str]: + """(carries the 6.4 additions: True | False | None, the version seen, the platform URL). Never raises.""" + url = getattr(client, "platform_url", None) + if not isinstance(url, str) or not url: + return None, "", "" + hit = _CACHE.get(url) + if hit is not None and hit[0] > time.monotonic(): + return hit[1], hit[2], url + about = None + try: + reader = _about_reader(client) + if reader is not None: + import asyncio + about = await asyncio.wait_for(reader(), timeout=GATE_ABOUT_TIMEOUT_SECONDS) + except Exception as e: # noqa: BLE001 -- a failed about-read is "unknown" + logger.debug(f"Egeria 6.4 gate: could not read {url}/api/about: {e}") + carries, version = carries_6_4(about) if about else (None, "") + ttl = GATE_TTL_SECONDS if about else GATE_FAILED_TTL_SECONDS + _CACHE[url] = (time.monotonic() + ttl, carries, version) + return carries, version, url + + +def clear_cache() -> None: + """Forget every platform's answer (tests; a platform upgraded in place).""" + _CACHE.clear() diff --git a/pyegeria/view/base_report_formats.py b/pyegeria/view/base_report_formats.py index 36f852891..4d1b855ed 100644 --- a/pyegeria/view/base_report_formats.py +++ b/pyegeria/view/base_report_formats.py @@ -165,6 +165,8 @@ 'Data-Structure-DrE-Basic': FormatSet(target_type='Data Structure', heading='Data-Structure-DrE-Basic Attributes', description='Auto-generated format for Data Structure (Create, Basic).', family='Data Designer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Zone Membership', key='zone_membership'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='In Data Dictionary', key='in_data_dictionary'), Column(name='In Data Specification', key='in_data_specification'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Zone Membership', key='zone_membership'), Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='In Data Dictionary', key='in_data_dictionary'), Column(name='In Data Specification', key='in_data_specification'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path')])], action=ActionParameter(function='DataDesigner.find_data_structures', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DataStructure'})), 'Data-Value-Specification-DrE-Advanced': FormatSet(target_type='Data Value Specification', heading='Data-Value-Specification-DrE-Advanced Attributes', description='Auto-generated format for Data Value Specification (Create, Advanced).', family='Data Designer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Absolute Uncertainty', key='absolute_uncertainty'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='In Data Value Specification', key='in_data_value_specification'), Column(name='Match Property Names', key='match_property_names'), Column(name='Match Threshold', key='match_threshold'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Relative Uncertainty', key='relative_uncertainty'), Column(name='Specializes Data Value Specification', key='specializes_data_value_specification'), Column(name='Specification', key='specification'), Column(name='Specification Details', key='specification_details'), Column(name='Units', key='units'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Absolute Uncertainty', key='absolute_uncertainty'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='In Data Value Specification', key='in_data_value_specification'), Column(name='Match Property Names', key='match_property_names'), Column(name='Match Threshold', key='match_threshold'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Relative Uncertainty', key='relative_uncertainty'), Column(name='Specializes Data Value Specification', key='specializes_data_value_specification'), Column(name='Specification', key='specification'), Column(name='Specification Details', key='specification_details'), Column(name='Units', key='units'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='DataDesigner.find_data_value_specifications', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DataValueSpecification'})), 'Data-Value-Specification-DrE-Basic': FormatSet(target_type='Data Value Specification', heading='Data-Value-Specification-DrE-Basic Attributes', description='Auto-generated format for Data Value Specification (Create, Basic).', family='Data Designer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Zone Membership', key='zone_membership'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Absolute Uncertainty', key='absolute_uncertainty'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='In Data Value Specification', key='in_data_value_specification'), Column(name='Match Property Names', key='match_property_names'), Column(name='Match Threshold', key='match_threshold'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Relative Uncertainty', key='relative_uncertainty'), Column(name='Specializes Data Value Specification', key='specializes_data_value_specification'), Column(name='Specification', key='specification'), Column(name='Specification Details', key='specification_details'), Column(name='Units', key='units'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Zone Membership', key='zone_membership'), Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Absolute Uncertainty', key='absolute_uncertainty'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='In Data Value Specification', key='in_data_value_specification'), Column(name='Match Property Names', key='match_property_names'), Column(name='Match Threshold', key='match_threshold'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Relative Uncertainty', key='relative_uncertainty'), Column(name='Specializes Data Value Specification', key='specializes_data_value_specification'), Column(name='Specification', key='specification'), Column(name='Specification Details', key='specification_details'), Column(name='Units', key='units')])], action=ActionParameter(function='DataDesigner.find_data_value_specifications', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DataValueSpecification'})), + 'Decision-DrE-Advanced': FormatSet(target_type='Decision', heading='Decision-DrE-Advanced Attributes', description='Auto-generated format for Decision (Create, Advanced).', family='Governance Officer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Summary', key='summary'), Column(name='Scope', key='scope'), Column(name='Usage', key='usage'), Column(name='Importance', key='importance'), Column(name='Disposition', key='disposition'), Column(name='Implications', key='implications'), Column(name='Notes', key='notes'), Column(name='Start Time', key='start_time'), Column(name='Last Review Time', key='last_review_time'), Column(name='Next Review Time', key='next_review_time'), Column(name='Expiry Time', key='expiry_time'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Summary', key='summary'), Column(name='Scope', key='scope'), Column(name='Usage', key='usage'), Column(name='Importance', key='importance'), Column(name='Disposition', key='disposition'), Column(name='Implications', key='implications'), Column(name='Notes', key='notes'), Column(name='Start Time', key='start_time'), Column(name='Last Review Time', key='last_review_time'), Column(name='Next Review Time', key='next_review_time'), Column(name='Expiry Time', key='expiry_time')])], action=ActionParameter(function='GovernanceOfficer.find_decisions', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), + 'Decision-DrE-Basic': FormatSet(target_type='Decision', heading='Decision-DrE-Basic Attributes', description='Auto-generated format for Decision (Create, Basic).', family='Governance Officer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Zone Membership', key='zone_membership'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Summary', key='summary'), Column(name='Scope', key='scope'), Column(name='Usage', key='usage'), Column(name='Importance', key='importance'), Column(name='Disposition', key='disposition'), Column(name='Implications', key='implications'), Column(name='Notes', key='notes'), Column(name='Start Time', key='start_time'), Column(name='Last Review Time', key='last_review_time'), Column(name='Next Review Time', key='next_review_time'), Column(name='Expiry Time', key='expiry_time'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Zone Membership', key='zone_membership'), Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Summary', key='summary'), Column(name='Scope', key='scope'), Column(name='Usage', key='usage'), Column(name='Importance', key='importance'), Column(name='Disposition', key='disposition'), Column(name='Implications', key='implications'), Column(name='Notes', key='notes'), Column(name='Start Time', key='start_time'), Column(name='Last Review Time', key='last_review_time'), Column(name='Next Review Time', key='next_review_time'), Column(name='Expiry Time', key='expiry_time')])], action=ActionParameter(function='GovernanceOfficer.find_decisions', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), 'Design-Pattern-DrE-Advanced': FormatSet(target_type='Design Pattern', heading='Design-Pattern-DrE-Advanced Attributes', description='Auto-generated format for Design Pattern (Create, Advanced).', family='Solution Architect', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Benefits', key='benefits'), Column(name='Context', key='context'), Column(name='Forces', key='forces'), Column(name='Liabilities', key='liabilities'), Column(name='Problem Example', key='problem_example'), Column(name='Problem Statement', key='problem_statement'), Column(name='Solution Description', key='solution_description'), Column(name='Solution Example', key='solution_example'), Column(name='Usage', key='usage'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Benefits', key='benefits'), Column(name='Context', key='context'), Column(name='Forces', key='forces'), Column(name='Liabilities', key='liabilities'), Column(name='Problem Example', key='problem_example'), Column(name='Problem Statement', key='problem_statement'), Column(name='Solution Description', key='solution_description'), Column(name='Solution Example', key='solution_example'), Column(name='Usage', key='usage'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='SolutionArchitect.find_design_patterns', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), 'Design-Pattern-DrE-Basic': FormatSet(target_type='Design Pattern', heading='Design-Pattern-DrE-Basic Attributes', description='Auto-generated format for Design Pattern (Create, Basic).', family='Solution Architect', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Zone Membership', key='zone_membership'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Benefits', key='benefits'), Column(name='Context', key='context'), Column(name='Forces', key='forces'), Column(name='Liabilities', key='liabilities'), Column(name='Problem Example', key='problem_example'), Column(name='Problem Statement', key='problem_statement'), Column(name='Solution Description', key='solution_description'), Column(name='Solution Example', key='solution_example'), Column(name='Usage', key='usage'), Column(name='Version Identifier', key='version_identifier'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Zone Membership', key='zone_membership'), Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Benefits', key='benefits'), Column(name='Context', key='context'), Column(name='Forces', key='forces'), Column(name='Liabilities', key='liabilities'), Column(name='Problem Example', key='problem_example'), Column(name='Problem Statement', key='problem_statement'), Column(name='Solution Description', key='solution_description'), Column(name='Solution Example', key='solution_example'), Column(name='Usage', key='usage')])], action=ActionParameter(function='SolutionArchitect.find_design_patterns', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), 'Digital-Product-Catalog-DrE-Advanced': FormatSet(target_type='Digital Product Catalog', heading='Digital-Product-Catalog-DrE-Advanced Attributes', description='Auto-generated format for Digital Product Catalog (Create, Advanced).', family='Digital Product Manager', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Purpose', key='purpose'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DigitalProductCatalog'})), diff --git a/pyegeria/view/dr_egeria_reports.py b/pyegeria/view/dr_egeria_reports.py index ca1180456..ed20fffa7 100644 --- a/pyegeria/view/dr_egeria_reports.py +++ b/pyegeria/view/dr_egeria_reports.py @@ -66,6 +66,8 @@ 'Data-Structure-DrE-Basic': FormatSet(target_type='Data Structure', heading='Data-Structure-DrE-Basic Attributes', description='Auto-generated format for Data Structure (Create, Basic).', family='Data Designer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Zone Membership', key='zone_membership'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='In Data Dictionary', key='in_data_dictionary'), Column(name='In Data Specification', key='in_data_specification'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Zone Membership', key='zone_membership'), Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='In Data Dictionary', key='in_data_dictionary'), Column(name='In Data Specification', key='in_data_specification'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path')])], action=ActionParameter(function='DataDesigner.find_data_structures', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DataStructure'})), 'Data-Value-Specification-DrE-Advanced': FormatSet(target_type='Data Value Specification', heading='Data-Value-Specification-DrE-Advanced Attributes', description='Auto-generated format for Data Value Specification (Create, Advanced).', family='Data Designer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Absolute Uncertainty', key='absolute_uncertainty'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='In Data Value Specification', key='in_data_value_specification'), Column(name='Match Property Names', key='match_property_names'), Column(name='Match Threshold', key='match_threshold'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Relative Uncertainty', key='relative_uncertainty'), Column(name='Specializes Data Value Specification', key='specializes_data_value_specification'), Column(name='Specification', key='specification'), Column(name='Specification Details', key='specification_details'), Column(name='Units', key='units'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Absolute Uncertainty', key='absolute_uncertainty'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='In Data Value Specification', key='in_data_value_specification'), Column(name='Match Property Names', key='match_property_names'), Column(name='Match Threshold', key='match_threshold'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Relative Uncertainty', key='relative_uncertainty'), Column(name='Specializes Data Value Specification', key='specializes_data_value_specification'), Column(name='Specification', key='specification'), Column(name='Specification Details', key='specification_details'), Column(name='Units', key='units'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='DataDesigner.find_data_value_specifications', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DataValueSpecification'})), 'Data-Value-Specification-DrE-Basic': FormatSet(target_type='Data Value Specification', heading='Data-Value-Specification-DrE-Basic Attributes', description='Auto-generated format for Data Value Specification (Create, Basic).', family='Data Designer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Zone Membership', key='zone_membership'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Absolute Uncertainty', key='absolute_uncertainty'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='In Data Value Specification', key='in_data_value_specification'), Column(name='Match Property Names', key='match_property_names'), Column(name='Match Threshold', key='match_threshold'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Relative Uncertainty', key='relative_uncertainty'), Column(name='Specializes Data Value Specification', key='specializes_data_value_specification'), Column(name='Specification', key='specification'), Column(name='Specification Details', key='specification_details'), Column(name='Units', key='units'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Zone Membership', key='zone_membership'), Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Absolute Uncertainty', key='absolute_uncertainty'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='In Data Value Specification', key='in_data_value_specification'), Column(name='Match Property Names', key='match_property_names'), Column(name='Match Threshold', key='match_threshold'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Relative Uncertainty', key='relative_uncertainty'), Column(name='Specializes Data Value Specification', key='specializes_data_value_specification'), Column(name='Specification', key='specification'), Column(name='Specification Details', key='specification_details'), Column(name='Units', key='units')])], action=ActionParameter(function='DataDesigner.find_data_value_specifications', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DataValueSpecification'})), + 'Decision-DrE-Advanced': FormatSet(target_type='Decision', heading='Decision-DrE-Advanced Attributes', description='Auto-generated format for Decision (Create, Advanced).', family='Governance Officer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Summary', key='summary'), Column(name='Scope', key='scope'), Column(name='Usage', key='usage'), Column(name='Importance', key='importance'), Column(name='Disposition', key='disposition'), Column(name='Implications', key='implications'), Column(name='Notes', key='notes'), Column(name='Start Time', key='start_time'), Column(name='Last Review Time', key='last_review_time'), Column(name='Next Review Time', key='next_review_time'), Column(name='Expiry Time', key='expiry_time'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Summary', key='summary'), Column(name='Scope', key='scope'), Column(name='Usage', key='usage'), Column(name='Importance', key='importance'), Column(name='Disposition', key='disposition'), Column(name='Implications', key='implications'), Column(name='Notes', key='notes'), Column(name='Start Time', key='start_time'), Column(name='Last Review Time', key='last_review_time'), Column(name='Next Review Time', key='next_review_time'), Column(name='Expiry Time', key='expiry_time')])], action=ActionParameter(function='GovernanceOfficer.find_decisions', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), + 'Decision-DrE-Basic': FormatSet(target_type='Decision', heading='Decision-DrE-Basic Attributes', description='Auto-generated format for Decision (Create, Basic).', family='Governance Officer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Zone Membership', key='zone_membership'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Summary', key='summary'), Column(name='Scope', key='scope'), Column(name='Usage', key='usage'), Column(name='Importance', key='importance'), Column(name='Disposition', key='disposition'), Column(name='Implications', key='implications'), Column(name='Notes', key='notes'), Column(name='Start Time', key='start_time'), Column(name='Last Review Time', key='last_review_time'), Column(name='Next Review Time', key='next_review_time'), Column(name='Expiry Time', key='expiry_time'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Zone Membership', key='zone_membership'), Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Summary', key='summary'), Column(name='Scope', key='scope'), Column(name='Usage', key='usage'), Column(name='Importance', key='importance'), Column(name='Disposition', key='disposition'), Column(name='Implications', key='implications'), Column(name='Notes', key='notes'), Column(name='Start Time', key='start_time'), Column(name='Last Review Time', key='last_review_time'), Column(name='Next Review Time', key='next_review_time'), Column(name='Expiry Time', key='expiry_time')])], action=ActionParameter(function='GovernanceOfficer.find_decisions', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), 'Design-Pattern-DrE-Advanced': FormatSet(target_type='Design Pattern', heading='Design-Pattern-DrE-Advanced Attributes', description='Auto-generated format for Design Pattern (Create, Advanced).', family='Solution Architect', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Benefits', key='benefits'), Column(name='Context', key='context'), Column(name='Forces', key='forces'), Column(name='Liabilities', key='liabilities'), Column(name='Problem Example', key='problem_example'), Column(name='Problem Statement', key='problem_statement'), Column(name='Solution Description', key='solution_description'), Column(name='Solution Example', key='solution_example'), Column(name='Usage', key='usage'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Benefits', key='benefits'), Column(name='Context', key='context'), Column(name='Forces', key='forces'), Column(name='Liabilities', key='liabilities'), Column(name='Problem Example', key='problem_example'), Column(name='Problem Statement', key='problem_statement'), Column(name='Solution Description', key='solution_description'), Column(name='Solution Example', key='solution_example'), Column(name='Usage', key='usage'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='SolutionArchitect.find_design_patterns', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), 'Design-Pattern-DrE-Basic': FormatSet(target_type='Design Pattern', heading='Design-Pattern-DrE-Basic Attributes', description='Auto-generated format for Design Pattern (Create, Basic).', family='Solution Architect', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Zone Membership', key='zone_membership'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Benefits', key='benefits'), Column(name='Context', key='context'), Column(name='Forces', key='forces'), Column(name='Liabilities', key='liabilities'), Column(name='Problem Example', key='problem_example'), Column(name='Problem Statement', key='problem_statement'), Column(name='Solution Description', key='solution_description'), Column(name='Solution Example', key='solution_example'), Column(name='Usage', key='usage'), Column(name='Version Identifier', key='version_identifier'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Zone Membership', key='zone_membership'), Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Benefits', key='benefits'), Column(name='Context', key='context'), Column(name='Forces', key='forces'), Column(name='Liabilities', key='liabilities'), Column(name='Problem Example', key='problem_example'), Column(name='Problem Statement', key='problem_statement'), Column(name='Solution Description', key='solution_description'), Column(name='Solution Example', key='solution_example'), Column(name='Usage', key='usage')])], action=ActionParameter(function='SolutionArchitect.find_design_patterns', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), 'Digital-Product-Catalog-DrE-Advanced': FormatSet(target_type='Digital Product Catalog', heading='Digital-Product-Catalog-DrE-Advanced Attributes', description='Auto-generated format for Digital Product Catalog (Create, Advanced).', family='Digital Product Manager', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Purpose', key='purpose'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DigitalProductCatalog'})), diff --git a/pyegeria/view/microflow.py b/pyegeria/view/microflow.py index 64780cbf1..2e1cb1750 100644 --- a/pyegeria/view/microflow.py +++ b/pyegeria/view/microflow.py @@ -131,6 +131,10 @@ # find_elements_by_property_value calls it for the technology specs (deployedImplementationType # EQ the technology AND the name match, evaluated by Egeria in one query). "ClassificationExplorer.find_root_elements", + # Read only (Egeria 6.4, odpi/egeria#9463): POSTs a SearchStringRequestBody to + # governance-officer/decisions/by-search-string through _async_find_request and returns the decisions. + # Named by the generated Decision-DrE-Basic/-Advanced specs (Create Decision's find_method). + "GovernanceOfficer.find_decisions", }) FIND_METHOD_ALLOWLIST: frozenset = _CENSUS_FIND_METHODS | FIND_METHOD_ADDITIONS diff --git a/pyegeria/view/seed/Governance Officer.json b/pyegeria/view/seed/Governance Officer.json index 1cd1dc16d..36b08b7ec 100644 --- a/pyegeria/view/seed/Governance Officer.json +++ b/pyegeria/view/seed/Governance Officer.json @@ -1530,6 +1530,212 @@ } } }, + { + "label": "Decision-DrE-Advanced", + "envelope": { + "heading": "Decision-DrE-Advanced Attributes", + "description": "Auto-generated format for Decision (Create, Advanced).", + "family": "Governance Officer", + "target_type_name": "Decision", + "aliases": ["Decision DrE Advanced"] + }, + "microflow": { + "format": "microflow/1", + "params": { + "search_string": {"type": "string", "required": true}, + "sequencing_order": {"type": "string", "required": false}, + "sequencing_property": {"type": "string", "required": false}, + "page_size": {"type": "string", "required": false}, + "start_from": {"type": "string", "required": false}, + "starts_with": {"type": "string", "required": false}, + "ends_with": {"type": "string", "required": false}, + "ignore_case": {"type": "string", "required": false}, + "classification_names": {"type": "string", "required": false}, + "metadata_element_subtypes": {"type": "string", "required": false}, + "metadata_element_type": {"type": "string", "required": false} + }, + "stages": [ + { + "stage": "producer/find", + "type": "Decision", + "function": "GovernanceOfficer.find_decisions", + "params": {"search_string": "$search_string"} + } + ], + "formatters": { + "LIST": { + "columns": [ + {"field": "display_name", "label": "Display Name"}, + {"field": "qualified_name", "label": "Qualified Name"}, + {"field": "guid", "label": "GUID"}, + {"field": "effective_from", "label": "Effective From"}, + {"field": "effective_time", "label": "Effective Time"}, + {"field": "effective_to", "label": "Effective To"}, + {"field": "glossary_term", "label": "Glossary Term"}, + {"field": "is_own_anchor", "label": "Is Own Anchor"}, + {"field": "zone_membership", "label": "Zone Membership"}, + {"field": "additional_properties", "label": "Additional Properties"}, + {"field": "confidence_classification", "label": "Confidence Classification", "valid_values": ["UNCLASSIFIED", "AD_HOC", "TRANSACTIONAL", "AUTHORITATIVE", "DERIVED", "OBSOLETE", "OTHER"]}, + {"field": "confidentiality_classification", "label": "Confidentiality Classification", "valid_values": ["UNCLASSIFIED", "INTERNAL", "CONFIDENTIAL", "SENSITIVE", "RESTRICTED", "OTHER"]}, + {"field": "criticality_classification", "label": "Criticality Classification", "valid_values": ["UNCLASSIFIED", "MARGINAL", "IMPORTANT", "CRITICAL", "CATASTROPHIC", "OTHER"]}, + {"field": "description", "label": "Description"}, + {"field": "identifier", "label": "Identifier"}, + {"field": "impact_classification", "label": "Impact Classification", "valid_values": ["UNCLASSIFIED", "LOW", "MEDIUM", "HIGH", "OTHER"]}, + {"field": "legal", "label": "Legal"}, + {"field": "policy_management_point", "label": "Policy Management Point"}, + {"field": "retention_classification", "label": "Retention Classification", "valid_values": ["UNCLASSIFIED", "TEMPORARY", "PROJECT_LIFETIME", "TEAM_LIFETIME", "CONTRACT_LIFETIME", "REGULATED_LIFETIME", "TIMEBOXED_LIFETIME", "OTHER"]}, + {"field": "security_tags", "label": "Security Tags"}, + {"field": "authors", "label": "Authors"}, + {"field": "summary", "label": "Summary"}, + {"field": "scope", "label": "Scope"}, + {"field": "usage", "label": "Usage"}, + {"field": "importance", "label": "Importance"}, + {"field": "disposition", "label": "Disposition"}, + {"field": "implications", "label": "Implications"}, + {"field": "notes", "label": "Notes"}, + {"field": "start_time", "label": "Start Time"}, + {"field": "last_review_time", "label": "Last Review Time"}, + {"field": "next_review_time", "label": "Next Review Time"}, + {"field": "expiry_time", "label": "Expiry Time"}, + {"field": "version_identifier", "label": "Version Identifier"}, + {"field": "status", "label": "Status"}, + {"field": "content_status", "label": "Content Status", "valid_values": ["DRAFT", "PREPARED", "PROPOSED", "APPROVED", "REJECTED", "ACTIVE", "DEPRECATED", "OTHER"]}, + {"field": "user_defined_content_status", "label": "User Defined Content Status"}, + {"field": "category", "label": "Category"} + ] + }, + "ALL": { + "columns": [ + {"field": "effective_from", "label": "Effective From"}, + {"field": "effective_time", "label": "Effective Time"}, + {"field": "effective_to", "label": "Effective To"}, + {"field": "glossary_term", "label": "Glossary Term"}, + {"field": "is_own_anchor", "label": "Is Own Anchor"}, + {"field": "status", "label": "Status"}, + {"field": "zone_membership", "label": "Zone Membership"}, + {"field": "additional_properties", "label": "Additional Properties"}, + {"field": "category", "label": "Category"}, + {"field": "confidence_classification", "label": "Confidence Classification", "valid_values": ["UNCLASSIFIED", "AD_HOC", "TRANSACTIONAL", "AUTHORITATIVE", "DERIVED", "OBSOLETE", "OTHER"]}, + {"field": "confidentiality_classification", "label": "Confidentiality Classification", "valid_values": ["UNCLASSIFIED", "INTERNAL", "CONFIDENTIAL", "SENSITIVE", "RESTRICTED", "OTHER"]}, + {"field": "criticality_classification", "label": "Criticality Classification", "valid_values": ["UNCLASSIFIED", "MARGINAL", "IMPORTANT", "CRITICAL", "CATASTROPHIC", "OTHER"]}, + {"field": "description", "label": "Description"}, + {"field": "display_name", "label": "Display Name"}, + {"field": "guid", "label": "GUID"}, + {"field": "identifier", "label": "Identifier"}, + {"field": "impact_classification", "label": "Impact Classification", "valid_values": ["UNCLASSIFIED", "LOW", "MEDIUM", "HIGH", "OTHER"]}, + {"field": "legal", "label": "Legal"}, + {"field": "policy_management_point", "label": "Policy Management Point"}, + {"field": "qualified_name", "label": "Qualified Name"}, + {"field": "retention_classification", "label": "Retention Classification", "valid_values": ["UNCLASSIFIED", "TEMPORARY", "PROJECT_LIFETIME", "TEAM_LIFETIME", "CONTRACT_LIFETIME", "REGULATED_LIFETIME", "TIMEBOXED_LIFETIME", "OTHER"]}, + {"field": "security_tags", "label": "Security Tags"}, + {"field": "url", "label": "URL"}, + {"field": "version_identifier", "label": "Version Identifier"}, + {"field": "authors", "label": "Authors"}, + {"field": "content_status", "label": "Content Status", "valid_values": ["DRAFT", "PREPARED", "PROPOSED", "APPROVED", "REJECTED", "ACTIVE", "DEPRECATED", "OTHER"]}, + {"field": "user_defined_content_status", "label": "User Defined Content Status"}, + {"field": "summary", "label": "Summary"}, + {"field": "scope", "label": "Scope"}, + {"field": "usage", "label": "Usage"}, + {"field": "importance", "label": "Importance"}, + {"field": "disposition", "label": "Disposition"}, + {"field": "implications", "label": "Implications"}, + {"field": "notes", "label": "Notes"}, + {"field": "start_time", "label": "Start Time"}, + {"field": "last_review_time", "label": "Last Review Time"}, + {"field": "next_review_time", "label": "Next Review Time"}, + {"field": "expiry_time", "label": "Expiry Time"} + ] + } + } + } + }, + { + "label": "Decision-DrE-Basic", + "envelope": { + "heading": "Decision-DrE-Basic Attributes", + "description": "Auto-generated format for Decision (Create, Basic).", + "family": "Governance Officer", + "target_type_name": "Decision", + "aliases": ["Decision DrE Basic"] + }, + "microflow": { + "format": "microflow/1", + "params": { + "search_string": {"type": "string", "required": true}, + "sequencing_order": {"type": "string", "required": false}, + "sequencing_property": {"type": "string", "required": false}, + "page_size": {"type": "string", "required": false}, + "start_from": {"type": "string", "required": false}, + "starts_with": {"type": "string", "required": false}, + "ends_with": {"type": "string", "required": false}, + "ignore_case": {"type": "string", "required": false}, + "classification_names": {"type": "string", "required": false}, + "metadata_element_subtypes": {"type": "string", "required": false}, + "metadata_element_type": {"type": "string", "required": false} + }, + "stages": [ + { + "stage": "producer/find", + "type": "Decision", + "function": "GovernanceOfficer.find_decisions", + "params": {"search_string": "$search_string"} + } + ], + "formatters": { + "LIST": { + "columns": [ + {"field": "display_name", "label": "Display Name"}, + {"field": "qualified_name", "label": "Qualified Name"}, + {"field": "guid", "label": "GUID"}, + {"field": "zone_membership", "label": "Zone Membership"}, + {"field": "description", "label": "Description"}, + {"field": "legal", "label": "Legal"}, + {"field": "authors", "label": "Authors"}, + {"field": "summary", "label": "Summary"}, + {"field": "scope", "label": "Scope"}, + {"field": "usage", "label": "Usage"}, + {"field": "importance", "label": "Importance"}, + {"field": "disposition", "label": "Disposition"}, + {"field": "implications", "label": "Implications"}, + {"field": "notes", "label": "Notes"}, + {"field": "start_time", "label": "Start Time"}, + {"field": "last_review_time", "label": "Last Review Time"}, + {"field": "next_review_time", "label": "Next Review Time"}, + {"field": "expiry_time", "label": "Expiry Time"}, + {"field": "version_identifier", "label": "Version Identifier"}, + {"field": "content_status", "label": "Content Status", "valid_values": ["DRAFT", "PREPARED", "PROPOSED", "APPROVED", "REJECTED", "ACTIVE", "DEPRECATED", "OTHER"]}, + {"field": "category", "label": "Category"} + ] + }, + "ALL": { + "columns": [ + {"field": "zone_membership", "label": "Zone Membership"}, + {"field": "category", "label": "Category"}, + {"field": "description", "label": "Description"}, + {"field": "display_name", "label": "Display Name"}, + {"field": "guid", "label": "GUID"}, + {"field": "legal", "label": "Legal"}, + {"field": "qualified_name", "label": "Qualified Name"}, + {"field": "url", "label": "URL"}, + {"field": "version_identifier", "label": "Version Identifier"}, + {"field": "authors", "label": "Authors"}, + {"field": "content_status", "label": "Content Status", "valid_values": ["DRAFT", "PREPARED", "PROPOSED", "APPROVED", "REJECTED", "ACTIVE", "DEPRECATED", "OTHER"]}, + {"field": "summary", "label": "Summary"}, + {"field": "scope", "label": "Scope"}, + {"field": "usage", "label": "Usage"}, + {"field": "importance", "label": "Importance"}, + {"field": "disposition", "label": "Disposition"}, + {"field": "implications", "label": "Implications"}, + {"field": "notes", "label": "Notes"}, + {"field": "start_time", "label": "Start Time"}, + {"field": "last_review_time", "label": "Last Review Time"}, + {"field": "next_review_time", "label": "Next Review Time"}, + {"field": "expiry_time", "label": "Expiry Time"} + ] + } + } + } + }, { "label": "Governance-Approach-DrE-Advanced", "envelope": { diff --git a/pyegeria/view/seed/manifest.json b/pyegeria/view/seed/manifest.json index 77ed79b6d..c8d929f83 100644 --- a/pyegeria/view/seed/manifest.json +++ b/pyegeria/view/seed/manifest.json @@ -1,7 +1,7 @@ { "format": "pyegeria-seed/1", "description": "pyegeria's shipped report specs (the builtin tier). Generated by `python -m pyegeria.view.seed build` from the Python constants; do not edit by hand.", - "census": {"total": 448, "runnable": 381, "unrunnable": 0, "format_only": 67}, + "census": {"total": 450, "runnable": 383, "unrunnable": 0, "format_only": 67}, "families": 41, "files": [ {"file": "Action Author.json", "family": "Action Author", "count": 8}, @@ -28,7 +28,7 @@ {"file": "Glossary Manager.json", "family": "Glossary Manager", "count": 2}, {"file": "Glossary.json", "family": "Glossary", "count": 6}, {"file": "GlossaryManager.json", "family": "GlossaryManager", "count": 1}, - {"file": "Governance Officer.json", "family": "Governance Officer", "count": 67}, + {"file": "Governance Officer.json", "family": "Governance Officer", "count": 69}, {"file": "MetadataExpert.json", "family": "MetadataExpert", "count": 6}, {"file": "My Profile.json", "family": "My Profile", "count": 3}, {"file": "MyProfile.json", "family": "MyProfile", "count": 13}, @@ -46,5 +46,5 @@ {"file": "Valid-Values.json", "family": "Valid-Values", "count": 1}, {"file": "Views & Reports.json", "family": "Views & Reports", "count": 12} ], - "order": ["Referenceable", "ToDo-DrE", "Meeting-DrE", "Review-DrE", "Default", "Comment-by-Element", "Element-By-Owner", "Actor-Profiles", "Actor-Profiles-Assigned-MD", "Profile-Team-Detail", "Actor-Roles", "Team-Members", "Team-Member-Role-Detail", "User-Identities", "Perspectives", "Skills", "My-User", "My-User-MD", "My-User-Contribution-Record-Detail", "My-User-Note-Logs-Detail", "My-User-Activities", "My-User-Blogs", "My-User-Journals", "My-User-Contact-Detail", "My-User-Roles-Detail", "My-User-Teams-Detail", "My-User-Projects-Detail", "My-User-Communities-Detail", "My-User-ToDos", "Org-Chart", "TypeDef", "Valid-Values", "Engine-Actions", "Asset-Graph", "Asset-Lineage-Hops", "Common-Mermaid", "Common-Mermaid-Prop-Value", "Tech-Type-Elements", "Search-Keywords", "Tech-Type-Details", "Tech-Type-Details-MD", "Catalog-Template-Detail", "Governance-Action-Processes-Detail", "Place-Holder-Property-Detail", "External-Reference-Detail", "Governance-Action-Steps-Detail", "Action-Targets-Detail", "Action-Request-Sources-Detail", "Catalog-Target", "Tech-Type-Processes", "Tech-Types", "Platforms", "OMAGServers", "IntegrationConnectors", "Journal-Entry-DrE", "Informal-Tags-DrE", "ExternalReference", "ExternalIdentifier", "RelatedMedia", "CitedDocument", "Projects", "Glossaries", "Glossary-Terms", "Help-Terms", "Collections", "Collection-MindMap", "BasicCollections", "Folders", "BusinessCapabilities", "Security-Findings", "Penetration-Test-Findings", "Security-Posture", "Statement-of-Applicability-Controls", "Statement-of-Applicability-Implementation-Summary", "Collection Members", "Solution-Blueprint-Mermaid", "Solution-Blueprint", "Registered-Services", "Severity-Definitions", "Asset-Types", "Digital-Product-Catalog", "Digital-Product-Catalog-MyE", "Digital-Products", "Digital-Products-MyE", "Digital-Products-Slim", "Agreements", "Data-Dictionaries", "Data-Specifications", "Data-Structures", "Data-Fields", "Data-Classes", "Data-Value-Spec", "Report-Specs", "Measurement-Specifications", "Dashboards", "External-References", "Governance Basics", "Governance Definitions", "Governance Def", "Governance-Controls", "Governance-Zones", "Governance-Process", "Governance-Zone-Overview-Charts", "Secrets-Collection-User-Profile-Charts", "Valid-Value-Def", "License-Type", "Decision", "Data-Value", "Literal-Data-Value", "Governance Policies", "Activity-Entry-DrE-Advanced", "Activity-Entry-DrE-Basic", "Agreement-DrE-Advanced", "Agreement-DrE-Basic", "Blog-Entry-DrE-Advanced", "Blog-Entry-DrE-Basic", "Business-Capability-DrE-Advanced", "Business-Capability-DrE-Basic", "Business-Imperative-DrE-Advanced", "Business-Imperative-DrE-Basic", "Campaign-DrE-Advanced", "Campaign-DrE-Basic", "Certification-Type-DrE-Advanced", "Certification-Type-DrE-Basic", "Cited-Document-DrE-Advanced", "Cited-Document-DrE-Basic", "Collection-DrE-Advanced", "Collection-DrE-Basic", "Collection-Folder-DrE-Advanced", "Collection-Folder-DrE-Basic", "Comment-DrE-Advanced", "Comment-DrE-Basic", "Concept-Bead-Attribute-DrE-Advanced", "Concept-Bead-Attribute-DrE-Basic", "Concept-Bead-DrE-Advanced", "Concept-Bead-DrE-Basic", "Concept-Bead-Relationship-DrE-Advanced", "Concept-Bead-Relationship-DrE-Basic", "Concept-Model-DrE-Advanced", "Concept-Model-DrE-Basic", "Context-Event-Collection-DrE-Advanced", "Context-Event-Collection-DrE-Basic", "CSV-Data-File-Element-DrE-Advanced", "CSV-Data-File-Element-DrE-Basic", "CSV-File-DrE-Advanced", "CSV-File-DrE-Basic", "Dashboard-DrE-Advanced", "Dashboard-DrE-Basic", "Dashboard-Sheet-DrE-Advanced", "Dashboard-Sheet-DrE-Basic", "Data-Class-DrE-Advanced", "Data-Class-DrE-Basic", "Data-Dictionary-DrE-Advanced", "Data-Dictionary-DrE-Basic", "Data-Field-DrE-Advanced", "Data-Field-DrE-Basic", "Data-Grain-DrE-Advanced", "Data-Grain-DrE-Basic", "Data-Lens-DrE-Advanced", "Data-Lens-DrE-Basic", "Data-Processing-Purpose-DrE-Advanced", "Data-Processing-Purpose-DrE-Basic", "Data-Sharing-Agreement-DrE-Advanced", "Data-Sharing-Agreement-DrE-Basic", "Data-Sharing-Hub-DrE-Advanced", "Data-Sharing-Hub-DrE-Basic", "Data-Sharing-Request-DrE-Advanced", "Data-Sharing-Request-DrE-Basic", "Data-Spec-DrE-Advanced", "Data-Spec-DrE-Basic", "Data-Structure-DrE-Advanced", "Data-Structure-DrE-Basic", "Data-Value-Specification-DrE-Advanced", "Data-Value-Specification-DrE-Basic", "Design-Pattern-DrE-Advanced", "Design-Pattern-DrE-Basic", "Digital-Product-Catalog-DrE-Advanced", "Digital-Product-Catalog-DrE-Basic", "Digital-Product-DrE-Advanced", "Digital-Product-DrE-Basic", "Digital-Subscription-DrE-Advanced", "Digital-Subscription-DrE-Basic", "Display-Data-Container-DrE-Advanced", "Display-Data-Container-DrE-Basic", "Display-Data-Field-DrE-Advanced", "Display-Data-Field-DrE-Basic", "Element-DrE-Advanced", "Element-DrE-Basic", "Embedded-Process-DrE-Advanced", "Embedded-Process-DrE-Basic", "Enum-Def-DrE-Advanced", "Enum-Def-DrE-Basic", "Event-Set-DrE-Advanced", "Event-Set-DrE-Basic", "Experiment-DrE-Advanced", "Experiment-DrE-Basic", "External-Data-Source-DrE-Advanced", "External-Data-Source-DrE-Basic", "External-Model-Source-DrE-Advanced", "External-Model-Source-DrE-Basic", "External-Reference-DrE-Advanced", "External-Reference-DrE-Basic", "External-Source-Code-DrE-Advanced", "External-Source-Code-DrE-Basic", "External-Standard-DrE-Advanced", "External-Standard-DrE-Basic", "Folder-Element-DrE-Advanced", "Folder-Element-DrE-Basic", "Folio-DrE-Advanced", "Folio-DrE-Basic", "Glossary-DrE-Advanced", "Glossary-DrE-Basic", "Glossary-Project-DrE-Advanced", "Glossary-Project-DrE-Basic", "Glossary-Term-DrE-Advanced", "Glossary-Term-DrE-Basic", "Governance-Action-Process-DrE-Advanced", "Governance-Action-Process-DrE-Basic", "Governance-Action-Process-Step-DrE-Advanced", "Governance-Action-Process-Step-DrE-Basic", "Governance-Action-Type-DrE-Advanced", "Governance-Action-Type-DrE-Basic", "Governance-Approach-DrE-Advanced", "Governance-Approach-DrE-Basic", "Governance-Control-DrE-Advanced", "Governance-Control-DrE-Basic", "Governance-Definition-DrE-Advanced", "Governance-Definition-DrE-Basic", "Governance-Driver-DrE-Advanced", "Governance-Driver-DrE-Basic", "Governance-Metric-DrE-Advanced", "Governance-Metric-DrE-Basic", "Governance-Obligation-DrE-Advanced", "Governance-Obligation-DrE-Basic", "Governance-Policy-DrE-Advanced", "Governance-Policy-DrE-Basic", "Governance-Principle-DrE-Advanced", "Governance-Principle-DrE-Basic", "Governance-Procedure-DrE-Advanced", "Governance-Procedure-DrE-Basic", "Governance-Project-DrE-Advanced", "Governance-Project-DrE-Basic", "Governance-Responsibility-DrE-Advanced", "Governance-Responsibility-DrE-Basic", "Governance-Role-DrE-Advanced", "Governance-Role-DrE-Basic", "Governance-Rule-DrE-Advanced", "Governance-Rule-DrE-Basic", "Governance-Strategy-DrE-Advanced", "Governance-Strategy-DrE-Basic", "Governance-Zone-DrE-Advanced", "Governance-Zone-DrE-Basic", "Home-Collection-DrE-Advanced", "Home-Collection-DrE-Basic", "Informal-Tag-DrE-Advanced", "Informal-Tag-DrE-Basic", "Information-Supply-Chain-DrE-Advanced", "Information-Supply-Chain-DrE-Basic", "Instance-DrE-Advanced", "Instance-DrE-Basic", "IT-Profile-Role-DrE-Advanced", "IT-Profile-Role-DrE-Basic", "IT-Subsystem-DrE-Advanced", "IT-Subsystem-DrE-Basic", "Journal-Entry-DrE-Advanced", "Journal-Entry-DrE-Basic", "Kafka-Server-Element-DrE-Advanced", "Kafka-Server-Element-DrE-Basic", "License-Type-DrE-Advanced", "License-Type-DrE-Basic", "Like-DrE-Advanced", "Like-DrE-Basic", "Measurement-Specification-DrE-Advanced", "Measurement-Specification-DrE-Basic", "Meeting-DrE-Advanced", "Meeting-DrE-Basic", "Methodology-DrE-Advanced", "Methodology-DrE-Basic", "Namespace-DrE-Advanced", "Namespace-DrE-Basic", "Naming-Standard-Rule-DrE-Advanced", "Naming-Standard-Rule-DrE-Basic", "Naming-Standard-Rule-Set-DrE-Advanced", "Naming-Standard-Rule-Set-DrE-Basic", "Note-DrE-Advanced", "Note-DrE-Basic", "Notification-Type-DrE-Advanced", "Notification-Type-DrE-Basic", "Organization-DrE-Advanced", "Organization-DrE-Basic", "Penetration-Test-Finding-DrE-Advanced", "Penetration-Test-Finding-DrE-Basic", "Person-DrE-Advanced", "Person-DrE-Basic", "Person-Role-DrE-Advanced", "Person-Role-DrE-Basic", "Personal-Project-DrE-Advanced", "Personal-Project-DrE-Basic", "Perspective-DrE-Advanced", "Perspective-DrE-Basic", "Postgres-Database-Element-DrE-Advanced", "Postgres-Database-Element-DrE-Basic", "Postgres-Server-Element-DrE-Advanced", "Postgres-Server-Element-DrE-Basic", "Project-DrE-Advanced", "Project-DrE-Basic", "Question-DrE-Advanced", "Question-DrE-Basic", "Question-Spec-DrE-Advanced", "Question-Spec-DrE-Basic", "Rating-DrE-Advanced", "Rating-DrE-Basic", "Recent-Access-DrE-Advanced", "Recent-Access-DrE-Basic", "Reference-Data-Set-DrE-Advanced", "Reference-Data-Set-DrE-Basic", "Reference-Data-Value-DrE-Advanced", "Reference-Data-Value-DrE-Basic", "Reference-List-DrE-Advanced", "Reference-List-DrE-Basic", "Regulation-Article-DrE-Advanced", "Regulation-Article-DrE-Basic", "Regulation-DrE-Advanced", "Regulation-DrE-Basic", "Related-Media-DrE-Advanced", "Related-Media-DrE-Basic", "Report-DrE-Advanced", "Report-DrE-Basic", "Report-Spec-DrE-Advanced", "Report-Spec-DrE-Basic", "Report-Type-DrE-Advanced", "Report-Type-DrE-Basic", "Results-Set-DrE-Advanced", "Results-Set-DrE-Basic", "Review-DrE-Advanced", "Review-DrE-Basic", "Risk-DrE-Advanced", "Risk-DrE-Basic", "Root-Collection-DrE-Advanced", "Root-Collection-DrE-Basic", "Saved-Query-DrE-Advanced", "Saved-Query-DrE-Basic", "Schema-Attribute-DrE-Advanced", "Schema-Attribute-DrE-Basic", "Schema-Attribute-From-Template-DrE-Advanced", "Schema-Attribute-From-Template-DrE-Basic", "Schema-Type-DrE-Advanced", "Schema-Type-DrE-Basic", "Schema-Type-From-Template-DrE-Advanced", "Schema-Type-From-Template-DrE-Basic", "Secrets-Store-Element-DrE-Advanced", "Secrets-Store-Element-DrE-Basic", "Security-Access-Control-DrE-Advanced", "Security-Access-Control-DrE-Basic", "Security-Finding-DrE-Advanced", "Security-Finding-DrE-Basic", "Security-Group-DrE-Advanced", "Security-Group-DrE-Basic", "Security-List-DrE-Advanced", "Security-List-DrE-Basic", "Security-Posture-Summary-DrE-Advanced", "Security-Posture-Summary-DrE-Basic", "Security-Role-DrE-Advanced", "Security-Role-DrE-Basic", "Service-Level-Objective-DrE-Advanced", "Service-Level-Objective-DrE-Basic", "Skill-DrE-Advanced", "Skill-DrE-Basic", "Skill-Set-DrE-Advanced", "Skill-Set-DrE-Basic", "Software-Archive-DrE-Advanced", "Software-Archive-DrE-Basic", "Solution-Blueprint-DrE-Advanced", "Solution-Blueprint-DrE-Basic", "Solution-Component-DrE-Advanced", "Solution-Component-DrE-Basic", "Solution-Role-DrE-Advanced", "Solution-Role-DrE-Basic", "Statement-of-Applicability-DrE-Advanced", "Statement-of-Applicability-DrE-Basic", "Study-Project-DrE-Advanced", "Study-Project-DrE-Basic", "Subject-Area-DrE-Advanced", "Subject-Area-DrE-Basic", "Subscription-Type-DrE-Advanced", "Subscription-Type-DrE-Basic", "Survey-Report-DrE-Advanced", "Survey-Report-DrE-Basic", "Task-DrE-Advanced", "Task-DrE-Basic", "Team-DrE-Advanced", "Team-DrE-Basic", "Team-Role-DrE-Advanced", "Team-Role-DrE-Basic", "Terms-and-Conditions-DrE-Advanced", "Terms-and-Conditions-DrE-Basic", "Threat-DrE-Advanced", "Threat-DrE-Basic", "ToDo-DrE-Advanced", "ToDo-DrE-Basic", "Type-Def-DrE-Advanced", "Type-Def-DrE-Basic", "UC-Catalog-Element-DrE-Advanced", "UC-Catalog-Element-DrE-Basic", "UC-Function-Element-DrE-Advanced", "UC-Function-Element-DrE-Basic", "UC-Schema-Element-DrE-Advanced", "UC-Schema-Element-DrE-Basic", "UC-Server-Element-DrE-Advanced", "UC-Server-Element-DrE-Basic", "UC-Table-Element-DrE-Advanced", "UC-Table-Element-DrE-Basic", "UC-Volume-Element-DrE-Advanced", "UC-Volume-Element-DrE-Basic", "Vulnerability-Finding-DrE-Advanced", "Vulnerability-Finding-DrE-Basic", "Work-Item-List-DrE-Advanced", "Work-Item-List-DrE-Basic", "Working-Set-DrE-Advanced", "Working-Set-DrE-Basic", "Analytic Demo - Element Count by Type", "Analytic Demo - Assets by Type Breakdown", "Analytic Demo - Ownership Coverage", "Analytic Demo - Business Value Signals", "Analytic Demo - Governance Coverage", "Analytic Demo - Certifications and Exceptions", "Analytic Demo - People and Community", "Analytic Demo - Feedback Summary", "Analytic Demo - Usage Context: Supply Chains & Blueprints", "Analytic Demo - Semantic Grounding", "Analytic Demo - AI Context Readiness", "Analytic Demo - AI-Ready Assets", "Analytic Demo - Catalog Growth Trend", "Analytic Demo - Term Definition Completeness", "Analytic Demo - Active Contributors", "Analytic Demo - Assets by Type Total (Composite)", "Analytic Demo - Count by Property", "Analytic Demo - Contextualised Coverage", "Analytic Demo - Karma Leaderboard", "Analytic Demo - Engagement Over Time", "Analytic Demo - Orphan Glossary Terms", "Analytic Demo - Stale Assets", "Analytic Demo - Metric Trend (Governance Coverage)", "Questions", "Report-Types", "Question-Specs", "DCAT Catalog", "DCAT Catalog (Turtle)"] + "order": ["Referenceable", "ToDo-DrE", "Meeting-DrE", "Review-DrE", "Default", "Comment-by-Element", "Element-By-Owner", "Actor-Profiles", "Actor-Profiles-Assigned-MD", "Profile-Team-Detail", "Actor-Roles", "Team-Members", "Team-Member-Role-Detail", "User-Identities", "Perspectives", "Skills", "My-User", "My-User-MD", "My-User-Contribution-Record-Detail", "My-User-Note-Logs-Detail", "My-User-Activities", "My-User-Blogs", "My-User-Journals", "My-User-Contact-Detail", "My-User-Roles-Detail", "My-User-Teams-Detail", "My-User-Projects-Detail", "My-User-Communities-Detail", "My-User-ToDos", "Org-Chart", "TypeDef", "Valid-Values", "Engine-Actions", "Asset-Graph", "Asset-Lineage-Hops", "Common-Mermaid", "Common-Mermaid-Prop-Value", "Tech-Type-Elements", "Search-Keywords", "Tech-Type-Details", "Tech-Type-Details-MD", "Catalog-Template-Detail", "Governance-Action-Processes-Detail", "Place-Holder-Property-Detail", "External-Reference-Detail", "Governance-Action-Steps-Detail", "Action-Targets-Detail", "Action-Request-Sources-Detail", "Catalog-Target", "Tech-Type-Processes", "Tech-Types", "Platforms", "OMAGServers", "IntegrationConnectors", "Journal-Entry-DrE", "Informal-Tags-DrE", "ExternalReference", "ExternalIdentifier", "RelatedMedia", "CitedDocument", "Projects", "Glossaries", "Glossary-Terms", "Help-Terms", "Collections", "Collection-MindMap", "BasicCollections", "Folders", "BusinessCapabilities", "Security-Findings", "Penetration-Test-Findings", "Security-Posture", "Statement-of-Applicability-Controls", "Statement-of-Applicability-Implementation-Summary", "Collection Members", "Solution-Blueprint-Mermaid", "Solution-Blueprint", "Registered-Services", "Severity-Definitions", "Asset-Types", "Digital-Product-Catalog", "Digital-Product-Catalog-MyE", "Digital-Products", "Digital-Products-MyE", "Digital-Products-Slim", "Agreements", "Data-Dictionaries", "Data-Specifications", "Data-Structures", "Data-Fields", "Data-Classes", "Data-Value-Spec", "Report-Specs", "Measurement-Specifications", "Dashboards", "External-References", "Governance Basics", "Governance Definitions", "Governance Def", "Governance-Controls", "Governance-Zones", "Governance-Process", "Governance-Zone-Overview-Charts", "Secrets-Collection-User-Profile-Charts", "Valid-Value-Def", "License-Type", "Decision", "Data-Value", "Literal-Data-Value", "Governance Policies", "Activity-Entry-DrE-Advanced", "Activity-Entry-DrE-Basic", "Agreement-DrE-Advanced", "Agreement-DrE-Basic", "Blog-Entry-DrE-Advanced", "Blog-Entry-DrE-Basic", "Business-Capability-DrE-Advanced", "Business-Capability-DrE-Basic", "Business-Imperative-DrE-Advanced", "Business-Imperative-DrE-Basic", "Campaign-DrE-Advanced", "Campaign-DrE-Basic", "Certification-Type-DrE-Advanced", "Certification-Type-DrE-Basic", "Cited-Document-DrE-Advanced", "Cited-Document-DrE-Basic", "Collection-DrE-Advanced", "Collection-DrE-Basic", "Collection-Folder-DrE-Advanced", "Collection-Folder-DrE-Basic", "Comment-DrE-Advanced", "Comment-DrE-Basic", "Concept-Bead-Attribute-DrE-Advanced", "Concept-Bead-Attribute-DrE-Basic", "Concept-Bead-DrE-Advanced", "Concept-Bead-DrE-Basic", "Concept-Bead-Relationship-DrE-Advanced", "Concept-Bead-Relationship-DrE-Basic", "Concept-Model-DrE-Advanced", "Concept-Model-DrE-Basic", "Context-Event-Collection-DrE-Advanced", "Context-Event-Collection-DrE-Basic", "CSV-Data-File-Element-DrE-Advanced", "CSV-Data-File-Element-DrE-Basic", "CSV-File-DrE-Advanced", "CSV-File-DrE-Basic", "Dashboard-DrE-Advanced", "Dashboard-DrE-Basic", "Dashboard-Sheet-DrE-Advanced", "Dashboard-Sheet-DrE-Basic", "Data-Class-DrE-Advanced", "Data-Class-DrE-Basic", "Data-Dictionary-DrE-Advanced", "Data-Dictionary-DrE-Basic", "Data-Field-DrE-Advanced", "Data-Field-DrE-Basic", "Data-Grain-DrE-Advanced", "Data-Grain-DrE-Basic", "Data-Lens-DrE-Advanced", "Data-Lens-DrE-Basic", "Data-Processing-Purpose-DrE-Advanced", "Data-Processing-Purpose-DrE-Basic", "Data-Sharing-Agreement-DrE-Advanced", "Data-Sharing-Agreement-DrE-Basic", "Data-Sharing-Hub-DrE-Advanced", "Data-Sharing-Hub-DrE-Basic", "Data-Sharing-Request-DrE-Advanced", "Data-Sharing-Request-DrE-Basic", "Data-Spec-DrE-Advanced", "Data-Spec-DrE-Basic", "Data-Structure-DrE-Advanced", "Data-Structure-DrE-Basic", "Data-Value-Specification-DrE-Advanced", "Data-Value-Specification-DrE-Basic", "Decision-DrE-Advanced", "Decision-DrE-Basic", "Design-Pattern-DrE-Advanced", "Design-Pattern-DrE-Basic", "Digital-Product-Catalog-DrE-Advanced", "Digital-Product-Catalog-DrE-Basic", "Digital-Product-DrE-Advanced", "Digital-Product-DrE-Basic", "Digital-Subscription-DrE-Advanced", "Digital-Subscription-DrE-Basic", "Display-Data-Container-DrE-Advanced", "Display-Data-Container-DrE-Basic", "Display-Data-Field-DrE-Advanced", "Display-Data-Field-DrE-Basic", "Element-DrE-Advanced", "Element-DrE-Basic", "Embedded-Process-DrE-Advanced", "Embedded-Process-DrE-Basic", "Enum-Def-DrE-Advanced", "Enum-Def-DrE-Basic", "Event-Set-DrE-Advanced", "Event-Set-DrE-Basic", "Experiment-DrE-Advanced", "Experiment-DrE-Basic", "External-Data-Source-DrE-Advanced", "External-Data-Source-DrE-Basic", "External-Model-Source-DrE-Advanced", "External-Model-Source-DrE-Basic", "External-Reference-DrE-Advanced", "External-Reference-DrE-Basic", "External-Source-Code-DrE-Advanced", "External-Source-Code-DrE-Basic", "External-Standard-DrE-Advanced", "External-Standard-DrE-Basic", "Folder-Element-DrE-Advanced", "Folder-Element-DrE-Basic", "Folio-DrE-Advanced", "Folio-DrE-Basic", "Glossary-DrE-Advanced", "Glossary-DrE-Basic", "Glossary-Project-DrE-Advanced", "Glossary-Project-DrE-Basic", "Glossary-Term-DrE-Advanced", "Glossary-Term-DrE-Basic", "Governance-Action-Process-DrE-Advanced", "Governance-Action-Process-DrE-Basic", "Governance-Action-Process-Step-DrE-Advanced", "Governance-Action-Process-Step-DrE-Basic", "Governance-Action-Type-DrE-Advanced", "Governance-Action-Type-DrE-Basic", "Governance-Approach-DrE-Advanced", "Governance-Approach-DrE-Basic", "Governance-Control-DrE-Advanced", "Governance-Control-DrE-Basic", "Governance-Definition-DrE-Advanced", "Governance-Definition-DrE-Basic", "Governance-Driver-DrE-Advanced", "Governance-Driver-DrE-Basic", "Governance-Metric-DrE-Advanced", "Governance-Metric-DrE-Basic", "Governance-Obligation-DrE-Advanced", "Governance-Obligation-DrE-Basic", "Governance-Policy-DrE-Advanced", "Governance-Policy-DrE-Basic", "Governance-Principle-DrE-Advanced", "Governance-Principle-DrE-Basic", "Governance-Procedure-DrE-Advanced", "Governance-Procedure-DrE-Basic", "Governance-Project-DrE-Advanced", "Governance-Project-DrE-Basic", "Governance-Responsibility-DrE-Advanced", "Governance-Responsibility-DrE-Basic", "Governance-Role-DrE-Advanced", "Governance-Role-DrE-Basic", "Governance-Rule-DrE-Advanced", "Governance-Rule-DrE-Basic", "Governance-Strategy-DrE-Advanced", "Governance-Strategy-DrE-Basic", "Governance-Zone-DrE-Advanced", "Governance-Zone-DrE-Basic", "Home-Collection-DrE-Advanced", "Home-Collection-DrE-Basic", "Informal-Tag-DrE-Advanced", "Informal-Tag-DrE-Basic", "Information-Supply-Chain-DrE-Advanced", "Information-Supply-Chain-DrE-Basic", "Instance-DrE-Advanced", "Instance-DrE-Basic", "IT-Profile-Role-DrE-Advanced", "IT-Profile-Role-DrE-Basic", "IT-Subsystem-DrE-Advanced", "IT-Subsystem-DrE-Basic", "Journal-Entry-DrE-Advanced", "Journal-Entry-DrE-Basic", "Kafka-Server-Element-DrE-Advanced", "Kafka-Server-Element-DrE-Basic", "License-Type-DrE-Advanced", "License-Type-DrE-Basic", "Like-DrE-Advanced", "Like-DrE-Basic", "Measurement-Specification-DrE-Advanced", "Measurement-Specification-DrE-Basic", "Meeting-DrE-Advanced", "Meeting-DrE-Basic", "Methodology-DrE-Advanced", "Methodology-DrE-Basic", "Namespace-DrE-Advanced", "Namespace-DrE-Basic", "Naming-Standard-Rule-DrE-Advanced", "Naming-Standard-Rule-DrE-Basic", "Naming-Standard-Rule-Set-DrE-Advanced", "Naming-Standard-Rule-Set-DrE-Basic", "Note-DrE-Advanced", "Note-DrE-Basic", "Notification-Type-DrE-Advanced", "Notification-Type-DrE-Basic", "Organization-DrE-Advanced", "Organization-DrE-Basic", "Penetration-Test-Finding-DrE-Advanced", "Penetration-Test-Finding-DrE-Basic", "Person-DrE-Advanced", "Person-DrE-Basic", "Person-Role-DrE-Advanced", "Person-Role-DrE-Basic", "Personal-Project-DrE-Advanced", "Personal-Project-DrE-Basic", "Perspective-DrE-Advanced", "Perspective-DrE-Basic", "Postgres-Database-Element-DrE-Advanced", "Postgres-Database-Element-DrE-Basic", "Postgres-Server-Element-DrE-Advanced", "Postgres-Server-Element-DrE-Basic", "Project-DrE-Advanced", "Project-DrE-Basic", "Question-DrE-Advanced", "Question-DrE-Basic", "Question-Spec-DrE-Advanced", "Question-Spec-DrE-Basic", "Rating-DrE-Advanced", "Rating-DrE-Basic", "Recent-Access-DrE-Advanced", "Recent-Access-DrE-Basic", "Reference-Data-Set-DrE-Advanced", "Reference-Data-Set-DrE-Basic", "Reference-Data-Value-DrE-Advanced", "Reference-Data-Value-DrE-Basic", "Reference-List-DrE-Advanced", "Reference-List-DrE-Basic", "Regulation-Article-DrE-Advanced", "Regulation-Article-DrE-Basic", "Regulation-DrE-Advanced", "Regulation-DrE-Basic", "Related-Media-DrE-Advanced", "Related-Media-DrE-Basic", "Report-DrE-Advanced", "Report-DrE-Basic", "Report-Spec-DrE-Advanced", "Report-Spec-DrE-Basic", "Report-Type-DrE-Advanced", "Report-Type-DrE-Basic", "Results-Set-DrE-Advanced", "Results-Set-DrE-Basic", "Review-DrE-Advanced", "Review-DrE-Basic", "Risk-DrE-Advanced", "Risk-DrE-Basic", "Root-Collection-DrE-Advanced", "Root-Collection-DrE-Basic", "Saved-Query-DrE-Advanced", "Saved-Query-DrE-Basic", "Schema-Attribute-DrE-Advanced", "Schema-Attribute-DrE-Basic", "Schema-Attribute-From-Template-DrE-Advanced", "Schema-Attribute-From-Template-DrE-Basic", "Schema-Type-DrE-Advanced", "Schema-Type-DrE-Basic", "Schema-Type-From-Template-DrE-Advanced", "Schema-Type-From-Template-DrE-Basic", "Secrets-Store-Element-DrE-Advanced", "Secrets-Store-Element-DrE-Basic", "Security-Access-Control-DrE-Advanced", "Security-Access-Control-DrE-Basic", "Security-Finding-DrE-Advanced", "Security-Finding-DrE-Basic", "Security-Group-DrE-Advanced", "Security-Group-DrE-Basic", "Security-List-DrE-Advanced", "Security-List-DrE-Basic", "Security-Posture-Summary-DrE-Advanced", "Security-Posture-Summary-DrE-Basic", "Security-Role-DrE-Advanced", "Security-Role-DrE-Basic", "Service-Level-Objective-DrE-Advanced", "Service-Level-Objective-DrE-Basic", "Skill-DrE-Advanced", "Skill-DrE-Basic", "Skill-Set-DrE-Advanced", "Skill-Set-DrE-Basic", "Software-Archive-DrE-Advanced", "Software-Archive-DrE-Basic", "Solution-Blueprint-DrE-Advanced", "Solution-Blueprint-DrE-Basic", "Solution-Component-DrE-Advanced", "Solution-Component-DrE-Basic", "Solution-Role-DrE-Advanced", "Solution-Role-DrE-Basic", "Statement-of-Applicability-DrE-Advanced", "Statement-of-Applicability-DrE-Basic", "Study-Project-DrE-Advanced", "Study-Project-DrE-Basic", "Subject-Area-DrE-Advanced", "Subject-Area-DrE-Basic", "Subscription-Type-DrE-Advanced", "Subscription-Type-DrE-Basic", "Survey-Report-DrE-Advanced", "Survey-Report-DrE-Basic", "Task-DrE-Advanced", "Task-DrE-Basic", "Team-DrE-Advanced", "Team-DrE-Basic", "Team-Role-DrE-Advanced", "Team-Role-DrE-Basic", "Terms-and-Conditions-DrE-Advanced", "Terms-and-Conditions-DrE-Basic", "Threat-DrE-Advanced", "Threat-DrE-Basic", "ToDo-DrE-Advanced", "ToDo-DrE-Basic", "Type-Def-DrE-Advanced", "Type-Def-DrE-Basic", "UC-Catalog-Element-DrE-Advanced", "UC-Catalog-Element-DrE-Basic", "UC-Function-Element-DrE-Advanced", "UC-Function-Element-DrE-Basic", "UC-Schema-Element-DrE-Advanced", "UC-Schema-Element-DrE-Basic", "UC-Server-Element-DrE-Advanced", "UC-Server-Element-DrE-Basic", "UC-Table-Element-DrE-Advanced", "UC-Table-Element-DrE-Basic", "UC-Volume-Element-DrE-Advanced", "UC-Volume-Element-DrE-Basic", "Vulnerability-Finding-DrE-Advanced", "Vulnerability-Finding-DrE-Basic", "Work-Item-List-DrE-Advanced", "Work-Item-List-DrE-Basic", "Working-Set-DrE-Advanced", "Working-Set-DrE-Basic", "Analytic Demo - Element Count by Type", "Analytic Demo - Assets by Type Breakdown", "Analytic Demo - Ownership Coverage", "Analytic Demo - Business Value Signals", "Analytic Demo - Governance Coverage", "Analytic Demo - Certifications and Exceptions", "Analytic Demo - People and Community", "Analytic Demo - Feedback Summary", "Analytic Demo - Usage Context: Supply Chains & Blueprints", "Analytic Demo - Semantic Grounding", "Analytic Demo - AI Context Readiness", "Analytic Demo - AI-Ready Assets", "Analytic Demo - Catalog Growth Trend", "Analytic Demo - Term Definition Completeness", "Analytic Demo - Active Contributors", "Analytic Demo - Assets by Type Total (Composite)", "Analytic Demo - Count by Property", "Analytic Demo - Contextualised Coverage", "Analytic Demo - Karma Leaderboard", "Analytic Demo - Engagement Over Time", "Analytic Demo - Orphan Glossary Terms", "Analytic Demo - Stale Assets", "Analytic Demo - Metric Trend (Governance Coverage)", "Questions", "Report-Types", "Question-Specs", "DCAT Catalog", "DCAT Catalog (Turtle)"] } diff --git a/sample-data/templates/advanced/Collections/Create_Working_Set.md b/sample-data/templates/advanced/Collections/Create_Working_Set.md index eed4d6a88..056cae962 100644 --- a/sample-data/templates/advanced/Collections/Create_Working_Set.md +++ b/sample-data/templates/advanced/Collections/Create_Working_Set.md @@ -18,7 +18,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The status of the elements in the working set. +> **Description**: The disposition: what was decided, or the current state of the item (for a working set, the status of its elements; for a decision or an outcome, what it settled). ### Journal Entry diff --git a/sample-data/templates/advanced/Curation/Classify_Promise.md b/sample-data/templates/advanced/Curation/Classify_Promise.md index 0ba9d33de..6fc9e0f30 100644 --- a/sample-data/templates/advanced/Curation/Classify_Promise.md +++ b/sample-data/templates/advanced/Curation/Classify_Promise.md @@ -24,7 +24,7 @@ ___ > **Attribute Type**: Simple -> **Description**: Date/time (ISO 8601) that the work started - for a promise, work on delivering the promised resource; for a report, the run that produced it. +> **Description**: Date/time (ISO 8601) that the work or decision started - for a promise, work on delivering the promised resource; for a report, the run that produced it; for a decision, when it took effect. ### Due Time @@ -40,7 +40,7 @@ ___ > **Attribute Type**: Simple -> **Description**: Date/time (ISO 8601) that the promise was last reviewed. +> **Description**: Date/time (ISO 8601) that the element (a promise, a decision) was last reviewed. ### Completion Time diff --git a/sample-data/templates/advanced/Governance Officer/Create_Decision.md b/sample-data/templates/advanced/Governance Officer/Create_Decision.md new file mode 100644 index 000000000..c451200ad --- /dev/null +++ b/sample-data/templates/advanced/Governance Officer/Create_Decision.md @@ -0,0 +1,520 @@ +___ + +## Create Decision +> Create or update a Decision (Egeria 6.4): a choice that was made, with its summary, scope, importance, disposition, implications and review dates. Needs Egeria 6.4. + +### Display Name +> **Input Required**: True + +> **Attribute Type**: Simple + +> **Description**: The common name of an element. + +> **Alternative Labels**: "Term Name" + + +### Summary +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A short summary of the element's meaning or purpose. + + +### Usage +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The usage guidance for this element — how it is intended to be used in context. + + +### Importance +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Importance of the definition. + + +### Disposition +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The disposition: what was decided, or the current state of the item (for a working set, the status of its elements; for a decision or an outcome, what it settled). + + +### Implications +> **Input Required**: False + +> **Attribute Type**: Simple List + +> **Description**: List of implications. + + +### Notes +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Notes and observations about the element. + + +### Start Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Date/time (ISO 8601) that the work or decision started - for a promise, work on delivering the promised resource; for a report, the run that produced it; for a decision, when it took effect. + + +### Last Review Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Date/time (ISO 8601) that the element (a promise, a decision) was last reviewed. + + +### Next Review Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Date/time (ISO 8601) that the decision is next due for review. + + +### Expiry Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Date/time (ISO 8601) after which the decision or assessment no longer applies. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Category +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user-defined category for the element, used to group related elements for display or search purposes. + +> **Alternative Labels**: Category Name + + +### Description +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A description. + + +### Legal +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Copyright and/or license information for the element or associated resource. + + +### Qualified Name +> **Input Required**: False + +> **Attribute Type**: QN + +> **Description**: The unique, text name of an element. + + +### Content Status +> **Input Required**: False + +> **Attribute Type**: Valid Value + +> **Description**: The lifecycle status of an element. + +> **Valid Values**: DRAFT,PREPARED,PROPOSED,APPROVED,REJECTED,ACTIVE,DEPRECATED,OTHER + +> **Default Value**: ACTIVE + + +### Scope +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Scope of the definition or element. + + +### Search Keywords +> **Input Required**: False + +> **Attribute Type**: Simple List + +> **Description**: A list of search keywords. + + +### Zone Membership +> **Input Required**: False + +> **Attribute Type**: Simple List + +> **Description**: Zones scope visibility of elements to different users. + + +### GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: A unique identifier - typically of an element in this context. + +> **Alternative Labels**: guid; Guid + + +### URL +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: URL for further information. + + +### Version Identifier +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The version of the element + +> **Alternative Labels**: Version + +> **Default Value**: 1.0 + + +### Authors +> **Input Required**: False + +> **Attribute Type**: Simple List + +> **Description**: The authors. + + +### Effective From +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The beginning of when an element is viewable. + + +### Effective Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The time at which an element must be effective in order to be returned by the request. + + +### Effective To +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The ending time at which an element is visible. + + +### External Source GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: The unique identifier of an external source. + + +### External Source Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The name of an external source + + +### For Duplicate Processing +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support duplicate processing. + + +### For Lineage +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support lineage. + + +### Request ID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user provided or system generated request id for a conversation. + + +### Anchor ID +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: Name of the anchoring element. + + +### Anchor Scope ID +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: Anchor scope to restrict search. + +> **Alternative Labels**: Anchor Scope + + +### Glossary Term +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: Term that provides meaning to this field. + +> **Alternative Labels**: Term + + +### Is Own Anchor +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: A flag indicating if the element is its own anchor or is anchored to a different element. + +> **Alternative Labels**: Own Anchor + +> **Default Value**: true + + +### Merge Update +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: A flag indicating if the update should be a merge or replace. + +> **Alternative Labels**: isMergeUpdate + +> **Default Value**: true + + +### Parent at End1 +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: A flag indicating if the parent is at end1 of the relationship + +> **Default Value**: true + + +### Parent ID +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: Name of the parent + +> **Alternative Labels**: Parent; + + +### Parent Relationship Attributes +> **Input Required**: False + +> **Attribute Type**: Dictionary + +> **Description**: A dictionary of relationship attributes to establish the parent relationship. + +> | Parameter Name | Parameter Value | +> |---|---| +> | example_key | example_value | + + +### Parent Relationship Type Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The type of parent relationship. + + +### Status +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Repository or element header status for an element. + +> **Default Value**: ACTIVE + + +### Additional Properties +> **Input Required**: False + +> **Attribute Type**: Dictionary + +> **Description**: Additional Properties allow arbitrary properties not defined in the type definitions to be added to any referenceable element. + +> | Parameter Name | Parameter Value | +> |---|---| +> | example_key | example_value | + + +### Confidence Classification +> **Input Required**: False + +> **Attribute Type**: Valid Value + +> **Description**: Classification from 0422. Structure: {status_identifier: int, confidence: int, steward: str, steward_type_name: str, steward_property_name: str, source: str, notes: str, level_identifier: int}. level_identifier uses ConfidenceLevel enum: UNCLASSIFIED=0, AD_HOC=1, TRANSACTIONAL=2, AUTHORITATIVE=3, DERIVED=4, OBSOLETE=5, OTHER=99. + +> **Valid Values**: UNCLASSIFIED,AD_HOC,TRANSACTIONAL,AUTHORITATIVE,DERIVED,OBSOLETE,OTHER + + +### Confidentiality Classification +> **Input Required**: False + +> **Attribute Type**: Valid Value + +> **Description**: Classification from 0422. Structure: {status_identifier: int, confidence: int, steward: str, steward_type_name: str, steward_property_name: str, source: str, notes: str, level_identifier: int}. level_identifier uses ConfidentialityLevel enum: UNCLASSIFIED=0, INTERNAL=1, CONFIDENTIAL=2, SENSITIVE=3, RESTRICTED=4, OTHER=99. + +> **Valid Values**: UNCLASSIFIED,INTERNAL,CONFIDENTIAL,SENSITIVE,RESTRICTED,OTHER + + +### Criticality Classification +> **Input Required**: False + +> **Attribute Type**: Valid Value + +> **Description**: Classification from 0422. Structure: {status_identifier: int, confidence: int, steward: str, steward_type_name: str, steward_property_name: str, source: str, notes: str, level_identifier: int}. level_identifier uses CriticalityLevel enum: UNCLASSIFIED=0, MARGINAL=1, IMPORTANT=2, CRITICAL=3, CATASTROPHIC=4, OTHER=99. + +> **Valid Values**: UNCLASSIFIED,MARGINAL,IMPORTANT,CRITICAL,CATASTROPHIC,OTHER + + +### Identifier +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: An identier + +> **Alternative Labels**: ID + + +### Impact Classification +> **Input Required**: False + +> **Attribute Type**: Valid Value + +> **Description**: Classification from 0422. Structure: {status_identifier: int, confidence: int, steward: str, steward_type_name: str, steward_property_name: str, source: str, notes: str, severity_identifier: int}. severity_identifier uses ImpactSeverity enum: UNCLASSIFIED=0, LOW=1, MEDIUM=2, HIGH=3, OTHER=99. + +> **Valid Values**: UNCLASSIFIED,LOW,MEDIUM,HIGH,OTHER + + +### Policy Management Point +> **Input Required**: False + +> **Attribute Type**: Dictionary + +> **Description**: Combined classification from 0435. Applied to Referenceable. Structure: {point_type: str, name: str, description: str}. point_type is one of: PolicyAdministrationPoint, PolicyDecisionPoint, PolicyEnforcementPoint, PolicyInformationPoint, PolicyRetrievalPoint. A Referenceable may have multiple policy management point classifications simultaneously. + +> | Parameter Name | Parameter Value | +> |---|---| +> | example_key | example_value | + + +### Retention Classification +> **Input Required**: False + +> **Attribute Type**: Valid Value + +> **Description**: Classification from 0422. Structure: {status_identifier: int, confidence: int, steward: str, steward_type_name: str, steward_property_name: str, source: str, notes: str, basis_identifier: int, associated_guid: str, archive_after: date, delete_after: date}. basis_identifier uses RetentionBasis enum: UNCLASSIFIED=0, TEMPORARY=1, PROJECT_LIFETIME=2, TEAM_LIFETIME=3, CONTRACT_LIFETIME=4, REGULATED_LIFETIME=5, TIMEBOXED_LIFETIME=6, OTHER=99. + +> **Valid Values**: UNCLASSIFIED,TEMPORARY,PROJECT_LIFETIME,TEAM_LIFETIME,CONTRACT_LIFETIME,REGULATED_LIFETIME,TIMEBOXED_LIFETIME,OTHER + + +### Security Tags +> **Input Required**: False + +> **Attribute Type**: Simple List + +> **Description**: Optional security tags for security processing. + + +### User Defined Content Status +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user defined content status = only valid if content status is OTHER. + + +### User Defined Status +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Only valid if Status is set to OTHER. User defined & managed status values. + + +### Classifications +> **Input Required**: false + +> **Attribute Type**: Named DICT + +> **Description**: Optionally specify the initial classifications for a collection. Multiple classifications can be specified. + +> **Alternative Labels**: classification + +> | Parameter Name | Parameter Value | +> |---|---| +> | example_key | example_value | + + +### Anchor Scope Name +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: Optional qualified name of an anchor scope. + + +### Supplementary Properties +> **Input Required**: False + +> **Attribute Type**: Named DICT + +> **Description**: Provide supplementary information to the element using the structure of a glossary term + +> | Parameter Name | Parameter Value | +> |---|---| +> | example_key | example_value | + + +___ diff --git a/sample-data/templates/advanced/Governance Officer/Detach_Assessment.md b/sample-data/templates/advanced/Governance Officer/Detach_Assessment.md new file mode 100644 index 000000000..f2f958081 --- /dev/null +++ b/sample-data/templates/advanced/Governance Officer/Detach_Assessment.md @@ -0,0 +1,122 @@ +___ + +## Detach Assessment +> Remove one Assessment relationship: by its Assessment GUID, or else by Element + Decision + Label (+ Assessment Time when more than one matches). Zero or several matches are refused, listing the candidates. Needs Egeria 6.4. + +### Assessment GUID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The GUID of the Assessment relationship, as Link Assessment writes it into the processed document. Identifies one assessment exactly: the same element can be assessed for a decision many times. + + +### Element +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The element at the other end of the relationship (any Referenceable): its qualified name, display name or GUID. For an assessment, the element that was assessed. + +> **Alternative Labels**: Assessed Element + + +### Decision +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The decision: its qualified name, display name or GUID. + + +### Label +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A label used to identify or categorise a relationship link. + +> **Alternative Labels**: Wire Label + + +### Assessment Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Date/time of the assessment, ISO 8601 with a zone (e.g. 2026-11-21T10:00:00Z); a time with no zone is refused. With Element, Decision and Label it can pick one assessment when no Assessment GUID is given. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Effective From +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The beginning of when an element is viewable. + + +### Effective Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The time at which an element must be effective in order to be returned by the request. + + +### Effective To +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The ending time at which an element is visible. + + +### External Source GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: The unique identifier of an external source. + + +### External Source Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The name of an external source + + +### For Duplicate Processing +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support duplicate processing. + + +### For Lineage +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support lineage. + + +### Request ID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user provided or system generated request id for a conversation. + + +___ diff --git a/sample-data/templates/advanced/Governance Officer/Detach_Decision_Outcome.md b/sample-data/templates/advanced/Governance Officer/Detach_Decision_Outcome.md new file mode 100644 index 000000000..bad0ace69 --- /dev/null +++ b/sample-data/templates/advanced/Governance Officer/Detach_Decision_Outcome.md @@ -0,0 +1,94 @@ +___ + +## Detach Decision Outcome +> Remove the Outcome relationship between a decision and an element. Needs Egeria 6.4. + +### Decision +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The decision: its qualified name, display name or GUID. + + +### Outcome +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The element that is an outcome of the decision (any Referenceable): its qualified name, display name or GUID. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Effective From +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The beginning of when an element is viewable. + + +### Effective Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The time at which an element must be effective in order to be returned by the request. + + +### Effective To +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The ending time at which an element is visible. + + +### External Source GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: The unique identifier of an external source. + + +### External Source Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The name of an external source + + +### For Duplicate Processing +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support duplicate processing. + + +### For Lineage +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support lineage. + + +### Request ID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user provided or system generated request id for a conversation. + + +___ diff --git a/sample-data/templates/advanced/Governance Officer/Link_Assessment.md b/sample-data/templates/advanced/Governance Officer/Link_Assessment.md new file mode 100644 index 000000000..33c4b25ce --- /dev/null +++ b/sample-data/templates/advanced/Governance Officer/Link_Assessment.md @@ -0,0 +1,200 @@ +___ + +## Link Assessment +> Record an assessment of an element that contributes to a decision (the Assessment relationship, multi-link: the same element can be assessed many times). The processed document carries the new Assessment GUID; re-running it with that GUID updates that assessment instead of adding another. Needs Egeria 6.4. + +### Label +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A label used to identify or categorise a relationship link. + +> **Alternative Labels**: Wire Label + + +### Element +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The element at the other end of the relationship (any Referenceable): its qualified name, display name or GUID. For an assessment, the element that was assessed. + +> **Alternative Labels**: Assessed Element + + +### Decision +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The decision: its qualified name, display name or GUID. + + +### Assessment GUID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The GUID of the Assessment relationship, as Link Assessment writes it into the processed document. Identifies one assessment exactly: the same element can be assessed for a decision many times. + + +### Assessor +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Who or what made the assessment (a name or GUID). + + +### Assessor Type Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The type name of the assessor element. + + +### Assessor Property Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The property of the assessor element that identifies it (e.g. qualifiedName). + + +### Assessment Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Date/time of the assessment, ISO 8601 with a zone (e.g. 2026-11-21T10:00:00Z); a time with no zone is refused. With Element, Decision and Label it can pick one assessment when no Assessment GUID is given. + + +### Expiry Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Date/time (ISO 8601) after which the decision or assessment no longer applies. + + +### Notes +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Notes and observations about the element. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Description +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A description. + + +### Effective From +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The beginning of when an element is viewable. + + +### Effective Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The time at which an element must be effective in order to be returned by the request. + + +### Effective To +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The ending time at which an element is visible. + + +### External Source GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: The unique identifier of an external source. + + +### External Source Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The name of an external source + + +### For Duplicate Processing +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support duplicate processing. + + +### For Lineage +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support lineage. + + +### Request ID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user provided or system generated request id for a conversation. + + +### Anchor Scope IDs +> **Input Required**: False + +> **Attribute Type**: Reference Name List + +> **Description**: A list of IDs that are anchor scopes for this element. + + +### Make Anchor +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Is the element at end2 an anchor to end1? + +> **Default Value**: false + + +### Additional Properties +> **Input Required**: False + +> **Attribute Type**: Dictionary + +> **Description**: Additional Properties allow arbitrary properties not defined in the type definitions to be added to any referenceable element. + +> | Parameter Name | Parameter Value | +> |---|---| +> | example_key | example_value | + + +___ diff --git a/sample-data/templates/advanced/Governance Officer/Link_Decision_Outcome.md b/sample-data/templates/advanced/Governance Officer/Link_Decision_Outcome.md new file mode 100644 index 000000000..8b2a080f9 --- /dev/null +++ b/sample-data/templates/advanced/Governance Officer/Link_Decision_Outcome.md @@ -0,0 +1,146 @@ +___ + +## Link Decision Outcome +> Record that an element is an outcome of a decision (the Outcome relationship, Decision to any Referenceable). Needs Egeria 6.4. + +### Label +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A label used to identify or categorise a relationship link. + +> **Alternative Labels**: Wire Label + + +### Decision +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The decision: its qualified name, display name or GUID. + + +### Outcome +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The element that is an outcome of the decision (any Referenceable): its qualified name, display name or GUID. + + +### Importance +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Importance of the definition. + + +### Disposition +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The disposition: what was decided, or the current state of the item (for a working set, the status of its elements; for a decision or an outcome, what it settled). + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Description +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A description. + + +### Effective From +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The beginning of when an element is viewable. + + +### Effective Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The time at which an element must be effective in order to be returned by the request. + + +### Effective To +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The ending time at which an element is visible. + + +### External Source GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: The unique identifier of an external source. + + +### External Source Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The name of an external source + + +### For Duplicate Processing +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support duplicate processing. + + +### For Lineage +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support lineage. + + +### Request ID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user provided or system generated request id for a conversation. + + +### Anchor Scope IDs +> **Input Required**: False + +> **Attribute Type**: Reference Name List + +> **Description**: A list of IDs that are anchor scopes for this element. + + +### Make Anchor +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Is the element at end2 an anchor to end1? + +> **Default Value**: false + + +___ diff --git a/sample-data/templates/advanced/Governance Officer/Update_Assessment.md b/sample-data/templates/advanced/Governance Officer/Update_Assessment.md new file mode 100644 index 000000000..f4e7e4a4f --- /dev/null +++ b/sample-data/templates/advanced/Governance Officer/Update_Assessment.md @@ -0,0 +1,360 @@ +___ + +## Update Assessment +> Update one Assessment relationship: by its Assessment GUID, or else by Element + Decision + Label (+ Assessment Time when more than one matches), resolved through the decision's assessed inputs. Zero or several matches are refused, listing the candidates. Needs Egeria 6.4. + +### Assessment GUID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The GUID of the Assessment relationship, as Link Assessment writes it into the processed document. Identifies one assessment exactly: the same element can be assessed for a decision many times. + + +### Element +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The element at the other end of the relationship (any Referenceable): its qualified name, display name or GUID. For an assessment, the element that was assessed. + +> **Alternative Labels**: Assessed Element + + +### Decision +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The decision: its qualified name, display name or GUID. + + +### Label +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A label used to identify or categorise a relationship link. + +> **Alternative Labels**: Wire Label + + +### Assessor +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Who or what made the assessment (a name or GUID). + + +### Assessor Type Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The type name of the assessor element. + + +### Assessor Property Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The property of the assessor element that identifies it (e.g. qualifiedName). + + +### Assessment Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Date/time of the assessment, ISO 8601 with a zone (e.g. 2026-11-21T10:00:00Z); a time with no zone is refused. With Element, Decision and Label it can pick one assessment when no Assessment GUID is given. + + +### Expiry Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Date/time (ISO 8601) after which the decision or assessment no longer applies. + + +### Notes +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Notes and observations about the element. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Description +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A description. + + +### Category +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user specified category name that can be used for example, to define product types or agreement types. + +> **Alternative Labels**: Category Name + + +### Qualified Name +> **Input Required**: False + +> **Attribute Type**: QN + +> **Description**: A unique qualified name for the element. Generated using the qualified name pattern if not user specified. + + +### Version Identifier +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Published product version identifier. + +> **Alternative Labels**: Version + +> **Default Value**: 1.0 + + +### Identifier +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: role identifier + +> **Alternative Labels**: ID + + +### GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: A system generated unique identifier. + +> **Alternative Labels**: Guid; guid + + +### URL +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Link to supporting information + + +### Search Keywords +> **Input Required**: False + +> **Attribute Type**: Simple List + +> **Description**: Keywords to facilitate finding the element + + +### Effective From +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The beginning of when an element is viewable. + + +### Effective Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The time at which an element must be effective in order to be returned by the request. + + +### Effective To +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The ending time at which an element is visible. + + +### External Source GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: The unique identifier of an external source. + + +### External Source Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The name of an external source + + +### For Duplicate Processing +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support duplicate processing. + + +### For Lineage +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support lineage. + + +### Request ID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user provided or system generated request id for a conversation. + + +### Additional Properties +> **Input Required**: False + +> **Attribute Type**: Dictionary + +> **Description**: Additional Properties allow arbitrary properties not defined in the type definitions to be added to any referenceable element. + +> | Parameter Name | Parameter Value | +> |---|---| +> | example_key | example_value | + + +### Status +> **Input Required**: False + +> **Attribute Type**: Valid Value + +> **Description**: The status of the digital product. There is a list of valid values that this conforms to. + +> **Default Value**: ACTIVE + + +### User Defined Status +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Only valid if Status is set to OTHER. User defined & managed status values. + + +### Classifications +> **Input Required**: false + +> **Attribute Type**: Named DICT + +> **Description**: Optionally specify the initial classifications for a collection. Multiple classifications can be specified. + +> **Alternative Labels**: classification + +> | Parameter Name | Parameter Value | +> |---|---| +> | example_key | example_value | + + +### Is Own Anchor +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Generally True. + +> **Alternative Labels**: Own Anchor + +> **Default Value**: True + + +### Anchor ID +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: Anchor identity for the collection. Typically a qualified name but if display name is unique then it could be used (not recommended) + + +### Parent ID +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: Unique name of the parent element. + +> **Alternative Labels**: Parent; + + +### Parent Relationship Type Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The kind of the relationship to the parent element. + + +### Anchor Scope Name +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: Optional qualified name of an anchor scope. + + +### Parent at End1 +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Is the parent at end1 of the relationship? + +> **Default Value**: True + + +### Merge Update +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: If True, only those attributes specified in the update will be updated; If False, any attributes not provided during the update will be set to None. + +> **Alternative Labels**: Merge + +> **Default Value**: True + + +### Supplementary Properties +> **Input Required**: False + +> **Attribute Type**: Named DICT + +> **Description**: Provide supplementary information to the element using the structure of a glossary term + +> | Parameter Name | Parameter Value | +> |---|---| +> | example_key | example_value | + + +___ diff --git a/sample-data/templates/advanced/Security Officer/Create_Survey_Report.md b/sample-data/templates/advanced/Security Officer/Create_Survey_Report.md index d0b94c6a9..8426ed454 100644 --- a/sample-data/templates/advanced/Security Officer/Create_Survey_Report.md +++ b/sample-data/templates/advanced/Security Officer/Create_Survey_Report.md @@ -18,7 +18,7 @@ ___ > **Attribute Type**: Simple -> **Description**: Date/time (ISO 8601) that the work started - for a promise, work on delivering the promised resource; for a report, the run that produced it. +> **Description**: Date/time (ISO 8601) that the work or decision started - for a promise, work on delivering the promised resource; for a report, the run that produced it; for a decision, when it took effect. ### Completion Time diff --git a/sample-data/templates/basic/Collections/Create_Working_Set.md b/sample-data/templates/basic/Collections/Create_Working_Set.md index bdd0ec7ef..9876e7ce9 100644 --- a/sample-data/templates/basic/Collections/Create_Working_Set.md +++ b/sample-data/templates/basic/Collections/Create_Working_Set.md @@ -18,7 +18,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The status of the elements in the working set. +> **Description**: The disposition: what was decided, or the current state of the item (for a working set, the status of its elements; for a decision or an outcome, what it settled). ### Journal Entry diff --git a/sample-data/templates/basic/Curation/Classify_Promise.md b/sample-data/templates/basic/Curation/Classify_Promise.md index d8339a7c0..7dd44610a 100644 --- a/sample-data/templates/basic/Curation/Classify_Promise.md +++ b/sample-data/templates/basic/Curation/Classify_Promise.md @@ -24,7 +24,7 @@ ___ > **Attribute Type**: Simple -> **Description**: Date/time (ISO 8601) that the work started - for a promise, work on delivering the promised resource; for a report, the run that produced it. +> **Description**: Date/time (ISO 8601) that the work or decision started - for a promise, work on delivering the promised resource; for a report, the run that produced it; for a decision, when it took effect. ### Due Time @@ -40,7 +40,7 @@ ___ > **Attribute Type**: Simple -> **Description**: Date/time (ISO 8601) that the promise was last reviewed. +> **Description**: Date/time (ISO 8601) that the element (a promise, a decision) was last reviewed. ### Completion Time diff --git a/sample-data/templates/basic/Governance Officer/Create_Decision.md b/sample-data/templates/basic/Governance Officer/Create_Decision.md new file mode 100644 index 000000000..78e0236ab --- /dev/null +++ b/sample-data/templates/basic/Governance Officer/Create_Decision.md @@ -0,0 +1,212 @@ +___ + +## Create Decision +> Create or update a Decision (Egeria 6.4): a choice that was made, with its summary, scope, importance, disposition, implications and review dates. Needs Egeria 6.4. + +### Display Name +> **Input Required**: True + +> **Attribute Type**: Simple + +> **Description**: The common name of an element. + +> **Alternative Labels**: "Term Name" + + +### Summary +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A short summary of the element's meaning or purpose. + + +### Usage +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The usage guidance for this element — how it is intended to be used in context. + + +### Importance +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Importance of the definition. + + +### Disposition +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The disposition: what was decided, or the current state of the item (for a working set, the status of its elements; for a decision or an outcome, what it settled). + + +### Implications +> **Input Required**: False + +> **Attribute Type**: Simple List + +> **Description**: List of implications. + + +### Notes +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Notes and observations about the element. + + +### Start Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Date/time (ISO 8601) that the work or decision started - for a promise, work on delivering the promised resource; for a report, the run that produced it; for a decision, when it took effect. + + +### Last Review Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Date/time (ISO 8601) that the element (a promise, a decision) was last reviewed. + + +### Next Review Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Date/time (ISO 8601) that the decision is next due for review. + + +### Expiry Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Date/time (ISO 8601) after which the decision or assessment no longer applies. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Category +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user-defined category for the element, used to group related elements for display or search purposes. + +> **Alternative Labels**: Category Name + + +### Description +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A description. + + +### Legal +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Copyright and/or license information for the element or associated resource. + + +### Qualified Name +> **Input Required**: False + +> **Attribute Type**: QN + +> **Description**: The unique, text name of an element. + + +### Content Status +> **Input Required**: False + +> **Attribute Type**: Valid Value + +> **Description**: The lifecycle status of an element. + +> **Valid Values**: DRAFT,PREPARED,PROPOSED,APPROVED,REJECTED,ACTIVE,DEPRECATED,OTHER + +> **Default Value**: ACTIVE + + +### Scope +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Scope of the definition or element. + + +### Search Keywords +> **Input Required**: False + +> **Attribute Type**: Simple List + +> **Description**: A list of search keywords. + + +### Zone Membership +> **Input Required**: False + +> **Attribute Type**: Simple List + +> **Description**: Zones scope visibility of elements to different users. + + +### GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: A unique identifier - typically of an element in this context. + +> **Alternative Labels**: guid; Guid + + +### URL +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: URL for further information. + + +### Version Identifier +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The version of the element + +> **Alternative Labels**: Version + +> **Default Value**: 1.0 + + +### Authors +> **Input Required**: False + +> **Attribute Type**: Simple List + +> **Description**: The authors. + + +___ diff --git a/sample-data/templates/basic/Governance Officer/Detach_Assessment.md b/sample-data/templates/basic/Governance Officer/Detach_Assessment.md new file mode 100644 index 000000000..ec2589c7c --- /dev/null +++ b/sample-data/templates/basic/Governance Officer/Detach_Assessment.md @@ -0,0 +1,58 @@ +___ + +## Detach Assessment +> Remove one Assessment relationship: by its Assessment GUID, or else by Element + Decision + Label (+ Assessment Time when more than one matches). Zero or several matches are refused, listing the candidates. Needs Egeria 6.4. + +### Assessment GUID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The GUID of the Assessment relationship, as Link Assessment writes it into the processed document. Identifies one assessment exactly: the same element can be assessed for a decision many times. + + +### Element +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The element at the other end of the relationship (any Referenceable): its qualified name, display name or GUID. For an assessment, the element that was assessed. + +> **Alternative Labels**: Assessed Element + + +### Decision +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The decision: its qualified name, display name or GUID. + + +### Label +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A label used to identify or categorise a relationship link. + +> **Alternative Labels**: Wire Label + + +### Assessment Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Date/time of the assessment, ISO 8601 with a zone (e.g. 2026-11-21T10:00:00Z); a time with no zone is refused. With Element, Decision and Label it can pick one assessment when no Assessment GUID is given. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +___ diff --git a/sample-data/templates/basic/Governance Officer/Detach_Decision_Outcome.md b/sample-data/templates/basic/Governance Officer/Detach_Decision_Outcome.md new file mode 100644 index 000000000..a5bea8dac --- /dev/null +++ b/sample-data/templates/basic/Governance Officer/Detach_Decision_Outcome.md @@ -0,0 +1,30 @@ +___ + +## Detach Decision Outcome +> Remove the Outcome relationship between a decision and an element. Needs Egeria 6.4. + +### Decision +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The decision: its qualified name, display name or GUID. + + +### Outcome +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The element that is an outcome of the decision (any Referenceable): its qualified name, display name or GUID. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +___ diff --git a/sample-data/templates/basic/Governance Officer/Link_Assessment.md b/sample-data/templates/basic/Governance Officer/Link_Assessment.md new file mode 100644 index 000000000..01355098b --- /dev/null +++ b/sample-data/templates/basic/Governance Officer/Link_Assessment.md @@ -0,0 +1,106 @@ +___ + +## Link Assessment +> Record an assessment of an element that contributes to a decision (the Assessment relationship, multi-link: the same element can be assessed many times). The processed document carries the new Assessment GUID; re-running it with that GUID updates that assessment instead of adding another. Needs Egeria 6.4. + +### Label +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A label used to identify or categorise a relationship link. + +> **Alternative Labels**: Wire Label + + +### Element +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The element at the other end of the relationship (any Referenceable): its qualified name, display name or GUID. For an assessment, the element that was assessed. + +> **Alternative Labels**: Assessed Element + + +### Decision +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The decision: its qualified name, display name or GUID. + + +### Assessment GUID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The GUID of the Assessment relationship, as Link Assessment writes it into the processed document. Identifies one assessment exactly: the same element can be assessed for a decision many times. + + +### Assessor +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Who or what made the assessment (a name or GUID). + + +### Assessor Type Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The type name of the assessor element. + + +### Assessor Property Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The property of the assessor element that identifies it (e.g. qualifiedName). + + +### Assessment Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Date/time of the assessment, ISO 8601 with a zone (e.g. 2026-11-21T10:00:00Z); a time with no zone is refused. With Element, Decision and Label it can pick one assessment when no Assessment GUID is given. + + +### Expiry Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Date/time (ISO 8601) after which the decision or assessment no longer applies. + + +### Notes +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Notes and observations about the element. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Description +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A description. + + +___ diff --git a/sample-data/templates/basic/Governance Officer/Link_Decision_Outcome.md b/sample-data/templates/basic/Governance Officer/Link_Decision_Outcome.md new file mode 100644 index 000000000..154cf3c58 --- /dev/null +++ b/sample-data/templates/basic/Governance Officer/Link_Decision_Outcome.md @@ -0,0 +1,64 @@ +___ + +## Link Decision Outcome +> Record that an element is an outcome of a decision (the Outcome relationship, Decision to any Referenceable). Needs Egeria 6.4. + +### Label +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A label used to identify or categorise a relationship link. + +> **Alternative Labels**: Wire Label + + +### Decision +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The decision: its qualified name, display name or GUID. + + +### Outcome +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The element that is an outcome of the decision (any Referenceable): its qualified name, display name or GUID. + + +### Importance +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Importance of the definition. + + +### Disposition +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The disposition: what was decided, or the current state of the item (for a working set, the status of its elements; for a decision or an outcome, what it settled). + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Description +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A description. + + +___ diff --git a/sample-data/templates/basic/Security Officer/Create_Survey_Report.md b/sample-data/templates/basic/Security Officer/Create_Survey_Report.md index cea89044b..b2daa0a56 100644 --- a/sample-data/templates/basic/Security Officer/Create_Survey_Report.md +++ b/sample-data/templates/basic/Security Officer/Create_Survey_Report.md @@ -18,7 +18,7 @@ ___ > **Attribute Type**: Simple -> **Description**: Date/time (ISO 8601) that the work started - for a promise, work on delivering the promised resource; for a report, the run that produced it. +> **Description**: Date/time (ISO 8601) that the work or decision started - for a promise, work on delivering the promised resource; for a report, the run that produced it; for a decision, when it took effect. ### Completion Time diff --git a/tests/micro-tests/e64_dre_harness.py b/tests/micro-tests/e64_dre_harness.py new file mode 100644 index 000000000..9c32473cb --- /dev/null +++ b/tests/micro-tests/e64_dre_harness.py @@ -0,0 +1,104 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +"""A fake Egeria for the Dr.Egeria Egeria 6.4 command tests (Phase B), loaded by file path from the tests. + +A markdown document goes through the real path: UniversalExtractor -> setup_dispatcher -> the command's processor +-> the REAL pyegeria 6.4 wrapper (GovernanceOfficer, DataEngineer, ProjectManager, SchemaMaker, DevopsPipeline), +whose ``_async_make_request`` is patched to record what it would send. So a test sees the exact body the A6 +wrapper produced, after its own checks (properties class, unread keys, int positions) passed. + +No live server. +""" +from __future__ import annotations + +import json +from typing import Any, Callable, Dict, List, Optional + +from pyegeria import NO_ELEMENTS_FOUND +from pyegeria.core import egeria_6_4_gate +from pyegeria.omvs.data_engineer import DataEngineer +from pyegeria.omvs.devops_pipeline import DevopsPipeline +from pyegeria.omvs.governance_officer import GovernanceOfficer +from pyegeria.omvs.project_manager import ProjectManager +from pyegeria.omvs.schema_maker import SchemaMaker + +from md_processing.dr_egeria import setup_dispatcher +from md_processing.v2.extraction import UniversalExtractor + +PLATFORM = "https://localhost:1" +SERVER = "view-server" +ROOT = f"{PLATFORM}/servers/{SERVER}/api/open-metadata/" +NEW_GUID = "0a9e9a52-0000-4000-8000-00000000c0de" + +#: about answers for the gate +ABOUT_6_3 = json.dumps({"class": "AboutPlatform", "version": "6.3", "time": "2026-11-20T10:00:00Z"}) +ABOUT_6_4 = json.dumps({"class": "AboutPlatform", "version": "6.4-SNAPSHOT", "time": "2026-11-21T20:30:00Z"}) + + +class _Response: + def __init__(self, payload: Any, status_code: int = 200): + self._payload = payload + self.status_code = status_code + self.text = json.dumps(payload) + + def json(self): + return self._payload + + +class FakeEgeria: + """Stands in for EgeriaTech: name lookups, the five 6.4 subclients (real wrappers, request recorded).""" + + def __init__(self, monkeypatch, names: Optional[Dict[str, str]] = None, about: Optional[str] = None, + respond: Optional[Callable[[str, str, Any], Any]] = None): + self.calls: List[Dict[str, Any]] = [] + self.names = names or {} + self._respond = respond + egeria_6_4_gate.clear_cache() + if about is not None: + self.platform_url = PLATFORM + + async def origin(): + return about + self.async_get_platform_origin = origin + for cls in (GovernanceOfficer, DataEngineer, ProjectManager, SchemaMaker, DevopsPipeline): + monkeypatch.setattr(cls, "check_connection", lambda self: "test") + self.governance_officer = self._wrap(GovernanceOfficer(SERVER, PLATFORM, "user", "pwd")) + self.data_engineer = self._wrap(DataEngineer(SERVER, PLATFORM, "user", "pwd")) + self.project_manager = self._wrap(ProjectManager(SERVER, PLATFORM, "user", "pwd")) + self.schema_maker = self._wrap(SchemaMaker(SERVER, PLATFORM, "user", "pwd")) + self.devops_pipeline = self._wrap(DevopsPipeline(SERVER, PLATFORM, "user", "pwd")) + + def _wrap(self, client): + async def fake_make_request(method, url, payload=None, *args, **kwargs): + body = json.loads(payload) if isinstance(payload, str) else payload + path = url[len(ROOT):] if url.startswith(ROOT) else url + self.calls.append({"method": method, "path": path, "body": body}) + answer = self._respond(method, path, body) if self._respond else None + if isinstance(answer, BaseException): + raise answer + if answer is None: + answer = {"class": "GUIDResponse", "relatedHTTPCode": 200, "guid": NEW_GUID} + return _Response(answer) + client._async_make_request = fake_make_request + return client + + async def __async_get_guid__(self, qualified_name=None, display_name=None, property_name="qualifiedName", + tech_type=None, **kwargs): + return self.names.get(qualified_name or display_name, NO_ELEMENTS_FOUND) + + async def _async_get_element_by_guid_(self, guid, *args, **kwargs): + return NO_ELEMENTS_FOUND + + async def _async_get_metadata_element_by_guid(self, guid, *args, **kwargs): + return None + + def writes(self, path_part: str) -> List[Dict[str, Any]]: + """The recorded requests whose path contains `path_part`.""" + return [c for c in self.calls if path_part in c["path"]] + + +async def run_doc(fake: FakeEgeria, text: str, directive: str = "process") -> List[Dict[str, Any]]: + """Run a Dr.Egeria document through the real extractor and dispatcher; the command results, in order.""" + commands = [c for c in UniversalExtractor(text).extract_commands() if c.is_command] + assert commands, "the document has no command" + return await setup_dispatcher(fake).dispatch_batch(commands, {"directive": directive}) diff --git a/tests/micro-tests/test_e64_b1_dr_egeria_decisions.py b/tests/micro-tests/test_e64_b1_dr_egeria_decisions.py new file mode 100644 index 000000000..0c404329f --- /dev/null +++ b/tests/micro-tests/test_e64_b1_dr_egeria_decisions.py @@ -0,0 +1,463 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +""" +Egeria 6.4 Phase B1: the Dr.Egeria Governance Officer commands for Decisions (odpi/egeria#9463). + +Each command's sample document goes through the real extractor, dispatcher and processor, into the real A6 +GovernanceOfficer wrapper, whose HTTP call is captured (tests/micro-tests/e64_dre_harness.py). The test checks the +exact body the wrapper sends, so the wrapper's own checks (properties class, unread keys) passed too. + +Also: how Update/Detach Assessment pick one assessment (the Architect's §2 ruling), and the version gate +("needs Egeria 6.4", a WARNING row, nothing sent) for the family. + +No live server. +""" +import importlib.util +import pathlib +import sys + +import pytest + +from pyegeria.core._exceptions import PyegeriaClientException +from pyegeria.core import egeria_6_4_gate as gate + +_spec = importlib.util.spec_from_file_location("e64_dre_harness", + pathlib.Path(__file__).with_name("e64_dre_harness.py")) +h = importlib.util.module_from_spec(_spec) +_spec.loader.exec_module(h) + +DECISION = "d0000000-0000-4000-8000-000000000001" +ELEMENT = "e0000000-0000-4000-8000-000000000001" +OUTCOME = "f0000000-0000-4000-8000-000000000001" +REL_1 = "a0000000-0000-4000-8000-000000000001" +REL_2 = "a0000000-0000-4000-8000-000000000002" +REL_3 = "a0000000-0000-4000-8000-000000000003" + +# makeAnchor false is the Link Command Base's Make Anchor default, and Egeria's own (A1 read-back). +LINK_BASE = {"class": "NewRelationshipRequestBody", "forLineage": False, "forDuplicateProcessing": False, + "makeAnchor": False} +DELETE_BASE = {"class": "DeleteRelationshipRequestBody", "forLineage": False, "forDuplicateProcessing": False} + + +def _assessment(rel_guid, element, label, time): + return {"relationshipHeader": {"guid": rel_guid, "type": {"typeName": "Assessment"}}, + "relationshipProperties": {"class": "AssessmentProperties", "label": label, "assessmentTime": time}, + "relatedElement": {"elementHeader": {"guid": element}, "properties": {"qualifiedName": "X"}}} + + +INPUTS = [ + _assessment(REL_1, ELEMENT, "fit", "2026-11-01T10:00:00.000+00:00"), + _assessment(REL_2, ELEMENT, "fit", "2026-11-15T10:00:00.000+00:00"), + _assessment(REL_3, ELEMENT, "risk", 1763200800000), # 2025-11-15T10:00:00Z as epoch milliseconds +] + + +def _decision_with(inputs): + def respond(method, path, body): + if path.endswith(f"decisions/{DECISION}/retrieve"): + element = {"elementHeader": {"guid": DECISION}, "properties": {"qualifiedName": "Decision::d"}} + if inputs is not None: + element["inputsToDecision"] = inputs + return {"class": "DecisionResponse", "relatedHTTPCode": 200, "element": element} + if path.endswith("/attach") and "assessments" in path: + return {"class": "GUIDResponse", "relatedHTTPCode": 200, "guid": REL_1} + return None + return respond + + +# --------------------------------------------------------------------------------------------- Decision + +@pytest.mark.asyncio +async def test_create_decision_sends_exact_decision_properties(monkeypatch): + fake = h.FakeEgeria(monkeypatch) + [result] = await h.run_doc(fake, """ +## Create Decision +### Display Name +Adopt Egeria 6.4 B1-create +### Description +Move the demo to 6.4. +### Summary +Upgrade. +### Scope +Demo platforms +### Usage +For the laz demo. +### Importance +High +### Disposition +Approved +### Implications +- Re-test the Portal +- Release pyegeria +### Notes +See the build plan. +### Start Time +2026-11-22T00:00:00Z +### Last Review Time +2026-11-21T00:00:00Z +### Next Review Time +2026-12-22T00:00:00Z +### Expiry Time +2027-11-22T00:00:00Z +### Content Status +DRAFT +### Authors +Dan +""") + assert result["status"] == "success", result + [create] = [c for c in fake.calls if c["path"] == "governance-officer/decisions"] + assert create["body"] == { + "class": "NewElementRequestBody", "forLineage": False, "forDuplicateProcessing": False, + "isOwnAnchor": True, "parentAtEnd1": True, + "properties": { + "class": "DecisionProperties", "typeName": "Decision", + "displayName": "Adopt Egeria 6.4 B1-create", "qualifiedName": "Decision::Adopt Egeria 6.4 B1-create", + "description": "Move the demo to 6.4.", "authors": ["Dan"], "contentStatus": "DRAFT", + "summary": "Upgrade.", "scope": "Demo platforms", "usage": "For the laz demo.", "importance": "High", + "disposition": "Approved", "implications": ["Re-test the Portal", "Release pyegeria"], + "notes": "See the build plan.", "startTime": "2026-11-22T00:00:00Z", + "lastReviewTime": "2026-11-21T00:00:00Z", "nextReviewTime": "2026-12-22T00:00:00Z", + "expiryTime": "2027-11-22T00:00:00Z"}} + + +@pytest.mark.asyncio +async def test_update_decision_sends_merge_update_to_the_existing_decision(monkeypatch): + qn = "Decision::Adopt Egeria 6.4 B1-update" + + def respond(method, path, body): + if path.endswith(f"decisions/{DECISION}/retrieve"): + return {"class": "DecisionResponse", "relatedHTTPCode": 200, + "element": {"elementHeader": {"guid": DECISION}, "properties": {"qualifiedName": qn}}} + return None + + fake = h.FakeEgeria(monkeypatch, names={qn: DECISION}, respond=respond) + [result] = await h.run_doc(fake, """ +## Update Decision +### Display Name +Adopt Egeria 6.4 B1-update +### Disposition +Deferred +### Next Review Time +2027-01-15T00:00:00Z +""") + assert result["status"] == "success", result + [update] = fake.writes(f"decisions/{DECISION}/update") + assert update["body"] == { + "class": "UpdateElementRequestBody", "forLineage": False, "forDuplicateProcessing": False, + "mergeUpdate": True, + "properties": {"class": "DecisionProperties", "typeName": "Decision", + "displayName": "Adopt Egeria 6.4 B1-update", "qualifiedName": qn, + "disposition": "Deferred", "nextReviewTime": "2027-01-15T00:00:00Z"}} + assert "authors" not in update["body"]["properties"] # an empty list on a merge update would clear them + + +# --------------------------------------------------------------------------------------------- Outcome + +@pytest.mark.asyncio +async def test_link_decision_outcome_sends_outcome_properties(monkeypatch): + fake = h.FakeEgeria(monkeypatch) + [result] = await h.run_doc(fake, f""" +## Link Decision Outcome +### Decision +{DECISION} +### Outcome +{OUTCOME} +### Label +upgrade-ticket +### Description +The upgrade work item. +### Importance +High +### Disposition +Done +""") + assert result["status"] == "success", result + [call] = fake.calls + assert call["path"] == f"governance-officer/decisions/{DECISION}/outcomes/{OUTCOME}/attach" + assert call["body"] == {**LINK_BASE, "properties": { + "class": "OutcomeProperties", "typeName": "Outcome", "label": "upgrade-ticket", + "description": "The upgrade work item.", "importance": "High", "disposition": "Done"}} + + +@pytest.mark.asyncio +async def test_link_decision_outcome_with_no_properties_sends_none(monkeypatch): + fake = h.FakeEgeria(monkeypatch) + [result] = await h.run_doc(fake, f"## Link Decision Outcome\n### Decision\n{DECISION}\n### Outcome\n{OUTCOME}\n") + assert result["status"] == "success", result + assert fake.calls[0]["body"] == LINK_BASE + + +@pytest.mark.asyncio +@pytest.mark.parametrize("verb", ["Detach", "Unlink"]) +async def test_detach_decision_outcome(monkeypatch, verb): + fake = h.FakeEgeria(monkeypatch) + [result] = await h.run_doc(fake, f"## {verb} Decision Outcome\n### Decision\n{DECISION}\n### Outcome\n{OUTCOME}\n") + assert result["status"] == "success", result + [call] = fake.calls + assert call["path"] == f"governance-officer/decisions/{DECISION}/outcomes/{OUTCOME}/detach" + assert call["body"] == DELETE_BASE + + +# --------------------------------------------------------------------------------------------- Assessment + +ASSESSMENT_DOC = f""" +## Link Assessment +### Element +{ELEMENT} +### Decision +{DECISION} +### Label +fit +### Description +Fits the platform. +### Assessor +Erin Overview +### Assessor Type Name +Person +### Assessor Property Name +qualifiedName +### Assessment Time +2026-11-21T10:00:00Z +### Expiry Time +2027-11-21T10:00:00Z +### Notes +Checked on laz. +### Additional Properties +source: laz +""" + +ASSESSMENT_PROPERTIES = { + "class": "AssessmentProperties", "typeName": "Assessment", "label": "fit", "description": "Fits the platform.", + "assessor": "Erin Overview", "assessorTypeName": "Person", "assessorPropertyName": "qualifiedName", + "assessmentTime": "2026-11-21T10:00:00Z", "expiryTime": "2027-11-21T10:00:00Z", "notes": "Checked on laz.", + "additionalProperties": {"source": "laz"}} + + +@pytest.mark.asyncio +async def test_link_assessment_sends_exact_body_and_writes_its_guid_into_the_document(monkeypatch): + fake = h.FakeEgeria(monkeypatch, respond=_decision_with(INPUTS)) + [result] = await h.run_doc(fake, ASSESSMENT_DOC) + assert result["status"] == "success", result + [call] = fake.calls + assert call["path"] == f"governance-officer/elements/{ELEMENT}/assessments/{DECISION}/attach" + assert call["body"] == {**LINK_BASE, "properties": ASSESSMENT_PROPERTIES} + assert f"### Assessment GUID\n{REL_1}\n" in result["output"] + assert result["output"].lstrip().startswith("## Link Assessment") + + +@pytest.mark.asyncio +async def test_link_assessment_run_again_with_its_guid_updates_it_instead_of_adding_another(monkeypatch): + fake = h.FakeEgeria(monkeypatch, respond=_decision_with(INPUTS)) + doc = ASSESSMENT_DOC.replace("### Label\n", f"### Assessment GUID\n{REL_2}\n### Label\n") + [result] = await h.run_doc(fake, doc) + assert result["status"] == "success", result + [call] = fake.calls + assert call["path"] == f"governance-officer/assessments/{REL_2}/update" + assert call["body"] == {"class": "UpdateRelationshipRequestBody", "forLineage": False, + "forDuplicateProcessing": False, "mergeUpdate": True, "properties": ASSESSMENT_PROPERTIES} + assert result["output"].count("### Assessment GUID") == 1 + + +@pytest.mark.asyncio +async def test_update_assessment_by_guid(monkeypatch): + fake = h.FakeEgeria(monkeypatch) + [result] = await h.run_doc(fake, f"## Update Assessment\n### Assessment GUID\n{REL_2}\n### Notes\nRe-checked.\n") + assert result["status"] == "success", result + [call] = fake.calls + assert call["path"] == f"governance-officer/assessments/{REL_2}/update" + assert call["body"] == {"class": "UpdateRelationshipRequestBody", "forLineage": False, + "forDuplicateProcessing": False, "mergeUpdate": True, + "properties": {"class": "AssessmentProperties", "typeName": "Assessment", + "notes": "Re-checked."}} + + +def _pick_doc(verb, label="fit", time=None): + doc = f"## {verb} Assessment\n### Element\n{ELEMENT}\n### Decision\n{DECISION}\n### Label\n{label}\n" + if time: + doc += f"### Assessment Time\n{time}\n" + return doc + ("### Notes\nRe-checked.\n" if verb == "Update" else "") + + +@pytest.mark.asyncio +@pytest.mark.parametrize("time", ["2026-11-15T10:00:00Z", "2026-11-15T11:00:00+01:00", "2026-11-15T10:00:00.000Z"]) +async def test_detach_assessment_picks_the_one_at_that_instant(monkeypatch, time): + fake = h.FakeEgeria(monkeypatch, respond=_decision_with(INPUTS)) + [result] = await h.run_doc(fake, _pick_doc("Detach", time=time)) + assert result["status"] == "success", result + [detach] = fake.writes("/detach") + assert detach["path"] == f"governance-officer/assessments/{REL_2}/detach" + assert detach["body"] == DELETE_BASE + + +@pytest.mark.asyncio +async def test_update_assessment_picks_the_only_one_with_that_label(monkeypatch): + fake = h.FakeEgeria(monkeypatch, respond=_decision_with(INPUTS)) + [result] = await h.run_doc(fake, _pick_doc("Update", label="risk")) + assert result["status"] == "success", result + [update] = fake.writes("/update") + assert update["path"] == f"governance-officer/assessments/{REL_3}/update" + + +@pytest.mark.asyncio +async def test_epoch_millisecond_times_compare_as_instants(monkeypatch): + fake = h.FakeEgeria(monkeypatch, respond=_decision_with(INPUTS)) + [result] = await h.run_doc(fake, _pick_doc("Detach", label="risk", time="2025-11-15T10:00:00Z")) + assert result["status"] == "success", result + assert fake.writes("/detach")[0]["path"] == f"governance-officer/assessments/{REL_3}/detach" + + +@pytest.mark.asyncio +@pytest.mark.parametrize("verb", ["Update", "Detach"]) +async def test_several_matches_are_refused_listing_each_candidate(monkeypatch, verb): + fake = h.FakeEgeria(monkeypatch, respond=_decision_with(INPUTS)) + [result] = await h.run_doc(fake, _pick_doc(verb)) + assert result["status"] == "failure" + message = result["message"] + assert "2 assessments match" in message and "none was picked" in message + for rel, time in ((REL_1, "2026-11-01T10:00:00.000+00:00"), (REL_2, "2026-11-15T10:00:00.000+00:00")): + assert rel in message and time in message + assert "'fit'" in message and REL_3 not in message + assert not fake.writes("/update") and not fake.writes("/detach") + + +@pytest.mark.asyncio +async def test_no_match_is_refused_listing_the_candidates(monkeypatch): + fake = h.FakeEgeria(monkeypatch, respond=_decision_with(INPUTS)) + [result] = await h.run_doc(fake, _pick_doc("Detach", time="2026-11-02T10:00:00Z")) + assert result["status"] == "failure" + assert "no assessment matches" in result["message"] + assert REL_1 in result["message"] and REL_2 in result["message"] # same element and label, other times + assert not fake.writes("/detach") + + +@pytest.mark.asyncio +async def test_no_assessed_inputs_is_said_in_words_not_none(monkeypatch): + fake = h.FakeEgeria(monkeypatch, respond=_decision_with(None)) + [result] = await h.run_doc(fake, _pick_doc("Detach")) + assert result["status"] == "failure" + assert "lists no assessed inputs" in result["message"] + assert not fake.writes("/detach") + + +@pytest.mark.asyncio +@pytest.mark.parametrize("verb", ["Update", "Detach", "Link"]) +async def test_a_time_with_no_zone_is_refused_with_words(monkeypatch, verb): + fake = h.FakeEgeria(monkeypatch, respond=_decision_with(INPUTS)) + doc = (_pick_doc(verb, time="2026-11-15T10:00:00") if verb != "Link" + else ASSESSMENT_DOC.replace("2026-11-21T10:00:00Z\n### Expiry", "2026-11-21T10:00:00\n### Expiry")) + [result] = await h.run_doc(fake, doc) + assert result["status"] == "failure" + assert "has no time zone" in result["message"] + assert not [c for c in fake.calls if not c["path"].endswith("/retrieve")] + + +@pytest.mark.asyncio +async def test_update_assessment_without_guid_or_finders_says_what_is_missing(monkeypatch): + fake = h.FakeEgeria(monkeypatch) + [result] = await h.run_doc(fake, f"## Update Assessment\n### Element\n{ELEMENT}\n### Notes\nx\n") + assert result["status"] == "failure" + assert "needs the Assessment GUID" in result["message"] and "Decision, Label are missing" in result["message"] + assert fake.calls == [] + + +# --------------------------------------------------------------------------------------------- version gate + +B1_DOCS = { + "Create Decision": "## Create Decision\n### Display Name\nGate decision\n", + "Link Decision Outcome": f"## Link Decision Outcome\n### Decision\n{DECISION}\n### Outcome\n{OUTCOME}\n", + "Detach Decision Outcome": f"## Detach Decision Outcome\n### Decision\n{DECISION}\n### Outcome\n{OUTCOME}\n", + "Link Assessment": f"## Link Assessment\n### Element\n{ELEMENT}\n### Decision\n{DECISION}\n### Label\nfit\n", + "Update Assessment": f"## Update Assessment\n### Assessment GUID\n{REL_1}\n### Notes\nx\n", + "Detach Assessment": f"## Detach Assessment\n### Assessment GUID\n{REL_1}\n", +} + + +@pytest.mark.asyncio +@pytest.mark.parametrize("directive", ["process", "validate"]) +@pytest.mark.parametrize("command", list(B1_DOCS)) +async def test_before_egeria_6_4_every_b1_command_says_needs_6_4(monkeypatch, command, directive): + fake = h.FakeEgeria(monkeypatch, about=h.ABOUT_6_3) + [result] = await h.run_doc(fake, B1_DOCS[command], directive=directive) + assert result["status"] == "warning" # not an error, and not "none" + assert result["message"].startswith(f"{command} needs Egeria 6.4") + assert "runs Egeria 6.3" in result["message"] and "Nothing was sent" in result["message"] + assert "Needs Egeria 6.4" in result["output"] + assert fake.calls == [] + + +@pytest.mark.asyncio +async def test_a_6_4_snapshot_built_before_the_merge_also_needs_6_4(monkeypatch): + early = '{"version": "6.4-SNAPSHOT", "time": "2026-11-20T23:00:00Z"}' + fake = h.FakeEgeria(monkeypatch, about=early) + [result] = await h.run_doc(fake, B1_DOCS["Detach Assessment"]) + assert result["status"] == "warning" and "needs Egeria 6.4" in result["message"] + assert fake.calls == [] + + +@pytest.mark.asyncio +async def test_on_egeria_6_4_the_command_runs(monkeypatch): + fake = h.FakeEgeria(monkeypatch, about=h.ABOUT_6_4) + [result] = await h.run_doc(fake, B1_DOCS["Detach Assessment"]) + assert result["status"] == "success", result + assert fake.calls[0]["path"] == f"governance-officer/assessments/{REL_1}/detach" + + +@pytest.mark.asyncio +async def test_unknown_version_and_a_bare_404_reads_as_needs_6_4(monkeypatch): + def respond(method, path, body): + return PyegeriaClientException(h._Response({}, status_code=404), {"caller_method": "x"}, {}) + + fake = h.FakeEgeria(monkeypatch, about="not json", respond=respond) + [result] = await h.run_doc(fake, B1_DOCS["Link Decision Outcome"]) + assert result["status"] == "warning" + assert "needs Egeria 6.4" in result["message"] and "does not serve this request" in result["message"] + + +@pytest.mark.parametrize("about, expected", [ + ('{"version": "6.3"}', False), + ('{"version": "6.3-SNAPSHOT", "time": "2026-11-21T22:00:00Z"}', False), + ('{"version": "6.4"}', True), + ('{"version": "6.4.1"}', True), + ('{"version": "6.4-SNAPSHOT", "time": "2026-11-21T19:51:36Z"}', True), + ('{"version": "6.4-SNAPSHOT", "time": "2026-11-21T19:51:35Z"}', False), + ('{"version": "6.4-SNAPSHOT"}', None), # no build time: unknown, never "no" + ('{"version": "6.5-SNAPSHOT", "time": "2026-12-01T00:00:00Z"}', True), + ('{"version": "banana"}', None), + ("not json", None), +]) +def test_carries_6_4(about, expected): + assert gate.carries_6_4(about)[0] is expected + + +# --------------------------------------------------------------------------------------------- spec <-> processor + +B1_COMMANDS = ["Create Decision", "Link Decision Outcome", "Detach Decision Outcome", "Link Assessment", + "Update Assessment", "Detach Assessment"] +_ROOT = pathlib.Path(__file__).resolve().parents[2] + + +def _load_audit(): + spec = importlib.util.spec_from_file_location( + "dr_egeria_attribute_consumption_audit", _ROOT / "scripts" / "dr_egeria_attribute_consumption_audit.py") + module = importlib.util.module_from_spec(spec) + sys.modules[spec.name] = module # its dataclasses look their module up by name + spec.loader.exec_module(module) + return module + + +def test_attribute_consumption_audit_finds_nothing_on_the_b1_commands(): + audit = _load_audit() + findings = [f for c in ("Decision", "Assessment") for f in audit.audit(None, c)] + assert findings == [] + + +def test_every_b1_command_attribute_is_read_by_name_in_its_processor(): + """Stricter than the audit (which looks for the name anywhere): each command's own attributes are read + in md_processing/v2/decisions.py, and its bundle's by the shared body builders the processors call.""" + import json + family = json.loads((_ROOT / "md_processing/data/compact_commands/commands_governance_officer_compact.json") + .read_text()) + source = (_ROOT / "md_processing/v2/decisions.py").read_text() + for command in B1_COMMANDS: + for attribute in family["commands"][command]["custom_attributes"]: + assert f'"{attribute}"' in source, (command, attribute) From cb97672677047c387e1e0eb67a1021cf10e96ab8 Mon Sep 17 00:00:00 2001 From: Dan Wolfson Date: Sat, 21 Nov 2026 16:32:29 -0600 Subject: [PATCH 14/19] feat(dr-egeria): Egeria 6.4 Data Value commands (Phase B2, new Data Engineer family) Create/Update Data Value, Link/Detach Data Value Source, Processing Variable (Position) and Embedded Data Value (Position), through the A6 DataEngineer wrappers (md_processing/v2/data_values.py). A new Data Engineer family file, made with the Spec Editor API; templates, help and the Data-Value-DrE report specs regenerated by refresh_specs. A Literal Value, Literal Value List or Literal Value Map makes the value a LiteralDataValue (LiteralDataValueProperties); an update of an existing LiteralDataValue keeps its class, and a literal value for an existing plain DataValue is refused in words (Egeria can't change an element's type). Position, Length and Hash must be whole numbers; Position is sent only when the document gives it (its spec default 0 means unset). Every command is gated on Egeria 6.4, as in B1. The new family's bundles and shared attributes are copies of the definitions the loader already ends up with, so they change nothing at runtime (checked). Position and Length are reworded identically in Data Designer. DataEngineer.find_data_values joins the reviewed find-method additions (it only reads). test_zone_membership_basic counts 15 families. Signed-off-by: Dan Wolfson --- docs/dr_egeria_manual.md | 4 + .../commands_data_designer.json | 8 +- .../commands_data_engineer_compact.json | 1420 ++++++++ md_processing/data/generated_format_sets.json | 3038 +++++++++++++++++ md_processing/dr_egeria.py | 4 + md_processing/v2/data_values.py | 155 + pyegeria/view/base_report_formats.py | 2 + pyegeria/view/dr_egeria_reports.py | 2 + pyegeria/view/microflow.py | 3 + pyegeria/view/seed/Data Engineer.json | 196 ++ pyegeria/view/seed/manifest.json | 6 +- .../Data Designer/Create_Data_Field.md | 4 +- .../Link_Data_Field_to_Data_Structure.md | 2 +- .../Data Designer/Link_Nested_Data_Field.md | 2 +- .../Data Engineer/Create_Data_Value.md | 500 +++ .../Data Engineer/Detach_Data_Value_Source.md | 94 + .../Detach_Embedded_Data_Value.md | 94 + .../Detach_Processing_Variable.md | 96 + .../Data Engineer/Link_Data_Value_Source.md | 130 + .../Data Engineer/Link_Embedded_Data_Value.md | 140 + .../Data Engineer/Link_Processing_Variable.md | 142 + .../basic/Data Designer/Create_Data_Field.md | 4 +- .../Link_Data_Field_to_Data_Structure.md | 2 +- .../Data Designer/Link_Nested_Data_Field.md | 2 +- .../basic/Data Engineer/Create_Data_Value.md | 200 ++ .../Data Engineer/Detach_Data_Value_Source.md | 30 + .../Detach_Embedded_Data_Value.md | 30 + .../Detach_Processing_Variable.md | 32 + .../Data Engineer/Link_Data_Value_Source.md | 48 + .../Data Engineer/Link_Embedded_Data_Value.md | 58 + .../Data Engineer/Link_Processing_Variable.md | 60 + .../test_e64_b2_dr_egeria_data_values.py | 247 ++ .../micro-tests/test_zone_membership_basic.py | 2 +- 33 files changed, 6741 insertions(+), 16 deletions(-) create mode 100644 md_processing/data/compact_commands/commands_data_engineer_compact.json create mode 100644 md_processing/v2/data_values.py create mode 100644 sample-data/templates/advanced/Data Engineer/Create_Data_Value.md create mode 100644 sample-data/templates/advanced/Data Engineer/Detach_Data_Value_Source.md create mode 100644 sample-data/templates/advanced/Data Engineer/Detach_Embedded_Data_Value.md create mode 100644 sample-data/templates/advanced/Data Engineer/Detach_Processing_Variable.md create mode 100644 sample-data/templates/advanced/Data Engineer/Link_Data_Value_Source.md create mode 100644 sample-data/templates/advanced/Data Engineer/Link_Embedded_Data_Value.md create mode 100644 sample-data/templates/advanced/Data Engineer/Link_Processing_Variable.md create mode 100644 sample-data/templates/basic/Data Engineer/Create_Data_Value.md create mode 100644 sample-data/templates/basic/Data Engineer/Detach_Data_Value_Source.md create mode 100644 sample-data/templates/basic/Data Engineer/Detach_Embedded_Data_Value.md create mode 100644 sample-data/templates/basic/Data Engineer/Detach_Processing_Variable.md create mode 100644 sample-data/templates/basic/Data Engineer/Link_Data_Value_Source.md create mode 100644 sample-data/templates/basic/Data Engineer/Link_Embedded_Data_Value.md create mode 100644 sample-data/templates/basic/Data Engineer/Link_Processing_Variable.md create mode 100644 tests/micro-tests/test_e64_b2_dr_egeria_data_values.py diff --git a/docs/dr_egeria_manual.md b/docs/dr_egeria_manual.md index f71ec3de9..c46d54a5b 100644 --- a/docs/dr_egeria_manual.md +++ b/docs/dr_egeria_manual.md @@ -289,6 +289,10 @@ Dr.Egeria organizes its commands into "families," each corresponding to a specif - **Glossary**: Manage business terms, categories, and their relationships (e.g., `Create Glossary`, `Create Term`, `Link Term to Category`). - **Data Designer**: Define data structures, fields, data classes, and value specifications (e.g., `Create Data Structure`, `Create Data Field`), following Egeria's `0580 Data Dictionaries` / `0581 Data Field Implementation` models. Relationship commands cover each model relationship — `Link Data Field to Data Structure` (MemberDataField), `Link Nested Data Field` (NestedDataField), `Link Data Field` (LinkedDataField), `Link Data Value Definition`, `Link Schema Attribute Definition`, `Link Schema Type Definition`, `Link Certification Type to Data Structure` — and each also accepts `Detach`/`Unlink`/`Remove` to remove the relationship. `Classify Data Field as Primary Key` records which fields identify a record. `Create Measurement Specification` (Egeria 6.3) records how a measured value is read — `Units`, `Completeness Declared`, `Confidence Form`, `Uncertainty Form`, `Absence Sentences` — and `Link Basis Data Field` / `Link As Of Data Field` point it at the fields giving its basis and its time of measurement. +- **Data Engineer** (Egeria 6.4, odpi/egeria#9463, model 0208; processors in `md_processing/v2/data_values.py`): data values used or produced by processing. + - `Create`/`Update Data Value`: a DataValue with Data Format, Length, Data Type, Usage, Fingerprint (+ Algorithm) and Hash (+ Algorithm). A `Literal Value`, `Literal Value List` or `Literal Value Map` makes it a LiteralDataValue that carries the value itself; updating an existing LiteralDataValue keeps its class. Egeria can't change an element's type, so a literal value for an existing plain DataValue is refused in words. + - `Link`/`Detach Data Value Source` (DataValue → the Asset it is stored in), `Link`/`Detach Processing Variable` (an element such as a process → the DataValue it uses, with `Position`) and `Link`/`Detach Embedded Data Value` (parent DataValue → embedded DataValue, with `Position`). All uni-link. `Position` is a whole number, 0 means unset, and it is sent only when the document gives it. + - Like the Decision commands, each needs Egeria 6.4 and is refused with "needs Egeria 6.4" on an earlier platform. - **Actor Manager**: Manage organizational metadata, including people, teams, organizations, and roles (e.g., `Create Person`, `Create Team`, `Create Organization`, `Create Person Role`). Supports linking team structures and role appointments. - **Project**: Manage projects and their dependencies or hierarchies (e.g., `Create Project`, `Link Project Dependency`). - **Collection Manager**: Manage various collections of elements, including Folders, Products, and Agreements (e.g., `Create Collection Folder`, `Create Digital Product`). diff --git a/md_processing/data/compact_commands/commands_data_designer.json b/md_processing/data/compact_commands/commands_data_designer.json index 1e2aa0661..21753ec28 100644 --- a/md_processing/data/compact_commands/commands_data_designer.json +++ b/md_processing/data/compact_commands/commands_data_designer.json @@ -2741,7 +2741,7 @@ "default_value": "", "valid_values": [], "existing_element": "", - "description": "The maximum number of characters or digits allowed in the field.", + "description": "The maximum number of characters or digits allowed in the field, or the length of a data value.", "generated": false, "style": "Simple Int", "user_specified": true, @@ -2750,7 +2750,7 @@ "min_cardinality": 0, "max_cardinality": 1, "level": "Domain", - "Journal Entry": "" + "Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 Data Value commands can share it." }, "Less Granular Data Grain": { "variable_name": "less_granular_data_grain", @@ -3007,7 +3007,7 @@ "default_value": "0", "valid_values": [], "existing_element": "", - "description": "The ordinal position of the data field within its containing data structure.", + "description": "The ordinal position: of a data field within its containing data structure, or of a data value among an element's processing variables or a parent value's embedded values (0 means unset).", "generated": false, "style": "Simple Int", "user_specified": true, @@ -3016,7 +3016,7 @@ "min_cardinality": 0, "max_cardinality": 1, "level": "Domain", - "Journal Entry": "" + "Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 Data Value commands can share it." }, "Precision": { "variable_name": "precision", diff --git a/md_processing/data/compact_commands/commands_data_engineer_compact.json b/md_processing/data/compact_commands/commands_data_engineer_compact.json new file mode 100644 index 000000000..62d43ebea --- /dev/null +++ b/md_processing/data/compact_commands/commands_data_engineer_compact.json @@ -0,0 +1,1420 @@ +{ + "family": "Data Engineer", + "exported": "", + "attribute_definitions": { + "Effective From": { + "Journal Entry": "", + "attr_labels": "", + "default_value": "", + "description": "The beginning of when an element is viewable.", + "examples": "", + "existing_element": "", + "generated": false, + "inUpdate": true, + "input_required": false, + "level": "Advanced", + "max_cardinality": 1, + "min_cardinality": 1, + "style": "Simple", + "unique": false, + "user_specified": true, + "valid_values": [], + "variable_name": "effective_from" + }, + "Effective Time": { + "variable_name": "effective_time", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The time at which an element must be effective in order to be returned by the request.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Effective To": { + "variable_name": "effective_to", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The ending time at which an element is visible.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Extended Properties": { + "variable_name": "extended_properties", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "A dictionary of properties that extend the properties of an entity type.", + "generated": false, + "style": "Dictionary", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Invisible", + "Journal Entry": "" + }, + "External Source GUID": { + "variable_name": "external_source_guid", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The unique identifier of an external source.", + "generated": false, + "style": "GUID", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "External Source Name": { + "variable_name": "external_source_name", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The name of an external source", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "For Duplicate Processing": { + "variable_name": "for_duplicate_processing", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "Flag indicating if the request is to support duplicate processing.", + "generated": false, + "style": "Bool", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "For Lineage": { + "variable_name": "for_lineage", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "Flag indicating if the request is to support lineage.", + "generated": false, + "style": "Bool", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Journal Entry": { + "variable_name": "journal_entry", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "A text entry into a journal.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Common", + "Journal Entry": "" + }, + "Request ID": { + "variable_name": "request_id", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "A user provided or system generated request id for a conversation.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Anchor ID": { + "variable_name": "anchor_id", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "Referenceable", + "description": "Name of the anchoring element.", + "generated": false, + "style": "Reference Name", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Anchor Scope ID": { + "variable_name": "anchor_scope_id", + "inUpdate": true, + "attr_labels": "Anchor Scope", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "Referenceable", + "description": "Anchor scope to restrict search.", + "generated": false, + "style": "Reference Name", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Glossary Term": { + "variable_name": "glossary_term", + "inUpdate": true, + "attr_labels": "Term", + "examples": "Term::Zip Code", + "default_value": "", + "valid_values": [], + "existing_element": "GlossaryTerm", + "description": "Term that provides meaning to this field.", + "generated": false, + "style": "Reference Name", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Is Own Anchor": { + "variable_name": "is_own_anchor", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "true", + "valid_values": [], + "existing_element": "", + "description": "A flag indicating if the element is its own anchor or is anchored to a different element.", + "generated": false, + "style": "Bool", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Merge Update": { + "variable_name": "merge_update", + "inUpdate": true, + "attr_labels": "isMergeUpdate", + "examples": "", + "default_value": "true", + "valid_values": [], + "existing_element": "", + "description": "A flag indicating if the update should be a merge or replace.", + "generated": false, + "style": "Bool", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Parent at End1": { + "variable_name": "parent_at_end1", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "true", + "valid_values": [], + "existing_element": "", + "description": "A flag indicating if the parent is at end1 of the relationship", + "generated": false, + "style": "Bool", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Parent ID": { + "variable_name": "parent_id", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "Referenceable", + "description": "Name of the parent", + "generated": false, + "style": "Reference Name", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Parent Relationship Attributes": { + "variable_name": "parent_relationship_attributes", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "A dictionary of relationship attributes to establish the parent relationship.", + "generated": false, + "style": "Dictionary", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Parent Relationship Type Name": { + "variable_name": "parent_relationship_type_name", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The type of parent relationship.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Search Keywords": { + "variable_name": "search_keywords", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "A list of search keywords.", + "generated": false, + "style": "Simple List", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 0, + "level": "Basic", + "Journal Entry": "" + }, + "Status": { + "variable_name": "status", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "ACTIVE", + "valid_values": [], + "existing_element": "", + "description": "Repository or element header status for an element.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Zone Membership": { + "variable_name": "zone_membership", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "Zones scope visibility of elements to different users.", + "generated": false, + "style": "Simple List", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Basic", + "Journal Entry": "" + }, + "Additional Properties": { + "variable_name": "additional_properties", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "Additional Properties allow arbitrary properties not defined in the type definitions to be added to any referenceable element.", + "generated": false, + "style": "Dictionary", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Category": { + "variable_name": "category", + "inUpdate": true, + "attr_labels": "Category Name", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "A user-defined category for the element, used to group related elements for display or search purposes.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Common", + "Journal Entry": "" + }, + "Confidence Classification": { + "variable_name": "confidence_classification", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [ + "UNCLASSIFIED", + "AD_HOC", + "TRANSACTIONAL", + "AUTHORITATIVE", + "DERIVED", + "OBSOLETE", + "OTHER" + ], + "existing_element": "", + "description": "Classification from 0422. Structure: {status_identifier: int, confidence: int, steward: str, steward_type_name: str, steward_property_name: str, source: str, notes: str, level_identifier: int}. level_identifier uses ConfidenceLevel enum: UNCLASSIFIED=0, AD_HOC=1, TRANSACTIONAL=2, AUTHORITATIVE=3, DERIVED=4, OBSOLETE=5, OTHER=99.", + "generated": false, + "style": "Valid Value", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Confidentiality Classification": { + "variable_name": "confidentiality_classification", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [ + "UNCLASSIFIED", + "INTERNAL", + "CONFIDENTIAL", + "SENSITIVE", + "RESTRICTED", + "OTHER" + ], + "existing_element": "", + "description": "Classification from 0422. Structure: {status_identifier: int, confidence: int, steward: str, steward_type_name: str, steward_property_name: str, source: str, notes: str, level_identifier: int}. level_identifier uses ConfidentialityLevel enum: UNCLASSIFIED=0, INTERNAL=1, CONFIDENTIAL=2, SENSITIVE=3, RESTRICTED=4, OTHER=99.", + "generated": false, + "style": "Valid Value", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Criticality Classification": { + "variable_name": "criticality_classification", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [ + "UNCLASSIFIED", + "MARGINAL", + "IMPORTANT", + "CRITICAL", + "CATASTROPHIC", + "OTHER" + ], + "existing_element": "", + "description": "Classification from 0422. Structure: {status_identifier: int, confidence: int, steward: str, steward_type_name: str, steward_property_name: str, source: str, notes: str, level_identifier: int}. level_identifier uses CriticalityLevel enum: UNCLASSIFIED=0, MARGINAL=1, IMPORTANT=2, CRITICAL=3, CATASTROPHIC=4, OTHER=99.", + "generated": false, + "style": "Valid Value", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Description": { + "variable_name": "description", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "A description.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Common", + "Journal Entry": "" + }, + "Display Name": { + "variable_name": "display_name", + "inUpdate": true, + "attr_labels": "\"Term Name\"", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The common name of an element.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": true, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Common", + "Journal Entry": "" + }, + "GUID": { + "variable_name": "guid", + "inUpdate": true, + "attr_labels": "guid; Guid", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "A unique identifier - typically of an element in this context.", + "generated": false, + "style": "GUID", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Basic", + "Journal Entry": "" + }, + "Identifier": { + "variable_name": "identifier", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "An identier", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Impact Classification": { + "variable_name": "impact_classification", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [ + "UNCLASSIFIED", + "LOW", + "MEDIUM", + "HIGH", + "OTHER" + ], + "existing_element": "", + "description": "Classification from 0422. Structure: {status_identifier: int, confidence: int, steward: str, steward_type_name: str, steward_property_name: str, source: str, notes: str, severity_identifier: int}. severity_identifier uses ImpactSeverity enum: UNCLASSIFIED=0, LOW=1, MEDIUM=2, HIGH=3, OTHER=99.", + "generated": false, + "style": "Valid Value", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Legal": { + "variable_name": "legal", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "Copyright and/or license information for the element or associated resource.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Common", + "Journal Entry": "" + }, + "Policy Management Point": { + "variable_name": "policy_management_point", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "Combined classification from 0435. Applied to Referenceable. Structure: {point_type: str, name: str, description: str}. point_type is one of: PolicyAdministrationPoint, PolicyDecisionPoint, PolicyEnforcementPoint, PolicyInformationPoint, PolicyRetrievalPoint. A Referenceable may have multiple policy management point classifications simultaneously.", + "generated": false, + "style": "Dictionary", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Qualified Name": { + "variable_name": "qualified_name", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The unique, text name of an element.", + "generated": false, + "style": "QN", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Common", + "Journal Entry": "" + }, + "Retention Classification": { + "variable_name": "retention_classification", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [ + "UNCLASSIFIED", + "TEMPORARY", + "PROJECT_LIFETIME", + "TEAM_LIFETIME", + "CONTRACT_LIFETIME", + "REGULATED_LIFETIME", + "TIMEBOXED_LIFETIME", + "OTHER" + ], + "existing_element": "", + "description": "Classification from 0422. Structure: {status_identifier: int, confidence: int, steward: str, steward_type_name: str, steward_property_name: str, source: str, notes: str, basis_identifier: int, associated_guid: str, archive_after: date, delete_after: date}. basis_identifier uses RetentionBasis enum: UNCLASSIFIED=0, TEMPORARY=1, PROJECT_LIFETIME=2, TEAM_LIFETIME=3, CONTRACT_LIFETIME=4, REGULATED_LIFETIME=5, TIMEBOXED_LIFETIME=6, OTHER=99.", + "generated": false, + "style": "Valid Value", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Security Tags": { + "variable_name": "security_tags", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "Optional security tags for security processing.", + "generated": false, + "style": "Simple List", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 0, + "level": "Advanced", + "Journal Entry": "" + }, + "URL": { + "variable_name": "url", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "URL for further information.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Basic", + "Journal Entry": "" + }, + "Version Identifier": { + "variable_name": "version_identifier", + "inUpdate": true, + "attr_labels": "Version", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The version of the element", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Basic", + "Journal Entry": "" + }, + "Anchor Scope IDs": { + "variable_name": "anchor_scope_ids", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "A list of IDs that are anchor scopes for this element.", + "generated": false, + "style": "Reference Name List", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Label": { + "variable_name": "label", + "inUpdate": true, + "attr_labels": "Wire Label", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "A label used to identify or categorise a relationship link.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "" + }, + "Make Anchor": { + "variable_name": "make_anchor", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "false", + "valid_values": [], + "existing_element": "", + "description": "Is the element at end2 an anchor to end1?", + "generated": false, + "style": "Bool", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Data Format": { + "variable_name": "data_format", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The format of the data value (e.g. JSON, CSV, ISO 8601).", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0208 Data Values." + }, + "Length": { + "variable_name": "length", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The maximum number of characters or digits allowed in the field, or the length of a data value.", + "generated": false, + "style": "Simple Int", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 Data Value commands can share it." + }, + "Data Type": { + "variable_name": "data_type", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "string", + "valid_values": [ + "string", + "int", + "long", + "date", + "boolean", + "char", + "byte", + "float", + "double", + "biginteger", + "bigdecimal", + "array", + "array", + "map", + "map", + "map", + "map", + "map", + "map", + "map", + "short", + "map>", + "other" + ], + "existing_element": "", + "description": "The data type of the field or value specification (e.g. string, int, date, boolean).", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "" + }, + "Usage": { + "variable_name": "usage", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The usage guidance for this element \u2014 how it is intended to be used in context.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "" + }, + "Fingerprint": { + "variable_name": "fingerprint", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "A fingerprint of the data value, for spotting copies.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0208 Data Values." + }, + "Fingerprint Algorithm": { + "variable_name": "fingerprint_algorithm", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The algorithm that produced the Fingerprint.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0208 Data Values." + }, + "Hash": { + "variable_name": "hash", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "A hash of the data value (a whole number).", + "generated": false, + "style": "Simple Int", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0208 Data Values." + }, + "Hash Algorithm": { + "variable_name": "hash_algorithm", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The algorithm that produced the Hash.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0208 Data Values." + }, + "Literal Value": { + "variable_name": "literal_value", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The value itself, as text. Giving a Literal Value, Literal Value List or Literal Value Map makes this a LiteralDataValue.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0208 Data Values." + }, + "Literal Value List": { + "variable_name": "literal_value_list", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The value as a list of text values, one per line or comma separated. Makes this a LiteralDataValue.", + "generated": false, + "style": "Simple List", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": -1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0208 Data Values." + }, + "Literal Value Map": { + "variable_name": "literal_value_map", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The value as name: value pairs, one per line. Makes this a LiteralDataValue.", + "generated": false, + "style": "Dictionary", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0208 Data Values." + }, + "Data Value": { + "variable_name": "data_value", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "DataValue", + "description": "The data value: its qualified name, display name or GUID.", + "generated": false, + "style": "Reference Name", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0208 Data Values." + }, + "Asset": { + "variable_name": "asset", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "Asset", + "description": "The asset (any Asset) that the data value is stored in or comes from: its qualified name, display name or GUID.", + "generated": false, + "style": "Reference Name", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0208 Data Values." + }, + "Element": { + "variable_name": "element", + "inUpdate": true, + "attr_labels": "Assessed Element", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "Referenceable", + "description": "The element at the other end of the relationship (any Referenceable): its qualified name, display name or GUID. For an assessment, the element that was assessed.", + "generated": false, + "style": "Reference Name", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0018 Decisions." + }, + "Position": { + "variable_name": "position", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "0", + "valid_values": [], + "existing_element": "", + "description": "The ordinal position: of a data field within its containing data structure, or of a data value among an element's processing variables or a parent value's embedded values (0 means unset).", + "generated": false, + "style": "Simple Int", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 Data Value commands can share it." + }, + "Parent Data Value": { + "variable_name": "parent_data_value", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "DataValue", + "description": "The data value that the embedded value is part of: its qualified name, display name or GUID.", + "generated": false, + "style": "Reference Name", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0208 Data Values." + }, + "Embedded Data Value": { + "variable_name": "embedded_data_value", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "DataValue", + "description": "The data value embedded in the parent value: its qualified name, display name or GUID.", + "generated": false, + "style": "Reference Name", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0208 Data Values." + } + }, + "bundles": { + "Request Base": { + "inherits": null, + "own_attributes": [ + "Effective From", + "Effective Time", + "Effective To", + "Extended Properties", + "External Source GUID", + "External Source Name", + "For Duplicate Processing", + "For Lineage", + "Journal Entry", + "Request ID" + ] + }, + "New-Element": { + "inherits": "Request Base", + "own_attributes": [ + "Anchor ID", + "Anchor Scope ID", + "Glossary Term", + "Is Own Anchor", + "Merge Update", + "Parent at End1", + "Parent ID", + "Parent Relationship Attributes", + "Parent Relationship Type Name", + "Search Keywords", + "Status", + "Zone Membership" + ] + }, + "Referenceable": { + "inherits": "New-Element", + "own_attributes": [ + "Additional Properties", + "Category", + "Confidence Classification", + "Confidentiality Classification", + "Criticality Classification", + "Description", + "Display Name", + "GUID", + "Identifier", + "Impact Classification", + "Legal", + "Policy Management Point", + "Qualified Name", + "Retention Classification", + "Security Tags", + "URL", + "Version Identifier" + ] + }, + "Link Command Base": { + "inherits": "Request Base", + "own_attributes": [ + "Anchor Scope IDs", + "Description", + "Label", + "Make Anchor" + ] + } + }, + "commands": { + "Create Data Value": { + "display_name": "Data Value", + "qn_prefix": "DataValue", + "alternate_names": [], + "family": "Data Engineer", + "description": "Create or update a Data Value (Egeria 6.4): a value used or produced by processing, with its format, type, length and fingerprints. A Literal Value, Literal Value List or Literal Value Map makes it a LiteralDataValue that carries the value itself. Needs Egeria 6.4.", + "verb": "Create", + "upsert": false, + "attach": false, + "level": "Basic", + "find_method": "DataEngineer.find_data_values", + "find_constraints": "", + "extra_find": "", + "extra_constraints": "", + "OM_TYPE": "DataValue", + "bundle": "Referenceable", + "custom_attributes": [ + "Data Format", + "Length", + "Data Type", + "Usage", + "Fingerprint", + "Fingerprint Algorithm", + "Hash", + "Hash Algorithm", + "Literal Value", + "Literal Value List", + "Literal Value Map" + ], + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0208 Data Values." + }, + "Link Data Value Source": { + "display_name": "Data Value Source", + "qn_prefix": "", + "alternate_names": [], + "family": "Data Engineer", + "description": "Record the asset a data value is stored in or comes from (the DataValueSource relationship, Data Value to Asset). Needs Egeria 6.4.", + "verb": "Link", + "upsert": false, + "attach": true, + "level": "Basic", + "find_method": "", + "find_constraints": "", + "extra_find": "", + "extra_constraints": "", + "OM_TYPE": "DataValueSource", + "bundle": "Link Command Base", + "custom_attributes": [ + "Data Value", + "Asset" + ], + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0208 Data Values." + }, + "Detach Data Value Source": { + "display_name": "Data Value Source", + "qn_prefix": "", + "alternate_names": [], + "family": "Data Engineer", + "description": "Remove the DataValueSource relationship between a data value and an asset. Needs Egeria 6.4.", + "verb": "Detach", + "upsert": false, + "attach": false, + "level": "Basic", + "find_method": "", + "find_constraints": "", + "extra_find": "", + "extra_constraints": "", + "OM_TYPE": "DataValueSource", + "bundle": "Request Base", + "custom_attributes": [ + "Data Value", + "Asset" + ], + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0208 Data Values." + }, + "Link Processing Variable": { + "display_name": "Processing Variable", + "qn_prefix": "", + "alternate_names": [], + "family": "Data Engineer", + "description": "Record that an element (a process, a step) uses a data value as a variable (the ProcessingVariable relationship), at a Position (0 means unset). Needs Egeria 6.4.", + "verb": "Link", + "upsert": false, + "attach": true, + "level": "Basic", + "find_method": "", + "find_constraints": "", + "extra_find": "", + "extra_constraints": "", + "OM_TYPE": "ProcessingVariable", + "bundle": "Link Command Base", + "custom_attributes": [ + "Element", + "Data Value", + "Position" + ], + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0208 Data Values." + }, + "Detach Processing Variable": { + "display_name": "Processing Variable", + "qn_prefix": "", + "alternate_names": [], + "family": "Data Engineer", + "description": "Remove the ProcessingVariable relationship between an element and a data value. Needs Egeria 6.4.", + "verb": "Detach", + "upsert": false, + "attach": false, + "level": "Basic", + "find_method": "", + "find_constraints": "", + "extra_find": "", + "extra_constraints": "", + "OM_TYPE": "ProcessingVariable", + "bundle": "Request Base", + "custom_attributes": [ + "Element", + "Data Value" + ], + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0208 Data Values." + }, + "Link Embedded Data Value": { + "display_name": "Embedded Data Value", + "qn_prefix": "", + "alternate_names": [], + "family": "Data Engineer", + "description": "Record that a data value is embedded in another (the EmbeddedDataValue relationship, parent to embedded), at a Position (0 means unset). Needs Egeria 6.4.", + "verb": "Link", + "upsert": false, + "attach": true, + "level": "Basic", + "find_method": "", + "find_constraints": "", + "extra_find": "", + "extra_constraints": "", + "OM_TYPE": "EmbeddedDataValue", + "bundle": "Link Command Base", + "custom_attributes": [ + "Parent Data Value", + "Embedded Data Value", + "Position" + ], + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0208 Data Values." + }, + "Detach Embedded Data Value": { + "display_name": "Embedded Data Value", + "qn_prefix": "", + "alternate_names": [], + "family": "Data Engineer", + "description": "Remove the EmbeddedDataValue relationship between a parent data value and an embedded one. Needs Egeria 6.4.", + "verb": "Detach", + "upsert": false, + "attach": false, + "level": "Basic", + "find_method": "", + "find_constraints": "", + "extra_find": "", + "extra_constraints": "", + "OM_TYPE": "EmbeddedDataValue", + "bundle": "Request Base", + "custom_attributes": [ + "Parent Data Value", + "Embedded Data Value" + ], + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0208 Data Values." + } + } +} diff --git a/md_processing/data/generated_format_sets.json b/md_processing/data/generated_format_sets.json index 49cab751f..53424c395 100644 --- a/md_processing/data/generated_format_sets.json +++ b/md_processing/data/generated_format_sets.json @@ -96233,6 +96233,3044 @@ "get_additional_props": null, "question_spec": null }, + "Data-Value-DrE-Basic": { + "target_type": "Data Value", + "heading": "Data-Value-DrE-Basic Attributes", + "description": "Auto-generated format for Data Value (Create, Basic).", + "aliases": [], + "annotations": {}, + "family": "Data Engineer", + "formats": [ + { + "types": [ + "LIST" + ], + "attributes": [ + { + "name": "Display Name", + "key": "display_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Qualified Name", + "key": "qualified_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "GUID", + "key": "guid", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Zone Membership", + "key": "zone_membership", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Description", + "key": "description", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Legal", + "key": "legal", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Data Format", + "key": "data_format", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Length", + "key": "length", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Data Type", + "key": "data_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "string", + "int", + "long", + "date", + "boolean", + "char", + "byte", + "float", + "double", + "biginteger", + "bigdecimal", + "array", + "array", + "map", + "map", + "map", + "map", + "map", + "map", + "map", + "short", + "map>", + "other" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Usage", + "key": "usage", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Fingerprint", + "key": "fingerprint", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Fingerprint Algorithm", + "key": "fingerprint_algorithm", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Hash", + "key": "hash", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Hash Algorithm", + "key": "hash_algorithm", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value", + "key": "literal_value", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value List", + "key": "literal_value_list", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value Map", + "key": "literal_value_map", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Version Identifier", + "key": "version_identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Category", + "key": "category", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + } + ], + "document": null, + "columns": [ + { + "name": "Display Name", + "key": "display_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Qualified Name", + "key": "qualified_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "GUID", + "key": "guid", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Zone Membership", + "key": "zone_membership", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Description", + "key": "description", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Legal", + "key": "legal", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Data Format", + "key": "data_format", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Length", + "key": "length", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Data Type", + "key": "data_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "string", + "int", + "long", + "date", + "boolean", + "char", + "byte", + "float", + "double", + "biginteger", + "bigdecimal", + "array", + "array", + "map", + "map", + "map", + "map", + "map", + "map", + "map", + "short", + "map>", + "other" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Usage", + "key": "usage", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Fingerprint", + "key": "fingerprint", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Fingerprint Algorithm", + "key": "fingerprint_algorithm", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Hash", + "key": "hash", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Hash Algorithm", + "key": "hash_algorithm", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value", + "key": "literal_value", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value List", + "key": "literal_value_list", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value Map", + "key": "literal_value_map", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Version Identifier", + "key": "version_identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Category", + "key": "category", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + } + ] + }, + { + "types": [ + "ALL" + ], + "attributes": [ + { + "name": "Zone Membership", + "key": "zone_membership", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Category", + "key": "category", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Description", + "key": "description", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Display Name", + "key": "display_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "GUID", + "key": "guid", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Legal", + "key": "legal", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Qualified Name", + "key": "qualified_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "URL", + "key": "url", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Version Identifier", + "key": "version_identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Data Format", + "key": "data_format", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Length", + "key": "length", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Data Type", + "key": "data_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "string", + "int", + "long", + "date", + "boolean", + "char", + "byte", + "float", + "double", + "biginteger", + "bigdecimal", + "array", + "array", + "map", + "map", + "map", + "map", + "map", + "map", + "map", + "short", + "map>", + "other" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Usage", + "key": "usage", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Fingerprint", + "key": "fingerprint", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Fingerprint Algorithm", + "key": "fingerprint_algorithm", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Hash", + "key": "hash", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Hash Algorithm", + "key": "hash_algorithm", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value", + "key": "literal_value", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value List", + "key": "literal_value_list", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value Map", + "key": "literal_value_map", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + } + ], + "document": null, + "columns": [ + { + "name": "Zone Membership", + "key": "zone_membership", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Category", + "key": "category", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Description", + "key": "description", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Display Name", + "key": "display_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "GUID", + "key": "guid", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Legal", + "key": "legal", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Qualified Name", + "key": "qualified_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "URL", + "key": "url", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Version Identifier", + "key": "version_identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Data Format", + "key": "data_format", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Length", + "key": "length", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Data Type", + "key": "data_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "string", + "int", + "long", + "date", + "boolean", + "char", + "byte", + "float", + "double", + "biginteger", + "bigdecimal", + "array", + "array", + "map", + "map", + "map", + "map", + "map", + "map", + "map", + "short", + "map>", + "other" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Usage", + "key": "usage", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Fingerprint", + "key": "fingerprint", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Fingerprint Algorithm", + "key": "fingerprint_algorithm", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Hash", + "key": "hash", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Hash Algorithm", + "key": "hash_algorithm", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value", + "key": "literal_value", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value List", + "key": "literal_value_list", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value Map", + "key": "literal_value_map", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + } + ] + } + ], + "action": { + "function": "DataEngineer.find_data_values", + "required_params": [ + "search_string" + ], + "optional_params": [ + "sequencing_order", + "sequencing_property", + "page_size", + "start_from", + "starts_with", + "ends_with", + "ignore_case", + "classification_names", + "metadata_element_subtypes", + "metadata_element_type" + ], + "spec_params": {}, + "analytic_function": null, + "analytic_spec_params": {} + }, + "get_additional_props": null, + "question_spec": null + }, + "Data-Value-DrE-Advanced": { + "target_type": "Data Value", + "heading": "Data-Value-DrE-Advanced Attributes", + "description": "Auto-generated format for Data Value (Create, Advanced).", + "aliases": [], + "annotations": {}, + "family": "Data Engineer", + "formats": [ + { + "types": [ + "LIST" + ], + "attributes": [ + { + "name": "Display Name", + "key": "display_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Qualified Name", + "key": "qualified_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "GUID", + "key": "guid", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Effective From", + "key": "effective_from", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Effective Time", + "key": "effective_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Effective To", + "key": "effective_to", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Glossary Term", + "key": "glossary_term", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Is Own Anchor", + "key": "is_own_anchor", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Zone Membership", + "key": "zone_membership", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Additional Properties", + "key": "additional_properties", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Confidence Classification", + "key": "confidence_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "AD_HOC", + "TRANSACTIONAL", + "AUTHORITATIVE", + "DERIVED", + "OBSOLETE", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Confidentiality Classification", + "key": "confidentiality_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "INTERNAL", + "CONFIDENTIAL", + "SENSITIVE", + "RESTRICTED", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Criticality Classification", + "key": "criticality_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "MARGINAL", + "IMPORTANT", + "CRITICAL", + "CATASTROPHIC", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Description", + "key": "description", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Identifier", + "key": "identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Impact Classification", + "key": "impact_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "LOW", + "MEDIUM", + "HIGH", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Legal", + "key": "legal", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Policy Management Point", + "key": "policy_management_point", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Retention Classification", + "key": "retention_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "TEMPORARY", + "PROJECT_LIFETIME", + "TEAM_LIFETIME", + "CONTRACT_LIFETIME", + "REGULATED_LIFETIME", + "TIMEBOXED_LIFETIME", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Security Tags", + "key": "security_tags", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Data Format", + "key": "data_format", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Length", + "key": "length", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Data Type", + "key": "data_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "string", + "int", + "long", + "date", + "boolean", + "char", + "byte", + "float", + "double", + "biginteger", + "bigdecimal", + "array", + "array", + "map", + "map", + "map", + "map", + "map", + "map", + "map", + "short", + "map>", + "other" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Usage", + "key": "usage", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Fingerprint", + "key": "fingerprint", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Fingerprint Algorithm", + "key": "fingerprint_algorithm", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Hash", + "key": "hash", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Hash Algorithm", + "key": "hash_algorithm", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value", + "key": "literal_value", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value List", + "key": "literal_value_list", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value Map", + "key": "literal_value_map", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Version Identifier", + "key": "version_identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Status", + "key": "status", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Category", + "key": "category", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + } + ], + "document": null, + "columns": [ + { + "name": "Display Name", + "key": "display_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Qualified Name", + "key": "qualified_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "GUID", + "key": "guid", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Effective From", + "key": "effective_from", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Effective Time", + "key": "effective_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Effective To", + "key": "effective_to", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Glossary Term", + "key": "glossary_term", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Is Own Anchor", + "key": "is_own_anchor", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Zone Membership", + "key": "zone_membership", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Additional Properties", + "key": "additional_properties", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Confidence Classification", + "key": "confidence_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "AD_HOC", + "TRANSACTIONAL", + "AUTHORITATIVE", + "DERIVED", + "OBSOLETE", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Confidentiality Classification", + "key": "confidentiality_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "INTERNAL", + "CONFIDENTIAL", + "SENSITIVE", + "RESTRICTED", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Criticality Classification", + "key": "criticality_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "MARGINAL", + "IMPORTANT", + "CRITICAL", + "CATASTROPHIC", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Description", + "key": "description", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Identifier", + "key": "identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Impact Classification", + "key": "impact_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "LOW", + "MEDIUM", + "HIGH", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Legal", + "key": "legal", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Policy Management Point", + "key": "policy_management_point", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Retention Classification", + "key": "retention_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "TEMPORARY", + "PROJECT_LIFETIME", + "TEAM_LIFETIME", + "CONTRACT_LIFETIME", + "REGULATED_LIFETIME", + "TIMEBOXED_LIFETIME", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Security Tags", + "key": "security_tags", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Data Format", + "key": "data_format", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Length", + "key": "length", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Data Type", + "key": "data_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "string", + "int", + "long", + "date", + "boolean", + "char", + "byte", + "float", + "double", + "biginteger", + "bigdecimal", + "array", + "array", + "map", + "map", + "map", + "map", + "map", + "map", + "map", + "short", + "map>", + "other" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Usage", + "key": "usage", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Fingerprint", + "key": "fingerprint", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Fingerprint Algorithm", + "key": "fingerprint_algorithm", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Hash", + "key": "hash", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Hash Algorithm", + "key": "hash_algorithm", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value", + "key": "literal_value", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value List", + "key": "literal_value_list", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value Map", + "key": "literal_value_map", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Version Identifier", + "key": "version_identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Status", + "key": "status", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Category", + "key": "category", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + } + ] + }, + { + "types": [ + "ALL" + ], + "attributes": [ + { + "name": "Effective From", + "key": "effective_from", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Effective Time", + "key": "effective_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Effective To", + "key": "effective_to", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Glossary Term", + "key": "glossary_term", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Is Own Anchor", + "key": "is_own_anchor", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Status", + "key": "status", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Zone Membership", + "key": "zone_membership", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Additional Properties", + "key": "additional_properties", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Category", + "key": "category", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Confidence Classification", + "key": "confidence_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "AD_HOC", + "TRANSACTIONAL", + "AUTHORITATIVE", + "DERIVED", + "OBSOLETE", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Confidentiality Classification", + "key": "confidentiality_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "INTERNAL", + "CONFIDENTIAL", + "SENSITIVE", + "RESTRICTED", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Criticality Classification", + "key": "criticality_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "MARGINAL", + "IMPORTANT", + "CRITICAL", + "CATASTROPHIC", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Description", + "key": "description", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Display Name", + "key": "display_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "GUID", + "key": "guid", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Identifier", + "key": "identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Impact Classification", + "key": "impact_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "LOW", + "MEDIUM", + "HIGH", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Legal", + "key": "legal", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Policy Management Point", + "key": "policy_management_point", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Qualified Name", + "key": "qualified_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Retention Classification", + "key": "retention_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "TEMPORARY", + "PROJECT_LIFETIME", + "TEAM_LIFETIME", + "CONTRACT_LIFETIME", + "REGULATED_LIFETIME", + "TIMEBOXED_LIFETIME", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Security Tags", + "key": "security_tags", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "URL", + "key": "url", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Version Identifier", + "key": "version_identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Data Format", + "key": "data_format", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Length", + "key": "length", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Data Type", + "key": "data_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "string", + "int", + "long", + "date", + "boolean", + "char", + "byte", + "float", + "double", + "biginteger", + "bigdecimal", + "array", + "array", + "map", + "map", + "map", + "map", + "map", + "map", + "map", + "short", + "map>", + "other" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Usage", + "key": "usage", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Fingerprint", + "key": "fingerprint", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Fingerprint Algorithm", + "key": "fingerprint_algorithm", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Hash", + "key": "hash", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Hash Algorithm", + "key": "hash_algorithm", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value", + "key": "literal_value", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value List", + "key": "literal_value_list", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value Map", + "key": "literal_value_map", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + } + ], + "document": null, + "columns": [ + { + "name": "Effective From", + "key": "effective_from", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Effective Time", + "key": "effective_time", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Effective To", + "key": "effective_to", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Glossary Term", + "key": "glossary_term", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Is Own Anchor", + "key": "is_own_anchor", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Status", + "key": "status", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Zone Membership", + "key": "zone_membership", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Additional Properties", + "key": "additional_properties", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Category", + "key": "category", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Confidence Classification", + "key": "confidence_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "AD_HOC", + "TRANSACTIONAL", + "AUTHORITATIVE", + "DERIVED", + "OBSOLETE", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Confidentiality Classification", + "key": "confidentiality_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "INTERNAL", + "CONFIDENTIAL", + "SENSITIVE", + "RESTRICTED", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Criticality Classification", + "key": "criticality_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "MARGINAL", + "IMPORTANT", + "CRITICAL", + "CATASTROPHIC", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Description", + "key": "description", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Display Name", + "key": "display_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "GUID", + "key": "guid", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Identifier", + "key": "identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Impact Classification", + "key": "impact_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "LOW", + "MEDIUM", + "HIGH", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Legal", + "key": "legal", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Policy Management Point", + "key": "policy_management_point", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Qualified Name", + "key": "qualified_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Retention Classification", + "key": "retention_classification", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "UNCLASSIFIED", + "TEMPORARY", + "PROJECT_LIFETIME", + "TEAM_LIFETIME", + "CONTRACT_LIFETIME", + "REGULATED_LIFETIME", + "TIMEBOXED_LIFETIME", + "OTHER" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Security Tags", + "key": "security_tags", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "URL", + "key": "url", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Version Identifier", + "key": "version_identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Data Format", + "key": "data_format", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Length", + "key": "length", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Data Type", + "key": "data_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [ + "string", + "int", + "long", + "date", + "boolean", + "char", + "byte", + "float", + "double", + "biginteger", + "bigdecimal", + "array", + "array", + "map", + "map", + "map", + "map", + "map", + "map", + "map", + "short", + "map>", + "other" + ], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Usage", + "key": "usage", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Fingerprint", + "key": "fingerprint", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Fingerprint Algorithm", + "key": "fingerprint_algorithm", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Hash", + "key": "hash", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Hash Algorithm", + "key": "hash_algorithm", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value", + "key": "literal_value", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value List", + "key": "literal_value_list", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + }, + { + "name": "Literal Value Map", + "key": "literal_value_map", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [], + "render": null, + "max_items": null, + "max_lines": null, + "label": null + } + ] + } + ], + "action": { + "function": "DataEngineer.find_data_values", + "required_params": [ + "search_string" + ], + "optional_params": [ + "sequencing_order", + "sequencing_property", + "page_size", + "start_from", + "starts_with", + "ends_with", + "ignore_case", + "classification_names", + "metadata_element_subtypes", + "metadata_element_type" + ], + "spec_params": {}, + "analytic_function": null, + "analytic_spec_params": {} + }, + "get_additional_props": null, + "question_spec": null + }, "Digital-Product-DrE-Basic": { "target_type": "Digital Product", "heading": "Digital-Product-DrE-Basic Attributes", diff --git a/md_processing/dr_egeria.py b/md_processing/dr_egeria.py index 12d214407..6069ff55d 100644 --- a/md_processing/dr_egeria.py +++ b/md_processing/dr_egeria.py @@ -424,6 +424,10 @@ def reg(base, cls): from md_processing.v2.decisions import register_decision_processors register_decision_processors(reg) + # Egeria 6.4 Data Values (odpi/egeria#9463, 0208): the Data Engineer family. + from md_processing.v2.data_values import register_data_value_processors + register_data_value_processors(reg) + # Lineage Linker -- a dedicated Link/Update command pair per relationship # type (2026-09-16 split from one generic selector-attribute command triple # -- see lineage_linker.py's module docstring for why), plus one shared diff --git a/md_processing/v2/data_values.py b/md_processing/v2/data_values.py new file mode 100644 index 000000000..d1f9ca39f --- /dev/null +++ b/md_processing/v2/data_values.py @@ -0,0 +1,155 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +"""Dr.Egeria commands for Egeria 6.4 Data Values (odpi/egeria#9463, model 0208): the Data Engineer family. + +- Create/Update Data Value -> DataEngineer.create_data_value / update_data_value. A ``Literal Value``, ``Literal + Value List`` or ``Literal Value Map`` makes it a LiteralDataValue (LiteralDataValueProperties, typeName + LiteralDataValue); otherwise it is a DataValue (DataValueProperties). Updating an existing LiteralDataValue keeps + its class. Egeria can't change an element's type, so a literal value given for an existing plain DataValue is + refused with words. +- Link/Detach Data Value Source -> link/detach_data_value_source (DataValue -> Asset). +- Link/Detach Processing Variable -> link/detach_processing_variable (element -> DataValue, Position). +- Link/Detach Embedded Data Value -> link/detach_embedded_data_value (parent DataValue -> embedded DataValue, + Position). + +Every relationship here is uni-link: attach and detach by the two end GUIDs. Position is a whole number; 0 means +unset. Every command is gated on Egeria 6.4 (md_processing.v2.egeria_6_4). +""" +from __future__ import annotations + +from typing import Any, Dict, List + +from loguru import logger + +from pyegeria.core import egeria_6_4_names as e64 +from pyegeria.core.utils import body_slimmer +from md_processing.md_processing_utils.common_md_utils import ( + set_create_body, set_element_prop_body, set_update_body, update_element_dictionary) +from md_processing.v2.decisions import ELEMENT_ATTRIBUTE_OF +from md_processing.v2.egeria_6_4 import ( + EMPTY, Egeria64LinkProcessor, Egeria64Processor, delete_relationship_body, int_value, new_relationship_body, + read_keys_only, value) + +#: DataValue attributes and the DataValueProperties key each fills (Length and Hash are whole numbers). +DATA_VALUE_FIELDS = { + "Data Format": "dataFormat", "Length": "length", "Data Type": "dataType", "Usage": "usage", + "Fingerprint": "fingerprint", "Fingerprint Algorithm": "fingerprintAlgorithm", "Hash": "hash", + "Hash Algorithm": "hashAlgorithm", +} +INT_FIELDS = ("Length", "Hash") + +#: The literal attributes, each of which makes the value a LiteralDataValue. +LITERAL_FIELDS = {"Literal Value": "dataValue", "Literal Value List": "dataValueList", + "Literal Value Map": "dataValueMap"} + + +class DataValueProcessor(Egeria64Processor): + """Create Data Value / Update Data Value (DataValue or LiteralDataValue).""" + + async def fetch_element(self, guid_: str, _max_timeout_retries: int = 2): + element = await self.e64(self.client.data_engineer._async_get_data_value_by_guid(guid_)) + return element if isinstance(element, dict) else None + + def _type_name(self, attributes: Dict[str, Any]) -> str: + literal_given = [n for n in LITERAL_FIELDS if value(attributes, n) not in EMPTY] + existing = (((self.as_is_element or {}).get("elementHeader") or {}).get("type") or {}).get("typeName") + if existing == e64.LITERAL_DATA_VALUE: + return e64.LITERAL_DATA_VALUE + if existing and literal_given: + raise ValueError(f"{self.command.verb} Data Value: '{value(attributes, 'Display Name')}' is a {existing}, " + f"not a LiteralDataValue, and Egeria can't change an element's type, so " + f"{', '.join(literal_given)} can't be set on it. Create a new Data Value with the " + f"literal value instead. Nothing was changed.") + return e64.LITERAL_DATA_VALUE if literal_given else e64.DATA_VALUE + + def data_value_properties(self, qualified_name: str) -> dict: + attributes = self.parsed_output["attributes"] + type_name = self._type_name(attributes) + props = set_element_prop_body(type_name, qualified_name, attributes) + fields = {key: value(attributes, name) for name, key in DATA_VALUE_FIELDS.items()} + for name in INT_FIELDS: + fields[DATA_VALUE_FIELDS[name]] = int_value(attributes, name) + if type_name == e64.LITERAL_DATA_VALUE: + fields.update({key: value(attributes, name) for name, key in LITERAL_FIELDS.items()}) + props.update({k: v for k, v in fields.items() if v not in EMPTY}) + props["class"] = f"{type_name}Properties" + props = {k: v for k, v in body_slimmer(props).items() if v not in EMPTY} + return read_keys_only(props, attributes, {**ELEMENT_ATTRIBUTE_OF, + **{k: n for n, k in DATA_VALUE_FIELDS.items()}, + **{k: n for n, k in LITERAL_FIELDS.items()}}) + + async def apply_changes(self) -> str: + attributes = self.parsed_output["attributes"] + qualified_name = self.parsed_output.get("qualified_name") + display_name = value(attributes, "Display Name") + de = self.client.data_engineer + + if self.command.verb == "Update": + guid_ = self.parsed_output.get("guid") + body = set_update_body(e64.DATA_VALUE, attributes) + body["properties"] = self.data_value_properties(qualified_name) + body = body_slimmer(body) + self.last_body = body + await self.e64(de._async_update_data_value(guid_, body)) + logger.success(f"Updated Data Value '{display_name}' ({guid_})") + update_element_dictionary(qualified_name, {"guid": guid_, "display_name": display_name}) + return await self.render_result_markdown(guid_) + + body = set_create_body(e64.DATA_VALUE, attributes) + body["properties"] = self.data_value_properties(qualified_name) + body.pop("initialClassifications", None) + body = body_slimmer(body) + self.last_body = body + guid_ = self.extract_guid_or_raise(await self.e64(de._async_create_data_value(body)), "Create Data Value") + self.parsed_output["guid"] = guid_ + update_element_dictionary(qualified_name, {"guid": guid_, "display_name": display_name}) + logger.success(f"Created {body['properties']['class'][:-len('Properties')]} '{display_name}' with GUID {guid_}") + return await self.render_result_markdown(guid_) + + +#: OM_TYPE -> (end attributes, link method, detach method, takes Position) +DATA_VALUE_LINKS = { + e64.DATA_VALUE_SOURCE: (("Data Value", "Asset"), "_async_link_data_value_source", + "_async_detach_data_value_source", False), + e64.PROCESSING_VARIABLE: (("Element", "Data Value"), "_async_link_processing_variable", + "_async_detach_processing_variable", True), + e64.EMBEDDED_DATA_VALUE: (("Parent Data Value", "Embedded Data Value"), "_async_link_embedded_data_value", + "_async_detach_embedded_data_value", True), +} + + +class DataValueLinkProcessor(Egeria64LinkProcessor): + """Link/Detach Data Value Source, Processing Variable and Embedded Data Value (uni-link).""" + + async def apply_changes(self) -> str: + attributes = self.parsed_output["attributes"] + om_type = self.get_command_spec().get("OM_TYPE") + (end1_name, end2_name), link, detach, positioned = DATA_VALUE_LINKS[om_type] + end1, end2 = self.ends(attributes, end1_name, end2_name) + de = self.client.data_engineer + what = f"{self.command.verb} {self.command.object_type}" + if self.command.verb in self.DETACH_VERBS: + body = delete_relationship_body(attributes) + self.last_body = body + await self.e64(getattr(de, detach)(end1, end2, body)) + return f"\n\n# {what}\n\nDetached {end1_name} {end1} from {end2_name} {end2}.\n" + # Position's spec default is 0 (unset): only a Position the document gives is sent. + given = positioned and not (attributes.get("Position") or {}).get("is_default") + extra = {"position": int_value(attributes, "Position")} if given else {} + body = new_relationship_body(om_type, attributes, extra, {"position": "Position"}) + self.last_body = body + await self.e64(getattr(de, link)(end1, end2, body)) + return f"\n\n# {what}\n\nLinked {end1_name} {end1} to {end2_name} {end2}.\n" + + +def register_data_value_processors(reg) -> List[str]: + """Register the B2 commands; returns their names.""" + names = { + "Create Data Value": DataValueProcessor, "Update Data Value": DataValueProcessor, + "Link Data Value Source": DataValueLinkProcessor, "Detach Data Value Source": DataValueLinkProcessor, + "Link Processing Variable": DataValueLinkProcessor, "Detach Processing Variable": DataValueLinkProcessor, + "Link Embedded Data Value": DataValueLinkProcessor, "Detach Embedded Data Value": DataValueLinkProcessor, + } + for name, cls in names.items(): + reg(name, cls) + return list(names) diff --git a/pyegeria/view/base_report_formats.py b/pyegeria/view/base_report_formats.py index 4d1b855ed..1f254e735 100644 --- a/pyegeria/view/base_report_formats.py +++ b/pyegeria/view/base_report_formats.py @@ -163,6 +163,8 @@ 'Data-Spec-DrE-Basic': FormatSet(target_type='Data Spec', heading='Data-Spec-DrE-Basic Attributes', description='Auto-generated format for Data Spec (Create, Basic).', family='Data Designer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Zone Membership', key='zone_membership'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Zone Membership', key='zone_membership'), Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Purpose', key='purpose')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DataSpec'})), 'Data-Structure-DrE-Advanced': FormatSet(target_type='Data Structure', heading='Data-Structure-DrE-Advanced Attributes', description='Auto-generated format for Data Structure (Create, Advanced).', family='Data Designer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='In Data Dictionary', key='in_data_dictionary'), Column(name='In Data Specification', key='in_data_specification'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='In Data Dictionary', key='in_data_dictionary'), Column(name='In Data Specification', key='in_data_specification'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='DataDesigner.find_data_structures', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DataStructure'})), 'Data-Structure-DrE-Basic': FormatSet(target_type='Data Structure', heading='Data-Structure-DrE-Basic Attributes', description='Auto-generated format for Data Structure (Create, Basic).', family='Data Designer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Zone Membership', key='zone_membership'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='In Data Dictionary', key='in_data_dictionary'), Column(name='In Data Specification', key='in_data_specification'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Zone Membership', key='zone_membership'), Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='In Data Dictionary', key='in_data_dictionary'), Column(name='In Data Specification', key='in_data_specification'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path')])], action=ActionParameter(function='DataDesigner.find_data_structures', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DataStructure'})), + 'Data-Value-DrE-Advanced': FormatSet(target_type='Data Value', heading='Data-Value-DrE-Advanced Attributes', description='Auto-generated format for Data Value (Create, Advanced).', family='Data Engineer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Data Format', key='data_format'), Column(name='Length', key='length'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='Usage', key='usage'), Column(name='Fingerprint', key='fingerprint'), Column(name='Fingerprint Algorithm', key='fingerprint_algorithm'), Column(name='Hash', key='hash'), Column(name='Hash Algorithm', key='hash_algorithm'), Column(name='Literal Value', key='literal_value'), Column(name='Literal Value List', key='literal_value_list'), Column(name='Literal Value Map', key='literal_value_map'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Data Format', key='data_format'), Column(name='Length', key='length'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='Usage', key='usage'), Column(name='Fingerprint', key='fingerprint'), Column(name='Fingerprint Algorithm', key='fingerprint_algorithm'), Column(name='Hash', key='hash'), Column(name='Hash Algorithm', key='hash_algorithm'), Column(name='Literal Value', key='literal_value'), Column(name='Literal Value List', key='literal_value_list'), Column(name='Literal Value Map', key='literal_value_map')])], action=ActionParameter(function='DataEngineer.find_data_values', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), + 'Data-Value-DrE-Basic': FormatSet(target_type='Data Value', heading='Data-Value-DrE-Basic Attributes', description='Auto-generated format for Data Value (Create, Basic).', family='Data Engineer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Zone Membership', key='zone_membership'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Data Format', key='data_format'), Column(name='Length', key='length'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='Usage', key='usage'), Column(name='Fingerprint', key='fingerprint'), Column(name='Fingerprint Algorithm', key='fingerprint_algorithm'), Column(name='Hash', key='hash'), Column(name='Hash Algorithm', key='hash_algorithm'), Column(name='Literal Value', key='literal_value'), Column(name='Literal Value List', key='literal_value_list'), Column(name='Literal Value Map', key='literal_value_map'), Column(name='Version Identifier', key='version_identifier'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Zone Membership', key='zone_membership'), Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Data Format', key='data_format'), Column(name='Length', key='length'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='Usage', key='usage'), Column(name='Fingerprint', key='fingerprint'), Column(name='Fingerprint Algorithm', key='fingerprint_algorithm'), Column(name='Hash', key='hash'), Column(name='Hash Algorithm', key='hash_algorithm'), Column(name='Literal Value', key='literal_value'), Column(name='Literal Value List', key='literal_value_list'), Column(name='Literal Value Map', key='literal_value_map')])], action=ActionParameter(function='DataEngineer.find_data_values', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), 'Data-Value-Specification-DrE-Advanced': FormatSet(target_type='Data Value Specification', heading='Data-Value-Specification-DrE-Advanced Attributes', description='Auto-generated format for Data Value Specification (Create, Advanced).', family='Data Designer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Absolute Uncertainty', key='absolute_uncertainty'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='In Data Value Specification', key='in_data_value_specification'), Column(name='Match Property Names', key='match_property_names'), Column(name='Match Threshold', key='match_threshold'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Relative Uncertainty', key='relative_uncertainty'), Column(name='Specializes Data Value Specification', key='specializes_data_value_specification'), Column(name='Specification', key='specification'), Column(name='Specification Details', key='specification_details'), Column(name='Units', key='units'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Absolute Uncertainty', key='absolute_uncertainty'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='In Data Value Specification', key='in_data_value_specification'), Column(name='Match Property Names', key='match_property_names'), Column(name='Match Threshold', key='match_threshold'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Relative Uncertainty', key='relative_uncertainty'), Column(name='Specializes Data Value Specification', key='specializes_data_value_specification'), Column(name='Specification', key='specification'), Column(name='Specification Details', key='specification_details'), Column(name='Units', key='units'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='DataDesigner.find_data_value_specifications', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DataValueSpecification'})), 'Data-Value-Specification-DrE-Basic': FormatSet(target_type='Data Value Specification', heading='Data-Value-Specification-DrE-Basic Attributes', description='Auto-generated format for Data Value Specification (Create, Basic).', family='Data Designer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Zone Membership', key='zone_membership'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Absolute Uncertainty', key='absolute_uncertainty'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='In Data Value Specification', key='in_data_value_specification'), Column(name='Match Property Names', key='match_property_names'), Column(name='Match Threshold', key='match_threshold'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Relative Uncertainty', key='relative_uncertainty'), Column(name='Specializes Data Value Specification', key='specializes_data_value_specification'), Column(name='Specification', key='specification'), Column(name='Specification Details', key='specification_details'), Column(name='Units', key='units'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Zone Membership', key='zone_membership'), Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Absolute Uncertainty', key='absolute_uncertainty'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='In Data Value Specification', key='in_data_value_specification'), Column(name='Match Property Names', key='match_property_names'), Column(name='Match Threshold', key='match_threshold'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Relative Uncertainty', key='relative_uncertainty'), Column(name='Specializes Data Value Specification', key='specializes_data_value_specification'), Column(name='Specification', key='specification'), Column(name='Specification Details', key='specification_details'), Column(name='Units', key='units')])], action=ActionParameter(function='DataDesigner.find_data_value_specifications', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DataValueSpecification'})), 'Decision-DrE-Advanced': FormatSet(target_type='Decision', heading='Decision-DrE-Advanced Attributes', description='Auto-generated format for Decision (Create, Advanced).', family='Governance Officer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Summary', key='summary'), Column(name='Scope', key='scope'), Column(name='Usage', key='usage'), Column(name='Importance', key='importance'), Column(name='Disposition', key='disposition'), Column(name='Implications', key='implications'), Column(name='Notes', key='notes'), Column(name='Start Time', key='start_time'), Column(name='Last Review Time', key='last_review_time'), Column(name='Next Review Time', key='next_review_time'), Column(name='Expiry Time', key='expiry_time'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Summary', key='summary'), Column(name='Scope', key='scope'), Column(name='Usage', key='usage'), Column(name='Importance', key='importance'), Column(name='Disposition', key='disposition'), Column(name='Implications', key='implications'), Column(name='Notes', key='notes'), Column(name='Start Time', key='start_time'), Column(name='Last Review Time', key='last_review_time'), Column(name='Next Review Time', key='next_review_time'), Column(name='Expiry Time', key='expiry_time')])], action=ActionParameter(function='GovernanceOfficer.find_decisions', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), diff --git a/pyegeria/view/dr_egeria_reports.py b/pyegeria/view/dr_egeria_reports.py index ed20fffa7..f3451260c 100644 --- a/pyegeria/view/dr_egeria_reports.py +++ b/pyegeria/view/dr_egeria_reports.py @@ -64,6 +64,8 @@ 'Data-Spec-DrE-Basic': FormatSet(target_type='Data Spec', heading='Data-Spec-DrE-Basic Attributes', description='Auto-generated format for Data Spec (Create, Basic).', family='Data Designer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Zone Membership', key='zone_membership'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Zone Membership', key='zone_membership'), Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Purpose', key='purpose')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DataSpec'})), 'Data-Structure-DrE-Advanced': FormatSet(target_type='Data Structure', heading='Data-Structure-DrE-Advanced Attributes', description='Auto-generated format for Data Structure (Create, Advanced).', family='Data Designer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='In Data Dictionary', key='in_data_dictionary'), Column(name='In Data Specification', key='in_data_specification'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='In Data Dictionary', key='in_data_dictionary'), Column(name='In Data Specification', key='in_data_specification'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='DataDesigner.find_data_structures', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DataStructure'})), 'Data-Structure-DrE-Basic': FormatSet(target_type='Data Structure', heading='Data-Structure-DrE-Basic Attributes', description='Auto-generated format for Data Structure (Create, Basic).', family='Data Designer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Zone Membership', key='zone_membership'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='In Data Dictionary', key='in_data_dictionary'), Column(name='In Data Specification', key='in_data_specification'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Zone Membership', key='zone_membership'), Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='In Data Dictionary', key='in_data_dictionary'), Column(name='In Data Specification', key='in_data_specification'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path')])], action=ActionParameter(function='DataDesigner.find_data_structures', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DataStructure'})), + 'Data-Value-DrE-Advanced': FormatSet(target_type='Data Value', heading='Data-Value-DrE-Advanced Attributes', description='Auto-generated format for Data Value (Create, Advanced).', family='Data Engineer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Data Format', key='data_format'), Column(name='Length', key='length'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='Usage', key='usage'), Column(name='Fingerprint', key='fingerprint'), Column(name='Fingerprint Algorithm', key='fingerprint_algorithm'), Column(name='Hash', key='hash'), Column(name='Hash Algorithm', key='hash_algorithm'), Column(name='Literal Value', key='literal_value'), Column(name='Literal Value List', key='literal_value_list'), Column(name='Literal Value Map', key='literal_value_map'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Data Format', key='data_format'), Column(name='Length', key='length'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='Usage', key='usage'), Column(name='Fingerprint', key='fingerprint'), Column(name='Fingerprint Algorithm', key='fingerprint_algorithm'), Column(name='Hash', key='hash'), Column(name='Hash Algorithm', key='hash_algorithm'), Column(name='Literal Value', key='literal_value'), Column(name='Literal Value List', key='literal_value_list'), Column(name='Literal Value Map', key='literal_value_map')])], action=ActionParameter(function='DataEngineer.find_data_values', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), + 'Data-Value-DrE-Basic': FormatSet(target_type='Data Value', heading='Data-Value-DrE-Basic Attributes', description='Auto-generated format for Data Value (Create, Basic).', family='Data Engineer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Zone Membership', key='zone_membership'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Data Format', key='data_format'), Column(name='Length', key='length'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='Usage', key='usage'), Column(name='Fingerprint', key='fingerprint'), Column(name='Fingerprint Algorithm', key='fingerprint_algorithm'), Column(name='Hash', key='hash'), Column(name='Hash Algorithm', key='hash_algorithm'), Column(name='Literal Value', key='literal_value'), Column(name='Literal Value List', key='literal_value_list'), Column(name='Literal Value Map', key='literal_value_map'), Column(name='Version Identifier', key='version_identifier'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Zone Membership', key='zone_membership'), Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Data Format', key='data_format'), Column(name='Length', key='length'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='Usage', key='usage'), Column(name='Fingerprint', key='fingerprint'), Column(name='Fingerprint Algorithm', key='fingerprint_algorithm'), Column(name='Hash', key='hash'), Column(name='Hash Algorithm', key='hash_algorithm'), Column(name='Literal Value', key='literal_value'), Column(name='Literal Value List', key='literal_value_list'), Column(name='Literal Value Map', key='literal_value_map')])], action=ActionParameter(function='DataEngineer.find_data_values', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), 'Data-Value-Specification-DrE-Advanced': FormatSet(target_type='Data Value Specification', heading='Data-Value-Specification-DrE-Advanced Attributes', description='Auto-generated format for Data Value Specification (Create, Advanced).', family='Data Designer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Absolute Uncertainty', key='absolute_uncertainty'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='In Data Value Specification', key='in_data_value_specification'), Column(name='Match Property Names', key='match_property_names'), Column(name='Match Threshold', key='match_threshold'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Relative Uncertainty', key='relative_uncertainty'), Column(name='Specializes Data Value Specification', key='specializes_data_value_specification'), Column(name='Specification', key='specification'), Column(name='Specification Details', key='specification_details'), Column(name='Units', key='units'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Absolute Uncertainty', key='absolute_uncertainty'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='In Data Value Specification', key='in_data_value_specification'), Column(name='Match Property Names', key='match_property_names'), Column(name='Match Threshold', key='match_threshold'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Relative Uncertainty', key='relative_uncertainty'), Column(name='Specializes Data Value Specification', key='specializes_data_value_specification'), Column(name='Specification', key='specification'), Column(name='Specification Details', key='specification_details'), Column(name='Units', key='units'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='DataDesigner.find_data_value_specifications', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DataValueSpecification'})), 'Data-Value-Specification-DrE-Basic': FormatSet(target_type='Data Value Specification', heading='Data-Value-Specification-DrE-Basic Attributes', description='Auto-generated format for Data Value Specification (Create, Basic).', family='Data Designer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Zone Membership', key='zone_membership'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Absolute Uncertainty', key='absolute_uncertainty'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='In Data Value Specification', key='in_data_value_specification'), Column(name='Match Property Names', key='match_property_names'), Column(name='Match Threshold', key='match_threshold'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Relative Uncertainty', key='relative_uncertainty'), Column(name='Specializes Data Value Specification', key='specializes_data_value_specification'), Column(name='Specification', key='specification'), Column(name='Specification Details', key='specification_details'), Column(name='Units', key='units'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Zone Membership', key='zone_membership'), Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Absolute Uncertainty', key='absolute_uncertainty'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='In Data Value Specification', key='in_data_value_specification'), Column(name='Match Property Names', key='match_property_names'), Column(name='Match Threshold', key='match_threshold'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Relative Uncertainty', key='relative_uncertainty'), Column(name='Specializes Data Value Specification', key='specializes_data_value_specification'), Column(name='Specification', key='specification'), Column(name='Specification Details', key='specification_details'), Column(name='Units', key='units')])], action=ActionParameter(function='DataDesigner.find_data_value_specifications', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DataValueSpecification'})), 'Decision-DrE-Advanced': FormatSet(target_type='Decision', heading='Decision-DrE-Advanced Attributes', description='Auto-generated format for Decision (Create, Advanced).', family='Governance Officer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Summary', key='summary'), Column(name='Scope', key='scope'), Column(name='Usage', key='usage'), Column(name='Importance', key='importance'), Column(name='Disposition', key='disposition'), Column(name='Implications', key='implications'), Column(name='Notes', key='notes'), Column(name='Start Time', key='start_time'), Column(name='Last Review Time', key='last_review_time'), Column(name='Next Review Time', key='next_review_time'), Column(name='Expiry Time', key='expiry_time'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Summary', key='summary'), Column(name='Scope', key='scope'), Column(name='Usage', key='usage'), Column(name='Importance', key='importance'), Column(name='Disposition', key='disposition'), Column(name='Implications', key='implications'), Column(name='Notes', key='notes'), Column(name='Start Time', key='start_time'), Column(name='Last Review Time', key='last_review_time'), Column(name='Next Review Time', key='next_review_time'), Column(name='Expiry Time', key='expiry_time')])], action=ActionParameter(function='GovernanceOfficer.find_decisions', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), diff --git a/pyegeria/view/microflow.py b/pyegeria/view/microflow.py index 2e1cb1750..8b2a09608 100644 --- a/pyegeria/view/microflow.py +++ b/pyegeria/view/microflow.py @@ -135,6 +135,9 @@ # governance-officer/decisions/by-search-string through _async_find_request and returns the decisions. # Named by the generated Decision-DrE-Basic/-Advanced specs (Create Decision's find_method). "GovernanceOfficer.find_decisions", + # Read only (Egeria 6.4): POSTs a SearchStringRequestBody to data-engineer/data-values/by-search-string + # through _async_find_request and returns the data values. Named by the generated Data-Value-DrE specs. + "DataEngineer.find_data_values", }) FIND_METHOD_ALLOWLIST: frozenset = _CENSUS_FIND_METHODS | FIND_METHOD_ADDITIONS diff --git a/pyegeria/view/seed/Data Engineer.json b/pyegeria/view/seed/Data Engineer.json index 8a6650e78..a39d78af5 100644 --- a/pyegeria/view/seed/Data Engineer.json +++ b/pyegeria/view/seed/Data Engineer.json @@ -143,6 +143,202 @@ "LIST": {"same_as": "TABLE"} } } + }, + { + "label": "Data-Value-DrE-Advanced", + "envelope": { + "heading": "Data-Value-DrE-Advanced Attributes", + "description": "Auto-generated format for Data Value (Create, Advanced).", + "family": "Data Engineer", + "target_type_name": "Data Value", + "aliases": ["Data Value DrE Advanced"] + }, + "microflow": { + "format": "microflow/1", + "params": { + "search_string": {"type": "string", "required": true}, + "sequencing_order": {"type": "string", "required": false}, + "sequencing_property": {"type": "string", "required": false}, + "page_size": {"type": "string", "required": false}, + "start_from": {"type": "string", "required": false}, + "starts_with": {"type": "string", "required": false}, + "ends_with": {"type": "string", "required": false}, + "ignore_case": {"type": "string", "required": false}, + "classification_names": {"type": "string", "required": false}, + "metadata_element_subtypes": {"type": "string", "required": false}, + "metadata_element_type": {"type": "string", "required": false} + }, + "stages": [ + { + "stage": "producer/find", + "type": "Data Value", + "function": "DataEngineer.find_data_values", + "params": {"search_string": "$search_string"} + } + ], + "formatters": { + "LIST": { + "columns": [ + {"field": "display_name", "label": "Display Name"}, + {"field": "qualified_name", "label": "Qualified Name"}, + {"field": "guid", "label": "GUID"}, + {"field": "effective_from", "label": "Effective From"}, + {"field": "effective_time", "label": "Effective Time"}, + {"field": "effective_to", "label": "Effective To"}, + {"field": "glossary_term", "label": "Glossary Term"}, + {"field": "is_own_anchor", "label": "Is Own Anchor"}, + {"field": "zone_membership", "label": "Zone Membership"}, + {"field": "additional_properties", "label": "Additional Properties"}, + {"field": "confidence_classification", "label": "Confidence Classification", "valid_values": ["UNCLASSIFIED", "AD_HOC", "TRANSACTIONAL", "AUTHORITATIVE", "DERIVED", "OBSOLETE", "OTHER"]}, + {"field": "confidentiality_classification", "label": "Confidentiality Classification", "valid_values": ["UNCLASSIFIED", "INTERNAL", "CONFIDENTIAL", "SENSITIVE", "RESTRICTED", "OTHER"]}, + {"field": "criticality_classification", "label": "Criticality Classification", "valid_values": ["UNCLASSIFIED", "MARGINAL", "IMPORTANT", "CRITICAL", "CATASTROPHIC", "OTHER"]}, + {"field": "description", "label": "Description"}, + {"field": "identifier", "label": "Identifier"}, + {"field": "impact_classification", "label": "Impact Classification", "valid_values": ["UNCLASSIFIED", "LOW", "MEDIUM", "HIGH", "OTHER"]}, + {"field": "legal", "label": "Legal"}, + {"field": "policy_management_point", "label": "Policy Management Point"}, + {"field": "retention_classification", "label": "Retention Classification", "valid_values": ["UNCLASSIFIED", "TEMPORARY", "PROJECT_LIFETIME", "TEAM_LIFETIME", "CONTRACT_LIFETIME", "REGULATED_LIFETIME", "TIMEBOXED_LIFETIME", "OTHER"]}, + {"field": "security_tags", "label": "Security Tags"}, + {"field": "data_format", "label": "Data Format"}, + {"field": "length", "label": "Length"}, + {"field": "data_type", "label": "Data Type", "valid_values": ["string", "int", "long", "date", "boolean", "char", "byte", "float", "double", "biginteger", "bigdecimal", "array", "array", "map", "map", "map", "map", "map", "map", "map", "short", "map>", "other"]}, + {"field": "usage", "label": "Usage"}, + {"field": "fingerprint", "label": "Fingerprint"}, + {"field": "fingerprint_algorithm", "label": "Fingerprint Algorithm"}, + {"field": "hash", "label": "Hash"}, + {"field": "hash_algorithm", "label": "Hash Algorithm"}, + {"field": "literal_value", "label": "Literal Value"}, + {"field": "literal_value_list", "label": "Literal Value List"}, + {"field": "literal_value_map", "label": "Literal Value Map"}, + {"field": "version_identifier", "label": "Version Identifier"}, + {"field": "status", "label": "Status"}, + {"field": "category", "label": "Category"} + ] + }, + "ALL": { + "columns": [ + {"field": "effective_from", "label": "Effective From"}, + {"field": "effective_time", "label": "Effective Time"}, + {"field": "effective_to", "label": "Effective To"}, + {"field": "glossary_term", "label": "Glossary Term"}, + {"field": "is_own_anchor", "label": "Is Own Anchor"}, + {"field": "status", "label": "Status"}, + {"field": "zone_membership", "label": "Zone Membership"}, + {"field": "additional_properties", "label": "Additional Properties"}, + {"field": "category", "label": "Category"}, + {"field": "confidence_classification", "label": "Confidence Classification", "valid_values": ["UNCLASSIFIED", "AD_HOC", "TRANSACTIONAL", "AUTHORITATIVE", "DERIVED", "OBSOLETE", "OTHER"]}, + {"field": "confidentiality_classification", "label": "Confidentiality Classification", "valid_values": ["UNCLASSIFIED", "INTERNAL", "CONFIDENTIAL", "SENSITIVE", "RESTRICTED", "OTHER"]}, + {"field": "criticality_classification", "label": "Criticality Classification", "valid_values": ["UNCLASSIFIED", "MARGINAL", "IMPORTANT", "CRITICAL", "CATASTROPHIC", "OTHER"]}, + {"field": "description", "label": "Description"}, + {"field": "display_name", "label": "Display Name"}, + {"field": "guid", "label": "GUID"}, + {"field": "identifier", "label": "Identifier"}, + {"field": "impact_classification", "label": "Impact Classification", "valid_values": ["UNCLASSIFIED", "LOW", "MEDIUM", "HIGH", "OTHER"]}, + {"field": "legal", "label": "Legal"}, + {"field": "policy_management_point", "label": "Policy Management Point"}, + {"field": "qualified_name", "label": "Qualified Name"}, + {"field": "retention_classification", "label": "Retention Classification", "valid_values": ["UNCLASSIFIED", "TEMPORARY", "PROJECT_LIFETIME", "TEAM_LIFETIME", "CONTRACT_LIFETIME", "REGULATED_LIFETIME", "TIMEBOXED_LIFETIME", "OTHER"]}, + {"field": "security_tags", "label": "Security Tags"}, + {"field": "url", "label": "URL"}, + {"field": "version_identifier", "label": "Version Identifier"}, + {"field": "data_format", "label": "Data Format"}, + {"field": "length", "label": "Length"}, + {"field": "data_type", "label": "Data Type", "valid_values": ["string", "int", "long", "date", "boolean", "char", "byte", "float", "double", "biginteger", "bigdecimal", "array", "array", "map", "map", "map", "map", "map", "map", "map", "short", "map>", "other"]}, + {"field": "usage", "label": "Usage"}, + {"field": "fingerprint", "label": "Fingerprint"}, + {"field": "fingerprint_algorithm", "label": "Fingerprint Algorithm"}, + {"field": "hash", "label": "Hash"}, + {"field": "hash_algorithm", "label": "Hash Algorithm"}, + {"field": "literal_value", "label": "Literal Value"}, + {"field": "literal_value_list", "label": "Literal Value List"}, + {"field": "literal_value_map", "label": "Literal Value Map"} + ] + } + } + } + }, + { + "label": "Data-Value-DrE-Basic", + "envelope": { + "heading": "Data-Value-DrE-Basic Attributes", + "description": "Auto-generated format for Data Value (Create, Basic).", + "family": "Data Engineer", + "target_type_name": "Data Value", + "aliases": ["Data Value DrE Basic"] + }, + "microflow": { + "format": "microflow/1", + "params": { + "search_string": {"type": "string", "required": true}, + "sequencing_order": {"type": "string", "required": false}, + "sequencing_property": {"type": "string", "required": false}, + "page_size": {"type": "string", "required": false}, + "start_from": {"type": "string", "required": false}, + "starts_with": {"type": "string", "required": false}, + "ends_with": {"type": "string", "required": false}, + "ignore_case": {"type": "string", "required": false}, + "classification_names": {"type": "string", "required": false}, + "metadata_element_subtypes": {"type": "string", "required": false}, + "metadata_element_type": {"type": "string", "required": false} + }, + "stages": [ + { + "stage": "producer/find", + "type": "Data Value", + "function": "DataEngineer.find_data_values", + "params": {"search_string": "$search_string"} + } + ], + "formatters": { + "LIST": { + "columns": [ + {"field": "display_name", "label": "Display Name"}, + {"field": "qualified_name", "label": "Qualified Name"}, + {"field": "guid", "label": "GUID"}, + {"field": "zone_membership", "label": "Zone Membership"}, + {"field": "description", "label": "Description"}, + {"field": "legal", "label": "Legal"}, + {"field": "data_format", "label": "Data Format"}, + {"field": "length", "label": "Length"}, + {"field": "data_type", "label": "Data Type", "valid_values": ["string", "int", "long", "date", "boolean", "char", "byte", "float", "double", "biginteger", "bigdecimal", "array", "array", "map", "map", "map", "map", "map", "map", "map", "short", "map>", "other"]}, + {"field": "usage", "label": "Usage"}, + {"field": "fingerprint", "label": "Fingerprint"}, + {"field": "fingerprint_algorithm", "label": "Fingerprint Algorithm"}, + {"field": "hash", "label": "Hash"}, + {"field": "hash_algorithm", "label": "Hash Algorithm"}, + {"field": "literal_value", "label": "Literal Value"}, + {"field": "literal_value_list", "label": "Literal Value List"}, + {"field": "literal_value_map", "label": "Literal Value Map"}, + {"field": "version_identifier", "label": "Version Identifier"}, + {"field": "category", "label": "Category"} + ] + }, + "ALL": { + "columns": [ + {"field": "zone_membership", "label": "Zone Membership"}, + {"field": "category", "label": "Category"}, + {"field": "description", "label": "Description"}, + {"field": "display_name", "label": "Display Name"}, + {"field": "guid", "label": "GUID"}, + {"field": "legal", "label": "Legal"}, + {"field": "qualified_name", "label": "Qualified Name"}, + {"field": "url", "label": "URL"}, + {"field": "version_identifier", "label": "Version Identifier"}, + {"field": "data_format", "label": "Data Format"}, + {"field": "length", "label": "Length"}, + {"field": "data_type", "label": "Data Type", "valid_values": ["string", "int", "long", "date", "boolean", "char", "byte", "float", "double", "biginteger", "bigdecimal", "array", "array", "map", "map", "map", "map", "map", "map", "map", "short", "map>", "other"]}, + {"field": "usage", "label": "Usage"}, + {"field": "fingerprint", "label": "Fingerprint"}, + {"field": "fingerprint_algorithm", "label": "Fingerprint Algorithm"}, + {"field": "hash", "label": "Hash"}, + {"field": "hash_algorithm", "label": "Hash Algorithm"}, + {"field": "literal_value", "label": "Literal Value"}, + {"field": "literal_value_list", "label": "Literal Value List"}, + {"field": "literal_value_map", "label": "Literal Value Map"} + ] + } + } + } } ] } diff --git a/pyegeria/view/seed/manifest.json b/pyegeria/view/seed/manifest.json index c8d929f83..2873b0ac2 100644 --- a/pyegeria/view/seed/manifest.json +++ b/pyegeria/view/seed/manifest.json @@ -1,7 +1,7 @@ { "format": "pyegeria-seed/1", "description": "pyegeria's shipped report specs (the builtin tier). Generated by `python -m pyegeria.view.seed build` from the Python constants; do not edit by hand.", - "census": {"total": 450, "runnable": 383, "unrunnable": 0, "format_only": 67}, + "census": {"total": 452, "runnable": 385, "unrunnable": 0, "format_only": 67}, "families": 41, "files": [ {"file": "Action Author.json", "family": "Action Author", "count": 8}, @@ -17,7 +17,7 @@ {"file": "CollectionManager.json", "family": "CollectionManager", "count": 2}, {"file": "Collections.json", "family": "Collections", "count": 50}, {"file": "Data Designer.json", "family": "Data Designer", "count": 25}, - {"file": "Data Engineer.json", "family": "Data Engineer", "count": 2}, + {"file": "Data Engineer.json", "family": "Data Engineer", "count": 4}, {"file": "Digital Business.json", "family": "Digital Business", "count": 1}, {"file": "Digital Product Manager.json", "family": "Digital Product Manager", "count": 14}, {"file": "External Reference.json", "family": "External Reference", "count": 14}, @@ -46,5 +46,5 @@ {"file": "Valid-Values.json", "family": "Valid-Values", "count": 1}, {"file": "Views & Reports.json", "family": "Views & Reports", "count": 12} ], - "order": ["Referenceable", "ToDo-DrE", "Meeting-DrE", "Review-DrE", "Default", "Comment-by-Element", "Element-By-Owner", "Actor-Profiles", "Actor-Profiles-Assigned-MD", "Profile-Team-Detail", "Actor-Roles", "Team-Members", "Team-Member-Role-Detail", "User-Identities", "Perspectives", "Skills", "My-User", "My-User-MD", "My-User-Contribution-Record-Detail", "My-User-Note-Logs-Detail", "My-User-Activities", "My-User-Blogs", "My-User-Journals", "My-User-Contact-Detail", "My-User-Roles-Detail", "My-User-Teams-Detail", "My-User-Projects-Detail", "My-User-Communities-Detail", "My-User-ToDos", "Org-Chart", "TypeDef", "Valid-Values", "Engine-Actions", "Asset-Graph", "Asset-Lineage-Hops", "Common-Mermaid", "Common-Mermaid-Prop-Value", "Tech-Type-Elements", "Search-Keywords", "Tech-Type-Details", "Tech-Type-Details-MD", "Catalog-Template-Detail", "Governance-Action-Processes-Detail", "Place-Holder-Property-Detail", "External-Reference-Detail", "Governance-Action-Steps-Detail", "Action-Targets-Detail", "Action-Request-Sources-Detail", "Catalog-Target", "Tech-Type-Processes", "Tech-Types", "Platforms", "OMAGServers", "IntegrationConnectors", "Journal-Entry-DrE", "Informal-Tags-DrE", "ExternalReference", "ExternalIdentifier", "RelatedMedia", "CitedDocument", "Projects", "Glossaries", "Glossary-Terms", "Help-Terms", "Collections", "Collection-MindMap", "BasicCollections", "Folders", "BusinessCapabilities", "Security-Findings", "Penetration-Test-Findings", "Security-Posture", "Statement-of-Applicability-Controls", "Statement-of-Applicability-Implementation-Summary", "Collection Members", "Solution-Blueprint-Mermaid", "Solution-Blueprint", "Registered-Services", "Severity-Definitions", "Asset-Types", "Digital-Product-Catalog", "Digital-Product-Catalog-MyE", "Digital-Products", "Digital-Products-MyE", "Digital-Products-Slim", "Agreements", "Data-Dictionaries", "Data-Specifications", "Data-Structures", "Data-Fields", "Data-Classes", "Data-Value-Spec", "Report-Specs", "Measurement-Specifications", "Dashboards", "External-References", "Governance Basics", "Governance Definitions", "Governance Def", "Governance-Controls", "Governance-Zones", "Governance-Process", "Governance-Zone-Overview-Charts", "Secrets-Collection-User-Profile-Charts", "Valid-Value-Def", "License-Type", "Decision", "Data-Value", "Literal-Data-Value", "Governance Policies", "Activity-Entry-DrE-Advanced", "Activity-Entry-DrE-Basic", "Agreement-DrE-Advanced", "Agreement-DrE-Basic", "Blog-Entry-DrE-Advanced", "Blog-Entry-DrE-Basic", "Business-Capability-DrE-Advanced", "Business-Capability-DrE-Basic", "Business-Imperative-DrE-Advanced", "Business-Imperative-DrE-Basic", "Campaign-DrE-Advanced", "Campaign-DrE-Basic", "Certification-Type-DrE-Advanced", "Certification-Type-DrE-Basic", "Cited-Document-DrE-Advanced", "Cited-Document-DrE-Basic", "Collection-DrE-Advanced", "Collection-DrE-Basic", "Collection-Folder-DrE-Advanced", "Collection-Folder-DrE-Basic", "Comment-DrE-Advanced", "Comment-DrE-Basic", "Concept-Bead-Attribute-DrE-Advanced", "Concept-Bead-Attribute-DrE-Basic", "Concept-Bead-DrE-Advanced", "Concept-Bead-DrE-Basic", "Concept-Bead-Relationship-DrE-Advanced", "Concept-Bead-Relationship-DrE-Basic", "Concept-Model-DrE-Advanced", "Concept-Model-DrE-Basic", "Context-Event-Collection-DrE-Advanced", "Context-Event-Collection-DrE-Basic", "CSV-Data-File-Element-DrE-Advanced", "CSV-Data-File-Element-DrE-Basic", "CSV-File-DrE-Advanced", "CSV-File-DrE-Basic", "Dashboard-DrE-Advanced", "Dashboard-DrE-Basic", "Dashboard-Sheet-DrE-Advanced", "Dashboard-Sheet-DrE-Basic", "Data-Class-DrE-Advanced", "Data-Class-DrE-Basic", "Data-Dictionary-DrE-Advanced", "Data-Dictionary-DrE-Basic", "Data-Field-DrE-Advanced", "Data-Field-DrE-Basic", "Data-Grain-DrE-Advanced", "Data-Grain-DrE-Basic", "Data-Lens-DrE-Advanced", "Data-Lens-DrE-Basic", "Data-Processing-Purpose-DrE-Advanced", "Data-Processing-Purpose-DrE-Basic", "Data-Sharing-Agreement-DrE-Advanced", "Data-Sharing-Agreement-DrE-Basic", "Data-Sharing-Hub-DrE-Advanced", "Data-Sharing-Hub-DrE-Basic", "Data-Sharing-Request-DrE-Advanced", "Data-Sharing-Request-DrE-Basic", "Data-Spec-DrE-Advanced", "Data-Spec-DrE-Basic", "Data-Structure-DrE-Advanced", "Data-Structure-DrE-Basic", "Data-Value-Specification-DrE-Advanced", "Data-Value-Specification-DrE-Basic", "Decision-DrE-Advanced", "Decision-DrE-Basic", "Design-Pattern-DrE-Advanced", "Design-Pattern-DrE-Basic", "Digital-Product-Catalog-DrE-Advanced", "Digital-Product-Catalog-DrE-Basic", "Digital-Product-DrE-Advanced", "Digital-Product-DrE-Basic", "Digital-Subscription-DrE-Advanced", "Digital-Subscription-DrE-Basic", "Display-Data-Container-DrE-Advanced", "Display-Data-Container-DrE-Basic", "Display-Data-Field-DrE-Advanced", "Display-Data-Field-DrE-Basic", "Element-DrE-Advanced", "Element-DrE-Basic", "Embedded-Process-DrE-Advanced", "Embedded-Process-DrE-Basic", "Enum-Def-DrE-Advanced", "Enum-Def-DrE-Basic", "Event-Set-DrE-Advanced", "Event-Set-DrE-Basic", "Experiment-DrE-Advanced", "Experiment-DrE-Basic", "External-Data-Source-DrE-Advanced", "External-Data-Source-DrE-Basic", "External-Model-Source-DrE-Advanced", "External-Model-Source-DrE-Basic", "External-Reference-DrE-Advanced", "External-Reference-DrE-Basic", "External-Source-Code-DrE-Advanced", "External-Source-Code-DrE-Basic", "External-Standard-DrE-Advanced", "External-Standard-DrE-Basic", "Folder-Element-DrE-Advanced", "Folder-Element-DrE-Basic", "Folio-DrE-Advanced", "Folio-DrE-Basic", "Glossary-DrE-Advanced", "Glossary-DrE-Basic", "Glossary-Project-DrE-Advanced", "Glossary-Project-DrE-Basic", "Glossary-Term-DrE-Advanced", "Glossary-Term-DrE-Basic", "Governance-Action-Process-DrE-Advanced", "Governance-Action-Process-DrE-Basic", "Governance-Action-Process-Step-DrE-Advanced", "Governance-Action-Process-Step-DrE-Basic", "Governance-Action-Type-DrE-Advanced", "Governance-Action-Type-DrE-Basic", "Governance-Approach-DrE-Advanced", "Governance-Approach-DrE-Basic", "Governance-Control-DrE-Advanced", "Governance-Control-DrE-Basic", "Governance-Definition-DrE-Advanced", "Governance-Definition-DrE-Basic", "Governance-Driver-DrE-Advanced", "Governance-Driver-DrE-Basic", "Governance-Metric-DrE-Advanced", "Governance-Metric-DrE-Basic", "Governance-Obligation-DrE-Advanced", "Governance-Obligation-DrE-Basic", "Governance-Policy-DrE-Advanced", "Governance-Policy-DrE-Basic", "Governance-Principle-DrE-Advanced", "Governance-Principle-DrE-Basic", "Governance-Procedure-DrE-Advanced", "Governance-Procedure-DrE-Basic", "Governance-Project-DrE-Advanced", "Governance-Project-DrE-Basic", "Governance-Responsibility-DrE-Advanced", "Governance-Responsibility-DrE-Basic", "Governance-Role-DrE-Advanced", "Governance-Role-DrE-Basic", "Governance-Rule-DrE-Advanced", "Governance-Rule-DrE-Basic", "Governance-Strategy-DrE-Advanced", "Governance-Strategy-DrE-Basic", "Governance-Zone-DrE-Advanced", "Governance-Zone-DrE-Basic", "Home-Collection-DrE-Advanced", "Home-Collection-DrE-Basic", "Informal-Tag-DrE-Advanced", "Informal-Tag-DrE-Basic", "Information-Supply-Chain-DrE-Advanced", "Information-Supply-Chain-DrE-Basic", "Instance-DrE-Advanced", "Instance-DrE-Basic", "IT-Profile-Role-DrE-Advanced", "IT-Profile-Role-DrE-Basic", "IT-Subsystem-DrE-Advanced", "IT-Subsystem-DrE-Basic", "Journal-Entry-DrE-Advanced", "Journal-Entry-DrE-Basic", "Kafka-Server-Element-DrE-Advanced", "Kafka-Server-Element-DrE-Basic", "License-Type-DrE-Advanced", "License-Type-DrE-Basic", "Like-DrE-Advanced", "Like-DrE-Basic", "Measurement-Specification-DrE-Advanced", "Measurement-Specification-DrE-Basic", "Meeting-DrE-Advanced", "Meeting-DrE-Basic", "Methodology-DrE-Advanced", "Methodology-DrE-Basic", "Namespace-DrE-Advanced", "Namespace-DrE-Basic", "Naming-Standard-Rule-DrE-Advanced", "Naming-Standard-Rule-DrE-Basic", "Naming-Standard-Rule-Set-DrE-Advanced", "Naming-Standard-Rule-Set-DrE-Basic", "Note-DrE-Advanced", "Note-DrE-Basic", "Notification-Type-DrE-Advanced", "Notification-Type-DrE-Basic", "Organization-DrE-Advanced", "Organization-DrE-Basic", "Penetration-Test-Finding-DrE-Advanced", "Penetration-Test-Finding-DrE-Basic", "Person-DrE-Advanced", "Person-DrE-Basic", "Person-Role-DrE-Advanced", "Person-Role-DrE-Basic", "Personal-Project-DrE-Advanced", "Personal-Project-DrE-Basic", "Perspective-DrE-Advanced", "Perspective-DrE-Basic", "Postgres-Database-Element-DrE-Advanced", "Postgres-Database-Element-DrE-Basic", "Postgres-Server-Element-DrE-Advanced", "Postgres-Server-Element-DrE-Basic", "Project-DrE-Advanced", "Project-DrE-Basic", "Question-DrE-Advanced", "Question-DrE-Basic", "Question-Spec-DrE-Advanced", "Question-Spec-DrE-Basic", "Rating-DrE-Advanced", "Rating-DrE-Basic", "Recent-Access-DrE-Advanced", "Recent-Access-DrE-Basic", "Reference-Data-Set-DrE-Advanced", "Reference-Data-Set-DrE-Basic", "Reference-Data-Value-DrE-Advanced", "Reference-Data-Value-DrE-Basic", "Reference-List-DrE-Advanced", "Reference-List-DrE-Basic", "Regulation-Article-DrE-Advanced", "Regulation-Article-DrE-Basic", "Regulation-DrE-Advanced", "Regulation-DrE-Basic", "Related-Media-DrE-Advanced", "Related-Media-DrE-Basic", "Report-DrE-Advanced", "Report-DrE-Basic", "Report-Spec-DrE-Advanced", "Report-Spec-DrE-Basic", "Report-Type-DrE-Advanced", "Report-Type-DrE-Basic", "Results-Set-DrE-Advanced", "Results-Set-DrE-Basic", "Review-DrE-Advanced", "Review-DrE-Basic", "Risk-DrE-Advanced", "Risk-DrE-Basic", "Root-Collection-DrE-Advanced", "Root-Collection-DrE-Basic", "Saved-Query-DrE-Advanced", "Saved-Query-DrE-Basic", "Schema-Attribute-DrE-Advanced", "Schema-Attribute-DrE-Basic", "Schema-Attribute-From-Template-DrE-Advanced", "Schema-Attribute-From-Template-DrE-Basic", "Schema-Type-DrE-Advanced", "Schema-Type-DrE-Basic", "Schema-Type-From-Template-DrE-Advanced", "Schema-Type-From-Template-DrE-Basic", "Secrets-Store-Element-DrE-Advanced", "Secrets-Store-Element-DrE-Basic", "Security-Access-Control-DrE-Advanced", "Security-Access-Control-DrE-Basic", "Security-Finding-DrE-Advanced", "Security-Finding-DrE-Basic", "Security-Group-DrE-Advanced", "Security-Group-DrE-Basic", "Security-List-DrE-Advanced", "Security-List-DrE-Basic", "Security-Posture-Summary-DrE-Advanced", "Security-Posture-Summary-DrE-Basic", "Security-Role-DrE-Advanced", "Security-Role-DrE-Basic", "Service-Level-Objective-DrE-Advanced", "Service-Level-Objective-DrE-Basic", "Skill-DrE-Advanced", "Skill-DrE-Basic", "Skill-Set-DrE-Advanced", "Skill-Set-DrE-Basic", "Software-Archive-DrE-Advanced", "Software-Archive-DrE-Basic", "Solution-Blueprint-DrE-Advanced", "Solution-Blueprint-DrE-Basic", "Solution-Component-DrE-Advanced", "Solution-Component-DrE-Basic", "Solution-Role-DrE-Advanced", "Solution-Role-DrE-Basic", "Statement-of-Applicability-DrE-Advanced", "Statement-of-Applicability-DrE-Basic", "Study-Project-DrE-Advanced", "Study-Project-DrE-Basic", "Subject-Area-DrE-Advanced", "Subject-Area-DrE-Basic", "Subscription-Type-DrE-Advanced", "Subscription-Type-DrE-Basic", "Survey-Report-DrE-Advanced", "Survey-Report-DrE-Basic", "Task-DrE-Advanced", "Task-DrE-Basic", "Team-DrE-Advanced", "Team-DrE-Basic", "Team-Role-DrE-Advanced", "Team-Role-DrE-Basic", "Terms-and-Conditions-DrE-Advanced", "Terms-and-Conditions-DrE-Basic", "Threat-DrE-Advanced", "Threat-DrE-Basic", "ToDo-DrE-Advanced", "ToDo-DrE-Basic", "Type-Def-DrE-Advanced", "Type-Def-DrE-Basic", "UC-Catalog-Element-DrE-Advanced", "UC-Catalog-Element-DrE-Basic", "UC-Function-Element-DrE-Advanced", "UC-Function-Element-DrE-Basic", "UC-Schema-Element-DrE-Advanced", "UC-Schema-Element-DrE-Basic", "UC-Server-Element-DrE-Advanced", "UC-Server-Element-DrE-Basic", "UC-Table-Element-DrE-Advanced", "UC-Table-Element-DrE-Basic", "UC-Volume-Element-DrE-Advanced", "UC-Volume-Element-DrE-Basic", "Vulnerability-Finding-DrE-Advanced", "Vulnerability-Finding-DrE-Basic", "Work-Item-List-DrE-Advanced", "Work-Item-List-DrE-Basic", "Working-Set-DrE-Advanced", "Working-Set-DrE-Basic", "Analytic Demo - Element Count by Type", "Analytic Demo - Assets by Type Breakdown", "Analytic Demo - Ownership Coverage", "Analytic Demo - Business Value Signals", "Analytic Demo - Governance Coverage", "Analytic Demo - Certifications and Exceptions", "Analytic Demo - People and Community", "Analytic Demo - Feedback Summary", "Analytic Demo - Usage Context: Supply Chains & Blueprints", "Analytic Demo - Semantic Grounding", "Analytic Demo - AI Context Readiness", "Analytic Demo - AI-Ready Assets", "Analytic Demo - Catalog Growth Trend", "Analytic Demo - Term Definition Completeness", "Analytic Demo - Active Contributors", "Analytic Demo - Assets by Type Total (Composite)", "Analytic Demo - Count by Property", "Analytic Demo - Contextualised Coverage", "Analytic Demo - Karma Leaderboard", "Analytic Demo - Engagement Over Time", "Analytic Demo - Orphan Glossary Terms", "Analytic Demo - Stale Assets", "Analytic Demo - Metric Trend (Governance Coverage)", "Questions", "Report-Types", "Question-Specs", "DCAT Catalog", "DCAT Catalog (Turtle)"] + "order": ["Referenceable", "ToDo-DrE", "Meeting-DrE", "Review-DrE", "Default", "Comment-by-Element", "Element-By-Owner", "Actor-Profiles", "Actor-Profiles-Assigned-MD", "Profile-Team-Detail", "Actor-Roles", "Team-Members", "Team-Member-Role-Detail", "User-Identities", "Perspectives", "Skills", "My-User", "My-User-MD", "My-User-Contribution-Record-Detail", "My-User-Note-Logs-Detail", "My-User-Activities", "My-User-Blogs", "My-User-Journals", "My-User-Contact-Detail", "My-User-Roles-Detail", "My-User-Teams-Detail", "My-User-Projects-Detail", "My-User-Communities-Detail", "My-User-ToDos", "Org-Chart", "TypeDef", "Valid-Values", "Engine-Actions", "Asset-Graph", "Asset-Lineage-Hops", "Common-Mermaid", "Common-Mermaid-Prop-Value", "Tech-Type-Elements", "Search-Keywords", "Tech-Type-Details", "Tech-Type-Details-MD", "Catalog-Template-Detail", "Governance-Action-Processes-Detail", "Place-Holder-Property-Detail", "External-Reference-Detail", "Governance-Action-Steps-Detail", "Action-Targets-Detail", "Action-Request-Sources-Detail", "Catalog-Target", "Tech-Type-Processes", "Tech-Types", "Platforms", "OMAGServers", "IntegrationConnectors", "Journal-Entry-DrE", "Informal-Tags-DrE", "ExternalReference", "ExternalIdentifier", "RelatedMedia", "CitedDocument", "Projects", "Glossaries", "Glossary-Terms", "Help-Terms", "Collections", "Collection-MindMap", "BasicCollections", "Folders", "BusinessCapabilities", "Security-Findings", "Penetration-Test-Findings", "Security-Posture", "Statement-of-Applicability-Controls", "Statement-of-Applicability-Implementation-Summary", "Collection Members", "Solution-Blueprint-Mermaid", "Solution-Blueprint", "Registered-Services", "Severity-Definitions", "Asset-Types", "Digital-Product-Catalog", "Digital-Product-Catalog-MyE", "Digital-Products", "Digital-Products-MyE", "Digital-Products-Slim", "Agreements", "Data-Dictionaries", "Data-Specifications", "Data-Structures", "Data-Fields", "Data-Classes", "Data-Value-Spec", "Report-Specs", "Measurement-Specifications", "Dashboards", "External-References", "Governance Basics", "Governance Definitions", "Governance Def", "Governance-Controls", "Governance-Zones", "Governance-Process", "Governance-Zone-Overview-Charts", "Secrets-Collection-User-Profile-Charts", "Valid-Value-Def", "License-Type", "Decision", "Data-Value", "Literal-Data-Value", "Governance Policies", "Activity-Entry-DrE-Advanced", "Activity-Entry-DrE-Basic", "Agreement-DrE-Advanced", "Agreement-DrE-Basic", "Blog-Entry-DrE-Advanced", "Blog-Entry-DrE-Basic", "Business-Capability-DrE-Advanced", "Business-Capability-DrE-Basic", "Business-Imperative-DrE-Advanced", "Business-Imperative-DrE-Basic", "Campaign-DrE-Advanced", "Campaign-DrE-Basic", "Certification-Type-DrE-Advanced", "Certification-Type-DrE-Basic", "Cited-Document-DrE-Advanced", "Cited-Document-DrE-Basic", "Collection-DrE-Advanced", "Collection-DrE-Basic", "Collection-Folder-DrE-Advanced", "Collection-Folder-DrE-Basic", "Comment-DrE-Advanced", "Comment-DrE-Basic", "Concept-Bead-Attribute-DrE-Advanced", "Concept-Bead-Attribute-DrE-Basic", "Concept-Bead-DrE-Advanced", "Concept-Bead-DrE-Basic", "Concept-Bead-Relationship-DrE-Advanced", "Concept-Bead-Relationship-DrE-Basic", "Concept-Model-DrE-Advanced", "Concept-Model-DrE-Basic", "Context-Event-Collection-DrE-Advanced", "Context-Event-Collection-DrE-Basic", "CSV-Data-File-Element-DrE-Advanced", "CSV-Data-File-Element-DrE-Basic", "CSV-File-DrE-Advanced", "CSV-File-DrE-Basic", "Dashboard-DrE-Advanced", "Dashboard-DrE-Basic", "Dashboard-Sheet-DrE-Advanced", "Dashboard-Sheet-DrE-Basic", "Data-Class-DrE-Advanced", "Data-Class-DrE-Basic", "Data-Dictionary-DrE-Advanced", "Data-Dictionary-DrE-Basic", "Data-Field-DrE-Advanced", "Data-Field-DrE-Basic", "Data-Grain-DrE-Advanced", "Data-Grain-DrE-Basic", "Data-Lens-DrE-Advanced", "Data-Lens-DrE-Basic", "Data-Processing-Purpose-DrE-Advanced", "Data-Processing-Purpose-DrE-Basic", "Data-Sharing-Agreement-DrE-Advanced", "Data-Sharing-Agreement-DrE-Basic", "Data-Sharing-Hub-DrE-Advanced", "Data-Sharing-Hub-DrE-Basic", "Data-Sharing-Request-DrE-Advanced", "Data-Sharing-Request-DrE-Basic", "Data-Spec-DrE-Advanced", "Data-Spec-DrE-Basic", "Data-Structure-DrE-Advanced", "Data-Structure-DrE-Basic", "Data-Value-DrE-Advanced", "Data-Value-DrE-Basic", "Data-Value-Specification-DrE-Advanced", "Data-Value-Specification-DrE-Basic", "Decision-DrE-Advanced", "Decision-DrE-Basic", "Design-Pattern-DrE-Advanced", "Design-Pattern-DrE-Basic", "Digital-Product-Catalog-DrE-Advanced", "Digital-Product-Catalog-DrE-Basic", "Digital-Product-DrE-Advanced", "Digital-Product-DrE-Basic", "Digital-Subscription-DrE-Advanced", "Digital-Subscription-DrE-Basic", "Display-Data-Container-DrE-Advanced", "Display-Data-Container-DrE-Basic", "Display-Data-Field-DrE-Advanced", "Display-Data-Field-DrE-Basic", "Element-DrE-Advanced", "Element-DrE-Basic", "Embedded-Process-DrE-Advanced", "Embedded-Process-DrE-Basic", "Enum-Def-DrE-Advanced", "Enum-Def-DrE-Basic", "Event-Set-DrE-Advanced", "Event-Set-DrE-Basic", "Experiment-DrE-Advanced", "Experiment-DrE-Basic", "External-Data-Source-DrE-Advanced", "External-Data-Source-DrE-Basic", "External-Model-Source-DrE-Advanced", "External-Model-Source-DrE-Basic", "External-Reference-DrE-Advanced", "External-Reference-DrE-Basic", "External-Source-Code-DrE-Advanced", "External-Source-Code-DrE-Basic", "External-Standard-DrE-Advanced", "External-Standard-DrE-Basic", "Folder-Element-DrE-Advanced", "Folder-Element-DrE-Basic", "Folio-DrE-Advanced", "Folio-DrE-Basic", "Glossary-DrE-Advanced", "Glossary-DrE-Basic", "Glossary-Project-DrE-Advanced", "Glossary-Project-DrE-Basic", "Glossary-Term-DrE-Advanced", "Glossary-Term-DrE-Basic", "Governance-Action-Process-DrE-Advanced", "Governance-Action-Process-DrE-Basic", "Governance-Action-Process-Step-DrE-Advanced", "Governance-Action-Process-Step-DrE-Basic", "Governance-Action-Type-DrE-Advanced", "Governance-Action-Type-DrE-Basic", "Governance-Approach-DrE-Advanced", "Governance-Approach-DrE-Basic", "Governance-Control-DrE-Advanced", "Governance-Control-DrE-Basic", "Governance-Definition-DrE-Advanced", "Governance-Definition-DrE-Basic", "Governance-Driver-DrE-Advanced", "Governance-Driver-DrE-Basic", "Governance-Metric-DrE-Advanced", "Governance-Metric-DrE-Basic", "Governance-Obligation-DrE-Advanced", "Governance-Obligation-DrE-Basic", "Governance-Policy-DrE-Advanced", "Governance-Policy-DrE-Basic", "Governance-Principle-DrE-Advanced", "Governance-Principle-DrE-Basic", "Governance-Procedure-DrE-Advanced", "Governance-Procedure-DrE-Basic", "Governance-Project-DrE-Advanced", "Governance-Project-DrE-Basic", "Governance-Responsibility-DrE-Advanced", "Governance-Responsibility-DrE-Basic", "Governance-Role-DrE-Advanced", "Governance-Role-DrE-Basic", "Governance-Rule-DrE-Advanced", "Governance-Rule-DrE-Basic", "Governance-Strategy-DrE-Advanced", "Governance-Strategy-DrE-Basic", "Governance-Zone-DrE-Advanced", "Governance-Zone-DrE-Basic", "Home-Collection-DrE-Advanced", "Home-Collection-DrE-Basic", "Informal-Tag-DrE-Advanced", "Informal-Tag-DrE-Basic", "Information-Supply-Chain-DrE-Advanced", "Information-Supply-Chain-DrE-Basic", "Instance-DrE-Advanced", "Instance-DrE-Basic", "IT-Profile-Role-DrE-Advanced", "IT-Profile-Role-DrE-Basic", "IT-Subsystem-DrE-Advanced", "IT-Subsystem-DrE-Basic", "Journal-Entry-DrE-Advanced", "Journal-Entry-DrE-Basic", "Kafka-Server-Element-DrE-Advanced", "Kafka-Server-Element-DrE-Basic", "License-Type-DrE-Advanced", "License-Type-DrE-Basic", "Like-DrE-Advanced", "Like-DrE-Basic", "Measurement-Specification-DrE-Advanced", "Measurement-Specification-DrE-Basic", "Meeting-DrE-Advanced", "Meeting-DrE-Basic", "Methodology-DrE-Advanced", "Methodology-DrE-Basic", "Namespace-DrE-Advanced", "Namespace-DrE-Basic", "Naming-Standard-Rule-DrE-Advanced", "Naming-Standard-Rule-DrE-Basic", "Naming-Standard-Rule-Set-DrE-Advanced", "Naming-Standard-Rule-Set-DrE-Basic", "Note-DrE-Advanced", "Note-DrE-Basic", "Notification-Type-DrE-Advanced", "Notification-Type-DrE-Basic", "Organization-DrE-Advanced", "Organization-DrE-Basic", "Penetration-Test-Finding-DrE-Advanced", "Penetration-Test-Finding-DrE-Basic", "Person-DrE-Advanced", "Person-DrE-Basic", "Person-Role-DrE-Advanced", "Person-Role-DrE-Basic", "Personal-Project-DrE-Advanced", "Personal-Project-DrE-Basic", "Perspective-DrE-Advanced", "Perspective-DrE-Basic", "Postgres-Database-Element-DrE-Advanced", "Postgres-Database-Element-DrE-Basic", "Postgres-Server-Element-DrE-Advanced", "Postgres-Server-Element-DrE-Basic", "Project-DrE-Advanced", "Project-DrE-Basic", "Question-DrE-Advanced", "Question-DrE-Basic", "Question-Spec-DrE-Advanced", "Question-Spec-DrE-Basic", "Rating-DrE-Advanced", "Rating-DrE-Basic", "Recent-Access-DrE-Advanced", "Recent-Access-DrE-Basic", "Reference-Data-Set-DrE-Advanced", "Reference-Data-Set-DrE-Basic", "Reference-Data-Value-DrE-Advanced", "Reference-Data-Value-DrE-Basic", "Reference-List-DrE-Advanced", "Reference-List-DrE-Basic", "Regulation-Article-DrE-Advanced", "Regulation-Article-DrE-Basic", "Regulation-DrE-Advanced", "Regulation-DrE-Basic", "Related-Media-DrE-Advanced", "Related-Media-DrE-Basic", "Report-DrE-Advanced", "Report-DrE-Basic", "Report-Spec-DrE-Advanced", "Report-Spec-DrE-Basic", "Report-Type-DrE-Advanced", "Report-Type-DrE-Basic", "Results-Set-DrE-Advanced", "Results-Set-DrE-Basic", "Review-DrE-Advanced", "Review-DrE-Basic", "Risk-DrE-Advanced", "Risk-DrE-Basic", "Root-Collection-DrE-Advanced", "Root-Collection-DrE-Basic", "Saved-Query-DrE-Advanced", "Saved-Query-DrE-Basic", "Schema-Attribute-DrE-Advanced", "Schema-Attribute-DrE-Basic", "Schema-Attribute-From-Template-DrE-Advanced", "Schema-Attribute-From-Template-DrE-Basic", "Schema-Type-DrE-Advanced", "Schema-Type-DrE-Basic", "Schema-Type-From-Template-DrE-Advanced", "Schema-Type-From-Template-DrE-Basic", "Secrets-Store-Element-DrE-Advanced", "Secrets-Store-Element-DrE-Basic", "Security-Access-Control-DrE-Advanced", "Security-Access-Control-DrE-Basic", "Security-Finding-DrE-Advanced", "Security-Finding-DrE-Basic", "Security-Group-DrE-Advanced", "Security-Group-DrE-Basic", "Security-List-DrE-Advanced", "Security-List-DrE-Basic", "Security-Posture-Summary-DrE-Advanced", "Security-Posture-Summary-DrE-Basic", "Security-Role-DrE-Advanced", "Security-Role-DrE-Basic", "Service-Level-Objective-DrE-Advanced", "Service-Level-Objective-DrE-Basic", "Skill-DrE-Advanced", "Skill-DrE-Basic", "Skill-Set-DrE-Advanced", "Skill-Set-DrE-Basic", "Software-Archive-DrE-Advanced", "Software-Archive-DrE-Basic", "Solution-Blueprint-DrE-Advanced", "Solution-Blueprint-DrE-Basic", "Solution-Component-DrE-Advanced", "Solution-Component-DrE-Basic", "Solution-Role-DrE-Advanced", "Solution-Role-DrE-Basic", "Statement-of-Applicability-DrE-Advanced", "Statement-of-Applicability-DrE-Basic", "Study-Project-DrE-Advanced", "Study-Project-DrE-Basic", "Subject-Area-DrE-Advanced", "Subject-Area-DrE-Basic", "Subscription-Type-DrE-Advanced", "Subscription-Type-DrE-Basic", "Survey-Report-DrE-Advanced", "Survey-Report-DrE-Basic", "Task-DrE-Advanced", "Task-DrE-Basic", "Team-DrE-Advanced", "Team-DrE-Basic", "Team-Role-DrE-Advanced", "Team-Role-DrE-Basic", "Terms-and-Conditions-DrE-Advanced", "Terms-and-Conditions-DrE-Basic", "Threat-DrE-Advanced", "Threat-DrE-Basic", "ToDo-DrE-Advanced", "ToDo-DrE-Basic", "Type-Def-DrE-Advanced", "Type-Def-DrE-Basic", "UC-Catalog-Element-DrE-Advanced", "UC-Catalog-Element-DrE-Basic", "UC-Function-Element-DrE-Advanced", "UC-Function-Element-DrE-Basic", "UC-Schema-Element-DrE-Advanced", "UC-Schema-Element-DrE-Basic", "UC-Server-Element-DrE-Advanced", "UC-Server-Element-DrE-Basic", "UC-Table-Element-DrE-Advanced", "UC-Table-Element-DrE-Basic", "UC-Volume-Element-DrE-Advanced", "UC-Volume-Element-DrE-Basic", "Vulnerability-Finding-DrE-Advanced", "Vulnerability-Finding-DrE-Basic", "Work-Item-List-DrE-Advanced", "Work-Item-List-DrE-Basic", "Working-Set-DrE-Advanced", "Working-Set-DrE-Basic", "Analytic Demo - Element Count by Type", "Analytic Demo - Assets by Type Breakdown", "Analytic Demo - Ownership Coverage", "Analytic Demo - Business Value Signals", "Analytic Demo - Governance Coverage", "Analytic Demo - Certifications and Exceptions", "Analytic Demo - People and Community", "Analytic Demo - Feedback Summary", "Analytic Demo - Usage Context: Supply Chains & Blueprints", "Analytic Demo - Semantic Grounding", "Analytic Demo - AI Context Readiness", "Analytic Demo - AI-Ready Assets", "Analytic Demo - Catalog Growth Trend", "Analytic Demo - Term Definition Completeness", "Analytic Demo - Active Contributors", "Analytic Demo - Assets by Type Total (Composite)", "Analytic Demo - Count by Property", "Analytic Demo - Contextualised Coverage", "Analytic Demo - Karma Leaderboard", "Analytic Demo - Engagement Over Time", "Analytic Demo - Orphan Glossary Terms", "Analytic Demo - Stale Assets", "Analytic Demo - Metric Trend (Governance Coverage)", "Questions", "Report-Types", "Question-Specs", "DCAT Catalog", "DCAT Catalog (Turtle)"] } diff --git a/sample-data/templates/advanced/Data Designer/Create_Data_Field.md b/sample-data/templates/advanced/Data Designer/Create_Data_Field.md index 00dc5883c..c4c6b7b1b 100644 --- a/sample-data/templates/advanced/Data Designer/Create_Data_Field.md +++ b/sample-data/templates/advanced/Data Designer/Create_Data_Field.md @@ -82,7 +82,7 @@ ___ > **Attribute Type**: Simple Int -> **Description**: The maximum number of characters or digits allowed in the field. +> **Description**: The maximum number of characters or digits allowed in the field, or the length of a data value. ### Maximum Cardinality @@ -142,7 +142,7 @@ ___ > **Attribute Type**: Simple Int -> **Description**: The ordinal position of the data field within its containing data structure. +> **Description**: The ordinal position: of a data field within its containing data structure, or of a data value among an element's processing variables or a parent value's embedded values (0 means unset). > **Default Value**: 0 diff --git a/sample-data/templates/advanced/Data Designer/Link_Data_Field_to_Data_Structure.md b/sample-data/templates/advanced/Data Designer/Link_Data_Field_to_Data_Structure.md index fdf6b708f..24ddcd2dd 100644 --- a/sample-data/templates/advanced/Data Designer/Link_Data_Field_to_Data_Structure.md +++ b/sample-data/templates/advanced/Data Designer/Link_Data_Field_to_Data_Structure.md @@ -56,7 +56,7 @@ ___ > **Attribute Type**: Simple Int -> **Description**: The ordinal position of the data field within its containing data structure. +> **Description**: The ordinal position: of a data field within its containing data structure, or of a data value among an element's processing variables or a parent value's embedded values (0 means unset). > **Default Value**: 0 diff --git a/sample-data/templates/advanced/Data Designer/Link_Nested_Data_Field.md b/sample-data/templates/advanced/Data Designer/Link_Nested_Data_Field.md index bff274f56..f02384dc5 100644 --- a/sample-data/templates/advanced/Data Designer/Link_Nested_Data_Field.md +++ b/sample-data/templates/advanced/Data Designer/Link_Nested_Data_Field.md @@ -40,7 +40,7 @@ ___ > **Attribute Type**: Simple Int -> **Description**: The ordinal position of the data field within its containing data structure. +> **Description**: The ordinal position: of a data field within its containing data structure, or of a data value among an element's processing variables or a parent value's embedded values (0 means unset). > **Default Value**: 0 diff --git a/sample-data/templates/advanced/Data Engineer/Create_Data_Value.md b/sample-data/templates/advanced/Data Engineer/Create_Data_Value.md new file mode 100644 index 000000000..98f03f76b --- /dev/null +++ b/sample-data/templates/advanced/Data Engineer/Create_Data_Value.md @@ -0,0 +1,500 @@ +___ + +## Create Data Value +> Create or update a Data Value (Egeria 6.4): a value used or produced by processing, with its format, type, length and fingerprints. A Literal Value, Literal Value List or Literal Value Map makes it a LiteralDataValue that carries the value itself. Needs Egeria 6.4. + +### Display Name +> **Input Required**: True + +> **Attribute Type**: Simple + +> **Description**: The common name of an element. + +> **Alternative Labels**: "Term Name" + + +### Data Format +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The format of the data value (e.g. JSON, CSV, ISO 8601). + + +### Length +> **Input Required**: False + +> **Attribute Type**: Simple Int + +> **Description**: The maximum number of characters or digits allowed in the field, or the length of a data value. + + +### Data Type +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The data type of the field or value specification (e.g. string, int, date, boolean). + +> **Valid Values**: string,int,long,date,boolean,char,byte,float,double,biginteger,bigdecimal,array,array,map,map,map,map,map,map,map,short,map>,other + +> **Default Value**: string + + +### Usage +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The usage guidance for this element — how it is intended to be used in context. + + +### Fingerprint +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A fingerprint of the data value, for spotting copies. + + +### Fingerprint Algorithm +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The algorithm that produced the Fingerprint. + + +### Hash +> **Input Required**: False + +> **Attribute Type**: Simple Int + +> **Description**: A hash of the data value (a whole number). + + +### Hash Algorithm +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The algorithm that produced the Hash. + + +### Literal Value +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The value itself, as text. Giving a Literal Value, Literal Value List or Literal Value Map makes this a LiteralDataValue. + + +### Literal Value List +> **Input Required**: False + +> **Attribute Type**: Simple List + +> **Description**: The value as a list of text values, one per line or comma separated. Makes this a LiteralDataValue. + + +### Literal Value Map +> **Input Required**: False + +> **Attribute Type**: Dictionary + +> **Description**: The value as name: value pairs, one per line. Makes this a LiteralDataValue. + +> | Parameter Name | Parameter Value | +> |---|---| +> | example_key | example_value | + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Category +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user-defined category for the element, used to group related elements for display or search purposes. + +> **Alternative Labels**: Category Name + + +### Description +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A description. + + +### Legal +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Copyright and/or license information for the element or associated resource. + + +### Qualified Name +> **Input Required**: False + +> **Attribute Type**: QN + +> **Description**: The unique, text name of an element. + + +### Search Keywords +> **Input Required**: False + +> **Attribute Type**: Simple List + +> **Description**: A list of search keywords. + + +### Zone Membership +> **Input Required**: False + +> **Attribute Type**: Simple List + +> **Description**: Zones scope visibility of elements to different users. + + +### GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: A unique identifier - typically of an element in this context. + +> **Alternative Labels**: guid; Guid + + +### URL +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: URL for further information. + + +### Version Identifier +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The version of the element + +> **Alternative Labels**: Version + +> **Default Value**: 1.0 + + +### Effective From +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The beginning of when an element is viewable. + + +### Effective Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The time at which an element must be effective in order to be returned by the request. + + +### Effective To +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The ending time at which an element is visible. + + +### External Source GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: The unique identifier of an external source. + + +### External Source Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The name of an external source + + +### For Duplicate Processing +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support duplicate processing. + + +### For Lineage +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support lineage. + + +### Request ID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user provided or system generated request id for a conversation. + + +### Anchor ID +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: Name of the anchoring element. + + +### Anchor Scope ID +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: Anchor scope to restrict search. + +> **Alternative Labels**: Anchor Scope + + +### Glossary Term +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: Term that provides meaning to this field. + +> **Alternative Labels**: Term + + +### Is Own Anchor +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: A flag indicating if the element is its own anchor or is anchored to a different element. + +> **Alternative Labels**: Own Anchor + +> **Default Value**: true + + +### Merge Update +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: A flag indicating if the update should be a merge or replace. + +> **Alternative Labels**: isMergeUpdate + +> **Default Value**: true + + +### Parent at End1 +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: A flag indicating if the parent is at end1 of the relationship + +> **Default Value**: true + + +### Parent ID +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: Name of the parent + +> **Alternative Labels**: Parent; + + +### Parent Relationship Attributes +> **Input Required**: False + +> **Attribute Type**: Dictionary + +> **Description**: A dictionary of relationship attributes to establish the parent relationship. + +> | Parameter Name | Parameter Value | +> |---|---| +> | example_key | example_value | + + +### Parent Relationship Type Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The type of parent relationship. + + +### Status +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Repository or element header status for an element. + +> **Default Value**: ACTIVE + + +### Additional Properties +> **Input Required**: False + +> **Attribute Type**: Dictionary + +> **Description**: Additional Properties allow arbitrary properties not defined in the type definitions to be added to any referenceable element. + +> | Parameter Name | Parameter Value | +> |---|---| +> | example_key | example_value | + + +### Confidence Classification +> **Input Required**: False + +> **Attribute Type**: Valid Value + +> **Description**: Classification from 0422. Structure: {status_identifier: int, confidence: int, steward: str, steward_type_name: str, steward_property_name: str, source: str, notes: str, level_identifier: int}. level_identifier uses ConfidenceLevel enum: UNCLASSIFIED=0, AD_HOC=1, TRANSACTIONAL=2, AUTHORITATIVE=3, DERIVED=4, OBSOLETE=5, OTHER=99. + +> **Valid Values**: UNCLASSIFIED,AD_HOC,TRANSACTIONAL,AUTHORITATIVE,DERIVED,OBSOLETE,OTHER + + +### Confidentiality Classification +> **Input Required**: False + +> **Attribute Type**: Valid Value + +> **Description**: Classification from 0422. Structure: {status_identifier: int, confidence: int, steward: str, steward_type_name: str, steward_property_name: str, source: str, notes: str, level_identifier: int}. level_identifier uses ConfidentialityLevel enum: UNCLASSIFIED=0, INTERNAL=1, CONFIDENTIAL=2, SENSITIVE=3, RESTRICTED=4, OTHER=99. + +> **Valid Values**: UNCLASSIFIED,INTERNAL,CONFIDENTIAL,SENSITIVE,RESTRICTED,OTHER + + +### Criticality Classification +> **Input Required**: False + +> **Attribute Type**: Valid Value + +> **Description**: Classification from 0422. Structure: {status_identifier: int, confidence: int, steward: str, steward_type_name: str, steward_property_name: str, source: str, notes: str, level_identifier: int}. level_identifier uses CriticalityLevel enum: UNCLASSIFIED=0, MARGINAL=1, IMPORTANT=2, CRITICAL=3, CATASTROPHIC=4, OTHER=99. + +> **Valid Values**: UNCLASSIFIED,MARGINAL,IMPORTANT,CRITICAL,CATASTROPHIC,OTHER + + +### Identifier +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: An identier + +> **Alternative Labels**: ID + + +### Impact Classification +> **Input Required**: False + +> **Attribute Type**: Valid Value + +> **Description**: Classification from 0422. Structure: {status_identifier: int, confidence: int, steward: str, steward_type_name: str, steward_property_name: str, source: str, notes: str, severity_identifier: int}. severity_identifier uses ImpactSeverity enum: UNCLASSIFIED=0, LOW=1, MEDIUM=2, HIGH=3, OTHER=99. + +> **Valid Values**: UNCLASSIFIED,LOW,MEDIUM,HIGH,OTHER + + +### Policy Management Point +> **Input Required**: False + +> **Attribute Type**: Dictionary + +> **Description**: Combined classification from 0435. Applied to Referenceable. Structure: {point_type: str, name: str, description: str}. point_type is one of: PolicyAdministrationPoint, PolicyDecisionPoint, PolicyEnforcementPoint, PolicyInformationPoint, PolicyRetrievalPoint. A Referenceable may have multiple policy management point classifications simultaneously. + +> | Parameter Name | Parameter Value | +> |---|---| +> | example_key | example_value | + + +### Retention Classification +> **Input Required**: False + +> **Attribute Type**: Valid Value + +> **Description**: Classification from 0422. Structure: {status_identifier: int, confidence: int, steward: str, steward_type_name: str, steward_property_name: str, source: str, notes: str, basis_identifier: int, associated_guid: str, archive_after: date, delete_after: date}. basis_identifier uses RetentionBasis enum: UNCLASSIFIED=0, TEMPORARY=1, PROJECT_LIFETIME=2, TEAM_LIFETIME=3, CONTRACT_LIFETIME=4, REGULATED_LIFETIME=5, TIMEBOXED_LIFETIME=6, OTHER=99. + +> **Valid Values**: UNCLASSIFIED,TEMPORARY,PROJECT_LIFETIME,TEAM_LIFETIME,CONTRACT_LIFETIME,REGULATED_LIFETIME,TIMEBOXED_LIFETIME,OTHER + + +### Security Tags +> **Input Required**: False + +> **Attribute Type**: Simple List + +> **Description**: Optional security tags for security processing. + + +### User Defined Status +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Only valid if Status is set to OTHER. User defined & managed status values. + + +### Classifications +> **Input Required**: false + +> **Attribute Type**: Named DICT + +> **Description**: Optionally specify the initial classifications for a collection. Multiple classifications can be specified. + +> **Alternative Labels**: classification + +> | Parameter Name | Parameter Value | +> |---|---| +> | example_key | example_value | + + +### Anchor Scope Name +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: Optional qualified name of an anchor scope. + + +### Supplementary Properties +> **Input Required**: False + +> **Attribute Type**: Named DICT + +> **Description**: Provide supplementary information to the element using the structure of a glossary term + +> | Parameter Name | Parameter Value | +> |---|---| +> | example_key | example_value | + + +___ diff --git a/sample-data/templates/advanced/Data Engineer/Detach_Data_Value_Source.md b/sample-data/templates/advanced/Data Engineer/Detach_Data_Value_Source.md new file mode 100644 index 000000000..a2a680ad1 --- /dev/null +++ b/sample-data/templates/advanced/Data Engineer/Detach_Data_Value_Source.md @@ -0,0 +1,94 @@ +___ + +## Detach Data Value Source +> Remove the DataValueSource relationship between a data value and an asset. Needs Egeria 6.4. + +### Data Value +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The data value: its qualified name, display name or GUID. + + +### Asset +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The asset (any Asset) that the data value is stored in or comes from: its qualified name, display name or GUID. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Effective From +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The beginning of when an element is viewable. + + +### Effective Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The time at which an element must be effective in order to be returned by the request. + + +### Effective To +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The ending time at which an element is visible. + + +### External Source GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: The unique identifier of an external source. + + +### External Source Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The name of an external source + + +### For Duplicate Processing +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support duplicate processing. + + +### For Lineage +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support lineage. + + +### Request ID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user provided or system generated request id for a conversation. + + +___ diff --git a/sample-data/templates/advanced/Data Engineer/Detach_Embedded_Data_Value.md b/sample-data/templates/advanced/Data Engineer/Detach_Embedded_Data_Value.md new file mode 100644 index 000000000..10a48a797 --- /dev/null +++ b/sample-data/templates/advanced/Data Engineer/Detach_Embedded_Data_Value.md @@ -0,0 +1,94 @@ +___ + +## Detach Embedded Data Value +> Remove the EmbeddedDataValue relationship between a parent data value and an embedded one. Needs Egeria 6.4. + +### Parent Data Value +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The data value that the embedded value is part of: its qualified name, display name or GUID. + + +### Embedded Data Value +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The data value embedded in the parent value: its qualified name, display name or GUID. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Effective From +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The beginning of when an element is viewable. + + +### Effective Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The time at which an element must be effective in order to be returned by the request. + + +### Effective To +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The ending time at which an element is visible. + + +### External Source GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: The unique identifier of an external source. + + +### External Source Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The name of an external source + + +### For Duplicate Processing +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support duplicate processing. + + +### For Lineage +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support lineage. + + +### Request ID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user provided or system generated request id for a conversation. + + +___ diff --git a/sample-data/templates/advanced/Data Engineer/Detach_Processing_Variable.md b/sample-data/templates/advanced/Data Engineer/Detach_Processing_Variable.md new file mode 100644 index 000000000..a17c1b310 --- /dev/null +++ b/sample-data/templates/advanced/Data Engineer/Detach_Processing_Variable.md @@ -0,0 +1,96 @@ +___ + +## Detach Processing Variable +> Remove the ProcessingVariable relationship between an element and a data value. Needs Egeria 6.4. + +### Element +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The element at the other end of the relationship (any Referenceable): its qualified name, display name or GUID. For an assessment, the element that was assessed. + +> **Alternative Labels**: Assessed Element + + +### Data Value +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The data value: its qualified name, display name or GUID. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Effective From +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The beginning of when an element is viewable. + + +### Effective Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The time at which an element must be effective in order to be returned by the request. + + +### Effective To +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The ending time at which an element is visible. + + +### External Source GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: The unique identifier of an external source. + + +### External Source Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The name of an external source + + +### For Duplicate Processing +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support duplicate processing. + + +### For Lineage +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support lineage. + + +### Request ID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user provided or system generated request id for a conversation. + + +___ diff --git a/sample-data/templates/advanced/Data Engineer/Link_Data_Value_Source.md b/sample-data/templates/advanced/Data Engineer/Link_Data_Value_Source.md new file mode 100644 index 000000000..ce30b56fa --- /dev/null +++ b/sample-data/templates/advanced/Data Engineer/Link_Data_Value_Source.md @@ -0,0 +1,130 @@ +___ + +## Link Data Value Source +> Record the asset a data value is stored in or comes from (the DataValueSource relationship, Data Value to Asset). Needs Egeria 6.4. + +### Label +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A label used to identify or categorise a relationship link. + +> **Alternative Labels**: Wire Label + + +### Data Value +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The data value: its qualified name, display name or GUID. + + +### Asset +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The asset (any Asset) that the data value is stored in or comes from: its qualified name, display name or GUID. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Description +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A description. + + +### Effective From +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The beginning of when an element is viewable. + + +### Effective Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The time at which an element must be effective in order to be returned by the request. + + +### Effective To +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The ending time at which an element is visible. + + +### External Source GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: The unique identifier of an external source. + + +### External Source Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The name of an external source + + +### For Duplicate Processing +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support duplicate processing. + + +### For Lineage +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support lineage. + + +### Request ID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user provided or system generated request id for a conversation. + + +### Anchor Scope IDs +> **Input Required**: False + +> **Attribute Type**: Reference Name List + +> **Description**: A list of IDs that are anchor scopes for this element. + + +### Make Anchor +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Is the element at end2 an anchor to end1? + +> **Default Value**: false + + +___ diff --git a/sample-data/templates/advanced/Data Engineer/Link_Embedded_Data_Value.md b/sample-data/templates/advanced/Data Engineer/Link_Embedded_Data_Value.md new file mode 100644 index 000000000..1ae0936bf --- /dev/null +++ b/sample-data/templates/advanced/Data Engineer/Link_Embedded_Data_Value.md @@ -0,0 +1,140 @@ +___ + +## Link Embedded Data Value +> Record that a data value is embedded in another (the EmbeddedDataValue relationship, parent to embedded), at a Position (0 means unset). Needs Egeria 6.4. + +### Label +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A label used to identify or categorise a relationship link. + +> **Alternative Labels**: Wire Label + + +### Parent Data Value +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The data value that the embedded value is part of: its qualified name, display name or GUID. + + +### Embedded Data Value +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The data value embedded in the parent value: its qualified name, display name or GUID. + + +### Position +> **Input Required**: False + +> **Attribute Type**: Simple Int + +> **Description**: The ordinal position: of a data field within its containing data structure, or of a data value among an element's processing variables or a parent value's embedded values (0 means unset). + +> **Default Value**: 0 + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Description +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A description. + + +### Effective From +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The beginning of when an element is viewable. + + +### Effective Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The time at which an element must be effective in order to be returned by the request. + + +### Effective To +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The ending time at which an element is visible. + + +### External Source GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: The unique identifier of an external source. + + +### External Source Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The name of an external source + + +### For Duplicate Processing +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support duplicate processing. + + +### For Lineage +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support lineage. + + +### Request ID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user provided or system generated request id for a conversation. + + +### Anchor Scope IDs +> **Input Required**: False + +> **Attribute Type**: Reference Name List + +> **Description**: A list of IDs that are anchor scopes for this element. + + +### Make Anchor +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Is the element at end2 an anchor to end1? + +> **Default Value**: false + + +___ diff --git a/sample-data/templates/advanced/Data Engineer/Link_Processing_Variable.md b/sample-data/templates/advanced/Data Engineer/Link_Processing_Variable.md new file mode 100644 index 000000000..2cdf49f2e --- /dev/null +++ b/sample-data/templates/advanced/Data Engineer/Link_Processing_Variable.md @@ -0,0 +1,142 @@ +___ + +## Link Processing Variable +> Record that an element (a process, a step) uses a data value as a variable (the ProcessingVariable relationship), at a Position (0 means unset). Needs Egeria 6.4. + +### Label +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A label used to identify or categorise a relationship link. + +> **Alternative Labels**: Wire Label + + +### Element +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The element at the other end of the relationship (any Referenceable): its qualified name, display name or GUID. For an assessment, the element that was assessed. + +> **Alternative Labels**: Assessed Element + + +### Data Value +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The data value: its qualified name, display name or GUID. + + +### Position +> **Input Required**: False + +> **Attribute Type**: Simple Int + +> **Description**: The ordinal position: of a data field within its containing data structure, or of a data value among an element's processing variables or a parent value's embedded values (0 means unset). + +> **Default Value**: 0 + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Description +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A description. + + +### Effective From +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The beginning of when an element is viewable. + + +### Effective Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The time at which an element must be effective in order to be returned by the request. + + +### Effective To +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The ending time at which an element is visible. + + +### External Source GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: The unique identifier of an external source. + + +### External Source Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The name of an external source + + +### For Duplicate Processing +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support duplicate processing. + + +### For Lineage +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support lineage. + + +### Request ID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user provided or system generated request id for a conversation. + + +### Anchor Scope IDs +> **Input Required**: False + +> **Attribute Type**: Reference Name List + +> **Description**: A list of IDs that are anchor scopes for this element. + + +### Make Anchor +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Is the element at end2 an anchor to end1? + +> **Default Value**: false + + +___ diff --git a/sample-data/templates/basic/Data Designer/Create_Data_Field.md b/sample-data/templates/basic/Data Designer/Create_Data_Field.md index 423f84869..90346b757 100644 --- a/sample-data/templates/basic/Data Designer/Create_Data_Field.md +++ b/sample-data/templates/basic/Data Designer/Create_Data_Field.md @@ -82,7 +82,7 @@ ___ > **Attribute Type**: Simple Int -> **Description**: The maximum number of characters or digits allowed in the field. +> **Description**: The maximum number of characters or digits allowed in the field, or the length of a data value. ### Maximum Cardinality @@ -142,7 +142,7 @@ ___ > **Attribute Type**: Simple Int -> **Description**: The ordinal position of the data field within its containing data structure. +> **Description**: The ordinal position: of a data field within its containing data structure, or of a data value among an element's processing variables or a parent value's embedded values (0 means unset). > **Default Value**: 0 diff --git a/sample-data/templates/basic/Data Designer/Link_Data_Field_to_Data_Structure.md b/sample-data/templates/basic/Data Designer/Link_Data_Field_to_Data_Structure.md index c0ecb306e..a1dcae00d 100644 --- a/sample-data/templates/basic/Data Designer/Link_Data_Field_to_Data_Structure.md +++ b/sample-data/templates/basic/Data Designer/Link_Data_Field_to_Data_Structure.md @@ -56,7 +56,7 @@ ___ > **Attribute Type**: Simple Int -> **Description**: The ordinal position of the data field within its containing data structure. +> **Description**: The ordinal position: of a data field within its containing data structure, or of a data value among an element's processing variables or a parent value's embedded values (0 means unset). > **Default Value**: 0 diff --git a/sample-data/templates/basic/Data Designer/Link_Nested_Data_Field.md b/sample-data/templates/basic/Data Designer/Link_Nested_Data_Field.md index 33915af28..d0b454d9c 100644 --- a/sample-data/templates/basic/Data Designer/Link_Nested_Data_Field.md +++ b/sample-data/templates/basic/Data Designer/Link_Nested_Data_Field.md @@ -40,7 +40,7 @@ ___ > **Attribute Type**: Simple Int -> **Description**: The ordinal position of the data field within its containing data structure. +> **Description**: The ordinal position: of a data field within its containing data structure, or of a data value among an element's processing variables or a parent value's embedded values (0 means unset). > **Default Value**: 0 diff --git a/sample-data/templates/basic/Data Engineer/Create_Data_Value.md b/sample-data/templates/basic/Data Engineer/Create_Data_Value.md new file mode 100644 index 000000000..ac1eb02b3 --- /dev/null +++ b/sample-data/templates/basic/Data Engineer/Create_Data_Value.md @@ -0,0 +1,200 @@ +___ + +## Create Data Value +> Create or update a Data Value (Egeria 6.4): a value used or produced by processing, with its format, type, length and fingerprints. A Literal Value, Literal Value List or Literal Value Map makes it a LiteralDataValue that carries the value itself. Needs Egeria 6.4. + +### Display Name +> **Input Required**: True + +> **Attribute Type**: Simple + +> **Description**: The common name of an element. + +> **Alternative Labels**: "Term Name" + + +### Data Format +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The format of the data value (e.g. JSON, CSV, ISO 8601). + + +### Length +> **Input Required**: False + +> **Attribute Type**: Simple Int + +> **Description**: The maximum number of characters or digits allowed in the field, or the length of a data value. + + +### Data Type +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The data type of the field or value specification (e.g. string, int, date, boolean). + +> **Valid Values**: string,int,long,date,boolean,char,byte,float,double,biginteger,bigdecimal,array,array,map,map,map,map,map,map,map,short,map>,other + +> **Default Value**: string + + +### Usage +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The usage guidance for this element — how it is intended to be used in context. + + +### Fingerprint +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A fingerprint of the data value, for spotting copies. + + +### Fingerprint Algorithm +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The algorithm that produced the Fingerprint. + + +### Hash +> **Input Required**: False + +> **Attribute Type**: Simple Int + +> **Description**: A hash of the data value (a whole number). + + +### Hash Algorithm +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The algorithm that produced the Hash. + + +### Literal Value +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The value itself, as text. Giving a Literal Value, Literal Value List or Literal Value Map makes this a LiteralDataValue. + + +### Literal Value List +> **Input Required**: False + +> **Attribute Type**: Simple List + +> **Description**: The value as a list of text values, one per line or comma separated. Makes this a LiteralDataValue. + + +### Literal Value Map +> **Input Required**: False + +> **Attribute Type**: Dictionary + +> **Description**: The value as name: value pairs, one per line. Makes this a LiteralDataValue. + +> | Parameter Name | Parameter Value | +> |---|---| +> | example_key | example_value | + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Category +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user-defined category for the element, used to group related elements for display or search purposes. + +> **Alternative Labels**: Category Name + + +### Description +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A description. + + +### Legal +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Copyright and/or license information for the element or associated resource. + + +### Qualified Name +> **Input Required**: False + +> **Attribute Type**: QN + +> **Description**: The unique, text name of an element. + + +### Search Keywords +> **Input Required**: False + +> **Attribute Type**: Simple List + +> **Description**: A list of search keywords. + + +### Zone Membership +> **Input Required**: False + +> **Attribute Type**: Simple List + +> **Description**: Zones scope visibility of elements to different users. + + +### GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: A unique identifier - typically of an element in this context. + +> **Alternative Labels**: guid; Guid + + +### URL +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: URL for further information. + + +### Version Identifier +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The version of the element + +> **Alternative Labels**: Version + +> **Default Value**: 1.0 + + +___ diff --git a/sample-data/templates/basic/Data Engineer/Detach_Data_Value_Source.md b/sample-data/templates/basic/Data Engineer/Detach_Data_Value_Source.md new file mode 100644 index 000000000..b749004ea --- /dev/null +++ b/sample-data/templates/basic/Data Engineer/Detach_Data_Value_Source.md @@ -0,0 +1,30 @@ +___ + +## Detach Data Value Source +> Remove the DataValueSource relationship between a data value and an asset. Needs Egeria 6.4. + +### Data Value +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The data value: its qualified name, display name or GUID. + + +### Asset +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The asset (any Asset) that the data value is stored in or comes from: its qualified name, display name or GUID. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +___ diff --git a/sample-data/templates/basic/Data Engineer/Detach_Embedded_Data_Value.md b/sample-data/templates/basic/Data Engineer/Detach_Embedded_Data_Value.md new file mode 100644 index 000000000..b335ee5ff --- /dev/null +++ b/sample-data/templates/basic/Data Engineer/Detach_Embedded_Data_Value.md @@ -0,0 +1,30 @@ +___ + +## Detach Embedded Data Value +> Remove the EmbeddedDataValue relationship between a parent data value and an embedded one. Needs Egeria 6.4. + +### Parent Data Value +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The data value that the embedded value is part of: its qualified name, display name or GUID. + + +### Embedded Data Value +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The data value embedded in the parent value: its qualified name, display name or GUID. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +___ diff --git a/sample-data/templates/basic/Data Engineer/Detach_Processing_Variable.md b/sample-data/templates/basic/Data Engineer/Detach_Processing_Variable.md new file mode 100644 index 000000000..29c7f128e --- /dev/null +++ b/sample-data/templates/basic/Data Engineer/Detach_Processing_Variable.md @@ -0,0 +1,32 @@ +___ + +## Detach Processing Variable +> Remove the ProcessingVariable relationship between an element and a data value. Needs Egeria 6.4. + +### Element +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The element at the other end of the relationship (any Referenceable): its qualified name, display name or GUID. For an assessment, the element that was assessed. + +> **Alternative Labels**: Assessed Element + + +### Data Value +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The data value: its qualified name, display name or GUID. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +___ diff --git a/sample-data/templates/basic/Data Engineer/Link_Data_Value_Source.md b/sample-data/templates/basic/Data Engineer/Link_Data_Value_Source.md new file mode 100644 index 000000000..c313416a6 --- /dev/null +++ b/sample-data/templates/basic/Data Engineer/Link_Data_Value_Source.md @@ -0,0 +1,48 @@ +___ + +## Link Data Value Source +> Record the asset a data value is stored in or comes from (the DataValueSource relationship, Data Value to Asset). Needs Egeria 6.4. + +### Label +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A label used to identify or categorise a relationship link. + +> **Alternative Labels**: Wire Label + + +### Data Value +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The data value: its qualified name, display name or GUID. + + +### Asset +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The asset (any Asset) that the data value is stored in or comes from: its qualified name, display name or GUID. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Description +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A description. + + +___ diff --git a/sample-data/templates/basic/Data Engineer/Link_Embedded_Data_Value.md b/sample-data/templates/basic/Data Engineer/Link_Embedded_Data_Value.md new file mode 100644 index 000000000..95211ccd3 --- /dev/null +++ b/sample-data/templates/basic/Data Engineer/Link_Embedded_Data_Value.md @@ -0,0 +1,58 @@ +___ + +## Link Embedded Data Value +> Record that a data value is embedded in another (the EmbeddedDataValue relationship, parent to embedded), at a Position (0 means unset). Needs Egeria 6.4. + +### Label +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A label used to identify or categorise a relationship link. + +> **Alternative Labels**: Wire Label + + +### Parent Data Value +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The data value that the embedded value is part of: its qualified name, display name or GUID. + + +### Embedded Data Value +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The data value embedded in the parent value: its qualified name, display name or GUID. + + +### Position +> **Input Required**: False + +> **Attribute Type**: Simple Int + +> **Description**: The ordinal position: of a data field within its containing data structure, or of a data value among an element's processing variables or a parent value's embedded values (0 means unset). + +> **Default Value**: 0 + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Description +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A description. + + +___ diff --git a/sample-data/templates/basic/Data Engineer/Link_Processing_Variable.md b/sample-data/templates/basic/Data Engineer/Link_Processing_Variable.md new file mode 100644 index 000000000..c441b8e87 --- /dev/null +++ b/sample-data/templates/basic/Data Engineer/Link_Processing_Variable.md @@ -0,0 +1,60 @@ +___ + +## Link Processing Variable +> Record that an element (a process, a step) uses a data value as a variable (the ProcessingVariable relationship), at a Position (0 means unset). Needs Egeria 6.4. + +### Label +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A label used to identify or categorise a relationship link. + +> **Alternative Labels**: Wire Label + + +### Element +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The element at the other end of the relationship (any Referenceable): its qualified name, display name or GUID. For an assessment, the element that was assessed. + +> **Alternative Labels**: Assessed Element + + +### Data Value +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The data value: its qualified name, display name or GUID. + + +### Position +> **Input Required**: False + +> **Attribute Type**: Simple Int + +> **Description**: The ordinal position: of a data field within its containing data structure, or of a data value among an element's processing variables or a parent value's embedded values (0 means unset). + +> **Default Value**: 0 + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Description +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A description. + + +___ diff --git a/tests/micro-tests/test_e64_b2_dr_egeria_data_values.py b/tests/micro-tests/test_e64_b2_dr_egeria_data_values.py new file mode 100644 index 000000000..d59fbd2ac --- /dev/null +++ b/tests/micro-tests/test_e64_b2_dr_egeria_data_values.py @@ -0,0 +1,247 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +""" +Egeria 6.4 Phase B2: the Dr.Egeria Data Engineer commands for Data Values (odpi/egeria#9463, model 0208). + +Each command's sample document goes through the real extractor, dispatcher and processor, into the real A6 +DataEngineer wrapper, whose HTTP call is captured (tests/micro-tests/e64_dre_harness.py). The test checks the exact +body the wrapper sends, so its own checks (properties class, unread keys, int positions) passed too. + +Also: a Literal Value / List / Map selects LiteralDataValue; Position must be a whole number and is sent only when +given; and the version gate ("needs Egeria 6.4", a WARNING row, nothing sent) for the family. + +No live server. +""" +import importlib.util +import json +import pathlib +import sys + +import pytest + +_spec = importlib.util.spec_from_file_location("e64_dre_harness", + pathlib.Path(__file__).with_name("e64_dre_harness.py")) +h = importlib.util.module_from_spec(_spec) +_spec.loader.exec_module(h) + +DV = "b0000000-0000-4000-8000-000000000001" +DV2 = "b0000000-0000-4000-8000-000000000002" +ASSET = "c0000000-0000-4000-8000-000000000001" +PROCESS = "e0000000-0000-4000-8000-000000000002" + +LINK_BASE = {"class": "NewRelationshipRequestBody", "forLineage": False, "forDuplicateProcessing": False, + "makeAnchor": False} +DELETE_BASE = {"class": "DeleteRelationshipRequestBody", "forLineage": False, "forDuplicateProcessing": False} +CREATE_BASE = {"class": "NewElementRequestBody", "forLineage": False, "forDuplicateProcessing": False, + "isOwnAnchor": True, "parentAtEnd1": True} + + +def _creates(fake): + return [c for c in fake.calls if c["path"] == "data-engineer/data-values"] + + +# --------------------------------------------------------------------------------------------- Data Value + +@pytest.mark.asyncio +async def test_create_data_value_sends_data_value_properties(monkeypatch): + fake = h.FakeEgeria(monkeypatch) + [result] = await h.run_doc(fake, """ +## Create Data Value +### Display Name +Retry limit B2-plain +### Description +How many times a step retries. +### Data Format +integer +### Length +3 +### Data Type +int +### Usage +Process configuration. +### Fingerprint +ab12 +### Fingerprint Algorithm +simhash +### Hash +1234567890123 +### Hash Algorithm +crc64 +""") + assert result["status"] == "success", result + [create] = _creates(fake) + assert create["body"] == {**CREATE_BASE, "properties": { + "class": "DataValueProperties", "typeName": "DataValue", "displayName": "Retry limit B2-plain", + "qualifiedName": "DataValue::Retry limit B2-plain", "description": "How many times a step retries.", + "dataFormat": "integer", "length": 3, "dataType": "int", "usage": "Process configuration.", + "fingerprint": "ab12", "fingerprintAlgorithm": "simhash", "hash": 1234567890123, + "hashAlgorithm": "crc64"}} + + +@pytest.mark.asyncio +@pytest.mark.parametrize("literal, expected", [ + ("### Literal Value\n42\n", {"dataValue": "42"}), + ("### Literal Value List\n- red\n- amber\n- green\n", {"dataValueList": ["red", "amber", "green"]}), + ("### Literal Value Map\nlow: 1\nhigh: 9\n", {"dataValueMap": {"low": "1", "high": "9"}}), +]) +async def test_a_literal_value_list_or_map_makes_a_literal_data_value(monkeypatch, literal, expected): + fake = h.FakeEgeria(monkeypatch) + name = f"Threshold B2-{next(iter(expected))}" + [result] = await h.run_doc(fake, f"## Create Data Value\n### Display Name\n{name}\n### Data Type\nstring\n{literal}") + assert result["status"] == "success", result + [create] = _creates(fake) + assert create["body"] == {**CREATE_BASE, "properties": { + "class": "LiteralDataValueProperties", "typeName": "LiteralDataValue", "displayName": name, + "qualifiedName": f"DataValue::{name}", "dataType": "string", **expected}} + + +def _existing(qn, guid, type_name): + def respond(method, path, body): + if path.endswith(f"data-values/{guid}/retrieve"): + return {"class": "DataValueResponse", "relatedHTTPCode": 200, + "element": {"elementHeader": {"guid": guid, "type": {"typeName": type_name}}, + "properties": {"qualifiedName": qn}}} + return None + return respond + + +@pytest.mark.asyncio +async def test_update_of_a_literal_data_value_keeps_its_class(monkeypatch): + qn = "DataValue::Threshold B2-update" + fake = h.FakeEgeria(monkeypatch, names={qn: DV}, respond=_existing(qn, DV, "LiteralDataValue")) + [result] = await h.run_doc(fake, "## Update Data Value\n### Display Name\nThreshold B2-update\n### Usage\nAlerting\n") + assert result["status"] == "success", result + [update] = fake.writes(f"data-values/{DV}/update") + assert update["body"] == { + "class": "UpdateElementRequestBody", "forLineage": False, "forDuplicateProcessing": False, + "mergeUpdate": True, + "properties": {"class": "LiteralDataValueProperties", "typeName": "LiteralDataValue", + "displayName": "Threshold B2-update", "qualifiedName": qn, "usage": "Alerting"}} + + +@pytest.mark.asyncio +async def test_a_literal_value_for_an_existing_plain_data_value_is_refused_in_words(monkeypatch): + qn = "DataValue::Plain B2-refuse" + fake = h.FakeEgeria(monkeypatch, names={qn: DV}, respond=_existing(qn, DV, "DataValue")) + [result] = await h.run_doc(fake, "## Update Data Value\n### Display Name\nPlain B2-refuse\n### Literal Value\n7\n") + assert result["status"] == "failure" + assert "is a DataValue, not a LiteralDataValue" in result["message"] and "Literal Value" in result["message"] + assert not fake.writes("/update") + + +@pytest.mark.asyncio +async def test_a_length_that_is_not_a_whole_number_is_refused(monkeypatch): + fake = h.FakeEgeria(monkeypatch) + [result] = await h.run_doc(fake, "## Create Data Value\n### Display Name\nBad B2-length\n### Length\nlong\n") + assert result["status"] == "failure" + assert "Length must be a whole number" in result["message"] + assert not _creates(fake) + + +# --------------------------------------------------------------------------------------------- links + +LINKS = { + "Data Value Source": ("Data Value", DV, "Asset", ASSET, "DataValueSourceProperties", + f"data-engineer/data-values/{DV}/data-value-sources/{ASSET}", False), + "Processing Variable": ("Element", PROCESS, "Data Value", DV, "ProcessingVariableProperties", + f"data-engineer/elements/{PROCESS}/processing-variables/{DV}", True), + "Embedded Data Value": ("Parent Data Value", DV, "Embedded Data Value", DV2, "EmbeddedDataValueProperties", + f"data-engineer/data-values/{DV}/embedded-data-values/{DV2}", True), +} + + +@pytest.mark.asyncio +@pytest.mark.parametrize("noun", list(LINKS)) +async def test_link_sends_the_relationship_properties(monkeypatch, noun): + end1, g1, end2, g2, cls, path, positioned = LINKS[noun] + fake = h.FakeEgeria(monkeypatch) + doc = f"## Link {noun}\n### {end1}\n{g1}\n### {end2}\n{g2}\n### Label\nv1\n### Description\nThe link.\n" + if positioned: + doc += "### Position\n2\n" + [result] = await h.run_doc(fake, doc) + assert result["status"] == "success", result + [call] = fake.calls + assert call["path"] == f"{path}/attach" + props = {"class": cls, "typeName": cls[:-len("Properties")], "label": "v1", "description": "The link."} + if positioned: + props["position"] = 2 + assert call["body"] == {**LINK_BASE, "properties": props} + + +@pytest.mark.asyncio +@pytest.mark.parametrize("noun", ["Processing Variable", "Embedded Data Value"]) +async def test_position_left_out_is_not_sent(monkeypatch, noun): + end1, g1, end2, g2, *_ = LINKS[noun] + fake = h.FakeEgeria(monkeypatch) + [result] = await h.run_doc(fake, f"## Link {noun}\n### {end1}\n{g1}\n### {end2}\n{g2}\n") + assert result["status"] == "success", result + assert fake.calls[0]["body"] == LINK_BASE + + +@pytest.mark.asyncio +async def test_a_position_that_is_not_a_whole_number_is_refused(monkeypatch): + fake = h.FakeEgeria(monkeypatch) + [result] = await h.run_doc(fake, f"## Link Processing Variable\n### Element\n{PROCESS}\n### Data Value\n{DV}\n" + f"### Position\nfirst\n") + assert result["status"] == "failure" + assert "Position must be a whole number" in result["message"] + assert fake.calls == [] + + +@pytest.mark.asyncio +@pytest.mark.parametrize("verb", ["Detach", "Unlink"]) +@pytest.mark.parametrize("noun", list(LINKS)) +async def test_detach(monkeypatch, noun, verb): + end1, g1, end2, g2, _, path, _ = LINKS[noun] + fake = h.FakeEgeria(monkeypatch) + [result] = await h.run_doc(fake, f"## {verb} {noun}\n### {end1}\n{g1}\n### {end2}\n{g2}\n") + assert result["status"] == "success", result + [call] = fake.calls + assert call["path"] == f"{path}/detach" + assert call["body"] == DELETE_BASE + + +# --------------------------------------------------------------------------------------------- version gate + +B2_DOCS = { + "Create Data Value": "## Create Data Value\n### Display Name\nGate value\n### Literal Value\n1\n", + **{f"{verb} {noun}": f"## {verb} {noun}\n### {e1}\n{g1}\n### {e2}\n{g2}\n" + for noun, (e1, g1, e2, g2, *_) in LINKS.items() for verb in ("Link", "Detach")}, +} + + +@pytest.mark.asyncio +@pytest.mark.parametrize("directive", ["process", "validate"]) +@pytest.mark.parametrize("command", list(B2_DOCS)) +async def test_before_egeria_6_4_every_b2_command_says_needs_6_4(monkeypatch, command, directive): + fake = h.FakeEgeria(monkeypatch, about=h.ABOUT_6_3) + [result] = await h.run_doc(fake, B2_DOCS[command], directive=directive) + assert result["status"] == "warning" + assert result["message"].startswith(f"{command} needs Egeria 6.4") + assert "runs Egeria 6.3" in result["message"] and "Nothing was sent" in result["message"] + assert fake.calls == [] + + +# --------------------------------------------------------------------------------------------- spec <-> processor + +B2_COMMANDS = ["Create Data Value"] + [f"{v} {n}" for n in LINKS for v in ("Link", "Detach")] +_ROOT = pathlib.Path(__file__).resolve().parents[2] + + +def test_attribute_consumption_audit_finds_nothing_on_the_b2_commands(): + spec = importlib.util.spec_from_file_location( + "dr_egeria_attribute_consumption_audit", _ROOT / "scripts" / "dr_egeria_attribute_consumption_audit.py") + audit = importlib.util.module_from_spec(spec) + sys.modules[spec.name] = audit + spec.loader.exec_module(audit) + assert audit.audit("Data Engineer", None) == [] + + +def test_every_b2_command_attribute_is_read_by_name_in_its_processor(): + family = json.loads((_ROOT / "md_processing/data/compact_commands/commands_data_engineer_compact.json") + .read_text()) + assert sorted(family["commands"]) == sorted(B2_COMMANDS) + source = (_ROOT / "md_processing/v2/data_values.py").read_text() + for command in B2_COMMANDS: + for attribute in family["commands"][command]["custom_attributes"]: + assert f'"{attribute}"' in source, (command, attribute) diff --git a/tests/micro-tests/test_zone_membership_basic.py b/tests/micro-tests/test_zone_membership_basic.py index 6d0c65595..7175101a4 100644 --- a/tests/micro-tests/test_zone_membership_basic.py +++ b/tests/micro-tests/test_zone_membership_basic.py @@ -31,7 +31,7 @@ def test_zone_membership_is_basic_with_an_empty_default_in_every_family(): seen += 1 assert attr["level"] == "Basic", path.name assert attr["default_value"] == "", path.name - assert seen == 14 + assert seen == 15 # + Data Engineer (Egeria 6.4 data values, 2026-11-21) def test_basic_templates_show_zone_membership_without_a_value(): From e1f20c25220921d2670dceee2de834d621cad445 Mon Sep 17 00:00:00 2001 From: Dan Wolfson Date: Sat, 21 Nov 2026 16:38:53 -0600 Subject: [PATCH 15/19] feat(dr-egeria): Egeria 6.4 Project Target, Supported Variable Type and Branch (Phase B3) Link/Detach Project Target (Projects), Link/Detach Supported Variable Type (Schema Maker: Position, Min Cardinality, Max Cardinality) and Set/Clear Branch (a new Devops Pipeline family: Display Name, Scope, Purpose, URL), through the A6 ProjectManager, SchemaMaker and DevopsPipeline wrappers (md_processing/v2/egeria_6_4_other.py). Specs added with the Spec Editor API; templates and help regenerated by refresh_specs (no new report specs: none of these is a Create). Position and the cardinalities must be whole numbers and are sent only when given. Branch sends BranchProperties (no label or description) in a NewClassificationRequestBody; Clear sends a MetadataSourceRequestBody. Every command is gated on Egeria 6.4, as in B1. Shared attributes reworded identically in every family defining them: Purpose (was collection-specific) and Schema Type. Schema Maker gains copies of the Request Base and Link Command Base bundles; every copied definition is the one the loader already ends up with, so runtime changes are only the two rewordings and the new Project attribute (checked). Signed-off-by: Dan Wolfson --- docs/dr_egeria_manual.md | 4 + .../commands_action_author.json | 4 +- .../commands_actor_manager_compact.json | 4 +- .../commands_collections_compact.json | 4 +- .../commands_curation_compact.json | 4 +- .../commands_data_designer.json | 8 +- .../commands_devops_pipeline_compact.json | 356 ++++++++++++++++++ .../commands_digital_products_compact.json | 4 +- .../commands_external_references_compact.json | 4 +- .../commands_feedback_compact.json | 4 +- .../commands_glossary_compact.json | 4 +- .../commands_governance_officer_compact.json | 4 +- .../commands_project_compact.json | 86 ++++- .../commands_schema_maker_compact.json | 318 ++++++++++++++++ .../commands_security_officer_compact.json | 4 +- .../commands_solution_architect_compact.json | 4 +- md_processing/dr_egeria.py | 4 + md_processing/v2/egeria_6_4_other.py | 115 ++++++ .../Collections/Create_Business_Capability.md | 2 +- .../advanced/Collections/Create_Collection.md | 2 +- .../Collections/Create_Collection_Folder.md | 2 +- .../Create_Context_Event_Collection.md | 2 +- .../Collections/Create_Data_Sharing_Hub.md | 2 +- .../Create_Data_Sharing_Request.md | 2 +- .../advanced/Collections/Create_Event_Set.md | 2 +- .../advanced/Collections/Create_Folio.md | 2 +- .../Collections/Create_Home_Collection.md | 2 +- .../Collections/Create_IT_Subsystem.md | 2 +- .../advanced/Collections/Create_Namespace.md | 2 +- .../Create_Naming_Standard_Rule_Set.md | 2 +- .../Collections/Create_Question_Spec.md | 2 +- .../Collections/Create_Recent_Access.md | 2 +- .../Collections/Create_Reference_List.md | 2 +- .../Collections/Create_Results_Set.md | 2 +- .../Collections/Create_Root_Collection.md | 2 +- .../Collections/Create_Security_Group.md | 2 +- .../Collections/Create_Security_List.md | 2 +- .../Collections/Create_Security_Role.md | 2 +- .../advanced/Collections/Create_Skill_Set.md | 2 +- .../Collections/Create_Software_Archive.md | 2 +- .../Collections/Create_Subject_Area.md | 2 +- .../Collections/Create_Work_Item_List.md | 2 +- .../Collections/Create_Working_Set.md | 2 +- .../Data Designer/Create_Data_Dictionary.md | 2 +- .../Data Designer/Create_Data_Spec.md | 2 +- .../Data Designer/Create_Report_Type.md | 2 +- .../Link_Schema_Type_Definition.md | 2 +- .../advanced/Devops Pipeline/Clear_Branch.md | 86 +++++ .../advanced/Devops Pipeline/Set_Branch.md | 120 ++++++ .../Create_Agreement.md | 2 +- .../Create_Data_Sharing_Agreement.md | 2 +- .../Create_Digital_Product.md | 2 +- .../Create_Digital_Product_Catalog.md | 2 +- .../Create_Digital_Subscription.md | 2 +- .../advanced/Glossary/Create_Glossary.md | 2 +- .../Projects/Detach_Project_Target.md | 94 +++++ .../advanced/Projects/Link_Project_Target.md | 130 +++++++ .../Detach_Supported_Variable_Type.md | 96 +++++ .../Link_Supported_Variable_Type.md | 162 ++++++++ .../Security Officer/Create_Survey_Report.md | 2 +- .../Create_Concept_Model.md | 2 +- .../Create_Information_Supply_Chain.md | 2 +- .../Create_Solution_Blueprint.md | 2 +- .../Views & Reports/Create_Dashboard_Sheet.md | 2 +- .../Views & Reports/Create_Report_Spec.md | 2 +- .../Collections/Create_Business_Capability.md | 2 +- .../basic/Collections/Create_Collection.md | 2 +- .../Collections/Create_Collection_Folder.md | 2 +- .../Create_Context_Event_Collection.md | 2 +- .../Collections/Create_Data_Sharing_Hub.md | 2 +- .../Create_Data_Sharing_Request.md | 2 +- .../basic/Collections/Create_Event_Set.md | 2 +- .../basic/Collections/Create_Folio.md | 2 +- .../Collections/Create_Home_Collection.md | 2 +- .../basic/Collections/Create_IT_Subsystem.md | 2 +- .../basic/Collections/Create_Namespace.md | 2 +- .../Create_Naming_Standard_Rule_Set.md | 2 +- .../basic/Collections/Create_Question_Spec.md | 2 +- .../basic/Collections/Create_Recent_Access.md | 2 +- .../Collections/Create_Reference_List.md | 2 +- .../basic/Collections/Create_Results_Set.md | 2 +- .../Collections/Create_Root_Collection.md | 2 +- .../Collections/Create_Security_Group.md | 2 +- .../basic/Collections/Create_Security_List.md | 2 +- .../basic/Collections/Create_Security_Role.md | 2 +- .../basic/Collections/Create_Skill_Set.md | 2 +- .../Collections/Create_Software_Archive.md | 2 +- .../basic/Collections/Create_Subject_Area.md | 2 +- .../Collections/Create_Work_Item_List.md | 2 +- .../basic/Collections/Create_Working_Set.md | 2 +- .../Data Designer/Create_Data_Dictionary.md | 2 +- .../basic/Data Designer/Create_Data_Spec.md | 2 +- .../basic/Data Designer/Create_Report_Type.md | 2 +- .../Link_Schema_Type_Definition.md | 2 +- .../basic/Devops Pipeline/Clear_Branch.md | 22 ++ .../basic/Devops Pipeline/Set_Branch.md | 56 +++ .../Create_Agreement.md | 2 +- .../Create_Data_Sharing_Agreement.md | 2 +- .../Create_Digital_Product.md | 2 +- .../Create_Digital_Product_Catalog.md | 2 +- .../Create_Digital_Subscription.md | 2 +- .../basic/Glossary/Create_Glossary.md | 2 +- .../basic/Projects/Detach_Project_Target.md | 30 ++ .../basic/Projects/Link_Project_Target.md | 48 +++ .../Detach_Supported_Variable_Type.md | 32 ++ .../Link_Supported_Variable_Type.md | 80 ++++ .../Security Officer/Create_Survey_Report.md | 2 +- .../Create_Concept_Model.md | 2 +- .../Create_Information_Supply_Chain.md | 2 +- .../Create_Solution_Blueprint.md | 2 +- .../Views & Reports/Create_Dashboard_Sheet.md | 2 +- .../Views & Reports/Create_Report_Spec.md | 2 +- .../test_e64_b3_dr_egeria_other.py | 218 +++++++++++ 113 files changed, 2163 insertions(+), 110 deletions(-) create mode 100644 md_processing/data/compact_commands/commands_devops_pipeline_compact.json create mode 100644 md_processing/v2/egeria_6_4_other.py create mode 100644 sample-data/templates/advanced/Devops Pipeline/Clear_Branch.md create mode 100644 sample-data/templates/advanced/Devops Pipeline/Set_Branch.md create mode 100644 sample-data/templates/advanced/Projects/Detach_Project_Target.md create mode 100644 sample-data/templates/advanced/Projects/Link_Project_Target.md create mode 100644 sample-data/templates/advanced/Schema Maker/Detach_Supported_Variable_Type.md create mode 100644 sample-data/templates/advanced/Schema Maker/Link_Supported_Variable_Type.md create mode 100644 sample-data/templates/basic/Devops Pipeline/Clear_Branch.md create mode 100644 sample-data/templates/basic/Devops Pipeline/Set_Branch.md create mode 100644 sample-data/templates/basic/Projects/Detach_Project_Target.md create mode 100644 sample-data/templates/basic/Projects/Link_Project_Target.md create mode 100644 sample-data/templates/basic/Schema Maker/Detach_Supported_Variable_Type.md create mode 100644 sample-data/templates/basic/Schema Maker/Link_Supported_Variable_Type.md create mode 100644 tests/micro-tests/test_e64_b3_dr_egeria_other.py diff --git a/docs/dr_egeria_manual.md b/docs/dr_egeria_manual.md index c46d54a5b..4416e9da1 100644 --- a/docs/dr_egeria_manual.md +++ b/docs/dr_egeria_manual.md @@ -295,6 +295,7 @@ Dr.Egeria organizes its commands into "families," each corresponding to a specif - Like the Decision commands, each needs Egeria 6.4 and is refused with "needs Egeria 6.4" on an earlier platform. - **Actor Manager**: Manage organizational metadata, including people, teams, organizations, and roles (e.g., `Create Person`, `Create Team`, `Create Organization`, `Create Person Role`). Supports linking team structures and role appointments. - **Project**: Manage projects and their dependencies or hierarchies (e.g., `Create Project`, `Link Project Dependency`). + - `Link`/`Detach Project Target` (Egeria 6.4, odpi/egeria#9463): the ProjectTarget relationship, a project → any element it works on (`Project`, `Target Element`, with Label and Description). Uni-link. Processor in `md_processing/v2/egeria_6_4_other.py`. - **Collection Manager**: Manage various collections of elements, including Folders, Products, and Agreements (e.g., `Create Collection Folder`, `Create Digital Product`). - **Business Capabilities** (0715 Digital Business, added 2026-10-24): `Create Business Capability` (a Collection subtype with `Business Capability Type` and `Business Implementation Type`), `Link`/`Detach Business Capability Dependency` (Dependent Capability → Supporting Capability) and `Link`/`Detach Digital Support` (a business capability → the element, such as a digital service or product, that supports it). Both relationships are uni-link, so re-running a Link updates rather than duplicates. - **Solution Architect**: Manage solution blueprints, components, information supply chains, and design patterns (e.g., `Create Design Pattern`, `Link Nested Design Patterns`, `Link Specialized Design Patterns`, `Link Related Design Patterns`). @@ -304,6 +305,9 @@ Dr.Egeria organizes its commands into "families," each corresponding to a specif - `Link Implemented By` (0737, added 2026-09-13): attaches a design object (Information Supply Chain, Solution Component, Governance Definition, ...) to its implementation via the `ImplementedBy` relationship — a cross-OMVS call to `governance_officer`'s `linkDesignToImplementation`/`detachDesignFromImplementation` endpoints (`Detach`/`Unlink`/`Remove` variants auto-derived, same mechanism as the Concept Model relationship commands above). Along the way, fixed a real latent bug: `_get_supply_chain_rel_elements()` read a nonexistent `implementedByList` field instead of the real `implementedBy` (confirmed against `AttributedMetadataElement.java` and a live element fetch) — this had silently made the `Implemented By` sync's as-is diff always see zero existing relationships. - **Correction, 2026-09-16:** the paragraph above's `Create Information Supply Chain`/`Create Solution Component` sync was itself wrong — `In Information Supply Chain` (on `Create Solution Component`) and `Implemented By` (on `Create Information Supply Chain`) were both syncing via `ImplementedBy` (the mechanism `Link Implemented By` legitimately uses), when `InformationSupplyChain` is a Collection subtype and these two attributes are ordinary collection membership. Reported live: 71 components each carrying `In Information Supply Chain` fanned each chain out to 143 `ImplementedBy` links, alongside the 47 correct `CollectionMembership`s from explicit `Add Member` blocks. Both sync points (`SolutionComponentProcessor._sync_all_rels`'s "Supply Chains" block and `SupplyChainProcessor._sync_rels`'s "Implemented By" block, `solution_architect.py`) now call `_async_add_to_collection`/`_async_remove_from_collection` with `CollectionMembershipProperties`, matching every other ISC membership sync in this file. Pre-existing bad `ImplementedBy` links created before this fix are not auto-cleaned — the as-is fetch now reads `collectionMembers`, not `implementedBy`, so a re-sync no longer sees or touches them; removing them is a separate one-off cleanup against affected servers. - **Lineage Linker** (added 2026-09-16): Create/update/detach the seven Lineage Linker OMVS relationship types (0750/0755/0770 — DataFlow, ControlFlow, ProcessCall, LineageMapping, DataMapping, UltimateSource, UltimateDestination) between two elements, e.g. `Link Data Flow`, `Update Process Call`, `Link Data Mapping`. One dedicated `Link`/`Update` command pair per type (each with only its own type's attributes — Guard/Mandatory Guard for `Control Flow`; Query/Query ID/Query Type for `Data Mapping`; One Way/Integration Style/Protocol/Frequency/Data Exchanged, reused from Solution Architect's `SolutionLinkingWire` attributes, for the rest), plus one shared `Unlink Lineage Relationship` command since detaching only needs the relationship's own GUID. Split from an earlier single generic command triple that used a `Lineage Relationship Type` selector attribute offering every type's attributes regardless of which type was picked. The split also surfaced and fixed a real gap: the pyegeria SDK's `DataFlowProperties`/`ProcessCallProperties`/`LineageMappingProperties`/`UltimateSourceProperties`/`UltimateDestinationProperties` (`pyegeria/omvs/lineage_linker.py`) were missing `oneWay`/`integrationStyle`/`protocol`/`frequency`/`dataExchanged` (and `ProcessCallProperties` was missing `lineNumber`) entirely — real fields on the Egeria DTOs (`DataLineageRelationshipProperties`/`ProcessCallProperties.java`) that had no home on the pydantic model, so a caller passing them would validate silently and have them dropped before serialization (the `PyegeriaModel` `extra='ignore'` gotcha — see the SDK section below). +- **Schema Maker** (Egeria 6.4 additions): `Link`/`Detach Supported Variable Type`, the SupportedVariableType relationship, an element such as a process → the schema type of a variable it supports, with `Position` (0 means unset), `Min Cardinality` and `Max Cardinality` (whole numbers, sent only when given). +- **Devops Pipeline** (Egeria 6.4, new family): `Set`/`Clear Branch` classify an element (such as a repository's SourceControlLibrary) as holding one branch of a source code repository, with `Display Name` (required), `Scope`, `Purpose` and `URL`. Branch has no label or description. + - These, and Project Target, need Egeria 6.4 and are refused with "needs Egeria 6.4" on an earlier platform. - **Governance Officer**: Manage governance definitions, policies, and responsibilities. - **Decisions** (Egeria 6.4, odpi/egeria#9463, model 0018; processors in `md_processing/v2/decisions.py`): `Create`/`Update Decision` (an AuthoredReferenceable with Summary, Scope, Usage, Importance, Disposition, Implications, Notes and Start / Last Review / Next Review / Expiry Time); `Link`/`Detach Decision Outcome` (the Outcome relationship, Decision → any element, with Label, Description, Importance, Disposition); `Link`/`Update`/`Detach Assessment` (the Assessment relationship, element → Decision, with Assessor, Assessor Type Name, Assessor Property Name, Assessment Time, Expiry Time, Notes, Additional Properties). - Assessment is **multi-link**: the same element can be assessed for a decision many times, so one assessment is identified by its own `Assessment GUID`. `Link Assessment` writes it into the processed document, and running that document again updates the assessment instead of adding another. `Update`/`Detach Assessment` take the `Assessment GUID`, or else `Element` + `Decision` + `Label` (+ `Assessment Time` when more than one matches), found in the decision's assessed inputs (`inputsToDecision`). Exactly one match proceeds; none, or several, is refused with the candidates listed (GUID, label, assessmentTime). Times are compared as UTC instants, and an Assessment Time with no zone is refused. diff --git a/md_processing/data/compact_commands/commands_action_author.json b/md_processing/data/compact_commands/commands_action_author.json index 765dfff65..dd072ae91 100644 --- a/md_processing/data/compact_commands/commands_action_author.json +++ b/md_processing/data/compact_commands/commands_action_author.json @@ -1505,7 +1505,7 @@ "default_value": "", "valid_values": [], "existing_element": "", - "description": "The purpose of this collection \u2014 a short description of why it exists or what it is used for.", + "description": "The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for).", "generated": false, "style": "Simple", "user_specified": true, @@ -1514,7 +1514,7 @@ "min_cardinality": 1, "max_cardinality": 1, "level": "Common", - "Journal Entry": "" + "Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 commands can share it." }, "Purposes": { "variable_name": "purposes", diff --git a/md_processing/data/compact_commands/commands_actor_manager_compact.json b/md_processing/data/compact_commands/commands_actor_manager_compact.json index a43f1c048..0a4270eb8 100644 --- a/md_processing/data/compact_commands/commands_actor_manager_compact.json +++ b/md_processing/data/compact_commands/commands_actor_manager_compact.json @@ -1524,7 +1524,7 @@ "default_value": "", "valid_values": [], "existing_element": "", - "description": "The purpose of this collection \u2014 a short description of why it exists or what it is used for.", + "description": "The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for).", "generated": false, "style": "Simple", "user_specified": true, @@ -1533,7 +1533,7 @@ "min_cardinality": 1, "max_cardinality": 1, "level": "Common", - "Journal Entry": "" + "Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 commands can share it." }, "Purposes": { "variable_name": "purposes", diff --git a/md_processing/data/compact_commands/commands_collections_compact.json b/md_processing/data/compact_commands/commands_collections_compact.json index 01a674470..f67c6a199 100644 --- a/md_processing/data/compact_commands/commands_collections_compact.json +++ b/md_processing/data/compact_commands/commands_collections_compact.json @@ -1505,7 +1505,7 @@ "default_value": "", "valid_values": [], "existing_element": "", - "description": "The purpose of this collection \u2014 a short description of why it exists or what it is used for.", + "description": "The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for).", "generated": false, "style": "Simple", "user_specified": true, @@ -1514,7 +1514,7 @@ "min_cardinality": 1, "max_cardinality": 1, "level": "Common", - "Journal Entry": "" + "Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 commands can share it." }, "Purposes": { "variable_name": "purposes", diff --git a/md_processing/data/compact_commands/commands_curation_compact.json b/md_processing/data/compact_commands/commands_curation_compact.json index effe64f98..f26a9be3f 100644 --- a/md_processing/data/compact_commands/commands_curation_compact.json +++ b/md_processing/data/compact_commands/commands_curation_compact.json @@ -1543,7 +1543,7 @@ "default_value": "", "valid_values": [], "existing_element": "", - "description": "The purpose of this collection \u2014 a short description of why it exists or what it is used for.", + "description": "The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for).", "generated": false, "style": "Simple", "user_specified": true, @@ -1552,7 +1552,7 @@ "min_cardinality": 1, "max_cardinality": 1, "level": "Common", - "Journal Entry": "" + "Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 commands can share it." }, "Purposes": { "variable_name": "purposes", diff --git a/md_processing/data/compact_commands/commands_data_designer.json b/md_processing/data/compact_commands/commands_data_designer.json index 21753ec28..90afc9325 100644 --- a/md_processing/data/compact_commands/commands_data_designer.json +++ b/md_processing/data/compact_commands/commands_data_designer.json @@ -1505,7 +1505,7 @@ "default_value": "", "valid_values": [], "existing_element": "", - "description": "The purpose of this collection \u2014 a short description of why it exists or what it is used for.", + "description": "The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for).", "generated": false, "style": "Simple", "user_specified": true, @@ -1514,7 +1514,7 @@ "min_cardinality": 1, "max_cardinality": 1, "level": "Common", - "Journal Entry": "" + "Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 commands can share it." }, "Purposes": { "variable_name": "purposes", @@ -3416,7 +3416,7 @@ "default_value": "", "valid_values": [], "existing_element": "SchemaType", - "description": "A physical schema type (e.g. a TabularSchemaType) equivalent to the data structure (SchemaTypeDefinition relationship).", + "description": "A schema type (e.g. a TabularSchemaType): for a data structure, the physical schema type equivalent to it (SchemaTypeDefinition relationship); for a process, the type of a variable it supports (SupportedVariableType relationship).", "generated": false, "style": "Reference Name", "user_specified": true, @@ -3425,7 +3425,7 @@ "min_cardinality": 0, "max_cardinality": 1, "level": "Basic", - "Journal Entry": "2026-09-26 -- aligned with Egeria types 0580/0581 (DataField/DataStructure and their relationships)." + "Journal Entry": "2026-09-26 -- aligned with Egeria types 0580/0581 (DataField/DataStructure and their relationships). Reworded 2026-11-21 so the Egeria 6.4 commands can share it." }, "Primary Key Name": { "variable_name": "primary_key_name", diff --git a/md_processing/data/compact_commands/commands_devops_pipeline_compact.json b/md_processing/data/compact_commands/commands_devops_pipeline_compact.json new file mode 100644 index 000000000..e4b5e079e --- /dev/null +++ b/md_processing/data/compact_commands/commands_devops_pipeline_compact.json @@ -0,0 +1,356 @@ +{ + "family": "Devops Pipeline", + "exported": "", + "attribute_definitions": { + "Effective From": { + "variable_name": "effective_from", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The beginning of when an element is viewable.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Effective Time": { + "variable_name": "effective_time", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The time at which an element must be effective in order to be returned by the request.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Effective To": { + "variable_name": "effective_to", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The ending time at which an element is visible.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Extended Properties": { + "variable_name": "extended_properties", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "A dictionary of properties that extend the properties of an entity type.", + "generated": false, + "style": "Dictionary", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Invisible", + "Journal Entry": "" + }, + "External Source GUID": { + "variable_name": "external_source_guid", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The unique identifier of an external source.", + "generated": false, + "style": "GUID", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "External Source Name": { + "variable_name": "external_source_name", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The name of an external source", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "For Duplicate Processing": { + "variable_name": "for_duplicate_processing", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "Flag indicating if the request is to support duplicate processing.", + "generated": false, + "style": "Bool", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "For Lineage": { + "variable_name": "for_lineage", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "Flag indicating if the request is to support lineage.", + "generated": false, + "style": "Bool", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Journal Entry": { + "variable_name": "journal_entry", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "A text entry into a journal.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Common", + "Journal Entry": "" + }, + "Request ID": { + "variable_name": "request_id", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "A user provided or system generated request id for a conversation.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Target Element": { + "variable_name": "target_element", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "Qualified name of the existing element being classified or linked.", + "generated": false, + "style": "Reference Name", + "user_specified": true, + "unique": false, + "input_required": true, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "" + }, + "Display Name": { + "variable_name": "display_name", + "inUpdate": true, + "attr_labels": "\"Term Name\"", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The common name of an element.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": true, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Common", + "Journal Entry": "" + }, + "Scope": { + "variable_name": "scope", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "Scope of the definition or element.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Common", + "Journal Entry": "" + }, + "Purpose": { + "variable_name": "purpose", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for).", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Common", + "Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 commands can share it." + }, + "URL": { + "variable_name": "url", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "URL for further information.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Basic", + "Journal Entry": "" + } + }, + "bundles": { + "Request Base": { + "inherits": null, + "own_attributes": [ + "Effective From", + "Effective Time", + "Effective To", + "Extended Properties", + "External Source GUID", + "External Source Name", + "For Duplicate Processing", + "For Lineage", + "Journal Entry", + "Request ID" + ] + } + }, + "commands": { + "Set Branch": { + "display_name": "Branch", + "qn_prefix": "", + "alternate_names": [], + "family": "Devops Pipeline", + "description": "Classify an element (such as a SourceControlLibrary) as holding the files of one branch of a source code repository (the Branch classification): Display Name, Scope, Purpose, URL. Setting it again updates it. Needs Egeria 6.4.", + "verb": "Set", + "upsert": false, + "attach": false, + "level": "Basic", + "find_method": "", + "find_constraints": "", + "extra_find": "", + "extra_constraints": "", + "OM_TYPE": "Branch", + "bundle": "Request Base", + "custom_attributes": [ + "Target Element", + "Display Name", + "Scope", + "Purpose", + "URL" + ], + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463)." + }, + "Clear Branch": { + "display_name": "Branch", + "qn_prefix": "", + "alternate_names": [], + "family": "Devops Pipeline", + "description": "Remove the Branch classification from an element. Needs Egeria 6.4.", + "verb": "Clear", + "upsert": false, + "attach": false, + "level": "Basic", + "find_method": "", + "find_constraints": "", + "extra_find": "", + "extra_constraints": "", + "OM_TYPE": "Branch", + "bundle": "Request Base", + "custom_attributes": [ + "Target Element" + ], + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463)." + } + } +} diff --git a/md_processing/data/compact_commands/commands_digital_products_compact.json b/md_processing/data/compact_commands/commands_digital_products_compact.json index b147ede0f..0a1ce6648 100644 --- a/md_processing/data/compact_commands/commands_digital_products_compact.json +++ b/md_processing/data/compact_commands/commands_digital_products_compact.json @@ -1505,7 +1505,7 @@ "default_value": "", "valid_values": [], "existing_element": "", - "description": "The purpose of this collection \u2014 a short description of why it exists or what it is used for.", + "description": "The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for).", "generated": false, "style": "Simple", "user_specified": true, @@ -1514,7 +1514,7 @@ "min_cardinality": 1, "max_cardinality": 1, "level": "Common", - "Journal Entry": "" + "Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 commands can share it." }, "Purposes": { "variable_name": "purposes", diff --git a/md_processing/data/compact_commands/commands_external_references_compact.json b/md_processing/data/compact_commands/commands_external_references_compact.json index 17e0ef506..77187f65a 100644 --- a/md_processing/data/compact_commands/commands_external_references_compact.json +++ b/md_processing/data/compact_commands/commands_external_references_compact.json @@ -1505,7 +1505,7 @@ "default_value": "", "valid_values": [], "existing_element": "", - "description": "The purpose of this collection \u2014 a short description of why it exists or what it is used for.", + "description": "The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for).", "generated": false, "style": "Simple", "user_specified": true, @@ -1514,7 +1514,7 @@ "min_cardinality": 1, "max_cardinality": 1, "level": "Common", - "Journal Entry": "" + "Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 commands can share it." }, "Purposes": { "variable_name": "purposes", diff --git a/md_processing/data/compact_commands/commands_feedback_compact.json b/md_processing/data/compact_commands/commands_feedback_compact.json index 2bb93bcee..3dadd3408 100644 --- a/md_processing/data/compact_commands/commands_feedback_compact.json +++ b/md_processing/data/compact_commands/commands_feedback_compact.json @@ -1524,7 +1524,7 @@ "default_value": "", "valid_values": [], "existing_element": "", - "description": "The purpose of this collection \u2014 a short description of why it exists or what it is used for.", + "description": "The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for).", "generated": false, "style": "Simple", "user_specified": true, @@ -1533,7 +1533,7 @@ "min_cardinality": 1, "max_cardinality": 1, "level": "Common", - "Journal Entry": "" + "Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 commands can share it." }, "Purposes": { "variable_name": "purposes", diff --git a/md_processing/data/compact_commands/commands_glossary_compact.json b/md_processing/data/compact_commands/commands_glossary_compact.json index bc07b88f5..243a3a7ed 100644 --- a/md_processing/data/compact_commands/commands_glossary_compact.json +++ b/md_processing/data/compact_commands/commands_glossary_compact.json @@ -1505,7 +1505,7 @@ "default_value": "", "valid_values": [], "existing_element": "", - "description": "The purpose of this collection \u2014 a short description of why it exists or what it is used for.", + "description": "The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for).", "generated": false, "style": "Simple", "user_specified": true, @@ -1514,7 +1514,7 @@ "min_cardinality": 1, "max_cardinality": 1, "level": "Common", - "Journal Entry": "" + "Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 commands can share it." }, "Purposes": { "variable_name": "purposes", diff --git a/md_processing/data/compact_commands/commands_governance_officer_compact.json b/md_processing/data/compact_commands/commands_governance_officer_compact.json index 01977aa32..416b5a179 100644 --- a/md_processing/data/compact_commands/commands_governance_officer_compact.json +++ b/md_processing/data/compact_commands/commands_governance_officer_compact.json @@ -1505,7 +1505,7 @@ "default_value": "", "valid_values": [], "existing_element": "", - "description": "The purpose of this collection \u2014 a short description of why it exists or what it is used for.", + "description": "The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for).", "generated": false, "style": "Simple", "user_specified": true, @@ -1514,7 +1514,7 @@ "min_cardinality": 1, "max_cardinality": 1, "level": "Common", - "Journal Entry": "" + "Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 commands can share it." }, "Purposes": { "variable_name": "purposes", diff --git a/md_processing/data/compact_commands/commands_project_compact.json b/md_processing/data/compact_commands/commands_project_compact.json index 2a3998206..e4adb3fd9 100644 --- a/md_processing/data/compact_commands/commands_project_compact.json +++ b/md_processing/data/compact_commands/commands_project_compact.json @@ -1524,7 +1524,7 @@ "default_value": "", "valid_values": [], "existing_element": "", - "description": "The purpose of this collection \u2014 a short description of why it exists or what it is used for.", + "description": "The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for).", "generated": false, "style": "Simple", "user_specified": true, @@ -1533,7 +1533,7 @@ "min_cardinality": 1, "max_cardinality": 1, "level": "Common", - "Journal Entry": "" + "Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 commands can share it." }, "Purposes": { "variable_name": "purposes", @@ -2650,6 +2650,44 @@ "max_cardinality": 1, "level": "Domain", "Journal Entry": "" + }, + "Project": { + "variable_name": "project", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "Project", + "description": "The project: its qualified name, display name or GUID.", + "generated": false, + "style": "Reference Name", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463)." + }, + "Target Element": { + "variable_name": "target_element", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "Qualified name of the existing element being classified or linked.", + "generated": false, + "style": "Reference Name", + "user_specified": true, + "unique": false, + "input_required": true, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "" } }, "bundles": { @@ -3026,6 +3064,50 @@ "bundle": "Project Base", "custom_attributes": [], "Journal Entry": "" + }, + "Link Project Target": { + "display_name": "Project Target", + "qn_prefix": "", + "alternate_names": [], + "family": "Projects", + "description": "Record an element that a project works on (the ProjectTarget relationship, Project to any element). Needs Egeria 6.4.", + "verb": "Link", + "upsert": false, + "attach": true, + "level": "Basic", + "find_method": "", + "find_constraints": "", + "extra_find": "", + "extra_constraints": "", + "OM_TYPE": "ProjectTarget", + "bundle": "Link Command Base", + "custom_attributes": [ + "Project", + "Target Element" + ], + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463)." + }, + "Detach Project Target": { + "display_name": "Project Target", + "qn_prefix": "", + "alternate_names": [], + "family": "Projects", + "description": "Remove the ProjectTarget relationship between a project and an element. Needs Egeria 6.4.", + "verb": "Detach", + "upsert": false, + "attach": false, + "level": "Basic", + "find_method": "", + "find_constraints": "", + "extra_find": "", + "extra_constraints": "", + "OM_TYPE": "ProjectTarget", + "bundle": "Request Base", + "custom_attributes": [ + "Project", + "Target Element" + ], + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463)." } } } diff --git a/md_processing/data/compact_commands/commands_schema_maker_compact.json b/md_processing/data/compact_commands/commands_schema_maker_compact.json index 8c2a92e1d..61b9bc1a0 100644 --- a/md_processing/data/compact_commands/commands_schema_maker_compact.json +++ b/md_processing/data/compact_commands/commands_schema_maker_compact.json @@ -1243,6 +1243,253 @@ "max_cardinality": 1, "level": "Basic", "Journal Entry": "2026-11-07 -- Egeria 6.3 report specs / measurements / dashboards (odpi/egeria#9432)." + }, + "Effective Time": { + "variable_name": "effective_time", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The time at which an element must be effective in order to be returned by the request.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Extended Properties": { + "variable_name": "extended_properties", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "A dictionary of properties that extend the properties of an entity type.", + "generated": false, + "style": "Dictionary", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Invisible", + "Journal Entry": "" + }, + "External Source GUID": { + "variable_name": "external_source_guid", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The unique identifier of an external source.", + "generated": false, + "style": "GUID", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "External Source Name": { + "variable_name": "external_source_name", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "The name of an external source", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "For Duplicate Processing": { + "variable_name": "for_duplicate_processing", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "Flag indicating if the request is to support duplicate processing.", + "generated": false, + "style": "Bool", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "For Lineage": { + "variable_name": "for_lineage", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "Flag indicating if the request is to support lineage.", + "generated": false, + "style": "Bool", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Journal Entry": { + "variable_name": "journal_entry", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "A text entry into a journal.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Common", + "Journal Entry": "" + }, + "Request ID": { + "variable_name": "request_id", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "A user provided or system generated request id for a conversation.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Label": { + "variable_name": "label", + "inUpdate": true, + "attr_labels": "Wire Label", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "", + "description": "A label used to identify or categorise a relationship link.", + "generated": false, + "style": "Simple", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "" + }, + "Make Anchor": { + "variable_name": "make_anchor", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "false", + "valid_values": [], + "existing_element": "", + "description": "Is the element at end2 an anchor to end1?", + "generated": false, + "style": "Bool", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 1, + "max_cardinality": 1, + "level": "Advanced", + "Journal Entry": "" + }, + "Element": { + "variable_name": "element", + "inUpdate": true, + "attr_labels": "Assessed Element", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "Referenceable", + "description": "The element at the other end of the relationship (any Referenceable): its qualified name, display name or GUID. For an assessment, the element that was assessed.", + "generated": false, + "style": "Reference Name", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463), 0018 Decisions." + }, + "Schema Type": { + "variable_name": "schema_type", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "", + "valid_values": [], + "existing_element": "SchemaType", + "description": "A schema type (e.g. a TabularSchemaType): for a data structure, the physical schema type equivalent to it (SchemaTypeDefinition relationship); for a process, the type of a variable it supports (SupportedVariableType relationship).", + "generated": false, + "style": "Reference Name", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Basic", + "Journal Entry": "2026-09-26 -- aligned with Egeria types 0580/0581 (DataField/DataStructure and their relationships). Reworded 2026-11-21 so the Egeria 6.4 commands can share it." + }, + "Position": { + "variable_name": "position", + "inUpdate": true, + "attr_labels": "", + "examples": "", + "default_value": "0", + "valid_values": [], + "existing_element": "", + "description": "The ordinal position: of a data field within its containing data structure, or of a data value among an element's processing variables or a parent value's embedded values (0 means unset).", + "generated": false, + "style": "Simple Int", + "user_specified": true, + "unique": false, + "input_required": false, + "min_cardinality": 0, + "max_cardinality": 1, + "level": "Domain", + "Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 Data Value commands can share it." } }, "bundles": { @@ -1326,6 +1573,30 @@ "Presentation Style", "Markdown Content" ] + }, + "Request Base": { + "inherits": null, + "own_attributes": [ + "Effective From", + "Effective Time", + "Effective To", + "Extended Properties", + "External Source GUID", + "External Source Name", + "For Duplicate Processing", + "For Lineage", + "Journal Entry", + "Request ID" + ] + }, + "Link Command Base": { + "inherits": "Request Base", + "own_attributes": [ + "Anchor Scope IDs", + "Description", + "Label", + "Make Anchor" + ] } }, "commands": { @@ -2265,6 +2536,53 @@ "verb": "Create", "OM_TYPE": "DisplayDataField", "bundle": "Display Data Field Base" + }, + "Link Supported Variable Type": { + "display_name": "Supported Variable Type", + "qn_prefix": "", + "alternate_names": [], + "family": "Schema Maker", + "description": "Record a schema type describing a variable that an element (such as a process) supports (the SupportedVariableType relationship), with Position (0 means unset) and Min/Max Cardinality. Needs Egeria 6.4.", + "verb": "Link", + "upsert": false, + "attach": true, + "level": "Basic", + "find_method": "", + "find_constraints": "", + "extra_find": "", + "extra_constraints": "", + "OM_TYPE": "SupportedVariableType", + "bundle": "Link Command Base", + "custom_attributes": [ + "Element", + "Schema Type", + "Position", + "Min Cardinality", + "Max Cardinality" + ], + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463)." + }, + "Detach Supported Variable Type": { + "display_name": "Supported Variable Type", + "qn_prefix": "", + "alternate_names": [], + "family": "Schema Maker", + "description": "Remove the SupportedVariableType relationship between an element and a schema type. Needs Egeria 6.4.", + "verb": "Detach", + "upsert": false, + "attach": false, + "level": "Basic", + "find_method": "", + "find_constraints": "", + "extra_find": "", + "extra_constraints": "", + "OM_TYPE": "SupportedVariableType", + "bundle": "Request Base", + "custom_attributes": [ + "Element", + "Schema Type" + ], + "Journal Entry": "Added 2026-11-21 -- Egeria 6.4 (odpi/egeria#9463)." } } } diff --git a/md_processing/data/compact_commands/commands_security_officer_compact.json b/md_processing/data/compact_commands/commands_security_officer_compact.json index 54a20e6e8..6076e431e 100644 --- a/md_processing/data/compact_commands/commands_security_officer_compact.json +++ b/md_processing/data/compact_commands/commands_security_officer_compact.json @@ -1126,7 +1126,7 @@ "default_value": "", "valid_values": [], "existing_element": "", - "description": "The purpose of this collection \u2014 a short description of why it exists or what it is used for.", + "description": "The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for).", "generated": false, "style": "Simple", "user_specified": true, @@ -1135,7 +1135,7 @@ "min_cardinality": 1, "max_cardinality": 1, "level": "Common", - "Journal Entry": "" + "Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 commands can share it." }, "Start Time": { "variable_name": "start_time", diff --git a/md_processing/data/compact_commands/commands_solution_architect_compact.json b/md_processing/data/compact_commands/commands_solution_architect_compact.json index 6893b7d4a..95548c60d 100644 --- a/md_processing/data/compact_commands/commands_solution_architect_compact.json +++ b/md_processing/data/compact_commands/commands_solution_architect_compact.json @@ -1505,7 +1505,7 @@ "default_value": "", "valid_values": [], "existing_element": "", - "description": "The purpose of this collection \u2014 a short description of why it exists or what it is used for.", + "description": "The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for).", "generated": false, "style": "Simple", "user_specified": true, @@ -1514,7 +1514,7 @@ "min_cardinality": 1, "max_cardinality": 1, "level": "Common", - "Journal Entry": "" + "Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 commands can share it." }, "Purposes": { "variable_name": "purposes", diff --git a/md_processing/dr_egeria.py b/md_processing/dr_egeria.py index 6069ff55d..04b963d00 100644 --- a/md_processing/dr_egeria.py +++ b/md_processing/dr_egeria.py @@ -428,6 +428,10 @@ def reg(base, cls): from md_processing.v2.data_values import register_data_value_processors register_data_value_processors(reg) + # Egeria 6.4: Project Target (Projects), Supported Variable Type (Schema Maker), Branch (Devops Pipeline). + from md_processing.v2.egeria_6_4_other import register_other_6_4_processors + register_other_6_4_processors(reg) + # Lineage Linker -- a dedicated Link/Update command pair per relationship # type (2026-09-16 split from one generic selector-attribute command triple # -- see lineage_linker.py's module docstring for why), plus one shared diff --git a/md_processing/v2/egeria_6_4_other.py b/md_processing/v2/egeria_6_4_other.py new file mode 100644 index 000000000..f52d31042 --- /dev/null +++ b/md_processing/v2/egeria_6_4_other.py @@ -0,0 +1,115 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +"""Dr.Egeria commands for the rest of the Egeria 6.4 additions (odpi/egeria#9463). + +- Link/Detach Project Target (Projects family) -> ProjectManager.setup_project_target / clear_project_target + (ProjectTarget: Project -> any element, uni-link). +- Link/Detach Supported Variable Type (Schema Maker family) -> SchemaMaker.link_supported_variable_type / + detach_supported_variable_type (SupportedVariableType: element -> SchemaType, uni-link), with Position (0 means + unset), Min Cardinality and Max Cardinality, each a whole number. +- Set/Clear Branch (Devops Pipeline family) -> DevopsPipeline.set_element_as_branch / clear_element_as_branch (the + Branch classification, BranchProperties: displayName, scope, purpose, url; it has no label or description). + +Every command is gated on Egeria 6.4 (md_processing.v2.egeria_6_4). +""" +from __future__ import annotations + +from typing import Any, Dict, List + +from pyegeria.core import egeria_6_4_names as e64 +from pyegeria.core.utils import body_slimmer +from md_processing.v2.egeria_6_4 import ( + EMPTY, Egeria64LinkProcessor, delete_relationship_body, int_value, new_relationship_body, value) + + +class ProjectTargetProcessor(Egeria64LinkProcessor): + """Link Project Target / Detach Project Target.""" + + async def apply_changes(self) -> str: + attributes = self.parsed_output["attributes"] + project, target = self.ends(attributes, "Project", "Target Element") + pm = self.client.project_manager + what = f"{self.command.verb} {self.command.object_type}" + if self.command.verb in self.DETACH_VERBS: + body = delete_relationship_body(attributes) + self.last_body = body + await self.e64(pm._async_clear_project_target(project, target, body)) + return f"\n\n# {what}\n\nProject {project} no longer targets {target}.\n" + body = new_relationship_body(e64.PROJECT_TARGET, attributes) + self.last_body = body + await self.e64(pm._async_setup_project_target(project, target, body)) + return f"\n\n# {what}\n\nProject {project} now targets {target}.\n" + + +#: SupportedVariableType attributes and the property each fills (each a whole number). +VARIABLE_TYPE_FIELDS = {"Position": "position", "Min Cardinality": "minCardinality", + "Max Cardinality": "maxCardinality"} + + +class SupportedVariableTypeProcessor(Egeria64LinkProcessor): + """Link Supported Variable Type / Detach Supported Variable Type.""" + + async def apply_changes(self) -> str: + attributes = self.parsed_output["attributes"] + element, schema_type = self.ends(attributes, "Element", "Schema Type") + sm = self.client.schema_maker + what = f"{self.command.verb} {self.command.object_type}" + if self.command.verb in self.DETACH_VERBS: + body = delete_relationship_body(attributes) + self.last_body = body + await self.e64(sm._async_detach_supported_variable_type(element, schema_type, body)) + return f"\n\n# {what}\n\nDetached schema type {schema_type} from {element}.\n" + # Only values the document gives are sent (Position's spec default, 0, means unset). + extra = {key: int_value(attributes, name) for name, key in VARIABLE_TYPE_FIELDS.items() + if not (attributes.get(name) or {}).get("is_default")} + body = new_relationship_body(e64.SUPPORTED_VARIABLE_TYPE, attributes, extra, + {k: n for n, k in VARIABLE_TYPE_FIELDS.items()}) + self.last_body = body + await self.e64(sm._async_link_supported_variable_type(element, schema_type, body)) + return f"\n\n# {what}\n\nLinked schema type {schema_type} to {element} as a supported variable type.\n" + + +#: Branch attributes and the BranchProperties key each fills. +BRANCH_FIELDS = {"Display Name": "displayName", "Scope": "scope", "Purpose": "purpose", "URL": "url"} + + +class BranchProcessor(Egeria64LinkProcessor): + """Set Branch / Clear Branch (a classification: no element of its own to look up).""" + + async def apply_changes(self) -> str: + attributes = self.parsed_output["attributes"] + [element] = self.ends(attributes, "Target Element") + dp = self.client.devops_pipeline + what = f"{self.command.verb} {self.command.object_type}" + source = { + "externalSourceGUID": (attributes.get("External Source GUID") or {}).get("guid"), + "externalSourceName": value(attributes, "External Source Name"), + "effectiveTime": value(attributes, "Effective Time"), + "forLineage": value(attributes, "For Lineage") or False, + "forDuplicateProcessing": value(attributes, "For Duplicate Processing") or False, + } + if self.command.verb == "Clear": + body = body_slimmer({"class": "MetadataSourceRequestBody", **source}) + self.last_body = body + await self.e64(dp._async_clear_element_as_branch(element, body)) + return f"\n\n# {what}\n\nRemoved the Branch classification from {element}.\n" + props = {key: value(attributes, name) for name, key in BRANCH_FIELDS.items()} + props = {k: v for k, v in props.items() if v not in EMPTY} + body = body_slimmer({"class": "NewClassificationRequestBody", **source, + "properties": {"class": e64.BRANCH_PROPERTIES, **props} if props else None}) + self.last_body = body + await self.e64(dp._async_set_element_as_branch(element, body)) + return f"\n\n# {what}\n\nClassified {element} as a Branch.\n" + + +def register_other_6_4_processors(reg) -> List[str]: + """Register the B3 commands; returns their names.""" + names = { + "Link Project Target": ProjectTargetProcessor, "Detach Project Target": ProjectTargetProcessor, + "Link Supported Variable Type": SupportedVariableTypeProcessor, + "Detach Supported Variable Type": SupportedVariableTypeProcessor, + "Set Branch": BranchProcessor, "Clear Branch": BranchProcessor, + } + for name, cls in names.items(): + reg(name, cls) + return list(names) diff --git a/sample-data/templates/advanced/Collections/Create_Business_Capability.md b/sample-data/templates/advanced/Collections/Create_Business_Capability.md index cf64ede7d..7aa7669cb 100644 --- a/sample-data/templates/advanced/Collections/Create_Business_Capability.md +++ b/sample-data/templates/advanced/Collections/Create_Business_Capability.md @@ -92,7 +92,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Collection.md b/sample-data/templates/advanced/Collections/Create_Collection.md index 3ab956f67..9674f257f 100644 --- a/sample-data/templates/advanced/Collections/Create_Collection.md +++ b/sample-data/templates/advanced/Collections/Create_Collection.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Collection_Folder.md b/sample-data/templates/advanced/Collections/Create_Collection_Folder.md index 90af09d8e..6847fd356 100644 --- a/sample-data/templates/advanced/Collections/Create_Collection_Folder.md +++ b/sample-data/templates/advanced/Collections/Create_Collection_Folder.md @@ -74,7 +74,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Context_Event_Collection.md b/sample-data/templates/advanced/Collections/Create_Context_Event_Collection.md index 1e10f4db2..d5642ae45 100644 --- a/sample-data/templates/advanced/Collections/Create_Context_Event_Collection.md +++ b/sample-data/templates/advanced/Collections/Create_Context_Event_Collection.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Data_Sharing_Hub.md b/sample-data/templates/advanced/Collections/Create_Data_Sharing_Hub.md index 81385e113..1392ccf3f 100644 --- a/sample-data/templates/advanced/Collections/Create_Data_Sharing_Hub.md +++ b/sample-data/templates/advanced/Collections/Create_Data_Sharing_Hub.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Data_Sharing_Request.md b/sample-data/templates/advanced/Collections/Create_Data_Sharing_Request.md index 7093836b1..262322d73 100644 --- a/sample-data/templates/advanced/Collections/Create_Data_Sharing_Request.md +++ b/sample-data/templates/advanced/Collections/Create_Data_Sharing_Request.md @@ -74,7 +74,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Event_Set.md b/sample-data/templates/advanced/Collections/Create_Event_Set.md index ee97e407c..1ab07c228 100644 --- a/sample-data/templates/advanced/Collections/Create_Event_Set.md +++ b/sample-data/templates/advanced/Collections/Create_Event_Set.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Folio.md b/sample-data/templates/advanced/Collections/Create_Folio.md index 30a6e3bbe..84fff5ce5 100644 --- a/sample-data/templates/advanced/Collections/Create_Folio.md +++ b/sample-data/templates/advanced/Collections/Create_Folio.md @@ -74,7 +74,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Home_Collection.md b/sample-data/templates/advanced/Collections/Create_Home_Collection.md index f032f3995..987f33643 100644 --- a/sample-data/templates/advanced/Collections/Create_Home_Collection.md +++ b/sample-data/templates/advanced/Collections/Create_Home_Collection.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_IT_Subsystem.md b/sample-data/templates/advanced/Collections/Create_IT_Subsystem.md index b8a5b11e3..48da2401d 100644 --- a/sample-data/templates/advanced/Collections/Create_IT_Subsystem.md +++ b/sample-data/templates/advanced/Collections/Create_IT_Subsystem.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Namespace.md b/sample-data/templates/advanced/Collections/Create_Namespace.md index b1cd3226b..5f9a4cef2 100644 --- a/sample-data/templates/advanced/Collections/Create_Namespace.md +++ b/sample-data/templates/advanced/Collections/Create_Namespace.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Naming_Standard_Rule_Set.md b/sample-data/templates/advanced/Collections/Create_Naming_Standard_Rule_Set.md index 4f0a30f30..4a1088a86 100644 --- a/sample-data/templates/advanced/Collections/Create_Naming_Standard_Rule_Set.md +++ b/sample-data/templates/advanced/Collections/Create_Naming_Standard_Rule_Set.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Question_Spec.md b/sample-data/templates/advanced/Collections/Create_Question_Spec.md index c2618daf0..04072b62e 100644 --- a/sample-data/templates/advanced/Collections/Create_Question_Spec.md +++ b/sample-data/templates/advanced/Collections/Create_Question_Spec.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Recent_Access.md b/sample-data/templates/advanced/Collections/Create_Recent_Access.md index 3cbc95961..baa0c1c74 100644 --- a/sample-data/templates/advanced/Collections/Create_Recent_Access.md +++ b/sample-data/templates/advanced/Collections/Create_Recent_Access.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Reference_List.md b/sample-data/templates/advanced/Collections/Create_Reference_List.md index 79032790b..80a73ee7e 100644 --- a/sample-data/templates/advanced/Collections/Create_Reference_List.md +++ b/sample-data/templates/advanced/Collections/Create_Reference_List.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Results_Set.md b/sample-data/templates/advanced/Collections/Create_Results_Set.md index 90c27152d..7aad23be5 100644 --- a/sample-data/templates/advanced/Collections/Create_Results_Set.md +++ b/sample-data/templates/advanced/Collections/Create_Results_Set.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Root_Collection.md b/sample-data/templates/advanced/Collections/Create_Root_Collection.md index 6f7743a0e..351f48cfb 100644 --- a/sample-data/templates/advanced/Collections/Create_Root_Collection.md +++ b/sample-data/templates/advanced/Collections/Create_Root_Collection.md @@ -74,7 +74,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Security_Group.md b/sample-data/templates/advanced/Collections/Create_Security_Group.md index 3d381d4c9..3b5cd0f12 100644 --- a/sample-data/templates/advanced/Collections/Create_Security_Group.md +++ b/sample-data/templates/advanced/Collections/Create_Security_Group.md @@ -80,7 +80,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Security_List.md b/sample-data/templates/advanced/Collections/Create_Security_List.md index fce594ed8..dad0bdcc3 100644 --- a/sample-data/templates/advanced/Collections/Create_Security_List.md +++ b/sample-data/templates/advanced/Collections/Create_Security_List.md @@ -80,7 +80,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Security_Role.md b/sample-data/templates/advanced/Collections/Create_Security_Role.md index ab105b908..6e9f6d603 100644 --- a/sample-data/templates/advanced/Collections/Create_Security_Role.md +++ b/sample-data/templates/advanced/Collections/Create_Security_Role.md @@ -80,7 +80,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Skill_Set.md b/sample-data/templates/advanced/Collections/Create_Skill_Set.md index bd28c3aa8..5cf11b59c 100644 --- a/sample-data/templates/advanced/Collections/Create_Skill_Set.md +++ b/sample-data/templates/advanced/Collections/Create_Skill_Set.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Software_Archive.md b/sample-data/templates/advanced/Collections/Create_Software_Archive.md index bb608c838..d0811a65a 100644 --- a/sample-data/templates/advanced/Collections/Create_Software_Archive.md +++ b/sample-data/templates/advanced/Collections/Create_Software_Archive.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Subject_Area.md b/sample-data/templates/advanced/Collections/Create_Subject_Area.md index dbcf7d7ee..e58b7c8b7 100644 --- a/sample-data/templates/advanced/Collections/Create_Subject_Area.md +++ b/sample-data/templates/advanced/Collections/Create_Subject_Area.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Work_Item_List.md b/sample-data/templates/advanced/Collections/Create_Work_Item_List.md index ade48835d..c88541666 100644 --- a/sample-data/templates/advanced/Collections/Create_Work_Item_List.md +++ b/sample-data/templates/advanced/Collections/Create_Work_Item_List.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Collections/Create_Working_Set.md b/sample-data/templates/advanced/Collections/Create_Working_Set.md index 056cae962..ec0151643 100644 --- a/sample-data/templates/advanced/Collections/Create_Working_Set.md +++ b/sample-data/templates/advanced/Collections/Create_Working_Set.md @@ -80,7 +80,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Data Designer/Create_Data_Dictionary.md b/sample-data/templates/advanced/Data Designer/Create_Data_Dictionary.md index 8460eb7f3..019c5a0d1 100644 --- a/sample-data/templates/advanced/Data Designer/Create_Data_Dictionary.md +++ b/sample-data/templates/advanced/Data Designer/Create_Data_Dictionary.md @@ -74,7 +74,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Data Designer/Create_Data_Spec.md b/sample-data/templates/advanced/Data Designer/Create_Data_Spec.md index aa5862b62..f47b042ab 100644 --- a/sample-data/templates/advanced/Data Designer/Create_Data_Spec.md +++ b/sample-data/templates/advanced/Data Designer/Create_Data_Spec.md @@ -74,7 +74,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Data Designer/Create_Report_Type.md b/sample-data/templates/advanced/Data Designer/Create_Report_Type.md index f0052b70d..06c812261 100644 --- a/sample-data/templates/advanced/Data Designer/Create_Report_Type.md +++ b/sample-data/templates/advanced/Data Designer/Create_Report_Type.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Data Designer/Link_Schema_Type_Definition.md b/sample-data/templates/advanced/Data Designer/Link_Schema_Type_Definition.md index 47cb7520c..6aa05b087 100644 --- a/sample-data/templates/advanced/Data Designer/Link_Schema_Type_Definition.md +++ b/sample-data/templates/advanced/Data Designer/Link_Schema_Type_Definition.md @@ -42,7 +42,7 @@ ___ > **Attribute Type**: Reference Name -> **Description**: A physical schema type (e.g. a TabularSchemaType) equivalent to the data structure (SchemaTypeDefinition relationship). +> **Description**: A schema type (e.g. a TabularSchemaType): for a data structure, the physical schema type equivalent to it (SchemaTypeDefinition relationship); for a process, the type of a variable it supports (SupportedVariableType relationship). ### Effective From diff --git a/sample-data/templates/advanced/Devops Pipeline/Clear_Branch.md b/sample-data/templates/advanced/Devops Pipeline/Clear_Branch.md new file mode 100644 index 000000000..d862479ff --- /dev/null +++ b/sample-data/templates/advanced/Devops Pipeline/Clear_Branch.md @@ -0,0 +1,86 @@ +___ + +## Clear Branch +> Remove the Branch classification from an element. Needs Egeria 6.4. + +### Target Element +> **Input Required**: True + +> **Attribute Type**: Reference Name + +> **Description**: Qualified name of the existing element being classified or linked. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Effective From +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The beginning of when an element is viewable. + + +### Effective Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The time at which an element must be effective in order to be returned by the request. + + +### Effective To +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The ending time at which an element is visible. + + +### External Source GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: The unique identifier of an external source. + + +### External Source Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The name of an external source + + +### For Duplicate Processing +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support duplicate processing. + + +### For Lineage +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support lineage. + + +### Request ID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user provided or system generated request id for a conversation. + + +___ diff --git a/sample-data/templates/advanced/Devops Pipeline/Set_Branch.md b/sample-data/templates/advanced/Devops Pipeline/Set_Branch.md new file mode 100644 index 000000000..12fee1fdb --- /dev/null +++ b/sample-data/templates/advanced/Devops Pipeline/Set_Branch.md @@ -0,0 +1,120 @@ +___ + +## Set Branch +> Classify an element (such as a SourceControlLibrary) as holding the files of one branch of a source code repository (the Branch classification): Display Name, Scope, Purpose, URL. Setting it again updates it. Needs Egeria 6.4. + +### Target Element +> **Input Required**: True + +> **Attribute Type**: Reference Name + +> **Description**: Qualified name of the existing element being classified or linked. + + +### Display Name +> **Input Required**: True + +> **Attribute Type**: Simple + +> **Description**: The common name of an element. + +> **Alternative Labels**: "Term Name" + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Scope +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Scope of the definition or element. + + +### Purpose +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). + + +### URL +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: URL for further information. + + +### Effective From +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The beginning of when an element is viewable. + + +### Effective Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The time at which an element must be effective in order to be returned by the request. + + +### Effective To +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The ending time at which an element is visible. + + +### External Source GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: The unique identifier of an external source. + + +### External Source Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The name of an external source + + +### For Duplicate Processing +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support duplicate processing. + + +### For Lineage +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support lineage. + + +### Request ID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user provided or system generated request id for a conversation. + + +___ diff --git a/sample-data/templates/advanced/Digital Product Manager/Create_Agreement.md b/sample-data/templates/advanced/Digital Product Manager/Create_Agreement.md index b5619d658..3f0cb7a1d 100644 --- a/sample-data/templates/advanced/Digital Product Manager/Create_Agreement.md +++ b/sample-data/templates/advanced/Digital Product Manager/Create_Agreement.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Digital Product Manager/Create_Data_Sharing_Agreement.md b/sample-data/templates/advanced/Digital Product Manager/Create_Data_Sharing_Agreement.md index df2254143..4627c8913 100644 --- a/sample-data/templates/advanced/Digital Product Manager/Create_Data_Sharing_Agreement.md +++ b/sample-data/templates/advanced/Digital Product Manager/Create_Data_Sharing_Agreement.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Digital Product Manager/Create_Digital_Product.md b/sample-data/templates/advanced/Digital Product Manager/Create_Digital_Product.md index 507dd1793..0bb96eac8 100644 --- a/sample-data/templates/advanced/Digital Product Manager/Create_Digital_Product.md +++ b/sample-data/templates/advanced/Digital Product Manager/Create_Digital_Product.md @@ -130,7 +130,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Digital Product Manager/Create_Digital_Product_Catalog.md b/sample-data/templates/advanced/Digital Product Manager/Create_Digital_Product_Catalog.md index e67ec4519..576a52d15 100644 --- a/sample-data/templates/advanced/Digital Product Manager/Create_Digital_Product_Catalog.md +++ b/sample-data/templates/advanced/Digital Product Manager/Create_Digital_Product_Catalog.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Digital Product Manager/Create_Digital_Subscription.md b/sample-data/templates/advanced/Digital Product Manager/Create_Digital_Subscription.md index 3a4146e56..412fb54ed 100644 --- a/sample-data/templates/advanced/Digital Product Manager/Create_Digital_Subscription.md +++ b/sample-data/templates/advanced/Digital Product Manager/Create_Digital_Subscription.md @@ -82,7 +82,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Glossary/Create_Glossary.md b/sample-data/templates/advanced/Glossary/Create_Glossary.md index e99cb567b..1fb0d0d37 100644 --- a/sample-data/templates/advanced/Glossary/Create_Glossary.md +++ b/sample-data/templates/advanced/Glossary/Create_Glossary.md @@ -88,7 +88,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Projects/Detach_Project_Target.md b/sample-data/templates/advanced/Projects/Detach_Project_Target.md new file mode 100644 index 000000000..fea3ce568 --- /dev/null +++ b/sample-data/templates/advanced/Projects/Detach_Project_Target.md @@ -0,0 +1,94 @@ +___ + +## Detach Project Target +> Remove the ProjectTarget relationship between a project and an element. Needs Egeria 6.4. + +### Target Element +> **Input Required**: True + +> **Attribute Type**: Reference Name + +> **Description**: Qualified name of the existing element being classified or linked. + + +### Project +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The project: its qualified name, display name or GUID. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Effective From +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The beginning of when an element is viewable. + + +### Effective Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The time at which an element must be effective in order to be returned by the request. + + +### Effective To +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The ending time at which an element is visible. + + +### External Source GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: The unique identifier of an external source. + + +### External Source Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The name of an external source + + +### For Duplicate Processing +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support duplicate processing. + + +### For Lineage +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support lineage. + + +### Request ID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user provided or system generated request id for a conversation. + + +___ diff --git a/sample-data/templates/advanced/Projects/Link_Project_Target.md b/sample-data/templates/advanced/Projects/Link_Project_Target.md new file mode 100644 index 000000000..64bd7af9f --- /dev/null +++ b/sample-data/templates/advanced/Projects/Link_Project_Target.md @@ -0,0 +1,130 @@ +___ + +## Link Project Target +> Record an element that a project works on (the ProjectTarget relationship, Project to any element). Needs Egeria 6.4. + +### Target Element +> **Input Required**: True + +> **Attribute Type**: Reference Name + +> **Description**: Qualified name of the existing element being classified or linked. + + +### Label +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A label used to identify or categorise a relationship link. + +> **Alternative Labels**: Wire Label + + +### Project +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The project: its qualified name, display name or GUID. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Description +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A description. + + +### Effective From +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The beginning of when an element is viewable. + + +### Effective Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The time at which an element must be effective in order to be returned by the request. + + +### Effective To +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The ending time at which an element is visible. + + +### External Source GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: The unique identifier of an external source. + + +### External Source Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The name of an external source + + +### For Duplicate Processing +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support duplicate processing. + + +### For Lineage +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support lineage. + + +### Request ID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user provided or system generated request id for a conversation. + + +### Anchor Scope IDs +> **Input Required**: False + +> **Attribute Type**: Reference Name List + +> **Description**: A list of IDs that are anchor scopes for this element. + + +### Make Anchor +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Is the element at end2 an anchor to end1? + +> **Default Value**: false + + +___ diff --git a/sample-data/templates/advanced/Schema Maker/Detach_Supported_Variable_Type.md b/sample-data/templates/advanced/Schema Maker/Detach_Supported_Variable_Type.md new file mode 100644 index 000000000..85d1661e5 --- /dev/null +++ b/sample-data/templates/advanced/Schema Maker/Detach_Supported_Variable_Type.md @@ -0,0 +1,96 @@ +___ + +## Detach Supported Variable Type +> Remove the SupportedVariableType relationship between an element and a schema type. Needs Egeria 6.4. + +### Element +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The element at the other end of the relationship (any Referenceable): its qualified name, display name or GUID. For an assessment, the element that was assessed. + +> **Alternative Labels**: Assessed Element + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Schema Type +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: A schema type (e.g. a TabularSchemaType): for a data structure, the physical schema type equivalent to it (SchemaTypeDefinition relationship); for a process, the type of a variable it supports (SupportedVariableType relationship). + + +### Effective From +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The beginning of when an element is viewable. + + +### Effective Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The time at which an element must be effective in order to be returned by the request. + + +### Effective To +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The ending time at which an element is visible. + + +### External Source GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: The unique identifier of an external source. + + +### External Source Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The name of an external source + + +### For Duplicate Processing +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support duplicate processing. + + +### For Lineage +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support lineage. + + +### Request ID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user provided or system generated request id for a conversation. + + +___ diff --git a/sample-data/templates/advanced/Schema Maker/Link_Supported_Variable_Type.md b/sample-data/templates/advanced/Schema Maker/Link_Supported_Variable_Type.md new file mode 100644 index 000000000..7240233c1 --- /dev/null +++ b/sample-data/templates/advanced/Schema Maker/Link_Supported_Variable_Type.md @@ -0,0 +1,162 @@ +___ + +## Link Supported Variable Type +> Record a schema type describing a variable that an element (such as a process) supports (the SupportedVariableType relationship), with Position (0 means unset) and Min/Max Cardinality. Needs Egeria 6.4. + +### Label +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A label used to identify or categorise a relationship link. + +> **Alternative Labels**: Wire Label + + +### Element +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The element at the other end of the relationship (any Referenceable): its qualified name, display name or GUID. For an assessment, the element that was assessed. + +> **Alternative Labels**: Assessed Element + + +### Position +> **Input Required**: False + +> **Attribute Type**: Simple Int + +> **Description**: The ordinal position: of a data field within its containing data structure, or of a data value among an element's processing variables or a parent value's embedded values (0 means unset). + +> **Default Value**: 0 + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Description +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A description. + + +### Schema Type +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: A schema type (e.g. a TabularSchemaType): for a data structure, the physical schema type equivalent to it (SchemaTypeDefinition relationship); for a process, the type of a variable it supports (SupportedVariableType relationship). + + +### Min Cardinality +> **Input Required**: False + +> **Attribute Type**: Simple Int + +> **Description**: Minimum number of values allowed for this attribute (-1 means unbounded/unknown). + +> **Default Value**: -1 + + +### Max Cardinality +> **Input Required**: False + +> **Attribute Type**: Simple Int + +> **Description**: Maximum number of values allowed for this attribute (-1 means unbounded). + +> **Default Value**: -1 + + +### Effective From +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The beginning of when an element is viewable. + + +### Effective Time +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The time at which an element must be effective in order to be returned by the request. + + +### Effective To +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The ending time at which an element is visible. + + +### External Source GUID +> **Input Required**: False + +> **Attribute Type**: GUID + +> **Description**: The unique identifier of an external source. + + +### External Source Name +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The name of an external source + + +### For Duplicate Processing +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support duplicate processing. + + +### For Lineage +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Flag indicating if the request is to support lineage. + + +### Request ID +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A user provided or system generated request id for a conversation. + + +### Anchor Scope IDs +> **Input Required**: False + +> **Attribute Type**: Reference Name List + +> **Description**: A list of IDs that are anchor scopes for this element. + + +### Make Anchor +> **Input Required**: False + +> **Attribute Type**: Bool + +> **Description**: Is the element at end2 an anchor to end1? + +> **Default Value**: false + + +___ diff --git a/sample-data/templates/advanced/Security Officer/Create_Survey_Report.md b/sample-data/templates/advanced/Security Officer/Create_Survey_Report.md index 8426ed454..d255ec328 100644 --- a/sample-data/templates/advanced/Security Officer/Create_Survey_Report.md +++ b/sample-data/templates/advanced/Security Officer/Create_Survey_Report.md @@ -76,7 +76,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Solution Architect/Create_Concept_Model.md b/sample-data/templates/advanced/Solution Architect/Create_Concept_Model.md index b23982195..e144720be 100644 --- a/sample-data/templates/advanced/Solution Architect/Create_Concept_Model.md +++ b/sample-data/templates/advanced/Solution Architect/Create_Concept_Model.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Solution Architect/Create_Information_Supply_Chain.md b/sample-data/templates/advanced/Solution Architect/Create_Information_Supply_Chain.md index 922f08eac..2c3728c2b 100644 --- a/sample-data/templates/advanced/Solution Architect/Create_Information_Supply_Chain.md +++ b/sample-data/templates/advanced/Solution Architect/Create_Information_Supply_Chain.md @@ -104,7 +104,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Purposes diff --git a/sample-data/templates/advanced/Solution Architect/Create_Solution_Blueprint.md b/sample-data/templates/advanced/Solution Architect/Create_Solution_Blueprint.md index f5786de98..1c415621e 100644 --- a/sample-data/templates/advanced/Solution Architect/Create_Solution_Blueprint.md +++ b/sample-data/templates/advanced/Solution Architect/Create_Solution_Blueprint.md @@ -90,7 +90,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Views & Reports/Create_Dashboard_Sheet.md b/sample-data/templates/advanced/Views & Reports/Create_Dashboard_Sheet.md index 4a388eabb..ad24aa228 100644 --- a/sample-data/templates/advanced/Views & Reports/Create_Dashboard_Sheet.md +++ b/sample-data/templates/advanced/Views & Reports/Create_Dashboard_Sheet.md @@ -82,7 +82,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/advanced/Views & Reports/Create_Report_Spec.md b/sample-data/templates/advanced/Views & Reports/Create_Report_Spec.md index 5f016ec75..7d83e60c6 100644 --- a/sample-data/templates/advanced/Views & Reports/Create_Report_Spec.md +++ b/sample-data/templates/advanced/Views & Reports/Create_Report_Spec.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Aliases diff --git a/sample-data/templates/basic/Collections/Create_Business_Capability.md b/sample-data/templates/basic/Collections/Create_Business_Capability.md index 16b9d2dd7..b384997a8 100644 --- a/sample-data/templates/basic/Collections/Create_Business_Capability.md +++ b/sample-data/templates/basic/Collections/Create_Business_Capability.md @@ -92,7 +92,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Collection.md b/sample-data/templates/basic/Collections/Create_Collection.md index 3b797434c..fcf3aaea3 100644 --- a/sample-data/templates/basic/Collections/Create_Collection.md +++ b/sample-data/templates/basic/Collections/Create_Collection.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Collection_Folder.md b/sample-data/templates/basic/Collections/Create_Collection_Folder.md index da2e0d54c..d60e5d81f 100644 --- a/sample-data/templates/basic/Collections/Create_Collection_Folder.md +++ b/sample-data/templates/basic/Collections/Create_Collection_Folder.md @@ -74,7 +74,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Context_Event_Collection.md b/sample-data/templates/basic/Collections/Create_Context_Event_Collection.md index e9693d37e..659ee50fd 100644 --- a/sample-data/templates/basic/Collections/Create_Context_Event_Collection.md +++ b/sample-data/templates/basic/Collections/Create_Context_Event_Collection.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Data_Sharing_Hub.md b/sample-data/templates/basic/Collections/Create_Data_Sharing_Hub.md index fac8ffe6b..1308c29b8 100644 --- a/sample-data/templates/basic/Collections/Create_Data_Sharing_Hub.md +++ b/sample-data/templates/basic/Collections/Create_Data_Sharing_Hub.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Data_Sharing_Request.md b/sample-data/templates/basic/Collections/Create_Data_Sharing_Request.md index 723f425a3..f2cd9fdf6 100644 --- a/sample-data/templates/basic/Collections/Create_Data_Sharing_Request.md +++ b/sample-data/templates/basic/Collections/Create_Data_Sharing_Request.md @@ -74,7 +74,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Event_Set.md b/sample-data/templates/basic/Collections/Create_Event_Set.md index 7d2ab50f9..944c5fc8c 100644 --- a/sample-data/templates/basic/Collections/Create_Event_Set.md +++ b/sample-data/templates/basic/Collections/Create_Event_Set.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Folio.md b/sample-data/templates/basic/Collections/Create_Folio.md index d84cd29d9..6c3cea0e1 100644 --- a/sample-data/templates/basic/Collections/Create_Folio.md +++ b/sample-data/templates/basic/Collections/Create_Folio.md @@ -74,7 +74,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Home_Collection.md b/sample-data/templates/basic/Collections/Create_Home_Collection.md index 6cb103aee..4e1e7f517 100644 --- a/sample-data/templates/basic/Collections/Create_Home_Collection.md +++ b/sample-data/templates/basic/Collections/Create_Home_Collection.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_IT_Subsystem.md b/sample-data/templates/basic/Collections/Create_IT_Subsystem.md index bcbd2d7da..f66d6288e 100644 --- a/sample-data/templates/basic/Collections/Create_IT_Subsystem.md +++ b/sample-data/templates/basic/Collections/Create_IT_Subsystem.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Namespace.md b/sample-data/templates/basic/Collections/Create_Namespace.md index aa10ce42c..d87eda126 100644 --- a/sample-data/templates/basic/Collections/Create_Namespace.md +++ b/sample-data/templates/basic/Collections/Create_Namespace.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Naming_Standard_Rule_Set.md b/sample-data/templates/basic/Collections/Create_Naming_Standard_Rule_Set.md index 0dbe6115e..c3bc36913 100644 --- a/sample-data/templates/basic/Collections/Create_Naming_Standard_Rule_Set.md +++ b/sample-data/templates/basic/Collections/Create_Naming_Standard_Rule_Set.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Question_Spec.md b/sample-data/templates/basic/Collections/Create_Question_Spec.md index a393322d3..17ff29c10 100644 --- a/sample-data/templates/basic/Collections/Create_Question_Spec.md +++ b/sample-data/templates/basic/Collections/Create_Question_Spec.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Recent_Access.md b/sample-data/templates/basic/Collections/Create_Recent_Access.md index 6198bbe6e..d45b0ea26 100644 --- a/sample-data/templates/basic/Collections/Create_Recent_Access.md +++ b/sample-data/templates/basic/Collections/Create_Recent_Access.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Reference_List.md b/sample-data/templates/basic/Collections/Create_Reference_List.md index 9625a8321..686b40537 100644 --- a/sample-data/templates/basic/Collections/Create_Reference_List.md +++ b/sample-data/templates/basic/Collections/Create_Reference_List.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Results_Set.md b/sample-data/templates/basic/Collections/Create_Results_Set.md index 5d31c53f7..5bb0dc570 100644 --- a/sample-data/templates/basic/Collections/Create_Results_Set.md +++ b/sample-data/templates/basic/Collections/Create_Results_Set.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Root_Collection.md b/sample-data/templates/basic/Collections/Create_Root_Collection.md index 15ea0e894..d03a0ddcb 100644 --- a/sample-data/templates/basic/Collections/Create_Root_Collection.md +++ b/sample-data/templates/basic/Collections/Create_Root_Collection.md @@ -74,7 +74,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Security_Group.md b/sample-data/templates/basic/Collections/Create_Security_Group.md index dae45e515..b58e0227a 100644 --- a/sample-data/templates/basic/Collections/Create_Security_Group.md +++ b/sample-data/templates/basic/Collections/Create_Security_Group.md @@ -80,7 +80,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Security_List.md b/sample-data/templates/basic/Collections/Create_Security_List.md index 0b3de3da0..c982308e4 100644 --- a/sample-data/templates/basic/Collections/Create_Security_List.md +++ b/sample-data/templates/basic/Collections/Create_Security_List.md @@ -80,7 +80,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Security_Role.md b/sample-data/templates/basic/Collections/Create_Security_Role.md index 16e817896..ad4437af0 100644 --- a/sample-data/templates/basic/Collections/Create_Security_Role.md +++ b/sample-data/templates/basic/Collections/Create_Security_Role.md @@ -80,7 +80,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Skill_Set.md b/sample-data/templates/basic/Collections/Create_Skill_Set.md index 85ae96e87..23de3c097 100644 --- a/sample-data/templates/basic/Collections/Create_Skill_Set.md +++ b/sample-data/templates/basic/Collections/Create_Skill_Set.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Software_Archive.md b/sample-data/templates/basic/Collections/Create_Software_Archive.md index ca4def0a9..d2e4dce62 100644 --- a/sample-data/templates/basic/Collections/Create_Software_Archive.md +++ b/sample-data/templates/basic/Collections/Create_Software_Archive.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Subject_Area.md b/sample-data/templates/basic/Collections/Create_Subject_Area.md index 0138e9e72..e9e698ce0 100644 --- a/sample-data/templates/basic/Collections/Create_Subject_Area.md +++ b/sample-data/templates/basic/Collections/Create_Subject_Area.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Work_Item_List.md b/sample-data/templates/basic/Collections/Create_Work_Item_List.md index f6c1040b9..a82d9006e 100644 --- a/sample-data/templates/basic/Collections/Create_Work_Item_List.md +++ b/sample-data/templates/basic/Collections/Create_Work_Item_List.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Collections/Create_Working_Set.md b/sample-data/templates/basic/Collections/Create_Working_Set.md index 9876e7ce9..189b9eed5 100644 --- a/sample-data/templates/basic/Collections/Create_Working_Set.md +++ b/sample-data/templates/basic/Collections/Create_Working_Set.md @@ -80,7 +80,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Data Designer/Create_Data_Dictionary.md b/sample-data/templates/basic/Data Designer/Create_Data_Dictionary.md index 04a2f6506..3614d7257 100644 --- a/sample-data/templates/basic/Data Designer/Create_Data_Dictionary.md +++ b/sample-data/templates/basic/Data Designer/Create_Data_Dictionary.md @@ -74,7 +74,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Data Designer/Create_Data_Spec.md b/sample-data/templates/basic/Data Designer/Create_Data_Spec.md index 3772b5f0c..a3f942e5e 100644 --- a/sample-data/templates/basic/Data Designer/Create_Data_Spec.md +++ b/sample-data/templates/basic/Data Designer/Create_Data_Spec.md @@ -74,7 +74,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Data Designer/Create_Report_Type.md b/sample-data/templates/basic/Data Designer/Create_Report_Type.md index bcf2a0bae..a4ef4e893 100644 --- a/sample-data/templates/basic/Data Designer/Create_Report_Type.md +++ b/sample-data/templates/basic/Data Designer/Create_Report_Type.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Data Designer/Link_Schema_Type_Definition.md b/sample-data/templates/basic/Data Designer/Link_Schema_Type_Definition.md index f55615f7f..465f19689 100644 --- a/sample-data/templates/basic/Data Designer/Link_Schema_Type_Definition.md +++ b/sample-data/templates/basic/Data Designer/Link_Schema_Type_Definition.md @@ -42,7 +42,7 @@ ___ > **Attribute Type**: Reference Name -> **Description**: A physical schema type (e.g. a TabularSchemaType) equivalent to the data structure (SchemaTypeDefinition relationship). +> **Description**: A schema type (e.g. a TabularSchemaType): for a data structure, the physical schema type equivalent to it (SchemaTypeDefinition relationship); for a process, the type of a variable it supports (SupportedVariableType relationship). ___ diff --git a/sample-data/templates/basic/Devops Pipeline/Clear_Branch.md b/sample-data/templates/basic/Devops Pipeline/Clear_Branch.md new file mode 100644 index 000000000..8ef2a246b --- /dev/null +++ b/sample-data/templates/basic/Devops Pipeline/Clear_Branch.md @@ -0,0 +1,22 @@ +___ + +## Clear Branch +> Remove the Branch classification from an element. Needs Egeria 6.4. + +### Target Element +> **Input Required**: True + +> **Attribute Type**: Reference Name + +> **Description**: Qualified name of the existing element being classified or linked. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +___ diff --git a/sample-data/templates/basic/Devops Pipeline/Set_Branch.md b/sample-data/templates/basic/Devops Pipeline/Set_Branch.md new file mode 100644 index 000000000..cc12ada56 --- /dev/null +++ b/sample-data/templates/basic/Devops Pipeline/Set_Branch.md @@ -0,0 +1,56 @@ +___ + +## Set Branch +> Classify an element (such as a SourceControlLibrary) as holding the files of one branch of a source code repository (the Branch classification): Display Name, Scope, Purpose, URL. Setting it again updates it. Needs Egeria 6.4. + +### Target Element +> **Input Required**: True + +> **Attribute Type**: Reference Name + +> **Description**: Qualified name of the existing element being classified or linked. + + +### Display Name +> **Input Required**: True + +> **Attribute Type**: Simple + +> **Description**: The common name of an element. + +> **Alternative Labels**: "Term Name" + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Scope +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: Scope of the definition or element. + + +### Purpose +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). + + +### URL +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: URL for further information. + + +___ diff --git a/sample-data/templates/basic/Digital Product Manager/Create_Agreement.md b/sample-data/templates/basic/Digital Product Manager/Create_Agreement.md index 6a131686c..f659beb25 100644 --- a/sample-data/templates/basic/Digital Product Manager/Create_Agreement.md +++ b/sample-data/templates/basic/Digital Product Manager/Create_Agreement.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Digital Product Manager/Create_Data_Sharing_Agreement.md b/sample-data/templates/basic/Digital Product Manager/Create_Data_Sharing_Agreement.md index 0f1fcade3..796ef9e10 100644 --- a/sample-data/templates/basic/Digital Product Manager/Create_Data_Sharing_Agreement.md +++ b/sample-data/templates/basic/Digital Product Manager/Create_Data_Sharing_Agreement.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Digital Product Manager/Create_Digital_Product.md b/sample-data/templates/basic/Digital Product Manager/Create_Digital_Product.md index 90b620e0f..e243cc549 100644 --- a/sample-data/templates/basic/Digital Product Manager/Create_Digital_Product.md +++ b/sample-data/templates/basic/Digital Product Manager/Create_Digital_Product.md @@ -130,7 +130,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Digital Product Manager/Create_Digital_Product_Catalog.md b/sample-data/templates/basic/Digital Product Manager/Create_Digital_Product_Catalog.md index 6df33cfd7..e0e4233d2 100644 --- a/sample-data/templates/basic/Digital Product Manager/Create_Digital_Product_Catalog.md +++ b/sample-data/templates/basic/Digital Product Manager/Create_Digital_Product_Catalog.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Digital Product Manager/Create_Digital_Subscription.md b/sample-data/templates/basic/Digital Product Manager/Create_Digital_Subscription.md index 4cdf5bb21..9abd363af 100644 --- a/sample-data/templates/basic/Digital Product Manager/Create_Digital_Subscription.md +++ b/sample-data/templates/basic/Digital Product Manager/Create_Digital_Subscription.md @@ -82,7 +82,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Glossary/Create_Glossary.md b/sample-data/templates/basic/Glossary/Create_Glossary.md index 27fb2acee..1bf125653 100644 --- a/sample-data/templates/basic/Glossary/Create_Glossary.md +++ b/sample-data/templates/basic/Glossary/Create_Glossary.md @@ -88,7 +88,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Projects/Detach_Project_Target.md b/sample-data/templates/basic/Projects/Detach_Project_Target.md new file mode 100644 index 000000000..f20a19ea8 --- /dev/null +++ b/sample-data/templates/basic/Projects/Detach_Project_Target.md @@ -0,0 +1,30 @@ +___ + +## Detach Project Target +> Remove the ProjectTarget relationship between a project and an element. Needs Egeria 6.4. + +### Target Element +> **Input Required**: True + +> **Attribute Type**: Reference Name + +> **Description**: Qualified name of the existing element being classified or linked. + + +### Project +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The project: its qualified name, display name or GUID. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +___ diff --git a/sample-data/templates/basic/Projects/Link_Project_Target.md b/sample-data/templates/basic/Projects/Link_Project_Target.md new file mode 100644 index 000000000..b7d8d5d07 --- /dev/null +++ b/sample-data/templates/basic/Projects/Link_Project_Target.md @@ -0,0 +1,48 @@ +___ + +## Link Project Target +> Record an element that a project works on (the ProjectTarget relationship, Project to any element). Needs Egeria 6.4. + +### Target Element +> **Input Required**: True + +> **Attribute Type**: Reference Name + +> **Description**: Qualified name of the existing element being classified or linked. + + +### Label +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A label used to identify or categorise a relationship link. + +> **Alternative Labels**: Wire Label + + +### Project +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The project: its qualified name, display name or GUID. + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Description +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A description. + + +___ diff --git a/sample-data/templates/basic/Schema Maker/Detach_Supported_Variable_Type.md b/sample-data/templates/basic/Schema Maker/Detach_Supported_Variable_Type.md new file mode 100644 index 000000000..ead3fdb89 --- /dev/null +++ b/sample-data/templates/basic/Schema Maker/Detach_Supported_Variable_Type.md @@ -0,0 +1,32 @@ +___ + +## Detach Supported Variable Type +> Remove the SupportedVariableType relationship between an element and a schema type. Needs Egeria 6.4. + +### Element +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The element at the other end of the relationship (any Referenceable): its qualified name, display name or GUID. For an assessment, the element that was assessed. + +> **Alternative Labels**: Assessed Element + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Schema Type +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: A schema type (e.g. a TabularSchemaType): for a data structure, the physical schema type equivalent to it (SchemaTypeDefinition relationship); for a process, the type of a variable it supports (SupportedVariableType relationship). + + +___ diff --git a/sample-data/templates/basic/Schema Maker/Link_Supported_Variable_Type.md b/sample-data/templates/basic/Schema Maker/Link_Supported_Variable_Type.md new file mode 100644 index 000000000..099aa0a69 --- /dev/null +++ b/sample-data/templates/basic/Schema Maker/Link_Supported_Variable_Type.md @@ -0,0 +1,80 @@ +___ + +## Link Supported Variable Type +> Record a schema type describing a variable that an element (such as a process) supports (the SupportedVariableType relationship), with Position (0 means unset) and Min/Max Cardinality. Needs Egeria 6.4. + +### Label +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A label used to identify or categorise a relationship link. + +> **Alternative Labels**: Wire Label + + +### Element +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: The element at the other end of the relationship (any Referenceable): its qualified name, display name or GUID. For an assessment, the element that was assessed. + +> **Alternative Labels**: Assessed Element + + +### Position +> **Input Required**: False + +> **Attribute Type**: Simple Int + +> **Description**: The ordinal position: of a data field within its containing data structure, or of a data value among an element's processing variables or a parent value's embedded values (0 means unset). + +> **Default Value**: 0 + + +### Journal Entry +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A text entry into a journal. + + +### Description +> **Input Required**: False + +> **Attribute Type**: Simple + +> **Description**: A description. + + +### Schema Type +> **Input Required**: False + +> **Attribute Type**: Reference Name + +> **Description**: A schema type (e.g. a TabularSchemaType): for a data structure, the physical schema type equivalent to it (SchemaTypeDefinition relationship); for a process, the type of a variable it supports (SupportedVariableType relationship). + + +### Min Cardinality +> **Input Required**: False + +> **Attribute Type**: Simple Int + +> **Description**: Minimum number of values allowed for this attribute (-1 means unbounded/unknown). + +> **Default Value**: -1 + + +### Max Cardinality +> **Input Required**: False + +> **Attribute Type**: Simple Int + +> **Description**: Maximum number of values allowed for this attribute (-1 means unbounded). + +> **Default Value**: -1 + + +___ diff --git a/sample-data/templates/basic/Security Officer/Create_Survey_Report.md b/sample-data/templates/basic/Security Officer/Create_Survey_Report.md index b2daa0a56..9d3c39fdb 100644 --- a/sample-data/templates/basic/Security Officer/Create_Survey_Report.md +++ b/sample-data/templates/basic/Security Officer/Create_Survey_Report.md @@ -76,7 +76,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Solution Architect/Create_Concept_Model.md b/sample-data/templates/basic/Solution Architect/Create_Concept_Model.md index 8b23cb31c..8eff17ed7 100644 --- a/sample-data/templates/basic/Solution Architect/Create_Concept_Model.md +++ b/sample-data/templates/basic/Solution Architect/Create_Concept_Model.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Solution Architect/Create_Information_Supply_Chain.md b/sample-data/templates/basic/Solution Architect/Create_Information_Supply_Chain.md index df12c1b81..9ba85ee8a 100644 --- a/sample-data/templates/basic/Solution Architect/Create_Information_Supply_Chain.md +++ b/sample-data/templates/basic/Solution Architect/Create_Information_Supply_Chain.md @@ -104,7 +104,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Purposes diff --git a/sample-data/templates/basic/Solution Architect/Create_Solution_Blueprint.md b/sample-data/templates/basic/Solution Architect/Create_Solution_Blueprint.md index eb37341d1..80161ae9b 100644 --- a/sample-data/templates/basic/Solution Architect/Create_Solution_Blueprint.md +++ b/sample-data/templates/basic/Solution Architect/Create_Solution_Blueprint.md @@ -90,7 +90,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Views & Reports/Create_Dashboard_Sheet.md b/sample-data/templates/basic/Views & Reports/Create_Dashboard_Sheet.md index c559bf915..516531942 100644 --- a/sample-data/templates/basic/Views & Reports/Create_Dashboard_Sheet.md +++ b/sample-data/templates/basic/Views & Reports/Create_Dashboard_Sheet.md @@ -82,7 +82,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Search Keywords diff --git a/sample-data/templates/basic/Views & Reports/Create_Report_Spec.md b/sample-data/templates/basic/Views & Reports/Create_Report_Spec.md index 2260c39bd..7fa17aa51 100644 --- a/sample-data/templates/basic/Views & Reports/Create_Report_Spec.md +++ b/sample-data/templates/basic/Views & Reports/Create_Report_Spec.md @@ -72,7 +72,7 @@ ___ > **Attribute Type**: Simple -> **Description**: The purpose of this collection — a short description of why it exists or what it is used for. +> **Description**: The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for). ### Aliases diff --git a/tests/micro-tests/test_e64_b3_dr_egeria_other.py b/tests/micro-tests/test_e64_b3_dr_egeria_other.py new file mode 100644 index 000000000..a1989320d --- /dev/null +++ b/tests/micro-tests/test_e64_b3_dr_egeria_other.py @@ -0,0 +1,218 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +""" +Egeria 6.4 Phase B3: Link/Detach Project Target (Projects), Link/Detach Supported Variable Type (Schema Maker) and +Set/Clear Branch (Devops Pipeline), odpi/egeria#9463. + +Each command's sample document goes through the real extractor, dispatcher and processor, into the real A6 wrapper +(ProjectManager, SchemaMaker, DevopsPipeline), whose HTTP call is captured (tests/micro-tests/e64_dre_harness.py). +The test checks the exact body the wrapper sends. Also: whole numbers for Position and the cardinalities, values +sent only when given, and the version gate ("needs Egeria 6.4", a WARNING row, nothing sent) for each family. + +No live server. +""" +import importlib.util +import json +import pathlib +import sys + +import pytest + +_spec = importlib.util.spec_from_file_location("e64_dre_harness", + pathlib.Path(__file__).with_name("e64_dre_harness.py")) +h = importlib.util.module_from_spec(_spec) +_spec.loader.exec_module(h) + +PROJECT = "90000000-0000-4000-8000-000000000001" +TARGET = "91000000-0000-4000-8000-000000000001" +PROCESS = "92000000-0000-4000-8000-000000000001" +SCHEMA_TYPE = "93000000-0000-4000-8000-000000000001" +LIBRARY = "94000000-0000-4000-8000-000000000001" + +LINK_BASE = {"class": "NewRelationshipRequestBody", "forLineage": False, "forDuplicateProcessing": False, + "makeAnchor": False} +DELETE_BASE = {"class": "DeleteRelationshipRequestBody", "forLineage": False, "forDuplicateProcessing": False} + + +# --------------------------------------------------------------------------------------------- Project Target + +@pytest.mark.asyncio +async def test_link_project_target(monkeypatch): + fake = h.FakeEgeria(monkeypatch) + [result] = await h.run_doc(fake, f"## Link Project Target\n### Project\n{PROJECT}\n### Target Element\n{TARGET}\n" + f"### Label\nscope\n### Description\nThe repository the project upgrades.\n") + assert result["status"] == "success", result + [call] = fake.calls + assert call["path"] == f"project-manager/projects/{PROJECT}/project-targets/{TARGET}/attach" + assert call["body"] == {**LINK_BASE, "properties": { + "class": "ProjectTargetProperties", "typeName": "ProjectTarget", "label": "scope", + "description": "The repository the project upgrades."}} + + +@pytest.mark.asyncio +async def test_link_project_target_with_no_properties_sends_none(monkeypatch): + fake = h.FakeEgeria(monkeypatch) + [result] = await h.run_doc(fake, f"## Link Project Target\n### Project\n{PROJECT}\n### Target Element\n{TARGET}\n") + assert result["status"] == "success", result + assert fake.calls[0]["body"] == LINK_BASE + + +@pytest.mark.asyncio +@pytest.mark.parametrize("verb", ["Detach", "Unlink"]) +async def test_detach_project_target(monkeypatch, verb): + fake = h.FakeEgeria(monkeypatch) + [result] = await h.run_doc(fake, f"## {verb} Project Target\n### Project\n{PROJECT}\n### Target Element\n{TARGET}\n") + assert result["status"] == "success", result + [call] = fake.calls + assert call["path"] == f"project-manager/projects/{PROJECT}/project-targets/{TARGET}/detach" + assert call["body"] == DELETE_BASE + + +# --------------------------------------------------------------------------------------------- Supported Variable Type + +@pytest.mark.asyncio +async def test_link_supported_variable_type_sends_position_and_cardinalities(monkeypatch): + fake = h.FakeEgeria(monkeypatch) + [result] = await h.run_doc(fake, f""" +## Link Supported Variable Type +### Element +{PROCESS} +### Schema Type +{SCHEMA_TYPE} +### Label +retries +### Position +1 +### Min Cardinality +0 +### Max Cardinality +3 +""") + assert result["status"] == "success", result + [call] = fake.calls + assert call["path"] == f"schema-maker/elements/{PROCESS}/supported-variable-types/{SCHEMA_TYPE}/attach" + assert call["body"] == {**LINK_BASE, "properties": { + "class": "SupportedVariableTypeProperties", "typeName": "SupportedVariableType", "label": "retries", + "position": 1, "minCardinality": 0, "maxCardinality": 3}} + + +@pytest.mark.asyncio +async def test_supported_variable_type_values_left_out_are_not_sent(monkeypatch): + fake = h.FakeEgeria(monkeypatch) + [result] = await h.run_doc(fake, f"## Link Supported Variable Type\n### Element\n{PROCESS}\n### Schema Type\n" + f"{SCHEMA_TYPE}\n") + assert result["status"] == "success", result + assert fake.calls[0]["body"] == LINK_BASE + + +@pytest.mark.asyncio +async def test_a_cardinality_that_is_not_a_whole_number_is_refused(monkeypatch): + fake = h.FakeEgeria(monkeypatch) + [result] = await h.run_doc(fake, f"## Link Supported Variable Type\n### Element\n{PROCESS}\n### Schema Type\n" + f"{SCHEMA_TYPE}\n### Max Cardinality\nmany\n") + assert result["status"] == "failure" + assert "Max Cardinality must be a whole number" in result["message"] + assert fake.calls == [] + + +@pytest.mark.asyncio +async def test_detach_supported_variable_type(monkeypatch): + fake = h.FakeEgeria(monkeypatch) + [result] = await h.run_doc(fake, f"## Detach Supported Variable Type\n### Element\n{PROCESS}\n### Schema Type\n" + f"{SCHEMA_TYPE}\n") + assert result["status"] == "success", result + [call] = fake.calls + assert call["path"] == f"schema-maker/elements/{PROCESS}/supported-variable-types/{SCHEMA_TYPE}/detach" + assert call["body"] == DELETE_BASE + + +# --------------------------------------------------------------------------------------------- Branch + +@pytest.mark.asyncio +async def test_set_branch_sends_branch_properties(monkeypatch): + fake = h.FakeEgeria(monkeypatch) + [result] = await h.run_doc(fake, f""" +## Set Branch +### Target Element +{LIBRARY} +### Display Name +main +### Scope +repository +### Purpose +default branch +### URL +https://github.com/odpi/egeria/tree/main +""") + assert result["status"] == "success", result + [call] = fake.calls + assert call["path"] == f"devops-pipeline/elements/{LIBRARY}/branch" + assert call["body"] == {"class": "NewClassificationRequestBody", "forLineage": False, + "forDuplicateProcessing": False, + "properties": {"class": "BranchProperties", "displayName": "main", + "scope": "repository", "purpose": "default branch", + "url": "https://github.com/odpi/egeria/tree/main"}} + + +@pytest.mark.asyncio +async def test_clear_branch_sends_a_metadata_source_body(monkeypatch): + fake = h.FakeEgeria(monkeypatch) + [result] = await h.run_doc(fake, f"## Clear Branch\n### Target Element\n{LIBRARY}\n") + assert result["status"] == "success", result + [call] = fake.calls + assert call["path"] == f"devops-pipeline/elements/{LIBRARY}/branch/remove" + assert call["body"] == {"class": "MetadataSourceRequestBody", "forLineage": False, + "forDuplicateProcessing": False} + + +# --------------------------------------------------------------------------------------------- version gate + +B3_DOCS = { + "Link Project Target": f"## Link Project Target\n### Project\n{PROJECT}\n### Target Element\n{TARGET}\n", + "Detach Project Target": f"## Detach Project Target\n### Project\n{PROJECT}\n### Target Element\n{TARGET}\n", + "Link Supported Variable Type": f"## Link Supported Variable Type\n### Element\n{PROCESS}\n### Schema Type\n{SCHEMA_TYPE}\n", + "Detach Supported Variable Type": f"## Detach Supported Variable Type\n### Element\n{PROCESS}\n### Schema Type\n{SCHEMA_TYPE}\n", + "Set Branch": f"## Set Branch\n### Target Element\n{LIBRARY}\n### Display Name\nmain\n", + "Clear Branch": f"## Clear Branch\n### Target Element\n{LIBRARY}\n", +} + + +@pytest.mark.asyncio +@pytest.mark.parametrize("directive", ["process", "validate"]) +@pytest.mark.parametrize("command", list(B3_DOCS)) +async def test_before_egeria_6_4_every_b3_command_says_needs_6_4(monkeypatch, command, directive): + fake = h.FakeEgeria(monkeypatch, about=h.ABOUT_6_3) + [result] = await h.run_doc(fake, B3_DOCS[command], directive=directive) + assert result["status"] == "warning" + assert result["message"].startswith(f"{command} needs Egeria 6.4") + assert "runs Egeria 6.3" in result["message"] and "Nothing was sent" in result["message"] + assert fake.calls == [] + + +# --------------------------------------------------------------------------------------------- spec <-> processor + +_ROOT = pathlib.Path(__file__).resolve().parents[2] +B3_FILES = { + "commands_project_compact.json": ["Link Project Target", "Detach Project Target"], + "commands_schema_maker_compact.json": ["Link Supported Variable Type", "Detach Supported Variable Type"], + "commands_devops_pipeline_compact.json": ["Set Branch", "Clear Branch"], +} + + +def test_attribute_consumption_audit_finds_nothing_on_the_b3_commands(): + spec = importlib.util.spec_from_file_location( + "dr_egeria_attribute_consumption_audit", _ROOT / "scripts" / "dr_egeria_attribute_consumption_audit.py") + audit = importlib.util.module_from_spec(spec) + sys.modules[spec.name] = audit + spec.loader.exec_module(audit) + findings = [f for c in ("Project Target", "Supported Variable Type", "Branch") for f in audit.audit(None, c)] + assert findings == [] + + +def test_every_b3_command_attribute_is_read_by_name_in_its_processor(): + source = (_ROOT / "md_processing/v2/egeria_6_4_other.py").read_text() + for fname, commands in B3_FILES.items(): + family = json.loads((_ROOT / "md_processing/data/compact_commands" / fname).read_text()) + for command in commands: + for attribute in family["commands"][command]["custom_attributes"]: + assert f'"{attribute}"' in source, (command, attribute) From b6b2900d8731ba5dc76ad5c786584d36dcb40189 Mon Sep 17 00:00:00 2001 From: Dan Wolfson Date: Sat, 21 Nov 2026 17:02:29 -0600 Subject: [PATCH 16/19] fix(dr-egeria): check an Assessment GUID belongs to the document's Element and Decision (B1 read-back W1, N1) W1: Link Assessment with an Assessment GUID updated that assessment without checking it. A copied processed document, the normal way to record a new assessment on this multi-link, carries the old GUID, so it silently overwrote the earlier assessment. Now the GUID must be one of the Decision's inputsToDecision, with the document's Element at end 1; otherwise the command is refused, saying whose assessment it is and that removing the Assessment GUID section records a new one. Update and Detach apply the same check whenever a Decision (and Element) is given with the GUID. A GUID given alone is still used as is. N1: on the HTTP 404 path the request was sent, so the gate's words now say the platform does not serve the request (HTTP 404) instead of "Nothing was sent to Egeria". Tests: a copied document for another element, or another decision, is refused with nothing sent; Update/Detach with a mismatched GUID are refused, and with a matching one proceed; a true re-run still updates; the 404 words. 5 of the 7 new or changed assessment tests fail on 64aa9f7e. Signed-off-by: Dan Wolfson --- docs/dr_egeria_manual.md | 2 +- md_processing/v2/decisions.py | 38 +++++++++- pyegeria/core/egeria_6_4_gate.py | 12 ++-- .../test_e64_b1_dr_egeria_decisions.py | 70 ++++++++++++++++++- 4 files changed, 113 insertions(+), 9 deletions(-) diff --git a/docs/dr_egeria_manual.md b/docs/dr_egeria_manual.md index f71ec3de9..f5b5fad25 100644 --- a/docs/dr_egeria_manual.md +++ b/docs/dr_egeria_manual.md @@ -302,7 +302,7 @@ Dr.Egeria organizes its commands into "families," each corresponding to a specif - **Lineage Linker** (added 2026-09-16): Create/update/detach the seven Lineage Linker OMVS relationship types (0750/0755/0770 — DataFlow, ControlFlow, ProcessCall, LineageMapping, DataMapping, UltimateSource, UltimateDestination) between two elements, e.g. `Link Data Flow`, `Update Process Call`, `Link Data Mapping`. One dedicated `Link`/`Update` command pair per type (each with only its own type's attributes — Guard/Mandatory Guard for `Control Flow`; Query/Query ID/Query Type for `Data Mapping`; One Way/Integration Style/Protocol/Frequency/Data Exchanged, reused from Solution Architect's `SolutionLinkingWire` attributes, for the rest), plus one shared `Unlink Lineage Relationship` command since detaching only needs the relationship's own GUID. Split from an earlier single generic command triple that used a `Lineage Relationship Type` selector attribute offering every type's attributes regardless of which type was picked. The split also surfaced and fixed a real gap: the pyegeria SDK's `DataFlowProperties`/`ProcessCallProperties`/`LineageMappingProperties`/`UltimateSourceProperties`/`UltimateDestinationProperties` (`pyegeria/omvs/lineage_linker.py`) were missing `oneWay`/`integrationStyle`/`protocol`/`frequency`/`dataExchanged` (and `ProcessCallProperties` was missing `lineNumber`) entirely — real fields on the Egeria DTOs (`DataLineageRelationshipProperties`/`ProcessCallProperties.java`) that had no home on the pydantic model, so a caller passing them would validate silently and have them dropped before serialization (the `PyegeriaModel` `extra='ignore'` gotcha — see the SDK section below). - **Governance Officer**: Manage governance definitions, policies, and responsibilities. - **Decisions** (Egeria 6.4, odpi/egeria#9463, model 0018; processors in `md_processing/v2/decisions.py`): `Create`/`Update Decision` (an AuthoredReferenceable with Summary, Scope, Usage, Importance, Disposition, Implications, Notes and Start / Last Review / Next Review / Expiry Time); `Link`/`Detach Decision Outcome` (the Outcome relationship, Decision → any element, with Label, Description, Importance, Disposition); `Link`/`Update`/`Detach Assessment` (the Assessment relationship, element → Decision, with Assessor, Assessor Type Name, Assessor Property Name, Assessment Time, Expiry Time, Notes, Additional Properties). - - Assessment is **multi-link**: the same element can be assessed for a decision many times, so one assessment is identified by its own `Assessment GUID`. `Link Assessment` writes it into the processed document, and running that document again updates the assessment instead of adding another. `Update`/`Detach Assessment` take the `Assessment GUID`, or else `Element` + `Decision` + `Label` (+ `Assessment Time` when more than one matches), found in the decision's assessed inputs (`inputsToDecision`). Exactly one match proceeds; none, or several, is refused with the candidates listed (GUID, label, assessmentTime). Times are compared as UTC instants, and an Assessment Time with no zone is refused. + - Assessment is **multi-link**: the same element can be assessed for a decision many times, so one assessment is identified by its own `Assessment GUID`. `Link Assessment` writes it into the processed document, and running that document again updates the assessment instead of adding another. The GUID must be the document's Decision's assessment of its Element: a copied processed document (the usual way to record a new assessment) still carries the old GUID, so it is refused, with words saying whose assessment it is; remove the `Assessment GUID` section to record a new one. `Update`/`Detach` given both a GUID and an Element/Decision check them the same way. `Update`/`Detach Assessment` take the `Assessment GUID`, or else `Element` + `Decision` + `Label` (+ `Assessment Time` when more than one matches), found in the decision's assessed inputs (`inputsToDecision`). Exactly one match proceeds; none, or several, is refused with the candidates listed (GUID, label, assessmentTime). Times are compared as UTC instants, and an Assessment Time with no zone is refused. - On an Egeria before 6.4 every one of these commands is refused with "needs Egeria 6.4" (a WARNING row; nothing is sent). The platform version comes from `/api/about` (`pyegeria/core/egeria_6_4_gate.py`); when it can't be read, a bare HTTP 404 from the request gives the same words. - **Security Officer** (added 2026-10-26, Egeria 6.3): Statements of applicability — the record of which controls from a standard (such as ISO/IEC 27001 Annex A) apply to the organization, why, and how far each is implemented. Processors in `md_processing/v2/security_officer.py`. - `Create`/`Update Statement of Applicability`: an AuthoredReferenceable with `Scope`, `Review Date`, `Authors` and `Content Status` (set APPROVED before an audit). `Certification Standard` links the certification type it is assessed against (GovernedBy); `Scoped By` links the organization, site or system it covers (ScopedBy). Leaving either out leaves its links alone; `Merge Update: false` also removes links the command no longer lists. diff --git a/md_processing/v2/decisions.py b/md_processing/v2/decisions.py index cfa30af01..5d7b51c85 100644 --- a/md_processing/v2/decisions.py +++ b/md_processing/v2/decisions.py @@ -16,7 +16,9 @@ assessmentTime, so the author can paste the right GUID. Nothing is guessed. - Times compare as UTC instants; a time with no zone is refused with words. - Link Assessment given an Assessment GUID (a processed document run again) updates that assessment instead of - adding another: Egeria never merges a second Assessment between the same two elements. + adding another: Egeria never merges a second Assessment between the same two elements. The GUID must be the + document's Decision's assessment of its Element; a copied document naming another assessment is refused (W1), + and so is an Update/Detach whose GUID doesn't match the Element/Decision it also gives. Every command is gated on Egeria 6.4 (md_processing.v2.egeria_6_4). """ @@ -155,7 +157,9 @@ async def _resolve_assessment_guid(self, attributes: Dict[str, Any]) -> str: (+ Assessment Time), read from the Decision's inputsToDecision. Zero or several matches are refused.""" explicit = value(attributes, "Assessment GUID") if explicit not in EMPTY: - return str(explicit).strip() + rel_guid = str(explicit).strip() + await self._check_guid_is_this_assessment(attributes, rel_guid) + return rel_guid what = f"{self.command.verb} {self.command.object_type}" element, decision, label = guid(attributes, "Element"), guid(attributes, "Decision"), value(attributes, "Label") missing = [n for n, v in (("Element", element), ("Decision", decision), ("Label", label)) if v in EMPTY] @@ -199,6 +203,34 @@ async def _resolve_assessment_guid(self, attributes: Dict[str, Any]) -> str: + "; ".join(_candidate_line(c) for c in matches) + f". {hint} the Assessment GUID of the one you mean. Nothing was changed.") + async def _check_guid_is_this_assessment(self, attributes: Dict[str, Any], rel_guid: str) -> None: + """An Assessment GUID given with a Decision (and Element) must be that decision's assessment (of that + element). A copied processed document, the normal way to record another assessment of a multi-link, + carries the old GUID: without this check it would silently overwrite the earlier assessment. + Given with no Decision, there is nothing to check it against (Update/Detach by GUID alone).""" + element, decision = guid(attributes, "Element"), guid(attributes, "Decision") + if not decision: + return + what = f"{self.command.verb} {self.command.object_type}" + if self.command.verb in self.LINK_VERBS: + fix = "To record a new assessment, remove the Assessment GUID section." + else: + fix = ("Give the Assessment GUID of the assessment you mean, or leave it out to pick one by Element, " + "Decision and Label.") + found = await self.e64(self.client.governance_officer._async_get_decision_by_guid(decision)) + if not isinstance(found, dict): + raise ValueError(f"{what}: decision {decision} could not be read, so Assessment GUID {rel_guid} can't be " + f"checked against it. Nothing was changed.") + match = next((c for c in found.get("inputsToDecision") or [] + if (c.get("relationshipHeader") or {}).get("guid") == rel_guid), None) + if match is None: + raise ValueError(f"{what}: Assessment GUID {rel_guid} is not one of decision {decision}'s assessed " + f"inputs; it belongs to another decision, or no longer exists. {fix} Nothing was changed.") + owner = ((match.get("relatedElement") or {}).get("elementHeader") or {}).get("guid") + if element and owner != element: + raise ValueError(f"{what}: Assessment GUID {rel_guid} is decision {decision}'s assessment of element " + f"{owner}, not of element {element}. {fix} Nothing was changed.") + @staticmethod def _with_guid_section(raw_block: str, rel_guid: str) -> str: """The command block with its ``Assessment GUID`` section set to `rel_guid` (added after the header when @@ -240,6 +272,8 @@ async def apply_changes(self) -> str: explicit = value(attributes, "Assessment GUID") if explicit not in EMPTY: rel_guid = str(explicit).strip() + self.ends(attributes, "Element", "Decision") + await self._check_guid_is_this_assessment(attributes, rel_guid) body = update_relationship_body(e64.ASSESSMENT, attributes, properties, attribute_of) self.last_body = body await self.e64(go._async_update_assessment(rel_guid, body)) diff --git a/pyegeria/core/egeria_6_4_gate.py b/pyegeria/core/egeria_6_4_gate.py index ef8b6c779..180250a09 100644 --- a/pyegeria/core/egeria_6_4_gate.py +++ b/pyegeria/core/egeria_6_4_gate.py @@ -72,11 +72,15 @@ def carries_6_4(about: Any) -> tuple[Optional[bool], str]: def needs_6_4_words(what: str, platform_url: str = "", version: str = "") -> str: - """The one sentence every 6.4 refusal uses.""" + """The one sentence every 6.4 refusal uses. + + With a version (read from /api/about), the request was never sent. Without one, the request was sent and the + platform answered HTTP 404 (it doesn't serve the request), so the words say that instead.""" where = f"the platform at {platform_url}" if platform_url else "this platform" - runs = f" runs Egeria {version}" if version else " does not serve this request" - return (f"{what} needs Egeria 6.4 (odpi/egeria#9463, process variables and decisions): {where}{runs}. " - f"Nothing was sent to Egeria.") + lead = f"{what} needs Egeria 6.4 (odpi/egeria#9463, process variables and decisions): {where}" + if version: + return f"{lead} runs Egeria {version}. Nothing was sent to Egeria." + return f"{lead} does not serve this request (HTTP 404), so nothing was changed." def is_missing_6_4_endpoint(exc: BaseException) -> bool: diff --git a/tests/micro-tests/test_e64_b1_dr_egeria_decisions.py b/tests/micro-tests/test_e64_b1_dr_egeria_decisions.py index 0c404329f..72c901e59 100644 --- a/tests/micro-tests/test_e64_b1_dr_egeria_decisions.py +++ b/tests/micro-tests/test_e64_b1_dr_egeria_decisions.py @@ -251,13 +251,78 @@ async def test_link_assessment_run_again_with_its_guid_updates_it_instead_of_add doc = ASSESSMENT_DOC.replace("### Label\n", f"### Assessment GUID\n{REL_2}\n### Label\n") [result] = await h.run_doc(fake, doc) assert result["status"] == "success", result - [call] = fake.calls + [check, call] = fake.calls # the GUID is checked against the Decision's assessed inputs first (W1) + assert check["path"] == f"governance-officer/decisions/{DECISION}/retrieve" assert call["path"] == f"governance-officer/assessments/{REL_2}/update" assert call["body"] == {"class": "UpdateRelationshipRequestBody", "forLineage": False, "forDuplicateProcessing": False, "mergeUpdate": True, "properties": ASSESSMENT_PROPERTIES} assert result["output"].count("### Assessment GUID") == 1 +OTHER_ELEMENT = "e0000000-0000-4000-8000-000000000009" +OTHER_DECISION = "d0000000-0000-4000-8000-000000000009" + + +@pytest.mark.asyncio +async def test_a_copied_document_for_another_element_is_refused_and_nothing_is_sent(monkeypatch): + """W1: copying a processed document is the normal way to record a new assessment (multi-link); its old + Assessment GUID must not overwrite the assessment it came from.""" + fake = h.FakeEgeria(monkeypatch, respond=_decision_with(INPUTS)) + doc = (ASSESSMENT_DOC.replace(f"### Element\n{ELEMENT}", f"### Element\n{OTHER_ELEMENT}") + .replace("### Label\n", f"### Assessment GUID\n{REL_2}\n### Label\n")) + [result] = await h.run_doc(fake, doc) + assert result["status"] == "failure" + message = result["message"] + assert f"Assessment GUID {REL_2} is decision {DECISION}'s assessment of element {ELEMENT}" in message + assert f"not of element {OTHER_ELEMENT}" in message + assert "To record a new assessment, remove the Assessment GUID section" in message + assert not [c for c in fake.calls if not c["path"].endswith("/retrieve")] + + +@pytest.mark.asyncio +async def test_a_copied_document_for_another_decision_is_refused(monkeypatch): + def respond(method, path, body): + if path.endswith(f"decisions/{OTHER_DECISION}/retrieve"): + return {"class": "DecisionResponse", "relatedHTTPCode": 200, + "element": {"elementHeader": {"guid": OTHER_DECISION}, "properties": {}, + "inputsToDecision": [_assessment(REL_3, ELEMENT, "fit", "2026-11-21T10:00:00Z")]}} + return None + + fake = h.FakeEgeria(monkeypatch, respond=respond) + doc = (ASSESSMENT_DOC.replace(f"### Decision\n{DECISION}", f"### Decision\n{OTHER_DECISION}") + .replace("### Label\n", f"### Assessment GUID\n{REL_1}\n### Label\n")) + [result] = await h.run_doc(fake, doc) + assert result["status"] == "failure" + assert f"is not one of decision {OTHER_DECISION}'s assessed inputs" in result["message"] + assert "remove the Assessment GUID section" in result["message"] + assert not [c for c in fake.calls if not c["path"].endswith("/retrieve")] + + +@pytest.mark.asyncio +@pytest.mark.parametrize("verb", ["Update", "Detach"]) +async def test_update_and_detach_check_a_guid_against_the_element_and_decision_given(monkeypatch, verb): + fake = h.FakeEgeria(monkeypatch, respond=_decision_with(INPUTS)) + doc = (f"## {verb} Assessment\n### Assessment GUID\n{REL_1}\n### Element\n{OTHER_ELEMENT}\n" + f"### Decision\n{DECISION}\n" + ("### Notes\nx\n" if verb == "Update" else "")) + [result] = await h.run_doc(fake, doc) + assert result["status"] == "failure" + assert f"assessment of element {ELEMENT}, not of element {OTHER_ELEMENT}" in result["message"] + assert "leave it out to pick one by Element, Decision and Label" in result["message"] + assert not [c for c in fake.calls if not c["path"].endswith("/retrieve")] + + +@pytest.mark.asyncio +@pytest.mark.parametrize("verb", ["Update", "Detach"]) +async def test_update_and_detach_with_a_matching_guid_proceed(monkeypatch, verb): + fake = h.FakeEgeria(monkeypatch, respond=_decision_with(INPUTS)) + doc = (f"## {verb} Assessment\n### Assessment GUID\n{REL_1}\n### Element\n{ELEMENT}\n" + f"### Decision\n{DECISION}\n" + ("### Notes\nx\n" if verb == "Update" else "")) + [result] = await h.run_doc(fake, doc) + assert result["status"] == "success", result + assert [c["path"] for c in fake.calls if not c["path"].endswith("/retrieve")] == [ + f"governance-officer/assessments/{REL_1}/{verb.lower()}"] + + @pytest.mark.asyncio async def test_update_assessment_by_guid(monkeypatch): fake = h.FakeEgeria(monkeypatch) @@ -410,7 +475,8 @@ def respond(method, path, body): fake = h.FakeEgeria(monkeypatch, about="not json", respond=respond) [result] = await h.run_doc(fake, B1_DOCS["Link Decision Outcome"]) assert result["status"] == "warning" - assert "needs Egeria 6.4" in result["message"] and "does not serve this request" in result["message"] + assert "needs Egeria 6.4" in result["message"] and "does not serve this request (HTTP 404)" in result["message"] + assert "Nothing was sent" not in result["message"] # N1: it was sent, and refused @pytest.mark.parametrize("about, expected", [ From eb7a04a43d39fd31486b6b960794d3ab21f22b51 Mon Sep 17 00:00:00 2001 From: Dan Wolfson Date: Fri, 20 Nov 2026 08:34:41 -0600 Subject: [PATCH 17/19] fix(report-specs): show Project scope in the default Projects report spec (PY-5 / EG-14) Egeria #9448 added ProjectProperties.scope and the server round-trips it, but the hand-maintained PROJECT_COLUMNS (behind the default "Projects" spec used by find_projects / get_project_by_guid) had no Scope column, so DICT, MD and REPORT output dropped it. Add the column and regenerate the Project Manager seed file. Signed-off-by: Dan Wolfson --- pyegeria/view/base_report_formats.py | 1 + pyegeria/view/seed/Project Manager.json | 1 + .../micro-tests/test_project_scope_output.py | 49 +++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 tests/micro-tests/test_project_scope_output.py diff --git a/pyegeria/view/base_report_formats.py b/pyegeria/view/base_report_formats.py index 1f254e735..32efeacd6 100644 --- a/pyegeria/view/base_report_formats.py +++ b/pyegeria/view/base_report_formats.py @@ -561,6 +561,7 @@ def _user_report_specs_dir() -> str: PROJECT_COLUMNS = COMMON_COLUMNS + [ Column(name="Classifications", key='classifications'), Column(name='Priority', key='priority'), + Column(name='Scope', key='scope'), Column(name='Project Status', key='project_status'), Column(name='Element Status', key='status'), Column(name='Start Date', key='start_date'), diff --git a/pyegeria/view/seed/Project Manager.json b/pyegeria/view/seed/Project Manager.json index 1f4a0f59a..fabb855dc 100644 --- a/pyegeria/view/seed/Project Manager.json +++ b/pyegeria/view/seed/Project Manager.json @@ -45,6 +45,7 @@ {"field": "url", "label": "URL"}, {"field": "classifications", "label": "Classifications"}, {"field": "priority", "label": "Priority"}, + {"field": "scope", "label": "Scope"}, {"field": "project_status", "label": "Project Status"}, {"field": "status", "label": "Element Status"}, {"field": "start_date", "label": "Start Date"}, diff --git a/tests/micro-tests/test_project_scope_output.py b/tests/micro-tests/test_project_scope_output.py new file mode 100644 index 000000000..59d5de979 --- /dev/null +++ b/tests/micro-tests/test_project_scope_output.py @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +"""PY-5 / EG-14: Project ``properties.scope`` (odpi/egeria #9448) must appear in the formatted output. + +The server round-trips scope; the default "Projects" report spec (PROJECT_COLUMNS) had no Scope column, so +DICT/MD/REPORT output silently dropped it. +""" +from unittest.mock import patch + +from pyegeria.omvs.project_manager import ProjectManager + + +def _client() -> ProjectManager: + with patch("pyegeria.core._base_server_client.BaseServerClient.check_connection", return_value=""): + return ProjectManager(view_server="fake-view", platform_url="https://fake:9443", + user_id="fake-user", user_pwd="fake-pwd") + + +def _element(scope=None): + props = {"class": "ProjectProperties", "qualifiedName": "Project::scope-test", "displayName": "Scope Test", + "description": "d", "projectStatus": "ACTIVE", "priority": 1} + if scope is not None: + props["scope"] = scope + return {"class": "OpenMetadataRootElement", + "elementHeader": {"guid": "3bd40b37-3d70-4caa-9733-91548ba0eee1", + "type": {"typeName": "Project"}, "origin": {}, "versions": {}}, + "properties": props} + + +def _out(fmt, scope): + return _client()._generate_project_output([_element(scope)], "scope", "Project", fmt, "Projects") + + +def test_dict_has_scope(): + rows = _out("DICT", "In: portal. Out: billing.") + assert rows[0]["Scope"] == "In: portal. Out: billing." + + +def test_md_and_report_have_scope_column_and_value(): + for fmt in ("MD", "REPORT"): + text = _out(fmt, "In: portal. Out: billing.") + assert "Scope" in text and "In: portal. Out: billing." in text, fmt + + +def test_unset_scope_is_empty_in_dict(): + # DICT rows are keyed by column name; an unset value is None like every other unset column. + # (MD/REPORT render every unset column as the text "None" -- generic formatter behaviour, not Scope-specific.) + assert _out("DICT", None)[0]["Scope"] in (None, "") + assert _out("DICT", "")[0]["Scope"] in (None, "") From 5bf2a53e292ce010af06b92bf8ea509201b017aa Mon Sep 17 00:00:00 2001 From: Dan Wolfson Date: Fri, 20 Nov 2026 12:46:52 -0600 Subject: [PATCH 18/19] fix(report-specs): show Project scope in My-User-Projects-Detail (PY-5 follow-up) Adds the Scope column to the My Profile project detail spec, as every other Project, Campaign and Task spec already has it, and regenerates the seed. Signed-off-by: Dan Wolfson --- pyegeria/view/base_report_formats.py | 1 + pyegeria/view/seed/MyProfile.json | 1 + tests/micro-tests/test_project_scope_output.py | 6 ++++++ 3 files changed, 8 insertions(+) diff --git a/pyegeria/view/base_report_formats.py b/pyegeria/view/base_report_formats.py index 32efeacd6..c1a0c2792 100644 --- a/pyegeria/view/base_report_formats.py +++ b/pyegeria/view/base_report_formats.py @@ -1301,6 +1301,7 @@ def _user_report_specs_dir() -> str: Column(name="Project Type", key="projectType"), Column(name="Description", key="description"), Column(name="Priority", key="priority"), + Column(name="Scope", key="scope"), Column(name="GUID", key="guid", format=True), ], ) diff --git a/pyegeria/view/seed/MyProfile.json b/pyegeria/view/seed/MyProfile.json index c1108d293..329cc756f 100644 --- a/pyegeria/view/seed/MyProfile.json +++ b/pyegeria/view/seed/MyProfile.json @@ -388,6 +388,7 @@ {"field": "projectType", "label": "Project Type"}, {"field": "description", "label": "Description"}, {"field": "priority", "label": "Priority"}, + {"field": "scope", "label": "Scope"}, {"field": "guid", "label": "GUID", "format": true} ] }, diff --git a/tests/micro-tests/test_project_scope_output.py b/tests/micro-tests/test_project_scope_output.py index 59d5de979..4160e1b47 100644 --- a/tests/micro-tests/test_project_scope_output.py +++ b/tests/micro-tests/test_project_scope_output.py @@ -47,3 +47,9 @@ def test_unset_scope_is_empty_in_dict(): # (MD/REPORT render every unset column as the text "None" -- generic formatter behaviour, not Scope-specific.) assert _out("DICT", None)[0]["Scope"] in (None, "") assert _out("DICT", "")[0]["Scope"] in (None, "") + + +def test_my_user_projects_detail_has_scope(): + from pyegeria.view.base_report_formats import get_report_registry + fs = get_report_registry()["My-User-Projects-Detail"] + assert "Scope" in [c.name for f in fs.formats for c in f.attributes] From 067bdd7f4c2a4156070d46ff02c8e475760b40be Mon Sep 17 00:00:00 2001 From: Dan Wolfson Date: Sun, 22 Nov 2026 06:22:25 -0600 Subject: [PATCH 19/19] chore(release): bump version to 6.3.2 Early Egeria 6.4 support (Decisions, Data Values, Project Target, Supported Variable Type, Branch: wrappers A0-A6 and Dr.Egeria B1-B3), PY-45 Properties-class keys, PY-5 Project scope in report specs, and My Profile #604/#605. Release notes added to the 6.3.x page. Signed-off-by: Dan Wolfson --- docs/release-notes/6.3.x-egeria-6.3.md | 57 ++++++++++++++++++++++++-- pyproject.toml | 2 +- uv.lock | 2 +- 3 files changed, 56 insertions(+), 5 deletions(-) diff --git a/docs/release-notes/6.3.x-egeria-6.3.md b/docs/release-notes/6.3.x-egeria-6.3.md index dcfc10101..14f8595b0 100644 --- a/docs/release-notes/6.3.x-egeria-6.3.md +++ b/docs/release-notes/6.3.x-egeria-6.3.md @@ -1,12 +1,62 @@ -# pyegeria 6.3.1, with 6.3.0 and the 6.2 series that led to it +# pyegeria 6.3.2, with 6.3.1, 6.3.0 and the 6.2 series that led to them -pyegeria 6.3.1 is the Python client for **Egeria 6.3**. This page describes what's new in 6.3.1 and 6.3.0, then the -6.2 series of releases that led up to them. +pyegeria 6.3.2 is the Python client for **Egeria 6.3**. It also carries early support for the types Egeria 6.4 adds. +This page describes what's new in 6.3.2, 6.3.1 and 6.3.0, then the 6.2 series of releases that led up to them. ```bash pip install -U pyegeria ``` +## pyegeria 6.3.2 + +Released 2026-11-22. + +### Early support for Egeria 6.4 types + +Egeria 6.4 is not released yet. These calls need a platform built from Egeria main at or after +[odpi/egeria#9463](https://github.com/odpi/egeria/pull/9463) (merged as `90232870b2`); a 6.3 platform answers them with +404. Nothing that worked against 6.3 changes. + +- **Decisions** (`GovernanceOfficer`): create, create from template, update, delete, get by name or GUID, and find; + link and detach a decision's outcomes; and link, update and detach Assessments. An Assessment can be linked more + than once between the same element and decision, so `link_assessment` returns the Assessment's own GUID, and + `update_assessment` and `detach_assessment` take it. +- **Data values** (`DataEngineer`): the lifecycle for `DataValue` and `LiteralDataValue` (create, create from + template, update, delete, get by name or GUID, and find), and link and detach for a data value's sources, a + Processing Variable (the data values that configure an element) and embedded data values. +- **Project targets** (`ProjectManager.setup_project_target` / `clear_project_target`), **supported variable types** + (`SchemaMaker.link_supported_variable_type` / `detach_supported_variable_type`) and a new **`DevopsPipeline`** + client that sets and clears the **Branch** classification. +- **Bodies are checked before they are sent.** Every 6.4 call sends your body as given, but refuses it locally if + `properties.class` is not one the request accepts, or if it carries a key that class doesn't read. Egeria + ignores unknown keys, so without this check such a key would be dropped without a word. +- **Dr.Egeria commands** for all of the above: Create/Update Decision, Link/Detach Decision Outcome, Link/Update/Detach + Assessment (Governance Officer); Create/Update Data Value and Link/Detach Data Value Source, Processing Variable and + Embedded Data Value (a new Data Engineer family); Link/Detach Project Target, Link/Detach Supported Variable Type and + Set/Clear Branch (a new Devops Pipeline family). Link Assessment writes the new Assessment GUID into the processed + document, so running the document again updates that Assessment instead of adding another. +- **Report specs** for Decision, Data-Value and Literal-Data-Value, so Dr.Egeria Display and Portal tables have + columns for the new types. + +### Fixes + +- **Project scope is shown** in the default Projects report spec (behind `find_projects` and + `get_project_by_guid`) and in My Profile's project detail. Egeria stores `scope`, but DICT, MD and REPORT output + used to drop it (PY-5, EG-14). +- **Dr.Egeria accepts every key a Properties class really reads.** The generated table of keys now follows Egeria's + public setters through the whole superclass chain, the way Egeria's JSON reader binds them. Valid keys such as + `resourceUse` on resource lists, and the query options under find-property-names requests, were being refused + (PY-45). +- **My Profile:** mouse clicks land on the right row and footer keys + ([#605](https://github.com/odpi/egeria-python/pull/605)). + +### Also included + +- **My Profile: Work with Projects and Find Project** ([#604](https://github.com/odpi/egeria-python/pull/604)). +- The generated relationship and Properties-class tables were regenerated from Egeria main at `90232870b2`. + Report-spec authoring now allows every relationship list in them, so a later Egeria's lists need no hand edit. +- `scripts/audit_properties_class_bodies.py` reports request bodies whose keys their Properties class doesn't read. + ## pyegeria 6.3.1 Released 2026-11-18 ([odpi/egeria-python#603](https://github.com/odpi/egeria-python/pull/603), [release](https://github.com/odpi/egeria-python/releases/tag/v6.3.1)). @@ -266,6 +316,7 @@ These three releases, from November 12 to 15, came just before 6.3.0. | 6.2.40 – 6.2.42 | Nov 12 – Nov 15 | #593, #595, #598 | | 6.3.0 | Nov 16 | #600 | | 6.3.1 | Nov 18 | #603 | +| 6.3.2 | Nov 22 | this release | Detailed notes: [6.2.26](6.2.26.md) · [6.2.27](6.2.27.md) · [6.2.28](6.2.28.md) · [6.2.29](6.2.29.md) · [6.2.30](6.2.30.md) · [6.2.31](6.2.31.md) · [6.2.32](6.2.32.md) · [6.2.33](6.2.33.md) · [6.2.34](6.2.34.md) · diff --git a/pyproject.toml b/pyproject.toml index 1ef4f6f48..4d4906090 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "pyegeria" -version = "6.3.1" +version = "6.3.2" license = 'Apache-2.0' license-files = ["LICENSE"] authors = [{name = "Dan Wolfson", email = "dan.wolfson@pdr-associates.com"},] diff --git a/uv.lock b/uv.lock index 8189c13fa..85c89a9aa 100644 --- a/uv.lock +++ b/uv.lock @@ -2271,7 +2271,7 @@ sdist = { url = "https://files.pythonhosted.org/packages/f8/f6/8f49005d581cff883 [[package]] name = "pyegeria" -version = "6.3.1" +version = "6.3.2" source = { editable = "." } dependencies = [ { name = "altair" },