diff --git a/open-metadata-distribution/omag-server-platform/build.gradle b/open-metadata-distribution/omag-server-platform/build.gradle index 2b5a5ac0bf3..c170c11745b 100644 --- a/open-metadata-distribution/omag-server-platform/build.gradle +++ b/open-metadata-distribution/omag-server-platform/build.gradle @@ -40,7 +40,7 @@ dependencies { implementation project(':open-metadata-implementation:adapters:open-connectors:integration-connectors:jdbc-integration-connector') implementation project(':open-metadata-implementation:adapters:open-connectors:integration-connectors:openapi-integration-connector') implementation project(':open-metadata-implementation:adapters:open-connectors:integration-connectors:openlineage-integration-connectors') - implementation project(':open-metadata-implementation:adapters:open-connectors:integration-connectors:elasticsearch-integration-connector') + //implementation project(':open-metadata-implementation:adapters:open-connectors:integration-connectors:elasticsearch-integration-connector') implementation project(':open-metadata-implementation:adapters:open-connectors:file-survey-connectors') implementation project(':open-metadata-implementation:adapters:open-connectors:report-generating-connectors') implementation project(':open-metadata-implementation:adapters:open-connectors:dynamic-archiver-connectors') @@ -55,12 +55,12 @@ dependencies { implementation project(':open-metadata-implementation:adapters:open-connectors:system-connectors:apache-kafka-connectors') implementation project(':open-metadata-implementation:adapters:open-connectors:system-connectors:postgres-server-connectors') implementation project(':open-metadata-implementation:adapters:open-connectors:secrets-store-connectors:env-variable-secrets-store-connector') - implementation project(':open-metadata-implementation:access-services:asset-catalog:asset-catalog-client') +// implementation project(':open-metadata-implementation:access-services:asset-catalog:asset-catalog-client') implementation project(':open-metadata-implementation:access-services:asset-consumer:asset-consumer-client') implementation project(':open-metadata-implementation:access-services:asset-lineage:asset-lineage-client') implementation project(':open-metadata-implementation:access-services:asset-manager:asset-manager-client') implementation project(':open-metadata-implementation:access-services:asset-owner:asset-owner-client') - implementation project(':open-metadata-implementation:access-services:data-engine:data-engine-client') +// implementation project(':open-metadata-implementation:access-services:data-engine:data-engine-client') implementation project(':open-metadata-implementation:access-services:it-infrastructure:it-infrastructure-client') implementation project(':open-metadata-implementation:access-services:data-manager:data-manager-client') implementation project(':open-metadata-implementation:access-services:data-privacy:data-privacy-client') @@ -73,7 +73,7 @@ dependencies { implementation project(':open-metadata-implementation:access-services:project-management:project-management-client') implementation project(':open-metadata-implementation:access-services:security-manager:security-manager-client') implementation project(':open-metadata-implementation:access-services:software-developer:software-developer-client') - implementation project(':open-metadata-implementation:access-services:subject-area:subject-area-client') +// implementation project(':open-metadata-implementation:access-services:subject-area:subject-area-client') implementation project(':open-metadata-implementation:engine-services:repository-governance:repository-governance-client') implementation project(':open-metadata-implementation:engine-services:survey-action:survey-action-client') implementation project(':open-metadata-implementation:engine-services:governance-action:governance-action-client') @@ -87,18 +87,17 @@ dependencies { implementation project(':open-metadata-implementation:integration-services:organization-integrator:organization-integrator-client') implementation project(':open-metadata-implementation:integration-services:security-integrator:security-integrator-client') implementation project(':open-metadata-implementation:integration-services:topic-integrator:topic-integrator-client') - implementation project(':open-metadata-implementation:integration-services:search-integrator:search-integrator-client') +// implementation project(':open-metadata-implementation:integration-services:search-integrator:search-integrator-client') implementation project(':open-metadata-implementation:governance-server-services:engine-host-services:engine-host-services-client') implementation project(':open-metadata-implementation:governance-server-services:integration-daemon-services:integration-daemon-services-client') implementation project(':open-metadata-implementation:governance-server-services:lineage-warehouse-services:lineage-warehouse-services-client') implementation project(':open-metadata-implementation:admin-services:admin-services-client') - implementation project(':open-metadata-implementation:user-interfaces:ui-chassis:ui-chassis-spring') +// implementation project(':open-metadata-implementation:user-interfaces:ui-chassis:ui-chassis-spring') implementation project(':open-metadata-conformance-suite:open-metadata-conformance-suite-client') implementation project(':open-metadata-resources:open-metadata-samples:admin-services-samples:config-metadata-server-sample') implementation project(':open-metadata-resources:open-metadata-archives:open-metadata-types-utility') implementation project(':open-metadata-resources:open-metadata-archives:open-connector-archives') implementation project(':open-metadata-resources:open-metadata-samples:sample-metadata:big-glossaries') - implementation project(':open-metadata-resources:open-metadata-samples:governance-services-sample') implementation project(':open-metadata-resources:open-metadata-samples:open-metadata-security-samples') implementation project(':open-metadata-resources:open-metadata-samples:access-services-samples:asset-management-samples:asset-create-avro-sample') implementation project(':open-metadata-resources:open-metadata-samples:access-services-samples:asset-management-samples:asset-create-csv-sample') @@ -111,7 +110,7 @@ dependencies { implementation project(':open-metadata-resources:open-metadata-samples:access-services-samples:governance-program-client-samples:governance-leadership-sample') implementation project(':open-metadata-resources:open-metadata-samples:access-services-samples:governance-program-client-samples:governance-subject-area-sample') implementation project(':open-metadata-resources:open-metadata-samples:access-services-samples:governance-program-client-samples:governance-zone-create-sample') - implementation project(':open-metadata-resources:open-metadata-samples:access-services-samples:subject-area-client-samples:subject-area-categories-sample') +// implementation project(':open-metadata-resources:open-metadata-samples:access-services-samples:subject-area-client-samples:subject-area-categories-sample') } distributions { @@ -208,7 +207,7 @@ distributions { from { project(':open-metadata-implementation:adapters:open-connectors:integration-connectors:jdbc-integration-connector').jar } from { project(':open-metadata-implementation:adapters:open-connectors:integration-connectors:openapi-integration-connector').jar } from { project(':open-metadata-implementation:adapters:open-connectors:integration-connectors:openlineage-integration-connectors').jar } - from { project(':open-metadata-implementation:adapters:open-connectors:integration-connectors:elasticsearch-integration-connector').jar } + //from { project(':open-metadata-implementation:adapters:open-connectors:integration-connectors:elasticsearch-integration-connector').jar } from { project(':open-metadata-implementation:adapters:open-connectors:event-bus-connectors:open-metadata-topic-connectors:inmemory-open-metadata-topic-connector').jar } from { project(':open-metadata-implementation:adapters:open-connectors:event-bus-connectors:open-metadata-topic-connectors:kafka-open-metadata-topic-connector').jar } from { project(':open-metadata-implementation:adapters:open-connectors:lineage-warehouse-connectors:lineage-warehouse-janus-connector').jar } @@ -218,7 +217,6 @@ distributions { from { project(':open-metadata-implementation:adapters:open-connectors:system-connectors:apache-atlas-connectors').jar } from { project(':open-metadata-implementation:adapters:open-connectors:system-connectors:apache-kafka-connectors').jar } from { project(':open-metadata-implementation:adapters:open-connectors:system-connectors:postgres-server-connectors').shadowJar } - from { project(':open-metadata-resources:open-metadata-samples:governance-services-sample').jar } fileMode = 0755 } into('assembly/platform/extra') { @@ -321,7 +319,7 @@ distributions { from { project(':open-metadata-resources:open-metadata-samples:access-services-samples:governance-program-client-samples:governance-leadership-sample').shadowJar } from { project(':open-metadata-resources:open-metadata-samples:access-services-samples:governance-program-client-samples:governance-subject-area-sample').shadowJar } from { project(':open-metadata-resources:open-metadata-samples:access-services-samples:governance-program-client-samples:governance-zone-create-sample').shadowJar } - from { project(':open-metadata-resources:open-metadata-samples:access-services-samples:subject-area-client-samples:subject-area-categories-sample').shadowJar } + //from { project(':open-metadata-resources:open-metadata-samples:access-services-samples:subject-area-client-samples:subject-area-categories-sample').shadowJar } from { project(':open-metadata-resources:open-metadata-samples:access-services-samples:glossary-workflow-samples').shadowJar } from { project(':open-metadata-resources:open-metadata-samples:admin-services-samples:config-metadata-server-sample').shadowJar } rename { String fileName -> diff --git a/open-metadata-implementation/adapters/open-connectors/integration-connectors/elasticsearch-integration-connector/build.gradle b/open-metadata-implementation/adapters/open-connectors/integration-connectors/elasticsearch-integration-connector/build.gradle index 35cb606cc22..6d39ef2be77 100644 --- a/open-metadata-implementation/adapters/open-connectors/integration-connectors/elasticsearch-integration-connector/build.gradle +++ b/open-metadata-implementation/adapters/open-connectors/integration-connectors/elasticsearch-integration-connector/build.gradle @@ -9,7 +9,7 @@ dependencies { compileOnly project(':open-metadata-implementation:frameworks:open-metadata-framework') compileOnly project(':open-metadata-implementation:frameworks:open-connector-framework') compileOnly project(':open-metadata-implementation:frameworks:open-integration-framework') - compileOnly project(':open-metadata-implementation:integration-services:search-integrator:search-integrator-api') +// compileOnly project(':open-metadata-implementation:integration-services:search-integrator:search-integrator-api') compileOnly project(':open-metadata-implementation:repository-services:repository-services-apis') implementation project(':open-metadata-implementation:adapters:open-connectors:rest-client-connectors:rest-client-connectors-api') implementation project(':open-metadata-implementation:adapters:open-connectors:rest-client-connectors:rest-client-factory') diff --git a/open-metadata-implementation/common-services/generic-handlers/src/main/java/org/odpi/openmetadata/commonservices/generichandlers/OpenMetadataAPIGenericHandler.java b/open-metadata-implementation/common-services/generic-handlers/src/main/java/org/odpi/openmetadata/commonservices/generichandlers/OpenMetadataAPIGenericHandler.java index b28c4229155..2bd9ee3a359 100644 --- a/open-metadata-implementation/common-services/generic-handlers/src/main/java/org/odpi/openmetadata/commonservices/generichandlers/OpenMetadataAPIGenericHandler.java +++ b/open-metadata-implementation/common-services/generic-handlers/src/main/java/org/odpi/openmetadata/commonservices/generichandlers/OpenMetadataAPIGenericHandler.java @@ -2980,6 +2980,14 @@ else if ((repositoryHelper.isTypeOf(serviceName, targetTypeName, OpenMetadataTyp anchorIdentifiers.anchorTypeName = targetTypeName; } + if ((anchorIdentifiers != null) && + (anchorIdentifiers.anchorGUID != null) && + (anchorIdentifiers.anchorTypeName != null) && + (anchorIdentifiers.anchorDomainName == null)) + { + anchorIdentifiers.anchorDomainName = this.getDomainName(anchorIdentifiers.anchorTypeName); + } + return anchorIdentifiers; } diff --git a/open-metadata-implementation/framework-services/gaf-metadata-management/gaf-metadata-client/src/main/java/org/odpi/openmetadata/frameworkservices/gaf/client/OpenMetadataClientBase.java b/open-metadata-implementation/framework-services/gaf-metadata-management/gaf-metadata-client/src/main/java/org/odpi/openmetadata/frameworkservices/gaf/client/OpenMetadataClientBase.java index 6f3cc3ef5ba..f5373a3a67f 100644 --- a/open-metadata-implementation/framework-services/gaf-metadata-management/gaf-metadata-client/src/main/java/org/odpi/openmetadata/frameworkservices/gaf/client/OpenMetadataClientBase.java +++ b/open-metadata-implementation/framework-services/gaf-metadata-management/gaf-metadata-client/src/main/java/org/odpi/openmetadata/frameworkservices/gaf/client/OpenMetadataClientBase.java @@ -57,7 +57,6 @@ public OpenMetadataClientBase(String serviceURLMarker, this.invalidParameterHandler.setMaxPagingSize(maxPageSize); this.invalidParameterHandler.validateOMAGServerPlatformURL(serverPlatformURLRoot, serverName, methodName); - this.restClient = new GAFRESTClient(serverName, serverPlatformURLRoot); } @@ -134,6 +133,13 @@ public void setMaxPageSize(int maxPageSize) } + /** + * Get the maximum paging size. + * + * @return maxPagingSize new value + */ + public int getMaxPagingSize() { return invalidParameterHandler.getMaxPagingSize(); } + /** * Convert the date into a long to send in URL. * diff --git a/open-metadata-implementation/frameworks/README.md b/open-metadata-implementation/frameworks/README.md index 2b8057015d3..834231819f5 100644 --- a/open-metadata-implementation/frameworks/README.md +++ b/open-metadata-implementation/frameworks/README.md @@ -28,16 +28,12 @@ OCF connectors also provide detailed metadata about the resources they access. (called governance action services) that take action to assess and correct a situation that is harmful to the data, or the organization in some way. -* **[Open Discovery Framework (ODF)](open-discovery-framework)** provides the interfaces and base implementations for components -(called discovery services) that access data-related assets and extract characteristics -about the data that can be stored in an open metadata repository. - * **[Survey Action Framework (SAF)](survey-action-framework)** provides the interfaces and base implementations for components (called survey action services) that survey and extract characteristics about the real-world resources and stores them in an open metadata repository. -* **[Event Action Framework (EAF)](context-event-framework)** provides the interfaces and base implementations for components - (called event action services) that manage context events and time-based services. +* **[Context Event Framework (CEF)](context-event-framework)** provides the interfaces and base implementations for components + (called context event services) that manage context events and time-based services. diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/README.md b/open-metadata-implementation/frameworks/open-discovery-framework/README.md deleted file mode 100644 index f430e878f49..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/README.md +++ /dev/null @@ -1,28 +0,0 @@ - - - -![Deprecated](../../../images/egeria-content-status-deprecated.png#pagewidth) - -# Open Discovery Framework (ODF) - -The Open Discovery Framework (ODF) enables -[metadata discovery tools](https://egeria-project.org/features/discovery-and-stewardship/overview) -to integrate with open metadata repositories by defining the interfaces -for metadata discovery components (called discovery services) to: - -* Access metadata discovery configuration. -* Search for assets in the metadata repository. -* Extract all of the metadata known about a specific asset. -* Record the results of the analysis in the open metadata repository and attach it to the - asset's metadata for later processing. - -More information is available [here](docs). - - ----- -Return to [frameworks](..). - - ----- -License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), -Copyright Contributors to the ODPi Egeria project. \ No newline at end of file diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/build.gradle b/open-metadata-implementation/frameworks/open-discovery-framework/build.gradle deleted file mode 100644 index b2209e5f899..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/build.gradle +++ /dev/null @@ -1,27 +0,0 @@ -/* - * SPDX-License-Identifier: Apache-2.0 - * Copyright Contributors to the ODPi Egeria project. - */ - - -dependencies { - implementation 'com.fasterxml.jackson.core:jackson-databind' - compileOnly 'com.fasterxml.jackson.core:jackson-annotations' - implementation project(':open-metadata-implementation:frameworks:audit-log-framework') - implementation project(':open-metadata-implementation:frameworks:open-connector-framework') - implementation project(':open-metadata-implementation:frameworks:open-metadata-framework') - implementation project(':open-metadata-implementation:frameworks:governance-action-framework') - testImplementation 'org.testng:testng' -} - -description = 'Open Discovery Framework (ODF)' - -java { - withJavadocJar() -} - -test { - useTestNG() - // This will default to standard search pattern - see https://docs.gradle.org/current/userguide/java_testing.html#sec:test_detection - scanForTestClasses = false -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/docs/README.md b/open-metadata-implementation/frameworks/open-discovery-framework/docs/README.md deleted file mode 100644 index f9f911ddff4..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/docs/README.md +++ /dev/null @@ -1,10 +0,0 @@ - - - -# Open Discovery Framework (ODF) Documentation - -See the [Egeria Docs Website](https://egeria-project.org/framworks/odf/overview), - ----- -License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), -Copyright Contributors to the ODPi Egeria project. \ No newline at end of file diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-analysis-report-store.md b/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-analysis-report-store.md deleted file mode 100644 index e6415d9df1f..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-analysis-report-store.md +++ /dev/null @@ -1,15 +0,0 @@ - - - -# Discovery Analysis Report Store - -The discovery analysis report store is a client to an open metadata server that enables -a [discovery service](discovery-service.md) to query the properties of its -[discovery analysis report](discovery-analysis-report.md) and update the analysis step that is currently executing. - -The discovery analysis report store is accessed -from the [discovery annotation store](discovery-annotation-store.md). - ----- -License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), -Copyright Contributors to the ODPi Egeria project. \ No newline at end of file diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-analysis-report.md b/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-analysis-report.md deleted file mode 100644 index 3bbc9a8e2d9..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-analysis-report.md +++ /dev/null @@ -1,29 +0,0 @@ - - - -# Discovery Analysis Report - -The discovery analysis report lists the [discovery annotations](discovery-annotation.md) -that were created during the execution of -a [discovery service](discovery-service.md). - -The discovery analysis report is created in the open metadata repository -by the [discovery engine](discovery-engine.md) when it creates the -discovery service instance. -The discovery service can retrieve information about the discovery analysis report -through the [discovery analysis report store](discovery-analysis-report-store.md) client. - -This client is accessed -through the [discovery annotation store](discovery-annotation-store.md). - -The discovery analysis report store also enables a long running discovery service -(typically a [discovery pipeline](discovery-pipeline.md)) to record its current -analysis step. - - - - - ----- -License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), -Copyright Contributors to the ODPi Egeria project. \ No newline at end of file diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-annotation-store.md b/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-annotation-store.md deleted file mode 100644 index f6e7a060d45..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-annotation-store.md +++ /dev/null @@ -1,24 +0,0 @@ - - - -# Discovery Annotation Store - -The discovery annotation store provides -a [discovery-service](discovery-service.md) -with a client to write [discovery annotations](discovery-annotation.md) to an open -metadata repository. These annotations describe the -results of the analysis performed on an asset by the -discovery service. - -The annotations are linked to a [discovery analysis report](discovery-analysis-report.md) -that is in turn linked off of the analysed asset. - -The discovery service is passed -the discovery annotation store via the -[discovery context](discovery-context.md). - - - ----- -License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), -Copyright Contributors to the ODPi Egeria project. \ No newline at end of file diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-annotation.md b/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-annotation.md deleted file mode 100644 index 0dbf045d719..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-annotation.md +++ /dev/null @@ -1,51 +0,0 @@ - - - -# Discovery Annotations - -A discovery annotation describes one or more related properties about an -[Asset](https://egeria-project.org/concepts/asset) that has been -discovered by a [discovery service](https://egeria-project.org/concepts/open-discovery-service). - -Some discovery annotations refer to an entire asset and others refer to a data field within -an asset. The annotations that describe a single data field are called **data field annotations**. - -The annotation types defined in the [Open Discovery Framework (ODF)](https://egeria-project.org/) are as follows: - -* **Classification Annotation** - Captures a recommendation of which classifications to - attach to this asset. It can be made at the asset or data field level. -* **Data Class Annotation** - Captures a recommendation of which data class this data field - closely represents. -* **Data Profile Annotation** - Capture the characteristics of the data values stored in a specific - data field in a data source. -* **Data Profile Log Annotation** - Capture the named of the log files where profile - characteristics of the data values stored in a specific data field. This is used when the profile - results are too large to store in open metadata. -* **Data Source Measurement Annotation** - collect arbitrary properties about a data source. -* **Data Source Physical Status Annotation** - documents the physical characteristics of a data source asset. -* **Relationship Advice Annotation** - document a recommended relationship that should be established with - the asset. -* **Quality Annotation** - document calculated quality scores on different dimensions. -* **Schema Analysis Annotation** - document the structure of the data (schema) inside the asset. -* **Semantic Annotation** - documents suggested meanings for this data based on the values and name - of the field. -* **Suspect Duplicate Annotation** - identifies other asset definitions that seem to point to the same physical - asset. - -## Open Metadata Types for Discovery Annotations - -The open metadata types for a discovery annotations are described in -[Area 6](https://egeria-project.org/types). - -The main entity type is called -[Annotation](https://egeria-project.org/types/6/0610-Annotations). -It is extended by -[DataFieldAnnotation](https://egeria-project.org/types/6/0617-Data-Field-Analysis) -to distinguish annotations that refer, primarily to a data field. -Other more specialist annotations extend these two basic annotation types. - - - ----- -License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), -Copyright Contributors to the ODPi Egeria project. \ No newline at end of file diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-asset-catalog-store.md b/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-asset-catalog-store.md deleted file mode 100644 index 27897039549..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-asset-catalog-store.md +++ /dev/null @@ -1,17 +0,0 @@ - - - -# Discovery Asset Catalog Store - -The discovery asset catalog store provides a search interface -that enables a [discovery service](discovery-service.md) -to locate assets that are described in the open metadata repository. - -The discovery service is passed -the discovery asset catalog store via the -[discovery context](discovery-context.md). - - ----- -License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), -Copyright Contributors to the ODPi Egeria project. \ No newline at end of file diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-asset-store.md b/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-asset-store.md deleted file mode 100644 index bca9e078fb3..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-asset-store.md +++ /dev/null @@ -1,15 +0,0 @@ - - - -# Discovery Asset Store - -The discovery asset catalog store provides a [discovery service](discovery-service.md) -with access to all of the known metadata about the asset it is to analyse. - -The discovery service is passed the discovery asset store via the -[discovery context](discovery-context.md). - - ----- -License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), -Copyright Contributors to the ODPi Egeria project. \ No newline at end of file diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-configuration-server.md b/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-configuration-server.md deleted file mode 100644 index 2293210356e..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-configuration-server.md +++ /dev/null @@ -1,26 +0,0 @@ - - - -# Discovery Configuration Server - -The discovery configuration server is the server responsible for -holding and managing the configuration needed by the -[discovery servers](discovery-server.md) and -the [discovery engines](discovery-engine.md) within them. - -This configuration consists of defining which [discovery request types](discovery-request-type.md) are supported and -which [discovery services](discovery-service.md) they map to. - -## Implementation in Egeria - -Egeria's discovery configuration server support is implemented by the -[Discovery Engine OMAS](../../../access-services/discovery-engine). -It has a [client](../../../access-services/discovery-engine/discovery-engine-client) called `DiscoveryConfigurationClient` that -implements the ODF's `DiscoveryConfigurationServer` interface. -It also supports event notifications through -the [Discovery Engine OMAS's out topic](https://egeria-project.org/concepts/out-topic). - - ----- -License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), -Copyright Contributors to the ODPi Egeria project. \ No newline at end of file diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-context.md b/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-context.md deleted file mode 100644 index 6826c1778e1..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-context.md +++ /dev/null @@ -1,19 +0,0 @@ - - - -# Discovery Context - -provides the discovery service with access to information about -the discovery request along with the open metadata repository interfaces. - -The discovery context provides parameters used by -a [discovery service](discovery-service.md) to locate -and analyze an asset and then record the results. - - -![Figure 1](discovery-context.png) - - ----- -License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), -Copyright Contributors to the ODPi Egeria project. \ No newline at end of file diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-context.png b/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-context.png deleted file mode 100644 index f2b7b671c2d..00000000000 Binary files a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-context.png and /dev/null differ diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-engine.md b/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-engine.md deleted file mode 100644 index 060c4419c1b..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-engine.md +++ /dev/null @@ -1,33 +0,0 @@ - - - -# Discovery Engine - -A discovery engine is the execution environment for special types of connectors called -[discovery services](discovery-service.md). -Each discovery service implements a specific type of analysis. This analysis is looking -into the content of the physical real-world counterpart of an Asset in the metadata repository. -The result of its analysis is stored as [Annotations](discovery-annotation.md) -and linked off of the asset's description in the metadata repository. - -The discovery engine configuration defines a set of discovery services. Its definition is stored in -an open metadata repository and maintained through the -[Discovery Engine OMAS's configuration API](../../../access-services/discovery-engine). - -Discovery engines are hosted in [discovery servers](discovery-server.md). -Discovery servers are deployed close to the physical assets they are analysing. -They connect to the [Discovery Engine OMAS](../../../access-services/discovery-engine) -running in a metadata server -to provide metadata about assets and to -store the results of the discovery service's analysis. - -## Further reading - -Egeria's implementation of the discovery engine is provided by the -[Asset Analysis Open Metadata Engine Service (OMES)](../../../engine-services/asset-analysis). - - - ----- -License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), -Copyright Contributors to the ODPi Egeria project. \ No newline at end of file diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-pipeline.md b/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-pipeline.md deleted file mode 100644 index df80a991acf..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-pipeline.md +++ /dev/null @@ -1,18 +0,0 @@ - - - -# Discovery Pipeline - -A discovery pipeline is a specialized implementation of a [discovery service](discovery-service.md) -that runs a set of discovery services against a single asset. The implementation of -the discovery pipeline determines the order that these discovery services are run. - -The aim of the discovery pipeline is to enable a detailed picture of the properties -of an asset to be built up by the discovery services it calls. Each discovery service -is able to access the results of the discovery services that have run before it. - -The results created by a discovery pipeline are stored in [Annotations](discovery-annotation.md).. - ----- -License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), -Copyright Contributors to the ODPi Egeria project. \ No newline at end of file diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-request-type.md b/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-request-type.md deleted file mode 100644 index 6cc705a61e2..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-request-type.md +++ /dev/null @@ -1,20 +0,0 @@ - - - -# Discovery Request Type - -The discovery request type, as the name suggests, is the -name of the type of discovery that a -[discovery engine](discovery-engine.md) should run. -It is a string value and is defined in the -[discovery configuration server](discovery-configuration-server.md). - -Each discovery request type is associated with a -[discovery service](discovery-service.md). -When a discovery request is made the discovery engine, -it looks up the discovery request type and runs the -associated discovery service. - ----- -License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), -Copyright Contributors to the ODPi Egeria project. \ No newline at end of file diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-server.drawio b/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-server.drawio deleted file mode 100644 index 224535a6ecb..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-server.drawio +++ /dev/null @@ -1 +0,0 @@ -7Vtbd6I6FP41XeucB10QLuJj73M6t047a9p5jBAlM0gYiFX7608CQS6JylRQOx0fWrIJEb5vZ1/xxDifLq5jGPkfiYeCE6B5ixPj4gQAoGs6+8cly0xiAzsTTGLsZSK9ENzjZySEmpDOsIeSykRKSEBxVBW6JAyRSysyGMdkXp02JkH1WyM4QZLg3oWBLH3AHvWFVLeHxYl3CE988dUOGGQnpjCfLJ4k8aFH5iWRcXlinMeE0OxoujhHAQcvxyW77mrN2dWNxSikTS6YXl09/3pcXIH3T2hx+ePhQfcfe7pg4wkGM/HE4m7pMocgJrPQQ3wV7cQ4m/uYovsIuvzsnJHOZD6dBmyks0MY4EnIjuMMkrMxDoJzEpA4XcvwLOR4JpMnNCY/UemMA0aGbbMz8nOJR31CMUWLkkg85zUiU0TjJZuSnx0IzIXSWY4Yz0sU2kLml9hbXQiF2kxWaxfIsgMB7m8APZRwvsCJS9gz8fu+DCc4RLshz+HBTHFPBQOURDL+4/EYuK4Kf88e2VZb+GtV/FfjEv6GpsDfBF3hr2/E/x7FT9jdkYAWgAO5WRHArYxHWXGBAji7K9zA68RteGjcjFeJm2EfGjfzdeBWM3CmocDNGe4RN1vCBHkskBFDElOfTEgIg8tCelZFrZjzgXDXkWL1A1G6FFEZnFFSRRItMH3kl/eBJYbfS6cuFmLpdLDMByF73sfy4Hu6hJUPi8vSUX7dWtoSMotdtAEbK5tHYTxBdLuP4MBtVIIYBZDip2qE2Dqjg7+M7swoOCpGnb+M7syocVSMWhu91S2OULBzXN+Bu9KtQ7urPL0vIXeaZvFBwLJ4TEI2IOOcRwYV0LwCWTvgqeUoZkcTfhQJoBN+qyGfnGSBQtKXsGeQ0SrAMUrwMxylEzgfEcEhTR/YOjuxLnhSy3ZVkm2wco4boDFdm3gljFAcTr6m21QrBB/Siy6G7TBrOqDKrO4omFUEcEZnzMqZ1mmVvZwcvt19SDnTsesjlpEyphOZXUJ9FKuXeHv8OjK/q1rZfviVM8L/plGApoiDyvcfDJYJTvINDDlzkMLCCfAKnswyoy2GLtcG14f8CMU4YbivFmJaUCwlFIdBK6/kEXfG7ya1GjhM7yn9ExIKuW1hSmPDKScxHCXRiqg3o0TAMmUlMhVKZHWmRJvTvLwcpn2OEKfuI6IwI77O9SmzHNzLA+0KB4d3tPqw6mhtReFrv/m0vjlEWSXUdWBv4BPfZyt86+f/uTm9+5dNGB8l7AP90LAPJNgllBIfRvxwHKDFKW9VpOG0Jw4v3AAmCXbXRfMvCeaL+P17JXxvO5gXkeT2hFtULbZG8yUerQ12qnHQL77hlhvxkhpZVTVy6tXo7MHFVaDUaqktVI+3B/W2QoaMtFCqaqvH3kH7HEn77tAsSd0XZ9T9eRwer2e2Vca0KnhbBpD2/1ChN210G56vb9+N5ueXHz9bPXL96dvs5uFZ0W1oZffXm2kQOWM+ZUxCKgoAuqFq7tiug0bjsi3Q+5o2qCb3mj7cYhHS0S0LzBhKKN5mJrZu/+FR7X4p1Nacl+1+E9QXsrra/UrlkwP0vSpfoWK/VzvKXVuPaSKDvvBuha9b49/YoK6U63dAI6+mxHXQUK2to1JrC1RbPPrA7Nf08cWKLS/VsWrLweyrU23DqKi2fRSq7Ry1ygJz+FKVNWqZgWKpjlVWfsGmwYsfh4vG6iqfjsWNWd0VKIyax2yYNncWwMnpW6PC/lvnbXBo3uTEp8nrA2+cNmAomgZd0eZ9mr7Ddz/R3L5xPPvbl/eTs2Xu1w/TGc2PG8WaL2yMJszL0DwGCUmIctkV5kiJKxRRChOKKbpQj5Ln19JPU8+vRL5prtY0qG2977rprtXbvF6qvEO/Ziih8omvy2jH2mW+613ebohbKmbq1ZBF1axVdfTaqGUqwd74KtsfBrbqRa69gi03RmTTuC2bWWMkWn+pY6vRMBsajT2Vd2u5gFknsWlSUa8Td1jeVeqInFKkHXaUuDGOaNYOC+GU/xszLRCt0/qGpOmGzHqr5da6aK0qr2ERTZD24ucw6/byTq4Wz8I/vQ/f04HR17XSp1YKcQZyCKX6hUEbLVWlUnTUcGqh5JyHWX0N5NUOYXh+v67X6YtpSlwd2dZtCkmOxNb1dGOzvpqDl9m+HnN9/fK6em3dYX/oyF+7J8u4Of1bxSaaMhh5Y1kgM2lgo4rkvw0om7RBO1khGxY/fMvIL34+aFz+Dw==7Vxdc9o4FP01zOw+JGPJnzwmkKbNkDYL223ztGNsYdwYi9qCQH/9Slg2tiTAAUyZsDwk9pUtx/dcHZ17JdLSO5PFfeJOx4/YR1ELav6ipXdbELZ1SH8ywzIzWNDKDEES+pkJrA2D8BfiRo1bZ6GP0sqFBOOIhNOq0cNxjDxSsblJgl+rl41wVH3q1A2QZBh4biRbv4U+GXMrsNrrho8oDMb80Q60s4aJm1/M3yQduz5+LZn0u5beSTAm2dFk0UER813uF2Q/2N/0sZP4xOr2tPGH4XP7Kuvsw1tuKV4hQTHZu+vU/z6H4Onr6xV4ufdf+v3gc5h3PXejGffXl8ebe2oZoGSOEnrwFLlkhJMJ9wFZ5o5N8Cz2Eetca+m3r+OQoMHU9VjrK40kahuTSUTPAD10ozCI6bFH34B2q9/SzklIUbrhDQSzO0ZhFHVwhJPVI3TfRI5vUHtKEvyCSi0OHOqWRVtquiZ/T/pUtCgFBnfVPcITRJIlvSSPew46j3po8vPXUgxZ3DYuhU8RLS6P26Doeo0NPeDwqKGyPr5cfQoX/at0cdfTJssXa4wUUG2BBNSHJMn+eNH3o9EIep7k+xjHqEG3O1W3m0B2u63wum435HR4iU7XLTnWHYXXHXC415WspEle74aph+kbLUvU1CgfTULfj5p0OtAEhnGg7HVD4XUAjsAwSrfLwX59fU17isKh5G36lqTq0gSl4S93uLqAITDFYUxWf6J52zK7zOkzgtNMIJQxiNCIbJwRUgphGAd/s5PuldEk4+sC9dgSHio4GuP73YMgpMENrYg5b0jHgxWwowd37tL2m8Qbh3NF+x8PN/0/mZAKKVIHjaHGRgYQkDBkJABUQGE1BYVeB4p0IxadyE1T1n5UxjofrSRSmaHVpLLGALN2T9tUzU/Z4ShCixuWZ1AHodjnh12PYRZ6VQyo35Lld4bXtZmfPpfbugsOZna2zM8WISndRs+eSy3rm9hJfo+sDOjnzSCmeJZ4aLfAIW4SILI7UUB+JduSQ6IEualAPLcliKYVjJ8q6Z4iDPgTnthkslGxWG0hkLLX5jeVcyKhH6ALHRlCR5lfpI5WQVm89f5xaktxelbpl4uckaxGaYvlOWj49misTymGLagjaNKxUy8D05piFUdC6xER13eJ+25UqSGMLGgp5l6lKhVHztG83t7m9T6aUklJMH+OiuC9ZRRSCJLd7h9mWPWGhcH1XoIVgl9mhPYiKtcCp8bgMIWZ1ZQHQRHvZTja5uFowCD5t6u92vNPf/nEWMx7y/nVDlV6FwfMS1D7MkUx/bVGSpRGhT7VPpytELXaRsX7uqGrSKgpKTpdoPuX/uTHD2THPz+bwUP0Pb5SKBk2Jw/4KU7IGAc4dqO7tfW26s31NT28SquYD38gQpa8esvytHrCZy111MJnk4gZ4Zjwh1Gxv0kgga0CiZ08oSSkfmVjcGXbXxwpgz2vVx9LHB2oeqBYMhArARtkzx5qZZs7SmPf9Wjek/IEqI8x+drvyWO9ctVnd6LISv2cRDIGUeRS9Lc7YQM/HqbTAmoV37uJX3+q3VB8GGJC8IRVMfIIG2SFCB5ovIwB7XWJorfqqWs2WaIAOf8sBe4p85Fpy3zkHIGPlDEh14xUpToRzA6OR2FAL+hibzZBPFy315eacio0TcmrQPaqapY9huZRelUuOGwM9zflrznNlrPQgnI30GxO/cU8ULprD+o/MkVrNan3NHmpWRUMlgOvBSFWNzO1YJXrdduodnS8zFTpV6OZCNwUFfsKjH2Ew/4RuC0rLIuEbXnMmUaqYe4bqUCrdmW2pa6OF6tqTfxbJDGPPFDhUliTTLUqmcJ92bQ03vgiIbXQjCrKdQp1PZFH5MrML3v73FoeEtvW73YOCefYuvmg1Eo/nzDaL4r2DaKaQbIr1v4PIhpExvkEkb1fFNmnV3bvCH9T0k1ZrjNL6MNxLEXH+1tH18WtU4qNDW2FsDnGQroSEnkx8CZNEVMwHZe4EWZ5aAtSf2i5fUBwItck3yFUQEgygK0qcKp2XDWGlrwkdhPHmPDRcznQ2KAKjanLwKhqEo0BI69+Kea6KAqnKapRfkun2WbfUbhgM5+8pCKtOXZsyiRO0ZJv5oUtXk7mfwVoyeXlpkCyhFVKXZMLR7oCI70pjOS1MnDpGEGjWtwzFSXTk2IE5DK6IoG9LJCEVWcA5FnotBjJMq6HXf+M5p2TUZwhrIE68vBpalukGhpZzp2bJjgVNqYw/RjKTTKqImJz6Mjy7UIHDhA4zWjL0Jx24MgCbsAqPK2Ne5cuDyQIDAkk1TcfmgNJVnCKsuRliQNxkybU5O+nnFQdqBKfU+7BOU7V9zD4du6Jqbswe+A6FrCvbb1dfGynqlbEL4Ydb4eMOjJkcZJvh1BsgcuqTc2Rbv4ls3NjXbs6nNuqXXXKb/k1NqBl1WJeOuvmXwIs9j7KM2NTpPs4+Jkmz17UeVyAB2zPya9/SF4X/E2cK2x+2bleW1lS46tl5fW07A7FXon1kloOdilMtNXnIK7e9jWEprnaFva0QNtqip2VISQL4HxtRrEjsbSNTWwq9ijupO76G/p3k7zM88eJjv1rAfRTk7nNt7MCPV3/a4UsAtb/n0K/+w8=7VlNc5swEP01PqYDksH2MXGc9BC3nfGh6VFGC6iVERXyV359BQgDhiR2YsbpxBeP9q1YWftWTxL08HixuZckDqeCAu8hi256+LaH0Agj/ZsC2xxwkZsDgWQ0h+wSmLEnMKBl0CWjkNQ6KiG4YnEd9EQUgadqGJFSrOvdfMHro8YkgAYw8whvoj8ZVWGODtGgxL8CC8JiZNsd5Z4FKTqbmSQhoWJdgfCkh8dSCJW3Fpsx8DR3RV6eoocr6iWDx+nDwEnot8kPMr7Kg90d88huChIideLQfTM3tS0SBlTnz5hCqlAEIiJ8UqI3UiwjCmlYS1tlnwchYg3aGvwNSm1NMZClEhoK1YIbL2yYeqy0f6WhvgwcY95uTOjM2BZGpOT2sWpUH0vt8rnMKh5MFJHqOi0lDUQiggK7Y5ybPgdm2DCRiKX04IV+Jqt6kABeimeWUprySrUa/u5BLEBPRHeQwIliq3pJE7Mygl2/kn3dMAVwRDGYf70ifGlGumWJJ1aQxna5nsjNXOpWkLZmILWjUT312liHTMEsJlmy1lpf6nWgAyiml+o1Z0GksblQSiy0w9fMjAUXMguKfd9HnpfRJsUfqHioO3cd92gC04Fh82LKCy82q39b6IOx16WY2CODhRUhQY7VEU1Og6YpKEKJIp+Wpb4zqrM0cJosDVpYsjtjyUbnVFarpqzoQGW168qKXlPWE6ume6Bq9j+Uatr44xD9Np4/4Ab6f5aCe8wGOokCplOJrO/T69n7FHpPiKkDQ9pvE+IhmmO3UyF269slslqEGLUIsduVDg/ewsl7yCBmm+TgqxZuCAz91k3S9YYw97s8yvT3jjK45SjTuknaXZEzvJDzDDm74+Nr5HS2cEbHcFMglK1q7Lh/l8L4y1btiSQmUfW0yjRzxqX/dtVbgbNhCvQU9eBpOvU5uTt+d+9Dtnt8V/htu0b0OzufWhd+u+R3dG5+7Qu/HfK7092z8dt8DWA3cqnjsDiBA/KYxPnLV59t0tw3E+uLSBV3mpYzJ2BvaFltW+d4bFmZJ41QwS3L4F1RhvfPOy2Si1sow51R1rwftLwkuFBWvT6cm7Lm9aHluv+ZKevvC6PTvPGdiDJtll9bMl/lkxWe/AM=7Vxtc6I6FP41frkz7UBA1I9W+7Iz7dzetXd299OdFCJmGwkbYqv99TeBRJBgfVmpdkvHmZpDSOA8T855cqBtOYPp/JrBeHJHA0RawArmLWfYAsDutHvil7QsMosHvMwQMhyoTrlhhF+RMlrKOsMBSlY6ckoJx/Gq0adRhHy+YoOM0ZfVbmNKVmeNYYgMw8iHxLR+wwGfZNYu6OT2G4TDiZ7Z9tQNT6HurO4kmcCAvhRMzmXLGTBKefZtOh8gIp2n/QK8MQj/QfhpdHl31cOv/8XP8Vk22NUupyxvgaGIH3ZoJxv6GZKZ8tcQJz59RmwxoBFHc67unS+0Q5MXPCUwEq2LsegyUkds0fYnmAS3cEFn8jITDv0n3bqYUIZfRX9IVGdxmHHFF8EpMRomZEAJZek8zniMPN9fOXMkRxRHLWFlKBHn3muf2CXTHZyvdLyFCVcGnxIC4wQ/Lq97ClmIowvKOZ2qTgln9AkVLifo9B4teQQSHEbC5otZkDh4sSU6CkXhWuHWAjcVWteIThFnC9FFHW0r3qmFBxzVfslp7FjKNilS2AVq+ailEy6HzukhviiG7MAW12BLC1ykEyWIX//7Zdhy+qI54gxHoUGclE1lz0Y0Y1IBe2XSfiZoLE+TfsNiWfeVmdNYDhZDX8x1m/YZurnlq/KHNEk6j0m6dCc4CFAkWUE55DCjgEQ1pjjiqb/aF+Ij3DqwztuttrjwgWjbeVt8ZHfGxQIR9wJxijoS/HpBkmPb8sHZmg+aAN52+Ot+B4e/vQb+WYLYl6DBvkbs2+DI2Hvrln4EySLBiYi6UMyEWJLx4A7GLeARBXpKCTGxRR9/yiQPvDD3VkOTg9Gk092OJk5dGcK21/CEoV8zce8o6EeR9Cum0cMiRoottzjhZbo0FKmFIra9pYyojyPd9aKzL5XEQPiU0HDEKUO7yE9DmVWj/Xsq9cTU6DrRXJcodZ2SKq2g01KpFunkWXXRqWeGnAFo9cV8lv7SxJA3SdDdmgXrpWgl6LXJEb0nX8kzJZQJTtHLUNZ7f3sviKcCLIJyTB8k5MMz28DdMXF3KjAm8BGRe5pgmQeFjWV9S9gfDd4KtVkJb7cudMGGDNGkho+QGnq9I6cGYJa3mtSwU+xYrsQPlBqqqlRNajgQvEdPDWYRKk8Ny61lkx8+QH5wesfeOoCKqlaTH3YKIO2tWXAy+aHT5If64D16fjCrAX8Z8KIo6MtHy6JF43QlTfhUh21xUAVtG+gornsHGE5pFDxMcFQK8LarDVdYXnGKFQpCpLOMAGNCQxpBcplbN5HnUUXyNF8VYrWV/qQXK5z2XU8nGz9k41wAp9rDefHocKFbc8y/6zsW37PT2qqVnyQb+pzdEkNCZ8xHb/RTOk34LETb7F+lN7fJM/oCdJrJWgwRIQ2eiyNU00+Ney/XUz6ovZq72qCUk7K7VSeBwlP48jidDQNl7jAGShfD8l73Xx+OWTjReBlJrrAoNuqjZZhLVcranCTjkhxuxmmiFs4b7K5NiVhgBQRguWbUqspJdQkRx3xsslS1I8Sesd+o2RNTs2dLWXoylXD9xKaRs3s/TdueBqciZ52KGlcjZw8F77HlrGMWs/5oOVupSkFXt6t1qWzcI4bT90+KancfYXxgkatfiNiocvVW66gqF5TEqbOvyu1uGKhulWtWCT+jyi0/j7GPrHLNctunCGbnluWsBDS72307oP3Orr4cCQ8c0Lxt4xk4gXhWqji33X3jWW/DQHXHM7Nm2cQzp1ux4XrXeGa+yGai8ufEswMHEucUAsSZXSKVa+8ZIsp/rVHe5dcdIcy69+eLECX5Ctz3CxCD2U3772+/Xm9+Pj3dRJc/gvghOTNrrYVn1dl781+R3NcaSDXFvaMW9zpuKSp0KqRzXbW9SipVvFfflPbW1H7eXIsnWdmrvOKKam5T2DsQuO9Y16u8YLNo+yl2wh+lrFfc3b5FuKNqV6/0AMrdt1rnlna3nl26lsNp10pnmjXuzyddO6UXDFyvtmKdaOb/tCDDMP/XD87l/w== \ No newline at end of file diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-server.md b/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-server.md deleted file mode 100644 index b1d30b227b5..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-server.md +++ /dev/null @@ -1,24 +0,0 @@ - - - -# Discovery server - -The discovery server is the server environment that hosts one or more -[discovery engines](https://egeria-project.org/concepts/open-discovery-engine). - -In Egeria, the discovery server is implemented by the -[Asset Analysis](../../../engine-services/asset-analysis) running in the -[Engine Host](https://egeria-project.org/concepts/engine-host) OMAG Server. - - -## Further information - - * The [Discovery Engine OMAS](https://egeria-project.org/services/omas/discovery-engine/overview) - provides the metadata service for the discovery server. It runs in - a [Metadata Access Server](https://egeria-project.org/concepts/metadata-access-server). - Many discovery servers can use the same metadata server. - - ----- -License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), -Copyright Contributors to the ODPi Egeria project. \ No newline at end of file diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-service.md b/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-service.md deleted file mode 100644 index dd2c4bf7531..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/docs/discovery-service.md +++ /dev/null @@ -1,21 +0,0 @@ - - - -# Discovery Service - -A discovery service is a component that performs analysis of specific -[Asset](https://egeria-project.org/concepts/asset) on request. - -It is implemented as a specialized [Open Connector Framework (OCF)](https://egeria-project.org/frameworks/ocf/overview) -connector. The interface and base class are provided by the [Open Discovery Framework (ODF)](https://egeria-project.org/frameworks/odf/overview). - -A discovery service is initialized with a connector to the Asset it is to analyze and details of -the results of other discovery services that have run before it if it is part of a -[discovery pipeline](discovery-pipeline.md). - -The results of a discovery service are stored in [Annotations](discovery-annotation.md). - - ----- -License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), -Copyright Contributors to the ODPi Egeria project. \ No newline at end of file diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/docs/open-discovery.drawio b/open-metadata-implementation/frameworks/open-discovery-framework/docs/open-discovery.drawio deleted file mode 100644 index 92d549ba096..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/docs/open-discovery.drawio +++ /dev/null @@ -1 +0,0 @@ -7Vtbd6I6FP41XeucB10QLuJj73M6t047a9p5jBAlM0gYiFX7608CQS6JylRQOx0fWrIJEb5vZ1/xxDifLq5jGPkfiYeCE6B5ixPj4gQAoGs6+8cly0xiAzsTTGLsZSK9ENzjZySEmpDOsIeSykRKSEBxVBW6JAyRSysyGMdkXp02JkH1WyM4QZLg3oWBLH3AHvWFVLeHxYl3CE988dUOGGQnpjCfLJ4k8aFH5iWRcXlinMeE0OxoujhHAQcvxyW77mrN2dWNxSikTS6YXl09/3pcXIH3T2hx+ePhQfcfe7pg4wkGM/HE4m7pMocgJrPQQ3wV7cQ4m/uYovsIuvzsnJHOZD6dBmyks0MY4EnIjuMMkrMxDoJzEpA4XcvwLOR4JpMnNCY/UemMA0aGbbMz8nOJR31CMUWLkkg85zUiU0TjJZuSnx0IzIXSWY4Yz0sU2kLml9hbXQiF2kxWaxfIsgMB7m8APZRwvsCJS9gz8fu+DCc4RLshz+HBTHFPBQOURDL+4/EYuK4Kf88e2VZb+GtV/FfjEv6GpsDfBF3hr2/E/x7FT9jdkYAWgAO5WRHArYxHWXGBAji7K9zA68RteGjcjFeJm2EfGjfzdeBWM3CmocDNGe4RN1vCBHkskBFDElOfTEgIg8tCelZFrZjzgXDXkWL1A1G6FFEZnFFSRRItMH3kl/eBJYbfS6cuFmLpdLDMByF73sfy4Hu6hJUPi8vSUX7dWtoSMotdtAEbK5tHYTxBdLuP4MBtVIIYBZDip2qE2Dqjg7+M7swoOCpGnb+M7syocVSMWhu91S2OULBzXN+Bu9KtQ7urPL0vIXeaZvFBwLJ4TEI2IOOcRwYV0LwCWTvgqeUoZkcTfhQJoBN+qyGfnGSBQtKXsGeQ0SrAMUrwMxylEzgfEcEhTR/YOjuxLnhSy3ZVkm2wco4boDFdm3gljFAcTr6m21QrBB/Siy6G7TBrOqDKrO4omFUEcEZnzMqZ1mmVvZwcvt19SDnTsesjlpEyphOZXUJ9FKuXeHv8OjK/q1rZfviVM8L/plGApoiDyvcfDJYJTvINDDlzkMLCCfAKnswyoy2GLtcG14f8CMU4YbivFmJaUCwlFIdBK6/kEXfG7ya1GjhM7yn9ExIKuW1hSmPDKScxHCXRiqg3o0TAMmUlMhVKZHWmRJvTvLwcpn2OEKfuI6IwI77O9SmzHNzLA+0KB4d3tPqw6mhtReFrv/m0vjlEWSXUdWBv4BPfZyt86+f/uTm9+5dNGB8l7AP90LAPJNgllBIfRvxwHKDFKW9VpOG0Jw4v3AAmCXbXRfMvCeaL+P17JXxvO5gXkeT2hFtULbZG8yUerQ12qnHQL77hlhvxkhpZVTVy6tXo7MHFVaDUaqktVI+3B/W2QoaMtFCqaqvH3kH7HEn77tAsSd0XZ9T9eRwer2e2Vca0KnhbBpD2/1ChN210G56vb9+N5ueXHz9bPXL96dvs5uFZ0W1oZffXm2kQOWM+ZUxCKgoAuqFq7tiug0bjsi3Q+5o2qCb3mj7cYhHS0S0LzBhKKN5mJrZu/+FR7X4p1Nacl+1+E9QXsrra/UrlkwP0vSpfoWK/VzvKXVuPaSKDvvBuha9b49/YoK6U63dAI6+mxHXQUK2to1JrC1RbPPrA7Nf08cWKLS/VsWrLweyrU23DqKi2fRSq7Ry1ygJz+FKVNWqZgWKpjlVWfsGmwYsfh4vG6iqfjsWNWd0VKIyax2yYNncWwMnpW6PC/lvnbXBo3uTEp8nrA2+cNmAomgZd0eZ9mr7Ddz/R3L5xPPvbl/eTs2Xu1w/TGc2PG8WaL2yMJszL0DwGCUmIctkV5kiJKxRRChOKKbpQj5Ln19JPU8+vRL5prtY0qG2977rprtXbvF6qvEO/Ziih8omvy2jH2mW+613ebohbKmbq1ZBF1axVdfTaqGUqwd74KtsfBrbqRa69gi03RmTTuC2bWWMkWn+pY6vRMBsajT2Vd2u5gFknsWlSUa8Td1jeVeqInFKkHXaUuDGOaNYOC+GU/xszLRCt0/qGpOmGzHqr5da6aK0qr2ERTZD24ucw6/byTq4Wz8I/vQ/f04HR17XSp1YKcQZyCKX6hUEbLVWlUnTUcGqh5JyHWX0N5NUOYXh+v67X6YtpSlwd2dZtCkmOxNb1dGOzvpqDl9m+HnN9/fK6em3dYX/oyF+7J8u4Of1bxSaaMhh5Y1kgM2lgo4rkvw0om7RBO1khGxY/fMvIL34+aFz+Dw==7Vxdc9o4FP01zOw+JGPJnzwmkKbNkDYL223ztGNsYdwYi9qCQH/9Slg2tiTAAUyZsDwk9pUtx/dcHZ17JdLSO5PFfeJOx4/YR1ELav6ipXdbELZ1SH8ywzIzWNDKDEES+pkJrA2D8BfiRo1bZ6GP0sqFBOOIhNOq0cNxjDxSsblJgl+rl41wVH3q1A2QZBh4biRbv4U+GXMrsNrrho8oDMb80Q60s4aJm1/M3yQduz5+LZn0u5beSTAm2dFk0UER813uF2Q/2N/0sZP4xOr2tPGH4XP7Kuvsw1tuKV4hQTHZu+vU/z6H4Onr6xV4ufdf+v3gc5h3PXejGffXl8ebe2oZoGSOEnrwFLlkhJMJ9wFZ5o5N8Cz2Eetca+m3r+OQoMHU9VjrK40kahuTSUTPAD10ozCI6bFH34B2q9/SzklIUbrhDQSzO0ZhFHVwhJPVI3TfRI5vUHtKEvyCSi0OHOqWRVtquiZ/T/pUtCgFBnfVPcITRJIlvSSPew46j3po8vPXUgxZ3DYuhU8RLS6P26Doeo0NPeDwqKGyPr5cfQoX/at0cdfTJssXa4wUUG2BBNSHJMn+eNH3o9EIep7k+xjHqEG3O1W3m0B2u63wum435HR4iU7XLTnWHYXXHXC415WspEle74aph+kbLUvU1CgfTULfj5p0OtAEhnGg7HVD4XUAjsAwSrfLwX59fU17isKh5G36lqTq0gSl4S93uLqAITDFYUxWf6J52zK7zOkzgtNMIJQxiNCIbJwRUgphGAd/s5PuldEk4+sC9dgSHio4GuP73YMgpMENrYg5b0jHgxWwowd37tL2m8Qbh3NF+x8PN/0/mZAKKVIHjaHGRgYQkDBkJABUQGE1BYVeB4p0IxadyE1T1n5UxjofrSRSmaHVpLLGALN2T9tUzU/Z4ShCixuWZ1AHodjnh12PYRZ6VQyo35Lld4bXtZmfPpfbugsOZna2zM8WISndRs+eSy3rm9hJfo+sDOjnzSCmeJZ4aLfAIW4SILI7UUB+JduSQ6IEualAPLcliKYVjJ8q6Z4iDPgTnthkslGxWG0hkLLX5jeVcyKhH6ALHRlCR5lfpI5WQVm89f5xaktxelbpl4uckaxGaYvlOWj49misTymGLagjaNKxUy8D05piFUdC6xER13eJ+25UqSGMLGgp5l6lKhVHztG83t7m9T6aUklJMH+OiuC9ZRRSCJLd7h9mWPWGhcH1XoIVgl9mhPYiKtcCp8bgMIWZ1ZQHQRHvZTja5uFowCD5t6u92vNPf/nEWMx7y/nVDlV6FwfMS1D7MkUx/bVGSpRGhT7VPpytELXaRsX7uqGrSKgpKTpdoPuX/uTHD2THPz+bwUP0Pb5SKBk2Jw/4KU7IGAc4dqO7tfW26s31NT28SquYD38gQpa8esvytHrCZy111MJnk4gZ4Zjwh1Gxv0kgga0CiZ08oSSkfmVjcGXbXxwpgz2vVx9LHB2oeqBYMhArARtkzx5qZZs7SmPf9Wjek/IEqI8x+drvyWO9ctVnd6LISv2cRDIGUeRS9Lc7YQM/HqbTAmoV37uJX3+q3VB8GGJC8IRVMfIIG2SFCB5ovIwB7XWJorfqqWs2WaIAOf8sBe4p85Fpy3zkHIGPlDEh14xUpToRzA6OR2FAL+hibzZBPFy315eacio0TcmrQPaqapY9huZRelUuOGwM9zflrznNlrPQgnI30GxO/cU8ULprD+o/MkVrNan3NHmpWRUMlgOvBSFWNzO1YJXrdduodnS8zFTpV6OZCNwUFfsKjH2Ew/4RuC0rLIuEbXnMmUaqYe4bqUCrdmW2pa6OF6tqTfxbJDGPPFDhUliTTLUqmcJ92bQ03vgiIbXQjCrKdQp1PZFH5MrML3v73FoeEtvW73YOCefYuvmg1Eo/nzDaL4r2DaKaQbIr1v4PIhpExvkEkb1fFNmnV3bvCH9T0k1ZrjNL6MNxLEXH+1tH18WtU4qNDW2FsDnGQroSEnkx8CZNEVMwHZe4EWZ5aAtSf2i5fUBwItck3yFUQEgygK0qcKp2XDWGlrwkdhPHmPDRcznQ2KAKjanLwKhqEo0BI69+Kea6KAqnKapRfkun2WbfUbhgM5+8pCKtOXZsyiRO0ZJv5oUtXk7mfwVoyeXlpkCyhFVKXZMLR7oCI70pjOS1MnDpGEGjWtwzFSXTk2IE5DK6IoG9LJCEVWcA5FnotBjJMq6HXf+M5p2TUZwhrIE68vBpalukGhpZzp2bJjgVNqYw/RjKTTKqImJz6Mjy7UIHDhA4zWjL0Jx24MgCbsAqPK2Ne5cuDyQIDAkk1TcfmgNJVnCKsuRliQNxkybU5O+nnFQdqBKfU+7BOU7V9zD4du6Jqbswe+A6FrCvbb1dfGynqlbEL4Ydb4eMOjJkcZJvh1BsgcuqTc2Rbv4ls3NjXbs6nNuqXXXKb/k1NqBl1WJeOuvmXwIs9j7KM2NTpPs4+Jkmz17UeVyAB2zPya9/SF4X/E2cK2x+2bleW1lS46tl5fW07A7FXon1kloOdilMtNXnIK7e9jWEprnaFva0QNtqip2VISQL4HxtRrEjsbSNTWwq9ijupO76G/p3k7zM88eJjv1rAfRTk7nNt7MCPV3/a4UsAtb/n0K/+w8=7VlNc5swEP01PqYDksH2MXGc9BC3nfGh6VFGC6iVERXyV359BQgDhiR2YsbpxBeP9q1YWftWTxL08HixuZckDqeCAu8hi256+LaH0Agj/ZsC2xxwkZsDgWQ0h+wSmLEnMKBl0CWjkNQ6KiG4YnEd9EQUgadqGJFSrOvdfMHro8YkgAYw8whvoj8ZVWGODtGgxL8CC8JiZNsd5Z4FKTqbmSQhoWJdgfCkh8dSCJW3Fpsx8DR3RV6eoocr6iWDx+nDwEnot8kPMr7Kg90d88huChIideLQfTM3tS0SBlTnz5hCqlAEIiJ8UqI3UiwjCmlYS1tlnwchYg3aGvwNSm1NMZClEhoK1YIbL2yYeqy0f6WhvgwcY95uTOjM2BZGpOT2sWpUH0vt8rnMKh5MFJHqOi0lDUQiggK7Y5ybPgdm2DCRiKX04IV+Jqt6kABeimeWUprySrUa/u5BLEBPRHeQwIliq3pJE7Mygl2/kn3dMAVwRDGYf70ifGlGumWJJ1aQxna5nsjNXOpWkLZmILWjUT312liHTMEsJlmy1lpf6nWgAyiml+o1Z0GksblQSiy0w9fMjAUXMguKfd9HnpfRJsUfqHioO3cd92gC04Fh82LKCy82q39b6IOx16WY2CODhRUhQY7VEU1Og6YpKEKJIp+Wpb4zqrM0cJosDVpYsjtjyUbnVFarpqzoQGW168qKXlPWE6ume6Bq9j+Uatr44xD9Np4/4Ab6f5aCe8wGOokCplOJrO/T69n7FHpPiKkDQ9pvE+IhmmO3UyF269slslqEGLUIsduVDg/ewsl7yCBmm+TgqxZuCAz91k3S9YYw97s8yvT3jjK45SjTuknaXZEzvJDzDDm74+Nr5HS2cEbHcFMglK1q7Lh/l8L4y1btiSQmUfW0yjRzxqX/dtVbgbNhCvQU9eBpOvU5uTt+d+9Dtnt8V/htu0b0OzufWhd+u+R3dG5+7Qu/HfK7092z8dt8DWA3cqnjsDiBA/KYxPnLV59t0tw3E+uLSBV3mpYzJ2BvaFltW+d4bFmZJ41QwS3L4F1RhvfPOy2Si1sow51R1rwftLwkuFBWvT6cm7Lm9aHluv+ZKevvC6PTvPGdiDJtll9bMl/lkxWe/AM=7Vxtc6I6FP41frkz7UBA1I9W+7Iz7dzetXd299OdFCJmGwkbYqv99TeBRJBgfVmpdkvHmZpDSOA8T855cqBtOYPp/JrBeHJHA0RawArmLWfYAsDutHvil7QsMosHvMwQMhyoTrlhhF+RMlrKOsMBSlY6ckoJx/Gq0adRhHy+YoOM0ZfVbmNKVmeNYYgMw8iHxLR+wwGfZNYu6OT2G4TDiZ7Z9tQNT6HurO4kmcCAvhRMzmXLGTBKefZtOh8gIp2n/QK8MQj/QfhpdHl31cOv/8XP8Vk22NUupyxvgaGIH3ZoJxv6GZKZ8tcQJz59RmwxoBFHc67unS+0Q5MXPCUwEq2LsegyUkds0fYnmAS3cEFn8jITDv0n3bqYUIZfRX9IVGdxmHHFF8EpMRomZEAJZek8zniMPN9fOXMkRxRHLWFlKBHn3muf2CXTHZyvdLyFCVcGnxIC4wQ/Lq97ClmIowvKOZ2qTgln9AkVLifo9B4teQQSHEbC5otZkDh4sSU6CkXhWuHWAjcVWteIThFnC9FFHW0r3qmFBxzVfslp7FjKNilS2AVq+ailEy6HzukhviiG7MAW12BLC1ykEyWIX//7Zdhy+qI54gxHoUGclE1lz0Y0Y1IBe2XSfiZoLE+TfsNiWfeVmdNYDhZDX8x1m/YZurnlq/KHNEk6j0m6dCc4CFAkWUE55DCjgEQ1pjjiqb/aF+Ij3DqwztuttrjwgWjbeVt8ZHfGxQIR9wJxijoS/HpBkmPb8sHZmg+aAN52+Ot+B4e/vQb+WYLYl6DBvkbs2+DI2Hvrln4EySLBiYi6UMyEWJLx4A7GLeARBXpKCTGxRR9/yiQPvDD3VkOTg9Gk092OJk5dGcK21/CEoV8zce8o6EeR9Cum0cMiRoottzjhZbo0FKmFIra9pYyojyPd9aKzL5XEQPiU0HDEKUO7yE9DmVWj/Xsq9cTU6DrRXJcodZ2SKq2g01KpFunkWXXRqWeGnAFo9cV8lv7SxJA3SdDdmgXrpWgl6LXJEb0nX8kzJZQJTtHLUNZ7f3sviKcCLIJyTB8k5MMz28DdMXF3KjAm8BGRe5pgmQeFjWV9S9gfDd4KtVkJb7cudMGGDNGkho+QGnq9I6cGYJa3mtSwU+xYrsQPlBqqqlRNajgQvEdPDWYRKk8Ny61lkx8+QH5wesfeOoCKqlaTH3YKIO2tWXAy+aHT5If64D16fjCrAX8Z8KIo6MtHy6JF43QlTfhUh21xUAVtG+gornsHGE5pFDxMcFQK8LarDVdYXnGKFQpCpLOMAGNCQxpBcplbN5HnUUXyNF8VYrWV/qQXK5z2XU8nGz9k41wAp9rDefHocKFbc8y/6zsW37PT2qqVnyQb+pzdEkNCZ8xHb/RTOk34LETb7F+lN7fJM/oCdJrJWgwRIQ2eiyNU00+Ney/XUz6ovZq72qCUk7K7VSeBwlP48jidDQNl7jAGShfD8l73Xx+OWTjReBlJrrAoNuqjZZhLVcranCTjkhxuxmmiFs4b7K5NiVhgBQRguWbUqspJdQkRx3xsslS1I8Sesd+o2RNTs2dLWXoylXD9xKaRs3s/TdueBqciZ52KGlcjZw8F77HlrGMWs/5oOVupSkFXt6t1qWzcI4bT90+KancfYXxgkatfiNiocvVW66gqF5TEqbOvyu1uGKhulWtWCT+jyi0/j7GPrHLNctunCGbnluWsBDS72307oP3Orr4cCQ8c0Lxt4xk4gXhWqji33X3jWW/DQHXHM7Nm2cQzp1ux4XrXeGa+yGai8ufEswMHEucUAsSZXSKVa+8ZIsp/rVHe5dcdIcy69+eLECX5Ctz3CxCD2U3772+/Xm9+Pj3dRJc/gvghOTNrrYVn1dl781+R3NcaSDXFvaMW9zpuKSp0KqRzXbW9SipVvFfflPbW1H7eXIsnWdmrvOKKam5T2DsQuO9Y16u8YLNo+yl2wh+lrFfc3b5FuKNqV6/0AMrdt1rnlna3nl26lsNp10pnmjXuzyddO6UXDFyvtmKdaOb/tCDDMP/XD87l/w==5Zhdb5swFIZ/DZeVwCZuctkkbadpkboirdqlCwdszWBmTJPs188EQwJUnSqtJQo3yH79xTmP7cPBwat0d69ozjYyAuEgN9o5eO0gtMDIPCthXwsEkVpIFI9qyTsKAf8DVnStWvIIik5HLaXQPO+KocwyCHVHo0rJbbdbLEV31ZwmMBCCkIqh+sQjzWp1jq6P+hfgCWtW9siibklp09laUjAaye2JhG8dvFJS6rqU7lYgKt81flny+Y/f9/7VI81+PrlLBl/zzVU92d17hrQmKMj0/53awn2horT+uskyqanmMrNW633jSiXLLIJqOtfByy3jGoKchlXr1uwdozGdClPzTDHmQqykkOowFsdxjMLQ6IVW8hectETkmcxINUJmOrCrNe8FSsOuB/IfXvBaNGZLg0xBq70ZZ2dBc0vTbmdsq9vj3vAa4OxkXxCrUbsdk3bmo8tNwXr9HQTwgMCaG7MTY+S6zAUPqQYHEWHeY/msTCmpShOj1CIZDZM/wBSURW4urLOE9FFcWp9bLsgdm8tsyAVSmmkeToEHWvRvs7F5kAGPRxAHnxeM5zfRCw8ncVJ80iXjjx5orgdkvpdUcL2fBA7cOyijB5T5MO5TTQNZquqAuA9sX5iwIgLDoSyMcHlMcC+YzEZnsnibyQZoUSpIK6OnAGT8O6tJIntEHpQ0XoNvMrlIDsQ9t4PheW9xmEIA6TPx/dGZDHP3iskdBxGdE5FPSRj78d0bH88rib3BsxK0KM4Jz2cdmDalH4/IMIc/0OBxlb8fXD+BYDJ+yu69krOHzGTtNxkV5qv3Mr92+xwWH4fBVI9/pQ9tJ7/28e1f \ No newline at end of file diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryAnalysisReportStore.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryAnalysisReportStore.java deleted file mode 100644 index 0899d282205..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryAnalysisReportStore.java +++ /dev/null @@ -1,183 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ - -package org.odpi.openmetadata.frameworks.discovery; - -import org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException; -import org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException; -import org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException; -import org.odpi.openmetadata.frameworks.discovery.properties.DiscoveryRequestStatus; - -import java.util.Date; - -/** - * DiscoveryAnalysisReportStore provides a client to the open metadata repository that manages the content - * of the discovery analysis report. - * It is part of the DiscoveryAnnotationStore. - */ -public abstract class DiscoveryAnalysisReportStore -{ - protected String userId = null; - protected String discoveryReportGUID = null; - protected DiscoveryRequestStatus discoveryRequestStatus = null; - - protected String reportQualifiedName = null; - protected String reportDisplayName = null; - protected String reportDescription = null; - - protected Date creationDate = new Date(); - - protected String analysisStep = null; - - /** - * Default constructor - */ - protected DiscoveryAnalysisReportStore() - { - } - - - /** - * Return the report identifier for this discovery context. Any new annotations added to tis discovery context - * will be linked to this report. - * - * @return unique identifier (guid) of the new discovery report. - */ - public String getDiscoveryReportGUID() - { - return discoveryReportGUID; - } - - - /** - * Return the current status of the discovery request - this is stored in the report. - * - * @return current status of the discovery request/report - * @throws InvalidParameterException one of the parameters is invalid - * @throws UserNotAuthorizedException the user id not authorized to issue this request - * @throws PropertyServerException there was a problem retrieving annotations from the annotation store. - */ - public DiscoveryRequestStatus getDiscoveryRequestStatus() throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - return discoveryRequestStatus; - } - - - /** - * Set up the current status of the discovery request - this is stored in the report so it can be monitored by the originator of the request. - * - * @param discoveryRequestStatus new status of the discovery request/report - * @throws InvalidParameterException one of the parameters is invalid - * @throws UserNotAuthorizedException the user id not authorized to issue this request - * @throws PropertyServerException there was a problem retrieving annotations from the annotation store. - * */ - public void setDiscoveryRequestStatus(DiscoveryRequestStatus discoveryRequestStatus) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - this.discoveryRequestStatus = discoveryRequestStatus; - } - - - /** - * Return the locally defined analysis step. This value is used in annotations generated in this phase. - * - * @return name of analysis step - */ - public String getAnalysisStep() - { - return analysisStep; - } - - - /** - * Set up the name of the current analysis step. - * - * @param analysisStep name - */ - public void setAnalysisStep(String analysisStep) - { - this.analysisStep = analysisStep; - } - - - /** - * Return the unique name of the discovery analysis report that will result from this discovery request. - * - * @return String report name - */ - public String getReportQualifiedName() - { - return reportQualifiedName; - } - - - /** - * Set up the unique name of the discovery analysis report that will result from this discovery request. - * The discovery engine will set up a default fully-qualified name. This method enables it to be over-ridden. - * - * @param reportName String report name - */ - public void setReportQualifiedName(String reportName) - { - this.reportQualifiedName = reportName; - } - - - /** - * Return the display name of the discovery analysis report that will result from this discovery request. - * - * @return String report name - */ - public String getReportDisplayName() - { - return reportDisplayName; - } - - - /** - * Set up the display name of the discovery analysis report that will result from this discovery request. - * The default name is null. - * - * @param reportName String report name - */ - public void setReportDisplayName(String reportName) - { - this.reportDisplayName = reportName; - } - - - /** - * Return the description for the discovery analysis report that will result from this discovery request. - * The default value is null. - * - * @return String report description - */ - public String getReportDescription() - { - return reportDescription; - } - - - /** - * Set up the description for the discovery analysis report that will result from this discovery request. - * - * @param reportDescription String report description - */ - public void setReportDescription(String reportDescription) - { - this.reportDescription = reportDescription; - } - - - /** - * Return the creation date for the discovery analysis report that will result from this discovery request. - * - * @return Date that the report was created. - */ - public Date getCreationDate() { - return creationDate; - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryAnnotationStore.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryAnnotationStore.java deleted file mode 100644 index ed3d17523aa..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryAnnotationStore.java +++ /dev/null @@ -1,400 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery; - -import org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException; -import org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException; -import org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException; -import org.odpi.openmetadata.frameworks.discovery.properties.Annotation; -import org.odpi.openmetadata.frameworks.discovery.properties.AnnotationStatus; -import org.odpi.openmetadata.frameworks.discovery.properties.DataField; -import org.odpi.openmetadata.frameworks.discovery.properties.DataFieldLink; -import org.odpi.openmetadata.frameworks.discovery.properties.RelatedDataField; - -import java.util.List; -import java.util.Map; - -/** - * The DiscoveryAnnotationStore provides the interface used by a discovery engine to - * store annotations in the annotation store. There is one instance of the annotation store - * for each discovery request. The userId that made the discovery request is the default user for - * the annotation store. This userId may be over-ridden by the discovery engine. - */ -public abstract class DiscoveryAnnotationStore -{ - protected String userId; - protected String assetGUID; - protected DiscoveryAnalysisReportStore discoveryReport; - - - /** - * Constructor sets up the key parameters for accessing the annotations store. - * - * @param userId calling user - * @param assetGUID unique identifier of the asset that the annotations should be attached to - * @param discoveryReport discovery report that these annotations will be filed against. - */ - public DiscoveryAnnotationStore(String userId, String assetGUID, DiscoveryAnalysisReportStore discoveryReport) - { - this.userId = userId; - this.assetGUID = assetGUID; - this.discoveryReport = discoveryReport; - } - - - /** - * Return the report identifier for this discovery context. Any new annotations added to tis discovery context - * will be linked to this report. - * - * @return the new discovery report. - */ - public DiscoveryAnalysisReportStore getDiscoveryReport() - { - return discoveryReport; - } - - - /** - * Return the annotation subtype names. - * - * @return list of type names that are subtypes of annotation - * @throws InvalidParameterException full path or userId is null - * @throws PropertyServerException problem accessing property server - * @throws UserNotAuthorizedException security access problem - */ - public abstract List getTypesOfAnnotation() throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Return the annotation subtype names mapped to their descriptions. - * - * @return list of type names that are subtypes of annotation - * @throws InvalidParameterException full path or userId is null - * @throws PropertyServerException problem accessing property server - * @throws UserNotAuthorizedException security access problem - */ - public abstract Map getTypesOfAnnotationWithDescriptions() throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Return the list of Annotations created for the asset by previous runs of the discovery service. - * - * @param startingFrom starting position in the list. - * @param maximumResults maximum number of elements that can be returned - * @return list of annotation (or null if none are registered) - * @throws InvalidParameterException one of the parameters is invalid - * @throws UserNotAuthorizedException the user id not authorized to issue this request - * @throws PropertyServerException there was a problem retrieving annotations from the annotation store. - */ - public abstract List getPreviousAnnotationsForAsset(int startingFrom, - int maximumResults) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Return the list of annotations from previous runs of the discovery service that are set to a specific status. - * If status is null then annotations that have been reviewed, approved and/or actioned are returned from - * discovery reports that are not waiting or in progress. - * - * @param status status value to use on the query - * @param startingFrom starting position in the list. - * @param maximumResults maximum number of elements that can be returned - * @return list of annotation (or null if none are registered) - * @throws InvalidParameterException one of the parameters is invalid - * @throws UserNotAuthorizedException the user id not authorized to issue this request - * @throws PropertyServerException there was a problem retrieving annotations from the annotation store. - */ - public abstract List getPreviousAnnotationsForAsset(AnnotationStatus status, - int startingFrom, - int maximumResults) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Return the current list of annotations for this discovery run. - * - * @param startingFrom starting position in the list. - * @param maximumResults maximum number of elements that can be returned - * @return list of annotation (or null if none are registered) - * @throws InvalidParameterException one of the parameters is invalid - * @throws UserNotAuthorizedException the user id not authorized to issue this request - * @throws PropertyServerException there was a problem retrieving annotations from the annotation store. - */ - public abstract List getNewAnnotationsForAsset(int startingFrom, - int maximumResults) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Return any annotations attached to this annotation. - * - * @param annotationGUID parent annotation - * @param startingFrom starting position in the list - * @param maximumResults maximum number of annotations that can be returned. - * - * @return list of Annotation objects - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws PropertyServerException there was a problem that occurred within the property server. - */ - public abstract List getExtendedAnnotations(String annotationGUID, - int startingFrom, - int maximumResults) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Return a specific annotation stored in the annotation store (previous or new). - * - * @param annotationGUID unique identifier of the annotation - * @return annotation object - * @throws InvalidParameterException one of the parameters is invalid - * @throws UserNotAuthorizedException the user id not authorized to issue this request - * @throws PropertyServerException there was a problem retrieving the annotation from the annotation store. - */ - public abstract Annotation getAnnotation(String annotationGUID) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Add a new annotation to the annotation store as a top level annotation linked directly off of the report. - * - * @param annotation annotation object - * @return unique identifier of new annotation - * @throws InvalidParameterException the annotation is invalid - * @throws UserNotAuthorizedException the user id not authorized to issue this request - * @throws PropertyServerException there was a problem adding the annotation to the annotation store. - */ - public abstract String addAnnotationToDiscoveryReport(Annotation annotation) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Add a new annotation and link it to an existing annotation. - * - * @param parentAnnotationGUID unique identifier of the annotation that this new one is to be attached to - * @param annotation annotation object - * @return unique identifier of new annotation - * @throws InvalidParameterException one of the parameters is invalid - * @throws UserNotAuthorizedException the user id not authorized to issue this request - * @throws PropertyServerException there was a problem saving annotations in the annotation store. - */ - public abstract String addAnnotationToAnnotation(String parentAnnotationGUID, - Annotation annotation) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Replace the current properties of an annotation. - * - * @param annotation new properties - * - * @throws InvalidParameterException one of the parameters is invalid - * @throws UserNotAuthorizedException the user id not authorized to issue this request - * @throws PropertyServerException there was a problem updating the annotation in the annotation store. - */ - public abstract void updateAnnotation(Annotation annotation) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Remove an annotation from the annotation store. - * - * @param annotationGUID unique identifier of the annotation - * @throws InvalidParameterException one of the parameters is invalid - * @throws UserNotAuthorizedException the user id not authorized to issue this request - * @throws PropertyServerException there was a problem deleting the annotation from the annotation store. - */ - public abstract void deleteAnnotation(String annotationGUID) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Return the list of data fields from previous runs of the discovery service. - * - * @param startingFrom starting position in the list. - * @param maximumResults maximum number of elements that can be returned - * @return list of data fields (or null if none are registered) - * @throws InvalidParameterException one of the parameters is invalid - * @throws UserNotAuthorizedException the user id not authorized to issue this request - * @throws PropertyServerException there was a problem retrieving data fields from the annotation store. - */ - public abstract List getPreviousDataFieldsForAsset(int startingFrom, - int maximumResults) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Return the current list of data fields for this discovery run. - * - * @param startingFrom starting position in the list. - * @param maximumResults maximum number of elements that can be returned - * @return list of data fields (or null if none are registered) - * @throws InvalidParameterException one of the parameters is invalid - * @throws UserNotAuthorizedException the user id not authorized to issue this request - * @throws PropertyServerException there was a problem retrieving data fields from the annotation store. - */ - public abstract List getNewDataFieldsForAsset(int startingFrom, - int maximumResults) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Return any nested data fields attached to this data field. - * - * @param parentDataFieldGUID parent data field identifier - * @param startingFrom starting position in the list - * @param maximumResults maximum number of annotations that can be returned. - * - * @return list of DataField objects - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws PropertyServerException there was a problem that occurred within the property server. - */ - public abstract List getNestedDataFields(String parentDataFieldGUID, - int startingFrom, - int maximumResults) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Return any peer data fields attached to this data field. - * - * @param dataFieldGUID starting data field identifier - * @param startingFrom starting position in the list - * @param maximumResults maximum number of annotations that can be returned. - * - * @return list of DataField objects - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws PropertyServerException there was a problem that occurred within the property server. - */ - public abstract List getLinkedDataFields(String dataFieldGUID, - int startingFrom, - int maximumResults) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Return a specific data field stored in the annotation store (previous or new). - * - * @param dataFieldGUID unique identifier of the data field - * @return data field object - * @throws InvalidParameterException one of the parameters is invalid - * @throws UserNotAuthorizedException the user id not authorized to issue this request - * @throws PropertyServerException there was a problem retrieving the data field from the annotation store. - */ - public abstract DataField getDataField(String dataFieldGUID) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - /** - * Add a new data field to the Annotation store linked off of an annotation (typically SchemaAnalysisAnnotation). - * - * @param annotationGUID unique identifier of the annotation that the data field is to be linked to - * @param dataField dataField object - * @return unique identifier of new data field - * @throws InvalidParameterException the dataField is invalid or the annotation GUID points to an annotation - * that can not be associated with a data field. - * @throws UserNotAuthorizedException the user id not authorized to issue this request - * @throws PropertyServerException there was a problem adding the data field to the Annotation store. - */ - public abstract String addDataFieldToDiscoveryReport(String annotationGUID, - DataField dataField) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Add a new data field and link it to an existing data field. - * - * @param parentDataFieldGUID unique identifier of the data field that this new one is to be attached to - * @param dataField data field object - * @return unique identifier of new data field - * @throws InvalidParameterException one of the parameters is invalid - * @throws UserNotAuthorizedException the user id not authorized to issue this request - * @throws PropertyServerException there was a problem saving data fields in the annotation store. - */ - public abstract String addDataFieldToDataField(String parentDataFieldGUID, - DataField dataField) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Link two exising data fields together in a peer relationship. - * - * @param linkFromDataFieldGUID unique identifier of the data field that is at end 1 of the relationship - * @param relationshipProperties optional properties for the relationship - * @param linkToDataFieldGUID unique identifier of the data field that is at end 1 of the relationship - * @throws InvalidParameterException one of the parameters is invalid - * @throws UserNotAuthorizedException the user id not authorized to issue this request - * @throws PropertyServerException there was a problem saving data fields in the annotation store. - */ - public abstract void linkDataFields(String linkFromDataFieldGUID, - DataFieldLink relationshipProperties, - String linkToDataFieldGUID) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - /** - * Add a new annotation and link it to an existing data field. - * - * @param parentDataFieldGUID unique identifier of the data field that this new one is to be attached to - * @param annotation data field object - * @return unique identifier of new annotation - * @throws InvalidParameterException one of the parameters is invalid - * @throws UserNotAuthorizedException the user id not authorized to issue this request - * @throws PropertyServerException there was a problem saving data fields in the annotation store. - */ - public abstract String addAnnotationToDataField(String parentDataFieldGUID, - Annotation annotation) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Replace the current properties of a data field. - * - * @param dataField new properties - * @throws InvalidParameterException one of the parameters is invalid - * @throws UserNotAuthorizedException the user id not authorized to issue this request - * @throws PropertyServerException there was a problem updating the data field in the annotation store. - */ - public abstract void updateDataField(DataField dataField) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Remove a data field from the annotation store. - * - * @param dataFieldGUID unique identifier of the data field - * @throws InvalidParameterException one of the parameters is invalid - * @throws UserNotAuthorizedException the user id not authorized to issue this request - * @throws PropertyServerException there was a problem deleting the data field from the annotation store. - */ - public abstract void deleteDataField(String dataFieldGUID) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryAssetCatalogStore.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryAssetCatalogStore.java deleted file mode 100644 index a9de8ccb6be..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryAssetCatalogStore.java +++ /dev/null @@ -1,136 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ - -package org.odpi.openmetadata.frameworks.discovery; - -import org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException; -import org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException; -import org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException; - -import java.util.List; - -/** - * DiscoveryAssetCatalogStore provides access to the asset catalog to enable it to step through the - * assets available in the asset catalog. - */ -public abstract class DiscoveryAssetCatalogStore -{ - protected String userId; - protected int maxPageSize; - - /** - * Constructor sets the max page size which is used by the caller to ensure they - * do not ask for too many assets at once. - * - * @param userId calling user - * @param maxPageSize maximum number of assets that can be returned on a single request. - */ - public DiscoveryAssetCatalogStore(String userId, - int maxPageSize) - { - this.userId = userId; - this.maxPageSize = maxPageSize; - } - - - /** - * Return the maximum number of assets that can be returned by getAssets(). - * - * @return integer - */ - public int getMaxPageSize() - { - return maxPageSize; - } - - - /** - * Return the next set of assets to process. - * - * @param startFrom starting point of the query - * @param pageSize maximum number of results to return - * @return list of unique identifiers for matching assets - * @throws InvalidParameterException one of the parameters is not recognized - * @throws UserNotAuthorizedException the user is not authorized to access the asset and/or connection - * @throws PropertyServerException there was a problem in the store whether the asset/connection properties are kept. - */ - public abstract List getAssets(int startFrom, - int pageSize) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Return the assets with the same qualified name. If all is well there should be only one - * returned. - * - * @param name the qualified name to query on - * @param startFrom place to start in query - * @param pageSize number of results to return - * @return list of unique identifiers for matching assets - * @throws InvalidParameterException one of the parameters is not recognized - * @throws UserNotAuthorizedException the user is not authorized to access the asset and/or connection - * @throws PropertyServerException there was a problem in the store whether the asset/connection properties are kept. - */ - public abstract List getAssetsByQualifiedName(String name, - int startFrom, - int pageSize) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Return the list of matching assets that have the supplied name as either the - * qualified name or display name. This is an exact match retrieval. - * - * @param name name to query for - * @param startFrom place to start in query - * @param pageSize number of results to return - * @return list of unique identifiers for matching assets - * @throws InvalidParameterException one of the parameters is not recognized - * @throws UserNotAuthorizedException the user is not authorized to access the asset and/or connection - * @throws PropertyServerException there was a problem in the store whether the asset/connection properties are kept. - */ - public abstract List getAssetsByName(String name, - int startFrom, - int pageSize) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Return the list of assets that have the search string somewhere in their properties. - * The search string may be a regular expression. - * - * @param searchString value to search for - * @param startFrom place to start in query - * @param pageSize number of results to return - * @return list of unique identifiers for matching assets - * @throws InvalidParameterException one of the parameters is not recognized - * @throws UserNotAuthorizedException the user is not authorized to access the asset and/or connection - * @throws PropertyServerException there was a problem in the store whether the asset/connection properties are kept. - */ - public abstract List findAssets(String searchString, - int startFrom, - int pageSize) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Return the list of assets that have the same endpoint address. - * - * @param networkAddress address to query on - * @param startFrom place to start in query - * @param pageSize number of results to return - * @return list of unique identifiers for matching assets - * @throws InvalidParameterException one of the parameters is not recognized - * @throws UserNotAuthorizedException the user is not authorized to access the asset and/or connection - * @throws PropertyServerException there was a problem in the store whether the asset/connection properties are kept. - */ - public abstract List getAssetsByEndpoint(String networkAddress, - int startFrom, - int pageSize) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryAssetStore.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryAssetStore.java deleted file mode 100644 index 38e503f0a30..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryAssetStore.java +++ /dev/null @@ -1,136 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery; - -import org.odpi.openmetadata.frameworks.connectors.Connector; -import org.odpi.openmetadata.frameworks.connectors.ConnectorBroker; -import org.odpi.openmetadata.frameworks.connectors.ffdc.*; -import org.odpi.openmetadata.frameworks.connectors.properties.AssetUniverse; -import org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection; -import org.odpi.openmetadata.frameworks.discovery.ffdc.ODFErrorCode; - -/** - * DiscoveryAssetStore defines the interface to a connector broker backed by a metadata store that returns - * information about the Asset that a Discovery Engine is to analyze. The userId that is passed on the call - * by the discovery engine. - */ -public abstract class DiscoveryAssetStore -{ - protected String assetGUID; - protected String userId; - protected Connection assetConnection = null; - - - - /** - * Constructor sets up the key parameters for accessing the asset store. - * - * @param userId calling user - * @param assetGUID unique identifier of the asset that the annotations should be attached to - */ - public DiscoveryAssetStore(String assetGUID, - String userId) - { - this.assetGUID = assetGUID; - this.userId = userId; - } - - - /** - * Return the unique identifier for the asset. - * - * @return guid - */ - public String getAssetGUID() - { - return assetGUID; - } - - - /** - * Returns the connector corresponding to the supplied connection. - * - * @param connection the connection object that contains the properties needed to create the connection. - * - * @return Connector connector instance - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws ConnectionCheckedException there are errors in the configuration of the connection which is preventing - * the creation of a connector. - * @throws ConnectorCheckedException there are errors in the initialization of the connector. - */ - protected abstract Connector getConnectorByConnection(Connection connection) throws InvalidParameterException, - ConnectionCheckedException, - ConnectorCheckedException; - - - /** - * Return the connection information for the asset. This is used to create the connector. The connector - * is an Open Connector Framework (OCF) connector that provides access to the asset's data and metadata properties. - * - * @return Connection bean - * @throws InvalidParameterException the asset guid is not recognized - * @throws UserNotAuthorizedException the user is not authorized to access the asset and/or connection - * @throws PropertyServerException there was a problem in the store whether the asset/connection properties are kept. - */ - protected abstract Connection getConnectionForAsset() throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Returns a comprehensive collection of properties about the requested asset. - * - * @return a comprehensive collection of properties about the asset. - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws PropertyServerException there is a problem retrieving the asset properties from the property servers). - * @throws UserNotAuthorizedException the requesting user is not authorized to issue this request. - */ - public abstract AssetUniverse getAssetProperties() throws InvalidParameterException, - PropertyServerException, - UserNotAuthorizedException; - - - /** - * Log an audit message about this asset. - * - * @param discoveryService name of discovery service - * @param message message to log - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws PropertyServerException there is a problem retrieving the asset properties from the property servers). - * @throws UserNotAuthorizedException the requesting user is not authorized to issue this request. - */ - public abstract void logAssetAuditMessage(String discoveryService, - String message) throws InvalidParameterException, - PropertyServerException, - UserNotAuthorizedException; - - - /** - * Return the connector to the requested asset. - * - * @return Open Connector Framework (OCF) connector - * @throws InvalidParameterException the asset guid is not recognized or the userId is null - * @throws ConnectionCheckedException there are errors in the configuration of the connection which is preventing - * the creation of a connector. - * @throws ConnectorCheckedException there are errors in the initialization of the connector. - * @throws UserNotAuthorizedException the user is not authorized to access the asset and/or connection needed to - * create the connector. - * @throws PropertyServerException there was a problem in the store whether the asset/connection properties are kept. - */ - public Connector getConnectorToAsset() throws InvalidParameterException, - ConnectionCheckedException, - ConnectorCheckedException, - UserNotAuthorizedException, - PropertyServerException - { - if (assetConnection == null) - { - assetConnection = getConnectionForAsset(); - } - - return this.getConnectorByConnection(assetConnection); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryConfigurationServer.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryConfigurationServer.java deleted file mode 100644 index d372d72dbc3..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryConfigurationServer.java +++ /dev/null @@ -1,387 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery; - -import org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException; -import org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException; -import org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection; -import org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException; -import org.odpi.openmetadata.frameworks.discovery.properties.DiscoveryEngineProperties; -import org.odpi.openmetadata.frameworks.discovery.properties.DiscoveryServiceProperties; -import org.odpi.openmetadata.frameworks.discovery.properties.RegisteredDiscoveryService; - -import java.util.List; -import java.util.Map; - -/** - * DiscoveryConfigurationServer defines the external interface used to define information - * about a discovery engine. Discovery engines are hosted by the discovery server. - */ -public abstract class DiscoveryConfigurationServer -{ - /** - * Create a new discovery engine definition. - * - * @param userId identifier of calling user - * @param qualifiedName unique name for the discovery engine. - * @param displayName display name for messages and user interfaces. - * @param description description of the types of discovery services that will be associated with - * this discovery engine. - * - * @return unique identifier (guid) of the discovery engine definition. This is for use on other requests. - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws PropertyServerException problem storing the discovery engine definition. - */ - public abstract String createDiscoveryEngine(String userId, - String qualifiedName, - String displayName, - String description) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Return the properties from a discovery engine definition. - * - * @param userId identifier of calling user - * @param guid unique identifier (guid) of the discovery engine definition. - * - * @return properties from the discovery engine definition. - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws PropertyServerException problem retrieving the discovery engine definition. - */ - public abstract DiscoveryEngineProperties getDiscoveryEngineByGUID(String userId, - String guid) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Return the properties from a discovery engine definition. - * - * @param userId identifier of calling user - * @param name qualified name or display name (if unique). - * - * @return properties from the discovery engine definition. - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws PropertyServerException problem retrieving the discovery engine definition. - */ - public abstract DiscoveryEngineProperties getDiscoveryEngineByName(String userId, - String name) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Return the list of discovery engine definitions that are stored. - * - * @param userId identifier of calling user - * @param startingFrom initial position in the stored list. - * @param maximumResults maximum number of definitions to return on this call. - * - * @return list of discovery engine definitions. - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws PropertyServerException problem retrieving the discovery engine definitions. - */ - public abstract List getAllDiscoveryEngines(String userId, - int startingFrom, - int maximumResults) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Update the properties of an existing discovery engine definition. Use the current value to - * keep a property value the same, or use the new value. Null means remove the property from - * the definition. - * - * @param userId identifier of calling user - * @param guid unique identifier of the discovery engine - used to locate the definition. - * @param qualifiedName new value for unique name of discovery engine. - * @param displayName new value for the display name. - * @param description new description for the discovery engine. - * @param typeDescription new description of the type ofg discovery engine. - * @param version new version number for the discovery engine implementation. - * @param patchLevel new patch level for the discovery engine implementation. - * @param source new source description for the implementation of the discovery engine. - * @param additionalProperties additional properties for the discovery engine. - * @param extendedProperties properties to populate the subtype of the discovery engine. - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws PropertyServerException problem storing the discovery engine definition. - */ - public abstract void updateDiscoveryEngine(String userId, - String guid, - String qualifiedName, - String displayName, - String description, - String typeDescription, - String version, - String patchLevel, - String source, - Map additionalProperties, - Map extendedProperties) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Remove the properties of the discovery engine. Both the guid and the qualified name is supplied - * to validate that the correct discovery engine is being deleted. - * - * @param userId identifier of calling user - * @param guid unique identifier of the discovery engine - used to locate the definition. - * @param qualifiedName unique name for the discovery engine. - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws PropertyServerException problem retrieving the discovery engine definition. - */ - public abstract void deleteDiscoveryEngine(String userId, - String guid, - String qualifiedName) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Create a discovery service definition. The same discovery service can be associated with multiple - * discovery engines. - * - * @param userId identifier of calling user - * @param qualifiedName unique name for the discovery service. - * @param displayName display name for the discovery service. - * @param description description of the analysis provided by the discovery service. - * @param connection connection to instanciate the discovery service implementation. - * - * @return unique identifier of the discovery service. - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws PropertyServerException problem storing the discovery service definition. - */ - public abstract String createDiscoveryService(String userId, - String qualifiedName, - String displayName, - String description, - Connection connection) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - - /** - * Return the properties from a discovery service definition. - * - * @param userId identifier of calling user - * @param guid unique identifier (guid) of the discovery service definition. - * - * @return properties of the discovery service. - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws PropertyServerException problem retrieving the discovery service definition. - */ - public abstract DiscoveryServiceProperties getDiscoveryServiceByGUID(String userId, - String guid) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Return the properties from a discovery service definition. - * - * @param userId identifier of calling user - * @param name qualified name or display name (if unique). - * - * @return properties from the discovery engine definition. - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws PropertyServerException problem retrieving the discovery engine definition. - */ - public abstract DiscoveryServiceProperties getDiscoveryServiceByName(String userId, - String name) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Return the list of discovery services definitions that are stored. - * - * @param userId identifier of calling user - * @param startingFrom initial position in the stored list. - * @param maximumResults maximum number of definitions to return on this call. - * - * @return list of discovery service definitions. - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws PropertyServerException problem retrieving the discovery service definitions. - */ - public abstract List getAllDiscoveryServices(String userId, - int startingFrom, - int maximumResults) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Return the list of discovery engines that a specific discovery service is registered with. - * - * @param userId identifier of calling user - * @param discoveryServiceGUID discovery service to search for. - * - * @return list of discovery engine unique identifiers (guids) - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws PropertyServerException problem retrieving the discovery service and/or discovery engine definitions. - */ - public abstract List getDiscoveryServiceRegistrations(String userId, - String discoveryServiceGUID) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Update the properties of an existing discovery service definition. Use the current value to - * keep a property value the same, or use the new value. Null means remove the property from - * the definition. - * - * @param userId identifier of calling user - * @param guid unique identifier of the discovery service - used to locate the definition. - * @param qualifiedName new value for unique name of discovery service. - * @param displayName new value for the display name. - * @param description new value for the description. - * @param connection connection used to create an instance of this discovery service. - * @param additionalProperties additional properties for the discovery engine. - * @param extendedProperties properties to populate the subtype of the discovery service. - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws PropertyServerException problem storing the discovery service definition. - */ - public abstract void updateDiscoveryService(String userId, - String guid, - String qualifiedName, - String displayName, - String description, - Connection connection, - Map additionalProperties, - Map extendedProperties) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Remove the properties of the discovery service. Both the guid and the qualified name is supplied - * to validate that the correct discovery service is being deleted. The discovery service is also - * unregistered from its discovery engines. - * - * @param userId identifier of calling user - * @param guid unique identifier of the discovery service - used to locate the definition. - * @param qualifiedName unique name for the discovery service. - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws PropertyServerException problem retrieving the discovery service definition. - */ - public abstract void deleteDiscoveryService(String userId, - String guid, - String qualifiedName) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Register a discovery service with a specific discovery engine. - * - * @param userId identifier of calling user - * @param discoveryEngineGUID unique identifier of the discovery engine. - * @param discoveryServiceGUID unique identifier of the discovery service. - * @param discoveryRequestType discovery request type that this discovery service is able to process. - * @param defaultAnalysisParameters list of analysis parameters that are passed to the discovery service (via - * the discovery context). These values can be overridden on the actual discovery request. - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws PropertyServerException problem retrieving the discovery service and/or discovery engine definitions. - */ - public abstract void registerDiscoveryServiceWithEngine(String userId, - String discoveryEngineGUID, - String discoveryServiceGUID, - String discoveryRequestType, - Map defaultAnalysisParameters) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Retrieve a specific discovery service registered with a discovery engine. - * - * @param userId identifier of calling user - * @param discoveryEngineGUID unique identifier of the discovery engine. - * @param discoveryServiceGUID unique identifier of the discovery service. - * - * @return details of the discovery service and the asset types it is registered for. - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws PropertyServerException problem retrieving the discovery service and/or discovery engine definitions. - */ - public abstract RegisteredDiscoveryService getRegisteredDiscoveryService(String userId, - String discoveryEngineGUID, - String discoveryServiceGUID) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Retrieve the identifiers of the discovery services registered with a discovery engine. - * - * @param userId identifier of calling user - * @param discoveryEngineGUID unique identifier of the discovery engine. - * @param startingFrom initial position in the stored list. - * @param maximumResults maximum number of definitions to return on this call. - * - * @return list of unique identifiers - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws PropertyServerException problem retrieving the discovery service and/or discovery engine definitions. - */ - public abstract List getRegisteredDiscoveryServices(String userId, - String discoveryEngineGUID, - int startingFrom, - int maximumResults) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; - - - /** - * Unregister a discovery service from the discovery engine. - * - * @param userId identifier of calling user - * @param discoveryEngineGUID unique identifier of the discovery engine. - * @param discoveryServiceGUID unique identifier of the discovery service. - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws PropertyServerException problem retrieving the discovery service and/or discovery engine definitions. - */ - public abstract void unregisterDiscoveryServiceFromEngine(String userId, - String discoveryEngineGUID, - String discoveryServiceGUID) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException; -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryContext.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryContext.java deleted file mode 100644 index d4780ef04b8..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryContext.java +++ /dev/null @@ -1,216 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery; - -import java.util.List; -import java.util.Map; -import java.util.Objects; - - -/** - * DiscoveryContext provides the discovery service with access to information about - * the discovery request along with the open metadata repository interfaces. - */ -public class DiscoveryContext -{ - private String userId; - private String assetGUID; - - private Map analysisParameters; - private List requestedAnnotationTypes; - - private DiscoveryAssetStore assetStore; - private DiscoveryAnnotationStore annotationStore; - private DiscoveryAssetCatalogStore assetCatalogStore; - private DiscoveryOpenMetadataStore openMetadataStore; - - - /** - * Constructor sets up the key parameters for accessing the annotations store. - * - * @param userId calling user - * @param assetGUID unique identifier of the asset that the annotations should be attached to - * @param analysisParameters name-value properties to control the discovery service - * @param requestedAnnotationTypes annotation types to create - * @param assetStore discovery asset store for the discovery service - * @param annotationStore annotation store for the discovery service - * @param assetCatalogStore the asset catalog store that provides the ability to query assets. - * @param openMetadataStore generic metadata API from the Governance Action Framework (GAF) - */ - public DiscoveryContext(String userId, - String assetGUID, - Map analysisParameters, - List requestedAnnotationTypes, - DiscoveryAssetStore assetStore, - DiscoveryAnnotationStore annotationStore, - DiscoveryAssetCatalogStore assetCatalogStore, - DiscoveryOpenMetadataStore openMetadataStore) - { - this.userId = userId; - this.assetGUID = assetGUID; - this.analysisParameters = analysisParameters; - this.requestedAnnotationTypes = requestedAnnotationTypes; - this.assetStore = assetStore; - this.annotationStore = annotationStore; - this.assetCatalogStore = assetCatalogStore; - this.openMetadataStore = openMetadataStore; - } - - - /** - * Copy/clone Constructor - * - * @param template object being copied - */ - public DiscoveryContext(DiscoveryContext template) - { - if (template != null) - { - userId = template.userId; - assetGUID = template.getAssetGUID(); - analysisParameters = template.getAnalysisParameters(); - requestedAnnotationTypes = template.getRequestedAnnotationTypes(); - assetStore = template.getAssetStore(); - annotationStore = template.getAnnotationStore(); - assetCatalogStore = template.getAssetCatalogStore(); - openMetadataStore = template.getOpenMetadataStore(); - } - } - - - /** - * Return the unique identifier of the asset being discovered. - * - * @return string guid - */ - public String getAssetGUID() - { - return assetGUID; - } - - - /** - * Return the properties that hold the parameters used to drive the discovery service's analysis. - * - * @return AdditionalProperties object storing the analysis parameters - */ - public Map getAnalysisParameters() - { - return analysisParameters; - } - - - /** - * Return the list of annotation types required by the requester (null means all types available) - * - * @return list of type names - */ - public List getRequestedAnnotationTypes() - { - return requestedAnnotationTypes; - } - - - /** - * Return the asset catalog store that provides the ability to query assets. - * - * @return assetCatalogStore object - */ - public DiscoveryAssetCatalogStore getAssetCatalogStore() - { - return assetCatalogStore; - } - - - /** - * Return the asset store for the discovery engine. This is able to provide a connector to the asset - * configured with the properties of the asset from a property server. - * - * @return asset store - */ - public DiscoveryAssetStore getAssetStore() - { - return assetStore; - } - - - /** - * Return the annotation store for the discovery engine. This is where the annotations are stored and - * retrieved from. - * - * @return annotation store - */ - public DiscoveryAnnotationStore getAnnotationStore() - { - return annotationStore; - } - - - /** - * Return a generic interface for accessing and updating open metadata elements, classifications and relationships. - * - * @return open metadata store - */ - public DiscoveryOpenMetadataStore getOpenMetadataStore() - { - return openMetadataStore; - } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "DiscoveryContext{" + - "userId='" + userId + '\'' + - ", assetGUID='" + assetGUID + '\'' + - ", analysisParameters=" + analysisParameters + - ", requestedAnnotationTypes=" + requestedAnnotationTypes + - ", assetStore=" + assetStore + - ", annotationStore=" + annotationStore + - ", assetCatalogStore=" + assetCatalogStore + - ", openMetadataStore=" + openMetadataStore + - '}'; - } - - - /** - * Compare the values of the supplied object with those stored in the current object. - * - * @param objectToCompare supplied object - * @return boolean result of comparison - */ - @Override - public boolean equals(Object objectToCompare) - { - if (this == objectToCompare) - { - return true; - } - if (objectToCompare == null || getClass() != objectToCompare.getClass()) - { - return false; - } - DiscoveryContext that = (DiscoveryContext) objectToCompare; - return Objects.equals(userId, that.userId) && - Objects.equals(getAssetGUID(), that.getAssetGUID()) && - Objects.equals(getAnalysisParameters(), that.getAnalysisParameters()) && - Objects.equals(getRequestedAnnotationTypes(), that.getRequestedAnnotationTypes()); - } - - - /** - * Create a hash code for this element type. - * - * @return int hash code - */ - @Override - public int hashCode() - { - return Objects.hash(userId, getAssetGUID(), getAnalysisParameters(), getRequestedAnnotationTypes()); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryEngine.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryEngine.java deleted file mode 100644 index 90e6189816a..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryEngine.java +++ /dev/null @@ -1,205 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery; - -import org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException; -import org.odpi.openmetadata.frameworks.discovery.ffdc.DiscoveryEngineException; -import org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException; -import org.odpi.openmetadata.frameworks.discovery.properties.Annotation; -import org.odpi.openmetadata.frameworks.discovery.properties.DiscoveryAnalysisReport; -import org.odpi.openmetadata.frameworks.discovery.properties.DiscoveryRequestStatus; - -import java.util.List; -import java.util.Map; - -/** - * DiscoveryEngine provides the interface for a discovery engine. The discovery engine runs inside a discovery server. - * The discovery server provides the server runtime environment for the discovery engine along with the interfaces for - * configuring the discovery engine. - */ -public abstract class DiscoveryEngine -{ - /** - * Request the execution of a discovery service to explore a specific asset. - * - * @param userId identifier of calling user - * @param assetGUID identifier of the asset to analyze. - * @param assetDiscoveryType identifier of the type of analysis - this determines which discovery service to run. - * - * @return unique id for the discovery request. - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws DiscoveryEngineException there was a problem detected by the discovery engine. - */ - public abstract String discoverAsset(String userId, - String assetGUID, - String assetDiscoveryType) throws InvalidParameterException, - UserNotAuthorizedException, - DiscoveryEngineException; - - /** - * Request the execution of a discovery service to explore a specific asset. - * - * @param userId identifier of calling user - * @param assetGUID identifier of the asset to analyze. - * @param assetDiscoveryType identifier of the type of analysis - this determines which discovery service to run. - * @param analysisParameters name value properties to control the analysis - * - * @return unique id for the discovery request. - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws DiscoveryEngineException there was a problem detected by the discovery engine. - */ - public abstract String discoverAsset(String userId, - String assetGUID, - String assetDiscoveryType, - Map analysisParameters) throws InvalidParameterException, - UserNotAuthorizedException, - DiscoveryEngineException; - - - /** - * Request the execution of a discovery service to explore a specific asset. - * - * @param userId identifier of calling user - * @param assetGUID identifier of the asset to analyze. - * @param assetDiscoveryType identifier of the type of analysis - this determines which discovery service to run. - * @param analysisParameters name value properties to control the analysis - * @param annotationTypes list of the types of annotations to produce (and no others) - * - * @return unique id for the discovery request. - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws DiscoveryEngineException there was a problem detected by the discovery engine. - */ - public abstract String discoverAsset(String userId, - String assetGUID, - String assetDiscoveryType, - Map analysisParameters, - List annotationTypes) throws InvalidParameterException, - UserNotAuthorizedException, - DiscoveryEngineException; - - - /** - * Explore each of the assets in the asset store. A new instance of the discovery service is started for - * each retrieved asset. - * - * @param userId identifier of calling user - * @param assetDiscoveryType identifier of the type of analysis - this determines which discovery service to run. - * @param analysisParameters name value properties to control the analysis - * @param annotationTypes list of the types of annotations to produce (and no others) - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws DiscoveryEngineException there was a problem detected by the discovery engine. - */ - public abstract void scanAllAssets(String userId, - String assetDiscoveryType, - Map analysisParameters, - List annotationTypes) throws InvalidParameterException, - UserNotAuthorizedException, - DiscoveryEngineException; - - - /** - * Request the status of an executing discovery request. - * - * @param userId identifier of calling user - * @param discoveryRequestGUID identifier of the discovery request. - * - * @return status enum - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws DiscoveryEngineException there was a problem detected by the discovery engine. - */ - public abstract DiscoveryRequestStatus getDiscoveryStatus(String userId, - String discoveryRequestGUID) throws InvalidParameterException, - UserNotAuthorizedException, - DiscoveryEngineException; - - - /** - * Request the discovery report for a discovery request that has completed. - * - * @param userId identifier of calling user - * @param discoveryRequestGUID identifier of the discovery request. - * - * @return discovery report - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws DiscoveryEngineException there was a problem detected by the discovery engine. - */ - public abstract DiscoveryAnalysisReport getDiscoveryReport(String userId, - String discoveryRequestGUID) throws InvalidParameterException, - UserNotAuthorizedException, - DiscoveryEngineException; - - - /** - * Return the annotations linked direction to the report. - * - * @param userId identifier of calling user - * @param discoveryRequestGUID identifier of the discovery request. - * @param startingFrom initial position in the stored list. - * @param maximumResults maximum number of definitions to return on this call. - * - * @return list of annotations - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws DiscoveryEngineException there was a problem detected by the discovery engine. - */ - public abstract List getDiscoveryReportAnnotations(String userId, - String discoveryRequestGUID, - int startingFrom, - int maximumResults) throws InvalidParameterException, - UserNotAuthorizedException, - DiscoveryEngineException; - - - /** - * Return any annotations attached to this annotation. - * - * @param userId identifier of calling user - * @param annotationGUID anchor annotation - * @param startingFrom starting position in the list - * @param maximumResults maximum number of annotations that can be returned. - * - * @return list of Annotation objects - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws DiscoveryEngineException there was a problem detected by the discovery engine. - */ - public abstract List getExtendedAnnotations(String userId, - String annotationGUID, - int startingFrom, - int maximumResults) throws InvalidParameterException, - UserNotAuthorizedException, - DiscoveryEngineException; - - - /** - * Retrieve a single annotation by unique identifier. This call is typically used to retrieve the latest values - * for an annotation. - * - * @param userId identifier of calling user - * @param annotationGUID unique identifier of the annotation - * - * @return Annotation object - * - * @throws InvalidParameterException one of the parameters is null or invalid. - * @throws UserNotAuthorizedException user not authorized to issue this request. - * @throws DiscoveryEngineException there was a problem detected by the discovery engine. - */ - public abstract Annotation getAnnotation(String userId, - String annotationGUID) throws InvalidParameterException, - UserNotAuthorizedException, - DiscoveryEngineException; -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryOpenMetadataStore.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryOpenMetadataStore.java deleted file mode 100644 index 2defc99a606..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryOpenMetadataStore.java +++ /dev/null @@ -1,1120 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery; - -import org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException; -import org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException; -import org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException; -import org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStatus; -import org.odpi.openmetadata.frameworks.governanceaction.client.OpenMetadataClient; -import org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataAttributeTypeDef; -import org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataAttributeTypeDefCategory; -import org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataElement; -import org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataTypeDef; -import org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataTypeDefCategory; -import org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataTypeDefGallery; -import org.odpi.openmetadata.frameworks.governanceaction.properties.RelatedMetadataElement; -import org.odpi.openmetadata.frameworks.governanceaction.properties.RelatedMetadataElements; -import org.odpi.openmetadata.frameworks.governanceaction.search.ElementProperties; -import org.odpi.openmetadata.frameworks.governanceaction.search.SearchClassifications; -import org.odpi.openmetadata.frameworks.governanceaction.search.SearchProperties; -import org.odpi.openmetadata.frameworks.governanceaction.search.SequencingOrder; - -import java.util.Date; -import java.util.List; -import java.util.Map; - -/** - * OpenMetadataAccess provides an interface to the open metadata store. This is part of the Governance Action Framework (GAF) - * and provides a comprehensive interface for working with all types of metadata, subject to the user's (and this OMAS's) security permissions. - * The interface supports search, maintenance of metadata elements, classifications and relationships. - */ -public class DiscoveryOpenMetadataStore -{ - private final OpenMetadataClient openMetadataStore; - private final String userId; - private final String externalSourceGUID; - private final String externalSourceName; - - - /** - * The constructor needs an implementation of the open metadata store. - * - * @param openMetadataStore client implementation - * @param userId calling user - * @param externalSourceGUID unique identifier for external source (or null) - * @param externalSourceName unique name for external source (or null) - */ - public DiscoveryOpenMetadataStore(OpenMetadataClient openMetadataStore, - String userId, - String externalSourceGUID, - String externalSourceName) - { - this.openMetadataStore = openMetadataStore; - this.userId = userId; - this.externalSourceGUID = externalSourceGUID; - this.externalSourceName = externalSourceName; - } - - - - - /** - * Returns the list of different types of metadata organized into two groups. The first are the - * attribute type definitions (AttributeTypeDefs). These provide types for properties in full - * type definitions. Full type definitions (TypeDefs) describe types for entities, relationships - * and classifications. - * - * @return TypeDefGallery List of different categories of type definitions. - * - * @throws InvalidParameterException the userId is null - * @throws PropertyServerException there is a problem communicating with the metadata repository. - * @throws UserNotAuthorizedException the userId is not permitted to perform this operation. - */ - public OpenMetadataTypeDefGallery getAllTypes() throws InvalidParameterException, - PropertyServerException, - UserNotAuthorizedException - { - return openMetadataStore.getAllTypes(userId); - } - - - /** - * Returns all the TypeDefs for a specific category. - * - * @param category enum value for the category of TypeDef to return. - * - * @return TypeDefs list. - * - * @throws InvalidParameterException the TypeDefCategory is null. - * @throws PropertyServerException there is a problem communicating with the metadata repository. - * @throws UserNotAuthorizedException the userId is not permitted to perform this operation. - */ - public List findTypeDefsByCategory(OpenMetadataTypeDefCategory category) throws InvalidParameterException, - PropertyServerException, - UserNotAuthorizedException - { - return openMetadataStore.findTypeDefsByCategory(userId, category); - } - - - /** - * Returns all the AttributeTypeDefs for a specific category. - * - * @param category enum value for the category of an AttributeTypeDef to return. - * - * @return AttributeTypeDefs list. - * - * @throws InvalidParameterException the TypeDefCategory is null. - * @throws PropertyServerException there is a problem communicating with the metadata repository. - * @throws UserNotAuthorizedException the userId is not permitted to perform this operation. - */ - public List findAttributeTypeDefsByCategory(OpenMetadataAttributeTypeDefCategory category) throws InvalidParameterException, - PropertyServerException, - UserNotAuthorizedException - { - return openMetadataStore.findAttributeTypeDefsByCategory(userId, category); - } - - - /** - * Return the types that are linked to the elements from the specified standard. - * - * @param standard name of the standard null means any. - * @param organization name of the organization null means any. - * @param identifier identifier of the element in the standard null means any. - * - * @return TypeDefs list each entry in the list contains a TypeDef. This is a structure - * describing the TypeDef's category and properties. - * - * @throws InvalidParameterException all attributes of the external id are null. - * @throws PropertyServerException there is a problem communicating with the metadata repository. - * @throws UserNotAuthorizedException the userId is not permitted to perform this operation. - */ - public List findTypesByExternalID(String standard, - String organization, - String identifier) throws InvalidParameterException, - PropertyServerException, - UserNotAuthorizedException - { - return openMetadataStore.findTypesByExternalId(userId, standard, organization, identifier); - } - - - /** - * Return the TypeDef identified by the GUID. - * - * @param guid String unique id of the TypeDef - * - * @return TypeDef structure describing its category and properties. - * - * @throws InvalidParameterException the guid is null. - * @throws PropertyServerException there is a problem communicating with the metadata repository where - * the metadata collection is stored. - * @throws UserNotAuthorizedException the userId is not permitted to perform this operation. - */ - public OpenMetadataTypeDef getTypeDefByGUID(String guid) throws InvalidParameterException, - PropertyServerException, - UserNotAuthorizedException - { - return openMetadataStore.getTypeDefByGUID(userId, guid); - } - - - /** - * Return the AttributeTypeDef identified by the GUID. - * - * @param guid String unique id of the TypeDef - * - * @return TypeDef structure describing its category and properties. - * - * @throws InvalidParameterException the guid is null. - * @throws PropertyServerException there is a problem communicating with the metadata repository where - * the metadata collection is stored. - * @throws UserNotAuthorizedException the userId is not permitted to perform this operation. - */ - public OpenMetadataAttributeTypeDef getAttributeTypeDefByGUID(String guid) throws InvalidParameterException, - PropertyServerException, - UserNotAuthorizedException - { - return openMetadataStore.getAttributeTypeDefByGUID(userId, guid); - } - - - /** - * Return the TypeDef identified by the unique name. - * - * @param name String name of the TypeDef. - * - * @return TypeDef structure describing its category and properties. - * - * @throws InvalidParameterException the name is null. - * @throws PropertyServerException there is a problem communicating with the metadata repository where - * the metadata collection is stored. - * @throws UserNotAuthorizedException the userId is not permitted to perform this operation. - */ - public OpenMetadataTypeDef getTypeDefByName(String name) throws InvalidParameterException, - PropertyServerException, - UserNotAuthorizedException - { - return openMetadataStore.getTypeDefByName(userId, name); - } - - - /** - * Return the AttributeTypeDef identified by the unique name. - * - * @param name String name of the TypeDef. - * - * @return TypeDef structure describing its category and properties. - * - * @throws InvalidParameterException the name is null. - * @throws PropertyServerException there is a problem communicating with the metadata repository where - * the metadata collection is stored. - * @throws UserNotAuthorizedException the userId is not permitted to perform this operation. - */ - public OpenMetadataAttributeTypeDef getAttributeTypeDefByName(String name) throws InvalidParameterException, - PropertyServerException, - UserNotAuthorizedException - { - return openMetadataStore.getAttributeTypeDefByName(userId, name); - } - - - /** - * Retrieve the metadata element using its unique identifier. - * - * @param elementGUID unique identifier for the metadata element - * @param forLineage the retrieved element is for lineage processing so include archived elements - * @param forDuplicateProcessing the retrieved element is for duplicate processing so do not combine results from known duplicates. - * @param effectiveTime only return the element if it is effective at this time. Null means anytime. Use "new Date()" for now. - * - * @return metadata element properties - * @throws InvalidParameterException the unique identifier is null or not known. - * @throws UserNotAuthorizedException the governance action service is not able to access the element - * @throws PropertyServerException there is a problem accessing the metadata store - */ - public OpenMetadataElement getMetadataElementByGUID(String elementGUID, - boolean forLineage, - boolean forDuplicateProcessing, - Date effectiveTime) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - return openMetadataStore.getMetadataElementByGUID(userId, elementGUID, forLineage, forDuplicateProcessing, effectiveTime); - } - - - /** - * Retrieve the metadata element using its unique name (typically the qualified name). - * - * @param uniqueName unique name for the metadata element - * @param uniquePropertyName name of property name to test in the open metadata element - if null "qualifiedName" is used - * @param forLineage the retrieved element is for lineage processing so include archived elements - * @param forDuplicateProcessing the retrieved element is for duplicate processing so do not combine results from known duplicates. - * @param effectiveTime only return the element if it is effective at this time. Null means anytime. Use "new Date()" for now. - * - * @return metadata element properties - * @throws InvalidParameterException the unique identifier is null or not known. - * @throws UserNotAuthorizedException the governance action service is not able to access the element - * @throws PropertyServerException there is a problem accessing the metadata store - */ - public OpenMetadataElement getMetadataElementByUniqueName(String uniqueName, - String uniquePropertyName, - boolean forLineage, - boolean forDuplicateProcessing, - Date effectiveTime) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - return openMetadataStore.getMetadataElementByUniqueName(userId, - uniqueName, - uniquePropertyName, - forLineage, - forDuplicateProcessing, - effectiveTime); - } - - - /** - * Retrieve the unique identifier of a metadata element using its unique name (typically the qualified name). - * - * @param uniqueName unique name for the metadata element - * @param uniquePropertyName name of property name to test in the open metadata element - if null "qualifiedName" is used - * @param forLineage the retrieved element is for lineage processing so include archived elements - * @param forDuplicateProcessing the retrieved element is for duplicate processing so do not combine results from known duplicates. - * @param effectiveTime only return the element if it is effective at this time. Null means anytime. Use "new Date()" for now. - * - * @return metadata element unique identifier (guid) - * @throws InvalidParameterException the unique identifier is null or not known. - * @throws UserNotAuthorizedException the governance action service is not able to access the element - * @throws PropertyServerException there is a problem accessing the metadata store - */ - public String getMetadataElementGUIDByUniqueName(String uniqueName, - String uniquePropertyName, - boolean forLineage, - boolean forDuplicateProcessing, - Date effectiveTime) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - return openMetadataStore.getMetadataElementGUIDByUniqueName(userId, - uniqueName, - uniquePropertyName, - forLineage, - forDuplicateProcessing, - effectiveTime); - } - - - /** - * Retrieve the metadata elements that contain the requested string. - * - * @param searchString name to retrieve - * @param forLineage the retrieved elements are for lineage processing so include archived elements - * @param forDuplicateProcessing the retrieved elements are for duplicate processing so do not combine results from known duplicates. - * @param effectiveTime only return an element if it is effective at this time. Null means anytime. Use "new Date()" for now. - * @param startFrom paging start point - * @param pageSize maximum results that can be returned - * - * @return list of matching metadata elements (or null if no elements match the name) - * @throws InvalidParameterException the qualified name is null - * @throws UserNotAuthorizedException the governance action service is not able to access the element - * @throws PropertyServerException there is a problem accessing the metadata store - */ - public List findMetadataElementsWithString(String searchString, - boolean forLineage, - boolean forDuplicateProcessing, - Date effectiveTime, - int startFrom, - int pageSize) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - return openMetadataStore.findMetadataElementsWithString(userId, - searchString, - forLineage, - forDuplicateProcessing, - effectiveTime, - startFrom, - pageSize); - } - - - /** - * Retrieve the metadata elements of the requested type that contain the requested string. - * - * @param searchString name to retrieve - * @param typeName name of the type to limit the results to (maybe null to mean all types) - * @param forLineage the retrieved elements are for lineage processing so include archived elements - * @param forDuplicateProcessing the retrieved elements are for duplicate processing so do not combine results from known duplicates. - * @param effectiveTime only return an element if it is effective at this time. Null means anytime. Use "new Date()" for now. - * @param startFrom paging start point - * @param pageSize maximum results that can be returned - * - * @return list of matching metadata elements (or null if no elements match the name) - * @throws InvalidParameterException the qualified name is null - * @throws UserNotAuthorizedException the governance action service is not able to access the element - * @throws PropertyServerException there is a problem accessing the metadata store - */ - public List findMetadataElementsWithString(String searchString, - String typeName, - boolean forLineage, - boolean forDuplicateProcessing, - Date effectiveTime, - int startFrom, - int pageSize) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - return openMetadataStore.findMetadataElementsWithString(userId, - searchString, - typeName, - forLineage, - forDuplicateProcessing, - effectiveTime, - startFrom, - pageSize); - } - - - /** - * Retrieve the metadata elements connected to the supplied element. - * - * @param elementGUID unique identifier for the starting metadata element - * @param startingAtEnd indicates which end to retrieve from (0 is "either end"; 1 is end1; 2 is end 2) - * @param relationshipTypeName type name of relationships to follow (or null for all) - * @param forLineage the retrieved element is for lineage processing so include archived elements - * @param forDuplicateProcessing the retrieved elements are for duplicate processing so do not combine results from known duplicates. - * @param effectiveTime only return an element if it is effective at this time. Null means anytime. Use "new Date()" for now. - * @param startFrom paging start point - * @param pageSize maximum results that can be returned - * - * @return list of related elements - * @throws InvalidParameterException the unique identifier is null or not known; the relationship type is invalid - * @throws UserNotAuthorizedException the governance action service is not able to access the elements - * @throws PropertyServerException there is a problem accessing the metadata store - */ - public List getRelatedMetadataElements(String elementGUID, - int startingAtEnd, - String relationshipTypeName, - boolean forLineage, - boolean forDuplicateProcessing, - Date effectiveTime, - int startFrom, - int pageSize) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - return openMetadataStore.getRelatedMetadataElements(userId, - elementGUID, - startingAtEnd, - relationshipTypeName, - forLineage, - forDuplicateProcessing, - effectiveTime, - startFrom, - pageSize); - } - - - /** - * Retrieve the relationships linking to the supplied elements. - * - * @param metadataElementAtEnd1GUID unique identifier of the metadata element at end 1 of the relationship - * @param metadataElementAtEnd2GUID unique identifier of the metadata element at end 2 of the relationship - * @param relationshipTypeName type name of relationships to follow (or null for all) - * @param forLineage the retrieved element is for lineage processing so include archived elements - * @param forDuplicateProcessing the retrieved elements are for duplicate processing so do not combine results from known duplicates. - * @param effectiveTime only return an element if it is effective at this time. Null means anytime. Use "new Date()" for now. - * @param startFrom paging start point - * @param pageSize maximum results that can be returned - * - * @return list of related elements - * @throws InvalidParameterException the unique identifier is null or not known; the relationship type is invalid - * @throws UserNotAuthorizedException the governance action service is not able to access the elements - * @throws PropertyServerException there is a problem accessing the metadata store - */ - public List getMetadataElementRelationships(String metadataElementAtEnd1GUID, - String metadataElementAtEnd2GUID, - String relationshipTypeName, - boolean forLineage, - boolean forDuplicateProcessing, - Date effectiveTime, - int startFrom, - int pageSize) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - return openMetadataStore.getMetadataElementRelationships(userId, - metadataElementAtEnd1GUID, - metadataElementAtEnd2GUID, - relationshipTypeName, - forLineage, - forDuplicateProcessing, - effectiveTime, - startFrom, - pageSize); - } - - - /** - * Return a list of metadata elements that match the supplied criteria. The results can be returned over many pages. - * - * @param metadataElementTypeName type of interest (null means any element type) - * @param metadataElementSubtypeNames optional list of the subtypes of the metadataElementTypeName to - * include in the search results. Null means all subtypes. - * @param searchProperties Optional list of entity property conditions to match. - * @param limitResultsByStatus By default, entities in all statuses (other than DELETE) are returned. However, it is possible - * to specify a list of statuses (e.g. ACTIVE) to restrict the results to. Null means all status values. - * @param matchClassifications Optional list of classifications to match. - * @param sequencingProperty String name of the property that is to be used to sequence the results. - * Null means do not sequence on a property name (see SequencingOrder). - * @param sequencingOrder Enum defining how the results should be ordered. - * @param forLineage the retrieved element is for lineage processing so include archived elements - * @param forDuplicateProcessing the retrieved element is for duplicate processing so do not combine results from known duplicates. - * @param effectiveTime only return the element if it is effective at this time. Null means anytime. Use "new Date()" for now. - * @param startFrom paging start point - * @param pageSize maximum results that can be returned - * - * @return a list of elements matching the supplied criteria; null means no matching elements in the metadata store. - * @throws InvalidParameterException one of the search parameters are is invalid - * @throws UserNotAuthorizedException the governance action service is not able to access the elements - * @throws PropertyServerException there is a problem accessing the metadata store - */ - public List findMetadataElements(String metadataElementTypeName, - List metadataElementSubtypeNames, - SearchProperties searchProperties, - List limitResultsByStatus, - SearchClassifications matchClassifications, - String sequencingProperty, - SequencingOrder sequencingOrder, - boolean forLineage, - boolean forDuplicateProcessing, - Date effectiveTime, - int startFrom, - int pageSize) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - return openMetadataStore.findMetadataElements(userId, - metadataElementTypeName, - metadataElementSubtypeNames, - searchProperties, - limitResultsByStatus, - matchClassifications, - sequencingProperty, - sequencingOrder, - forLineage, - forDuplicateProcessing, - effectiveTime, - startFrom, - pageSize); - } - - - /** - * Return a list of relationships that match the requested conditions. The results can be received as a series of pages. - * - * @param relationshipTypeName relationship's type. Null means all types - * (but may be slow so not recommended). - * @param searchProperties Optional list of relationship property conditions to match. - * @param sequencingProperty String name of the property that is to be used to sequence the results. - * Null means do not sequence on a property name (see SequencingOrder). - * @param sequencingOrder Enum defining how the results should be ordered. - * @param forLineage the retrieved elements are for lineage processing so include archived elements - * @param forDuplicateProcessing the retrieved element is for duplicate processing so do not combine results from known duplicates. - * @param effectiveTime only return an element if it is effective at this time. Null means anytime. Use "new Date()" for now. - * @param startFrom paging start point - * @param pageSize maximum results that can be returned - * - * @return a list of relationships. Null means no matching relationships. - * @throws InvalidParameterException one of the search parameters are is invalid - * @throws UserNotAuthorizedException the governance action service is not able to access the elements - * @throws PropertyServerException there is a problem accessing the metadata store - */ - public List findRelationshipsBetweenMetadataElements(String relationshipTypeName, - SearchProperties searchProperties, - String sequencingProperty, - SequencingOrder sequencingOrder, - boolean forLineage, - boolean forDuplicateProcessing, - Date effectiveTime, - int startFrom, - int pageSize) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - return openMetadataStore.findRelationshipsBetweenMetadataElements(userId, - relationshipTypeName, - searchProperties, - sequencingProperty, - sequencingOrder, - forLineage, - forDuplicateProcessing, - effectiveTime, - startFrom, - pageSize); - } - - - /** - * Retrieve the relationship using its unique identifier. - * - * @param relationshipGUID unique identifier for the relationship - * @param forLineage the retrieved element is for lineage processing so include archived elements - * @param forDuplicateProcessing the retrieved element is for duplicate processing so do not combine results from known duplicates. - * @param effectiveTime only return the element if it is effective at this time. Null means anytime. Use "new Date()" for now. - * - * @return relationship properties - * @throws InvalidParameterException the unique identifier is null or not known. - * @throws UserNotAuthorizedException the governance action service is not able to access the element - * @throws PropertyServerException there is a problem accessing the metadata store - */ - public RelatedMetadataElements getRelationshipByGUID(String relationshipGUID, - boolean forLineage, - boolean forDuplicateProcessing, - Date effectiveTime) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - return openMetadataStore.getRelationshipByGUID(userId, relationshipGUID, forLineage, forDuplicateProcessing, effectiveTime); - } - - - /** - * Create a new metadata element in the metadata store. The type name comes from the open metadata types. - * The selected type also controls the names and types of the properties that are allowed. - * This version of the method allows access to advanced features such as multiple states and - * effectivity dates. - * - * @param metadataElementTypeName type name of the new metadata element - * @param initialStatus initial status of the metadata element - * @param effectiveFrom the date when this element is active - null for active on creation - * @param effectiveTo the date when this element becomes inactive - null for active until deleted - * @param properties properties of the new metadata element - * - * @return unique identifier of the new metadata element - * - * @throws InvalidParameterException the type name, status or one of the properties is invalid - * @throws UserNotAuthorizedException the governance action service is not authorized to create this type of element - * @throws PropertyServerException there is a problem with the metadata store - */ - public String createMetadataElementInStore(String metadataElementTypeName, - ElementStatus initialStatus, - Date effectiveFrom, - Date effectiveTo, - ElementProperties properties) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - return openMetadataStore.createMetadataElementInStore(userId, - externalSourceGUID, - externalSourceName, - metadataElementTypeName, - initialStatus, - effectiveFrom, - effectiveTo, - properties); - } - - - /** - * Create a new metadata element in the metadata store. The type name comes from the open metadata types. - * The selected type also controls the names and types of the properties that are allowed. - * This version of the method allows access to advanced features such as multiple states and - * effectivity dates. - * - * @param metadataElementTypeName type name of the new metadata element - * @param initialStatus initial status of the metadata element - * @param initialClassifications map of classification names to classification properties to include in the entity creation request - * @param anchorGUID unique identifier of the element that should be the anchor for the new element. Set to null if no anchor, - * or the Anchors classification is included in the initial classifications. - * @param effectiveFrom the date when this element is active - null for active on creation - * @param effectiveTo the date when this element becomes inactive - null for active until deleted - * @param properties properties of the new metadata element - * @param parentGUID unique identifier of optional parent entity - * @param parentRelationshipTypeName type of relationship to connect the new element to the parent - * @param parentRelationshipProperties properties to include in parent relationship - * @param parentAtEnd1 which end should the parent GUID go in the relationship - * - * @return unique identifier of the new metadata element - * - * @throws InvalidParameterException the type name, status or one of the properties is invalid - * @throws UserNotAuthorizedException the governance action service is not authorized to create this type of element - * @throws PropertyServerException there is a problem with the metadata store - */ - public String createMetadataElementInStore(String metadataElementTypeName, - ElementStatus initialStatus, - Map initialClassifications, - String anchorGUID, - Date effectiveFrom, - Date effectiveTo, - ElementProperties properties, - String parentGUID, - String parentRelationshipTypeName, - ElementProperties parentRelationshipProperties, - boolean parentAtEnd1) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - return openMetadataStore.createMetadataElementInStore(userId, - externalSourceGUID, - externalSourceName, - metadataElementTypeName, - initialStatus, - initialClassifications, - anchorGUID, - false, - effectiveFrom, - effectiveTo, - properties, - parentGUID, - parentRelationshipTypeName, - parentRelationshipProperties, - parentAtEnd1); - } - - - /** - * Update the properties of a specific metadata element. The properties must match the type definition associated with the - * metadata element when it was created. However, it is possible to update a few properties, or replace all them by - * the value used in the replaceProperties flag. - * - * @param metadataElementGUID unique identifier of the metadata element to update - * @param replaceProperties flag to indicate whether to completely replace the existing properties with the new properties, or just update - * the individual properties specified on the request. - * @param forLineage the retrieved elements are for lineage processing so include archived elements - * @param forDuplicateProcessing the retrieved element is for duplicate processing so do not combine results from known duplicates. - * @param properties new properties for the metadata element - * @param effectiveTime only return an element if it is effective at this time. Null means anytime. Use "new Date()" for now. - * - * @throws InvalidParameterException either the unique identifier or the properties are invalid in some way - * @throws UserNotAuthorizedException the governance action service is not authorized to update this element - * @throws PropertyServerException there is a problem with the metadata store - */ - public void updateMetadataElementInStore(String metadataElementGUID, - boolean replaceProperties, - boolean forLineage, - boolean forDuplicateProcessing, - ElementProperties properties, - Date effectiveTime) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - openMetadataStore.updateMetadataElementInStore(userId, - externalSourceGUID, - externalSourceName, - metadataElementGUID, - replaceProperties, - forLineage, - forDuplicateProcessing, - properties, - effectiveTime); - } - - - /** - * Update the status of specific metadata element. The new status must match a status value that is defined for the element's type - * assigned when it was created. - * - * @param metadataElementGUID unique identifier of the metadata element to update - * @param forLineage the request is to support lineage retrieval this means entities with the Memento classification can be returned - * @param forDuplicateProcessing the request is for duplicate processing and so must not deduplicate - * @param newElementStatus new status value - or null to leave as is - * @param effectiveTime only return an element if it is effective at this time. Null means anytime. Use "new Date()" for now. - * - * @throws InvalidParameterException either the unique identifier or the status are invalid in some way - * @throws UserNotAuthorizedException the governance action service is not authorized to update this element - * @throws PropertyServerException there is a problem with the metadata store - */ - public void updateMetadataElementStatusInStore(String metadataElementGUID, - boolean forLineage, - boolean forDuplicateProcessing, - ElementStatus newElementStatus, - Date effectiveTime) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - openMetadataStore.updateMetadataElementStatusInStore(userId, - externalSourceGUID, - externalSourceName, - metadataElementGUID, - forLineage, - forDuplicateProcessing, - newElementStatus, - effectiveTime); - } - - - - /** - * Update the effectivity dates control the visibility of the element through specific APIs. - * - * @param metadataElementGUID unique identifier of the metadata element to update - * @param forLineage the request is to support lineage retrieval this means entities with the Memento classification can be returned - * @param forDuplicateProcessing the request is for duplicate processing and so must not deduplicate - * @param effectiveFrom the date when this element is active - null for active now - * @param effectiveTo the date when this element becomes inactive - null for active until deleted - * @param effectiveTime only return an element if it is effective at this time. Null means anytime. Use "new Date()" for now. - * - * @throws InvalidParameterException either the unique identifier or the status are invalid in some way - * @throws UserNotAuthorizedException the governance action service is not authorized to update this element - * @throws PropertyServerException there is a problem with the metadata store - */ - public void updateMetadataElementEffectivityInStore(String metadataElementGUID, - boolean forLineage, - boolean forDuplicateProcessing, - Date effectiveFrom, - Date effectiveTo, - Date effectiveTime) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - openMetadataStore.updateMetadataElementEffectivityInStore(userId, - externalSourceGUID, - externalSourceName, - metadataElementGUID, - forLineage, - forDuplicateProcessing, - effectiveFrom, - effectiveTo, - effectiveTime); - } - - - /** - * Delete a specific metadata element. - * - * @param metadataElementGUID unique identifier of the metadata element to update - * @param forLineage the request is to support lineage retrieval this means entities with the Memento classification can be returned - * @param forDuplicateProcessing the request is for duplicate processing and so must not deduplicate - * @param effectiveTime the time that the retrieved elements must be effective for (null for any time, new Date() for now) - * - * @throws InvalidParameterException the unique identifier is null or invalid in some way - * @throws UserNotAuthorizedException the governance action service is not authorized to delete this element - * @throws PropertyServerException there is a problem with the metadata store - */ - public void deleteMetadataElementInStore(String metadataElementGUID, - boolean forLineage, - boolean forDuplicateProcessing, - Date effectiveTime) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - openMetadataStore.deleteMetadataElementInStore(userId, - externalSourceGUID, - externalSourceName, - metadataElementGUID, - forLineage, - forDuplicateProcessing, - effectiveTime); - } - - - /** - * Add a new classification to the metadata element. Note that only one classification with the same name can be attached to - * a metadata element. - * - * @param metadataElementGUID unique identifier of the metadata element to update - * @param classificationName name of the classification to add (if the classification is already present then use reclassify) - * @param forLineage the request is to support lineage retrieval this means entities with the Memento classification can be returned - * @param forDuplicateProcessing the request is for duplicate processing and so must not deduplicate - * @param effectiveFrom the date when this classification is active - null for active now - * @param effectiveTo the date when this classification becomes inactive - null for active until deleted - * @param properties properties to store in the new classification. These must conform to the valid properties associated with the - * classification name - * @param effectiveTime the time that the retrieved elements must be effective for (null for any time, new Date() for now) - * - * @throws InvalidParameterException the unique identifier or classification name is null or invalid in some way; properties do not match the - * valid properties associated with the classification's type definition - * @throws UserNotAuthorizedException the governance action service is not authorized to update this element - * @throws PropertyServerException there is a problem with the metadata store - */ - public void classifyMetadataElementInStore(String metadataElementGUID, - String classificationName, - boolean forLineage, - boolean forDuplicateProcessing, - Date effectiveFrom, - Date effectiveTo, - ElementProperties properties, - Date effectiveTime) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - openMetadataStore.classifyMetadataElementInStore(userId, - externalSourceGUID, - externalSourceName, - metadataElementGUID, - classificationName, - forLineage, - forDuplicateProcessing, - effectiveFrom, - effectiveTo, - properties, - effectiveTime); - } - - - /** - * Update the properties of a classification that is currently attached to a specific metadata element. - * - * @param metadataElementGUID unique identifier of the metadata element to update - * @param classificationName unique name of the classification to update - * @param replaceProperties flag to indicate whether to completely replace the existing properties with the new properties, or just update - * the individual properties specified on the request. - * @param forLineage the query is to support lineage retrieval - * @param forDuplicateProcessing the query is for duplicate processing and so must not deduplicate - * @param properties new properties for the classification - * @param effectiveTime the time that the retrieved elements must be effective for (null for any time, new Date() for now) - * - * @throws InvalidParameterException the unique identifier or classification name is null or invalid in some way; properties do not match the - * valid properties associated with the classification's type definition - * @throws UserNotAuthorizedException the governance action service is not authorized to update this element/classification - * @throws PropertyServerException there is a problem with the metadata store - */ - public void reclassifyMetadataElementInStore(String metadataElementGUID, - String classificationName, - boolean replaceProperties, - boolean forLineage, - boolean forDuplicateProcessing, - ElementProperties properties, - Date effectiveTime) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - openMetadataStore.reclassifyMetadataElementInStore(userId, - externalSourceGUID, - externalSourceName, - metadataElementGUID, - classificationName, - replaceProperties, - forLineage, - forDuplicateProcessing, - properties, - effectiveTime); - } - - - /** - * Update the effectivity dates of a specific classification attached to a metadata element. - * The effectivity dates control the visibility of the classification through specific APIs. - * - * @param metadataElementGUID unique identifier of the metadata element to update - * @param classificationName unique name of the classification to update - * @param forLineage the query is to support lineage retrieval - * @param forDuplicateProcessing the query is for duplicate processing and so must not deduplicate - * @param effectiveFrom the date when this element is active - null for active now - * @param effectiveTo the date when this element becomes inactive - null for active until deleted - * @param effectiveTime the time that the retrieved elements must be effective for (null for any time, new Date() for now) - * - * @throws InvalidParameterException either the unique identifier or the status are invalid in some way - * @throws UserNotAuthorizedException the governance action service is not authorized to update this element - * @throws PropertyServerException there is a problem with the metadata store - */ - public void updateClassificationEffectivityInStore(String metadataElementGUID, - String classificationName, - boolean forLineage, - boolean forDuplicateProcessing, - Date effectiveFrom, - Date effectiveTo, - Date effectiveTime) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - openMetadataStore.updateClassificationEffectivityInStore(userId, - externalSourceGUID, - externalSourceName, - metadataElementGUID, - classificationName, - forLineage, - forDuplicateProcessing, - effectiveFrom, - effectiveTo, - effectiveTime); - } - - - /** - * Remove the named classification from a specific metadata element. - * - * @param metadataElementGUID unique identifier of the metadata element to update - * @param classificationName unique name of the classification to remove - * @param forLineage the query is to support lineage retrieval - * @param forDuplicateProcessing the query is for duplicate processing and so must not deduplicate - * @param effectiveTime the time that the retrieved elements must be effective for (null for any time, new Date() for now) - * - * @throws InvalidParameterException the unique identifier or classification name is null or invalid in some way - * @throws UserNotAuthorizedException the governance action service is not authorized to remove this classification - * @throws PropertyServerException there is a problem with the metadata store - */ - public void declassifyMetadataElementInStore(String metadataElementGUID, - String classificationName, - boolean forLineage, - boolean forDuplicateProcessing, - Date effectiveTime) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - openMetadataStore.declassifyMetadataElementInStore(userId, - externalSourceGUID, - externalSourceName, - metadataElementGUID, - classificationName, - forLineage, - forDuplicateProcessing, - effectiveTime); - } - - - /** - * Create a relationship between two metadata elements. It is important to put the right element at each end of the relationship - * according to the type definition since this will affect how the relationship is interpreted. - * - * @param relationshipTypeName name of the type of relationship to create. This will determine the types of metadata elements that can be - * related and the properties that can be associated with this relationship. - * @param metadataElement1GUID unique identifier of the metadata element at end 1 of the relationship - * @param metadataElement2GUID unique identifier of the metadata element at end 2 of the relationship - * @param forLineage the query is to support lineage retrieval - * @param forDuplicateProcessing the query is for duplicate processing and so must not deduplicate - * @param effectiveFrom the date when this element is active - null for active now - * @param effectiveTo the date when this element becomes inactive - null for active until deleted - * @param properties the properties of the relationship - * @param effectiveTime the time that the retrieved elements must be effective for (null for any time, new Date() for now) - * - * @return unique identifier of the new relationship - * - * @throws InvalidParameterException the unique identifier's of the metadata elements are null or invalid in some way; the properties are - * not valid for this type of relationship - * @throws UserNotAuthorizedException the governance action service is not authorized to create this type of relationship - * @throws PropertyServerException there is a problem with the metadata store - */ - public String createRelatedElementsInStore(String relationshipTypeName, - String metadataElement1GUID, - String metadataElement2GUID, - boolean forLineage, - boolean forDuplicateProcessing, - Date effectiveFrom, - Date effectiveTo, - ElementProperties properties, - Date effectiveTime) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - return openMetadataStore.createRelatedElementsInStore(userId, - externalSourceGUID, - externalSourceName, - relationshipTypeName, - metadataElement1GUID, - metadataElement2GUID, - forLineage, - forDuplicateProcessing, - effectiveFrom, - effectiveTo, - properties, - effectiveTime); - } - - - /** - * Update the properties associated with a relationship. - * - * @param relationshipGUID unique identifier of the relationship to update - * @param replaceProperties flag to indicate whether to completely replace the existing properties with the new properties, or just update - * the individual properties specified on the request. - * @param forLineage the query is to support lineage retrieval - * @param forDuplicateProcessing the query is for duplicate processing and so must not deduplicate - * @param properties new properties for the relationship - * @param effectiveTime the time that the retrieved elements must be effective for (null for any time, new Date() for now) - * - * @throws InvalidParameterException the unique identifier of the relationship is null or invalid in some way; the properties are - * not valid for this type of relationship - * @throws UserNotAuthorizedException the governance action service is not authorized to update this relationship - * @throws PropertyServerException there is a problem with the metadata store - */ - public void updateRelatedElementsInStore(String relationshipGUID, - boolean replaceProperties, - boolean forLineage, - boolean forDuplicateProcessing, - ElementProperties properties, - Date effectiveTime) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - openMetadataStore.updateRelatedElementsInStore(userId, - externalSourceGUID, - externalSourceName, - relationshipGUID, - replaceProperties, - forLineage, - forDuplicateProcessing, - properties, - effectiveTime); - } - - - - /** - * Update the effectivity dates of a specific relationship between metadata elements. - * The effectivity dates control the visibility of the classification through specific APIs. - * - * @param relationshipGUID unique identifier of the relationship to update - * @param forLineage the query is to support lineage retrieval - * @param forDuplicateProcessing the query is for duplicate processing and so must not deduplicate - * @param effectiveFrom the date when this element is active - null for active now - * @param effectiveTo the date when this element becomes inactive - null for active until deleted - * @param effectiveTime the time that the retrieved elements must be effective for (null for any time, new Date() for now) - * - * @throws InvalidParameterException either the unique identifier or the status are invalid in some way - * @throws UserNotAuthorizedException the governance action service is not authorized to update this element - * @throws PropertyServerException there is a problem with the metadata store - */ - public void updateRelatedElementsEffectivityInStore(String relationshipGUID, - boolean forLineage, - boolean forDuplicateProcessing, - Date effectiveFrom, - Date effectiveTo, - Date effectiveTime) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - openMetadataStore.updateRelatedElementsEffectivityInStore(userId, - externalSourceGUID, - externalSourceName, - relationshipGUID, - forLineage, - forDuplicateProcessing, - effectiveFrom, - effectiveTo, - effectiveTime); - } - - - /** - * Delete a relationship between two metadata elements. - * - * @param relationshipGUID unique identifier of the relationship to delete - * @param forLineage the query is to support lineage retrieval - * @param forDuplicateProcessing the query is for duplicate processing and so must not deduplicate - * @param effectiveTime the time that the retrieved elements must be effective for (null for any time, new Date() for now) - * - * @throws InvalidParameterException the unique identifier of the relationship is null or invalid in some way - * @throws UserNotAuthorizedException the governance action service is not authorized to delete this relationship - * @throws PropertyServerException there is a problem with the metadata store - */ - public void deleteRelatedElementsInStore(String relationshipGUID, - boolean forLineage, - boolean forDuplicateProcessing, - Date effectiveTime) throws InvalidParameterException, - UserNotAuthorizedException, - PropertyServerException - { - openMetadataStore.deleteRelatedElementsInStore(userId, - externalSourceGUID, - externalSourceName, - relationshipGUID, - forLineage, - forDuplicateProcessing, - effectiveTime); - } -} \ No newline at end of file diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryPipeline.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryPipeline.java deleted file mode 100644 index 494f7632886..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryPipeline.java +++ /dev/null @@ -1,68 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery; - -import org.odpi.openmetadata.frameworks.connectors.Connector; -import org.odpi.openmetadata.frameworks.connectors.VirtualConnectorExtension; -import org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException; -import org.odpi.openmetadata.frameworks.discovery.ffdc.DiscoveryServiceException; -import org.odpi.openmetadata.frameworks.discovery.ffdc.ODFErrorCode; - -import java.util.List; - -/** - * DiscoveryPipeline is a discovery service that is responsible for choreographing the discovery services - * passed on initializeEmbeddedConnectors. - */ -public abstract class DiscoveryPipeline extends DiscoveryService implements VirtualConnectorExtension -{ - protected List embeddedDiscoveryServices = null; - - - /** - * Start the pipeline. - * - * @throws ConnectorCheckedException there is a problem within the discovery service. - */ - @Override - public void start() throws ConnectorCheckedException - { - final String methodName = "start"; - - /* - * Check that the discovery context is not null and anything else is set up correctly - */ - super.start(); - - embeddedDiscoveryServices = getEmbeddedDiscoveryServices(); - - if (embeddedDiscoveryServices == null) - { - throw new DiscoveryServiceException(ODFErrorCode.NO_EMBEDDED_DISCOVERY_SERVICES.getMessageDefinition(discoveryServiceName), - this.getClass().getName(), - methodName); - } - - runDiscoveryPipeline(); - } - - - /** - * This implementation provides an inline sequential invocation of the supplied discovery services. - * - * @throws ConnectorCheckedException there is a problem within the discovery service. - */ - protected abstract void runDiscoveryPipeline() throws ConnectorCheckedException; - - - /** - * Free up any resources held since the connector is no longer needed. - * - * @throws ConnectorCheckedException there is a problem within the connector. - */ - @Override - public synchronized void disconnect() throws ConnectorCheckedException - { - super.disconnect(); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryService.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryService.java deleted file mode 100644 index cce54cac37a..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryService.java +++ /dev/null @@ -1,217 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery; - -import org.odpi.openmetadata.frameworks.auditlog.AuditLog; -import org.odpi.openmetadata.frameworks.auditlog.AuditLoggingComponent; -import org.odpi.openmetadata.frameworks.auditlog.ComponentDescription; -import org.odpi.openmetadata.frameworks.connectors.Connector; -import org.odpi.openmetadata.frameworks.connectors.ConnectorBase; -import org.odpi.openmetadata.frameworks.connectors.VirtualConnectorExtension; -import org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException; -import org.odpi.openmetadata.frameworks.discovery.ffdc.DiscoveryServiceException; -import org.odpi.openmetadata.frameworks.discovery.ffdc.ODFErrorCode; - -import java.util.ArrayList; -import java.util.List; - - -/** - * DiscoveryService describes a specific type of connector that is responsible for analyzing the content - * of a specific asset. Information about the asset to analyze is passed in the discovery context. - * The returned discovery context also contains the results. - * - * Some discovery services manage the invocation of other discovery services. These discovery services are called - * discovery pipelines. - */ -public abstract class DiscoveryService extends ConnectorBase implements OpenDiscoveryService, - AuditLoggingComponent, - VirtualConnectorExtension -{ - protected String discoveryServiceName = ""; - protected DiscoveryContext discoveryContext = null; - protected AuditLog auditLog = null; - protected List embeddedConnectors = null; - - - /** - * Receive an audit log object that can be used to record audit log messages. The caller has initialized it - * with the correct component description and log destinations. - * - * @param auditLog audit log object - */ - @Override - public void setAuditLog(AuditLog auditLog) - { - this.auditLog = auditLog; - } - - - /** - * Return the component description that is used by this connector in the audit log. - * - * @return id, name, description, wiki page URL. - */ - @Override - public ComponentDescription getConnectorComponentDescription() - { - if ((this.auditLog != null) && (this.auditLog.getReport() != null)) - { - return auditLog.getReport().getReportingComponent(); - } - - return null; - } - - - /** - * Set up the list of discovery services connectors that will be invoked as part of this discovery pipeline. - * The connectors are initialized waiting to start. After start() is called on the - * discovery pipeline, it will choreograph the invocation of its embedded discovery services by calling - * start() to each of them when they are to run. Similar processing is needed for the disconnect() method. - * - * @param embeddedConnectors list of embedded connectors that are hopefully discovery services - */ - @Override - public void initializeEmbeddedConnectors(List embeddedConnectors) - { - this.embeddedConnectors = embeddedConnectors; - } - - - /** - * Set up details of the asset to analyze and the results of any previous analysis. - * - * @param discoveryContext information about the asset to analyze and the results of analysis of - * other discovery service request. Partial results from other discovery - * services run as part of the same discovery service request may also be - * stored in the newAnnotations list. - */ - public synchronized void setDiscoveryContext(DiscoveryContext discoveryContext) - { - this.discoveryContext = discoveryContext; - } - - - /** - * Set up the discovery service name. This is used in error messages. - * - * @param discoveryServiceName name of the discovery service - */ - public void setDiscoveryServiceName(String discoveryServiceName) - { - this.discoveryServiceName = discoveryServiceName; - } - - - /** - * Return the discovery context for this discovery service. This is typically called after the disconnect() - * method is called. If called before disconnect(), it may only contain partial results. - * - * @return discovery context containing the results discovered (so far) by the discovery service. - */ - public synchronized DiscoveryContext getDiscoveryContext() - { - return discoveryContext; - } - - - /** - * Retrieve and validate the list of embedded connectors and cast them to discovery service connector. - * This is used by DiscoveryPipelines and DiscoveryScanningServices. - * - * @return list of discovery service connectors - * - * @throws DiscoveryServiceException one of the embedded connectors is not a discovery service - */ - protected List getEmbeddedDiscoveryServices() throws DiscoveryServiceException - { - final String methodName = "getEmbeddedDiscoveryServices"; - List discoveryServices = null; - - if (embeddedConnectors != null) - { - discoveryServices = new ArrayList<>(); - - for (Connector embeddedConnector : embeddedConnectors) - { - if (embeddedConnector != null) - { - if (embeddedConnector instanceof DiscoveryService) - { - discoveryServices.add((DiscoveryService)embeddedConnector); - } - else - { - throw new DiscoveryServiceException(ODFErrorCode.INVALID_EMBEDDED_DISCOVERY_SERVICE.getMessageDefinition(discoveryServiceName), - this.getClass().getName(), - methodName); - } - } - } - - if (discoveryServices.isEmpty()) - { - discoveryServices = null; - } - } - - return discoveryServices; - } - - - /** - * Indicates that the discovery service is completely configured and can begin processing. - * This is where the function of the discovery service is implemented. - * This is a standard method from the Open Connector Framework (OCF) so - * be sure to call super.start() in your version. - * - * @throws ConnectorCheckedException there is a problem within the discovery service. - */ - @Override - public void start() throws ConnectorCheckedException - { - super.start(); - - final String methodName = "start"; - - if (discoveryContext == null) - { - throw new DiscoveryServiceException(ODFErrorCode.NULL_DISCOVERY_CONTEXT.getMessageDefinition(discoveryServiceName), - this.getClass().getName(), - methodName); - } - } - - - /** - * Provide a common exception for unexpected errors. - * - * @param methodName calling method - * @param error caught exception - * @throws ConnectorCheckedException wrapped exception - */ - protected void handleUnexpectedException(String methodName, - Throwable error) throws ConnectorCheckedException - { - throw new DiscoveryServiceException(ODFErrorCode.UNEXPECTED_EXCEPTION.getMessageDefinition(discoveryServiceName, - error.getClass().getName(), - methodName, - error.getMessage()), - this.getClass().getName(), - methodName); - } - - - /** - * Free up any resources held since the connector is no longer needed. - * - * @throws ConnectorCheckedException there is a problem within the connector. - */ - @Override - public synchronized void disconnect() throws ConnectorCheckedException - { - super.disconnectConnectors(this.embeddedConnectors); - super.disconnect(); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryServiceProvider.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryServiceProvider.java deleted file mode 100644 index be0abf4dd13..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/DiscoveryServiceProvider.java +++ /dev/null @@ -1,87 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery; - -import org.odpi.openmetadata.frameworks.connectors.ConnectorProviderBase; - -import java.util.List; - -/** - * DiscoveryServiceProvider implements the base class for the connector provider for a discovery service. - */ -public abstract class DiscoveryServiceProvider extends ConnectorProviderBase -{ - /* - * The type name of the asset that this connector supports. - */ - protected static final String supportedAssetTypeName = "OpenDiscoveryService"; - - /* - * Additional configuration to aid choreographing this service in a Governance Action Process. - */ - protected List supportedRequestTypes = null; - protected List supportedAnalysisParameters = null; - protected List supportedRequestSourceNames = null; - protected List supportedTargetActionNames = null; - protected List supportedGuards = null; - - - /** - * The request types returned are those that affect the governance action service's behaviour. Other request types may be used - * to call the governance action service but they result in default behaviour. - * - * @return list of request types - */ - public List supportedRequestTypes() - { - return supportedRequestTypes; - } - - - /** - * The analysis parameters returned are used by the open discovery service to control its behaviour. - * - * @return list of parameter names used if the connector is provisioning - */ - public List supportedAnalysisParameters() - { - return supportedAnalysisParameters; - } - - - /** - * The request source names returned are the request source names that affect the governance action service's behaviour. Other request - * source names may be used in a call the governance action service but they result in default behaviour. - * - * @return list of request sources with special meaning - */ - public List supportedRequestSourceNames() - { - return supportedRequestSourceNames; - } - - - /** - * The action target names returned are those that affect the governance action service's behaviour. Other action target names may be used - * in a call the governance action service but they result in default behaviour. - * - * @return list of action target names with special meaning - */ - public List supportedActionTargetNames() - { - return supportedTargetActionNames; - } - - - /** - * The guards describe the output assessment from the governance action service. The list returned is the complete list of - * guards to expect from the governance action service. They are used when defining governance action processes that choreograph - * the execution of governance action services using the guards to determine the path in the process to take. - * - * @return list of guards - */ - public List supportedGuards() - { - return supportedGuards; - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/OpenDiscoveryService.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/OpenDiscoveryService.java deleted file mode 100644 index 4b06a661bc7..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/OpenDiscoveryService.java +++ /dev/null @@ -1,10 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery; - -/** - * A marker interface to identify the service that this connector works with. - */ -public interface OpenDiscoveryService -{ -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/ffdc/DiscoveryEngineException.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/ffdc/DiscoveryEngineException.java deleted file mode 100644 index de2a8452afd..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/ffdc/DiscoveryEngineException.java +++ /dev/null @@ -1,62 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.ffdc; - -import org.odpi.openmetadata.frameworks.auditlog.messagesets.ExceptionMessageDefinition; -import org.odpi.openmetadata.frameworks.connectors.ffdc.OCFCheckedExceptionBase; - -import java.io.Serial; - -/** - * DiscoveryEngineException indicates there is a problem with a request to a specific discovery engine. The - * error codes and messages indicate the cause of the problem and guidance on finding a remedy. - */ -public class DiscoveryEngineException extends OCFCheckedExceptionBase -{ - @Serial - private static final long serialVersionUID = 1L; - - /** - * This is the typical constructor used for creating a DiscoveryEngineException. - * - * @param messageDefinition content of message - * @param className name of class reporting error - * @param actionDescription description of function it was performing when error detected - */ - public DiscoveryEngineException(ExceptionMessageDefinition messageDefinition, - String className, - String actionDescription) - { - super(messageDefinition, className, actionDescription); - } - - - /** - * This is the constructor used for creating a DiscoveryEngineException in response to a previous exception. - * - * @param messageDefinition content of message - * @param className name of class reporting error - * @param actionDescription description of function it was performing when error detected - * @param caughtError the error that resulted in this exception. - */ - public DiscoveryEngineException(ExceptionMessageDefinition messageDefinition, - String className, - String actionDescription, - Throwable caughtError) - { - super(messageDefinition, className, actionDescription, caughtError); - } - - - /** - * This is the copy/clone constructor used for creating an exception. - * - * @param errorMessage associated message - * @param template object to copy - */ - public DiscoveryEngineException(String errorMessage, - OCFCheckedExceptionBase template) - { - super(errorMessage, template); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/ffdc/DiscoveryServiceException.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/ffdc/DiscoveryServiceException.java deleted file mode 100644 index aff31dc0bf1..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/ffdc/DiscoveryServiceException.java +++ /dev/null @@ -1,62 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.ffdc; - -import org.odpi.openmetadata.frameworks.auditlog.messagesets.ExceptionMessageDefinition; -import org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException; - -import java.io.Serial; - -/** - * DiscoveryServiceException indicates there has been a problem running a discovery service. The - * error codes and messages indicate the cause of the problem and guidance on finding a remedy. - */ -public class DiscoveryServiceException extends ConnectorCheckedException -{ - @Serial - private static final long serialVersionUID = 1L; - - /** - * This is the typical constructor used for creating a DiscoveryServiceException. - * - * @param messageDefinition content of message - * @param className name of class reporting error - * @param actionDescription description of function it was performing when error detected - */ - public DiscoveryServiceException(ExceptionMessageDefinition messageDefinition, - String className, - String actionDescription) - { - super(messageDefinition, className, actionDescription); - } - - - /** - * This is the constructor used for creating a DiscoveryServiceException in response to a previous exception. - * - * @param messageDefinition content of message - * @param className name of class reporting error - * @param actionDescription description of function it was performing when error detected - * @param caughtError the error that resulted in this exception. - */ - public DiscoveryServiceException(ExceptionMessageDefinition messageDefinition, - String className, - String actionDescription, - Throwable caughtError) - { - super(messageDefinition, className, actionDescription, caughtError); - } - - - /** - * This is the copy/clone constructor used for creating an exception. - * - * @param errorMessage associated message - * @param template object to copy - */ - public DiscoveryServiceException(String errorMessage, - ConnectorCheckedException template) - { - super(errorMessage, template); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/ffdc/ODFErrorCode.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/ffdc/ODFErrorCode.java deleted file mode 100644 index 6ad327cb65d..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/ffdc/ODFErrorCode.java +++ /dev/null @@ -1,142 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.ffdc; - - -import org.odpi.openmetadata.frameworks.auditlog.messagesets.ExceptionMessageDefinition; -import org.odpi.openmetadata.frameworks.auditlog.messagesets.ExceptionMessageSet; - - -/** - * The ODF error code is used to define first failure data capture (FFDC) for errors that occur when working with - * ODF Discovery Services. It is used in conjunction with all ODF Exceptions, both Checked and Runtime (unchecked). - * - * The 5 fields in the enum are: - *
    - *
  • HTTP Error Code for translating between REST and JAVA - Typically the numbers used are:
  • - *
    • - *
    • 500 - internal error
    • - *
    • 400 - invalid parameters
    • - *
    • 404 - not found
    • - *
    • 409 - data conflict errors - eg item already defined
    • - *
  • - *
  • Error Message Identifier - to uniquely identify the message
  • - *
  • Error Message Text - includes placeholder to allow additional values to be captured
  • - *
  • SystemAction - describes the result of the error
  • - *
  • UserAction - describes how a user should correct the error
  • - *
- */ -public enum ODFErrorCode implements ExceptionMessageSet -{ - /** - * ODF-DISCOVERY-SERVICE-400-001 - No discovery context supplied to the discovery service {0} - */ - NULL_DISCOVERY_CONTEXT(400, "ODF-DISCOVERY-SERVICE-400-001", - "No discovery context supplied to the discovery service {0}", - "The discovery service is not able to determine which asset to analyze.", - "This may be a configuration or a code error. Look for other error messages and review the code of the discovery service. Once the cause is resolved, retry the discovery request."), - - /** - * ODF-DISCOVERY-SERVICE-400-002 - No embedded discovery services supplied to the discovery pipeline {0} - */ - NO_EMBEDDED_DISCOVERY_SERVICES(400, "ODF-DISCOVERY-SERVICE-400-002", - "No embedded discovery services supplied to the discovery pipeline {0}", - "The discovery pipeline is not able to discovery which discovery services to run.", - "This may be a configuration or a code error. Look for other error messages and review the code of the discovery pipeline service. Once the cause is resolved, retry the discovery request."), - - /** - * ODF-DISCOVERY-SERVICE-400-003 - No embedded discovery services supplied to the discovery pipeline {0} - */ - INVALID_EMBEDDED_DISCOVERY_SERVICE(400, "ODF-DISCOVERY-SERVICE-400-003", - "No embedded discovery services supplied to the discovery pipeline {0}", - "The discovery pipeline is not able to discover which discovery services to run.", - "This may be a configuration or a code error. Look for other error messages and review the code of the discovery pipeline service or the associated open discovery engine. Once the cause is resolved, retry the discovery request."), - - /** - * ODF-DISCOVERY-SERVICE-500-001 - Unexpected exception in discovery service {0} of type {1} detected by method {2}. The error message was {3} - */ - UNEXPECTED_EXCEPTION(500, "ODF-DISCOVERY-SERVICE-500-001", - "Unexpected exception in discovery service {0} of type {1} detected by method {2}. The error message was {3}", - "The discovery service failed during its operation.", - "This may be a configuration or a code error. Look for other error messages and review the code of the discovery service. Once the cause is resolved, retry the discovery request."); - ; - - private final int httpErrorCode; - private final String errorMessageId; - private final String errorMessage; - private final String systemAction; - private final String userAction; - - /** - * The constructor for ODFErrorCode expects to be passed one of the enumeration rows defined above. - * - * @param httpErrorCode error code to use over REST calls - * @param errorMessageId unique Id for the message - * @param errorMessage text for the message - * @param systemAction description of the action taken by the system when the error condition happened - * @param userAction instructions for resolving the error - */ - ODFErrorCode(int httpErrorCode, String errorMessageId, String errorMessage, String systemAction, String userAction) - { - this.httpErrorCode = httpErrorCode; - this.errorMessageId = errorMessageId; - this.errorMessage = errorMessage; - this.systemAction = systemAction; - this.userAction = userAction; - } - - - /** - * Retrieve a message definition object for an exception. This method is used when there are no message inserts. - * - * @return message definition object. - */ - @Override - public ExceptionMessageDefinition getMessageDefinition() - { - return new ExceptionMessageDefinition(httpErrorCode, - errorMessageId, - errorMessage, - systemAction, - userAction); - } - - - /** - * Retrieve a message definition object for an exception. This method is used when there are values to be inserted into the message. - * - * @param params array of parameters (all strings). They are inserted into the message according to the numbering in the message text. - * @return message definition object. - */ - @Override - public ExceptionMessageDefinition getMessageDefinition(String... params) - { - ExceptionMessageDefinition messageDefinition = new ExceptionMessageDefinition(httpErrorCode, - errorMessageId, - errorMessage, - systemAction, - userAction); - - messageDefinition.setMessageParameters(params); - - return messageDefinition; - } - - - /** - * JSON-style toString - * - * @return string of property names and values for this enum - */ - @Override - public String toString() - { - return "ODFErrorCode{" + - "httpErrorCode=" + httpErrorCode + - ", errorMessageId='" + errorMessageId + '\'' + - ", errorMessage='" + errorMessage + '\'' + - ", systemAction='" + systemAction + '\'' + - ", userAction='" + userAction + '\'' + - '}'; - } -} \ No newline at end of file diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/Annotation.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/Annotation.java deleted file mode 100644 index 0f438fb7149..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/Annotation.java +++ /dev/null @@ -1,457 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - -import com.fasterxml.jackson.annotation.*; - -import java.io.Serial; -import java.util.*; - -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.PUBLIC_ONLY; - -/** - * Annotation is used to record information gleaned from a discovery service. The subtypes contain more detail. - */ -@JsonAutoDetect(getterVisibility=PUBLIC_ONLY, setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonIgnoreProperties(ignoreUnknown=true) -@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.PROPERTY, - property = "class") -@JsonSubTypes( - { - @JsonSubTypes.Type(value = SchemaAnalysisAnnotation.class, name = "SchemaAnalysisAnnotation"), - @JsonSubTypes.Type(value = DataSourceMeasurementAnnotation.class, name = "DataSourceMeasurementAnnotation"), - @JsonSubTypes.Type(value = DataFieldAnnotation.class, name = "DataFieldAnnotation"), - }) -public class Annotation extends PropertyBase -{ - @Serial - private static final long serialVersionUID = 1L; - - private String annotationType = null; - private String summary = null; - private int confidenceLevel = 0; - private String expression = null; - private String explanation = null; - private String analysisStep = null; - private String jsonProperties = null; - - /* - * Details of Annotations attached to this Annotation - */ - private int numAttachedAnnotations = 0; - - /* - * Details from the latest AnnotationReview entity. - */ - private AnnotationStatus annotationStatus = null; - private Date reviewDate = null; - private String steward = null; - private String reviewComment = null; - - - private Map additionalProperties = null; - - - - /** - * Default constructor used by subclasses - */ - public Annotation() - { - super(); - } - - - /** - * Copy/clone Constructor - * - * @param template template object to copy. - */ - public Annotation(Annotation template) - { - super(template); - - if (template != null) - { - this.annotationType = template.getAnnotationType(); - this.summary = template.getSummary(); - this.confidenceLevel = template.getConfidenceLevel(); - this.expression = template.getExpression(); - this.explanation = template.getExplanation(); - this.analysisStep = template.getAnalysisStep(); - this.jsonProperties = template.getJsonProperties(); - this.numAttachedAnnotations = template.getNumAttachedAnnotations(); - this.annotationStatus = template.getAnnotationStatus(); - this.reviewDate = template.getReviewDate(); - this.steward = template.getSteward(); - this.reviewComment = template.getReviewComment(); - this.additionalProperties = template.getAdditionalProperties(); - } - } - - - - - /** - * Return the informal name for the type of annotation. - * - * @return String annotation type - */ - public String getAnnotationType() - { - return annotationType; - } - - - /** - * Set up the informal name for the type of annotation. - * - * @param annotationType String annotation type - */ - public void setAnnotationType(String annotationType) - { - this.annotationType = annotationType; - } - - - /** - * Return the summary description for the annotation. - * - * @return String summary of annotation - */ - public String getSummary() - { - return summary; - } - - - /** - * Set up the summary description for the annotation. - * - * @param summary String summary of annotation - */ - public void setSummary(String summary) - { - this.summary = summary; - } - - - /** - * Return the confidence level of the discovery service that the annotation is correct. - * - * @return int confidence level - */ - public int getConfidenceLevel() - { - return confidenceLevel; - } - - - /** - * Set up the confidence level of the discovery service that the annotation is correct. - * - * @param confidenceLevel int confidence level - */ - public void setConfidenceLevel(int confidenceLevel) - { - this.confidenceLevel = confidenceLevel; - } - - - /** - * Return the expression that represent the relationship between the annotation and the asset. - * - * @return String expression - */ - public String getExpression() - { - return expression; - } - - - /** - * Set up the expression that represent the relationship between the annotation and the asset. - * - * @param expression String expression - */ - public void setExpression(String expression) - { - this.expression = expression; - } - - - /** - * Return the explanation for the annotation. - * - * @return String explanation - */ - public String getExplanation() { - return explanation; - } - - - /** - * Set up the explanation for the annotation. - * - * @param explanation explanation - */ - public void setExplanation(String explanation) - { - this.explanation = explanation; - } - - - /** - * Return a description of the analysis step that the discovery service was in when it created the annotation. - * - * @return String analysis step - */ - public String getAnalysisStep() - { - return analysisStep; - } - - - /** - * Set up a description of the analysis step that the discovery service was in when it created the annotation. - * - * @param analysisStep analysis step - */ - public void setAnalysisStep(String analysisStep) - { - this.analysisStep = analysisStep; - } - - - /** - * Return the JSON properties associated with the annotation. - * - * @return String JSON properties of annotation - */ - public String getJsonProperties() - { - return jsonProperties; - } - - - /** - * Set up the JSON properties associated with the annotation. - * - * @param jsonProperties JSON properties of annotation - */ - public void setJsonProperties(String jsonProperties) - { - this.jsonProperties = jsonProperties; - } - - - /** - * Return the current status of the annotation. - * - * @return AnnotationStatus current status of annotation - */ - public AnnotationStatus getAnnotationStatus() - { - return annotationStatus; - } - - - /** - * Set up the current status of the annotation. - * - * @param annotationStatus current status of annotation - */ - public void setAnnotationStatus(AnnotationStatus annotationStatus) - { - this.annotationStatus = annotationStatus; - } - - - /** - * Return the number of annotations attached to the this annotation. These generally add further information. - * - * @return number of annotations - */ - public int getNumAttachedAnnotations() - { - return numAttachedAnnotations; - } - - - /** - * Set up the number of annotations attached to the this annotation. These generally add further information. - * - * @param number number of annotations - */ - public void setNumAttachedAnnotations(int number) - { - this.numAttachedAnnotations = number; - } - - - /** - * Return the date that this annotation was reviewed. If no review has taken place then this property is null. - * - * @return Date review date - */ - public Date getReviewDate() - { - return reviewDate; - } - - - /** - * Set up the date that this annotation was reviewed. If no review has taken place then this property is null. - * - * @param reviewDate review date - */ - public void setReviewDate(Date reviewDate) - { - this.reviewDate = reviewDate; - } - - - /** - * Return the name of the steward that reviewed the annotation. - * - * @return String steward's name. - */ - public String getSteward() - { - return steward; - } - - - /** - * Set up the name of the steward that reviewed the annotation. - * - * @param steward steward's name. - */ - public void setSteward(String steward) - { - this.steward = steward; - } - - - /** - * Return any comments made by the steward during the review. - * - * @return String review comment - */ - public String getReviewComment() - { - return reviewComment; - } - - - /** - * Set up any comments made by the steward during the review. - * - * @param reviewComment review comment - */ - public void setReviewComment(String reviewComment) - { - this.reviewComment = reviewComment; - } - - - /** - * Return the additional properties for the Annotation. - * - * @return properties map - */ - public Map getAdditionalProperties() - { - return additionalProperties; - } - - - /** - * Set up the additional properties for the Annotation. - * - * @param additionalProperties properties map - */ - public void setAdditionalProperties(Map additionalProperties) - { - this.additionalProperties = additionalProperties; - } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "Annotation{" + - "annotationType='" + annotationType + '\'' + - ", summary='" + summary + '\'' + - ", confidenceLevel=" + confidenceLevel + - ", expression='" + expression + '\'' + - ", explanation='" + explanation + '\'' + - ", analysisStep='" + analysisStep + '\'' + - ", jsonProperties='" + jsonProperties + '\'' + - ", numAttachedAnnotations=" + numAttachedAnnotations + - ", annotationStatus=" + annotationStatus + - ", reviewDate=" + reviewDate + - ", steward='" + steward + '\'' + - ", reviewComment='" + reviewComment + '\'' + - ", additionalProperties=" + additionalProperties + - ", headerVersion=" + getHeaderVersion() + - ", elementHeader=" + getElementHeader() + - ", typeName='" + getTypeName() + '\'' + - ", extendedProperties=" + getExtendedProperties() + - '}'; - } - - - /** - * Compare the values of the supplied object with those stored in the current object. - * - * @param objectToCompare supplied object - * @return boolean result of comparison - */ - @Override - public boolean equals(Object objectToCompare) - { - if (this == objectToCompare) - { - return true; - } - if (objectToCompare == null || getClass() != objectToCompare.getClass()) - { - return false; - } - Annotation that = (Annotation) objectToCompare; - return confidenceLevel == that.confidenceLevel && - numAttachedAnnotations == that.numAttachedAnnotations && - Objects.equals(annotationType, that.annotationType) && - Objects.equals(summary, that.summary) && - Objects.equals(expression, that.expression) && - Objects.equals(explanation, that.explanation) && - Objects.equals(analysisStep, that.analysisStep) && - Objects.equals(jsonProperties, that.jsonProperties) && - annotationStatus == that.annotationStatus && - Objects.equals(reviewDate, that.reviewDate) && - Objects.equals(steward, that.steward) && - Objects.equals(reviewComment, that.reviewComment) && - Objects.equals(additionalProperties, that.additionalProperties); - } - - /** - * Create a hash code for this element type. - * - * @return int hash code - */ - @Override - public int hashCode() - { - return Objects.hash(annotationType, summary, confidenceLevel, expression, explanation, analysisStep, jsonProperties, numAttachedAnnotations - , annotationStatus, reviewDate, steward, reviewComment, additionalProperties); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/AnnotationStatus.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/AnnotationStatus.java deleted file mode 100644 index 2434276d392..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/AnnotationStatus.java +++ /dev/null @@ -1,169 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - -import com.fasterxml.jackson.annotation.JsonAutoDetect; -import com.fasterxml.jackson.annotation.JsonIgnoreProperties; -import com.fasterxml.jackson.annotation.JsonInclude; - -import java.io.Serializable; - -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.PUBLIC_ONLY; - -/** - * An AnnotationStatus defines the current status for an annotation plus some default descriptive text. - */ -@JsonAutoDetect(getterVisibility=PUBLIC_ONLY, setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonIgnoreProperties(ignoreUnknown=true) -public enum AnnotationStatus implements Serializable -{ - /** - * Annotation has been created but not reviewed. - */ - NEW_ANNOTATION (0, 0, "New", "Annotation has been created but not reviewed"), - - /** - * Annotation has been reviewed by no decision has been made. - */ - REVIEWED_ANNOTATION (1, 1, "Reviewed", "Annotation has been reviewed by no decision has been made"), - - /** - * Annotation has been approved. - */ - APPROVED_ANNOTATION (2, 2, "Approved", "Annotation has been approved"), - - /** - * Annotation has been approved and insight has been added to Asset's metadata. - */ - ACTIONED_ANNOTATION (3, 3, "Actioned", "Annotation has been approved and insight has been added to Asset's metadata"), - - /** - * Annotation has been reviewed and declared invalid. - */ - INVALID_ANNOTATION (4, 4, "Invalid", "Annotation has been reviewed and declared invalid"), - - /** - * Annotation is invalid and should be ignored. - */ - IGNORE_ANNOTATION (5, 5, "Ignore", "Annotation is invalid and should be ignored"), - - /** - * Annotation's status stored in additional properties - */ - OTHER_STATUS (98, 99, "Other", "Annotation's status stored in additional properties"), - - /** - * Annotation has not had a status assigned - */ - UNKNOWN_STATUS (99, 0, "Unknown", "Annotation has not had a status assigned"); - - private static final long serialVersionUID = 1L; - - private static final String ENUM_TYPE_GUID = "71187df6-ef66-4f88-bc03-cd3c7f925165"; - private static final String ENUM_TYPE_NAME = "AnnotationStatus"; - - private final int statusCode; - private final int openTypeOrdinal; - private final String statusName; - private final String statusDescription; - - - /** - * Typical Constructor - * - * @param statusCode ordinal - * @param openTypeOrdinal code number from the equivalent Enum Type - * @param statusName short name - * @param statusDescription longer explanation - */ - AnnotationStatus(int statusCode, - int openTypeOrdinal, - String statusName, - String statusDescription) - { - this.statusCode = statusCode; - this.openTypeOrdinal = openTypeOrdinal; - this.statusName = statusName; - this.statusDescription = statusDescription; - } - - - /** - * Return the status code for this enum instance - * - * @return int status code - */ - public int getOrdinal() - { - return statusCode; - } - - - /** - * Return the default name for the status for this enum instance. - * - * @return String default status name - */ - public String getName() - { - return statusName; - } - - - /** - * Return the default description for the status for this enum instance. - * - * @return String default status description - */ - public String getDescription() - { - return statusDescription; - } - - - - /** - * Return the code for this enum that comes from the Open Metadata Type that this enum represents. - * - * @return int code number - */ - public int getOpenTypeOrdinal() - { - return openTypeOrdinal; - } - - - /** - * Return the unique identifier for the open metadata enum type that this enum class represents. - * - * @return string guid - */ - public String getOpenTypeGUID() { return ENUM_TYPE_GUID; } - - - /** - * Return the unique name for the open metadata enum type that this enum class represents. - * - * @return string name - */ - public String getOpenTypeName() { return ENUM_TYPE_NAME; } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "AnnotationStatus{" + - "statusCode=" + statusCode + - ", openTypeOrdinal=" + openTypeOrdinal + - ", statusName='" + statusName + '\'' + - ", statusDescription='" + statusDescription + '\'' + - '}'; - } -} \ No newline at end of file diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/ClassificationAnnotation.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/ClassificationAnnotation.java deleted file mode 100644 index 34d673ffd81..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/ClassificationAnnotation.java +++ /dev/null @@ -1,141 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - -import com.fasterxml.jackson.annotation.JsonAutoDetect; -import com.fasterxml.jackson.annotation.JsonIgnoreProperties; -import com.fasterxml.jackson.annotation.JsonInclude; - -import java.util.Map; -import java.util.Objects; - -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.PUBLIC_ONLY; - -/** - * ClassificationAnnotation recommends classifications for either an asset or a data field. - */ -@JsonAutoDetect(getterVisibility=PUBLIC_ONLY, setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonIgnoreProperties(ignoreUnknown=true) - -public class ClassificationAnnotation extends DataFieldAnnotation -{ - private static final long serialVersionUID = 1L; - - private Map candidateClassifications = null; - - /** - * Default constructor - */ - public ClassificationAnnotation() - { - } - - - /** - * Copy clone constructor - * - * @param template object to copy - */ - public ClassificationAnnotation(ClassificationAnnotation template) - { - super(template); - - if (template != null) - { - candidateClassifications = template.getCandidateClassifications(); - } - } - - - /** - * Return a map of candidate classification names to additional characteristics - * - * @return map of classification names to string - */ - public Map getCandidateClassifications() - { - return candidateClassifications; - } - - - /** - * Set up a map of candidate classification names to additional characteristics. - * - * @param candidateClassifications map of classification names to string - */ - public void setCandidateClassifications(Map candidateClassifications) - { - this.candidateClassifications = candidateClassifications; - } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "ClassificationAnnotation{" + - "candidateClassifications=" + candidateClassifications + - ", annotationType='" + getAnnotationType() + '\'' + - ", summary='" + getSummary() + '\'' + - ", confidenceLevel=" + getConfidenceLevel() + - ", expression='" + getExpression() + '\'' + - ", explanation='" + getExplanation() + '\'' + - ", analysisStep='" + getAnalysisStep() + '\'' + - ", jsonProperties='" + getJsonProperties() + '\'' + - ", annotationStatus=" + getAnnotationStatus() + - ", numAttachedAnnotations=" + getNumAttachedAnnotations() + - ", reviewDate=" + getReviewDate() + - ", steward='" + getSteward() + '\'' + - ", reviewComment='" + getReviewComment() + '\'' + - ", additionalProperties=" + getAdditionalProperties() + - ", headerVersion=" + getHeaderVersion() + - ", elementHeader=" + getElementHeader() + - ", typeName='" + getTypeName() + '\'' + - ", extendedProperties=" + getExtendedProperties() + - '}'; - } - - - /** - * Compare the values of the supplied object with those stored in the current object. - * - * @param objectToCompare supplied object - * @return boolean result of comparison - */ - @Override - public boolean equals(Object objectToCompare) - { - if (this == objectToCompare) - { - return true; - } - if (objectToCompare == null || getClass() != objectToCompare.getClass()) - { - return false; - } - if (!super.equals(objectToCompare)) - { - return false; - } - ClassificationAnnotation that = (ClassificationAnnotation) objectToCompare; - return Objects.equals(candidateClassifications, that.candidateClassifications); - } - - - /** - * Create a hash code for this element type. - * - * @return int hash code - */ - @Override - public int hashCode() - { - return Objects.hash(super.hashCode(), candidateClassifications); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataClassAnnotation.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataClassAnnotation.java deleted file mode 100644 index d70f968a4bc..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataClassAnnotation.java +++ /dev/null @@ -1,191 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - -import com.fasterxml.jackson.annotation.*; - -import java.util.List; -import java.util.Objects; - -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.PUBLIC_ONLY; - -/** - * DataClassAnnotation recommends a data class that potentially matches this data field. - */ -@JsonAutoDetect(getterVisibility = PUBLIC_ONLY, setterVisibility = PUBLIC_ONLY, fieldVisibility = NONE) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonIgnoreProperties(ignoreUnknown = true) -public class DataClassAnnotation extends DataFieldAnnotation -{ - private static final long serialVersionUID = 1L; - - private List candidateDataClassGUIDs = null; - private long matchingValues = 0L; - private long nonMatchingValues = 0L; - - - /** - * Default constructor - */ - public DataClassAnnotation() - { - } - - - /** - * Copy clone constructor - * - * @param template object to copy - */ - public DataClassAnnotation(DataClassAnnotation template) - { - super(template); - - if (template != null) - { - candidateDataClassGUIDs = template.getCandidateDataClassGUIDs(); - matchingValues = template.getMatchingValues(); - nonMatchingValues = template.getNonMatchingValues(); - } - } - - - /** - * Return the identifiers of data classes that seem to match the values in this data field. - * - * @return list of unique identifiers for data classes - */ - public List getCandidateDataClassGUIDs() - { - return candidateDataClassGUIDs; - } - - - /** - * Set up the identifiers of data classes that seem to match the values in this data field. - * - * @param candidateDataClassGUIDs list of guids - */ - public void setCandidateDataClassGUIDs(List candidateDataClassGUIDs) - { - this.candidateDataClassGUIDs = candidateDataClassGUIDs; - } - - - /** - * Return the count of matching values that match the specification of these data classes. - * - * @return long - */ - public long getMatchingValues() - { - return matchingValues; - } - - - /** - * Set up the count of matching values that match the specification of these data classes. - * - * @param matchingValues long - */ - public void setMatchingValues(long matchingValues) - { - this.matchingValues = matchingValues; - } - - - /** - * Return the count of values that do not match the specification of these data classes. - * - * @return long - */ - public long getNonMatchingValues() - { - return nonMatchingValues; - } - - - /** - * Set up the count of values that do not match the specification of these data classes. - * - * @param nonMatchingValues long - */ - public void setNonMatchingValues(long nonMatchingValues) - { - this.nonMatchingValues = nonMatchingValues; - } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "DataClassAnnotation{" + - "candidateDataClassGUIDs=" + candidateDataClassGUIDs + - ", matchingValues=" + matchingValues + - ", nonMatchingValues=" + nonMatchingValues + - ", annotationType='" + getAnnotationType() + '\'' + - ", summary='" + getSummary() + '\'' + - ", confidenceLevel=" + getConfidenceLevel() + - ", expression='" + getExpression() + '\'' + - ", explanation='" + getExplanation() + '\'' + - ", analysisStep='" + getAnalysisStep() + '\'' + - ", jsonProperties='" + getJsonProperties() + '\'' + - ", annotationStatus=" + getAnnotationStatus() + - ", numAttachedAnnotations=" + getNumAttachedAnnotations() + - ", reviewDate=" + getReviewDate() + - ", steward='" + getSteward() + '\'' + - ", reviewComment='" + getReviewComment() + '\'' + - ", additionalProperties=" + getAdditionalProperties() + - ", headerVersion=" + getHeaderVersion() + - ", elementHeader=" + getElementHeader() + - ", typeName='" + getTypeName() + '\'' + - ", extendedProperties=" + getExtendedProperties() + - '}'; - } - - - /** - * Compare the values of the supplied object with those stored in the current object. - * - * @param objectToCompare supplied object - * @return boolean result of comparison - */ - @Override - public boolean equals(Object objectToCompare) - { - if (this == objectToCompare) - { - return true; - } - if (objectToCompare == null || getClass() != objectToCompare.getClass()) - { - return false; - } - if (!super.equals(objectToCompare)) - { - return false; - } - DataClassAnnotation that = (DataClassAnnotation) objectToCompare; - return matchingValues == that.matchingValues && - nonMatchingValues == that.nonMatchingValues && - Objects.equals(candidateDataClassGUIDs, that.candidateDataClassGUIDs); - } - - - /** - * Create a hash code for this element type. - * - * @return int hash code - */ - @Override - public int hashCode() - { - return Objects.hash(super.hashCode(), candidateDataClassGUIDs, matchingValues, nonMatchingValues); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataField.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataField.java deleted file mode 100644 index f9ff86309a1..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataField.java +++ /dev/null @@ -1,676 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - - -import org.odpi.openmetadata.frameworks.openmetadata.enums.DataItemSortOrder; - -import java.io.Serial; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Objects; - -/** - * DataField describes a single data field (column, attribute or property) discovered during the analysis of an asset. It provides an anchor for - * annotations that are specific to the field. - */ -public class DataField extends PropertyBase -{ - @Serial - private static final long serialVersionUID = 1L; - - private int dataFieldPosition = 0; - private String dataFieldName = null; - private String dataFieldType = null; - private String dataFieldDescription = null; - private String dataFieldNamespace = null; - private List dataFieldAliases = null; - private DataItemSortOrder dataFieldSortOrder = null; - private int minCardinality = 0; - private int maxCardinality = 0; - private boolean isNullable = true; - private int minimumLength = 0; - private int length = 0; - private int precision = 0; - private int significantDigits = 0; - private String defaultValue = null; - private boolean isDeprecated = false; - private long version = 0L; - private String versionIdentifier = null; - private Map additionalProperties = null; - - private int dataFieldAnnotations = 0; - private int nestedDataFields = 0; - private int linkedDataFields = 0; - - - /** - * Default constructor - */ - public DataField() - { - } - - - /** - * Copy clone constructor - * - * @param template object to copy - */ - public DataField(DataField template) - { - super(template); - - if (template != null) - { - dataFieldPosition = template.getDataFieldPosition(); - - dataFieldName = template.getDataFieldName(); - dataFieldType = template.getDataFieldType(); - dataFieldDescription = template.getDataFieldDescription(); - dataFieldNamespace = template.getDataFieldNamespace(); - dataFieldAliases = template.getDataFieldAliases(); - dataFieldSortOrder = template.getDataFieldSortOrder(); - minCardinality = template.getMinCardinality(); - maxCardinality = template.getMaxCardinality(); - isNullable = template.getIsNullable(); - minimumLength = template.getMinimumLength(); - length = template.getLength(); - precision = template.getPrecision(); - significantDigits = template.getSignificantDigits(); - defaultValue = template.getDefaultValue(); - isDeprecated = template.getIsDeprecated(); - version = template.getVersion(); - versionIdentifier = template.getVersionIdentifier(); - additionalProperties = template.getAdditionalProperties(); - - dataFieldAnnotations = template.getDataFieldAnnotations(); - nestedDataFields = template.getNestedDataFields(); - linkedDataFields = template.getLinkedDataFields(); - } - } - - - /** - * Return the position (index) of the data field in the schema. - * - * @return integer - */ - public int getDataFieldPosition() - { - return dataFieldPosition; - } - - - /** - * Set up the position (index) of the data field in the schema. - * - * @param dataFieldPosition integer - */ - public void setDataFieldPosition(int dataFieldPosition) - { - this.dataFieldPosition = dataFieldPosition; - } - - - /** - * Return the name of this data field. - * - * @return string name - */ - public String getDataFieldName() - { - return dataFieldName; - } - - - /** - * Set up the name of this data field. - * - * @param dataFieldName string name - */ - public void setDataFieldName(String dataFieldName) - { - this.dataFieldName = dataFieldName; - } - - - /** - * Return the name of type of this data field. - * - * @return string type name - */ - public String getDataFieldType() - { - return dataFieldType; - } - - - /** - * Set up the name of type of this data field. This can be used when building the schema. - * - * @param dataFieldType string type name - */ - public void setDataFieldType(String dataFieldType) - { - this.dataFieldType = dataFieldType; - } - - - /** - * Return description of this data field. - * - * @return text - */ - public String getDataFieldDescription() - { - return dataFieldDescription; - } - - - /** - * Set up the description of this data field. - * - * @param dataFieldDescription text - */ - public void setDataFieldDescription(String dataFieldDescription) - { - this.dataFieldDescription = dataFieldDescription; - } - - - /** - * Return the name of the namespace that this type belongs to. - * - * @return string name - */ - public String getDataFieldNamespace() - { - return dataFieldNamespace; - } - - - /** - * Set up the name of the namespace that this type belongs to. - * - * @param dataFieldNamespace string name - */ - public void setDataFieldNamespace(String dataFieldNamespace) - { - this.dataFieldNamespace = dataFieldNamespace; - } - - - /** - * Return a list of alternative names for the data field. - * - * @return list of names - */ - public List getDataFieldAliases() - { - return dataFieldAliases; - } - - - /** - * Set up a list of alternative names for the data field. - * - * @param dataFieldAliases list of names - */ - public void setDataFieldAliases(List dataFieldAliases) - { - this.dataFieldAliases = dataFieldAliases; - } - - - /** - * Return the order that the data field instances are arranged in - if any. - * - * @return DataItemSortOrder enum - */ - public DataItemSortOrder getDataFieldSortOrder() - { - return dataFieldSortOrder; - } - - - /** - * Set up the order that the data field instances are arranged in - if any. - * - * @param dataFieldSortOrder DataItemSortOrder enum - */ - public void setDataFieldSortOrder(DataItemSortOrder dataFieldSortOrder) - { - this.dataFieldSortOrder = dataFieldSortOrder; - } - - - /** - * Return this minimum number of instances allowed for this data field. - * - * @return int - */ - public int getMinCardinality() - { - return minCardinality; - } - - - /** - * Set up the minimum number of instances allowed for this data field. - * - * @param minCardinality int - */ - public void setMinCardinality(int minCardinality) - { - this.minCardinality = minCardinality; - } - - - /** - * Return the maximum number of instances allowed for this data field. - * - * @return int (-1 means infinite) - */ - public int getMaxCardinality() - { - return maxCardinality; - } - - - /** - * Set up the maximum number of instances allowed for this data field. - * - * @param maxCardinality int (-1 means infinite) - */ - public void setMaxCardinality(int maxCardinality) - { - this.maxCardinality = maxCardinality; - } - - - /** - * Return whether the field is nullable or not. - * - * @return boolean - */ - public boolean getIsNullable() - { - return isNullable; - } - - - /** - * Set up whether the field is nullable or not. - * - * @param nullable boolean - */ - public void setIsNullable(boolean nullable) - { - isNullable = nullable; - } - - - - /** - * Return the minimum length of the data. - * - * @return int - */ - public int getMinimumLength() - { - return minimumLength; - } - - - /** - * Set up the minimum length of the data. - * - * @param minimumLength int - */ - public void setMinimumLength(int minimumLength) - { - this.minimumLength = minimumLength; - } - - - /** - * Return the length of the data field. - * - * @return int - */ - public int getLength() - { - return length; - } - - - /** - * Set up the length of the data field. - * - * @param length int - */ - public void setLength(int length) - { - this.length = length; - } - - - /** - * Return the number of significant digits to the right of decimal point. - * - * @return int - */ - public int getPrecision() - { - return precision; - } - - - /** - * Set up the number of significant digits to the right of decimal point. - * - * @param precision int - */ - public void setPrecision(int precision) - { - this.precision = precision; - } - - /** - * Return the number of significant digits before the decimal point (zero means it is an integer). - * - * @return int - */ - public int getSignificantDigits() - { - return significantDigits; - } - - - /** - * Set up the number of significant digits before the decimal point (zero means it is an integer). - * - * @param significantDigits int - */ - public void setSignificantDigits(int significantDigits) - { - this.significantDigits = significantDigits; - } - - - /** - * Return whether the data field is deprecated or not. Default is false. - * - * @return boolean flag - */ - public boolean getIsDeprecated() - { - return isDeprecated; - } - - - /** - * Set whether the data field is deprecated or not. Default is false. - * - * @param deprecated boolean flag - */ - public void setIsDeprecated(boolean deprecated) - { - isDeprecated = deprecated; - } - - - /** - * Return the default value for the data field. Null means no default value set up. - * - * @return String containing default value - */ - public String getDefaultValue() { return defaultValue; } - - - /** - * Set up the default value for the data field. Null means no default value set up. - * - * @param defaultValue String containing default value - */ - public void setDefaultValue(String defaultValue) - { - this.defaultValue = defaultValue; - } - - - /** - * Return the incremental version number. - * - * @return long - */ - public long getVersion() - { - return version; - } - - - /** - * Set up the incremental version number. - * - * @param version long - */ - public void setVersion(long version) - { - this.version = version; - } - - - /** - * Return the descriptive version identifier. - * - * @return string - */ - public String getVersionIdentifier() - { - return versionIdentifier; - } - - - /** - * Set up the descriptive version identifier. - * - * @param versionIdentifier string - */ - public void setVersionIdentifier(String versionIdentifier) - { - this.versionIdentifier = versionIdentifier; - } - - - /** - * Return any additional properties. - * - * @return map of property name to property value - */ - public Map getAdditionalProperties() - { - if (additionalProperties == null) - { - return null; - } - else if (additionalProperties.isEmpty()) - { - return null; - } - - return new HashMap<>(additionalProperties); - } - - - /** - * Set up any additional properties. - * - * @param additionalProperties map of property name to property value - */ - public void setAdditionalProperties(Map additionalProperties) - { - this.additionalProperties = additionalProperties; - } - - - /** - * Return the number of the annotations currently attached to this data field. - * - * @return integer - */ - public int getDataFieldAnnotations() - { - return dataFieldAnnotations; - } - - - /** - * Set up the number of the annotations currently attached to this data field. - * - * @param dataFieldAnnotations integer - */ - public void setDataFieldAnnotations(int dataFieldAnnotations) - { - this.dataFieldAnnotations = dataFieldAnnotations; - } - - - /** - * Return the number of nested data fields. - * - * @return integer - */ - public int getNestedDataFields() - { - return nestedDataFields; - } - - - /** - * Set up the number of nested data fields. - * - * @param nestedDataFields integer - */ - public void setNestedDataFields(int nestedDataFields) - { - this.nestedDataFields = nestedDataFields; - } - - - /** - * Return the number of linked data fields. - * - * @return integer - */ - public int getLinkedDataFields() - { - return linkedDataFields; - } - - - /** - * Set up the number of linked data fields. - * - * @param linkedDataFields integer - */ - public void setLinkedDataFields(int linkedDataFields) - { - this.linkedDataFields = linkedDataFields; - } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "DataField{" + - "dataFieldPosition=" + dataFieldPosition + - ", dataFieldName='" + dataFieldName + '\'' + - ", dataFieldType='" + dataFieldType + '\'' + - ", dataFieldDescription='" + dataFieldDescription + '\'' + - ", dataFieldNamespace='" + dataFieldNamespace + '\'' + - ", dataFieldAliases=" + dataFieldAliases + - ", dataFieldSortOrder=" + dataFieldSortOrder + - ", minCardinality=" + minCardinality + - ", maxCardinality=" + maxCardinality + - ", isNullable=" + isNullable + - ", minimumLength=" + minimumLength + - ", length=" + length + - ", precision=" + precision + - ", significantDigits=" + significantDigits + - ", defaultValue='" + defaultValue + '\'' + - ", isDeprecated=" + isDeprecated + - ", version=" + version + - ", versionIdentifier='" + versionIdentifier + '\'' + - ", additionalProperties=" + additionalProperties + - ", dataFieldAnnotations=" + dataFieldAnnotations + - ", nestedDataFields=" + nestedDataFields + - ", headerVersion=" + getHeaderVersion() + - ", elementHeader=" + getElementHeader() + - ", typeName='" + getTypeName() + '\'' + - ", extendedProperties=" + getExtendedProperties() + - '}'; - } - - - /** - * Compare the values of the supplied object with those stored in the current object. - * - * @param objectToCompare supplied object - * @return boolean result of comparison - */ - @Override - public boolean equals(Object objectToCompare) - { - if (this == objectToCompare) - { - return true; - } - if (! (objectToCompare instanceof DataField dataField)) - { - return false; - } - return dataFieldPosition == dataField.dataFieldPosition && - minCardinality == dataField.minCardinality && - maxCardinality == dataField.maxCardinality && - isNullable == dataField.isNullable && - minimumLength == dataField.minimumLength && - length == dataField.length && - precision == dataField.precision && - significantDigits == dataField.significantDigits && - isDeprecated == dataField.isDeprecated && - version == dataField.version && - dataFieldAnnotations == dataField.dataFieldAnnotations - && nestedDataFields == dataField.nestedDataFields && - Objects.equals(dataFieldName, dataField.dataFieldName) && - Objects.equals(dataFieldType, dataField.dataFieldType) && - Objects.equals(dataFieldDescription, dataField.dataFieldDescription) && - Objects.equals(dataFieldNamespace, dataField.dataFieldNamespace) && - Objects.equals(dataFieldAliases, dataField.dataFieldAliases) && - dataFieldSortOrder == dataField.dataFieldSortOrder && - Objects.equals(defaultValue, dataField.defaultValue) && - Objects.equals(versionIdentifier, dataField.versionIdentifier) && - Objects.equals(additionalProperties, dataField.additionalProperties); - } - - - /** - * Create a hash code for this element type. - * - * @return int hash code - */ - @Override - public int hashCode() - { - return Objects.hash(dataFieldPosition, dataFieldName, dataFieldType, dataFieldDescription, dataFieldNamespace, dataFieldAliases, - dataFieldSortOrder, minCardinality, maxCardinality, isNullable, minimumLength, length, precision, significantDigits, - defaultValue, isDeprecated, version, versionIdentifier, additionalProperties, dataFieldAnnotations, nestedDataFields); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataFieldAnnotation.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataFieldAnnotation.java deleted file mode 100644 index 0d1d0b5ea4a..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataFieldAnnotation.java +++ /dev/null @@ -1,81 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - -import com.fasterxml.jackson.annotation.*; - -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.PUBLIC_ONLY; - -/** - * DataFieldAnnotation is a common base class for annotations that are attached to a data field. - */ -@JsonAutoDetect(getterVisibility=PUBLIC_ONLY, setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonIgnoreProperties(ignoreUnknown=true) -@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.PROPERTY, - property = "class") -@JsonSubTypes( - { - @JsonSubTypes.Type(value = ClassificationAnnotation.class, name = "ClassificationAnnotation"), - @JsonSubTypes.Type(value = DataClassAnnotation.class, name = "DataClassAnnotation"), - @JsonSubTypes.Type(value = DataProfileAnnotation.class, name = "DataProfileAnnotation"), - @JsonSubTypes.Type(value = DataProfileLogAnnotation.class, name = "DataProfileLogAnnotation"), - @JsonSubTypes.Type(value = QualityAnnotation.class, name = "QualityAnnotation"), - @JsonSubTypes.Type(value = RelationshipAdviceAnnotation.class, name = "RelationshipAdviceAnnotation"), - @JsonSubTypes.Type(value = RequestForActionAnnotation.class, name = "RequestForActionAnnotation"), - @JsonSubTypes.Type(value = SemanticAnnotation.class, name = "SemanticAnnotation"), - }) -public abstract class DataFieldAnnotation extends Annotation -{ - private static final long serialVersionUID = 1L; - - /** - * Default constructor - */ - public DataFieldAnnotation() - { - } - - - /** - * Copy clone constructor - * - * @param template object to copy - */ - public DataFieldAnnotation(DataFieldAnnotation template) - { - super(template); - } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "DataFieldAnnotation{" + - "annotationType='" + getAnnotationType() + '\'' + - ", summary='" + getSummary() + '\'' + - ", confidenceLevel=" + getConfidenceLevel() + - ", expression='" + getExpression() + '\'' + - ", explanation='" + getExplanation() + '\'' + - ", analysisStep='" + getAnalysisStep() + '\'' + - ", jsonProperties='" + getJsonProperties() + '\'' + - ", annotationStatus=" + getAnnotationStatus() + - ", numAttachedAnnotations=" + getNumAttachedAnnotations() + - ", reviewDate=" + getReviewDate() + - ", steward='" + getSteward() + '\'' + - ", reviewComment='" + getReviewComment() + '\'' + - ", additionalProperties=" + getAdditionalProperties() + - ", headerVersion=" + getHeaderVersion() + - ", elementHeader=" + getElementHeader() + - ", typeName='" + getTypeName() + '\'' + - ", extendedProperties=" + getExtendedProperties() + - '}'; - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataFieldLink.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataFieldLink.java deleted file mode 100644 index 15515ce8259..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataFieldLink.java +++ /dev/null @@ -1,283 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - - -import java.io.Serial; -import java.util.HashMap; -import java.util.Map; -import java.util.Objects; - -/** - * DataFieldLink describes the properties of a peer to peer relationship between data fields. - */ -public class DataFieldLink extends PropertyBase -{ - @Serial - private static final long serialVersionUID = 1L; - - private int relationshipEnd = 0; - private String relationshipTypeName = null; - private String name = null; - private String description = null; - private int minCardinality = 0; - private int maxCardinality = 0; - private Map additionalProperties = null; - - - - /** - * Default constructor - */ - public DataFieldLink() - { - } - - - /** - * Copy clone constructor - * - * @param template object to copy - */ - public DataFieldLink(DataFieldLink template) - { - super(template); - - if (template != null) - { - relationshipEnd = template.getRelationshipEnd(); - relationshipTypeName = template.getRelationshipTypeName(); - name = template.getName(); - description = template.getDescription(); - minCardinality = template.getMinCardinality(); - maxCardinality = template.getMaxCardinality(); - additionalProperties = template.getAdditionalProperties(); - } - } - - - /** - * Return the logical end of the relationship. Use 0 if this does not make sense. - * - * @return integer - */ - public int getRelationshipEnd() - { - return relationshipEnd; - } - - - /** - * Set up the logical end of the relationship. Use 0 if this does not make sense. - * - * @param relationshipEnd integer - */ - public void setRelationshipEnd(int relationshipEnd) - { - this.relationshipEnd = relationshipEnd; - } - - - /** - * Return the name of this relationship between data fields. - * - * @return string name - */ - public String getRelationshipTypeName() - { - return relationshipTypeName; - } - - - /** - * Set up the name of this relationship between data fields. - * - * @param relationshipTypeName string name - */ - public void setRelationshipTypeName(String relationshipTypeName) - { - this.relationshipTypeName = relationshipTypeName; - } - - - /** - * Return the name of this data field link. - * - * @return string name - */ - public String getName() - { - return name; - } - - - /** - * Set up the name of this data field link. - * - * @param name string name - */ - public void setName(String name) - { - this.name = name; - } - - - /** - * Return description of this data field link. - * - * @return text - */ - public String getDescription() - { - return description; - } - - - /** - * Set up the description of this data field link. - * - * @param description text - */ - public void setDescription(String description) - { - this.description = description; - } - - - /** - * Return this minimum number of instances allowed for this data field link. - * - * @return int - */ - public int getMinCardinality() - { - return minCardinality; - } - - - /** - * Set up the minimum number of instances allowed for this data field link. - * - * @param minCardinality int - */ - public void setMinCardinality(int minCardinality) - { - this.minCardinality = minCardinality; - } - - - /** - * Return the maximum number of instances allowed for this data field link. - * - * @return int (-1 means infinite) - */ - public int getMaxCardinality() - { - return maxCardinality; - } - - - /** - * Set up the maximum number of instances allowed for this data field link. - * - * @param maxCardinality int (-1 means infinite) - */ - public void setMaxCardinality(int maxCardinality) - { - this.maxCardinality = maxCardinality; - } - - - /** - * Return any additional properties. - * - * @return map of property name to property value - */ - public Map getAdditionalProperties() - { - if (additionalProperties == null) - { - return null; - } - else if (additionalProperties.isEmpty()) - { - return null; - } - - return new HashMap<>(additionalProperties); - } - - - /** - * Set up any additional properties. - * - * @param additionalProperties map of property name to property value - */ - public void setAdditionalProperties(Map additionalProperties) - { - this.additionalProperties = additionalProperties; - } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "DataFieldLink{" + - "relationshipEnd=" + relationshipEnd + - ", relationshipTypeName='" + relationshipTypeName + '\'' + - ", name='" + name + '\'' + - ", description='" + description + '\'' + - ", minCardinality=" + minCardinality + - ", maxCardinality=" + maxCardinality + - ", additionalProperties=" + additionalProperties + - ", headerVersion=" + getHeaderVersion() + - ", elementHeader=" + getElementHeader() + - ", typeName='" + getTypeName() + '\'' + - ", extendedProperties=" + getExtendedProperties() + - '}'; - } - - - /** - * Compare the values of the supplied object with those stored in the current object. - * - * @param objectToCompare supplied object - * @return boolean result of comparison - */ - @Override - public boolean equals(Object objectToCompare) - { - if (this == objectToCompare) - { - return true; - } - if (! (objectToCompare instanceof DataFieldLink that)) - { - return false; - } - return relationshipEnd == that.relationshipEnd && - minCardinality == that.minCardinality && - maxCardinality == that.maxCardinality && - Objects.equals(relationshipTypeName, that.relationshipTypeName) && - Objects.equals(name, that.name) && - Objects.equals(description, that.description) && - Objects.equals(additionalProperties, that.additionalProperties); - } - - - /** - * Create a hash code for this element type. - * - * @return int hash code - */ - @Override - public int hashCode() - { - return Objects.hash(relationshipEnd, relationshipTypeName, name, description, minCardinality, maxCardinality, additionalProperties); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataProfileAnnotation.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataProfileAnnotation.java deleted file mode 100644 index 79939ab1f2e..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataProfileAnnotation.java +++ /dev/null @@ -1,522 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - -import com.fasterxml.jackson.annotation.*; - -import java.util.*; - -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.PUBLIC_ONLY; - -/** - * DataProfileAnnotation holds properties that describe the characteristics of a specific field within a data source. - */ -@JsonAutoDetect(getterVisibility=PUBLIC_ONLY, setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonIgnoreProperties(ignoreUnknown=true) -public class DataProfileAnnotation extends DataFieldAnnotation -{ - private static final long serialVersionUID = 1L; - - private int length = 0; - private String inferredDataType = null; - private String inferredFormat = null; - private int inferredLength = 0; - private int inferredPrecision = 0; - private int inferredScale = 0; - private Map profileProperties = null; - private Map profileFlags = null; - private Map profileCounts = null; - private List valueList = null; - private Map valueCount = null; - private String valueRangeFrom = null; - private String valueRangeTo = null; - private String averageValue = null; - - - /** - * Default constructor - */ - public DataProfileAnnotation() - { - } - - - /** - * Copy clone constructor - * - * @param template object to copy - */ - public DataProfileAnnotation(DataProfileAnnotation template) - { - super(template); - - if (template != null) - { - length = template.getLength(); - inferredDataType = template.getInferredDataType(); - inferredFormat = template.getInferredFormat(); - inferredLength = template.getInferredLength(); - inferredPrecision = template.getInferredPrecision(); - inferredScale = template.getInferredScale(); - profileProperties = template.getProfileProperties(); - profileFlags = template.getProfileFlags(); - profileCounts = template.getProfileCounts(); - valueList = template.getValueList(); - valueCount = template.getValueCount(); - valueRangeFrom = template.getValueRangeFrom(); - valueRangeTo = template.getValueRangeTo(); - averageValue = template.getAverageValue(); - } - } - - - /** - * Return the length of the data field. Assumes static predefined lengths. - * - * @return integer - */ - public int getLength() - { - return length; - } - - - /** - * Set up the length of the data field. Assumes static predefined lengths. - * - * @param length integer - */ - public void setLength(int length) - { - this.length = length; - } - - - /** - * Return the name of the data type that the discovery service believes the field is. - * - * @return string name - */ - public String getInferredDataType() - { - return inferredDataType; - } - - - /** - * Set up the name of the data type that the discovery service believes the field is. - * - * @param inferredDataType string name - */ - public void setInferredDataType(String inferredDataType) - { - this.inferredDataType = inferredDataType; - } - - - /** - * Return the name of the data format that the discovery service believes the field is. - * - * @return string name - */ - public String getInferredFormat() - { - return inferredFormat; - } - - - /** - * Set up the name of the data format that the discovery service believes the field is. - * - * @param inferredFormat string name - */ - public void setInferredFormat(String inferredFormat) - { - this.inferredFormat = inferredFormat; - } - - - /** - * Return the length of the data field that has been deduced from the data stored. - * - * @return integer - */ - public int getInferredLength() - { - return inferredLength; - } - - - /** - * Set up the length of the data field that has been deduced from the data stored. - * - * @param inferredLength integer - */ - public void setInferredLength(int inferredLength) - { - this.inferredLength = inferredLength; - } - - - /** - * Return the precision of the data field that has been deduced from the data stored. - * - * @return integer - */ - public int getInferredPrecision() - { - return inferredPrecision; - } - - - /** - * Set up the precision of the data field that has been deduced from the data stored. - * - * @param inferredPrecision integer - */ - public void setInferredPrecision(int inferredPrecision) - { - this.inferredPrecision = inferredPrecision; - } - - - /** - * Return the inferred scale used in other properties. - * - * @return integer - */ - public int getInferredScale() - { - return inferredScale; - } - - - /** - * Set up the inferred scale used in other properties. - * - * @param inferredScale integer - */ - public void setInferredScale(int inferredScale) - { - this.inferredScale = inferredScale; - } - - - /** - * Return the map of properties that make up the profile. - * - * @return property map - */ - public Map getProfileProperties() - { - if (profileProperties == null) - { - return null; - } - else if (profileProperties.isEmpty()) - { - return null; - } - - return new HashMap<>(profileProperties); - } - - - /** - * Set up the map of properties that make up the profile. - * - * @param profileProperties property map - */ - public void setProfileProperties(Map profileProperties) - { - this.profileProperties = profileProperties; - } - - - /** - * Return a set of boolean flags describing different aspects of the data. - * - * @return map of flag names to flag values - */ - public Map getProfileFlags() - { - if (profileFlags == null) - { - return null; - } - else if (profileFlags.isEmpty()) - { - return null; - } - - return new HashMap<>(profileFlags); - } - - - /** - * Set up a set of boolean flags describing different aspects of the data. - * - * @param profileFlags map of flag names to flag values - */ - public void setProfileFlags(Map profileFlags) - { - this.profileFlags = profileFlags; - } - - - /** - * Return the map of different profiling counts that have been calculated. - * - * @return map of count name to count value - */ - public Map getProfileCounts() - { - if (profileCounts == null) - { - return null; - } - else if (profileCounts.isEmpty()) - { - return null; - } - - return new HashMap<>(profileCounts); - } - - - /** - * Set up the map of different profiling counts that have been calculated. - * - * @param profileCounts map of count name to count value - */ - public void setProfileCounts(Map profileCounts) - { - this.profileCounts = profileCounts; - } - - - /** - * Return the list of values found in the data field. - * - * @return list of values - */ - public List getValueList() - { - if (valueList == null) - { - return null; - } - else if (valueList.isEmpty()) - { - return null; - } - - return new ArrayList<>(valueList); - } - - - /** - * Set up the list of values found in the data field. - * - * @param valueList list of values - */ - public void setValueList(List valueList) - { - this.valueList = valueList; - } - - - /** - * Return a map of values to value count for the data field. - * - * @return map of values to value count - */ - public Map getValueCount() - { - if (valueCount == null) - { - return null; - } - else if (valueCount.isEmpty()) - { - return null; - } - - return new HashMap<>(valueCount); - } - - - /** - * Set up a map of values to value count for the data field. - * - * @param valueCount map of values to value count - */ - public void setValueCount(Map valueCount) - { - this.valueCount = valueCount; - } - - - /** - * Return the lowest value of the data stored in this data field. - * - * @return string version of the value. - */ - public String getValueRangeFrom() - { - return valueRangeFrom; - } - - - /** - * Set up the lowest value of the data stored in this data field. - * - * @param valueRangeFrom string version of the value. - */ - public void setValueRangeFrom(String valueRangeFrom) - { - this.valueRangeFrom = valueRangeFrom; - } - - - /** - * Return the upper value of the data stored in this data field. - * - * @return string version of the value. - */ - public String getValueRangeTo() - { - return valueRangeTo; - } - - - /** - * Set up the upper value of the data stored in this data field. - * - * @param valueRangeTo string version of the value. - */ - public void setValueRangeTo(String valueRangeTo) - { - this.valueRangeTo = valueRangeTo; - } - - - /** - * Return the average (mean) value of the values stored in the data field. - * - * @return string version of the value. - */ - public String getAverageValue() - { - return averageValue; - } - - - /** - * Set up the average (mean) value of the values stored in the data field. - * - * @param averageValue string version of the value. - */ - public void setAverageValue(String averageValue) - { - this.averageValue = averageValue; - } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "DataProfileAnnotation{" + - "length=" + length + - ", inferredDataType='" + inferredDataType + '\'' + - ", inferredFormat='" + inferredFormat + '\'' + - ", inferredLength=" + inferredLength + - ", inferredPrecision=" + inferredPrecision + - ", inferredScale=" + inferredScale + - ", profileProperties=" + profileProperties + - ", profileFlags=" + profileFlags + - ", profileCounts=" + profileCounts + - ", valueList=" + valueList + - ", valueCount=" + valueCount + - ", valueRangeFrom='" + valueRangeFrom + '\'' + - ", valueRangeTo='" + valueRangeTo + '\'' + - ", averageValue='" + averageValue + '\'' + - ", annotationType='" + getAnnotationType() + '\'' + - ", summary='" + getSummary() + '\'' + - ", confidenceLevel=" + getConfidenceLevel() + - ", expression='" + getExpression() + '\'' + - ", explanation='" + getExplanation() + '\'' + - ", analysisStep='" + getAnalysisStep() + '\'' + - ", jsonProperties='" + getJsonProperties() + '\'' + - ", annotationStatus=" + getAnnotationStatus() + - ", numAttachedAnnotations=" + getNumAttachedAnnotations() + - ", reviewDate=" + getReviewDate() + - ", steward='" + getSteward() + '\'' + - ", reviewComment='" + getReviewComment() + '\'' + - ", additionalProperties=" + getAdditionalProperties() + - ", headerVersion=" + getHeaderVersion() + - ", elementHeader=" + getElementHeader() + - ", typeName='" + getTypeName() + '\'' + - ", extendedProperties=" + getExtendedProperties() + - '}'; - } - - - /** - * Compare the values of the supplied object with those stored in the current object. - * - * @param objectToCompare supplied object - * @return boolean result of comparison - */ - @Override - public boolean equals(Object objectToCompare) - { - if (this == objectToCompare) - { - return true; - } - if (objectToCompare == null || getClass() != objectToCompare.getClass()) - { - return false; - } - if (!super.equals(objectToCompare)) - { - return false; - } - DataProfileAnnotation that = (DataProfileAnnotation) objectToCompare; - return length == that.length && - inferredLength == that.inferredLength && - inferredPrecision == that.inferredPrecision && - inferredScale == that.inferredScale && - Objects.equals(inferredDataType, that.inferredDataType) && - Objects.equals(inferredFormat, that.inferredFormat) && - Objects.equals(profileProperties, that.profileProperties) && - Objects.equals(profileFlags, that.profileFlags) && - Objects.equals(profileCounts, that.profileCounts) && - Objects.equals(valueList, that.valueList) && - Objects.equals(valueCount, that.valueCount) && - Objects.equals(valueRangeFrom, that.valueRangeFrom) && - Objects.equals(valueRangeTo, that.valueRangeTo) && - Objects.equals(averageValue, that.averageValue); - } - - - /** - * Create a hash code for this element type. - * - * @return int hash code - */ - @Override - public int hashCode() - { - return Objects.hash(super.hashCode(), length, inferredDataType, inferredFormat, inferredLength, inferredPrecision, inferredScale, - profileProperties, profileFlags, profileCounts, valueList, valueCount, valueRangeFrom, valueRangeTo, averageValue); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataProfileLogAnnotation.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataProfileLogAnnotation.java deleted file mode 100644 index cb9f6d0c613..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataProfileLogAnnotation.java +++ /dev/null @@ -1,148 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - -import com.fasterxml.jackson.annotation.*; - -import java.util.List; -import java.util.Objects; - -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.PUBLIC_ONLY; - -/** - * DataProfileLogAnnotation is an annotation that is used when the profile data generated is too big to store in the metadata server - * and has been located in log files instead. - */ -@JsonAutoDetect(getterVisibility=PUBLIC_ONLY, setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonIgnoreProperties(ignoreUnknown=true) -public class DataProfileLogAnnotation extends DataFieldAnnotation -{ - private static final long serialVersionUID = 1L; - - private List dataProfileLogFileNames = null; - - /** - * Default constructor - */ - public DataProfileLogAnnotation() - { - } - - - /** - * Copy clone constructor - * - * @param template object to copy - */ - public DataProfileLogAnnotation(DataProfileLogAnnotation template) - { - super(template); - - if (template != null) - { - dataProfileLogFileNames = template.getDataProfileLogFileNames(); - } - } - - - /** - * Return the names of the log files used to store the profile data. - * - * @return list of names of log files - */ - public List getDataProfileLogFileNames() - { - if (dataProfileLogFileNames == null) - { - return null; - } - else if (dataProfileLogFileNames.isEmpty()) - { - return null; - } - - return dataProfileLogFileNames; - } - - - /** - * Set up the names of the log files used to store the profile data. - * - * @param dataProfileLogFileNames list of names of log files - */ - public void setDataProfileLogFileNames(List dataProfileLogFileNames) - { - this.dataProfileLogFileNames = dataProfileLogFileNames; - } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "DataProfileLogAnnotation{" + - "dataProfileLogFileNames=" + dataProfileLogFileNames + - ", annotationType='" + getAnnotationType() + '\'' + - ", summary='" + getSummary() + '\'' + - ", confidenceLevel=" + getConfidenceLevel() + - ", expression='" + getExpression() + '\'' + - ", explanation='" + getExplanation() + '\'' + - ", analysisStep='" + getAnalysisStep() + '\'' + - ", jsonProperties='" + getJsonProperties() + '\'' + - ", annotationStatus=" + getAnnotationStatus() + - ", numAttachedAnnotations=" + getNumAttachedAnnotations() + - ", reviewDate=" + getReviewDate() + - ", steward='" + getSteward() + '\'' + - ", reviewComment='" + getReviewComment() + '\'' + - ", additionalProperties=" + getAdditionalProperties() + - ", headerVersion=" + getHeaderVersion() + - ", elementHeader=" + getElementHeader() + - ", typeName='" + getTypeName() + '\'' + - ", extendedProperties=" + getExtendedProperties() + - '}'; - } - - - /** - * Compare the values of the supplied object with those stored in the current object. - * - * @param objectToCompare supplied object - * @return boolean result of comparison - */ - @Override - public boolean equals(Object objectToCompare) - { - if (this == objectToCompare) - { - return true; - } - if (objectToCompare == null || getClass() != objectToCompare.getClass()) - { - return false; - } - if (!super.equals(objectToCompare)) - { - return false; - } - DataProfileLogAnnotation that = (DataProfileLogAnnotation) objectToCompare; - return Objects.equals(dataProfileLogFileNames, that.dataProfileLogFileNames); - } - - - /** - * Create a hash code for this element type. - * - * @return int hash code - */ - @Override - public int hashCode() - { - return Objects.hash(super.hashCode(), dataProfileLogFileNames); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataSourceMeasurementAnnotation.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataSourceMeasurementAnnotation.java deleted file mode 100644 index 20ce8b2bf8f..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataSourceMeasurementAnnotation.java +++ /dev/null @@ -1,158 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - -import com.fasterxml.jackson.annotation.*; - -import java.util.HashMap; -import java.util.Map; -import java.util.Objects; - -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.PUBLIC_ONLY; - -/** - * DataSourceMeasurementAnnotation describes properties that describe the characteristics of the data source as a whole. - */ -@JsonAutoDetect(getterVisibility=PUBLIC_ONLY, setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonIgnoreProperties(ignoreUnknown=true) -@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.PROPERTY, - property = "class") -@JsonSubTypes( - { - @JsonSubTypes.Type(value = DataSourcePhysicalStatusAnnotation.class, name = "DataSourcePhysicalStatusAnnotation") - }) -public class DataSourceMeasurementAnnotation extends Annotation -{ - private static final long serialVersionUID = 1L; - - private Map dataSourceProperties = null; - - - /** - * Default constructor - */ - public DataSourceMeasurementAnnotation() - { - } - - - /** - * Copy clone constructor - * - * @param template object to copy - */ - public DataSourceMeasurementAnnotation(DataSourceMeasurementAnnotation template) - { - super(template); - - if (template != null) - { - dataSourceProperties = template.getDataSourceProperties(); - } - } - - - /** - * Return the properties of the data source. - * - * @return date time - */ - public Map getDataSourceProperties() - { - if (dataSourceProperties == null) - { - return null; - } - else if (dataSourceProperties.isEmpty()) - { - return null; - } - else - { - return new HashMap<>(dataSourceProperties); - } - } - - - /** - * Set up the properties of the data source. - * - * @param dataSourceProperties date time - */ - public void setDataSourceProperties(Map dataSourceProperties) - { - this.dataSourceProperties = dataSourceProperties; - } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "DataSourceMeasurementAnnotation{" + - "dataSourceProperties=" + dataSourceProperties + - ", annotationType='" + getAnnotationType() + '\'' + - ", summary='" + getSummary() + '\'' + - ", confidenceLevel=" + getConfidenceLevel() + - ", expression='" + getExpression() + '\'' + - ", explanation='" + getExplanation() + '\'' + - ", analysisStep='" + getAnalysisStep() + '\'' + - ", jsonProperties='" + getJsonProperties() + '\'' + - ", annotationStatus=" + getAnnotationStatus() + - ", numAttachedAnnotations=" + getNumAttachedAnnotations() + - ", reviewDate=" + getReviewDate() + - ", steward='" + getSteward() + '\'' + - ", reviewComment='" + getReviewComment() + '\'' + - ", additionalProperties=" + getAdditionalProperties() + - ", headerVersion=" + getHeaderVersion() + - ", elementHeader=" + getElementHeader() + - ", typeName='" + getTypeName() + '\'' + - ", extendedProperties=" + getExtendedProperties() + - '}'; - } - - - /** - * Compare the values of the supplied object with those stored in the current object. - * - * @param objectToCompare supplied object - * @return boolean result of comparison - */ - @Override - public boolean equals(Object objectToCompare) - { - if (this == objectToCompare) - { - return true; - } - if (objectToCompare == null || getClass() != objectToCompare.getClass()) - { - return false; - } - if (!super.equals(objectToCompare)) - { - return false; - } - DataSourceMeasurementAnnotation that = (DataSourceMeasurementAnnotation) objectToCompare; - return Objects.equals(getDataSourceProperties(), that.getDataSourceProperties()); - } - - - /** - * Create a hash code for this element type. - * - * @return int hash code - */ - @Override - public int hashCode() - { - return Objects.hash(super.hashCode(), getDataSourceProperties()); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataSourcePhysicalStatusAnnotation.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataSourcePhysicalStatusAnnotation.java deleted file mode 100644 index dd049b4b097..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DataSourcePhysicalStatusAnnotation.java +++ /dev/null @@ -1,221 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - -import com.fasterxml.jackson.annotation.JsonAutoDetect; -import com.fasterxml.jackson.annotation.JsonIgnoreProperties; -import com.fasterxml.jackson.annotation.JsonInclude; - -import java.util.Date; -import java.util.Objects; - -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.PUBLIC_ONLY; - -/** - * DataSourceMeasurementAnnotation describes properties that describe the physical characteristics of a data source. - */ -@JsonAutoDetect(getterVisibility=PUBLIC_ONLY, setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonIgnoreProperties(ignoreUnknown=true) -public class DataSourcePhysicalStatusAnnotation extends DataSourceMeasurementAnnotation -{ - private static final long serialVersionUID = 1L; - - private Date createTime = null; - private Date modifiedTime = null; - private int size = 0; - private String encoding = null; - - - /** - * Default constructor - */ - public DataSourcePhysicalStatusAnnotation() - { - } - - - /** - * Copy clone constructor - * - * @param template object to copy - */ - public DataSourcePhysicalStatusAnnotation(DataSourcePhysicalStatusAnnotation template) - { - super(template); - - if (template != null) - { - createTime = template.getCreateTime(); - modifiedTime = template.getModifiedTime(); - size = template.getSize(); - encoding = template.getEncoding(); - } - } - - - /** - * Return the date and time that the data source was created. - * - * @return date time - */ - public Date getCreateTime() - { - return createTime; - } - - - /** - * Set up the date and time that the data source was created. - * - * @param createTime date time - */ - public void setCreateTime(Date createTime) - { - this.createTime = createTime; - } - - - /** - * Return the time that the file was last modified. - * - * @return userId - */ - public Date getModifiedTime() - { - return modifiedTime; - } - - - /** - * Set up the time that the file was last modified. - * - * @param modifiedTime date time - */ - public void setModifiedTime(Date modifiedTime) - { - this.modifiedTime = modifiedTime; - } - - - /** - * Return the size in bytes of the data source. - * - * @return int - */ - public int getSize() - { - return size; - } - - - /** - * Set up the size in bytes of the data source. - * - * @param size int - */ - public void setSize(int size) - { - this.size = size; - } - - - /** - * Return the encoding of the data source. - * - * @return encoding format description - */ - public String getEncoding() - { - return encoding; - } - - - /** - * Set up the encoding of the data source. - * - * @param encoding encoding format description - */ - public void setEncoding(String encoding) - { - this.encoding = encoding; - } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "DataSourcePhysicalStatusAnnotation{" + - "createTime=" + createTime + - ", modifiedTime=" + modifiedTime + - ", size=" + size + - ", encoding='" + encoding + '\'' + - ", dataSourceProperties=" + getDataSourceProperties() + - ", annotationType='" + getAnnotationType() + '\'' + - ", summary='" + getSummary() + '\'' + - ", confidenceLevel=" + getConfidenceLevel() + - ", expression='" + getExpression() + '\'' + - ", explanation='" + getExplanation() + '\'' + - ", analysisStep='" + getAnalysisStep() + '\'' + - ", jsonProperties='" + getJsonProperties() + '\'' + - ", annotationStatus=" + getAnnotationStatus() + - ", numAttachedAnnotations=" + getNumAttachedAnnotations() + - ", reviewDate=" + getReviewDate() + - ", steward='" + getSteward() + '\'' + - ", reviewComment='" + getReviewComment() + '\'' + - ", additionalProperties=" + getAdditionalProperties() + - ", headerVersion=" + getHeaderVersion() + - ", elementHeader=" + getElementHeader() + - ", typeName='" + getTypeName() + '\'' + - ", extendedProperties=" + getExtendedProperties() + - '}'; - } - - - /** - * Compare the values of the supplied object with those stored in the current object. - * - * @param objectToCompare supplied object - * @return boolean result of comparison - */ - @Override - public boolean equals(Object objectToCompare) - { - if (this == objectToCompare) - { - return true; - } - if (objectToCompare == null || getClass() != objectToCompare.getClass()) - { - return false; - } - if (!super.equals(objectToCompare)) - { - return false; - } - DataSourcePhysicalStatusAnnotation that = (DataSourcePhysicalStatusAnnotation) objectToCompare; - return getSize() == that.getSize() && - Objects.equals(getCreateTime(), that.getCreateTime()) && - Objects.equals(getModifiedTime(), that.getModifiedTime()) && - Objects.equals(getEncoding(), that.getEncoding()); - } - - - - /** - * Create a hash code for this element type. - * - * @return int hash code - */ - @Override - public int hashCode() - { - return Objects.hash(super.hashCode(), getCreateTime(), getModifiedTime(), getSize(), getEncoding()); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DiscoveryAnalysisReport.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DiscoveryAnalysisReport.java deleted file mode 100644 index da52268b25d..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DiscoveryAnalysisReport.java +++ /dev/null @@ -1,399 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - -import com.fasterxml.jackson.annotation.JsonAutoDetect; -import com.fasterxml.jackson.annotation.JsonIgnoreProperties; -import com.fasterxml.jackson.annotation.JsonInclude; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; -import java.util.Objects; - -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.PUBLIC_ONLY; - -/** - * DiscoveryAnalysisReport describes the properties for a discovery analysis report. - */ -@JsonAutoDetect(getterVisibility=PUBLIC_ONLY, setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonIgnoreProperties(ignoreUnknown=true) -public class DiscoveryAnalysisReport extends PropertyBase -{ - private static final long serialVersionUID = 1L; - - private String qualifiedName = null; - private Map additionalProperties = null; - private String displayName = null; - private String description = null; - private Date creationDate = null; - private Map analysisParameters = null; - private DiscoveryRequestStatus discoveryRequestStatus = null; - private String assetGUID = null; - private String discoveryEngineGUID = null; - private String discoveryServiceGUID = null; - private String analysisStep = null; - - - /** - * Default constructor - */ - public DiscoveryAnalysisReport() - { - super(); - } - - - /** - * Copy/clone constructor - * - * @param template object to copy - */ - public DiscoveryAnalysisReport(DiscoveryAnalysisReport template) - { - super(template); - - if (template != null) - { - qualifiedName = template.getQualifiedName(); - additionalProperties = template.getAdditionalProperties(); - displayName = template.getDisplayName(); - description = template.getDescription(); - creationDate = template.getCreationDate(); - analysisParameters = template.getAnalysisParameters(); - discoveryRequestStatus = template.getDiscoveryRequestStatus(); - assetGUID = template.getAssetGUID(); - discoveryEngineGUID = template.getDiscoveryEngineGUID(); - discoveryServiceGUID = template.getDiscoveryServiceGUID(); - analysisStep = template.getAnalysisStep(); - } - } - - - /** - * Set up the fully qualified name. - * - * @param qualifiedName String name - */ - public void setQualifiedName(String qualifiedName) - { - this.qualifiedName = qualifiedName; - } - - - /** - * Returns the stored qualified name property for the metadata entity. - * If no qualified name is available then the empty string is returned. - * - * @return qualifiedName - */ - public String getQualifiedName() - { - return qualifiedName; - } - - - /** - * Set up additional properties. - * - * @param additionalProperties Additional properties object - */ - public void setAdditionalProperties(Map additionalProperties) - { - this.additionalProperties = additionalProperties; - } - - - /** - * Return a copy of the additional properties. Null means no additional properties are available. - * - * @return AdditionalProperties - */ - public Map getAdditionalProperties() - { - if (additionalProperties == null) - { - return null; - } - else if (additionalProperties.isEmpty()) - { - return null; - } - else - { - return new HashMap<>(additionalProperties); - } - } - - - /** - * Return the display name of the discovery analysis report. - * - * @return String report name - */ - public String getDisplayName() - { - return displayName; - } - - - /** - * Set up the display name of the discovery analysis report. - * - * @param reportName String report name - */ - public void setDisplayName(String reportName) - { - this.displayName = reportName; - } - - - /** - * Return the discovery analysis report description. - * - * @return String report description - */ - public String getDescription() - { - return description; - } - - - /** - * Set up the discovery analysis report description. - * - * @param reportDescription String report description - */ - public void setDescription(String reportDescription) - { - this.description = reportDescription; - } - - - /** - * Return the creation date for the report. If this date is not known then null is returned. - * - * @return Date that the report was created. - */ - public Date getCreationDate() - { - return creationDate; - } - - - /** - * Set up the creation date for the report. If this date is not known then null is returned. - * - * @param creationDate Date that the report was created. - */ - public void setCreationDate(Date creationDate) - { - this.creationDate = creationDate; - } - - - /** - * Return the parameters used to drive the discovery service's analysis. - * - * @return map storing the analysis parameters - */ - public Map getAnalysisParameters() - { - return analysisParameters; - } - - - /** - * Set up the parameters used to drive the discovery service's analysis. - * - * @param analysisParameters map storing the analysis parameters - */ - public void setAnalysisParameters(Map analysisParameters) - { - this.analysisParameters = analysisParameters; - } - - - /** - * Return the status of the discovery process. - * - * @return status enum - */ - public DiscoveryRequestStatus getDiscoveryRequestStatus() - { - return discoveryRequestStatus; - } - - - /** - * Set up the status of the discovery process. - * - * @param discoveryRequestStatus status enum - */ - public void setDiscoveryRequestStatus(DiscoveryRequestStatus discoveryRequestStatus) - { - this.discoveryRequestStatus = discoveryRequestStatus; - } - - - /** - * Return the unique identifier of the asset that was analyzed. - * - * @return unique identifier (guid) - */ - public String getAssetGUID() - { - return assetGUID; - } - - - /** - * Set up the unique identifier of the asset that was analyzed. - * - * @param assetGUID unique identifier (guid) - */ - public void setAssetGUID(String assetGUID) - { - this.assetGUID = assetGUID; - } - - - /** - * Return the unique identifier of the discovery engine that ran the discovery service. - * - * @return unique identifier (guid) - */ - public String getDiscoveryEngineGUID() - { - return discoveryEngineGUID; - } - - - /** - * Set up the unique identifier of the discovery engine that ran the discovery service. - * - * @param discoveryEngineGUID unique identifier (guid) - */ - public void setDiscoveryEngineGUID(String discoveryEngineGUID) - { - this.discoveryEngineGUID = discoveryEngineGUID; - } - - - /** - * Return the unique identifier of the discovery service. - * - * @return unique identifier (guid) - */ - public String getDiscoveryServiceGUID() - { - return discoveryServiceGUID; - } - - - /** - * Set up the unique identifier of the discovery service. - * - * @param discoveryServiceGUID unique identifier (guid) - */ - public void setDiscoveryServiceGUID(String discoveryServiceGUID) - { - this.discoveryServiceGUID = discoveryServiceGUID; - } - - - /** - * Return the locally defined analysis step. This value is used in annotations generated in this phase. - * - * @return name of analysis step - */ - public String getAnalysisStep() - { - return analysisStep; - } - - - /** - * Set up the name of the current analysis step. - * - * @param analysisStep name - */ - public void setAnalysisStep(String analysisStep) - { - this.analysisStep = analysisStep; - } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "DiscoveryAnalysisReport{" + - "qualifiedName='" + qualifiedName + '\'' + - ", additionalProperties=" + additionalProperties + - ", displayName='" + displayName + '\'' + - ", description='" + description + '\'' + - ", creationDate=" + creationDate + - ", analysisParameters=" + analysisParameters + - ", discoveryRequestStatus=" + discoveryRequestStatus + - ", assetGUID='" + assetGUID + '\'' + - ", discoveryEngineGUID='" + discoveryEngineGUID + '\'' + - ", discoveryServiceGUID='" + discoveryServiceGUID + '\'' + - ", analysisStep='" + analysisStep + '\'' + - ", headerVersion=" + getHeaderVersion() + - ", elementHeader=" + getElementHeader() + - ", typeName='" + getTypeName() + '\'' + - ", extendedProperties=" + getExtendedProperties() + - '}'; - } - - - /** - * Compare the values of the supplied object with those stored in the current object. - * - * @param objectToCompare supplied object - * @return boolean result of comparison - */ - @Override - public boolean equals(Object objectToCompare) - { - if (this == objectToCompare) - { - return true; - } - if (objectToCompare == null || getClass() != objectToCompare.getClass()) - { - return false; - } - DiscoveryAnalysisReport that = (DiscoveryAnalysisReport) objectToCompare; - return Objects.equals(qualifiedName, that.qualifiedName) && - Objects.equals(additionalProperties, that.additionalProperties) && - Objects.equals(displayName, that.displayName) && - Objects.equals(description, that.description) && - Objects.equals(creationDate, that.creationDate) && - Objects.equals(analysisParameters, that.analysisParameters) && - discoveryRequestStatus == that.discoveryRequestStatus && - Objects.equals(assetGUID, that.assetGUID) && - Objects.equals(discoveryEngineGUID, that.discoveryEngineGUID) && - Objects.equals(discoveryServiceGUID, that.discoveryServiceGUID) && - Objects.equals(analysisStep, that.analysisStep); - } - - /** - * Create a hash code for this element type. - * - * @return int hash code - */ - @Override - public int hashCode() - { - return Objects.hash(qualifiedName, additionalProperties, displayName, description, creationDate, analysisParameters, discoveryRequestStatus - , assetGUID, discoveryEngineGUID, discoveryServiceGUID, analysisStep); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DiscoveryEngineProperties.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DiscoveryEngineProperties.java deleted file mode 100644 index 0b3ccdb24ce..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DiscoveryEngineProperties.java +++ /dev/null @@ -1,324 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - -import com.fasterxml.jackson.annotation.JsonAutoDetect; -import com.fasterxml.jackson.annotation.JsonIgnoreProperties; -import com.fasterxml.jackson.annotation.JsonInclude; - -import java.util.HashMap; -import java.util.Map; -import java.util.Objects; - -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.PUBLIC_ONLY; - -/** - * DiscoveryEngineProperties describe the properties needed to describe a specific discovery engine. - * These properties are augmented with a list of registered discovery services (see RegisteredDiscoveryService). - */ -@JsonAutoDetect(getterVisibility=PUBLIC_ONLY, setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonIgnoreProperties(ignoreUnknown=true) -public class DiscoveryEngineProperties extends PropertyBase -{ - private static final long serialVersionUID = 1L; - - private String qualifiedName = null; - private String displayName = null; - private String description = null; - private String typeDescription = null; - private String version = null; - private String patchLevel = null; - private String source = null; - - private Map additionalProperties = null; - - - /** - * Default constructor. - */ - public DiscoveryEngineProperties() - { - super(); - } - - - /** - * Copy/clone constructor. - * - * @param template object to copy - */ - public DiscoveryEngineProperties(DiscoveryEngineProperties template) - { - super(template); - - if (template != null) - { - qualifiedName = template.getQualifiedName(); - displayName = template.getDisplayName(); - description = template.getDescription(); - typeDescription = template.getTypeDescription(); - version = template.getVersion(); - patchLevel = template.getPatchLevel(); - source = template.getSource(); - additionalProperties = template.getAdditionalProperties(); - } - } - - - /** - * Set up the fully qualified name. - * - * @param qualifiedName String name - */ - public void setQualifiedName(String qualifiedName) - { - this.qualifiedName = qualifiedName; - } - - - /** - * Returns the stored qualified name property for the metadata entity. - * If no qualified name is available then the empty string is returned. - * - * @return qualifiedName - */ - public String getQualifiedName() - { - return qualifiedName; - } - - - /** - * Return the display name for messages and UI. - * - * @return string name - */ - public String getDisplayName() - { - return displayName; - } - - - /** - * Set up the display name for messages and UI. - * - * @param displayName string name - */ - public void setDisplayName(String displayName) - { - this.displayName = displayName; - } - - - /** - * Return the description of the discovery engine. - * - * @return string description - */ - public String getDescription() - { - return description; - } - - - /** - * Set up the description of the discovery engine. - * - * @param description string - */ - public void setDescription(String description) - { - this.description = description; - } - - - /** - * Return the description of the type of discovery engine this is. - * - * @return string description - */ - public String getTypeDescription() - { - return typeDescription; - } - - - /** - * Set up the description of the type of discovery engine this is. - * - * @param typeDescription string - */ - public void setTypeDescription(String typeDescription) - { - this.typeDescription = typeDescription; - } - - - /** - * Return the version of the discovery engine. - * - * @return version string - */ - public String getVersion() - { - return version; - } - - - /** - * Set up the version string of the discovery engine. - * - * @param version string - */ - public void setVersion(String version) - { - this.version = version; - } - - - /** - * Return the patch level of the discovery engine. - * - * @return patch level string - */ - public String getPatchLevel() - { - return patchLevel; - } - - - /** - * Set up the patch level of the discovery engine. - * - * @param patchLevel string - */ - public void setPatchLevel(String patchLevel) - { - this.patchLevel = patchLevel; - } - - - /** - * Return the source of the discovery engine implementation. - * - * @return string url - */ - public String getSource() - { - return source; - } - - - /** - * Set up the source of the discovery engine implementation. - * - * @param source string url - */ - public void setSource(String source) - { - this.source = source; - } - - /** - * Set up additional properties. - * - * @param additionalProperties Additional properties object - */ - public void setAdditionalProperties(Map additionalProperties) - { - this.additionalProperties = additionalProperties; - } - - - /** - * Return a copy of the additional properties. Null means no additional properties are available. - * - * @return AdditionalProperties - */ - public Map getAdditionalProperties() - { - if (additionalProperties == null) - { - return null; - } - else if (additionalProperties.isEmpty()) - { - return null; - } - else - { - return new HashMap<>(additionalProperties); - } - } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "DiscoveryEngineProperties{" + - "qualifiedName='" + qualifiedName + '\'' + - ", displayName='" + displayName + '\'' + - ", description='" + description + '\'' + - ", typeDescription='" + typeDescription + '\'' + - ", version='" + version + '\'' + - ", patchLevel='" + patchLevel + '\'' + - ", source='" + source + '\'' + - ", additionalProperties=" + additionalProperties + - ", headerVersion=" + getHeaderVersion() + - ", elementHeader=" + getElementHeader() + - ", typeName='" + getTypeName() + '\'' + - ", extendedProperties=" + getExtendedProperties() + - '}'; - } - - - /** - * Compare the values of the supplied object with those stored in the current object. - * - * @param objectToCompare supplied object - * @return boolean result of comparison - */ - @Override - public boolean equals(Object objectToCompare) - { - if (this == objectToCompare) - { - return true; - } - if (objectToCompare == null || getClass() != objectToCompare.getClass()) - { - return false; - } - if (!super.equals(objectToCompare)) - { - return false; - } - DiscoveryEngineProperties that = (DiscoveryEngineProperties) objectToCompare; - return Objects.equals(getDisplayName(), that.getDisplayName()) && - Objects.equals(getDescription(), that.getDescription()) && - Objects.equals(getTypeDescription(), that.getTypeDescription()) && - Objects.equals(getVersion(), that.getVersion()) && - Objects.equals(getPatchLevel(), that.getPatchLevel()) && - Objects.equals(getSource(), that.getSource()); - } - - - /** - * Create a hash code for this element type. - * - * @return int hash code - */ - @Override - public int hashCode() - { - return Objects.hash(super.hashCode(), getDisplayName(), getDescription(), getTypeDescription(), getVersion(), - getPatchLevel(), getSource()); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DiscoveryRequestStatus.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DiscoveryRequestStatus.java deleted file mode 100644 index b17cb9f2612..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DiscoveryRequestStatus.java +++ /dev/null @@ -1,163 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - -import com.fasterxml.jackson.annotation.JsonAutoDetect; -import com.fasterxml.jackson.annotation.JsonIgnoreProperties; -import com.fasterxml.jackson.annotation.JsonInclude; - -import java.io.Serializable; - -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.PUBLIC_ONLY; - -/** - * DiscoveryRequestStatus defines the current status for a discovery request made to a discovery engine. - */ -@JsonAutoDetect(getterVisibility=PUBLIC_ONLY, setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonIgnoreProperties(ignoreUnknown=true) -public enum DiscoveryRequestStatus implements Serializable -{ - /** - * Discovery service is waiting to execute in the discovery engine. - */ - WAITING (0, 0, "Waiting", "Discovery service is waiting to execute in the discovery engine"), - - /** - * Discovery service is being initialized in the discovery engine. - */ - ACTIVATING (1, 1, "Activating", "Discovery service is being initialized in the discovery engine"), - - /** - * Discovery service is executing. - */ - IN_PROGRESS (2, 2, "In Progress","Discovery service is executing"), - - /** - * Discovery service has failed. - */ - FAILED (3, 3, "Failed", "Discovery service has failed"), - - /** - * Discovery service has completed successfully. - */ - COMPLETED (4, 4, "Completed", "Discovery service has completed successfully"), - - /** - * Discovery service has a status that is not covered by this enum. - */ - OTHER (5, 5, "Other", "Discovery service has a status that is not covered by this enum"), - - /** - * Discovery service status is unknown. - */ - UNKNOWN_STATUS (99, 99, "Unknown", "Discovery service status is unknown"); - - private static final long serialVersionUID = 1L; - - private static final String ENUM_TYPE_GUID = "b2fdeddd-24eb-4e9c-a2a4-2693828d4a69"; - private static final String ENUM_TYPE_NAME = "DiscoveryServiceRequestStatus"; - - private final String statusName; - private final String statusDescription; - private final int statusCode; - - private final int openTypeOrdinal; - - /** - * Typical Constructor - * - * @param statusCode ordinal - * @param statusName short name - * @param statusDescription longer explanation - */ - DiscoveryRequestStatus(int statusCode, - int openTypeOrdinal, - String statusName, - String statusDescription) - { - this.statusCode = statusCode; - this.openTypeOrdinal = openTypeOrdinal; - this.statusName = statusName; - this.statusDescription = statusDescription; - } - - - /** - * Return the status code for this enum instance - * - * @return int status code - */ - public int getOrdinal() - { - return statusCode; - } - - - /** - * Return the default name for the status for this enum instance. - * - * @return String default status name - */ - public String getName() - { - return statusName; - } - - - /** - * Return the default description for the status for this enum instance. - * - * @return String default status description - */ - public String getDescription() - { - return statusDescription; - } - - - - /** - * Return the code for this enum that comes from the Open Metadata Type that this enum represents. - * - * @return int code number - */ - public int getOpenTypeOrdinal() - { - return openTypeOrdinal; - } - - - /** - * Return the unique identifier for the open metadata enum type that this enum class represents. - * - * @return string guid - */ - public String getOpenTypeGUID() { return ENUM_TYPE_GUID; } - - - /** - * Return the unique name for the open metadata enum type that this enum class represents. - * - * @return string name - */ - public String getOpenTypeName() { return ENUM_TYPE_NAME; } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "DiscoveryRequestStatus{" + - "statusName='" + statusName + '\'' + - ", statusDescription='" + statusDescription + '\'' + - ", statusCode=" + statusCode + - ", openTypeOrdinal=" + openTypeOrdinal + - '}'; - } -} \ No newline at end of file diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DiscoveryServiceProperties.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DiscoveryServiceProperties.java deleted file mode 100644 index b21d809b7df..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/DiscoveryServiceProperties.java +++ /dev/null @@ -1,252 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - -import com.fasterxml.jackson.annotation.*; -import org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection; - -import java.util.*; - -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.PUBLIC_ONLY; - - -/** - * DiscoveryServiceProperties contains the definition of a discovery service. - * This definition can be associated with multiple discovery engines. - */ -@JsonAutoDetect(getterVisibility=PUBLIC_ONLY, setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonIgnoreProperties(ignoreUnknown=true) -@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.PROPERTY, - property = "class") -@JsonSubTypes( - { - @JsonSubTypes.Type(value = RegisteredDiscoveryService.class, name = "RegisteredDiscoveryService") - }) - -public class DiscoveryServiceProperties extends PropertyBase -{ - private static final long serialVersionUID = 1L; - - private String qualifiedName = null; - private String displayName = null; - private String description = null; - private Map additionalProperties = null; - private Connection connection = null; - - - /** - * Default constructor - */ - public DiscoveryServiceProperties() - { - super(); - } - - - /** - * Copy/clone constructor - * - * @param template object to copy - */ - public DiscoveryServiceProperties(DiscoveryServiceProperties template) - { - super(template); - - if (template != null) - { - qualifiedName = template.getQualifiedName(); - displayName = template.getDisplayName(); - description = template.getDescription(); - additionalProperties = template.getAdditionalProperties(); - connection = template.getConnection(); - } - } - - - /** - * Set up the fully qualified name. - * - * @param qualifiedName String name - */ - public void setQualifiedName(String qualifiedName) - { - this.qualifiedName = qualifiedName; - } - - - /** - * Returns the stored qualified name property for the metadata entity. - * If no qualified name is available then the empty string is returned. - * - * @return qualifiedName - */ - public String getQualifiedName() - { - return qualifiedName; - } - - - - /** - * Returns the stored display name property for the asset. - * If no display name is available then null is returned. - * - * @return String name - */ - public String getDisplayName() - { - return displayName; - } - - - /** - * Set up the stored display name property for the asset. - * - * @param displayName String name - */ - public void setDisplayName(String displayName) - { - this.displayName = displayName; - } - - - /** - * Returns the stored description property for the asset. - * If no description is provided then null is returned. - * - * @return description String text - */ - public String getDescription() - { - return description; - } - - - /** - * Set up the stored description property associated with the asset. - * - * @param description String text - */ - public void setDescription(String description) - { - this.description = description; - } - - - /** - * Set up additional properties. - * - * @param additionalProperties Additional properties object - */ - public void setAdditionalProperties(Map additionalProperties) - { - this.additionalProperties = additionalProperties; - } - - - /** - * Return a copy of the additional properties. Null means no additional properties are available. - * - * @return AdditionalProperties - */ - public Map getAdditionalProperties() - { - if (additionalProperties == null) - { - return null; - } - else if (additionalProperties.isEmpty()) - { - return null; - } - else - { - return new HashMap<>(additionalProperties); - } - } - - - /** - * Return the connection used to create a instance of this discovery service. - * - * @return Connection object - */ - public Connection getConnection() - { - return connection; - } - - - /** - * Set up the connection used to create a instance of this discovery service. - * - * @param connection connection object - */ - public void setConnection(Connection connection) - { - this.connection = connection; - } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "DiscoveryServiceProperties{" + - "qualifiedName='" + qualifiedName + '\'' + - ", displayName='" + displayName + '\'' + - ", description='" + description + '\'' + - ", additionalProperties=" + additionalProperties + - ", connection=" + connection + - ", headerVersion=" + getHeaderVersion() + - ", elementHeader=" + getElementHeader() + - ", typeName='" + getTypeName() + '\'' + - ", extendedProperties=" + getExtendedProperties() + - '}'; - } - - - /** - * Compare the values of the supplied object with those stored in the current object. - * - * @param objectToCompare supplied object - * @return boolean result of comparison - */ - @Override - public boolean equals(Object objectToCompare) - { - if (this == objectToCompare) - { - return true; - } - if (objectToCompare == null || getClass() != objectToCompare.getClass()) - { - return false; - } - DiscoveryServiceProperties that = (DiscoveryServiceProperties) objectToCompare; - return Objects.equals(qualifiedName, that.qualifiedName) && - Objects.equals(displayName, that.displayName) && - Objects.equals(description, that.description) && - Objects.equals(additionalProperties, that.additionalProperties) && - Objects.equals(connection, that.connection); - } - - - /** - * Create a hash code for this element type. - * - * @return int hash code - */ - @Override - public int hashCode() - { - return Objects.hash(qualifiedName, displayName, description, additionalProperties, connection); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/PropertyBase.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/PropertyBase.java deleted file mode 100644 index d5e72fe13bf..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/PropertyBase.java +++ /dev/null @@ -1,195 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - -import com.fasterxml.jackson.annotation.*; -import org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader; - -import java.io.Serializable; -import java.util.HashMap; -import java.util.Map; - -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.PUBLIC_ONLY; - -/** - * This property header implements any common mechanisms that all property objects need. - */ -@JsonAutoDetect(getterVisibility=PUBLIC_ONLY, setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonIgnoreProperties(ignoreUnknown=true) -@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.PROPERTY, - property = "class") -@JsonSubTypes( - { - @JsonSubTypes.Type(value = Annotation.class, name = "Annotation"), - @JsonSubTypes.Type(value = DataField.class, name = "DataField"), - @JsonSubTypes.Type(value = DataFieldLink.class, name = "DataFieldLink"), - @JsonSubTypes.Type(value = DiscoveryAnalysisReport.class, name = "DiscoveryAnalysisReport"), - @JsonSubTypes.Type(value = DiscoveryEngineProperties.class, name = "DiscoveryEngineProperties"), - @JsonSubTypes.Type(value = DiscoveryServiceProperties.class, name = "DiscoveryServiceProperties") - }) -public abstract class PropertyBase implements Serializable -{ - /** - * Header version for this implementation - */ - public static final long CURRENT_AUDIT_HEADER_VERSION = 1; - - private static final long serialVersionUID = 1L; - - /* - * The Element header is only set when items are retrieved from the metadata repositories. - */ - private ElementHeader elementHeader = null; - - - /* - * The typeName and extendedProperties are used to identify subtypes and any properties their type definition supports. - */ - private String typeName = null; - private Map extendedProperties = null; - - - /* - * Version number for this header. This is used to ensure that all the critical header information - * in read in a back-level version of the ODF. The default is 0 to indicate that the instance came from - * a version of the OCF that does not have a version number encoded. - */ - private long headerVersion = 0; - - /** - * Typical Constructor - */ - public PropertyBase() - { - } - - - /** - * Copy/clone Constructor the resulting object will return true if tested with this.equals(template) as - * long as the template object is not null; - * - * @param template object being copied - */ - public PropertyBase(PropertyBase template) - { - if (template != null) - { - elementHeader = template.getElementHeader(); - typeName = template.getTypeName(); - extendedProperties = template.getExtendedProperties(); - headerVersion = template.getHeaderVersion(); - } - } - - - /** - * Return the version of this header. This is used by the OMAS to determine if it is back level and - * should not process events from a source that is more advanced because it does not have the ability - * to receive all the header properties. - * - * @return long version number - the value is incremented each time a new non-informational field is added - * to the audit header. - */ - public long getHeaderVersion() - { - return headerVersion; - } - - - /** - * Return the version of this header. This is used by the OMAS to determine if it is back level and - * should not process events from a source that is more advanced because it does not have the ability - * to receive all the header properties. - * - * @param headerVersion long version number - the value is incremented each time a new non-informational field is added - * to the audit header. - */ - public void setHeaderVersion(long headerVersion) - { - this.headerVersion = headerVersion; - } - - - /** - * The element header is setup when an element is retrieved from the repository. It contains the control information and - * classifications for the object. It does not need to be filled out for create and update requests. - * - * @return element header - */ - public ElementHeader getElementHeader() - { - return elementHeader; - } - - - /** - * The element header is setup when an element is retrieved from the repository. It contains the control information and - * classifications for the object. It does not need to be filled out for create and update requests. - * - * @param elementHeader control header - */ - public void setElementHeader(ElementHeader elementHeader) - { - this.elementHeader = elementHeader; - } - - - /** - * Return the name of the type of annotation - default is "Annotation". - * - * @return unique open metadata type name - */ - public String getTypeName() - { - return typeName; - } - - - /** - * Set up the name of the type of annotation - default is "Annotation". - * - * @param typeName unique open metadata type name - */ - public void setTypeName(String typeName) - { - this.typeName = typeName; - } - - - /** - * Return the properties that have been defined for a subtype of this object that are not supported explicitly - * by this bean. - * - * @return property map - */ - public Map getExtendedProperties() - { - if (extendedProperties == null) - { - return null; - } - else if (extendedProperties.isEmpty()) - { - return null; - } - else - { - return new HashMap<>(extendedProperties); - } - } - - - /** - * Set up the properties that have been defined for a subtype of this object that are not supported explicitly - * by this bean. - * - * @param extendedProperties property map - */ - public void setExtendedProperties(Map extendedProperties) - { - this.extendedProperties = extendedProperties; - } -} \ No newline at end of file diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/QualityAnnotation.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/QualityAnnotation.java deleted file mode 100644 index 58d31750236..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/QualityAnnotation.java +++ /dev/null @@ -1,171 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - -import com.fasterxml.jackson.annotation.JsonAutoDetect; -import com.fasterxml.jackson.annotation.JsonIgnoreProperties; -import com.fasterxml.jackson.annotation.JsonInclude; - -import java.util.Objects; - -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.PUBLIC_ONLY; - -/** - * QualityAnnotation records a quality assessment of the data. It can be attached to the whole asset or a - * specific data field. Since there are different aspects of quality, the quality dimension characterizes the - * type of quality it is measuring. Then there is a score. This is an integer and can be used as needed. - * However, a suggestion is to use it as a percentage score - so a number between 0 and 100 where 100 - * is the best. - */ -@JsonAutoDetect(getterVisibility=PUBLIC_ONLY, setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonIgnoreProperties(ignoreUnknown=true) - -public class QualityAnnotation extends DataFieldAnnotation -{ - private static final long serialVersionUID = 1L; - - private String qualityDimension = null; - private int qualityScore = 0; - - - /** - * Default constructor - */ - public QualityAnnotation() - { - } - - - /** - * Copy clone constructor - * - * @param template object to copy - */ - public QualityAnnotation(QualityAnnotation template) - { - super(template); - - if (template != null) - { - qualityDimension = template.getQualityDimension(); - qualityScore = template.getQualityScore(); - } - } - - - /** - * Return the type of quality being measured. - * - * @return string name - */ - public String getQualityDimension() - { - return qualityDimension; - } - - - /** - * Set up the type of quality being measured. - * - * @param qualityDimension string name - */ - public void setQualityDimension(String qualityDimension) - { - this.qualityDimension = qualityDimension; - } - - - /** - * Return a quality score between 0 and 100 - 100 is the best. - * - * @return int - */ - public int getQualityScore() - { - return qualityScore; - } - - - /** - * Set up a quality score between 0 and 100 - 100 is the best. - * - * @param qualityScore int - */ - public void setQualityScore(int qualityScore) - { - this.qualityScore = qualityScore; - } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "QualityAnnotation{" + - "qualityDimension='" + qualityDimension + '\'' + - ", qualityScore=" + qualityScore + - ", annotationType='" + getAnnotationType() + '\'' + - ", summary='" + getSummary() + '\'' + - ", confidenceLevel=" + getConfidenceLevel() + - ", expression='" + getExpression() + '\'' + - ", explanation='" + getExplanation() + '\'' + - ", analysisStep='" + getAnalysisStep() + '\'' + - ", jsonProperties='" + getJsonProperties() + '\'' + - ", annotationStatus=" + getAnnotationStatus() + - ", numAttachedAnnotations=" + getNumAttachedAnnotations() + - ", reviewDate=" + getReviewDate() + - ", steward='" + getSteward() + '\'' + - ", reviewComment='" + getReviewComment() + '\'' + - ", additionalProperties=" + getAdditionalProperties() + - ", headerVersion=" + getHeaderVersion() + - ", elementHeader=" + getElementHeader() + - ", typeName='" + getTypeName() + '\'' + - ", extendedProperties=" + getExtendedProperties() + - '}'; - } - - - /** - * Compare the values of the supplied object with those stored in the current object. - * - * @param objectToCompare supplied object - * @return boolean result of comparison - */ - @Override - public boolean equals(Object objectToCompare) - { - if (this == objectToCompare) - { - return true; - } - if (objectToCompare == null || getClass() != objectToCompare.getClass()) - { - return false; - } - if (!super.equals(objectToCompare)) - { - return false; - } - QualityAnnotation that = (QualityAnnotation) objectToCompare; - return qualityScore == that.qualityScore && - Objects.equals(qualityDimension, that.qualityDimension); - } - - - /** - * Create a hash code for this element type. - * - * @return int hash code - */ - @Override - public int hashCode() - { - return Objects.hash(super.hashCode(), qualityDimension, qualityScore); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/RegisteredDiscoveryService.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/RegisteredDiscoveryService.java deleted file mode 100644 index 841713b68c7..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/RegisteredDiscoveryService.java +++ /dev/null @@ -1,154 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - -import com.fasterxml.jackson.annotation.JsonAutoDetect; -import com.fasterxml.jackson.annotation.JsonIgnoreProperties; -import com.fasterxml.jackson.annotation.JsonInclude; - -import java.util.*; - -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.PUBLIC_ONLY; - -/** - * RegisteredDiscoveryService describes a discovery service that has been registered with a discovery engine. - */ -@JsonAutoDetect(getterVisibility=PUBLIC_ONLY, setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonIgnoreProperties(ignoreUnknown=true) -public class RegisteredDiscoveryService extends DiscoveryServiceProperties -{ - private static final long serialVersionUID = 1L; - - private Map> discoveryRequestTypes = null; /* a map from request types to analysis parameters */ - - - /** - * Default constructor - */ - public RegisteredDiscoveryService() - { - super(); - } - - - /** - * Copy/clone constructor - * - * @param template object to copy - */ - public RegisteredDiscoveryService(RegisteredDiscoveryService template) - { - super(template); - - if (template != null) - { - discoveryRequestTypes = template.getDiscoveryRequestTypes(); - } - } - - - /** - * Copy/clone constructor - * - * @param template object to copy - */ - public RegisteredDiscoveryService(DiscoveryServiceProperties template) - { - super(template); - } - - - /** - * Return the list of asset discovery types that this discovery service supports. - * - * @return Map of request types to analysis parameters - */ - public Map> getDiscoveryRequestTypes() - { - if (discoveryRequestTypes == null) - { - return null; - } - else if (discoveryRequestTypes.isEmpty()) - { - return null; - } - else - { - return new HashMap<>(discoveryRequestTypes); - } - } - - - /** - * Set up the list of asset types that this discovery service supports. - * - * @param discoveryRequestTypes Map of request types to analysis parameters - */ - public void setDiscoveryRequestTypes(Map> discoveryRequestTypes) - { - this.discoveryRequestTypes = discoveryRequestTypes; - } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "RegisteredDiscoveryService{" + - "discoveryRequestTypes=" + discoveryRequestTypes + - ", qualifiedName='" + getQualifiedName() + '\'' + - ", displayName='" + getDisplayName() + '\'' + - ", description='" + getDescription() + '\'' + - ", additionalProperties=" + getAdditionalProperties() + - ", connection=" + getConnection() + - ", headerVersion=" + getHeaderVersion() + - ", elementHeader=" + getElementHeader() + - ", typeName='" + getTypeName() + '\'' + - ", extendedProperties=" + getExtendedProperties() + - '}'; - } - - - /** - * Compare the values of the supplied object with those stored in the current object. - * - * @param objectToCompare supplied object - * @return boolean result of comparison - */ - @Override - public boolean equals(Object objectToCompare) - { - if (this == objectToCompare) - { - return true; - } - if (objectToCompare == null || getClass() != objectToCompare.getClass()) - { - return false; - } - if (!super.equals(objectToCompare)) - { - return false; - } - RegisteredDiscoveryService that = (RegisteredDiscoveryService) objectToCompare; - return Objects.equals(discoveryRequestTypes, that.discoveryRequestTypes); - } - - /** - * Create a hash code for this element type. - * - * @return int hash code - */ - @Override - public int hashCode() - { - return Objects.hash(super.hashCode(), discoveryRequestTypes); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/RelatedDataField.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/RelatedDataField.java deleted file mode 100644 index f8f71a97112..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/RelatedDataField.java +++ /dev/null @@ -1,129 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - -import java.util.Objects; - -/** - * RelatedDataField describes a DataFieldLink and the attached DataField. - */ -public class RelatedDataField -{ - private DataFieldLink dataFieldLink = null; - private DataField attachedDataField = null; - - - /** - * Default constructor - */ - public RelatedDataField() - { - } - - - /** - * Copy;clone constructor - * - * @param template object to copy - */ - public RelatedDataField(RelatedDataField template) - { - if (template != null) - { - this.dataFieldLink = template.getDataFieldLink(); - this.attachedDataField = template.getAttachedDataField(); - } - } - - - /** - * Return the description of the relationship. - * - * @return data field link - */ - public DataFieldLink getDataFieldLink() - { - return dataFieldLink; - } - - - /** - * Set up the description of the relationship. - * - * @param dataFieldLink data field link - */ - public void setDataFieldLink(DataFieldLink dataFieldLink) - { - this.dataFieldLink = dataFieldLink; - } - - - /** - * Return the description of the attached data field. - * - * @return attached data field - */ - public DataField getAttachedDataField() - { - return attachedDataField; - } - - - /** - * Set up the description of the attached data field. - * - * @param attachedDataField attached data field - */ - public void setAttachedDataField(DataField attachedDataField) - { - this.attachedDataField = attachedDataField; - } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "RelatedDataField{" + - "dataFieldLink=" + dataFieldLink + - ", attachedDataField=" + attachedDataField + - '}'; - } - - - /** - * Compare the values of the supplied object with those stored in the current object. - * - * @param objectToCompare supplied object - * @return boolean result of comparison - */ - @Override - public boolean equals(Object objectToCompare) - { - if (this == objectToCompare) - { - return true; - } - if (! (objectToCompare instanceof RelatedDataField that)) - { - return false; - } - return Objects.equals(dataFieldLink, that.dataFieldLink) && Objects.equals(attachedDataField, that.attachedDataField); - } - - - /** - * Create a hash code for this element type. - * - * @return int hash code - */ - @Override - public int hashCode() - { - return Objects.hash(dataFieldLink, attachedDataField); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/RelationshipAdviceAnnotation.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/RelationshipAdviceAnnotation.java deleted file mode 100644 index a45bebbb5a6..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/RelationshipAdviceAnnotation.java +++ /dev/null @@ -1,205 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ - -package org.odpi.openmetadata.frameworks.discovery.properties; - -import com.fasterxml.jackson.annotation.JsonAutoDetect; -import com.fasterxml.jackson.annotation.JsonIgnoreProperties; -import com.fasterxml.jackson.annotation.JsonInclude; - -import java.util.Map; -import java.util.Objects; - -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.PUBLIC_ONLY; - -/** - * RelationshipAdviceAnnotation is used to record a recommendation that a new relationship should be made from this data field to another - * object in the open metadata types. - */ -@JsonAutoDetect(getterVisibility=PUBLIC_ONLY, setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonIgnoreProperties(ignoreUnknown=true) -public class RelationshipAdviceAnnotation extends DataFieldAnnotation -{ - private static final long serialVersionUID = 1L; - - private String relatedEntityGUID = null; - private String relationshipTypeName = null; - private Map relationshipProperties = null; - - - /** - * Default constructor - */ - public RelationshipAdviceAnnotation() - { - super(); - } - - - /** - * Copy/clone constructor - * - * @param template object to copy - */ - public RelationshipAdviceAnnotation(RelationshipAdviceAnnotation template) - { - super(template); - - if (template != null) - { - relatedEntityGUID = template.getRelatedEntityGUID(); - relationshipTypeName = template.getRelationshipTypeName(); - relationshipProperties = template.getRelationshipProperties(); - } - } - - - /** - * Return the unique identifier of the object to connect to. - * - * @return string guid - */ - public String getRelatedEntityGUID() - { - return relatedEntityGUID; - } - - - /** - * Set up the unique identifier of the object to connect to. - * - * @param relatedEntityGUID string guid - */ - public void setRelatedEntityGUID(String relatedEntityGUID) - { - this.relatedEntityGUID = relatedEntityGUID; - } - - - /** - * Return the type of relationship to create. - * - * @return type name - */ - public String getRelationshipTypeName() - { - return relationshipTypeName; - } - - - /** - * Set up the type of relationship to create. - * - * @param relationshipTypeName type name - */ - public void setRelationshipTypeName(String relationshipTypeName) - { - this.relationshipTypeName = relationshipTypeName; - } - - - /** - * Return the properties that should be stored in the relationship. - * - * @return map of property names to property values - */ - public Map getRelationshipProperties() - { - if (relationshipProperties == null) - { - return null; - } - else if (relationshipProperties.isEmpty()) - { - return null; - } - - return relationshipProperties; - } - - - /** - * Set up the properties that should be stored in the relationship. - * - * @param relationshipProperties map of property names to property values - */ - public void setRelationshipProperties(Map relationshipProperties) - { - this.relationshipProperties = relationshipProperties; - } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "RelationshipAdviceAnnotation{" + - "relatedEntityGUID='" + relatedEntityGUID + '\'' + - ", relationshipTypeName='" + relationshipTypeName + '\'' + - ", relationshipProperties=" + relationshipProperties + - ", annotationType='" + getAnnotationType() + '\'' + - ", summary='" + getSummary() + '\'' + - ", confidenceLevel=" + getConfidenceLevel() + - ", expression='" + getExpression() + '\'' + - ", explanation='" + getExplanation() + '\'' + - ", analysisStep='" + getAnalysisStep() + '\'' + - ", jsonProperties='" + getJsonProperties() + '\'' + - ", annotationStatus=" + getAnnotationStatus() + - ", numAttachedAnnotations=" + getNumAttachedAnnotations() + - ", reviewDate=" + getReviewDate() + - ", steward='" + getSteward() + '\'' + - ", reviewComment='" + getReviewComment() + '\'' + - ", additionalProperties=" + getAdditionalProperties() + - ", headerVersion=" + getHeaderVersion() + - ", elementHeader=" + getElementHeader() + - ", typeName='" + getTypeName() + '\'' + - ", extendedProperties=" + getExtendedProperties() + - '}'; - } - - - /** - * Compare the values of the supplied object with those stored in the current object. - * - * @param objectToCompare supplied object - * @return boolean result of comparison - */ - @Override - public boolean equals(Object objectToCompare) - { - if (this == objectToCompare) - { - return true; - } - if (objectToCompare == null || getClass() != objectToCompare.getClass()) - { - return false; - } - if (!super.equals(objectToCompare)) - { - return false; - } - RelationshipAdviceAnnotation that = (RelationshipAdviceAnnotation) objectToCompare; - return Objects.equals(relatedEntityGUID, that.relatedEntityGUID) && - Objects.equals(relationshipTypeName, that.relationshipTypeName) && - Objects.equals(relationshipProperties, that.relationshipProperties); - } - - - /** - * Create a hash code for this element type. - * - * @return int hash code - */ - @Override - public int hashCode() - { - return Objects.hash(super.hashCode(), relatedEntityGUID, relationshipTypeName, relationshipProperties); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/RequestForActionAnnotation.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/RequestForActionAnnotation.java deleted file mode 100644 index e719cf9904b..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/RequestForActionAnnotation.java +++ /dev/null @@ -1,209 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ - -package org.odpi.openmetadata.frameworks.discovery.properties; - -import com.fasterxml.jackson.annotation.JsonAutoDetect; -import com.fasterxml.jackson.annotation.JsonIgnoreProperties; -import com.fasterxml.jackson.annotation.JsonInclude; - -import java.util.Map; -import java.util.Objects; - -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.PUBLIC_ONLY; - -/** - * RequestForActionAnnotation is used to record an issue that has been discovered. It is typically used when the discovery - * service is running quality rules and data values are discovered that are not correct. - */ -@JsonAutoDetect(getterVisibility=PUBLIC_ONLY, setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonIgnoreProperties(ignoreUnknown=true) -public class RequestForActionAnnotation extends DataFieldAnnotation -{ - private static final long serialVersionUID = 1L; - - private String discoveryActivity = null; - private String actionRequested = null; - private Map actionProperties = null; - - - /** - * Default constructor - */ - public RequestForActionAnnotation() - { - super(); - } - - - /** - * Copy/clone constructor - * - * @param template object to copy - */ - public RequestForActionAnnotation(RequestForActionAnnotation template) - { - super(template); - - if (template != null) - { - discoveryActivity = template.getDiscoveryActivity(); - actionRequested = template.getActionRequested(); - actionProperties = template.getActionProperties(); - } - } - - - /** - * Return the unique name of the discovery activity. It should be possible for the stewardship processes to know what - * discovery processing was running for this value. - * - * @return string name - */ - public String getDiscoveryActivity() - { - return discoveryActivity; - } - - - /** - * Set up the unique name of the discovery activity. It should be possible for the stewardship processes to know what - * discovery processing was running for this value. - * - * @param discoveryActivity string name - */ - public void setDiscoveryActivity(String discoveryActivity) - { - this.discoveryActivity = discoveryActivity; - } - - - /** - * Return the identifier of the type of action that needs to be run. It should be possible for the stewardship processes to know what - * to run from this value. - * - * @return string name - */ - public String getActionRequested() - { - return actionRequested; - } - - - /** - * Set up the identifier of the type of action that needs to be run. It should be possible for the stewardship processes to know what - * to run from this value. - * - * @param actionRequested string name - */ - public void setActionRequested(String actionRequested) - { - this.actionRequested = actionRequested; - } - - - /** - * Return the properties that will guide the governance action. - * - * @return map of property names to property values - */ - public Map getActionProperties() - { - if (actionProperties == null) - { - return null; - } - else if (actionProperties.isEmpty()) - { - return null; - } - - return actionProperties; - } - - - /** - * Set up the properties that will guide the remediation action. - * - * @param actionProperties map of property names to property values - */ - public void setActionProperties(Map actionProperties) - { - this.actionProperties = actionProperties; - } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "RequestForActionAnnotation{" + - "discoveryActivity='" + discoveryActivity + '\'' + - ", actionRequested='" + actionRequested + '\'' + - ", actionProperties=" + actionProperties + - ", annotationType='" + getAnnotationType() + '\'' + - ", summary='" + getSummary() + '\'' + - ", confidenceLevel=" + getConfidenceLevel() + - ", expression='" + getExpression() + '\'' + - ", explanation='" + getExplanation() + '\'' + - ", analysisStep='" + getAnalysisStep() + '\'' + - ", jsonProperties='" + getJsonProperties() + '\'' + - ", annotationStatus=" + getAnnotationStatus() + - ", numAttachedAnnotations=" + getNumAttachedAnnotations() + - ", reviewDate=" + getReviewDate() + - ", steward='" + getSteward() + '\'' + - ", reviewComment='" + getReviewComment() + '\'' + - ", additionalProperties=" + getAdditionalProperties() + - ", headerVersion=" + getHeaderVersion() + - ", elementHeader=" + getElementHeader() + - ", typeName='" + getTypeName() + '\'' + - ", extendedProperties=" + getExtendedProperties() + - '}'; - } - - - /** - * Compare the values of the supplied object with those stored in the current object. - * - * @param objectToCompare supplied object - * @return boolean result of comparison - */ - @Override - public boolean equals(Object objectToCompare) - { - if (this == objectToCompare) - { - return true; - } - if (objectToCompare == null || getClass() != objectToCompare.getClass()) - { - return false; - } - if (!super.equals(objectToCompare)) - { - return false; - } - RequestForActionAnnotation that = (RequestForActionAnnotation) objectToCompare; - return Objects.equals(discoveryActivity, that.discoveryActivity) && - Objects.equals(actionRequested, that.actionRequested) && - Objects.equals(actionProperties, that.actionProperties); - } - - - /** - * Create a hash code for this element type. - * - * @return int hash code - */ - @Override - public int hashCode() - { - return Objects.hash(super.hashCode(), discoveryActivity, actionRequested, actionProperties); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/SchemaAnalysisAnnotation.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/SchemaAnalysisAnnotation.java deleted file mode 100644 index a7feff3b401..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/SchemaAnalysisAnnotation.java +++ /dev/null @@ -1,197 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - -import com.fasterxml.jackson.annotation.JsonAutoDetect; -import com.fasterxml.jackson.annotation.JsonIgnoreProperties; -import com.fasterxml.jackson.annotation.JsonInclude; - -import java.util.Objects; - -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.PUBLIC_ONLY; - -/** - * SchemaAnalysisAnnotation is used to describe the results of reviewing the structure of the content of an asset. - * This structure is expressed as what is called a schema. Of then the schema describes a set of nested data fields - * that each have a name and a type. - */ -@JsonAutoDetect(getterVisibility=PUBLIC_ONLY, setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonIgnoreProperties(ignoreUnknown=true) -public class SchemaAnalysisAnnotation extends Annotation -{ - private static final long serialVersionUID = 1L; - - private String schemaName = null; - private String schemaTypeName = null; - private int discoveredDataFields = 0; - - - /** - * Default constructor - */ - public SchemaAnalysisAnnotation() - { - super(); - } - - - /** - * Copy/clone constructor - * - * @param template object to copy - */ - public SchemaAnalysisAnnotation(SchemaAnalysisAnnotation template) - { - super(template); - - if (template != null) - { - this.schemaName = template.getSchemaName(); - this.schemaTypeName = template.getSchemaTypeName(); - } - } - - - /** - * Return the name of the schema - this will be used in the creation of the schema object and reflects the content - * associated with the asset. The schema that is created/validated is unique to the asset. - * - * @return name of schema - */ - public String getSchemaName() - { - return schemaName; - } - - - /** - * Set up the name of the schema - this will be used in the creation of the schema object and reflects the content - * associated with the asset. The schema that is created/validated is unique to the asset. - * - * @param schemaName name of schema - */ - public void setSchemaName(String schemaName) - { - this.schemaName = schemaName; - } - - - /** - * Return the name of the schema type for this asset. - * - * @return name - */ - public String getSchemaTypeName() - { - return schemaTypeName; - } - - - /** - * Set up the name of the schema type for this asset. - * - * @param schemaTypeName name - */ - public void setSchemaTypeName(String schemaTypeName) - { - this.schemaTypeName = schemaTypeName; - } - - - /** - * Return the number of discovered data fields in this schema. - * - * @return integer - */ - public int getDiscoveredDataFields() - { - return discoveredDataFields; - } - - - /** - * Set up the number of discovered data fields in this schema. - * - * @param discoveredDataFields integer - */ - public void setDiscoveredDataFields(int discoveredDataFields) - { - this.discoveredDataFields = discoveredDataFields; - } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "SchemaAnalysisAnnotation{" + - "schemaName='" + schemaName + '\'' + - ", schemaTypeName='" + schemaTypeName + '\'' + - ", discoveredDataFields=" + discoveredDataFields + - ", annotationType='" + getAnnotationType() + '\'' + - ", summary='" + getSummary() + '\'' + - ", confidenceLevel=" + getConfidenceLevel() + - ", expression='" + getExpression() + '\'' + - ", explanation='" + getExplanation() + '\'' + - ", analysisStep='" + getAnalysisStep() + '\'' + - ", jsonProperties='" + getJsonProperties() + '\'' + - ", annotationStatus=" + getAnnotationStatus() + - ", numAttachedAnnotations=" + getNumAttachedAnnotations() + - ", reviewDate=" + getReviewDate() + - ", steward='" + getSteward() + '\'' + - ", reviewComment='" + getReviewComment() + '\'' + - ", additionalProperties=" + getAdditionalProperties() + - ", headerVersion=" + getHeaderVersion() + - ", elementHeader=" + getElementHeader() + - ", typeName='" + getTypeName() + '\'' + - ", extendedProperties=" + getExtendedProperties() + - '}'; - } - - - /** - * Compare the values of the supplied object with those stored in the current object. - * - * @param objectToCompare supplied object - * @return boolean result of comparison - */ - @Override - public boolean equals(Object objectToCompare) - { - - if (this == objectToCompare) - { - return true; - } - if (objectToCompare == null || getClass() != objectToCompare.getClass()) - { - return false; - } - if (!super.equals(objectToCompare)) - { - return false; - } - SchemaAnalysisAnnotation that = (SchemaAnalysisAnnotation) objectToCompare; - return discoveredDataFields == that.discoveredDataFields && - Objects.equals(schemaName, that.schemaName) && - Objects.equals(schemaTypeName, that.schemaTypeName); - } - - - /** - * Create a hash code for this element type. - * - * @return int hash code - */ - @Override - public int hashCode() - { - return Objects.hash(super.hashCode(), getSchemaName(), getSchemaTypeName(), getDiscoveredDataFields()); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/SemanticAnnotation.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/SemanticAnnotation.java deleted file mode 100644 index 084de3fa761..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/main/java/org/odpi/openmetadata/frameworks/discovery/properties/SemanticAnnotation.java +++ /dev/null @@ -1,220 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - -import com.fasterxml.jackson.annotation.*; - -import java.util.List; -import java.util.Objects; - -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; -import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.PUBLIC_ONLY; - -/** - * SemanticAnnotation provides a recommendation as to the likely meaning of data. This can be expressed informally with - * explicit strings, or via lists of GUIDs that match elements in a formal glossary. It can be attached to an asset - * or a data field within an asset. - */ -@JsonAutoDetect(getterVisibility=PUBLIC_ONLY, setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonIgnoreProperties(ignoreUnknown=true) - -public class SemanticAnnotation extends DataFieldAnnotation -{ - private static final long serialVersionUID = 1L; - - private String informalTerm = null; - private String informalTopic = null; - - private List candidateGlossaryTermGUIDs = null; - private List candidateGlossaryCategoryGUIDs = null; - - /** - * Default constructor - */ - public SemanticAnnotation() - { - } - - - /** - * Copy clone constructor - * - * @param template object to copy - */ - public SemanticAnnotation(SemanticAnnotation template) - { - super(template); - - if (template != null) - { - informalTerm = template.getInformalTerm(); - informalTopic = template.getInformalTopic(); - candidateGlossaryTermGUIDs = template.getCandidateGlossaryTermGUIDs(); - candidateGlossaryCategoryGUIDs = template.getCandidateGlossaryCategoryGUIDs(); - } - } - - - /** - * Return a string that describes the meaning of this data. - * - * @return string name - */ - public String getInformalTerm() - { - return informalTerm; - } - - - /** - * Set up a string that describes the meaning of this data. - * - * @param informalTerm string name - */ - public void setInformalTerm(String informalTerm) - { - this.informalTerm = informalTerm; - } - - - /** - * Return a string that describes the topic that this data is about. - * - * @return string name - */ - public String getInformalTopic() - { - return informalTopic; - } - - - /** - * Set up a string that describes the topic that this data is about. - * - * @param informalTopic string name - */ - public void setInformalTopic(String informalTopic) - { - this.informalTopic = informalTopic; - } - - - /** - * Return a list of unique identifiers of glossary terms that describe the meaning of the data. - * - * @return list of guids - */ - public List getCandidateGlossaryTermGUIDs() - { - return candidateGlossaryTermGUIDs; - } - - - /** - * Set up a list of unique identifiers of glossary terms that describe the meaning of the data. - * - * @param candidateGlossaryTermGUIDs list of guids - */ - public void setCandidateGlossaryTermGUIDs(List candidateGlossaryTermGUIDs) - { - this.candidateGlossaryTermGUIDs = candidateGlossaryTermGUIDs; - } - - - /** - * Return a list of unique identifiers of glossary categories that describe the topic of the data. - * - * @return list of guids - */ - public List getCandidateGlossaryCategoryGUIDs() - { - return candidateGlossaryCategoryGUIDs; - } - - - /** - * Set up a list of unique identifiers of glossary categories that describe the topic of the data. - * - * @param candidateGlossaryCategoryGUIDs list of guids - */ - public void setCandidateGlossaryCategoryGUIDs(List candidateGlossaryCategoryGUIDs) - { - this.candidateGlossaryCategoryGUIDs = candidateGlossaryCategoryGUIDs; - } - - - /** - * Standard toString method. - * - * @return print out of variables in a JSON-style - */ - @Override - public String toString() - { - return "SemanticAnnotation{" + - "informalTerm='" + informalTerm + '\'' + - ", informalTopic='" + informalTopic + '\'' + - ", candidateGlossaryTermGUIDs=" + candidateGlossaryTermGUIDs + - ", candidateGlossaryCategoryGUIDs=" + candidateGlossaryCategoryGUIDs + - ", annotationType='" + getAnnotationType() + '\'' + - ", summary='" + getSummary() + '\'' + - ", confidenceLevel=" + getConfidenceLevel() + - ", expression='" + getExpression() + '\'' + - ", explanation='" + getExplanation() + '\'' + - ", analysisStep='" + getAnalysisStep() + '\'' + - ", jsonProperties='" + getJsonProperties() + '\'' + - ", annotationStatus=" + getAnnotationStatus() + - ", numAttachedAnnotations=" + getNumAttachedAnnotations() + - ", reviewDate=" + getReviewDate() + - ", steward='" + getSteward() + '\'' + - ", reviewComment='" + getReviewComment() + '\'' + - ", additionalProperties=" + getAdditionalProperties() + - ", headerVersion=" + getHeaderVersion() + - ", elementHeader=" + getElementHeader() + - ", typeName='" + getTypeName() + '\'' + - ", extendedProperties=" + getExtendedProperties() + - '}'; - } - - - /** - * Compare the values of the supplied object with those stored in the current object. - * - * @param objectToCompare supplied object - * @return boolean result of comparison - */ - @Override - public boolean equals(Object objectToCompare) - { - if (this == objectToCompare) - { - return true; - } - if (objectToCompare == null || getClass() != objectToCompare.getClass()) - { - return false; - } - if (!super.equals(objectToCompare)) - { - return false; - } - SemanticAnnotation that = (SemanticAnnotation) objectToCompare; - return Objects.equals(informalTerm, that.informalTerm) && - Objects.equals(informalTopic, that.informalTopic) && - Objects.equals(candidateGlossaryTermGUIDs, that.candidateGlossaryTermGUIDs) && - Objects.equals(candidateGlossaryCategoryGUIDs, that.candidateGlossaryCategoryGUIDs); - } - - - /** - * Create a hash code for this element type. - * - * @return int hash code - */ - @Override - public int hashCode() - { - return Objects.hash(super.hashCode(), informalTerm, informalTopic, candidateGlossaryTermGUIDs, candidateGlossaryCategoryGUIDs); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/test/java/org/odpi/openmetadata/frameworks/discovery/properties/AnnotationStatusTest.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/test/java/org/odpi/openmetadata/frameworks/discovery/properties/AnnotationStatusTest.java deleted file mode 100644 index e445ce6055a..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/test/java/org/odpi/openmetadata/frameworks/discovery/properties/AnnotationStatusTest.java +++ /dev/null @@ -1,139 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - - -import com.fasterxml.jackson.databind.ObjectMapper; -import org.testng.annotations.Test; - -import java.util.ArrayList; -import java.util.List; - -import static org.testng.Assert.assertTrue; - -/** - * Verify the AnnotationStatus enum contains unique ordinals, non-null names and descriptions and can be - * serialized to JSON and back again. - */ -public class AnnotationStatusTest -{ - private List existingOrdinals = null; - - /** - * Validate that a supplied ordinal is unique. - * - * @param ordinal value to test - * @return boolean result - */ - private boolean isUniqueOrdinal(int ordinal) - { - Integer newOrdinal = ordinal; - - if (existingOrdinals.contains(newOrdinal)) - { - return false; - } - else - { - existingOrdinals.add(newOrdinal); - return true; - } - } - - - /** - * Validated the values of the enum. - */ - @Test public void testAnnotationStatusValues() - { - existingOrdinals = new ArrayList<>(); - - AnnotationStatus testValue; - - testValue = AnnotationStatus.NEW_ANNOTATION; - - assertTrue(isUniqueOrdinal(testValue.getOrdinal())); - assertTrue(testValue.getName() != null); - assertTrue(testValue.getDescription() != null); - - testValue = AnnotationStatus.REVIEWED_ANNOTATION; - - assertTrue(isUniqueOrdinal(testValue.getOrdinal())); - assertTrue(testValue.getName() != null); - assertTrue(testValue.getDescription() != null); - - testValue = AnnotationStatus.APPROVED_ANNOTATION; - - assertTrue(isUniqueOrdinal(testValue.getOrdinal())); - assertTrue(testValue.getName() != null); - assertTrue(testValue.getDescription() != null); - - testValue = AnnotationStatus.ACTIONED_ANNOTATION; - - assertTrue(isUniqueOrdinal(testValue.getOrdinal())); - assertTrue(testValue.getName() != null); - assertTrue(testValue.getDescription() != null); - - testValue = AnnotationStatus.INVALID_ANNOTATION; - - assertTrue(isUniqueOrdinal(testValue.getOrdinal())); - assertTrue(testValue.getName() != null); - assertTrue(testValue.getDescription() != null); - - testValue = AnnotationStatus.IGNORE_ANNOTATION; - - assertTrue(isUniqueOrdinal(testValue.getOrdinal())); - assertTrue(testValue.getName() != null); - assertTrue(testValue.getDescription() != null); - - testValue = AnnotationStatus.OTHER_STATUS; - - assertTrue(isUniqueOrdinal(testValue.getOrdinal())); - assertTrue(testValue.getName() != null); - assertTrue(testValue.getDescription() != null); - - testValue = AnnotationStatus.UNKNOWN_STATUS; - - assertTrue(isUniqueOrdinal(testValue.getOrdinal())); - assertTrue(testValue.getName() != null); - assertTrue(testValue.getDescription() != null); - } - - - /** - * Validate that an object generated from a JSON String has the same content as the object used to - * create the JSON String. - */ - @Test public void testJSON() - { - ObjectMapper objectMapper = new ObjectMapper(); - String jsonString = null; - - try - { - jsonString = objectMapper.writeValueAsString(AnnotationStatus.ACTIONED_ANNOTATION); - } - catch (Throwable exc) - { - assertTrue(false, "Exception: " + exc.getMessage()); - } - - try - { - assertTrue(objectMapper.readValue(jsonString, AnnotationStatus.class) == AnnotationStatus.ACTIONED_ANNOTATION); - } - catch (Throwable exc) - { - assertTrue(false, "Exception: " + exc.getMessage()); - } - } - - - /** - * Test that toString is overridden. - */ - @Test public void testToString() - { - assertTrue(AnnotationStatus.INVALID_ANNOTATION.toString().contains("AnnotationStatus")); - } -} diff --git a/open-metadata-implementation/frameworks/open-discovery-framework/src/test/java/org/odpi/openmetadata/frameworks/discovery/properties/AnnotationTest.java b/open-metadata-implementation/frameworks/open-discovery-framework/src/test/java/org/odpi/openmetadata/frameworks/discovery/properties/AnnotationTest.java deleted file mode 100644 index 7466709b06a..00000000000 --- a/open-metadata-implementation/frameworks/open-discovery-framework/src/test/java/org/odpi/openmetadata/frameworks/discovery/properties/AnnotationTest.java +++ /dev/null @@ -1,193 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.frameworks.discovery.properties; - -import com.fasterxml.jackson.databind.ObjectMapper; -import org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementClassification; -import org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementType; -import org.testng.annotations.Test; - -import java.util.*; - -import static org.testng.Assert.assertFalse; -import static org.testng.Assert.assertTrue; - -/** - * Validate that the Annotation bean can be cloned, compared, serialized, deserialized and printed as a String. - */ -public class AnnotationTest -{ - private ElementType type = new ElementType(); - private Date creationDate = new Date(27); - private Date reviewDate = new Date(1234); - private List classifications = new ArrayList<>(); - private Map analysisParameters = new HashMap<>(); - private Map additionalProperties = new HashMap<>(); - - - /** - * Default constructor - */ - public AnnotationTest() - { - } - - - /** - * Set up an example object to test. - * - * @return filled in object - */ - private Annotation getTestObject() - { - Annotation testObject = new Annotation(); - - testObject.setAnnotationType("TestAnnotationType"); - testObject.setSummary("TestSummary"); - testObject.setConfidenceLevel(5); - testObject.setExpression("TestExpression"); - testObject.setExplanation("TestExplanation"); - testObject.setAnalysisStep("TestAnalysisStep"); - testObject.setJsonProperties("TestJsonProperties"); - testObject.setAnnotationStatus(AnnotationStatus.UNKNOWN_STATUS); - testObject.setSteward("TestSteward"); - testObject.setReviewComment("TestReviewComment"); - testObject.setAdditionalProperties(additionalProperties); - - return testObject; - } - - - /** - * Validate that the object that comes out of the test has the same content as the original test object. - * - * @param resultObject object returned by the test - */ - private void validateResultObject(Annotation resultObject) - { - assertTrue(resultObject.getAnnotationType().equals("TestAnnotationType")); - assertTrue(resultObject.getSummary().equals("TestSummary")); - assertTrue(resultObject.getConfidenceLevel() == 5); - assertTrue(resultObject.getExpression().equals("TestExpression")); - assertTrue(resultObject.getExplanation().equals("TestExplanation")); - assertTrue(resultObject.getAnalysisStep().equals("TestAnalysisStep")); - assertTrue(resultObject.getJsonProperties().equals("TestJsonProperties")); - assertTrue(resultObject.getAnnotationStatus().equals(AnnotationStatus.UNKNOWN_STATUS)); - assertTrue(resultObject.getSteward().equals("TestSteward")); - assertTrue(resultObject.getReviewComment().equals("TestReviewComment")); - assertTrue(resultObject.getAdditionalProperties().equals(additionalProperties)); - } - - - /** - * Validate that the object is initialized properly - */ - @Test public void testNullObject() - { - Annotation nullObject = new Annotation(); - - assertTrue(nullObject.getAnnotationType() == null); - assertTrue(nullObject.getSummary() == null); - assertTrue(nullObject.getConfidenceLevel() == 0); - assertTrue(nullObject.getExpression() == null); - assertTrue(nullObject.getExplanation() == null); - assertTrue(nullObject.getAnalysisStep() == null); - assertTrue(nullObject.getJsonProperties() == null); - assertTrue(nullObject.getAnnotationStatus() == null); - assertTrue(nullObject.getSteward() == null); - assertTrue(nullObject.getReviewComment() == null); - assertTrue(nullObject.getAdditionalProperties() == null); - - nullObject = new Annotation(null); - - assertTrue(nullObject.getAnnotationType() == null); - assertTrue(nullObject.getSummary() == null); - assertTrue(nullObject.getConfidenceLevel() == 0); - assertTrue(nullObject.getExpression() == null); - assertTrue(nullObject.getExplanation() == null); - assertTrue(nullObject.getAnalysisStep() == null); - assertTrue(nullObject.getJsonProperties() == null); - assertTrue(nullObject.getAnnotationStatus() == null); - assertTrue(nullObject.getSteward() == null); - assertTrue(nullObject.getReviewComment() == null); - assertTrue(nullObject.getAdditionalProperties() == null); - } - - - /** - * Validate that 2 different objects with the same content are evaluated as equal. - * Also that different objects are considered not equal. - */ - @Test public void testEquals() - { - assertFalse(getTestObject().equals(null)); - assertFalse(getTestObject().equals("DummyString")); - assertTrue(getTestObject().equals(getTestObject())); - - Annotation sameObject = getTestObject(); - assertTrue(sameObject.equals(sameObject)); - - Annotation differentObject = getTestObject(); - differentObject.setSteward("Different"); - assertFalse(getTestObject().equals(differentObject)); - } - - - /** - * Validate that 2 different objects with the same content have the same hash code. - */ - @Test public void testHashCode() - { - assertTrue(getTestObject().hashCode() == getTestObject().hashCode()); - } - - - /** - * Validate that an object cloned from another object has the same content as the original - */ - @Test public void testClone() - { - validateResultObject(new Annotation(getTestObject())); - } - - - /** - * Validate that an object generated from a JSON String has the same content as the object used to - * create the JSON String. - */ - @Test public void testJSON() - { - ObjectMapper objectMapper = new ObjectMapper(); - String jsonString = null; - - /* - * This class - */ - try - { - jsonString = objectMapper.writeValueAsString(getTestObject()); - } - catch (Throwable exc) - { - assertTrue(false, "Exception: " + exc.getMessage()); - } - - try - { - validateResultObject(objectMapper.readValue(jsonString, Annotation.class)); - } - catch (Throwable exc) - { - assertTrue(false, "Exception: " + exc.getMessage()); - } - } - - - /** - * Test that toString is overridden. - */ - @Test public void testToString() - { - assertTrue(getTestObject().toString().contains("Annotation")); - } -} diff --git a/open-metadata-implementation/frameworks/open-metadata-framework/src/main/java/org/odpi/openmetadata/frameworks/openmetadata/types/OpenMetadataProperty.java b/open-metadata-implementation/frameworks/open-metadata-framework/src/main/java/org/odpi/openmetadata/frameworks/openmetadata/types/OpenMetadataProperty.java index 6860a85b3bf..7045aef037a 100644 --- a/open-metadata-implementation/frameworks/open-metadata-framework/src/main/java/org/odpi/openmetadata/frameworks/openmetadata/types/OpenMetadataProperty.java +++ b/open-metadata-implementation/frameworks/open-metadata-framework/src/main/java/org/odpi/openmetadata/frameworks/openmetadata/types/OpenMetadataProperty.java @@ -149,6 +149,36 @@ public enum OpenMetadataProperty */ IS_PUBLIC("isPublic", "boolean", "Is this element visible to all, or only the author?", "true", "e7a8eaa8-4358-4dd3-8d82-2ab3c118cfe4"), + /** + * Rating level provided. + */ + STARS("stars", "StarRating", "Rating level provided.", "***", "896fd016-fad1-43dc-87a9-3ee577d8d898"), + + /** + * Additional comments associated with the rating. + */ + REVIEW("review", "string", "Additional comments associated with the rating.", null, "ae1ef693-6264-44ee-8014-23a283ad3b0e"), + + /** + * Feedback comments or additional information. + */ + TEXT("text", "string", "Feedback comments or additional information.", null, "baef44c7-e345-46ef-b8f7-a4d7fbcf77d7"), + + /** + * Type of comment. + */ + TYPE("type", "CommentType", "Type of comment.", "Answer", "465c7ed7-74d4-4eb3-9e4c-9d47f06a0ebd"), + + /** + * Descriptive name of the tag. + */ + TAG_NAME("tagName", "string", "Descriptive name of the tag.", null, "c6054168-4236-4de1-9ece-ebcb5597dbf4"), + + /** + * More detail on the meaning of the tag. + */ + TAG_DESCRIPTION("tagDescription", "string", "More detail on the meaning of the tag.", null, "e8fc2fc9-afae-47cd-b5f0-f7c374fb6ea4"), + /** * Description of the technique used to create the sample. */ diff --git a/open-metadata-implementation/frameworks/open-metadata-framework/src/main/java/org/odpi/openmetadata/frameworks/openmetadata/types/OpenMetadataType.java b/open-metadata-implementation/frameworks/open-metadata-framework/src/main/java/org/odpi/openmetadata/frameworks/openmetadata/types/OpenMetadataType.java index 33d2370166d..945ef6838e9 100644 --- a/open-metadata-implementation/frameworks/open-metadata-framework/src/main/java/org/odpi/openmetadata/frameworks/openmetadata/types/OpenMetadataType.java +++ b/open-metadata-implementation/frameworks/open-metadata-framework/src/main/java/org/odpi/openmetadata/frameworks/openmetadata/types/OpenMetadataType.java @@ -655,6 +655,25 @@ public enum OpenMetadataType "12780d85-66e8-45b3-9d0e-ef4bebbf1ed9", "An action assigned to an individual."), + + /** + * Quantitative feedback related to an item. + */ + RATING("7299d721-d17f-4562-8286-bcd451814478", + "Rating", + OpenMetadataWikiPages.MODEL_0150_FEEDBACK, + "bd05b809-b094-431d-905d-dad65bbe6484", + "Quantitative feedback related to an item."), + + /** + * Links a rating to an item. + */ + ATTACHED_RATING_RELATIONSHIP("0aaad9e9-9cc5-4ad8-bc2e-c1099bab6344", + "AttachedRating", + OpenMetadataWikiPages.MODEL_0150_FEEDBACK, + "87ea2c02-dae5-4d7d-8bc8-c4f2589026b0", + "Links a rating to an item."), + /** * Descriptive feedback or discussion related to the attached element. */ @@ -664,6 +683,61 @@ public enum OpenMetadataType "af656cd2-a73c-421f-9429-4b6749cb6f09", "Descriptive feedback or discussion related to the attached element."), + /** + * Links a comment to an item, or another comment. + */ + ATTACHED_COMMENT_RELATIONSHIP("0d90501b-bf29-4621-a207-0c8c953bdac9", + "AttachedComment", + OpenMetadataWikiPages.MODEL_0150_FEEDBACK, + "7025c1a3-2026-422e-92f3-cf7d65832713", + "Links a comment to an item, or another comment."), + + /** + * Identifies a comment as answering a question asked in another comment. + */ + ACCEPTED_ANSWER_RELATIONSHIP("ecf1a3ca-adc5-4747-82cf-10ec590c5c69", + "AcceptedAnswer", + OpenMetadataWikiPages.MODEL_0150_FEEDBACK, + "2f207a82-e7e2-4fd6-9a91-c6055f287f66", + "Identifies a comment as answering a question asked in another comment."), + + /** + * Boolean type of rating expressing a favorable impression. + */ + LIKE("deaa5ca0-47a0-483d-b943-d91c76744e01", + "Like", + OpenMetadataWikiPages.MODEL_0150_FEEDBACK, + "b2bbaacb-c547-41b9-9bb2-e11d55bf74f7", + "Boolean type of rating expressing a favorable impression."), + + /** + * Links a like to an item. + */ + ATTACHED_LIKE_RELATIONSHIP("e2509715-a606-415d-a995-61d00503dad4", + "AttachedLike", + OpenMetadataWikiPages.MODEL_0150_FEEDBACK, + "727783d2-de50-44f9-b5bc-d21a23b1a203", + "Links a like to an item."), + + /** + * A descriptive tag for an item. + */ + INFORMAL_TAG("ba846a7b-2955-40bf-952b-2793ceca090a", + "InformalTag", + OpenMetadataWikiPages.MODEL_0150_FEEDBACK, + "74bf2e98-b334-4cc8-b89f-a03239a7b574", + "A descriptive tag for an item."), + + /** + * Links an informal tag to an item. + */ + ATTACHED_TAG_RELATIONSHIP("4b1641c4-3d1a-4213-86b2-d6968b6c65ab", + "AttachedTag", + OpenMetadataWikiPages.MODEL_0150_FEEDBACK, + "f5f7ed7d-bebe-454f-94aa-1029ff37ac6a", + "Links an informal tag to an item."), + + /* ============================================================================================================================*/ /* Area 2 - Assets */ /* ============================================================================================================================*/ diff --git a/open-metadata-implementation/platform-chassis/platform-chassis-spring/build.gradle b/open-metadata-implementation/platform-chassis/platform-chassis-spring/build.gradle index 9559858bc11..ec5bf4c83a6 100644 --- a/open-metadata-implementation/platform-chassis/platform-chassis-spring/build.gradle +++ b/open-metadata-implementation/platform-chassis/platform-chassis-spring/build.gradle @@ -60,18 +60,18 @@ dependencies { runtimeOnly project(':open-metadata-implementation:view-services:reference-data:reference-data-spring') runtimeOnly project(':open-metadata-implementation:view-services:template-manager:template-manager-spring') runtimeOnly project(':open-metadata-implementation:view-services:valid-metadata:valid-metadata-spring') - runtimeOnly project(':open-metadata-implementation:view-services:glossary-author-view:glossary-author-view-spring') - runtimeOnly project(':open-metadata-implementation:view-services:rex-view:rex-view-spring') - runtimeOnly project(':open-metadata-implementation:view-services:tex-view:tex-view-spring') - runtimeOnly project(':open-metadata-implementation:view-services:dino-view:dino-view-spring') - runtimeOnly project(':open-metadata-implementation:view-services:server-author-view:server-author-view-spring') +// runtimeOnly project(':open-metadata-implementation:view-services:glossary-author-view:glossary-author-view-spring') +// runtimeOnly project(':open-metadata-implementation:view-services:rex-view:rex-view-spring') +// runtimeOnly project(':open-metadata-implementation:view-services:tex-view:tex-view-spring') +// runtimeOnly project(':open-metadata-implementation:view-services:dino-view:dino-view-spring') +// runtimeOnly project(':open-metadata-implementation:view-services:server-author-view:server-author-view-spring') runtimeOnly project(':open-metadata-implementation:access-services:security-manager:security-manager-spring') runtimeOnly project(':open-metadata-implementation:access-services:data-manager:data-manager-spring') - runtimeOnly project(':open-metadata-implementation:access-services:glossary-view:glossary-view-spring') +// runtimeOnly project(':open-metadata-implementation:access-services:glossary-view:glossary-view-spring') runtimeOnly project(':open-metadata-implementation:access-services:asset-lineage:asset-lineage-spring') - runtimeOnly project(':open-metadata-implementation:access-services:data-engine:data-engine-spring') - runtimeOnly project(':open-metadata-implementation:access-services:subject-area:subject-area-spring') - runtimeOnly project(':open-metadata-implementation:access-services:asset-catalog:omas-asset-catalog-spring') +// runtimeOnly project(':open-metadata-implementation:access-services:data-engine:data-engine-spring') +// runtimeOnly project(':open-metadata-implementation:access-services:subject-area:subject-area-spring') +// runtimeOnly project(':open-metadata-implementation:access-services:asset-catalog:omas-asset-catalog-spring') runtimeOnly project(':open-metadata-implementation:access-services:governance-program:governance-program-spring') runtimeOnly project(':open-metadata-implementation:access-services:governance-engine:governance-engine-spring') runtimeOnly project(':open-metadata-implementation:access-services:governance-server:governance-server-spring') @@ -102,14 +102,14 @@ dependencies { runtimeOnly project(':open-metadata-implementation:integration-services:analytics-integrator:analytics-integrator-spring') runtimeOnly project(':open-metadata-implementation:integration-services:api-integrator:api-integrator-spring') runtimeOnly project(':open-metadata-implementation:integration-services:catalog-integrator:catalog-integrator-spring') - runtimeOnly project(':open-metadata-implementation:integration-services:search-integrator:search-integrator-spring') + // runtimeOnly project(':open-metadata-implementation:integration-services:search-integrator:search-integrator-spring') runtimeOnly project(':open-metadata-implementation:integration-services:topic-integrator:topic-integrator-spring') runtimeOnly project(':open-metadata-implementation:repository-services:repository-services-spring') runtimeOnly project(':open-metadata-conformance-suite:open-metadata-conformance-suite-spring') runtimeOnly project(':open-metadata-implementation:framework-services:ocf-metadata-management:ocf-metadata-spring') runtimeOnly project(':open-metadata-implementation:framework-services:gaf-metadata-management:gaf-metadata-spring') runtimeOnly project(':open-metadata-implementation:framework-services:oif-metadata-management:oif-metadata-spring') - runtimeOnly project(':open-metadata-implementation:governance-server-services:data-engine-proxy-services:data-engine-proxy-services-spring') + // runtimeOnly project(':open-metadata-implementation:governance-server-services:data-engine-proxy-services:data-engine-proxy-services-spring') runtimeOnly project(':open-metadata-implementation:governance-server-services:integration-daemon-services:integration-daemon-services-spring') runtimeOnly project(':open-metadata-implementation:governance-server-services:engine-host-services:engine-host-services-spring') runtimeOnly project(':open-metadata-implementation:governance-server-services:lineage-warehouse-services:lineage-warehouse-services-spring') diff --git a/open-metadata-implementation/platform-services/platform-services-server/build.gradle b/open-metadata-implementation/platform-services/platform-services-server/build.gradle index 46a3b18ed05..8e4e45cdffa 100644 --- a/open-metadata-implementation/platform-services/platform-services-server/build.gradle +++ b/open-metadata-implementation/platform-services/platform-services-server/build.gradle @@ -30,7 +30,7 @@ dependencies { implementation project(':open-metadata-implementation:governance-server-services:engine-host-services:engine-host-services-registration') implementation project(':open-metadata-implementation:governance-server-services:engine-host-services:engine-host-services-server') implementation project(':open-metadata-implementation:governance-server-services:lineage-warehouse-services:lineage-warehouse-services-server') - implementation project(':open-metadata-implementation:governance-server-services:data-engine-proxy-services:data-engine-proxy-services-server') +// implementation project(':open-metadata-implementation:governance-server-services:data-engine-proxy-services:data-engine-proxy-services-server') compileOnly 'com.fasterxml.jackson.core:jackson-annotations' } diff --git a/open-metadata-implementation/server-chassis/server-chassis-spring/build.gradle b/open-metadata-implementation/server-chassis/server-chassis-spring/build.gradle index 3cf175af8bd..41e7063affb 100644 --- a/open-metadata-implementation/server-chassis/server-chassis-spring/build.gradle +++ b/open-metadata-implementation/server-chassis/server-chassis-spring/build.gradle @@ -50,7 +50,7 @@ dependencies { runtimeOnly project(':open-metadata-implementation:view-services:collection-manager:collection-manager-spring') runtimeOnly project(':open-metadata-implementation:view-services:data-discovery:data-discovery-spring') runtimeOnly project(':open-metadata-implementation:view-services:feedback-manager:feedback-manager-spring') - runtimeOnly project(':open-metadata-implementation:view-services:glossary-author-view:glossary-author-view-spring') +// runtimeOnly project(':open-metadata-implementation:view-services:glossary-author-view:glossary-author-view-spring') runtimeOnly project(':open-metadata-implementation:view-services:glossary-browser:glossary-browser-spring') runtimeOnly project(':open-metadata-implementation:view-services:glossary-manager:glossary-manager-spring') runtimeOnly project(':open-metadata-implementation:view-services:action-author:action-author-spring') @@ -60,17 +60,17 @@ dependencies { runtimeOnly project(':open-metadata-implementation:view-services:my-profile:my-profile-spring') runtimeOnly project(':open-metadata-implementation:view-services:template-manager:template-manager-spring') runtimeOnly project(':open-metadata-implementation:view-services:valid-metadata:valid-metadata-spring') - runtimeOnly project(':open-metadata-implementation:view-services:rex-view:rex-view-spring') - runtimeOnly project(':open-metadata-implementation:view-services:tex-view:tex-view-spring') - runtimeOnly project(':open-metadata-implementation:view-services:dino-view:dino-view-spring') - runtimeOnly project(':open-metadata-implementation:view-services:server-author-view:server-author-view-spring') +// runtimeOnly project(':open-metadata-implementation:view-services:rex-view:rex-view-spring') +// runtimeOnly project(':open-metadata-implementation:view-services:tex-view:tex-view-spring') +// runtimeOnly project(':open-metadata-implementation:view-services:dino-view:dino-view-spring') +// runtimeOnly project(':open-metadata-implementation:view-services:server-author-view:server-author-view-spring') runtimeOnly project(':open-metadata-implementation:access-services:security-manager:security-manager-spring') runtimeOnly project(':open-metadata-implementation:access-services:data-manager:data-manager-spring') - runtimeOnly project(':open-metadata-implementation:access-services:glossary-view:glossary-view-spring') +// runtimeOnly project(':open-metadata-implementation:access-services:glossary-view:glossary-view-spring') runtimeOnly project(':open-metadata-implementation:access-services:asset-lineage:asset-lineage-spring') - runtimeOnly project(':open-metadata-implementation:access-services:data-engine:data-engine-spring') - runtimeOnly project(':open-metadata-implementation:access-services:subject-area:subject-area-spring') - runtimeOnly project(':open-metadata-implementation:access-services:asset-catalog:omas-asset-catalog-spring') +// runtimeOnly project(':open-metadata-implementation:access-services:data-engine:data-engine-spring') +// runtimeOnly project(':open-metadata-implementation:access-services:subject-area:subject-area-spring') +// runtimeOnly project(':open-metadata-implementation:access-services:asset-catalog:omas-asset-catalog-spring') runtimeOnly project(':open-metadata-implementation:access-services:governance-program:governance-program-spring') runtimeOnly project(':open-metadata-implementation:access-services:governance-engine:governance-engine-spring') runtimeOnly project(':open-metadata-implementation:access-services:governance-server:governance-server-spring') @@ -101,14 +101,14 @@ dependencies { runtimeOnly project(':open-metadata-implementation:integration-services:analytics-integrator:analytics-integrator-spring') runtimeOnly project(':open-metadata-implementation:integration-services:api-integrator:api-integrator-spring') runtimeOnly project(':open-metadata-implementation:integration-services:catalog-integrator:catalog-integrator-spring') - runtimeOnly project(':open-metadata-implementation:integration-services:search-integrator:search-integrator-spring') +// runtimeOnly project(':open-metadata-implementation:integration-services:search-integrator:search-integrator-spring') runtimeOnly project(':open-metadata-implementation:integration-services:topic-integrator:topic-integrator-spring') runtimeOnly project(':open-metadata-implementation:repository-services:repository-services-spring') runtimeOnly project(':open-metadata-conformance-suite:open-metadata-conformance-suite-spring') runtimeOnly project(':open-metadata-implementation:framework-services:ocf-metadata-management:ocf-metadata-spring') runtimeOnly project(':open-metadata-implementation:framework-services:gaf-metadata-management:gaf-metadata-spring') runtimeOnly project(':open-metadata-implementation:framework-services:oif-metadata-management:oif-metadata-spring') - runtimeOnly project(':open-metadata-implementation:governance-server-services:data-engine-proxy-services:data-engine-proxy-services-spring') +// runtimeOnly project(':open-metadata-implementation:governance-server-services:data-engine-proxy-services:data-engine-proxy-services-spring') runtimeOnly project(':open-metadata-implementation:governance-server-services:integration-daemon-services:integration-daemon-services-spring') runtimeOnly project(':open-metadata-implementation:governance-server-services:engine-host-services:engine-host-services-spring') runtimeOnly project(':open-metadata-implementation:governance-server-services:lineage-warehouse-services:lineage-warehouse-services-spring') diff --git a/open-metadata-implementation/server-operations/server-operations-server/build.gradle b/open-metadata-implementation/server-operations/server-operations-server/build.gradle index 1f0e78ec304..3e92e97ccc9 100644 --- a/open-metadata-implementation/server-operations/server-operations-server/build.gradle +++ b/open-metadata-implementation/server-operations/server-operations-server/build.gradle @@ -28,7 +28,7 @@ dependencies { implementation project(':open-metadata-implementation:governance-server-services:engine-host-services:engine-host-services-registration') implementation project(':open-metadata-implementation:governance-server-services:engine-host-services:engine-host-services-server') implementation project(':open-metadata-implementation:governance-server-services:lineage-warehouse-services:lineage-warehouse-services-server') - implementation project(':open-metadata-implementation:governance-server-services:data-engine-proxy-services:data-engine-proxy-services-server') +// implementation project(':open-metadata-implementation:governance-server-services:data-engine-proxy-services:data-engine-proxy-services-server') compileOnly 'com.fasterxml.jackson.core:jackson-annotations' } diff --git a/open-metadata-implementation/server-operations/server-operations-server/src/main/java/org/odpi/openmetadata/serveroperations/server/OMAGOperationalServicesInstance.java b/open-metadata-implementation/server-operations/server-operations-server/src/main/java/org/odpi/openmetadata/serveroperations/server/OMAGOperationalServicesInstance.java index b3d71ed14bf..c433c4994f8 100644 --- a/open-metadata-implementation/server-operations/server-operations-server/src/main/java/org/odpi/openmetadata/serveroperations/server/OMAGOperationalServicesInstance.java +++ b/open-metadata-implementation/server-operations/server-operations-server/src/main/java/org/odpi/openmetadata/serveroperations/server/OMAGOperationalServicesInstance.java @@ -11,7 +11,6 @@ import org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.admin.OCFMetadataOperationalServices; import org.odpi.openmetadata.conformance.server.ConformanceSuiteOperationalServices; import org.odpi.openmetadata.frameworkservices.oif.admin.OIFMetadataOperationalServices; -import org.odpi.openmetadata.governanceservers.dataengineproxy.admin.DataEngineProxyOperationalServices; import org.odpi.openmetadata.governanceservers.enginehostservices.server.EngineHostOperationalServices; import org.odpi.openmetadata.governanceservers.integrationdaemonservices.server.IntegrationDaemonOperationalServices; import org.odpi.openmetadata.governanceservers.lineagewarehouse.admin.LineageWarehouseOperationalServices; @@ -47,7 +46,6 @@ public class OMAGOperationalServicesInstance extends OMAGServerServiceInstance private EngineHostOperationalServices operationalEngineHost = null; private IntegrationDaemonOperationalServices operationalIntegrationDaemon = null; private LineageWarehouseOperationalServices openLineageOperationalServices = null; - private DataEngineProxyOperationalServices operationalDataEngineProxyServices = null; private OMRSAuditLog auditLog = null; @@ -412,27 +410,6 @@ LineageWarehouseOperationalServices getOpenLineageOperationalServices() } - /** - * Return the running instance of Data Engine proxy - * - * @return DataEngineProxyOperationalServices - */ - DataEngineProxyOperationalServices getOperationalDataEngineProxyServices() - { - return operationalDataEngineProxyServices; - } - - - /** - * Set up the running instance of Data Engine proxy - * - * @param operationalDataEngineProxyServices DataEngineProxyOperationalServices - */ - void setOperationalDataEngineProxyServices(DataEngineProxyOperationalServices operationalDataEngineProxyServices) - { - this.operationalDataEngineProxyServices = operationalDataEngineProxyServices; - } - /** * Retrieve the operational admin services' audit log. diff --git a/open-metadata-implementation/server-operations/server-operations-server/src/main/java/org/odpi/openmetadata/serveroperations/server/OMAGServerOperationalServices.java b/open-metadata-implementation/server-operations/server-operations-server/src/main/java/org/odpi/openmetadata/serveroperations/server/OMAGServerOperationalServices.java index 9851643b12b..db0bd7aa628 100644 --- a/open-metadata-implementation/server-operations/server-operations-server/src/main/java/org/odpi/openmetadata/serveroperations/server/OMAGServerOperationalServices.java +++ b/open-metadata-implementation/server-operations/server-operations-server/src/main/java/org/odpi/openmetadata/serveroperations/server/OMAGServerOperationalServices.java @@ -39,7 +39,6 @@ import org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException; import org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException; import org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection; -import org.odpi.openmetadata.governanceservers.dataengineproxy.admin.DataEngineProxyOperationalServices; import org.odpi.openmetadata.governanceservers.lineagewarehouse.admin.LineageWarehouseOperationalServices; import org.odpi.openmetadata.metadatasecurity.server.OpenMetadataServerSecurityVerifier; import org.odpi.openmetadata.serveroperations.properties.ServerActiveStatus; @@ -1237,37 +1236,10 @@ private void initializeGovernanceServices(OMAGOperationalServicesInstance instan OMRSOperationalServices operationalRepositoryServices, List activatedServiceList) throws OMAGConfigurationErrorException { - /* - * Initialize the Data Engine Proxy Services. This is a governance server that extracts metadata about processes from - * a data engine. - */ - if (ServerTypeClassification.DATA_ENGINE_PROXY.equals(serverTypeClassification)) - { - instance.setServerServiceActiveStatus(GovernanceServicesDescription.DATA_ENGINE_PROXY_SERVICES.getServiceName(), ServerActiveStatus.STARTING); - - DataEngineProxyOperationalServices operationalDataEngineProxyServices - = new DataEngineProxyOperationalServices(configuration.getLocalServerName(), - configuration.getLocalServerId(), - configuration.getLocalServerUserId(), - configuration.getLocalServerPassword()); - - instance.setOperationalDataEngineProxyServices(operationalDataEngineProxyServices); - operationalDataEngineProxyServices.initialize(configuration.getDataEngineProxyConfig(), - operationalRepositoryServices.getAuditLog( - GovernanceServicesDescription.DATA_ENGINE_PROXY_SERVICES.getServiceCode(), - GovernanceServicesDescription.DATA_ENGINE_PROXY_SERVICES.getServiceDevelopmentStatus(), - GovernanceServicesDescription.DATA_ENGINE_PROXY_SERVICES.getServiceName(), - GovernanceServicesDescription.DATA_ENGINE_PROXY_SERVICES.getServiceDescription(), - GovernanceServicesDescription.DATA_ENGINE_PROXY_SERVICES.getServiceWiki())); - - activatedServiceList.add(GovernanceServicesDescription.DATA_ENGINE_PROXY_SERVICES.getServiceName()); - instance.setServerServiceActiveStatus(GovernanceServicesDescription.DATA_ENGINE_PROXY_SERVICES.getServiceName(), ServerActiveStatus.RUNNING); - } - /* * Initialize the Engine Host Services for the Engine Host OMAG server. This is a governance server for running governance engines. */ - else if (ServerTypeClassification.ENGINE_HOST.equals(serverTypeClassification)) + if (ServerTypeClassification.ENGINE_HOST.equals(serverTypeClassification)) { instance.setServerServiceActiveStatus(GovernanceServicesDescription.ENGINE_HOST_SERVICES.getServiceName(), ServerActiveStatus.STARTING); @@ -1410,18 +1382,6 @@ public void deactivateRunningServiceInstances(String u try { - /* - * Shutdown the data engine proxy services - */ - if (instance.getOperationalDataEngineProxyServices() != null) - { - instance.setServerServiceActiveStatus(GovernanceServicesDescription.DATA_ENGINE_PROXY_SERVICES.getServiceName(), ServerActiveStatus.STOPPING); - - instance.getOperationalDataEngineProxyServices().disconnect(); - - instance.setServerServiceActiveStatus(GovernanceServicesDescription.DATA_ENGINE_PROXY_SERVICES.getServiceName(), ServerActiveStatus.INACTIVE); - } - /* * Shutdown the access services */ diff --git a/open-metadata-implementation/view-services/asset-catalog/Egeria-asset-catalog-omvs.http b/open-metadata-implementation/view-services/asset-catalog/Egeria-asset-catalog-omvs.http index 9ec4746b158..a0d83de85bd 100644 --- a/open-metadata-implementation/view-services/asset-catalog/Egeria-asset-catalog-omvs.http +++ b/open-metadata-implementation/view-services/asset-catalog/Egeria-asset-catalog-omvs.http @@ -35,10 +35,10 @@ Content-Type: application/json ### # @name=findAssetsInDomain -# Locate string value in elements that are anchored to assets. The search string may be a regEx. +# Locate string value in elements that are anchored to assets. # # Asset: https://egeria-project.org/concepts/asset/ -POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/asset-catalog/assets/in-domain/by-search-string?startFrom=0&pageSize=0&startsWith=false&endWith=false&ignoreCase=true +POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/asset-catalog/assets/in-domain/by-search-string?startFrom=0&pageSize=10&startsWith=false&endWith=false&ignoreCase=true Authorization: Bearer {{token}} Content-Type: application/json @@ -48,6 +48,7 @@ Content-Type: application/json ### # Core content pack = 09450b83-20ff-4a8b-a8fb-f9b527bbcba6 +# Simple Catalog = 83e785b1-5bcc-4714-8f89-f6639ec55ca0 @metadataCollectionId=09450b83-20ff-4a8b-a8fb-f9b527bbcba6 diff --git a/open-metadata-implementation/view-services/asset-catalog/asset-catalog-spring/src/main/java/org/odpi/openmetadata/viewservices/assetcatalog/server/spring/AssetCatalogResource.java b/open-metadata-implementation/view-services/asset-catalog/asset-catalog-spring/src/main/java/org/odpi/openmetadata/viewservices/assetcatalog/server/spring/AssetCatalogResource.java index 4146aeb9b17..cc933e99612 100644 --- a/open-metadata-implementation/view-services/asset-catalog/asset-catalog-spring/src/main/java/org/odpi/openmetadata/viewservices/assetcatalog/server/spring/AssetCatalogResource.java +++ b/open-metadata-implementation/view-services/asset-catalog/asset-catalog-spring/src/main/java/org/odpi/openmetadata/viewservices/assetcatalog/server/spring/AssetCatalogResource.java @@ -14,9 +14,7 @@ /** - * The AssetCatalogUIResource provides some of the Spring API endpoints of the Asset Catalog Open Metadata View Service (OMVS). - * This interface provides the interfaces for Egeria UIs. The set with "old" in their URL are from the Egeria UI Application. - * They are deprecated because they do not conform the Egeria's error handling standards. + * The AssetCatalogResource provides some of the Spring API endpoints of the Asset Catalog Open Metadata View Service (OMVS). */ @RestController diff --git a/open-metadata-implementation/view-services/asset-catalog/asset-catalog-spring/src/main/java/org/odpi/openmetadata/viewservices/assetcatalog/server/spring/AssetCatalogUIResource.java b/open-metadata-implementation/view-services/asset-catalog/asset-catalog-spring/src/main/java/org/odpi/openmetadata/viewservices/assetcatalog/server/spring/AssetCatalogUIResource.java deleted file mode 100644 index ff6a9fce7b1..00000000000 --- a/open-metadata-implementation/view-services/asset-catalog/asset-catalog-spring/src/main/java/org/odpi/openmetadata/viewservices/assetcatalog/server/spring/AssetCatalogUIResource.java +++ /dev/null @@ -1,368 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project */ -package org.odpi.openmetadata.viewservices.assetcatalog.server.spring; - -import io.swagger.v3.oas.annotations.ExternalDocumentation; -import io.swagger.v3.oas.annotations.tags.Tag; -import org.odpi.openmetadata.frameworks.governanceaction.search.SequencingOrder; -import org.odpi.openmetadata.viewservices.assetcatalog.rest.AssetCatalogResponse; -import org.odpi.openmetadata.viewservices.assetcatalog.rest.AssetCatalogSupportedTypes; -import org.odpi.openmetadata.viewservices.assetcatalog.rest.AssetListResponse; -import org.odpi.openmetadata.viewservices.assetcatalog.rest.AssetResponse; -import org.odpi.openmetadata.viewservices.assetcatalog.rest.ElementHierarchyRequest; -import org.odpi.openmetadata.viewservices.assetcatalog.rest.LineageNodeNamesResponse; -import org.odpi.openmetadata.viewservices.assetcatalog.rest.LineageResponse; -import org.odpi.openmetadata.viewservices.assetcatalog.rest.LineageSearchRequest; -import org.odpi.openmetadata.viewservices.assetcatalog.rest.LineageSearchResponse; -import org.odpi.openmetadata.viewservices.assetcatalog.rest.LineageTypesResponse; -import org.odpi.openmetadata.viewservices.assetcatalog.rest.LineageVertexResponse; -import org.odpi.openmetadata.viewservices.assetcatalog.server.AssetCatalogUIRESTServices; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestParam; -import org.springframework.web.bind.annotation.RestController; - -import java.util.List; - - -/** - * The AssetCatalogUIResource provides the Spring API endpoints of the Asset Catalog Open Metadata View Service (OMVS). - * This interface provides the interfaces for Egeria UIs. The set with "old" in their URL are from the Egeria UI Application. - * They are deprecated because they do not conform the Egeria's error handling standards. - */ - -@RestController -@RequestMapping("/servers/{serverName}/api/open-metadata/asset-catalog/ui") - -@Tag(name="API: Asset Catalog OMVS", - description="Search for assets, retrieve their properties, lineage and related glossary information.", - externalDocs=@ExternalDocumentation(description="Further Information",url="https://egeria-project.org/services/omvs/asset-catalog/overview/")) - -public class AssetCatalogUIResource -{ - - private final AssetCatalogUIRESTServices restAPI = new AssetCatalogUIRESTServices(); - - - /** - * Default constructor - */ - public AssetCatalogUIResource() - { - } - - - - /** - * Return a list of assets matching the search criteria without the full context - * - * @param serverName name of the server to route the request to - * @param searchCriteria the query parameter with the search phrase - * @param types OM types list to search for - * @param sequencingProperty name of the property based on which to sort the result - * @param sequencingOrder PROPERTY_ASCENDING or PROPERTY_DESCENDING - * @param caseSensitive set case sensitive flag - * @param exactMatch set exact match flag - * @param startFrom the offset for the results - * @param pageSize the number of results per page - * @return list of assets or - * PropertyServerException if a configuration on the backend - * UserNotAuthorizedException security access problem - * InvalidParameterException if parameter validation fails - */ - @GetMapping( path = "/assets/search") - public AssetListResponse searchAssets(@PathVariable String serverName, - @RequestParam("q") String searchCriteria, - @RequestParam("types") List types, - @RequestParam(name = "sequencingProperty", - defaultValue = "displayName") String sequencingProperty, - @RequestParam(name = "sequencingOrder", - defaultValue = "PROPERTY_ASCENDING") SequencingOrder sequencingOrder, - @RequestParam(defaultValue="false") boolean caseSensitive, - @RequestParam(defaultValue="false") boolean exactMatch, - @RequestParam(name = "from", defaultValue="0") Integer startFrom, - @RequestParam(defaultValue="10") Integer pageSize) - { - return restAPI.searchAssets(serverName, - searchCriteria, - types, - sequencingProperty, - sequencingOrder, - caseSensitive, - exactMatch, - startFrom, - pageSize); - } - - - /** - * Return a list of assets matching the type name without the full context - * The list includes also subtypes - * - * @param serverName name of the server to route the request to - * @param typeName the assets type name to search for - * @return list of assets by type name or - * PropertyServerException if a configuration on the backend - * UserNotAuthorizedException security access problem - * InvalidParameterException if parameter validation fails - */ - @GetMapping( path = "/assets/search-by-type-name/{typeName}") - public AssetListResponse searchAssetsByTypeName(@PathVariable String serverName, - @PathVariable("typeName") String typeName) - { - return restAPI.searchAssetsByTypeName(serverName, typeName); - } - - - /** - * Return a list of assets matching the type GUID without the full context. - * The list includes also subtypes - * - * @param serverName name of the server to route the request to - * @param typeGUID the assets type GUID to search for - * @return list of assets by type GUID or - * PropertyServerException if a configuration on the backend - * UserNotAuthorizedException security access problem - * InvalidParameterException if parameter validation fails - */ - @GetMapping( path = "/assets/search-by-type-guid/{typeGUID}") - public AssetListResponse searchAssetsByTypeGUID(@PathVariable String serverName, - @PathVariable("typeGUID") String typeGUID) - { - return restAPI.searchAssetsByTypeGUID(serverName, typeGUID); - } - - - /** - * Returns the list with supported types for search, including the subtypes supported - * - * @param serverName name of the server to route the request to - * @return the supported types from Asset Consumer OMAS or - * PropertyServerException if a configuration on the backend - * InvalidParameterException if parameter validation fails - * UserNotAuthorizedException security access problem - */ - @GetMapping( path = "/assets/types") - public AssetCatalogSupportedTypes getSupportedTypes(@PathVariable String serverName) - { - return restAPI.getSupportedTypes(serverName); - } - - - /** - * Fetch asset's header, classification and properties. - * - * @param serverName name of the server to route the request to - * @param guid of the Entity to be retrieved - * @return the asset details or - * PropertyServerException if a configuration on the backend - * UserNotAuthorizedException security access problem - * InvalidParameterException if parameter validation fails - */ - @GetMapping( value = "/assets/{guid}") - public AssetCatalogResponse getAsset(@PathVariable String serverName, - @PathVariable("guid") String guid) - { - return restAPI.getAsset(serverName, guid); - } - - - /** - * Return the full context of an asset/glossary term based on its identifier. - * The response contains the list of the connections assigned to the asset. - * - * @param serverName name of the server to route the request to - * @param guid of the Entity to be retrieved - * @return the entity context or - * PropertyServerException if a configuration on the backend - * UserNotAuthorizedException security access problem - * InvalidParameterException if parameter validation fails - */ - @GetMapping( value = "/assets/{guid}/context") - public AssetResponse getAssetContext(@PathVariable String serverName, - @PathVariable String guid) - { - return restAPI.getAssetContext(serverName, guid); - } - - - /** - * Return the nodes and relationships that describe the know ultimate sources of the starting element. - * - * @param serverName name of the server to route the request to - * @param guid unique identifier of the starting element - * @param includeProcesses if true Process nodes will be included - * @return graph of nodes and edges describing the ultimate sources of the asset or - * InvalidParameterException from the underlying service, - * PropertyServerException from the underlying service or - * UserNotAuthorizedException from the underlying service - */ - @GetMapping( value = "/lineage/entities/{guid}/ultimate-source") - public LineageResponse getUltimateSource(@PathVariable String serverName, - @PathVariable("guid") String guid, - @RequestParam boolean includeProcesses) - { - return restAPI.getUltimateSource(serverName, guid, includeProcesses); - } - - - /** - * Return the graph of nodes that describe the end-to-end lineage for the starting element. - * - * @param serverName name of the server to route the request to - * @param guid unique identifier of the starting element - * @param includeProcesses if true Process nodes will be included - * @return graph of nodes and edges describing the end to end flow or - * InvalidParameterException from the underlying service, - * PropertyServerException from the underlying service or - * UserNotAuthorizedException from the underlying service - */ - @GetMapping( value = {"/lineage/entities/{guid}/end-to-end"}) - - public LineageResponse getEndToEndLineage(@PathVariable String serverName, - @PathVariable("guid") String guid, - @RequestParam boolean includeProcesses) - { - return restAPI.getEndToEndLineage(serverName, guid, includeProcesses); - } - - - /** - * Return the nodes and relationships that describe the know ultimate destinations of the starting element. - * - * @param serverName name of the server to route the request to - * @param guid unique identifier of the starting element - * @param includeProcesses if true Process nodes will be included - * @return graph of nodes and edges describing the ultimate destination of the asset or - * InvalidParameterException from the underlying service, - * PropertyServerException from the underlying service or - * UserNotAuthorizedException from the underlying service - */ - @GetMapping( value = "/lineage/entities/{guid}/ultimate-destination") - public LineageResponse getUltimateDestination(@PathVariable String serverName, - @PathVariable("guid") String guid, - @RequestParam boolean includeProcesses) - { - return restAPI.getUltimateDestination(serverName, guid, includeProcesses); - } - - - /** - * Retrieve details of the asset related elements linked to a glossary term via the semantic assignment relationship. - * - * @param serverName name of the server to route the request to - * @param guid unique identifier of the starting glossary term element - * @param includeProcesses if true Process nodes will be included - * @return graph of nodes and edges describing the assets linked to the glossary term or - * InvalidParameterException from the underlying service, - * PropertyServerException from the underlying service or - * UserNotAuthorizedException from the underlying service - */ - @GetMapping( value = "/lineage/entities/{guid}/semantic-lineage") - public LineageResponse getSemanticLineage(@PathVariable String serverName, - @PathVariable("guid") String guid, - @RequestParam boolean includeProcesses) - { - return restAPI.getSemanticLineage(serverName, guid, includeProcesses); - } - - - /** - * Retrieves the details of a specific node in the lineage graph. - * - * @param serverName name of the server to route the request to - * @param guid of the Entity to be retrieved - * @return the entity details or - * InvalidParameterException from the underlying service, - * PropertyServerException from the underlying service or - * UserNotAuthorizedException from the underlying service - */ - @GetMapping( value = "/lineage/entities/{guid}/details") - public LineageVertexResponse getLineageVertex(@PathVariable String serverName, - @PathVariable("guid") String guid) - { - return restAPI.getLineageVertex(serverName, guid); - } - - - /** - * Gets available entities types from lineage repository. - * - * @param serverName name of the server to route the request to - * @return the available entities types or - * InvalidParameterException from the underlying service, - * PropertyServerException from the underlying service or - * UserNotAuthorizedException from the underlying service - */ - @GetMapping( value = "/lineage/types") - public LineageTypesResponse getTypes(@PathVariable String serverName) - { - return restAPI.getTypes(serverName); - } - - - /** - * Gets nodes names of certain type with display name containing a certain value. - * - * @param serverName name of the server to route the request to - * @param type the type of the nodes name to search for - * @param searchValue the string to be contained in the qualified name of the node - case-insensitive - * @param limit the maximum number of node names to retrieve - * - * @return the list of node names or - * InvalidParameterException from the underlying service, - * PropertyServerException from the underlying service or - * UserNotAuthorizedException from the underlying service - */ - @GetMapping( value = "/lineage/nodes") - public LineageNodeNamesResponse getNodes(@PathVariable String serverName, - @RequestParam("type") String type, - @RequestParam("name") String searchValue, - @RequestParam("limit") int limit) - { - return restAPI.getNodes(serverName, type, searchValue, limit); - } - - - /** - * Returns the list of vertices that the user will initially see when querying lineage. In the future, this method will be - * extended to condense large paths to prevent cluttering of the users screen. The user will be able to extend - * the condensed path by querying a different method. - * - * @param serverName name of the server to route the request to - * @param searchRequest filtering details for the search - * @return list of graph nodes or - * InvalidParameterException from the underlying service, - * PropertyServerException from the underlying service or - * UserNotAuthorizedException from the underlying service - */ - @PostMapping( value = "/lineage/nodes/search") - public LineageSearchResponse searchForVertices(@PathVariable String serverName, - @RequestBody LineageSearchRequest searchRequest) - { - return restAPI.searchForVertices(serverName, searchRequest); - } - - - /** - * Returns a subgraph representing the hierarchy of a certain node, based on the request. - * - * @param serverName name of the server to route the request to - * @param elementHierarchyRequest contains the guid of the queried node and the hierarchyType of the display name of the nodes - * - * @return a subgraph containing all relevant paths or - * InvalidParameterException from the underlying service, - * PropertyServerException from the underlying service or - * UserNotAuthorizedException from the underlying service - */ - @PostMapping(value = "/lineage/elements/hierarchy") - public LineageResponse elementHierarchy(@PathVariable String serverName, - @RequestBody ElementHierarchyRequest elementHierarchyRequest) - { - return restAPI.getElementHierarchy(serverName, elementHierarchyRequest); - } -} - diff --git a/open-metadata-implementation/view-services/asset-catalog/asset-catalog-spring/src/main/java/org/odpi/openmetadata/viewservices/assetcatalog/server/spring/OpenLineageController.java b/open-metadata-implementation/view-services/asset-catalog/asset-catalog-spring/src/main/java/org/odpi/openmetadata/viewservices/assetcatalog/server/spring/OpenLineageController.java index 37e50195c29..f988a0ad052 100644 --- a/open-metadata-implementation/view-services/asset-catalog/asset-catalog-spring/src/main/java/org/odpi/openmetadata/viewservices/assetcatalog/server/spring/OpenLineageController.java +++ b/open-metadata-implementation/view-services/asset-catalog/asset-catalog-spring/src/main/java/org/odpi/openmetadata/viewservices/assetcatalog/server/spring/OpenLineageController.java @@ -30,7 +30,7 @@ /** * This controller serves all requests for retrieving lineage details, both vertical and horizontal. It originated in the Egeria UI application. - * It is deprecated because it does not follow the exception handling rules for Egeria code. The replacement services are in AssetCatalogUIResource. + * It is deprecated because it does not follow the exception handling rules for Egeria code. The replacement services are in AssetCatalogResource. */ @RestController @RequestMapping("/servers/{serverName}/api/open-metadata/asset-catalog/old/lineage") diff --git a/open-metadata-implementation/view-services/feedback-manager/feedback-manager-server/src/main/java/org/odpi/openmetadata/viewservices/feedbackmanager/handler/CollaborationManagerHandler.java b/open-metadata-implementation/view-services/feedback-manager/feedback-manager-server/src/main/java/org/odpi/openmetadata/viewservices/feedbackmanager/handler/CollaborationManagerHandler.java index e98d5ff685a..b25c2663eec 100644 --- a/open-metadata-implementation/view-services/feedback-manager/feedback-manager-server/src/main/java/org/odpi/openmetadata/viewservices/feedbackmanager/handler/CollaborationManagerHandler.java +++ b/open-metadata-implementation/view-services/feedback-manager/feedback-manager-server/src/main/java/org/odpi/openmetadata/viewservices/feedbackmanager/handler/CollaborationManagerHandler.java @@ -3,6 +3,7 @@ package org.odpi.openmetadata.viewservices.feedbackmanager.handler; +import org.odpi.openmetadata.commonservices.ffdc.InvalidParameterHandler; import org.odpi.openmetadata.frameworks.auditlog.AuditLog; import org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException; import org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException; @@ -11,7 +12,9 @@ import org.odpi.openmetadata.frameworks.connectors.properties.beans.Comment; import org.odpi.openmetadata.frameworks.connectors.properties.beans.InformalTag; import org.odpi.openmetadata.frameworks.connectors.properties.beans.Note; +import org.odpi.openmetadata.frameworks.governanceaction.properties.RelatedMetadataElement; import org.odpi.openmetadata.frameworks.governanceaction.properties.RelatedMetadataElementStub; +import org.odpi.openmetadata.frameworks.openmetadata.types.OpenMetadataType; import org.odpi.openmetadata.viewservices.feedbackmanager.properties.*; import java.util.Date; @@ -24,6 +27,7 @@ public class CollaborationManagerHandler { private final OpenMetadataStoreHandler client; + private final InvalidParameterHandler invalidParameterHandler = new InvalidParameterHandler(); private final AuditLog auditLog; /** @@ -57,20 +61,72 @@ public CollaborationManagerHandler(String serverName, * @param elementGUID unique identifier for the element. * @param isPublic is this visible to other people * @param properties properties of the rating - * @return unique identifier of the rating * * @throws InvalidParameterException one of the parameters is null or invalid. * @throws PropertyServerException there is a problem adding the element properties to the property server. * @throws UserNotAuthorizedException the requesting user is not authorized to issue this request. */ - public String addRatingToElement(String userId, - String elementGUID, - boolean isPublic, - RatingProperties properties) throws InvalidParameterException, - PropertyServerException, - UserNotAuthorizedException + public void addRatingToElement(String userId, + String elementGUID, + boolean isPublic, + RatingProperties properties) throws InvalidParameterException, + PropertyServerException, + UserNotAuthorizedException { - return null; + final String methodName = "addRatingToElement"; + final String propertiesParameterName = "properties"; + final String starRatingParameterName = "properties.starRating"; + + invalidParameterHandler.validateObject(properties, propertiesParameterName, methodName); + invalidParameterHandler.validateObject(properties.getStarRating(), starRatingParameterName, methodName); + + int startFrom = 0; + List attachedRatings = client.getRelatedMetadataElements(userId, + elementGUID, + 1, + OpenMetadataType.ATTACHED_RATING_RELATIONSHIP.typeName, + false, + false, + new Date(), + startFrom, + invalidParameterHandler.getMaxPagingSize()); + + RelatedMetadataElement existingRating = null; + + while ((existingRating == null) && (attachedRatings != null)) + { + for (RelatedMetadataElement attachedRating : attachedRatings) + { + if (attachedRating != null) + { + if (userId.equals(attachedRating.getVersions().getCreatedBy())) + { + existingRating = attachedRating; + break; + } + } + } + + startFrom = startFrom + invalidParameterHandler.getMaxPagingSize(); + attachedRatings = client.getRelatedMetadataElements(userId, + elementGUID, + 1, + OpenMetadataType.ATTACHED_RATING_RELATIONSHIP.typeName, + false, + false, + new Date(), + startFrom, + invalidParameterHandler.getMaxPagingSize()); + } + + if (existingRating == null) + { + // create + } + else + { + // update + } } diff --git a/open-metadata-implementation/view-services/feedback-manager/feedback-manager-server/src/main/java/org/odpi/openmetadata/viewservices/feedbackmanager/properties/RatingProperties.java b/open-metadata-implementation/view-services/feedback-manager/feedback-manager-server/src/main/java/org/odpi/openmetadata/viewservices/feedbackmanager/properties/RatingProperties.java index df991247241..b81b03dea91 100644 --- a/open-metadata-implementation/view-services/feedback-manager/feedback-manager-server/src/main/java/org/odpi/openmetadata/viewservices/feedbackmanager/properties/RatingProperties.java +++ b/open-metadata-implementation/view-services/feedback-manager/feedback-manager-server/src/main/java/org/odpi/openmetadata/viewservices/feedbackmanager/properties/RatingProperties.java @@ -29,7 +29,6 @@ public class RatingProperties { private StarRating starRating = null; private String review = null; - private String user = null; /** * Default constructor @@ -49,34 +48,12 @@ public RatingProperties(RatingProperties template) { if (template != null) { - user = template.getUser(); starRating = template.getStarRating(); review = template.getReview(); } } - /** - * Return the user id of the person who created the rating. Null means the user id is not known. - * - * @return String user - */ - public String getUser() { - return user; - } - - - /** - * Set up the user id of the person who created the rating. Null means the user id is not known. - * - * @param user string - */ - public void setUser(String user) - { - this.user = user; - } - - /** * Return the stars for the rating. * @@ -131,7 +108,6 @@ public String toString() return "RatingProperties{" + "starRating=" + starRating + ", review='" + review + '\'' + - ", user='" + user + '\'' + '}'; } @@ -155,8 +131,7 @@ public boolean equals(Object objectToCompare) } RatingProperties rating = (RatingProperties) objectToCompare; return getStarRating() == rating.getStarRating() && - Objects.equals(getReview(), rating.getReview()) && - Objects.equals(getUser(), rating.getUser()); + Objects.equals(getReview(), rating.getReview()); } @@ -168,6 +143,6 @@ public boolean equals(Object objectToCompare) @Override public int hashCode() { - return Objects.hash(starRating, review, user); + return Objects.hash(starRating, review); } } \ No newline at end of file diff --git a/open-metadata-resources/open-metadata-archives/content-pack-helpers/src/main/java/org/odpi/openmetadata/samples/archiveutilities/SimpleCatalogArchiveHelper.java b/open-metadata-resources/open-metadata-archives/content-pack-helpers/src/main/java/org/odpi/openmetadata/samples/archiveutilities/SimpleCatalogArchiveHelper.java index 385fdffac76..8f2029fadb2 100644 --- a/open-metadata-resources/open-metadata-archives/content-pack-helpers/src/main/java/org/odpi/openmetadata/samples/archiveutilities/SimpleCatalogArchiveHelper.java +++ b/open-metadata-resources/open-metadata-archives/content-pack-helpers/src/main/java/org/odpi/openmetadata/samples/archiveutilities/SimpleCatalogArchiveHelper.java @@ -3798,46 +3798,6 @@ public void addNestedSchemaAttribute(String parentSchemaAttributeGUID, } - /** - * Create a schema attribute with a TypeEmbeddedAttribute classification. - * - * @param typeName name of schema attribute subtype to use - default is SchemaAttribute - * @param schemaTypeName name of schema type subtype to use - default is PrimitiveSchemaType - * @param qualifiedName unique name for the schema attribute - * @param displayName display name for the schema attribute - * @param description description about the schema attribute - * @param dataType data type for the schema attribute - * @param length length of the storage used by the schema attribute - * @param position position in the schema at this level - * @param additionalProperties any other properties. - * - * @return id for the schema attribute - */ - public String addSchemaAttribute(String typeName, - String schemaTypeName, - String qualifiedName, - String displayName, - String description, - String dataType, - int length, - int position, - Map additionalProperties) - { - return this.addSchemaAttribute(null, - null, - typeName, - schemaTypeName, - qualifiedName, - displayName, - description, - dataType, - length, - position, - null, - additionalProperties); - } - - /** * Create a schema attribute with a TypeEmbeddedAttribute classification. * diff --git a/open-metadata-resources/open-metadata-archives/open-connector-archives/build.gradle b/open-metadata-resources/open-metadata-archives/open-connector-archives/build.gradle index 9331d2f54e8..13789b1e0e6 100644 --- a/open-metadata-resources/open-metadata-archives/open-connector-archives/build.gradle +++ b/open-metadata-resources/open-metadata-archives/open-connector-archives/build.gradle @@ -19,7 +19,6 @@ dependencies { compileOnly project(':open-metadata-implementation:frameworks:open-metadata-framework') implementation project(':open-metadata-implementation:frameworks:open-connector-framework') compileOnly project(':open-metadata-implementation:frameworks:open-integration-framework') - runtimeOnly project(':open-metadata-implementation:frameworks:open-discovery-framework') implementation project(':open-metadata-implementation:frameworks:governance-action-framework') compileOnly project(':open-metadata-implementation:frameworks:survey-action-framework') runtimeOnly project(':open-metadata-implementation:access-services:asset-manager:asset-manager-api') diff --git a/open-metadata-resources/open-metadata-archives/open-metadata-types/src/main/java/org/odpi/openmetadata/opentypes/OpenMetadataTypesArchive1_2.java b/open-metadata-resources/open-metadata-archives/open-metadata-types/src/main/java/org/odpi/openmetadata/opentypes/OpenMetadataTypesArchive1_2.java index 49b440c5915..5284f05f3c3 100644 --- a/open-metadata-resources/open-metadata-archives/open-metadata-types/src/main/java/org/odpi/openmetadata/opentypes/OpenMetadataTypesArchive1_2.java +++ b/open-metadata-resources/open-metadata-archives/open-metadata-types/src/main/java/org/odpi/openmetadata/opentypes/OpenMetadataTypesArchive1_2.java @@ -6275,16 +6275,12 @@ private EnumDef getCommentTypeEnum() private EntityDef getRatingEntity() { - final String guid = "7299d721-d17f-4562-8286-bcd451814478"; - final String name = "Rating"; - final String description = "Quantitative feedback related to an item."; - final String descriptionGUID = null; - - EntityDef entityDef = archiveHelper.getDefaultEntityDef(guid, - name, + EntityDef entityDef = archiveHelper.getDefaultEntityDef(OpenMetadataType.RATING.typeGUID, + OpenMetadataType.RATING.typeName, null, - description, - descriptionGUID); + OpenMetadataType.RATING.description, + OpenMetadataType.RATING.descriptionGUID, + OpenMetadataType.RATING.wikiURL); /* * Build the attributes @@ -6295,25 +6291,19 @@ private EntityDef getRatingEntity() final String attribute1Name = "anchorGUID"; final String attribute1Description = "Optional identifier of the referenceable that this rating is connected to (either directly or indirectly)."; final String attribute1DescriptionGUID = null; - final String attribute2Name = "stars"; - final String attribute2Description = "Rating level provided."; - final String attribute2DescriptionGUID = null; - final String attribute3Name = "review"; - final String attribute3Description = "Additional comments associated with the rating."; - final String attribute3DescriptionGUID = null; property = archiveHelper.getStringTypeDefAttribute(attribute1Name, attribute1Description, attribute1DescriptionGUID); properties.add(property); property = archiveHelper.getEnumTypeDefAttribute("StarRating", - attribute2Name, - attribute2Description, - attribute2DescriptionGUID); + OpenMetadataProperty.STARS.name, + OpenMetadataProperty.STARS.description, + OpenMetadataProperty.STARS.descriptionGUID); properties.add(property); - property = archiveHelper.getStringTypeDefAttribute(attribute3Name, - attribute3Description, - attribute3DescriptionGUID); + property = archiveHelper.getStringTypeDefAttribute(OpenMetadataProperty.REVIEW.name, + OpenMetadataProperty.REVIEW.description, + OpenMetadataProperty.REVIEW.descriptionGUID); properties.add(property); entityDef.setPropertiesDefinition(properties); @@ -6340,25 +6330,19 @@ private EntityDef getCommentEntity() final String attribute1Name = "anchorGUID"; final String attribute1Description = "Optional identifier of the referenceable that this comment is connected to (either directly or indirectly)."; final String attribute1DescriptionGUID = null; - final String attribute2Name = "text"; - final String attribute2Description = "Feedback comments or additional information."; - final String attribute2DescriptionGUID = null; - final String attribute3Name = "type"; - final String attribute3Description = "Type of comment."; - final String attribute3DescriptionGUID = null; property = archiveHelper.getStringTypeDefAttribute(attribute1Name, attribute1Description, attribute1DescriptionGUID); properties.add(property); - property = archiveHelper.getStringTypeDefAttribute(attribute2Name, - attribute2Description, - attribute2DescriptionGUID); + property = archiveHelper.getStringTypeDefAttribute(OpenMetadataProperty.TEXT.name, + OpenMetadataProperty.TEXT.description, + OpenMetadataProperty.TEXT.descriptionGUID); properties.add(property); property = archiveHelper.getEnumTypeDefAttribute("CommentType", - attribute3Name, - attribute3Description, - attribute3DescriptionGUID); + OpenMetadataProperty.TYPE.name, + OpenMetadataProperty.TYPE.description, + OpenMetadataProperty.TYPE.descriptionGUID); properties.add(property); entityDef.setPropertiesDefinition(properties); @@ -6369,16 +6353,12 @@ private EntityDef getCommentEntity() private EntityDef getLikeEntity() { - final String guid = "deaa5ca0-47a0-483d-b943-d91c76744e01"; - final String name = "Like"; - final String description = "Boolean type of rating expressing a favorable impression."; - final String descriptionGUID = null; - - EntityDef entityDef = archiveHelper.getDefaultEntityDef(guid, - name, + EntityDef entityDef = archiveHelper.getDefaultEntityDef(OpenMetadataType.LIKE.typeGUID, + OpenMetadataType.LIKE.typeName, null, - description, - descriptionGUID); + OpenMetadataType.LIKE.description, + OpenMetadataType.LIKE.descriptionGUID, + OpenMetadataType.LIKE.wikiURL); /* * Build the attributes @@ -6403,16 +6383,12 @@ private EntityDef getLikeEntity() private EntityDef getInformalTagEntity() { - final String guid = "ba846a7b-2955-40bf-952b-2793ceca090a"; - final String name = "InformalTag"; - final String description = "An descriptive tag for an item."; - final String descriptionGUID = null; - - EntityDef entityDef = archiveHelper.getDefaultEntityDef(guid, - name, + EntityDef entityDef = archiveHelper.getDefaultEntityDef(OpenMetadataType.INFORMAL_TAG.typeGUID, + OpenMetadataType.INFORMAL_TAG.typeName, null, - description, - descriptionGUID); + OpenMetadataType.INFORMAL_TAG.description, + OpenMetadataType.INFORMAL_TAG.descriptionGUID, + OpenMetadataType.INFORMAL_TAG.wikiURL); /* * Build the attributes @@ -6420,27 +6396,17 @@ private EntityDef getInformalTagEntity() List properties = new ArrayList<>(); TypeDefAttribute property; - final String attribute1Name = OpenMetadataProperty.IS_PUBLIC.name; - final String attribute1Description = "Is the tag visible to more than the originator?"; - final String attribute1DescriptionGUID = null; - final String attribute2Name = "tagName"; - final String attribute2Description = "Descriptive name of the tag."; - final String attribute2DescriptionGUID = null; - final String attribute3Name = "tagDescription"; - final String attribute3Description = "More detail on the meaning of the tag."; - final String attribute3DescriptionGUID = null; - - property = archiveHelper.getBooleanTypeDefAttribute(attribute1Name, - attribute1Description, - attribute1DescriptionGUID); + property = archiveHelper.getBooleanTypeDefAttribute(OpenMetadataProperty.IS_PUBLIC.name, + OpenMetadataProperty.IS_PUBLIC.description, + OpenMetadataProperty.IS_PUBLIC.descriptionGUID); properties.add(property); - property = archiveHelper.getStringTypeDefAttribute(attribute2Name, - attribute2Description, - attribute2DescriptionGUID); + property = archiveHelper.getStringTypeDefAttribute(OpenMetadataProperty.TAG_NAME.name, + OpenMetadataProperty.TAG_NAME.description, + OpenMetadataProperty.TAG_NAME.descriptionGUID); properties.add(property); - property = archiveHelper.getStringTypeDefAttribute(attribute3Name, - attribute3Description, - attribute3DescriptionGUID); + property = archiveHelper.getStringTypeDefAttribute(OpenMetadataProperty.TAG_DESCRIPTION.name, + OpenMetadataProperty.TAG_DESCRIPTION.description, + OpenMetadataProperty.TAG_DESCRIPTION.descriptionGUID); properties.add(property); entityDef.setPropertiesDefinition(properties); @@ -6451,19 +6417,13 @@ private EntityDef getInformalTagEntity() private RelationshipDef getAttachedRatingRelationship() { - final String guid = "0aaad9e9-9cc5-4ad8-bc2e-c1099bab6344"; - final String name = "AttachedRating"; - final String description = "Links a rating to an item."; - final String descriptionGUID = null; - - final ClassificationPropagationRule classificationPropagationRule = ClassificationPropagationRule.NONE; - - RelationshipDef relationshipDef = archiveHelper.getBasicRelationshipDef(guid, - name, + RelationshipDef relationshipDef = archiveHelper.getBasicRelationshipDef(OpenMetadataType.ATTACHED_RATING_RELATIONSHIP.typeGUID, + OpenMetadataType.ATTACHED_RATING_RELATIONSHIP.typeName, null, - description, - descriptionGUID, - classificationPropagationRule); + OpenMetadataType.ATTACHED_RATING_RELATIONSHIP.description, + OpenMetadataType.ATTACHED_RATING_RELATIONSHIP.descriptionGUID, + OpenMetadataType.ATTACHED_RATING_RELATIONSHIP.wikiURL, + ClassificationPropagationRule.NONE); RelationshipEndDef relationshipEndDef; @@ -6487,7 +6447,7 @@ private RelationshipDef getAttachedRatingRelationship() /* * Set up end 2. */ - final String end2EntityType = "Rating"; + final String end2EntityType = OpenMetadataType.RATING.typeName; final String end2AttributeName = "starRatings"; final String end2AttributeDescription = "Accumulated ratings."; final String end2AttributeDescriptionGUID = null; @@ -6506,13 +6466,9 @@ private RelationshipDef getAttachedRatingRelationship() List properties = new ArrayList<>(); TypeDefAttribute property; - final String attribute1Name = OpenMetadataProperty.IS_PUBLIC.name; - final String attribute1Description = "Is the attached rating visible to more than the originator?"; - final String attribute1DescriptionGUID = null; - - property = archiveHelper.getBooleanTypeDefAttribute(attribute1Name, - attribute1Description, - attribute1DescriptionGUID); + property = archiveHelper.getBooleanTypeDefAttribute(OpenMetadataProperty.IS_PUBLIC.name, + OpenMetadataProperty.IS_PUBLIC.description, + OpenMetadataProperty.IS_PUBLIC.descriptionGUID); properties.add(property); relationshipDef.setPropertiesDefinition(properties); @@ -6523,19 +6479,13 @@ private RelationshipDef getAttachedRatingRelationship() private RelationshipDef getAttachedCommentRelationship() { - final String guid = "0d90501b-bf29-4621-a207-0c8c953bdac9"; - final String name = "AttachedComment"; - final String description = "Links a comment to an item, or another comment."; - final String descriptionGUID = null; - - final ClassificationPropagationRule classificationPropagationRule = ClassificationPropagationRule.NONE; - - RelationshipDef relationshipDef = archiveHelper.getBasicRelationshipDef(guid, - name, + RelationshipDef relationshipDef = archiveHelper.getBasicRelationshipDef(OpenMetadataType.ATTACHED_COMMENT_RELATIONSHIP.typeGUID, + OpenMetadataType.ATTACHED_COMMENT_RELATIONSHIP.typeName, null, - description, - descriptionGUID, - classificationPropagationRule); + OpenMetadataType.ATTACHED_COMMENT_RELATIONSHIP.description, + OpenMetadataType.ATTACHED_COMMENT_RELATIONSHIP.descriptionGUID, + OpenMetadataType.ATTACHED_COMMENT_RELATIONSHIP.wikiURL, + ClassificationPropagationRule.NONE); RelationshipEndDef relationshipEndDef; @@ -6559,7 +6509,7 @@ private RelationshipDef getAttachedCommentRelationship() /* * Set up end 2. */ - final String end2EntityType = "Comment"; + final String end2EntityType = OpenMetadataType.COMMENT.typeName; final String end2AttributeName = "comments"; final String end2AttributeDescription = "Accumulated comments."; final String end2AttributeDescriptionGUID = null; @@ -6578,13 +6528,9 @@ private RelationshipDef getAttachedCommentRelationship() List properties = new ArrayList<>(); TypeDefAttribute property; - final String attribute1Name = OpenMetadataProperty.IS_PUBLIC.name; - final String attribute1Description = "Is the attached comment visible to more than the originator?"; - final String attribute1DescriptionGUID = null; - - property = archiveHelper.getBooleanTypeDefAttribute(attribute1Name, - attribute1Description, - attribute1DescriptionGUID); + property = archiveHelper.getBooleanTypeDefAttribute(OpenMetadataProperty.IS_PUBLIC.name, + OpenMetadataProperty.IS_PUBLIC.description, + OpenMetadataProperty.IS_PUBLIC.descriptionGUID); properties.add(property); relationshipDef.setPropertiesDefinition(properties); @@ -6595,19 +6541,13 @@ private RelationshipDef getAttachedCommentRelationship() private RelationshipDef getAttachedLikeRelationship() { - final String guid = "e2509715-a606-415d-a995-61d00503dad4"; - final String name = "AttachedLike"; - final String description = "Links a like to an item."; - final String descriptionGUID = null; - - final ClassificationPropagationRule classificationPropagationRule = ClassificationPropagationRule.NONE; - - RelationshipDef relationshipDef = archiveHelper.getBasicRelationshipDef(guid, - name, + RelationshipDef relationshipDef = archiveHelper.getBasicRelationshipDef(OpenMetadataType.ATTACHED_LIKE_RELATIONSHIP.typeGUID, + OpenMetadataType.ATTACHED_LIKE_RELATIONSHIP.typeName, null, - description, - descriptionGUID, - classificationPropagationRule); + OpenMetadataType.ATTACHED_LIKE_RELATIONSHIP.description, + OpenMetadataType.ATTACHED_LIKE_RELATIONSHIP.descriptionGUID, + OpenMetadataType.ATTACHED_LIKE_RELATIONSHIP.wikiURL, + ClassificationPropagationRule.NONE); RelationshipEndDef relationshipEndDef; @@ -6631,7 +6571,7 @@ private RelationshipDef getAttachedLikeRelationship() /* * Set up end 2. */ - final String end2EntityType = "Like"; + final String end2EntityType = OpenMetadataType.LIKE.typeName; final String end2AttributeName = "likes"; final String end2AttributeDescription = "Accumulated likes."; final String end2AttributeDescriptionGUID = null; @@ -6650,13 +6590,9 @@ private RelationshipDef getAttachedLikeRelationship() List properties = new ArrayList<>(); TypeDefAttribute property; - final String attribute1Name = OpenMetadataProperty.IS_PUBLIC.name; - final String attribute1Description = "Is the attached like visible to more than the originator?"; - final String attribute1DescriptionGUID = null; - - property = archiveHelper.getBooleanTypeDefAttribute(attribute1Name, - attribute1Description, - attribute1DescriptionGUID); + property = archiveHelper.getBooleanTypeDefAttribute(OpenMetadataProperty.IS_PUBLIC.name, + OpenMetadataProperty.IS_PUBLIC.description, + OpenMetadataProperty.IS_PUBLIC.descriptionGUID); properties.add(property); relationshipDef.setPropertiesDefinition(properties); @@ -6667,26 +6603,20 @@ private RelationshipDef getAttachedLikeRelationship() private RelationshipDef getAcceptedAnswerRelationship() { - final String guid = "ecf1a3ca-adc5-4747-82cf-10ec590c5c69"; - final String name = "AcceptedAnswer"; - final String description = "Identifies a comment as answering a question asked in another comment."; - final String descriptionGUID = null; - - final ClassificationPropagationRule classificationPropagationRule = ClassificationPropagationRule.NONE; - - RelationshipDef relationshipDef = archiveHelper.getBasicRelationshipDef(guid, - name, + RelationshipDef relationshipDef = archiveHelper.getBasicRelationshipDef(OpenMetadataType.ACCEPTED_ANSWER_RELATIONSHIP.typeGUID, + OpenMetadataType.ACCEPTED_ANSWER_RELATIONSHIP.typeName, null, - description, - descriptionGUID, - classificationPropagationRule); + OpenMetadataType.ACCEPTED_ANSWER_RELATIONSHIP.description, + OpenMetadataType.ACCEPTED_ANSWER_RELATIONSHIP.descriptionGUID, + OpenMetadataType.ACCEPTED_ANSWER_RELATIONSHIP.wikiURL, + ClassificationPropagationRule.NONE); RelationshipEndDef relationshipEndDef; /* * Set up end 1. */ - final String end1EntityType = "Comment"; + final String end1EntityType = OpenMetadataType.COMMENT.typeName; final String end1AttributeName = "answeredQuestions"; final String end1AttributeDescription = "Questions that now has an accepted answer."; final String end1AttributeDescriptionGUID = null; @@ -6703,7 +6633,7 @@ private RelationshipDef getAcceptedAnswerRelationship() /* * Set up end 2. */ - final String end2EntityType = "Comment"; + final String end2EntityType = OpenMetadataType.COMMENT.typeName; final String end2AttributeName = "acceptedAnswers"; final String end2AttributeDescription = "Accumulated answers."; final String end2AttributeDescriptionGUID = null; @@ -6722,13 +6652,9 @@ private RelationshipDef getAcceptedAnswerRelationship() List properties = new ArrayList<>(); TypeDefAttribute property; - final String attribute1Name = OpenMetadataProperty.IS_PUBLIC.name; - final String attribute1Description = "Is the attached answer visible to more than the originator?"; - final String attribute1DescriptionGUID = null; - - property = archiveHelper.getBooleanTypeDefAttribute(attribute1Name, - attribute1Description, - attribute1DescriptionGUID); + property = archiveHelper.getBooleanTypeDefAttribute(OpenMetadataProperty.IS_PUBLIC.name, + OpenMetadataProperty.IS_PUBLIC.description, + OpenMetadataProperty.IS_PUBLIC.descriptionGUID); properties.add(property); relationshipDef.setPropertiesDefinition(properties); @@ -6739,19 +6665,13 @@ private RelationshipDef getAcceptedAnswerRelationship() private RelationshipDef getAttachedTagRelationship() { - final String guid = "4b1641c4-3d1a-4213-86b2-d6968b6c65ab"; - final String name = "AttachedTag"; - final String description = "Links an informal tag to an item."; - final String descriptionGUID = null; - - final ClassificationPropagationRule classificationPropagationRule = ClassificationPropagationRule.NONE; - - RelationshipDef relationshipDef = archiveHelper.getBasicRelationshipDef(guid, - name, + RelationshipDef relationshipDef = archiveHelper.getBasicRelationshipDef(OpenMetadataType.ATTACHED_TAG_RELATIONSHIP.typeGUID, + OpenMetadataType.ATTACHED_TAG_RELATIONSHIP.typeName, null, - description, - descriptionGUID, - classificationPropagationRule); + OpenMetadataType.ATTACHED_TAG_RELATIONSHIP.description, + OpenMetadataType.ATTACHED_TAG_RELATIONSHIP.descriptionGUID, + OpenMetadataType.ATTACHED_TAG_RELATIONSHIP.wikiURL, + ClassificationPropagationRule.NONE); RelationshipEndDef relationshipEndDef; @@ -6775,7 +6695,7 @@ private RelationshipDef getAttachedTagRelationship() /* * Set up end 2. */ - final String end2EntityType = "InformalTag"; + final String end2EntityType = OpenMetadataType.INFORMAL_TAG.typeName; final String end2AttributeName = "tags"; final String end2AttributeDescription = "Accumulated tags."; final String end2AttributeDescriptionGUID = null; @@ -6794,13 +6714,9 @@ private RelationshipDef getAttachedTagRelationship() List properties = new ArrayList<>(); TypeDefAttribute property; - final String attribute1Name = OpenMetadataProperty.IS_PUBLIC.name; - final String attribute1Description = "Is the attached tag visible to more than the originator?"; - final String attribute1DescriptionGUID = null; - - property = archiveHelper.getBooleanTypeDefAttribute(attribute1Name, - attribute1Description, - attribute1DescriptionGUID); + property = archiveHelper.getBooleanTypeDefAttribute(OpenMetadataProperty.IS_PUBLIC.name, + OpenMetadataProperty.IS_PUBLIC.description, + OpenMetadataProperty.IS_PUBLIC.descriptionGUID); properties.add(property); relationshipDef.setPropertiesDefinition(properties); diff --git a/open-metadata-resources/open-metadata-deployment/sample-configs/active-metadata-store/config/active-metadata-store.config b/open-metadata-resources/open-metadata-deployment/sample-configs/active-metadata-store/config/active-metadata-store.config index 52bd30a7eb0..42111ae9ee0 100644 --- a/open-metadata-resources/open-metadata-deployment/sample-configs/active-metadata-store/config/active-metadata-store.config +++ b/open-metadata-resources/open-metadata-deployment/sample-configs/active-metadata-store/config/active-metadata-store.config @@ -1 +1 @@ -{"class":"OMAGServerConfig","versionId":"V2.0","localServerId":"d8f419d9-18b4-4389-86f6-0d030e0bcfc7","localServerName":"active-metadata-store","localServerDescription":"A metadata store that supports Open Metadata Access Services (OMASs) with event notifications. It provides metadata to view-server, engine-host and integration-daemon.","localServerURL":"https://localhost:9443","localServerUserId":"activenpa","maxPageSize":1000,"eventBusConfig":{"class":"EventBusConfig","topicURLRoot":"egeria.omag","configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}},"accessServicesConfig":[{"class":"AccessServiceConfig","accessServiceId":210,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.datamanager.admin.DataManagerAdmin","accessServiceName":"Data Manager","accessServiceFullName":"Data Manager OMAS","accessServiceURLMarker":"data-manager","accessServiceDescription":"Capture changes to the data stores and data set managed by a data manager such as a database server, content manager or file system.","accessServiceWiki":"https://egeria-project.org/services/omas/data-manager/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.datamanager.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"d8f419d9-18b4-4389-86f6-0d030e0bcfc7","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":226,"accessServiceDevelopmentStatus":"TECHNICAL_PREVIEW","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.subjectarea.admin.SubjectAreaAdmin","accessServiceName":"Subject Area","accessServiceFullName":"Subject Area OMAS","accessServiceURLMarker":"subject-area","accessServiceDescription":"Document knowledge about a subject area in a glossary.","accessServiceWiki":"https://egeria-project.org/services/omas/subject-area/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":213,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.designmodel.admin.DesignModelAdmin","accessServiceName":"Design Model","accessServiceFullName":"Design Model OMAS","accessServiceURLMarker":"design-model","accessServiceDescription":"Exchange design model content with tools and standard packages.","accessServiceWiki":"https://egeria-project.org/services/omas/design-model/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":223,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.securityofficer.server.admin.SecurityOfficerAdmin","accessServiceName":"Security Officer","accessServiceFullName":"Security Officer OMAS","accessServiceURLMarker":"security-officer","accessServiceDescription":"Set up rules and security tags to protect data.","accessServiceWiki":"https://egeria-project.org/services/omas/security-officer/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.securityofficer.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"d8f419d9-18b4-4389-86f6-0d030e0bcfc7","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":204,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.assetmanager.admin.AssetManagerAdmin","accessServiceName":"Asset Manager","accessServiceFullName":"Asset Manager OMAS","accessServiceURLMarker":"asset-manager","accessServiceDescription":"Manage metadata from a third party asset manager","accessServiceWiki":"https://egeria-project.org/services/omas/asset-manager/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.assetmanager.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"d8f419d9-18b4-4389-86f6-0d030e0bcfc7","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":208,"accessServiceDevelopmentStatus":"TECHNICAL_PREVIEW","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.itinfrastructure.admin.ITInfrastructureAdmin","accessServiceName":"IT Infrastructure","accessServiceFullName":"IT Infrastructure OMAS","accessServiceURLMarker":"it-infrastructure","accessServiceDescription":"Manage information about the deployed IT infrastructure.","accessServiceWiki":"https://egeria-project.org/services/omas/it-infrastructure/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.itinfrastructure.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"d8f419d9-18b4-4389-86f6-0d030e0bcfc7","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":212,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.datascience.admin.DataScienceAdmin","accessServiceName":"Data Science","accessServiceFullName":"Data Science OMAS","accessServiceURLMarker":"data-science","accessServiceDescription":"Create and manage data science definitions and models.","accessServiceWiki":"https://egeria-project.org/services/omas/data-science/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":207,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.communityprofile.admin.CommunityProfileAdmin","accessServiceName":"Community Profile","accessServiceFullName":"Community Profile OMAS","accessServiceURLMarker":"community-profile","accessServiceDescription":"Define personal profile and collaborate.","accessServiceWiki":"https://egeria-project.org/services/omas/community-profile/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.communityprofile.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"d8f419d9-18b4-4389-86f6-0d030e0bcfc7","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":209,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.dataengine.server.admin.DataEngineAdmin","accessServiceName":"Data Engine","accessServiceFullName":"Data Engine OMAS","accessServiceURLMarker":"data-engine","accessServiceDescription":"Exchange process models and lineage with a data engine.","accessServiceWiki":"https://egeria-project.org/services/omas/data-engine/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceInTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.dataengine.inTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"d8f419d9-18b4-4389-86f6-0d030e0bcfc7","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":215,"accessServiceDevelopmentStatus":"TECHNICAL_PREVIEW","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.digitalarchitecture.admin.DigitalArchitectureAdmin","accessServiceName":"Digital Architecture","accessServiceFullName":"Digital Architecture OMAS","accessServiceURLMarker":"digital-architecture","accessServiceDescription":"Design of the digital services for an organization","accessServiceWiki":"https://egeria-project.org/services/omas/digital-architecture/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.digitalarchitecture.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"d8f419d9-18b4-4389-86f6-0d030e0bcfc7","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":227,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.governanceserver.admin.GovernanceServerAdmin","accessServiceName":"Governance Server","accessServiceFullName":"Governance Server OMAS","accessServiceURLMarker":"governance-server","accessServiceDescription":"Supply the governance engine definitions to the engine hosts and the and integration group definitions to the integration daemons.","accessServiceWiki":"https://egeria-project.org/services/omas/governance-server/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.governanceserver.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"d8f419d9-18b4-4389-86f6-0d030e0bcfc7","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":205,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.assetowner.admin.AssetOwnerAdmin","accessServiceName":"Asset Owner","accessServiceFullName":"Asset Owner OMAS","accessServiceURLMarker":"asset-owner","accessServiceDescription":"Manage an asset","accessServiceWiki":"https://egeria-project.org/services/omas/asset-owner/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.assetowner.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"d8f419d9-18b4-4389-86f6-0d030e0bcfc7","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":225,"accessServiceDevelopmentStatus":"TECHNICAL_PREVIEW","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.stewardshipaction.admin.StewardshipActionAdmin","accessServiceName":"Stewardship Action","accessServiceFullName":"Stewardship Action OMAS","accessServiceURLMarker":"stewardship-action","accessServiceDescription":"Manage exceptions and actions from open governance.","accessServiceWiki":"https://egeria-project.org/services/omas/stewardship-action/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.stewardshipaction.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"d8f419d9-18b4-4389-86f6-0d030e0bcfc7","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":220,"accessServiceDevelopmentStatus":"TECHNICAL_PREVIEW","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.governanceprogram.admin.GovernanceProgramAdmin","accessServiceName":"Governance Program","accessServiceFullName":"Governance Program OMAS","accessServiceURLMarker":"governance-program","accessServiceDescription":"Manage the governance program.","accessServiceWiki":"https://egeria-project.org/services/omas/governance-program/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":216,"accessServiceDevelopmentStatus":"TECHNICAL_PREVIEW","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.digitalservice.admin.DigitalServiceAdmin","accessServiceName":"Digital Service","accessServiceFullName":"Digital Service OMAS","accessServiceURLMarker":"digital-service","accessServiceDescription":"Manage a digital service through its lifecycle.","accessServiceWiki":"https://egeria-project.org/services/omas/digital-service/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":203,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.assetlineage.admin.AssetLineageAdmin","accessServiceName":"Asset Lineage","accessServiceFullName":"Asset Lineage OMAS","accessServiceURLMarker":"asset-lineage","accessServiceDescription":"Publish asset lineage","accessServiceWiki":"https://egeria-project.org/services/omas/asset-lineage/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.assetlineage.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"d8f419d9-18b4-4389-86f6-0d030e0bcfc7","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":201,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.assetconsumer.admin.AssetConsumerAdmin","accessServiceName":"Asset Consumer","accessServiceFullName":"Asset Consumer OMAS","accessServiceURLMarker":"asset-consumer","accessServiceDescription":"Access assets through connectors.","accessServiceWiki":"https://egeria-project.org/services/omas/asset-consumer/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.assetconsumer.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"d8f419d9-18b4-4389-86f6-0d030e0bcfc7","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":214,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.devops.admin.DevOpsAdmin","accessServiceName":"DevOps","accessServiceFullName":"DevOps OMAS","accessServiceURLMarker":"devops","accessServiceDescription":"Manage the metadata about the assets managed by a DevOps pipeline.","accessServiceWiki":"https://egeria-project.org/services/omas/dev-ops/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":224,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.softwaredeveloper.admin.SoftwareDeveloperAdmin","accessServiceName":"Software Developer","accessServiceFullName":"Software Developer OMAS","accessServiceURLMarker":"software-developer","accessServiceDescription":"Interact with software development tools.","accessServiceWiki":"https://egeria-project.org/services/omas/software-developer/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":221,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.projectmanagement.admin.ProjectManagementAdmin","accessServiceName":"Project Management","accessServiceFullName":"Project Management OMAS","accessServiceURLMarker":"project-management","accessServiceDescription":"Manage governance related projects.","accessServiceWiki":"https://egeria-project.org/services/omas/project-management/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":219,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.governanceengine.admin.GovernanceEngineAdmin","accessServiceName":"Governance Engine","accessServiceFullName":"Governance Engine OMAS","accessServiceURLMarker":"governance-engine","accessServiceDescription":"Provide metadata services and watch dog notification to the governance action services.","accessServiceWiki":"https://egeria-project.org/services/omas/governance-engine/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.governanceengine.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"d8f419d9-18b4-4389-86f6-0d030e0bcfc7","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":211,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.dataprivacy.admin.DataPrivacyAdmin","accessServiceName":"Data Privacy","accessServiceFullName":"Data Privacy OMAS","accessServiceURLMarker":"data-privacy","accessServiceDescription":"Manage governance of privacy.","accessServiceWiki":"https://egeria-project.org/services/omas/data-privacy/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":222,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.securitymanager.admin.SecurityManagerAdmin","accessServiceName":"Security Manager","accessServiceFullName":"Security Manager OMAS","accessServiceURLMarker":"security-manager","accessServiceDescription":"Manages exchange of metadata with a security service.","accessServiceWiki":"https://egeria-project.org/services/omas/security-manager/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.securitymanager.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"d8f419d9-18b4-4389-86f6-0d030e0bcfc7","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}}],"repositoryServicesConfig":{"class":"RepositoryServicesConfig","auditLogConnections":[{"class":"Connection","headerVersion":0,"qualifiedName":"Console- default","displayName":"Console","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.repositoryservices.auditlogstore.console.ConsoleAuditLogStoreProvider"},"configurationProperties":{"supportedSeverities":["Unknown","Information","Decision","Action","Error","Exception","Security","Startup","Shutdown","Asset","Cohort"]}}],"openMetadataArchiveConnections":[{"class":"Connection","headerVersion":0,"displayName":"Open Metadata Archive File content-packs/CoreContentPack.omarchive Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.repositoryservices.archiveconnector.file.FileBasedOpenMetadataArchiveStoreProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"content-packs/CoreContentPack.omarchive"}}],"localRepositoryConfig":{"class":"LocalRepositoryConfig","metadataCollectionId":"20e2b0b1-fbd4-46d1-b393-ac3cda15f0d3","localRepositoryMode":"OPEN_METADATA_NATIVE","localRepositoryLocalConnection":{"class":"Connection","headerVersion":0,"displayName":"Local KV XTDB Repository","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.XTDBOMRSRepositoryConnectorProvider"},"configurationProperties":{"xtdbConfig":{"xtdb.lucene/lucene-store":{"db-dir":"data/servers/active-metadata-store/repository/xtdb-kv/lucene"},"xtdb/tx-log":{"kv-store":{"db-dir":"data/servers/active-metadata-store/repository/xtdb-kv/rdb-tx","xtdb/module":"xtdb.rocksdb/->kv-store"}},"xtdb/index-store":{"kv-store":{"db-dir":"data/servers/active-metadata-store/repository/xtdb-kv/rdb-index","xtdb/module":"xtdb.rocksdb/->kv-store"}},"xtdb/document-store":{"kv-store":{"db-dir":"data/servers/active-metadata-store/repository/xtdb-kv/rdb-docs","xtdb/module":"xtdb.rocksdb/->kv-store"}}}}},"localRepositoryRemoteConnection":{"class":"Connection","headerVersion":0,"displayName":"Local Repository Remote Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.repositoryservices.rest.repositoryconnector.OMRSRESTRepositoryConnectorProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"https://localhost:9443/servers/active-metadata-store"}},"eventsToSaveRule":"ALL","eventsToSendRule":"ALL"},"enterpriseAccessConfig":{"class":"EnterpriseAccessConfig","enterpriseMetadataCollectionName":"active-metadata-store Enterprise Metadata Collection","enterpriseMetadataCollectionId":"e8bc918b-b984-4e4c-ae3f-a375b0ace900","enterpriseOMRSTopicConnection":{"class":"VirtualConnection","headerVersion":0,"displayName":"Enterprise OMRS Topic Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.repositoryservices.connectors.omrstopic.OMRSTopicProvider"},"embeddedConnections":[{"class":"EmbeddedConnection","headerVersion":0,"position":0,"displayName":"Enterprise OMRS Events","embeddedConnection":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.inmemory.InMemoryOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"active-metadata-store.openmetadata.repositoryservices.enterprise.active-metadata-store.OMRSTopic"},"configurationProperties":{"local.server.id":"d8f419d9-18b4-4389-86f6-0d030e0bcfc7","eventDirection":"inOut"}}}]},"enterpriseOMRSTopicProtocolVersion":"V1"}},"auditTrail":["Wed May 22 06:36:51 BST 2024 garygeeke updated configuration for local server's userId to activenpa.","Wed May 22 06:36:51 BST 2024 garygeeke updated configuration for local server's description to A metadata store that supports Open Metadata Access Services (OMASs) with event notifications. It provides metadata to view-server, engine-host and integration-daemon..","Wed May 22 06:36:52 BST 2024 garygeeke updated configuration for the local repository.","Wed May 22 06:36:52 BST 2024 garygeeke updated configuration for default event bus.","Wed May 22 06:36:52 BST 2024 garygeeke updated configuration for access services.","Wed May 22 06:36:52 BST 2024 garygeeke updated configuration for enterprise repository services (used by access services).","Wed May 22 06:36:52 BST 2024 garygeeke updated list of open metadata archives loaded at server start up."]} \ No newline at end of file +{"class":"OMAGServerConfig","versionId":"V2.0","localServerId":"471954f2-4c36-4bc9-9e18-e1644bb0e61a","localServerName":"active-metadata-store","localServerDescription":"A metadata store that supports Open Metadata Access Services (OMASs) with event notifications. It provides metadata to view-server, engine-host and integration-daemon.","localServerURL":"https://localhost:9443","localServerUserId":"activenpa","maxPageSize":1000,"eventBusConfig":{"class":"EventBusConfig","topicURLRoot":"egeria.omag","configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}},"accessServicesConfig":[{"class":"AccessServiceConfig","accessServiceId":205,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.assetowner.admin.AssetOwnerAdmin","accessServiceName":"Asset Owner","accessServiceFullName":"Asset Owner OMAS","accessServiceURLMarker":"asset-owner","accessServiceDescription":"Manage an asset","accessServiceWiki":"https://egeria-project.org/services/omas/asset-owner/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.assetowner.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"471954f2-4c36-4bc9-9e18-e1644bb0e61a","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":210,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.datamanager.admin.DataManagerAdmin","accessServiceName":"Data Manager","accessServiceFullName":"Data Manager OMAS","accessServiceURLMarker":"data-manager","accessServiceDescription":"Capture changes to the data stores and data set managed by a data manager such as a database server, content manager or file system.","accessServiceWiki":"https://egeria-project.org/services/omas/data-manager/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.datamanager.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"471954f2-4c36-4bc9-9e18-e1644bb0e61a","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":225,"accessServiceDevelopmentStatus":"TECHNICAL_PREVIEW","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.stewardshipaction.admin.StewardshipActionAdmin","accessServiceName":"Stewardship Action","accessServiceFullName":"Stewardship Action OMAS","accessServiceURLMarker":"stewardship-action","accessServiceDescription":"Manage exceptions and actions from open governance.","accessServiceWiki":"https://egeria-project.org/services/omas/stewardship-action/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.stewardshipaction.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"471954f2-4c36-4bc9-9e18-e1644bb0e61a","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":220,"accessServiceDevelopmentStatus":"TECHNICAL_PREVIEW","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.governanceprogram.admin.GovernanceProgramAdmin","accessServiceName":"Governance Program","accessServiceFullName":"Governance Program OMAS","accessServiceURLMarker":"governance-program","accessServiceDescription":"Manage the governance program.","accessServiceWiki":"https://egeria-project.org/services/omas/governance-program/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":216,"accessServiceDevelopmentStatus":"TECHNICAL_PREVIEW","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.digitalservice.admin.DigitalServiceAdmin","accessServiceName":"Digital Service","accessServiceFullName":"Digital Service OMAS","accessServiceURLMarker":"digital-service","accessServiceDescription":"Manage a digital service through its lifecycle.","accessServiceWiki":"https://egeria-project.org/services/omas/digital-service/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":203,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.assetlineage.admin.AssetLineageAdmin","accessServiceName":"Asset Lineage","accessServiceFullName":"Asset Lineage OMAS","accessServiceURLMarker":"asset-lineage","accessServiceDescription":"Publish asset lineage","accessServiceWiki":"https://egeria-project.org/services/omas/asset-lineage/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.assetlineage.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"471954f2-4c36-4bc9-9e18-e1644bb0e61a","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":213,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.designmodel.admin.DesignModelAdmin","accessServiceName":"Design Model","accessServiceFullName":"Design Model OMAS","accessServiceURLMarker":"design-model","accessServiceDescription":"Exchange design model content with tools and standard packages.","accessServiceWiki":"https://egeria-project.org/services/omas/design-model/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":204,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.assetmanager.admin.AssetManagerAdmin","accessServiceName":"Asset Manager","accessServiceFullName":"Asset Manager OMAS","accessServiceURLMarker":"asset-manager","accessServiceDescription":"Manage metadata from a third party asset manager","accessServiceWiki":"https://egeria-project.org/services/omas/asset-manager/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.assetmanager.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"471954f2-4c36-4bc9-9e18-e1644bb0e61a","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":201,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.assetconsumer.admin.AssetConsumerAdmin","accessServiceName":"Asset Consumer","accessServiceFullName":"Asset Consumer OMAS","accessServiceURLMarker":"asset-consumer","accessServiceDescription":"Access assets through connectors.","accessServiceWiki":"https://egeria-project.org/services/omas/asset-consumer/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.assetconsumer.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"471954f2-4c36-4bc9-9e18-e1644bb0e61a","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":208,"accessServiceDevelopmentStatus":"TECHNICAL_PREVIEW","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.itinfrastructure.admin.ITInfrastructureAdmin","accessServiceName":"IT Infrastructure","accessServiceFullName":"IT Infrastructure OMAS","accessServiceURLMarker":"it-infrastructure","accessServiceDescription":"Manage information about the deployed IT infrastructure.","accessServiceWiki":"https://egeria-project.org/services/omas/it-infrastructure/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.itinfrastructure.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"471954f2-4c36-4bc9-9e18-e1644bb0e61a","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":212,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.datascience.admin.DataScienceAdmin","accessServiceName":"Data Science","accessServiceFullName":"Data Science OMAS","accessServiceURLMarker":"data-science","accessServiceDescription":"Create and manage data science definitions and models.","accessServiceWiki":"https://egeria-project.org/services/omas/data-science/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":207,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.communityprofile.admin.CommunityProfileAdmin","accessServiceName":"Community Profile","accessServiceFullName":"Community Profile OMAS","accessServiceURLMarker":"community-profile","accessServiceDescription":"Define personal profile and collaborate.","accessServiceWiki":"https://egeria-project.org/services/omas/community-profile/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.communityprofile.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"471954f2-4c36-4bc9-9e18-e1644bb0e61a","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":214,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.devops.admin.DevOpsAdmin","accessServiceName":"DevOps","accessServiceFullName":"DevOps OMAS","accessServiceURLMarker":"devops","accessServiceDescription":"Manage the metadata about the assets managed by a DevOps pipeline.","accessServiceWiki":"https://egeria-project.org/services/omas/dev-ops/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":224,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.softwaredeveloper.admin.SoftwareDeveloperAdmin","accessServiceName":"Software Developer","accessServiceFullName":"Software Developer OMAS","accessServiceURLMarker":"software-developer","accessServiceDescription":"Interact with software development tools.","accessServiceWiki":"https://egeria-project.org/services/omas/software-developer/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":209,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.dataengine.server.admin.DataEngineAdmin","accessServiceName":"Data Engine","accessServiceFullName":"Data Engine OMAS","accessServiceURLMarker":"data-engine","accessServiceDescription":"Exchange process models and lineage with a data engine.","accessServiceWiki":"https://egeria-project.org/services/omas/data-engine/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceInTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.dataengine.inTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"471954f2-4c36-4bc9-9e18-e1644bb0e61a","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":221,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.projectmanagement.admin.ProjectManagementAdmin","accessServiceName":"Project Management","accessServiceFullName":"Project Management OMAS","accessServiceURLMarker":"project-management","accessServiceDescription":"Manage governance related projects.","accessServiceWiki":"https://egeria-project.org/services/omas/project-management/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":219,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.governanceengine.admin.GovernanceEngineAdmin","accessServiceName":"Governance Engine","accessServiceFullName":"Governance Engine OMAS","accessServiceURLMarker":"governance-engine","accessServiceDescription":"Provide metadata services and watch dog notification to the governance action services.","accessServiceWiki":"https://egeria-project.org/services/omas/governance-engine/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.governanceengine.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"471954f2-4c36-4bc9-9e18-e1644bb0e61a","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":215,"accessServiceDevelopmentStatus":"TECHNICAL_PREVIEW","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.digitalarchitecture.admin.DigitalArchitectureAdmin","accessServiceName":"Digital Architecture","accessServiceFullName":"Digital Architecture OMAS","accessServiceURLMarker":"digital-architecture","accessServiceDescription":"Design of the digital services for an organization","accessServiceWiki":"https://egeria-project.org/services/omas/digital-architecture/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.digitalarchitecture.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"471954f2-4c36-4bc9-9e18-e1644bb0e61a","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":227,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.governanceserver.admin.GovernanceServerAdmin","accessServiceName":"Governance Server","accessServiceFullName":"Governance Server OMAS","accessServiceURLMarker":"governance-server","accessServiceDescription":"Supply the governance engine definitions to the engine hosts and the and integration group definitions to the integration daemons.","accessServiceWiki":"https://egeria-project.org/services/omas/governance-server/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.governanceserver.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"471954f2-4c36-4bc9-9e18-e1644bb0e61a","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}},{"class":"AccessServiceConfig","accessServiceId":211,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.dataprivacy.admin.DataPrivacyAdmin","accessServiceName":"Data Privacy","accessServiceFullName":"Data Privacy OMAS","accessServiceURLMarker":"data-privacy","accessServiceDescription":"Manage governance of privacy.","accessServiceWiki":"https://egeria-project.org/services/omas/data-privacy/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":222,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.securitymanager.admin.SecurityManagerAdmin","accessServiceName":"Security Manager","accessServiceFullName":"Security Manager OMAS","accessServiceURLMarker":"security-manager","accessServiceDescription":"Manages exchange of metadata with a security service.","accessServiceWiki":"https://egeria-project.org/services/omas/security-manager/overview/","accessServiceOperationalStatus":"ENABLED","accessServiceOutTopic":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.kafka.KafkaOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"egeria.omag.server.active-metadata-store.omas.securitymanager.outTopic"},"configurationProperties":{"producer":{"bootstrap.servers":"{{kafkaEndpoint}}"},"local.server.id":"471954f2-4c36-4bc9-9e18-e1644bb0e61a","consumer":{"bootstrap.servers":"{{kafkaEndpoint}}"}}}}],"repositoryServicesConfig":{"class":"RepositoryServicesConfig","auditLogConnections":[{"class":"Connection","headerVersion":0,"qualifiedName":"Console- default","displayName":"Console","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.repositoryservices.auditlogstore.console.ConsoleAuditLogStoreProvider"},"configurationProperties":{"supportedSeverities":["Unknown","Information","Decision","Action","Error","Exception","Security","Startup","Shutdown","Asset","Cohort"]}}],"openMetadataArchiveConnections":[{"class":"Connection","headerVersion":0,"displayName":"Open Metadata Archive File content-packs/CoreContentPack.omarchive Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.repositoryservices.archiveconnector.file.FileBasedOpenMetadataArchiveStoreProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"content-packs/CoreContentPack.omarchive"}}],"localRepositoryConfig":{"class":"LocalRepositoryConfig","metadataCollectionId":"04d9d035-53f1-4ebc-8ded-03d2d0554471","localRepositoryMode":"OPEN_METADATA_NATIVE","localRepositoryLocalConnection":{"class":"Connection","headerVersion":0,"displayName":"Local KV XTDB Repository","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.XTDBOMRSRepositoryConnectorProvider"},"configurationProperties":{"xtdbConfig":{"xtdb.lucene/lucene-store":{"db-dir":"data/servers/active-metadata-store/repository/xtdb-kv/lucene"},"xtdb/tx-log":{"kv-store":{"db-dir":"data/servers/active-metadata-store/repository/xtdb-kv/rdb-tx","xtdb/module":"xtdb.rocksdb/->kv-store"}},"xtdb/index-store":{"kv-store":{"db-dir":"data/servers/active-metadata-store/repository/xtdb-kv/rdb-index","xtdb/module":"xtdb.rocksdb/->kv-store"}},"xtdb/document-store":{"kv-store":{"db-dir":"data/servers/active-metadata-store/repository/xtdb-kv/rdb-docs","xtdb/module":"xtdb.rocksdb/->kv-store"}}}}},"localRepositoryRemoteConnection":{"class":"Connection","headerVersion":0,"displayName":"Local Repository Remote Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.repositoryservices.rest.repositoryconnector.OMRSRESTRepositoryConnectorProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"https://localhost:9443/servers/active-metadata-store"}},"eventsToSaveRule":"ALL","eventsToSendRule":"ALL"},"enterpriseAccessConfig":{"class":"EnterpriseAccessConfig","enterpriseMetadataCollectionName":"active-metadata-store Enterprise Metadata Collection","enterpriseMetadataCollectionId":"b1012424-c047-405a-95d2-9492886440ce","enterpriseOMRSTopicConnection":{"class":"VirtualConnection","headerVersion":0,"displayName":"Enterprise OMRS Topic Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.repositoryservices.connectors.omrstopic.OMRSTopicProvider"},"embeddedConnections":[{"class":"EmbeddedConnection","headerVersion":0,"position":0,"displayName":"Enterprise OMRS Events","embeddedConnection":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.inmemory.InMemoryOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"active-metadata-store.openmetadata.repositoryservices.enterprise.active-metadata-store.OMRSTopic"},"configurationProperties":{"local.server.id":"471954f2-4c36-4bc9-9e18-e1644bb0e61a","eventDirection":"inOut"}}}]},"enterpriseOMRSTopicProtocolVersion":"V1"}},"auditTrail":["Thu Jun 06 08:28:54 BST 2024 garygeeke updated configuration for local server's userId to activenpa.","Thu Jun 06 08:28:54 BST 2024 garygeeke updated configuration for local server's description to A metadata store that supports Open Metadata Access Services (OMASs) with event notifications. It provides metadata to view-server, engine-host and integration-daemon..","Thu Jun 06 08:28:54 BST 2024 garygeeke updated configuration for the local repository.","Thu Jun 06 08:28:54 BST 2024 garygeeke updated configuration for default event bus.","Thu Jun 06 08:28:54 BST 2024 garygeeke updated configuration for access services.","Thu Jun 06 08:28:54 BST 2024 garygeeke updated configuration for enterprise repository services (used by access services).","Thu Jun 06 08:28:54 BST 2024 garygeeke updated list of open metadata archives loaded at server start up."]} \ No newline at end of file diff --git a/open-metadata-resources/open-metadata-deployment/sample-configs/engine-host/config/engine-host.config b/open-metadata-resources/open-metadata-deployment/sample-configs/engine-host/config/engine-host.config index 00e1d5ca175..68891f44056 100644 --- a/open-metadata-resources/open-metadata-deployment/sample-configs/engine-host/config/engine-host.config +++ b/open-metadata-resources/open-metadata-deployment/sample-configs/engine-host/config/engine-host.config @@ -1 +1 @@ -{"class":"OMAGServerConfig","versionId":"V2.0","localServerId":"69afae60-325b-4fad-9f7a-34fcc8a43142","localServerName":"engine-host","localServerDescription":"A server that runs governance service requests, triggered by engine actions created in active-metadata-store.","localServerURL":"https://localhost:9443","localServerUserId":"enginenpa","maxPageSize":1000,"repositoryServicesConfig":{"class":"RepositoryServicesConfig","auditLogConnections":[{"class":"Connection","headerVersion":0,"qualifiedName":"Console- default","displayName":"Console","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.repositoryservices.auditlogstore.console.ConsoleAuditLogStoreProvider"},"configurationProperties":{"supportedSeverities":["Unknown","Information","Decision","Action","Error","Exception","Security","Startup","Shutdown","Asset","Cohort"]}}]},"engineHostServicesConfig":{"class":"EngineHostServicesConfig","engineList":[{"class":"EngineConfig","engineId":"4fe58760-ec4c-4f23-89c2-f7ae979e0e8b","engineQualifiedName":"AssetSurvey","engineUserId":"generalnpa"},{"class":"EngineConfig","engineId":"a80b17a8-ce6f-4cbc-b8bc-ff71b594f175","engineQualifiedName":"FileProvisioning","engineUserId":"generalnpa"},{"class":"EngineConfig","engineId":"6a86651a-c9c1-4aee-8a83-4c028d89f775","engineQualifiedName":"AssetOnboarding","engineUserId":"generalnpa"},{"class":"EngineConfig","engineId":"947248ee-a6eb-4f99-8376-7ff488b6281e","engineQualifiedName":"Stewardship","engineUserId":"generalnpa"}],"omagserverName":"active-metadata-store","omagserverPlatformRootURL":"https://localhost:9443"},"auditTrail":["Wed May 22 06:36:52 BST 2024 garygeeke updated configuration for local server's userId to enginenpa.","Wed May 22 06:36:52 BST 2024 garygeeke updated configuration for local server's description to A server that runs governance service requests, triggered by engine actions created in active-metadata-store.."]} \ No newline at end of file +{"class":"OMAGServerConfig","versionId":"V2.0","localServerId":"dfd8115a-5d16-40fa-87f4-d921621d521b","localServerName":"engine-host","localServerDescription":"A server that runs governance service requests, triggered by engine actions created in active-metadata-store.","localServerURL":"https://localhost:9443","localServerUserId":"enginenpa","maxPageSize":1000,"repositoryServicesConfig":{"class":"RepositoryServicesConfig","auditLogConnections":[{"class":"Connection","headerVersion":0,"qualifiedName":"Console- default","displayName":"Console","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.repositoryservices.auditlogstore.console.ConsoleAuditLogStoreProvider"},"configurationProperties":{"supportedSeverities":["Unknown","Information","Decision","Action","Error","Exception","Security","Startup","Shutdown","Asset","Cohort"]}}]},"engineHostServicesConfig":{"class":"EngineHostServicesConfig","engineList":[{"class":"EngineConfig","engineId":"4fe58760-ec4c-4f23-89c2-f7ae979e0e8b","engineQualifiedName":"AssetSurvey","engineUserId":"generalnpa"},{"class":"EngineConfig","engineId":"a80b17a8-ce6f-4cbc-b8bc-ff71b594f175","engineQualifiedName":"FileProvisioning","engineUserId":"generalnpa"},{"class":"EngineConfig","engineId":"6a86651a-c9c1-4aee-8a83-4c028d89f775","engineQualifiedName":"AssetOnboarding","engineUserId":"generalnpa"},{"class":"EngineConfig","engineId":"947248ee-a6eb-4f99-8376-7ff488b6281e","engineQualifiedName":"Stewardship","engineUserId":"generalnpa"}],"omagserverPlatformRootURL":"https://localhost:9443","omagserverName":"active-metadata-store"},"auditTrail":["Thu Jun 06 08:28:54 BST 2024 garygeeke updated configuration for local server's userId to enginenpa.","Thu Jun 06 08:28:54 BST 2024 garygeeke updated configuration for local server's description to A server that runs governance service requests, triggered by engine actions created in active-metadata-store.."]} \ No newline at end of file diff --git a/open-metadata-resources/open-metadata-deployment/sample-configs/integration-daemon/config/integration-daemon.config b/open-metadata-resources/open-metadata-deployment/sample-configs/integration-daemon/config/integration-daemon.config index 99cec70f139..2e0bdbc0069 100644 --- a/open-metadata-resources/open-metadata-deployment/sample-configs/integration-daemon/config/integration-daemon.config +++ b/open-metadata-resources/open-metadata-deployment/sample-configs/integration-daemon/config/integration-daemon.config @@ -1 +1 @@ -{"class":"OMAGServerConfig","versionId":"V2.0","localServerId":"c6ed3b19-409d-4ec1-a8f7-0f990f2de1ac","localServerName":"integration-daemon","localServerDescription":"A server that runs integration connectors that synchronize and exchange metadata with different types of technologies and tools.","localServerURL":"https://localhost:9443","localServerUserId":"daemonnpa","maxPageSize":1000,"dynamicIntegrationGroupsConfig":[{"class":"IntegrationGroupConfig","integrationGroupQualifiedName":"Egeria:IntegrationGroup:DefaultIntegrationGroup","omagserverName":"active-metadata-store","omagserverPlatformRootURL":"https://localhost:9443"}],"repositoryServicesConfig":{"class":"RepositoryServicesConfig","auditLogConnections":[{"class":"Connection","headerVersion":0,"qualifiedName":"Console- default","displayName":"Console","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.repositoryservices.auditlogstore.console.ConsoleAuditLogStoreProvider"},"configurationProperties":{"supportedSeverities":["Unknown","Information","Decision","Action","Error","Exception","Security","Startup","Shutdown","Asset","Cohort"]}}]},"auditTrail":["Wed May 22 06:36:52 BST 2024 garygeeke updated configuration for local server's userId to daemonnpa.","Wed May 22 06:36:53 BST 2024 garygeeke updated configuration for local server's description to A server that runs integration connectors that synchronize and exchange metadata with different types of technologies and tools..","Wed May 22 06:36:53 BST 2024 garygeeke updated configuration for integration group Egeria:IntegrationGroup:DefaultIntegrationGroup."]} \ No newline at end of file +{"class":"OMAGServerConfig","versionId":"V2.0","localServerId":"27c542fc-609a-445d-9f4f-198a6e3b680e","localServerName":"integration-daemon","localServerDescription":"A server that runs integration connectors that synchronize and exchange metadata with different types of technologies and tools.","localServerURL":"https://localhost:9443","localServerUserId":"daemonnpa","maxPageSize":1000,"dynamicIntegrationGroupsConfig":[{"class":"IntegrationGroupConfig","integrationGroupQualifiedName":"Egeria:IntegrationGroup:DefaultIntegrationGroup","omagserverPlatformRootURL":"https://localhost:9443","omagserverName":"active-metadata-store"}],"repositoryServicesConfig":{"class":"RepositoryServicesConfig","auditLogConnections":[{"class":"Connection","headerVersion":0,"qualifiedName":"Console- default","displayName":"Console","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.repositoryservices.auditlogstore.console.ConsoleAuditLogStoreProvider"},"configurationProperties":{"supportedSeverities":["Unknown","Information","Decision","Action","Error","Exception","Security","Startup","Shutdown","Asset","Cohort"]}}]},"auditTrail":["Thu Jun 06 08:28:54 BST 2024 garygeeke updated configuration for local server's userId to daemonnpa.","Thu Jun 06 08:28:55 BST 2024 garygeeke updated configuration for local server's description to A server that runs integration connectors that synchronize and exchange metadata with different types of technologies and tools..","Thu Jun 06 08:28:55 BST 2024 garygeeke updated configuration for integration group Egeria:IntegrationGroup:DefaultIntegrationGroup."]} \ No newline at end of file diff --git a/open-metadata-resources/open-metadata-deployment/sample-configs/simple-metadata-store/config/simple-metadata-store.config b/open-metadata-resources/open-metadata-deployment/sample-configs/simple-metadata-store/config/simple-metadata-store.config index 862af3aaf1d..960a69c2cb0 100644 --- a/open-metadata-resources/open-metadata-deployment/sample-configs/simple-metadata-store/config/simple-metadata-store.config +++ b/open-metadata-resources/open-metadata-deployment/sample-configs/simple-metadata-store/config/simple-metadata-store.config @@ -1 +1 @@ -{"class":"OMAGServerConfig","versionId":"V2.0","localServerId":"6b9e3347-fb62-4822-9b4a-3161c86b45dc","localServerName":"simple-metadata-store","localServerDescription":"A metadata store that supports Open Metadata Access Services (OMASs) without event notifications.","localServerURL":"https://localhost:9443","localServerUserId":"simplenpa","maxPageSize":1000,"accessServicesConfig":[{"class":"AccessServiceConfig","accessServiceId":210,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.datamanager.admin.DataManagerAdmin","accessServiceName":"Data Manager","accessServiceFullName":"Data Manager OMAS","accessServiceURLMarker":"data-manager","accessServiceDescription":"Capture changes to the data stores and data set managed by a data manager such as a database server, content manager or file system.","accessServiceWiki":"https://egeria-project.org/services/omas/data-manager/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":226,"accessServiceDevelopmentStatus":"TECHNICAL_PREVIEW","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.subjectarea.admin.SubjectAreaAdmin","accessServiceName":"Subject Area","accessServiceFullName":"Subject Area OMAS","accessServiceURLMarker":"subject-area","accessServiceDescription":"Document knowledge about a subject area in a glossary.","accessServiceWiki":"https://egeria-project.org/services/omas/subject-area/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":213,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.designmodel.admin.DesignModelAdmin","accessServiceName":"Design Model","accessServiceFullName":"Design Model OMAS","accessServiceURLMarker":"design-model","accessServiceDescription":"Exchange design model content with tools and standard packages.","accessServiceWiki":"https://egeria-project.org/services/omas/design-model/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":223,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.securityofficer.server.admin.SecurityOfficerAdmin","accessServiceName":"Security Officer","accessServiceFullName":"Security Officer OMAS","accessServiceURLMarker":"security-officer","accessServiceDescription":"Set up rules and security tags to protect data.","accessServiceWiki":"https://egeria-project.org/services/omas/security-officer/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":204,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.assetmanager.admin.AssetManagerAdmin","accessServiceName":"Asset Manager","accessServiceFullName":"Asset Manager OMAS","accessServiceURLMarker":"asset-manager","accessServiceDescription":"Manage metadata from a third party asset manager","accessServiceWiki":"https://egeria-project.org/services/omas/asset-manager/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":208,"accessServiceDevelopmentStatus":"TECHNICAL_PREVIEW","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.itinfrastructure.admin.ITInfrastructureAdmin","accessServiceName":"IT Infrastructure","accessServiceFullName":"IT Infrastructure OMAS","accessServiceURLMarker":"it-infrastructure","accessServiceDescription":"Manage information about the deployed IT infrastructure.","accessServiceWiki":"https://egeria-project.org/services/omas/it-infrastructure/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":212,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.datascience.admin.DataScienceAdmin","accessServiceName":"Data Science","accessServiceFullName":"Data Science OMAS","accessServiceURLMarker":"data-science","accessServiceDescription":"Create and manage data science definitions and models.","accessServiceWiki":"https://egeria-project.org/services/omas/data-science/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":207,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.communityprofile.admin.CommunityProfileAdmin","accessServiceName":"Community Profile","accessServiceFullName":"Community Profile OMAS","accessServiceURLMarker":"community-profile","accessServiceDescription":"Define personal profile and collaborate.","accessServiceWiki":"https://egeria-project.org/services/omas/community-profile/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":209,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.dataengine.server.admin.DataEngineAdmin","accessServiceName":"Data Engine","accessServiceFullName":"Data Engine OMAS","accessServiceURLMarker":"data-engine","accessServiceDescription":"Exchange process models and lineage with a data engine.","accessServiceWiki":"https://egeria-project.org/services/omas/data-engine/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":215,"accessServiceDevelopmentStatus":"TECHNICAL_PREVIEW","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.digitalarchitecture.admin.DigitalArchitectureAdmin","accessServiceName":"Digital Architecture","accessServiceFullName":"Digital Architecture OMAS","accessServiceURLMarker":"digital-architecture","accessServiceDescription":"Design of the digital services for an organization","accessServiceWiki":"https://egeria-project.org/services/omas/digital-architecture/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":227,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.governanceserver.admin.GovernanceServerAdmin","accessServiceName":"Governance Server","accessServiceFullName":"Governance Server OMAS","accessServiceURLMarker":"governance-server","accessServiceDescription":"Supply the governance engine definitions to the engine hosts and the and integration group definitions to the integration daemons.","accessServiceWiki":"https://egeria-project.org/services/omas/governance-server/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":205,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.assetowner.admin.AssetOwnerAdmin","accessServiceName":"Asset Owner","accessServiceFullName":"Asset Owner OMAS","accessServiceURLMarker":"asset-owner","accessServiceDescription":"Manage an asset","accessServiceWiki":"https://egeria-project.org/services/omas/asset-owner/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":225,"accessServiceDevelopmentStatus":"TECHNICAL_PREVIEW","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.stewardshipaction.admin.StewardshipActionAdmin","accessServiceName":"Stewardship Action","accessServiceFullName":"Stewardship Action OMAS","accessServiceURLMarker":"stewardship-action","accessServiceDescription":"Manage exceptions and actions from open governance.","accessServiceWiki":"https://egeria-project.org/services/omas/stewardship-action/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":220,"accessServiceDevelopmentStatus":"TECHNICAL_PREVIEW","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.governanceprogram.admin.GovernanceProgramAdmin","accessServiceName":"Governance Program","accessServiceFullName":"Governance Program OMAS","accessServiceURLMarker":"governance-program","accessServiceDescription":"Manage the governance program.","accessServiceWiki":"https://egeria-project.org/services/omas/governance-program/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":216,"accessServiceDevelopmentStatus":"TECHNICAL_PREVIEW","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.digitalservice.admin.DigitalServiceAdmin","accessServiceName":"Digital Service","accessServiceFullName":"Digital Service OMAS","accessServiceURLMarker":"digital-service","accessServiceDescription":"Manage a digital service through its lifecycle.","accessServiceWiki":"https://egeria-project.org/services/omas/digital-service/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":203,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.assetlineage.admin.AssetLineageAdmin","accessServiceName":"Asset Lineage","accessServiceFullName":"Asset Lineage OMAS","accessServiceURLMarker":"asset-lineage","accessServiceDescription":"Publish asset lineage","accessServiceWiki":"https://egeria-project.org/services/omas/asset-lineage/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":201,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.assetconsumer.admin.AssetConsumerAdmin","accessServiceName":"Asset Consumer","accessServiceFullName":"Asset Consumer OMAS","accessServiceURLMarker":"asset-consumer","accessServiceDescription":"Access assets through connectors.","accessServiceWiki":"https://egeria-project.org/services/omas/asset-consumer/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":214,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.devops.admin.DevOpsAdmin","accessServiceName":"DevOps","accessServiceFullName":"DevOps OMAS","accessServiceURLMarker":"devops","accessServiceDescription":"Manage the metadata about the assets managed by a DevOps pipeline.","accessServiceWiki":"https://egeria-project.org/services/omas/dev-ops/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":224,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.softwaredeveloper.admin.SoftwareDeveloperAdmin","accessServiceName":"Software Developer","accessServiceFullName":"Software Developer OMAS","accessServiceURLMarker":"software-developer","accessServiceDescription":"Interact with software development tools.","accessServiceWiki":"https://egeria-project.org/services/omas/software-developer/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":221,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.projectmanagement.admin.ProjectManagementAdmin","accessServiceName":"Project Management","accessServiceFullName":"Project Management OMAS","accessServiceURLMarker":"project-management","accessServiceDescription":"Manage governance related projects.","accessServiceWiki":"https://egeria-project.org/services/omas/project-management/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":219,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.governanceengine.admin.GovernanceEngineAdmin","accessServiceName":"Governance Engine","accessServiceFullName":"Governance Engine OMAS","accessServiceURLMarker":"governance-engine","accessServiceDescription":"Provide metadata services and watch dog notification to the governance action services.","accessServiceWiki":"https://egeria-project.org/services/omas/governance-engine/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":211,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.dataprivacy.admin.DataPrivacyAdmin","accessServiceName":"Data Privacy","accessServiceFullName":"Data Privacy OMAS","accessServiceURLMarker":"data-privacy","accessServiceDescription":"Manage governance of privacy.","accessServiceWiki":"https://egeria-project.org/services/omas/data-privacy/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":222,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.securitymanager.admin.SecurityManagerAdmin","accessServiceName":"Security Manager","accessServiceFullName":"Security Manager OMAS","accessServiceURLMarker":"security-manager","accessServiceDescription":"Manages exchange of metadata with a security service.","accessServiceWiki":"https://egeria-project.org/services/omas/security-manager/overview/","accessServiceOperationalStatus":"ENABLED"}],"repositoryServicesConfig":{"class":"RepositoryServicesConfig","auditLogConnections":[{"class":"Connection","headerVersion":0,"qualifiedName":"Console- default","displayName":"Console","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.repositoryservices.auditlogstore.console.ConsoleAuditLogStoreProvider"},"configurationProperties":{"supportedSeverities":["Unknown","Information","Decision","Action","Error","Exception","Security","Startup","Shutdown","Asset","Cohort"]}}],"openMetadataArchiveConnections":[{"class":"Connection","headerVersion":0,"displayName":"Open Metadata Archive File content-packs/SimpleCatalog.omarchive Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.repositoryservices.archiveconnector.file.FileBasedOpenMetadataArchiveStoreProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"content-packs/SimpleCatalog.omarchive"}}],"localRepositoryConfig":{"class":"LocalRepositoryConfig","metadataCollectionId":"c4ac6c90-802c-446a-b26e-c295522d7db2","localRepositoryMode":"OPEN_METADATA_NATIVE","localRepositoryLocalConnection":{"class":"Connection","headerVersion":0,"displayName":"In Memory Local Repository Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.repositoryservices.inmemory.repositoryconnector.InMemoryOMRSRepositoryConnectorProvider"}},"localRepositoryRemoteConnection":{"class":"Connection","headerVersion":0,"displayName":"Local Repository Remote Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.repositoryservices.rest.repositoryconnector.OMRSRESTRepositoryConnectorProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"https://localhost:9443/servers/simple-metadata-store"}},"eventsToSaveRule":"ALL","eventsToSendRule":"ALL"},"enterpriseAccessConfig":{"class":"EnterpriseAccessConfig","enterpriseMetadataCollectionName":"simple-metadata-store Enterprise Metadata Collection","enterpriseMetadataCollectionId":"3fd1bde6-75d1-44eb-af83-6b88c23f64fd","enterpriseOMRSTopicConnection":{"class":"VirtualConnection","headerVersion":0,"displayName":"Enterprise OMRS Topic Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.repositoryservices.connectors.omrstopic.OMRSTopicProvider"},"embeddedConnections":[{"class":"EmbeddedConnection","headerVersion":0,"position":0,"displayName":"Enterprise OMRS Events","embeddedConnection":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.inmemory.InMemoryOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"simple-metadata-store.openmetadata.repositoryservices.enterprise.simple-metadata-store.OMRSTopic"},"configurationProperties":{"local.server.id":"6b9e3347-fb62-4822-9b4a-3161c86b45dc","eventDirection":"inOut"}}}]},"enterpriseOMRSTopicProtocolVersion":"V1"}},"auditTrail":["Wed May 22 06:36:51 BST 2024 garygeeke updated configuration for local server's userId to simplenpa.","Wed May 22 06:36:51 BST 2024 garygeeke updated configuration for local server's description to A metadata store that supports Open Metadata Access Services (OMASs) without event notifications..","Wed May 22 06:36:51 BST 2024 garygeeke updated configuration for the local repository.","Wed May 22 06:36:51 BST 2024 garygeeke updated configuration for access services.","Wed May 22 06:36:51 BST 2024 garygeeke updated configuration for enterprise repository services (used by access services).","Wed May 22 06:36:51 BST 2024 garygeeke updated list of open metadata archives loaded at server start up."]} \ No newline at end of file +{"class":"OMAGServerConfig","versionId":"V2.0","localServerId":"da1cfa79-bbbb-4bb7-9fcf-2ca35c3ce995","localServerName":"simple-metadata-store","localServerDescription":"A metadata store that supports Open Metadata Access Services (OMASs) without event notifications.","localServerURL":"https://localhost:9443","localServerUserId":"simplenpa","maxPageSize":1000,"accessServicesConfig":[{"class":"AccessServiceConfig","accessServiceId":205,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.assetowner.admin.AssetOwnerAdmin","accessServiceName":"Asset Owner","accessServiceFullName":"Asset Owner OMAS","accessServiceURLMarker":"asset-owner","accessServiceDescription":"Manage an asset","accessServiceWiki":"https://egeria-project.org/services/omas/asset-owner/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":210,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.datamanager.admin.DataManagerAdmin","accessServiceName":"Data Manager","accessServiceFullName":"Data Manager OMAS","accessServiceURLMarker":"data-manager","accessServiceDescription":"Capture changes to the data stores and data set managed by a data manager such as a database server, content manager or file system.","accessServiceWiki":"https://egeria-project.org/services/omas/data-manager/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":225,"accessServiceDevelopmentStatus":"TECHNICAL_PREVIEW","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.stewardshipaction.admin.StewardshipActionAdmin","accessServiceName":"Stewardship Action","accessServiceFullName":"Stewardship Action OMAS","accessServiceURLMarker":"stewardship-action","accessServiceDescription":"Manage exceptions and actions from open governance.","accessServiceWiki":"https://egeria-project.org/services/omas/stewardship-action/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":220,"accessServiceDevelopmentStatus":"TECHNICAL_PREVIEW","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.governanceprogram.admin.GovernanceProgramAdmin","accessServiceName":"Governance Program","accessServiceFullName":"Governance Program OMAS","accessServiceURLMarker":"governance-program","accessServiceDescription":"Manage the governance program.","accessServiceWiki":"https://egeria-project.org/services/omas/governance-program/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":216,"accessServiceDevelopmentStatus":"TECHNICAL_PREVIEW","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.digitalservice.admin.DigitalServiceAdmin","accessServiceName":"Digital Service","accessServiceFullName":"Digital Service OMAS","accessServiceURLMarker":"digital-service","accessServiceDescription":"Manage a digital service through its lifecycle.","accessServiceWiki":"https://egeria-project.org/services/omas/digital-service/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":203,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.assetlineage.admin.AssetLineageAdmin","accessServiceName":"Asset Lineage","accessServiceFullName":"Asset Lineage OMAS","accessServiceURLMarker":"asset-lineage","accessServiceDescription":"Publish asset lineage","accessServiceWiki":"https://egeria-project.org/services/omas/asset-lineage/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":213,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.designmodel.admin.DesignModelAdmin","accessServiceName":"Design Model","accessServiceFullName":"Design Model OMAS","accessServiceURLMarker":"design-model","accessServiceDescription":"Exchange design model content with tools and standard packages.","accessServiceWiki":"https://egeria-project.org/services/omas/design-model/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":204,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.assetmanager.admin.AssetManagerAdmin","accessServiceName":"Asset Manager","accessServiceFullName":"Asset Manager OMAS","accessServiceURLMarker":"asset-manager","accessServiceDescription":"Manage metadata from a third party asset manager","accessServiceWiki":"https://egeria-project.org/services/omas/asset-manager/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":201,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.assetconsumer.admin.AssetConsumerAdmin","accessServiceName":"Asset Consumer","accessServiceFullName":"Asset Consumer OMAS","accessServiceURLMarker":"asset-consumer","accessServiceDescription":"Access assets through connectors.","accessServiceWiki":"https://egeria-project.org/services/omas/asset-consumer/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":208,"accessServiceDevelopmentStatus":"TECHNICAL_PREVIEW","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.itinfrastructure.admin.ITInfrastructureAdmin","accessServiceName":"IT Infrastructure","accessServiceFullName":"IT Infrastructure OMAS","accessServiceURLMarker":"it-infrastructure","accessServiceDescription":"Manage information about the deployed IT infrastructure.","accessServiceWiki":"https://egeria-project.org/services/omas/it-infrastructure/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":212,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.datascience.admin.DataScienceAdmin","accessServiceName":"Data Science","accessServiceFullName":"Data Science OMAS","accessServiceURLMarker":"data-science","accessServiceDescription":"Create and manage data science definitions and models.","accessServiceWiki":"https://egeria-project.org/services/omas/data-science/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":207,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.communityprofile.admin.CommunityProfileAdmin","accessServiceName":"Community Profile","accessServiceFullName":"Community Profile OMAS","accessServiceURLMarker":"community-profile","accessServiceDescription":"Define personal profile and collaborate.","accessServiceWiki":"https://egeria-project.org/services/omas/community-profile/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":214,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.devops.admin.DevOpsAdmin","accessServiceName":"DevOps","accessServiceFullName":"DevOps OMAS","accessServiceURLMarker":"devops","accessServiceDescription":"Manage the metadata about the assets managed by a DevOps pipeline.","accessServiceWiki":"https://egeria-project.org/services/omas/dev-ops/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":224,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.softwaredeveloper.admin.SoftwareDeveloperAdmin","accessServiceName":"Software Developer","accessServiceFullName":"Software Developer OMAS","accessServiceURLMarker":"software-developer","accessServiceDescription":"Interact with software development tools.","accessServiceWiki":"https://egeria-project.org/services/omas/software-developer/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":209,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.dataengine.server.admin.DataEngineAdmin","accessServiceName":"Data Engine","accessServiceFullName":"Data Engine OMAS","accessServiceURLMarker":"data-engine","accessServiceDescription":"Exchange process models and lineage with a data engine.","accessServiceWiki":"https://egeria-project.org/services/omas/data-engine/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":221,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.projectmanagement.admin.ProjectManagementAdmin","accessServiceName":"Project Management","accessServiceFullName":"Project Management OMAS","accessServiceURLMarker":"project-management","accessServiceDescription":"Manage governance related projects.","accessServiceWiki":"https://egeria-project.org/services/omas/project-management/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":219,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.governanceengine.admin.GovernanceEngineAdmin","accessServiceName":"Governance Engine","accessServiceFullName":"Governance Engine OMAS","accessServiceURLMarker":"governance-engine","accessServiceDescription":"Provide metadata services and watch dog notification to the governance action services.","accessServiceWiki":"https://egeria-project.org/services/omas/governance-engine/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":215,"accessServiceDevelopmentStatus":"TECHNICAL_PREVIEW","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.digitalarchitecture.admin.DigitalArchitectureAdmin","accessServiceName":"Digital Architecture","accessServiceFullName":"Digital Architecture OMAS","accessServiceURLMarker":"digital-architecture","accessServiceDescription":"Design of the digital services for an organization","accessServiceWiki":"https://egeria-project.org/services/omas/digital-architecture/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":227,"accessServiceDevelopmentStatus":"STABLE","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.governanceserver.admin.GovernanceServerAdmin","accessServiceName":"Governance Server","accessServiceFullName":"Governance Server OMAS","accessServiceURLMarker":"governance-server","accessServiceDescription":"Supply the governance engine definitions to the engine hosts and the and integration group definitions to the integration daemons.","accessServiceWiki":"https://egeria-project.org/services/omas/governance-server/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":211,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.dataprivacy.admin.DataPrivacyAdmin","accessServiceName":"Data Privacy","accessServiceFullName":"Data Privacy OMAS","accessServiceURLMarker":"data-privacy","accessServiceDescription":"Manage governance of privacy.","accessServiceWiki":"https://egeria-project.org/services/omas/data-privacy/overview/","accessServiceOperationalStatus":"ENABLED"},{"class":"AccessServiceConfig","accessServiceId":222,"accessServiceDevelopmentStatus":"IN_DEVELOPMENT","accessServiceAdminClass":"org.odpi.openmetadata.accessservices.securitymanager.admin.SecurityManagerAdmin","accessServiceName":"Security Manager","accessServiceFullName":"Security Manager OMAS","accessServiceURLMarker":"security-manager","accessServiceDescription":"Manages exchange of metadata with a security service.","accessServiceWiki":"https://egeria-project.org/services/omas/security-manager/overview/","accessServiceOperationalStatus":"ENABLED"}],"repositoryServicesConfig":{"class":"RepositoryServicesConfig","auditLogConnections":[{"class":"Connection","headerVersion":0,"qualifiedName":"Console- default","displayName":"Console","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.repositoryservices.auditlogstore.console.ConsoleAuditLogStoreProvider"},"configurationProperties":{"supportedSeverities":["Unknown","Information","Decision","Action","Error","Exception","Security","Startup","Shutdown","Asset","Cohort"]}}],"openMetadataArchiveConnections":[{"class":"Connection","headerVersion":0,"displayName":"Open Metadata Archive File content-packs/SimpleCatalog.omarchive Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.repositoryservices.archiveconnector.file.FileBasedOpenMetadataArchiveStoreProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"content-packs/SimpleCatalog.omarchive"}}],"localRepositoryConfig":{"class":"LocalRepositoryConfig","metadataCollectionId":"be874d73-43b7-4071-a062-72d31eb3e1a2","localRepositoryMode":"OPEN_METADATA_NATIVE","localRepositoryLocalConnection":{"class":"Connection","headerVersion":0,"displayName":"In Memory Local Repository Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.repositoryservices.inmemory.repositoryconnector.InMemoryOMRSRepositoryConnectorProvider"}},"localRepositoryRemoteConnection":{"class":"Connection","headerVersion":0,"displayName":"Local Repository Remote Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.repositoryservices.rest.repositoryconnector.OMRSRESTRepositoryConnectorProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"https://localhost:9443/servers/simple-metadata-store"}},"eventsToSaveRule":"ALL","eventsToSendRule":"ALL"},"enterpriseAccessConfig":{"class":"EnterpriseAccessConfig","enterpriseMetadataCollectionName":"simple-metadata-store Enterprise Metadata Collection","enterpriseMetadataCollectionId":"1cf5ae90-c1f5-44e1-8d1d-4d930384dd0c","enterpriseOMRSTopicConnection":{"class":"VirtualConnection","headerVersion":0,"displayName":"Enterprise OMRS Topic Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.repositoryservices.connectors.omrstopic.OMRSTopicProvider"},"embeddedConnections":[{"class":"EmbeddedConnection","headerVersion":0,"position":0,"displayName":"Enterprise OMRS Events","embeddedConnection":{"class":"Connection","headerVersion":0,"displayName":"Kafka Event Bus Connection","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.eventbus.topic.inmemory.InMemoryOpenMetadataTopicProvider"},"endpoint":{"class":"Endpoint","headerVersion":0,"address":"simple-metadata-store.openmetadata.repositoryservices.enterprise.simple-metadata-store.OMRSTopic"},"configurationProperties":{"local.server.id":"da1cfa79-bbbb-4bb7-9fcf-2ca35c3ce995","eventDirection":"inOut"}}}]},"enterpriseOMRSTopicProtocolVersion":"V1"}},"auditTrail":["Thu Jun 06 08:28:53 BST 2024 garygeeke updated configuration for local server's userId to simplenpa.","Thu Jun 06 08:28:53 BST 2024 garygeeke updated configuration for local server's description to A metadata store that supports Open Metadata Access Services (OMASs) without event notifications..","Thu Jun 06 08:28:54 BST 2024 garygeeke updated configuration for the local repository.","Thu Jun 06 08:28:54 BST 2024 garygeeke updated configuration for access services.","Thu Jun 06 08:28:54 BST 2024 garygeeke updated configuration for enterprise repository services (used by access services).","Thu Jun 06 08:28:54 BST 2024 garygeeke updated list of open metadata archives loaded at server start up."]} \ No newline at end of file diff --git a/open-metadata-resources/open-metadata-deployment/sample-configs/view-server/config/view-server.config b/open-metadata-resources/open-metadata-deployment/sample-configs/view-server/config/view-server.config index c4ae11afbbc..6b2cb54a865 100644 --- a/open-metadata-resources/open-metadata-deployment/sample-configs/view-server/config/view-server.config +++ b/open-metadata-resources/open-metadata-deployment/sample-configs/view-server/config/view-server.config @@ -1 +1 @@ -{"class":"OMAGServerConfig","versionId":"V2.0","localServerId":"3482fad9-3cc1-49a9-a245-a2df5cec74da","localServerName":"view-server","localServerDescription":"A server that supplies REST API endpoints for User Interfaces and non-Java environments such as Python.","localServerURL":"https://localhost:9443","localServerUserId":"viewnpa","maxPageSize":1000,"viewServicesConfig":[{"class":"IntegrationViewServiceConfig","viewServiceId":818,"viewServiceDevelopmentStatus":"IN_DEVELOPMENT","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.classificationmanager.admin.ClassificationManagerAdmin","viewServiceName":"Classification Manager","viewServiceFullName":"Classification Manager OMVS","viewServiceURLMarker":"classification-manager","viewServiceDescription":"Maintain classifications and relationships used to organize open metadata elements.","viewServiceWiki":"https://egeria-project.org/services/omvs/valid-metadata/overview/","viewServicePartnerService":"Asset Manager OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverName":"active-metadata-store","omagserverPlatformRootURL":"https://localhost:9443"},{"class":"IntegrationViewServiceConfig","viewServiceId":809,"viewServiceDevelopmentStatus":"TECHNICAL_PREVIEW","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.collectionmanager.admin.CollectionManagerAdmin","viewServiceName":"Collection Manager","viewServiceFullName":"Collection Manager OMVS","viewServiceURLMarker":"collection-manager","viewServiceDescription":"Build collections of asset and other metadata.","viewServiceWiki":"https://egeria-project.org/services/omvs/collection-manager/overview/","viewServicePartnerService":"Digital Service OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverName":"active-metadata-store","omagserverPlatformRootURL":"https://localhost:9443"},{"class":"IntegrationViewServiceConfig","viewServiceId":803,"viewServiceDevelopmentStatus":"TECHNICAL_PREVIEW","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.dino.admin.DinoViewAdmin","viewServiceName":"Dynamic Infrastructure and Operations","viewServiceFullName":"Dynamic Infrastructure and Operations OMVS","viewServiceURLMarker":"dino","viewServiceDescription":"Explore and operate an open metadata ecosystem.","viewServiceWiki":"https://egeria-project.org/services/omvs/dino/overview","viewServicePartnerService":"Server Operations","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverName":"active-metadata-store","omagserverPlatformRootURL":"https://localhost:9443"},{"class":"IntegrationViewServiceConfig","viewServiceId":814,"viewServiceDevelopmentStatus":"IN_DEVELOPMENT","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.datadiscovery.admin.DataDiscoveryAdmin","viewServiceName":"Data Discovery","viewServiceFullName":"Data Discovery OMVS","viewServiceURLMarker":"data-discovery","viewServiceDescription":"Define and search for new data resources.","viewServiceWiki":"https://egeria-project.org/services/omvs/data-discovery/overview/","viewServicePartnerService":"Asset Consumer OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverName":"active-metadata-store","omagserverPlatformRootURL":"https://localhost:9443"},{"class":"IntegrationViewServiceConfig","viewServiceId":811,"viewServiceDevelopmentStatus":"TECHNICAL_PREVIEW","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.feedbackmanager.admin.FeedbackManagerAdmin","viewServiceName":"Feedback Manager","viewServiceFullName":"Feedback Manager OMVS","viewServiceURLMarker":"feedback-manager","viewServiceDescription":"Work with comments, informal tags, ratings/reviews and likes.","viewServiceWiki":"https://egeria-project.org/services/omvs/feedback-manager/overview/","viewServicePartnerService":"Connected Asset Services","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverName":"active-metadata-store","omagserverPlatformRootURL":"https://localhost:9443"},{"class":"IntegrationViewServiceConfig","viewServiceId":816,"viewServiceDevelopmentStatus":"IN_DEVELOPMENT","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.referencedata.admin.ReferenceDataAdmin","viewServiceName":"Reference Data","viewServiceFullName":"Reference Data OMVS","viewServiceURLMarker":"reference-data","viewServiceDescription":"Work with code tables and associated reference data.","viewServiceWiki":"https://egeria-project.org/services/omvs/reference-data/overview/","viewServicePartnerService":"Digital Architecture OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverName":"active-metadata-store","omagserverPlatformRootURL":"https://localhost:9443"},{"class":"IntegrationViewServiceConfig","viewServiceId":801,"viewServiceDevelopmentStatus":"TECHNICAL_PREVIEW","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.rex.admin.RexViewAdmin","viewServiceName":"Repository Explorer","viewServiceFullName":"Repository Explorer OMVS","viewServiceURLMarker":"rex","viewServiceDescription":"Explore open metadata instances.","viewServiceWiki":"https://egeria-project.org/services/omvs/rex/overview","viewServicePartnerService":"Open Metadata Repository Services (OMRS)","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverName":"active-metadata-store","omagserverPlatformRootURL":"https://localhost:9443"},{"class":"IntegrationViewServiceConfig","viewServiceId":807,"viewServiceDevelopmentStatus":"TECHNICAL_PREVIEW","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.myprofile.admin.MyProfileAdmin","viewServiceName":"My Profile","viewServiceFullName":"My Profile OMVS","viewServiceURLMarker":"my-profile","viewServiceDescription":"Manage information about the logged on user as well as their preferences.","viewServiceWiki":"https://egeria-project.org/services/omvs/my-profile/overview/","viewServicePartnerService":"Community Profile OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverName":"active-metadata-store","omagserverPlatformRootURL":"https://localhost:9443"},{"class":"IntegrationViewServiceConfig","viewServiceId":802,"viewServiceDevelopmentStatus":"TECHNICAL_PREVIEW","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.tex.admin.TexViewAdmin","viewServiceName":"Type Explorer","viewServiceFullName":"Type Explorer OMVS","viewServiceURLMarker":"tex","viewServiceDescription":"Explore the open metadata types in a repository or cohort.","viewServiceWiki":"https://egeria-project.org/services/omvs/tex/overview","viewServicePartnerService":"Open Metadata Repository Services (OMRS)","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverName":"active-metadata-store","omagserverPlatformRootURL":"https://localhost:9443"},{"class":"IntegrationViewServiceConfig","viewServiceId":804,"viewServiceDevelopmentStatus":"IN_DEVELOPMENT","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.serverauthor.admin.ServerAuthorViewAdmin","viewServiceName":"Server Author","viewServiceFullName":"Server Author OMVS","viewServiceURLMarker":"server-author","viewServiceDescription":"Author server configuration.","viewServiceWiki":"https://egeria-project.org/services/omvs/server-author/overview/","viewServicePartnerService":"Administration Services","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverName":"active-metadata-store","omagserverPlatformRootURL":"https://localhost:9443"},{"class":"IntegrationViewServiceConfig","viewServiceId":812,"viewServiceDevelopmentStatus":"TECHNICAL_PREVIEW","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.actionauthor.admin.ActionAuthorAdmin","viewServiceName":"Action Author","viewServiceFullName":"Action Author OMVS","viewServiceURLMarker":"action-author","viewServiceDescription":"Maintain definitions of governance actions such as governance action processes and governance action types.","viewServiceWiki":"https://egeria-project.org/services/omvs/action-author/overview/","viewServicePartnerService":"Governance Program OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverName":"active-metadata-store","omagserverPlatformRootURL":"https://localhost:9443"},{"class":"IntegrationViewServiceConfig","viewServiceId":805,"viewServiceDevelopmentStatus":"TECHNICAL_PREVIEW","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.glossarybrowser.admin.GlossaryBrowserAdmin","viewServiceName":"Glossary Browser","viewServiceFullName":"Glossary Browser OMVS","viewServiceURLMarker":"glossary-browser","viewServiceDescription":"View glossary terms and categories within a glossary.","viewServiceWiki":"https://egeria-project.org/services/omvs/glossary-browser/overview/","viewServicePartnerService":"Asset Manager OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverName":"active-metadata-store","omagserverPlatformRootURL":"https://localhost:9443"},{"class":"IntegrationViewServiceConfig","viewServiceId":808,"viewServiceDevelopmentStatus":"IN_DEVELOPMENT","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.assetcatalog.admin.AssetCatalogAdmin","viewServiceName":"Asset Catalog","viewServiceFullName":"Asset Catalog OMVS","viewServiceURLMarker":"asset-catalog","viewServiceDescription":"Search and understand your assets.","viewServiceWiki":"https://egeria-project.org/services/omvs/asset-catalog/overview/","viewServicePartnerService":"Asset Consumer OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverName":"active-metadata-store","omagserverPlatformRootURL":"https://localhost:9443"},{"class":"IntegrationViewServiceConfig","viewServiceId":815,"viewServiceDevelopmentStatus":"IN_DEVELOPMENT","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.templatemanager.admin.TemplateManagerAdmin","viewServiceName":"Template Manager","viewServiceFullName":"Template Manager OMVS","viewServiceURLMarker":"template-manager","viewServiceDescription":"Retrieve and refine the templates for use during cataloguing.","viewServiceWiki":"https://egeria-project.org/services/omvs/template-manager/overview/","viewServicePartnerService":"Digital Architecture OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverName":"active-metadata-store","omagserverPlatformRootURL":"https://localhost:9443"},{"class":"IntegrationViewServiceConfig","viewServiceId":810,"viewServiceDevelopmentStatus":"TECHNICAL_PREVIEW","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.automatedcuration.admin.AutomatedCurationAdmin","viewServiceName":"Automated Curation","viewServiceFullName":"Automated Curation OMVS","viewServiceURLMarker":"automated-curation","viewServiceDescription":"Manage Egeria's automation services.","viewServiceWiki":"https://egeria-project.org/services/omvs/automated-curation/overview/","viewServicePartnerService":"Asset Owner OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverName":"active-metadata-store","omagserverPlatformRootURL":"https://localhost:9443"},{"class":"IntegrationViewServiceConfig","viewServiceId":800,"viewServiceDevelopmentStatus":"IN_DEVELOPMENT","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.glossaryauthor.admin.GlossaryAuthorViewAdmin","viewServiceName":"Glossary Author","viewServiceFullName":"Glossary Author OMVS","viewServiceURLMarker":"glossary-author","viewServiceDescription":"View Service for glossary authoring.","viewServiceWiki":"https://egeria-project.org/services/omvs/glossary-author/overview","viewServicePartnerService":"Subject Area OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverName":"active-metadata-store","omagserverPlatformRootURL":"https://localhost:9443"},{"class":"IntegrationViewServiceConfig","viewServiceId":813,"viewServiceDevelopmentStatus":"TECHNICAL_PREVIEW","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.projectmanager.admin.ProjectManagerAdmin","viewServiceName":"Project Manager","viewServiceFullName":"Project Manager OMVS","viewServiceURLMarker":"project-manager","viewServiceDescription":"Set up and manage projects.","viewServiceWiki":"https://egeria-project.org/services/omvs/project-manager/overview/","viewServicePartnerService":"Project Management OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverName":"active-metadata-store","omagserverPlatformRootURL":"https://localhost:9443"},{"class":"IntegrationViewServiceConfig","viewServiceId":806,"viewServiceDevelopmentStatus":"TECHNICAL_PREVIEW","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.glossarymanager.admin.GlossaryManagerAdmin","viewServiceName":"Glossary Manager","viewServiceFullName":"Glossary Manager OMVS","viewServiceURLMarker":"glossary-manager","viewServiceDescription":"Create glossary terms and organize them into categories as part of a controlled workflow process. It supports the editing glossary and multiple states.","viewServiceWiki":"https://egeria-project.org/services/omvs/glossary-manager/overview/","viewServicePartnerService":"Asset Manager OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverName":"active-metadata-store","omagserverPlatformRootURL":"https://localhost:9443"},{"class":"IntegrationViewServiceConfig","viewServiceId":817,"viewServiceDevelopmentStatus":"TECHNICAL_PREVIEW","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.validmetadata.admin.ValidMetadataAdmin","viewServiceName":"Valid Metadata","viewServiceFullName":"Valid Metadata OMVS","viewServiceURLMarker":"valid-metadata","viewServiceDescription":"Maintain and query valid values for metadata.","viewServiceWiki":"https://egeria-project.org/services/omvs/valid-metadata/overview/","viewServicePartnerService":"Digital Architecture OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverName":"active-metadata-store","omagserverPlatformRootURL":"https://localhost:9443"}],"repositoryServicesConfig":{"class":"RepositoryServicesConfig","auditLogConnections":[{"class":"Connection","headerVersion":0,"qualifiedName":"Console- default","displayName":"Console","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.repositoryservices.auditlogstore.console.ConsoleAuditLogStoreProvider"},"configurationProperties":{"supportedSeverities":["Unknown","Information","Decision","Action","Error","Exception","Security","Startup","Shutdown","Asset","Cohort"]}}]},"auditTrail":["Fri May 31 21:14:48 BST 2024 garygeeke updated configuration for local server's userId to viewnpa.","Fri May 31 21:14:49 BST 2024 garygeeke updated configuration for local server's description to A server that supplies REST API endpoints for User Interfaces and non-Java environments such as Python..","Fri May 31 21:14:52 BST 2024 garygeeke updated configuration for view services."]} \ No newline at end of file +{"class":"OMAGServerConfig","versionId":"V2.0","localServerId":"5bde1e04-07b4-428c-8127-7de339885885","localServerName":"view-server","localServerDescription":"A server that supplies REST API endpoints for User Interfaces and non-Java environments such as Python.","localServerURL":"https://localhost:9443","localServerUserId":"viewnpa","maxPageSize":1000,"viewServicesConfig":[{"class":"IntegrationViewServiceConfig","viewServiceId":818,"viewServiceDevelopmentStatus":"IN_DEVELOPMENT","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.classificationmanager.admin.ClassificationManagerAdmin","viewServiceName":"Classification Manager","viewServiceFullName":"Classification Manager OMVS","viewServiceURLMarker":"classification-manager","viewServiceDescription":"Maintain classifications and relationships used to organize open metadata elements.","viewServiceWiki":"https://egeria-project.org/services/omvs/valid-metadata/overview/","viewServicePartnerService":"Asset Manager OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverPlatformRootURL":"https://localhost:9443","omagserverName":"active-metadata-store"},{"class":"IntegrationViewServiceConfig","viewServiceId":809,"viewServiceDevelopmentStatus":"TECHNICAL_PREVIEW","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.collectionmanager.admin.CollectionManagerAdmin","viewServiceName":"Collection Manager","viewServiceFullName":"Collection Manager OMVS","viewServiceURLMarker":"collection-manager","viewServiceDescription":"Build collections of asset and other metadata.","viewServiceWiki":"https://egeria-project.org/services/omvs/collection-manager/overview/","viewServicePartnerService":"Digital Service OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverPlatformRootURL":"https://localhost:9443","omagserverName":"active-metadata-store"},{"class":"IntegrationViewServiceConfig","viewServiceId":814,"viewServiceDevelopmentStatus":"IN_DEVELOPMENT","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.datadiscovery.admin.DataDiscoveryAdmin","viewServiceName":"Data Discovery","viewServiceFullName":"Data Discovery OMVS","viewServiceURLMarker":"data-discovery","viewServiceDescription":"Define and search for new data resources.","viewServiceWiki":"https://egeria-project.org/services/omvs/data-discovery/overview/","viewServicePartnerService":"Asset Consumer OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverPlatformRootURL":"https://localhost:9443","omagserverName":"active-metadata-store"},{"class":"IntegrationViewServiceConfig","viewServiceId":811,"viewServiceDevelopmentStatus":"IN_DEVELOPMENT","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.feedbackmanager.admin.FeedbackManagerAdmin","viewServiceName":"Feedback Manager","viewServiceFullName":"Feedback Manager OMVS","viewServiceURLMarker":"feedback-manager","viewServiceDescription":"Work with note logs, comments, informal tags, ratings/reviews and likes.","viewServiceWiki":"https://egeria-project.org/services/omvs/feedback-manager/overview/","viewServicePartnerService":"Governance Action Framework Services","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverPlatformRootURL":"https://localhost:9443","omagserverName":"active-metadata-store"},{"class":"IntegrationViewServiceConfig","viewServiceId":816,"viewServiceDevelopmentStatus":"IN_DEVELOPMENT","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.referencedata.admin.ReferenceDataAdmin","viewServiceName":"Reference Data","viewServiceFullName":"Reference Data OMVS","viewServiceURLMarker":"reference-data","viewServiceDescription":"Work with code tables and associated reference data.","viewServiceWiki":"https://egeria-project.org/services/omvs/reference-data/overview/","viewServicePartnerService":"Digital Architecture OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverPlatformRootURL":"https://localhost:9443","omagserverName":"active-metadata-store"},{"class":"IntegrationViewServiceConfig","viewServiceId":807,"viewServiceDevelopmentStatus":"TECHNICAL_PREVIEW","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.myprofile.admin.MyProfileAdmin","viewServiceName":"My Profile","viewServiceFullName":"My Profile OMVS","viewServiceURLMarker":"my-profile","viewServiceDescription":"Manage information about the logged on user as well as their preferences.","viewServiceWiki":"https://egeria-project.org/services/omvs/my-profile/overview/","viewServicePartnerService":"Community Profile OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverPlatformRootURL":"https://localhost:9443","omagserverName":"active-metadata-store"},{"class":"IntegrationViewServiceConfig","viewServiceId":812,"viewServiceDevelopmentStatus":"TECHNICAL_PREVIEW","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.actionauthor.admin.ActionAuthorAdmin","viewServiceName":"Action Author","viewServiceFullName":"Action Author OMVS","viewServiceURLMarker":"action-author","viewServiceDescription":"Maintain definitions of governance actions such as governance action processes and governance action types.","viewServiceWiki":"https://egeria-project.org/services/omvs/action-author/overview/","viewServicePartnerService":"Governance Program OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverPlatformRootURL":"https://localhost:9443","omagserverName":"active-metadata-store"},{"class":"IntegrationViewServiceConfig","viewServiceId":805,"viewServiceDevelopmentStatus":"TECHNICAL_PREVIEW","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.glossarybrowser.admin.GlossaryBrowserAdmin","viewServiceName":"Glossary Browser","viewServiceFullName":"Glossary Browser OMVS","viewServiceURLMarker":"glossary-browser","viewServiceDescription":"View glossary terms and categories within a glossary.","viewServiceWiki":"https://egeria-project.org/services/omvs/glossary-browser/overview/","viewServicePartnerService":"Asset Manager OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverPlatformRootURL":"https://localhost:9443","omagserverName":"active-metadata-store"},{"class":"IntegrationViewServiceConfig","viewServiceId":808,"viewServiceDevelopmentStatus":"IN_DEVELOPMENT","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.assetcatalog.admin.AssetCatalogAdmin","viewServiceName":"Asset Catalog","viewServiceFullName":"Asset Catalog OMVS","viewServiceURLMarker":"asset-catalog","viewServiceDescription":"Search and understand your assets.","viewServiceWiki":"https://egeria-project.org/services/omvs/asset-catalog/overview/","viewServicePartnerService":"Asset Consumer OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverPlatformRootURL":"https://localhost:9443","omagserverName":"active-metadata-store"},{"class":"IntegrationViewServiceConfig","viewServiceId":815,"viewServiceDevelopmentStatus":"IN_DEVELOPMENT","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.templatemanager.admin.TemplateManagerAdmin","viewServiceName":"Template Manager","viewServiceFullName":"Template Manager OMVS","viewServiceURLMarker":"template-manager","viewServiceDescription":"Retrieve and refine the templates for use during cataloguing.","viewServiceWiki":"https://egeria-project.org/services/omvs/template-manager/overview/","viewServicePartnerService":"Digital Architecture OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverPlatformRootURL":"https://localhost:9443","omagserverName":"active-metadata-store"},{"class":"IntegrationViewServiceConfig","viewServiceId":810,"viewServiceDevelopmentStatus":"TECHNICAL_PREVIEW","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.automatedcuration.admin.AutomatedCurationAdmin","viewServiceName":"Automated Curation","viewServiceFullName":"Automated Curation OMVS","viewServiceURLMarker":"automated-curation","viewServiceDescription":"Manage Egeria's automation services.","viewServiceWiki":"https://egeria-project.org/services/omvs/automated-curation/overview/","viewServicePartnerService":"Asset Owner OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverPlatformRootURL":"https://localhost:9443","omagserverName":"active-metadata-store"},{"class":"IntegrationViewServiceConfig","viewServiceId":813,"viewServiceDevelopmentStatus":"TECHNICAL_PREVIEW","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.projectmanager.admin.ProjectManagerAdmin","viewServiceName":"Project Manager","viewServiceFullName":"Project Manager OMVS","viewServiceURLMarker":"project-manager","viewServiceDescription":"Set up and manage projects.","viewServiceWiki":"https://egeria-project.org/services/omvs/project-manager/overview/","viewServicePartnerService":"Project Management OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverPlatformRootURL":"https://localhost:9443","omagserverName":"active-metadata-store"},{"class":"IntegrationViewServiceConfig","viewServiceId":806,"viewServiceDevelopmentStatus":"TECHNICAL_PREVIEW","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.glossarymanager.admin.GlossaryManagerAdmin","viewServiceName":"Glossary Manager","viewServiceFullName":"Glossary Manager OMVS","viewServiceURLMarker":"glossary-manager","viewServiceDescription":"Create glossary terms and organize them into categories as part of a controlled workflow process. It supports the editing glossary and multiple states.","viewServiceWiki":"https://egeria-project.org/services/omvs/glossary-manager/overview/","viewServicePartnerService":"Asset Manager OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverPlatformRootURL":"https://localhost:9443","omagserverName":"active-metadata-store"},{"class":"IntegrationViewServiceConfig","viewServiceId":817,"viewServiceDevelopmentStatus":"TECHNICAL_PREVIEW","viewServiceAdminClass":"org.odpi.openmetadata.viewservices.validmetadata.admin.ValidMetadataAdmin","viewServiceName":"Valid Metadata","viewServiceFullName":"Valid Metadata OMVS","viewServiceURLMarker":"valid-metadata","viewServiceDescription":"Maintain and query valid values for metadata.","viewServiceWiki":"https://egeria-project.org/services/omvs/valid-metadata/overview/","viewServicePartnerService":"Digital Architecture OMAS","viewServiceOperationalStatus":"ENABLED","resourceEndpoints":[{"class":"ResourceEndpointConfig","resourceCategory":"Platform","description":"This is the default OMAG Server Platform.","platformRootURL":"https://localhost:9443","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with XTDB repository and supporting Apache Kafka notifications.","serverName":"active-metadata-store","serverInstanceName":"Active Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Metadata server with in-memory repository and no event notifications.","serverName":"simple-metadata-store","serverInstanceName":"Simple Metadata Access Store","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Integration daemon supporting the synchronization of metadata with third party platforms and tools.","serverName":"integration-daemon","serverInstanceName":"Integration Daemon","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"Engine host server running the AssetSurvey and Asset Governance governance engines.","serverName":"engine-host","serverInstanceName":"Engine Host","platformName":"Platform:9443"},{"class":"ResourceEndpointConfig","resourceCategory":"Server","description":"View server providing REST API support to user interfaces and non-Java environments.","serverName":"view-server","serverInstanceName":"View Server","platformName":"Platform:9443"}],"omagserverPlatformRootURL":"https://localhost:9443","omagserverName":"active-metadata-store"}],"repositoryServicesConfig":{"class":"RepositoryServicesConfig","auditLogConnections":[{"class":"Connection","headerVersion":0,"qualifiedName":"Console- default","displayName":"Console","connectorType":{"class":"ConnectorType","headerVersion":0,"connectorProviderClassName":"org.odpi.openmetadata.adapters.repositoryservices.auditlogstore.console.ConsoleAuditLogStoreProvider"},"configurationProperties":{"supportedSeverities":["Unknown","Information","Decision","Action","Error","Exception","Security","Startup","Shutdown","Asset","Cohort"]}}]},"auditTrail":["Thu Jun 06 08:28:54 BST 2024 garygeeke updated configuration for local server's userId to viewnpa.","Thu Jun 06 08:28:54 BST 2024 garygeeke updated configuration for local server's description to A server that supplies REST API endpoints for User Interfaces and non-Java environments such as Python..","Thu Jun 06 08:28:54 BST 2024 garygeeke updated configuration for view services."]} \ No newline at end of file diff --git a/open-metadata-resources/open-metadata-reports/component-id-report/build.gradle b/open-metadata-resources/open-metadata-reports/component-id-report/build.gradle index b2495312a71..b58a0692cb1 100644 --- a/open-metadata-resources/open-metadata-reports/component-id-report/build.gradle +++ b/open-metadata-resources/open-metadata-reports/component-id-report/build.gradle @@ -11,7 +11,6 @@ plugins { dependencies { implementation project(':open-metadata-implementation:frameworks:audit-log-framework') implementation project(':open-metadata-implementation:frameworks:open-connector-framework') - runtimeOnly project(':open-metadata-implementation:frameworks:open-discovery-framework') runtimeOnly project(':open-metadata-implementation:frameworks:governance-action-framework') runtimeOnly project(':open-metadata-implementation:frameworks:survey-action-framework') implementation project(':open-metadata-implementation:repository-services:repository-services-apis') diff --git a/open-metadata-resources/open-metadata-samples/README.md b/open-metadata-resources/open-metadata-samples/README.md index 26f4cf9681b..4b2152cec6a 100644 --- a/open-metadata-resources/open-metadata-samples/README.md +++ b/open-metadata-resources/open-metadata-samples/README.md @@ -5,15 +5,13 @@ The open metadata samples illustrate how to use the various APIs of Egeria. -* [Open Metadata Access Services (OMASs) samples](access-services-samples) - illustrations of how to run each of -the access services. +* [Open Metadata Access Services (OMASs) samples](access-services-samples) - illustrations of how to call some of the access services. -* [Open Metadata Security samples](open-metadata-security-samples) - illustrations of how to -implement the Open Metadata Security Connectors. - -* [Postman REST API scripts for ODPi Egeria](postman-rest-samples) - collections of pre-canned calls to Egeria's REST APIs. +* [Admin Services samples](admin-services-samples) - illustrations of how to call some of the admin services. +* [Open Metadata Security samples](open-metadata-security-samples) - illustrations of how to implement the Open Metadata Security Connectors. +* [Sample Metadata](sample-metadata) - illustrations of how to implement Open Metadata Archives. ---- * Return to [open-metadata-resources](..) diff --git a/open-metadata-resources/open-metadata-samples/governance-services-sample/README.md b/open-metadata-resources/open-metadata-samples/governance-services-sample/README.md deleted file mode 100644 index 3cc6a94809a..00000000000 --- a/open-metadata-resources/open-metadata-samples/governance-services-sample/README.md +++ /dev/null @@ -1,13 +0,0 @@ - - - - -# Governance Services Samples - - - - - ----- -License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), -Copyright Contributors to the ODPi Egeria project. \ No newline at end of file diff --git a/open-metadata-resources/open-metadata-samples/governance-services-sample/build.gradle b/open-metadata-resources/open-metadata-samples/governance-services-sample/build.gradle deleted file mode 100644 index 02b97cdc7af..00000000000 --- a/open-metadata-resources/open-metadata-samples/governance-services-sample/build.gradle +++ /dev/null @@ -1,22 +0,0 @@ -/* - * SPDX-License-Identifier: Apache-2.0 - * Copyright Contributors to the ODPi Egeria project. - */ - - -dependencies { - implementation project(':open-metadata-implementation:frameworks:open-connector-framework') - implementation project(':open-metadata-implementation:adapters:open-connectors:data-store-connectors:file-connectors:basic-file-connector') - implementation project(':open-metadata-implementation:frameworks:audit-log-framework') - implementation project(':open-metadata-implementation:frameworks:open-discovery-framework') - implementation project(':open-metadata-implementation:adapters:open-connectors:data-store-connectors:file-connectors:csv-file-connector') - implementation 'ch.qos.logback:logback-classic' - compileOnly 'com.fasterxml.jackson.core:jackson-annotations' - -} - -description = 'Governance services sample' - -java { - withJavadocJar() -} diff --git a/open-metadata-resources/open-metadata-samples/governance-services-sample/src/main/java/org/odpi/openmetadata/samples/governanceengine/discoveryservices/DropFootWeeklyMeasurementsDiscoveryService.java b/open-metadata-resources/open-metadata-samples/governance-services-sample/src/main/java/org/odpi/openmetadata/samples/governanceengine/discoveryservices/DropFootWeeklyMeasurementsDiscoveryService.java deleted file mode 100644 index 15b489a71da..00000000000 --- a/open-metadata-resources/open-metadata-samples/governance-services-sample/src/main/java/org/odpi/openmetadata/samples/governanceengine/discoveryservices/DropFootWeeklyMeasurementsDiscoveryService.java +++ /dev/null @@ -1,254 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.samples.governanceengine.discoveryservices; - -import org.odpi.openmetadata.adapters.connectors.datastore.csvfile.CSVFileStoreConnector; -import org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException; -import org.odpi.openmetadata.frameworks.discovery.DiscoveryAnnotationStore; -import org.odpi.openmetadata.frameworks.discovery.DiscoveryService; -import org.odpi.openmetadata.frameworks.discovery.ffdc.DiscoveryServiceException; -import org.odpi.openmetadata.frameworks.discovery.properties.*; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - - -/** - * CSVDiscoveryService is a discovery service implementation for analysing the weekly measurements for the drop foot clinical trial. - */ -public class DropFootWeeklyMeasurementsDiscoveryService extends DiscoveryService -{ - private final static String STRING_TYPE_NAME = "string"; - private final static String CHAR_TYPE_NAME = "char"; - private final static String DATE_TYPE_NAME = "date"; - private final static String INT_TYPE_NAME = "int"; - private final static String LONG_TYPE_NAME = "long"; - private final static String BOOLEAN_TYPE_NAME = "boolean"; - private final static String FLOAT_TYPE_NAME = "float"; - private final static String BOOLEAN_UC_TRUE = "TRUE"; - private final static String BOOLEAN_LC_TRUE = "true"; - private final static String BOOLEAN_UC_FALSE = "FALSE"; - private final static String BOOLEAN_LC_FALSE = "false"; - - - - /** - * Return the best guess for the data field type. - * - * @param existingType current type guess - * @param newFieldValue next field value to process - * @return new best guess - */ - private String getDataFieldType(String existingType, String newFieldValue) - { - if (STRING_TYPE_NAME.equals(existingType)) - { - return STRING_TYPE_NAME; - } - - if (newFieldValue == null) - { - return existingType; - } - - if ((BOOLEAN_LC_TRUE.equals(newFieldValue)) || - (BOOLEAN_UC_TRUE.equals(newFieldValue)) || - (BOOLEAN_LC_FALSE.equals(newFieldValue)) || - (BOOLEAN_UC_FALSE.equals(newFieldValue))) - - { - if ((existingType == null) || (existingType.equals(BOOLEAN_TYPE_NAME))) - { - return BOOLEAN_TYPE_NAME; - } - else - { - return STRING_TYPE_NAME; - } - } - return STRING_TYPE_NAME; - } - - - /** - * Return the updated value count for this column. - * - * @param existingValueCount current value count - * @param newFieldValue next field value to process - * @return new value count - */ - private Map getValueCount(Map existingValueCount, String newFieldValue) - { - if (existingValueCount == null) - { - Map newValueCount = new HashMap<>(); - - newValueCount.put(newFieldValue, 1); - - return newValueCount; - } - - Integer countForValue = existingValueCount.get(newFieldValue); - - if (countForValue == null) - { - existingValueCount.put(newFieldValue, 1); - } - else - { - existingValueCount.put(newFieldValue, countForValue + 1); - } - - return existingValueCount; - } - - - /** - * Return the updated value list. - * - * @param existingValueList existing value list - * @param newFieldValue next field value to process - * @return updated value list - */ - private List getValueList(List existingValueList, String newFieldValue) - { - if (existingValueList == null) - { - List newValueList = new ArrayList<>(); - - newValueList.add(newFieldValue); - - return newValueList; - } - - if (! existingValueList.contains(newFieldValue)) - { - existingValueList.add(newFieldValue); - } - - return existingValueList; - } - - - /** - * Indicates that the discovery service is completely configured and can begin processing. - * - * @throws DiscoveryServiceException there is a problem within the discovery service. - */ - @Override - public void start() throws ConnectorCheckedException - { - final String methodName = "start"; - - super.start(); - - try - { - CSVFileStoreConnector assetConnector = (CSVFileStoreConnector)discoveryContext.getAssetStore().getConnectorToAsset(); - DiscoveryAnnotationStore annotationStore = discoveryContext.getAnnotationStore(); - int size = 0; - int delimiterCount = 0; - long recordCount = assetConnector.getRecordCount(); - - SchemaAnalysisAnnotation schemaAnnotation = new SchemaAnalysisAnnotation(); - - schemaAnnotation.setSchemaName("CSV"); - schemaAnnotation.setSchemaTypeName("TabularSchemaTypeProperties"); - schemaAnnotation.setAnnotationStatus(AnnotationStatus.NEW_ANNOTATION); - - String schemaAnnotationGUID = annotationStore.addAnnotationToDiscoveryReport(schemaAnnotation); - - List columnNames = assetConnector.getColumnNames(); - Map dataFields = new HashMap<>(); - Map dataProfiles = new HashMap<>(); - - if (columnNames != null) - { - int position = 0; - - for (String columnName : columnNames) - { - if (columnName != null) - { - DataField dataField = new DataField(); - - dataField.setDataFieldPosition(position); - dataField.setDataFieldName(columnName); - dataFields.put(position, dataField); - - DataProfileAnnotation dataProfile = new DataProfileAnnotation(); - - dataProfiles.put(position, dataProfile); - - size = size + columnName.length(); - position++; - } - } - - if (position > 0) - { - delimiterCount = position - 1; - } - - size = size + delimiterCount; - - for (int recordNumber=0; recordNumber < recordCount ; recordNumber++) - { - List recordValues = assetConnector.readRecord(recordNumber); - - if ((recordValues != null) && (! recordValues.isEmpty())) - { - int columnPosition = 0; - int recordLength = 0; - - for (String fieldValue : recordValues) - { - DataField dataField = dataFields.get(columnPosition); - DataProfileAnnotation dataProfile = dataProfiles.get(columnPosition); - - dataField.setDataFieldType(this.getDataFieldType(dataField.getDataFieldType(), fieldValue)); - - dataProfile.setValueCount(this.getValueCount(dataProfile.getValueCount(), fieldValue)); - dataProfile.setValueList(this.getValueList(dataProfile.getValueList(), fieldValue)); - - recordLength = recordLength + fieldValue.length(); - - columnPosition++; - } - - size = size + recordLength + delimiterCount; - } - } - - for (int columnNumber=0 ; columnNumber < columnNames.size(); columnNumber++) - { - String dataFieldGUID = annotationStore.addDataFieldToDiscoveryReport(schemaAnnotationGUID, dataFields.get(columnNumber)); - - annotationStore.addAnnotationToDataField(dataFieldGUID, dataProfiles.get(columnNumber)); - } - } - - DataSourcePhysicalStatusAnnotation measurementAnnotation = new DataSourcePhysicalStatusAnnotation(); - Map measurementProperties = new HashMap<>(); - - measurementProperties.put("FileName", assetConnector.getFileName()); - measurementProperties.put("RecordCount", Long.toString(recordCount)); - - measurementAnnotation.setModifiedTime(assetConnector.getLastUpdateDate()); - measurementAnnotation.setDataSourceProperties(measurementProperties); - measurementAnnotation.setSize(size); - - annotationStore.addAnnotationToDiscoveryReport(measurementAnnotation); - } - catch (ConnectorCheckedException error) - { - throw error; - } - catch (Throwable error) - { - super.handleUnexpectedException(methodName, error); - } - } -} diff --git a/open-metadata-resources/open-metadata-samples/governance-services-sample/src/main/java/org/odpi/openmetadata/samples/governanceengine/discoveryservices/DropFootWeeklyMeasurementsDiscoveryServiceProvider.java b/open-metadata-resources/open-metadata-samples/governance-services-sample/src/main/java/org/odpi/openmetadata/samples/governanceengine/discoveryservices/DropFootWeeklyMeasurementsDiscoveryServiceProvider.java deleted file mode 100644 index 38feb944e54..00000000000 --- a/open-metadata-resources/open-metadata-samples/governance-services-sample/src/main/java/org/odpi/openmetadata/samples/governanceengine/discoveryservices/DropFootWeeklyMeasurementsDiscoveryServiceProvider.java +++ /dev/null @@ -1,25 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.samples.governanceengine.discoveryservices; - -import org.odpi.openmetadata.frameworks.discovery.DiscoveryServiceProvider; - -/** - * DropFootWeeklyMeasurementsDiscoveryServiceProvider provides the connector provider for the Discovery Service - * that validates the weekly measurements file that the hospitals supply - */ -public class DropFootWeeklyMeasurementsDiscoveryServiceProvider extends DiscoveryServiceProvider -{ - /** - * Constructor used to initialize the ConnectorProviderBase with the Java class name of the specific - * OMRS Connector implementation. - */ - public DropFootWeeklyMeasurementsDiscoveryServiceProvider() - { - super(); - - Class connectorClass = DropFootWeeklyMeasurementsDiscoveryService.class; - - super.setConnectorClassName(connectorClass.getName()); - } -} diff --git a/open-metadata-resources/open-metadata-samples/governance-services-sample/src/main/java/org/odpi/openmetadata/samples/governanceengine/discoveryservices/ValidatePatientRecordDiscoveryService.java b/open-metadata-resources/open-metadata-samples/governance-services-sample/src/main/java/org/odpi/openmetadata/samples/governanceengine/discoveryservices/ValidatePatientRecordDiscoveryService.java deleted file mode 100644 index 3f8bfc8dadd..00000000000 --- a/open-metadata-resources/open-metadata-samples/governance-services-sample/src/main/java/org/odpi/openmetadata/samples/governanceengine/discoveryservices/ValidatePatientRecordDiscoveryService.java +++ /dev/null @@ -1,254 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.samples.governanceengine.discoveryservices; - -import org.odpi.openmetadata.adapters.connectors.datastore.csvfile.CSVFileStoreConnector; -import org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException; -import org.odpi.openmetadata.frameworks.discovery.DiscoveryAnnotationStore; -import org.odpi.openmetadata.frameworks.discovery.DiscoveryService; -import org.odpi.openmetadata.frameworks.discovery.ffdc.DiscoveryServiceException; -import org.odpi.openmetadata.frameworks.discovery.properties.*; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - - -/** - * ValidatePatientRecordDiscoveryService is a discovery service implementation for analysing patient records. - */ -public class ValidatePatientRecordDiscoveryService extends DiscoveryService -{ - private final static String STRING_TYPE_NAME = "string"; - private final static String CHAR_TYPE_NAME = "char"; - private final static String DATE_TYPE_NAME = "date"; - private final static String INT_TYPE_NAME = "int"; - private final static String LONG_TYPE_NAME = "long"; - private final static String BOOLEAN_TYPE_NAME = "boolean"; - private final static String FLOAT_TYPE_NAME = "float"; - private final static String BOOLEAN_UC_TRUE = "TRUE"; - private final static String BOOLEAN_LC_TRUE = "true"; - private final static String BOOLEAN_UC_FALSE = "FALSE"; - private final static String BOOLEAN_LC_FALSE = "false"; - - - - /** - * Return the best guess for the data field type. - * - * @param existingType current type guess - * @param newFieldValue next field value to process - * @return new best guess - */ - private String getDataFieldType(String existingType, String newFieldValue) - { - if (STRING_TYPE_NAME.equals(existingType)) - { - return STRING_TYPE_NAME; - } - - if (newFieldValue == null) - { - return existingType; - } - - if ((BOOLEAN_LC_TRUE.equals(newFieldValue)) || - (BOOLEAN_UC_TRUE.equals(newFieldValue)) || - (BOOLEAN_LC_FALSE.equals(newFieldValue)) || - (BOOLEAN_UC_FALSE.equals(newFieldValue))) - - { - if ((existingType == null) || (existingType.equals(BOOLEAN_TYPE_NAME))) - { - return BOOLEAN_TYPE_NAME; - } - else - { - return STRING_TYPE_NAME; - } - } - return STRING_TYPE_NAME; - } - - - /** - * Return the updated value count for this column. - * - * @param existingValueCount current value count - * @param newFieldValue next field value to process - * @return new value count - */ - private Map getValueCount(Map existingValueCount, String newFieldValue) - { - if (existingValueCount == null) - { - Map newValueCount = new HashMap<>(); - - newValueCount.put(newFieldValue, 1); - - return newValueCount; - } - - Integer countForValue = existingValueCount.get(newFieldValue); - - if (countForValue == null) - { - existingValueCount.put(newFieldValue, 1); - } - else - { - existingValueCount.put(newFieldValue, countForValue + 1); - } - - return existingValueCount; - } - - - /** - * Return the updated value list. - * - * @param existingValueList existing value list - * @param newFieldValue next field value to process - * @return updated value list - */ - private List getValueList(List existingValueList, String newFieldValue) - { - if (existingValueList == null) - { - List newValueList = new ArrayList<>(); - - newValueList.add(newFieldValue); - - return newValueList; - } - - if (! existingValueList.contains(newFieldValue)) - { - existingValueList.add(newFieldValue); - } - - return existingValueList; - } - - - /** - * Indicates that the discovery service is completely configured and can begin processing. - * - * @throws DiscoveryServiceException there is a problem within the discovery service. - */ - @Override - public void start() throws ConnectorCheckedException - { - final String methodName = "start"; - - super.start(); - - try - { - CSVFileStoreConnector assetConnector = (CSVFileStoreConnector)discoveryContext.getAssetStore().getConnectorToAsset(); - DiscoveryAnnotationStore annotationStore = discoveryContext.getAnnotationStore(); - int size = 0; - int delimiterCount = 0; - long recordCount = assetConnector.getRecordCount(); - - SchemaAnalysisAnnotation schemaAnnotation = new SchemaAnalysisAnnotation(); - - schemaAnnotation.setSchemaName("CSV"); - schemaAnnotation.setSchemaTypeName("TabularSchemaTypeProperties"); - schemaAnnotation.setAnnotationStatus(AnnotationStatus.NEW_ANNOTATION); - - String schemaAnnotationGUID = annotationStore.addAnnotationToDiscoveryReport(schemaAnnotation); - - List columnNames = assetConnector.getColumnNames(); - Map dataFields = new HashMap<>(); - Map dataProfiles = new HashMap<>(); - - if (columnNames != null) - { - int position = 0; - - for (String columnName : columnNames) - { - if (columnName != null) - { - DataField dataField = new DataField(); - - dataField.setDataFieldPosition(position); - dataField.setDataFieldName(columnName); - dataFields.put(position, dataField); - - DataProfileAnnotation dataProfile = new DataProfileAnnotation(); - - dataProfiles.put(position, dataProfile); - - size = size + columnName.length(); - position++; - } - } - - if (position > 0) - { - delimiterCount = position - 1; - } - - size = size + delimiterCount; - - for (int recordNumber=0; recordNumber < recordCount ; recordNumber++) - { - List recordValues = assetConnector.readRecord(recordNumber); - - if ((recordValues != null) && (! recordValues.isEmpty())) - { - int columnPosition = 0; - int recordLength = 0; - - for (String fieldValue : recordValues) - { - DataField dataField = dataFields.get(columnPosition); - DataProfileAnnotation dataProfile = dataProfiles.get(columnPosition); - - dataField.setDataFieldType(this.getDataFieldType(dataField.getDataFieldType(), fieldValue)); - - dataProfile.setValueCount(this.getValueCount(dataProfile.getValueCount(), fieldValue)); - dataProfile.setValueList(this.getValueList(dataProfile.getValueList(), fieldValue)); - - recordLength = recordLength + fieldValue.length(); - - columnPosition++; - } - - size = size + recordLength + delimiterCount; - } - } - - for (int columnNumber=0 ; columnNumber < columnNames.size(); columnNumber++) - { - String dataFieldGUID = annotationStore.addDataFieldToDiscoveryReport(schemaAnnotationGUID, dataFields.get(columnNumber)); - - annotationStore.addAnnotationToDataField(dataFieldGUID, dataProfiles.get(columnNumber)); - } - } - - DataSourcePhysicalStatusAnnotation measurementAnnotation = new DataSourcePhysicalStatusAnnotation(); - Map measurementProperties = new HashMap<>(); - - measurementProperties.put("FileName", assetConnector.getFileName()); - measurementProperties.put("RecordCount", Long.toString(recordCount)); - - measurementAnnotation.setModifiedTime(assetConnector.getLastUpdateDate()); - measurementAnnotation.setDataSourceProperties(measurementProperties); - measurementAnnotation.setSize(size); - - annotationStore.addAnnotationToDiscoveryReport(measurementAnnotation); - } - catch (ConnectorCheckedException error) - { - throw error; - } - catch (Throwable error) - { - super.handleUnexpectedException(methodName, error); - } - } -} diff --git a/open-metadata-resources/open-metadata-samples/governance-services-sample/src/main/java/org/odpi/openmetadata/samples/governanceengine/discoveryservices/ValidatePatientRecordDiscoveryServiceProvider.java b/open-metadata-resources/open-metadata-samples/governance-services-sample/src/main/java/org/odpi/openmetadata/samples/governanceengine/discoveryservices/ValidatePatientRecordDiscoveryServiceProvider.java deleted file mode 100644 index cb3cf80a941..00000000000 --- a/open-metadata-resources/open-metadata-samples/governance-services-sample/src/main/java/org/odpi/openmetadata/samples/governanceengine/discoveryservices/ValidatePatientRecordDiscoveryServiceProvider.java +++ /dev/null @@ -1,24 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ -/* Copyright Contributors to the ODPi Egeria project. */ -package org.odpi.openmetadata.samples.governanceengine.discoveryservices; - -import org.odpi.openmetadata.frameworks.discovery.DiscoveryServiceProvider; - -/** - * CSVDiscoveryServiceProvider provides the connector provider for the CSV Discovery Service - */ -public class ValidatePatientRecordDiscoveryServiceProvider extends DiscoveryServiceProvider -{ - /** - * Constructor used to initialize the ConnectorProviderBase with the Java class name of the specific - * OMRS Connector implementation. - */ - public ValidatePatientRecordDiscoveryServiceProvider() - { - super(); - - Class connectorClass = ValidatePatientRecordDiscoveryService.class; - - super.setConnectorClassName(connectorClass.getName()); - } -} diff --git a/open-metadata-resources/open-metadata-samples/sample-metadata/coco-metadata-archives/build.gradle b/open-metadata-resources/open-metadata-samples/sample-metadata/coco-metadata-archives/build.gradle index 170981c513c..a2ade15a732 100644 --- a/open-metadata-resources/open-metadata-samples/sample-metadata/coco-metadata-archives/build.gradle +++ b/open-metadata-resources/open-metadata-samples/sample-metadata/coco-metadata-archives/build.gradle @@ -17,7 +17,7 @@ dependencies { implementation project(':open-metadata-implementation:adapters:open-connectors:governance-action-connectors') implementation project(':open-metadata-implementation:frameworks:open-metadata-framework') implementation project(':open-metadata-implementation:frameworks:open-connector-framework') - runtimeOnly project(':open-metadata-implementation:frameworks:open-discovery-framework') + runtimeOnly project(':open-metadata-implementation:frameworks:survey-action-framework') implementation project(':open-metadata-implementation:frameworks:governance-action-framework') implementation project(':open-metadata-implementation:adapters:open-connectors:data-store-connectors:file-connectors:csv-file-connector') compileOnly 'com.fasterxml.jackson.core:jackson-annotations' diff --git a/open-metadata-resources/open-metadata-samples/sample-metadata/simple-catalogs/src/main/java/org/odpi/openmetadata/archiveutilities/simplecatalogs/catalogcontent/SimpleAPICatalogArchiveBuilder.java b/open-metadata-resources/open-metadata-samples/sample-metadata/simple-catalogs/src/main/java/org/odpi/openmetadata/archiveutilities/simplecatalogs/catalogcontent/SimpleAPICatalogArchiveBuilder.java index 1dda0d41853..d9674e5d022 100644 --- a/open-metadata-resources/open-metadata-samples/sample-metadata/simple-catalogs/src/main/java/org/odpi/openmetadata/archiveutilities/simplecatalogs/catalogcontent/SimpleAPICatalogArchiveBuilder.java +++ b/open-metadata-resources/open-metadata-samples/sample-metadata/simple-catalogs/src/main/java/org/odpi/openmetadata/archiveutilities/simplecatalogs/catalogcontent/SimpleAPICatalogArchiveBuilder.java @@ -171,7 +171,9 @@ public void fillBuilder() null); - String parameterGUID = archiveHelper.addSchemaAttribute(apiSchemaAttributeTypeName, + String parameterGUID = archiveHelper.addSchemaAttribute(assetGUID, + apiAssetTypeName, + apiSchemaAttributeTypeName, null, customerNoRequestQualifiedName, customerNoDisplayName, @@ -179,6 +181,7 @@ public void fillBuilder() customerNoDataType, customerNoLength, 0, + null, null); archiveHelper.addAttributeForSchemaType(requestGUID, parameterGUID); @@ -191,7 +194,9 @@ public void fillBuilder() true, null); - parameterGUID = archiveHelper.addSchemaAttribute(apiSchemaAttributeTypeName, + parameterGUID = archiveHelper.addSchemaAttribute(assetGUID, + apiAssetTypeName, + apiSchemaAttributeTypeName, null, customerNoResponseQualifiedName, customerNoDisplayName, @@ -199,11 +204,14 @@ public void fillBuilder() customerNoDataType, customerNoLength, 0, + null, null); archiveHelper.addAttributeForSchemaType(responseGUID, parameterGUID); - parameterGUID = archiveHelper.addSchemaAttribute(apiSchemaAttributeTypeName, + parameterGUID = archiveHelper.addSchemaAttribute(assetGUID, + apiAssetTypeName, + apiSchemaAttributeTypeName, null, customerNameQualifiedName, customerNameDisplayName, @@ -211,11 +219,14 @@ public void fillBuilder() customerNameDataType, customerNameLength, 1, + null, null); archiveHelper.addAttributeForSchemaType(responseGUID, parameterGUID); - parameterGUID = archiveHelper.addSchemaAttribute(apiSchemaAttributeTypeName, + parameterGUID = archiveHelper.addSchemaAttribute(assetGUID, + apiAssetTypeName, + apiSchemaAttributeTypeName, null, customerCardIdQualifiedName, customerCardIdDisplayName, @@ -223,6 +234,7 @@ public void fillBuilder() customerCardIdDataType, customerCardIdLength, 2, + null, null); archiveHelper.addAttributeForSchemaType(responseGUID, parameterGUID); diff --git a/open-metadata-resources/open-metadata-samples/sample-metadata/simple-catalogs/src/main/java/org/odpi/openmetadata/archiveutilities/simplecatalogs/catalogcontent/SimpleDataCatalogArchiveBuilder.java b/open-metadata-resources/open-metadata-samples/sample-metadata/simple-catalogs/src/main/java/org/odpi/openmetadata/archiveutilities/simplecatalogs/catalogcontent/SimpleDataCatalogArchiveBuilder.java index 049aa22882b..b3eeaf1f9f1 100644 --- a/open-metadata-resources/open-metadata-samples/sample-metadata/simple-catalogs/src/main/java/org/odpi/openmetadata/archiveutilities/simplecatalogs/catalogcontent/SimpleDataCatalogArchiveBuilder.java +++ b/open-metadata-resources/open-metadata-samples/sample-metadata/simple-catalogs/src/main/java/org/odpi/openmetadata/archiveutilities/simplecatalogs/catalogcontent/SimpleDataCatalogArchiveBuilder.java @@ -171,7 +171,9 @@ public void fillBuilder() null, null); - String relationalTableGUID = archiveHelper.addSchemaAttribute(relationalTableTypeName, + String relationalTableGUID = archiveHelper.addSchemaAttribute(databaseSchemaGUID, + databaseSchemaAssetTypeName, + relationalTableTypeName, relationalTableSchemaTypeName, customerTableQualifiedName, customerTableDisplayName, @@ -179,11 +181,14 @@ public void fillBuilder() null, 0, 0, + null, null); archiveHelper.addAttributeForSchemaType(topLevelSchemaTypeGUID, relationalTableGUID); - String relationalColumnGUID = archiveHelper.addSchemaAttribute(relationalColumnTypeName, + String relationalColumnGUID = archiveHelper.addSchemaAttribute(databaseSchemaGUID, + databaseSchemaAssetTypeName, + relationalColumnTypeName, null, customerIdQualifiedName, customerIdDisplayName, @@ -191,11 +196,14 @@ public void fillBuilder() customerIdDataType, customerIdLength, 0, + null, null); archiveHelper.addNestedSchemaAttribute(relationalTableGUID, relationalColumnGUID); - relationalColumnGUID = archiveHelper.addSchemaAttribute(relationalColumnTypeName, + relationalColumnGUID = archiveHelper.addSchemaAttribute(databaseSchemaGUID, + databaseSchemaAssetTypeName, + relationalColumnTypeName, null, customerNameQualifiedName, customerNameDisplayName, @@ -203,11 +211,14 @@ public void fillBuilder() customerNameDataType, customerNameLength, 1, + null, null); archiveHelper.addNestedSchemaAttribute(relationalTableGUID, relationalColumnGUID); - relationalColumnGUID = archiveHelper.addSchemaAttribute(relationalColumnTypeName, + relationalColumnGUID = archiveHelper.addSchemaAttribute(databaseSchemaGUID, + databaseSchemaAssetTypeName, + relationalColumnTypeName, null, customerStatusQualifiedName, customerStatusDisplayName, @@ -215,11 +226,14 @@ public void fillBuilder() customerStatusDataType, customerStatusLength, 2, + null, null); archiveHelper.addNestedSchemaAttribute(relationalTableGUID, relationalColumnGUID); - relationalColumnGUID = archiveHelper.addSchemaAttribute(relationalColumnTypeName, + relationalColumnGUID = archiveHelper.addSchemaAttribute(databaseSchemaGUID, + databaseSchemaAssetTypeName, + relationalColumnTypeName, null, customerCardIdQualifiedName, customerCardIdDisplayName, @@ -227,6 +241,7 @@ public void fillBuilder() customerCardIdDataType, customerCardIdLength, 3, + null, null); archiveHelper.addNestedSchemaAttribute(relationalTableGUID, relationalColumnGUID); diff --git a/open-metadata-resources/open-metadata-samples/sample-metadata/simple-catalogs/src/main/java/org/odpi/openmetadata/archiveutilities/simplecatalogs/catalogcontent/SimpleEventCatalogArchiveBuilder.java b/open-metadata-resources/open-metadata-samples/sample-metadata/simple-catalogs/src/main/java/org/odpi/openmetadata/archiveutilities/simplecatalogs/catalogcontent/SimpleEventCatalogArchiveBuilder.java index e7e6af8c78b..adae13de60a 100644 --- a/open-metadata-resources/open-metadata-samples/sample-metadata/simple-catalogs/src/main/java/org/odpi/openmetadata/archiveutilities/simplecatalogs/catalogcontent/SimpleEventCatalogArchiveBuilder.java +++ b/open-metadata-resources/open-metadata-samples/sample-metadata/simple-catalogs/src/main/java/org/odpi/openmetadata/archiveutilities/simplecatalogs/catalogcontent/SimpleEventCatalogArchiveBuilder.java @@ -161,7 +161,9 @@ public void fillBuilder() archiveHelper.addSchemaTypeOption(eventTypeListGUID, eventTypeGUID); - String eventAttributeGUID = archiveHelper.addSchemaAttribute(eventAttributeTypeName, + String eventAttributeGUID = archiveHelper.addSchemaAttribute(assetGUID, + topicAssetTypeName, + eventAttributeTypeName, null, customerIdQualifiedName, customerIdDisplayName, @@ -169,11 +171,14 @@ public void fillBuilder() customerIdDataType, customerIdLength, 0, + null, null); archiveHelper.addAttributeForSchemaType(eventTypeGUID, eventAttributeGUID); - eventAttributeGUID = archiveHelper.addSchemaAttribute(eventAttributeTypeName, + eventAttributeGUID = archiveHelper.addSchemaAttribute(assetGUID, + topicAssetTypeName, + eventAttributeTypeName, null, customerNameQualifiedName, customerNameDisplayName, @@ -181,11 +186,14 @@ public void fillBuilder() customerNameDataType, customerNameLength, 1, + null, null); archiveHelper.addAttributeForSchemaType(eventTypeGUID, eventAttributeGUID); - eventAttributeGUID = archiveHelper.addSchemaAttribute(eventAttributeTypeName, + eventAttributeGUID = archiveHelper.addSchemaAttribute(assetGUID, + topicAssetTypeName, + eventAttributeTypeName, null, customerStatusQualifiedName, customerStatusDisplayName, @@ -193,6 +201,7 @@ public void fillBuilder() customerStatusDataType, customerStatusLength, 2, + null, null); archiveHelper.addAttributeForSchemaType(eventTypeGUID, eventAttributeGUID); diff --git a/open-metadata-test/open-metadata-fvt/access-services-fvt/asset-consumer-fvt/build.gradle b/open-metadata-test/open-metadata-fvt/access-services-fvt/asset-consumer-fvt/build.gradle index b43feb30da9..4b06a2c45f5 100644 --- a/open-metadata-test/open-metadata-fvt/access-services-fvt/asset-consumer-fvt/build.gradle +++ b/open-metadata-test/open-metadata-fvt/access-services-fvt/asset-consumer-fvt/build.gradle @@ -26,7 +26,7 @@ dependencies { implementation project(':open-metadata-implementation:framework-services:ocf-metadata-management:ocf-metadata-client') implementation project(':open-metadata-test:open-metadata-fvt:fvt-utilities') compileOnly project(':open-metadata-implementation:framework-services:ocf-metadata-management:ocf-metadata-api') - testImplementation project(':open-metadata-distribution:open-metadata-assemblies') + testImplementation project(':open-metadata-distribution:omag-server-platform') testImplementation 'org.junit.jupiter:junit-jupiter-api' testImplementation 'org.junit.jupiter:junit-jupiter-engine' compileOnly 'com.fasterxml.jackson.core:jackson-annotations' @@ -46,7 +46,7 @@ java { // Local properties to use ext { - distdir="../../../../../../open-metadata-distribution/open-metadata-assemblies/build/unpacked/egeria-${project.version}-distribution.tar.gz" + distdir="../../../../../../open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-${project.version}-distribution.tar.gz" } @@ -55,17 +55,17 @@ sourceSets.test.java.srcDirs = [] sourceSets.test.groovy.srcDirs = ["src/test/java", "src/test/script"] // Initially we launch as an app -- though there may be a better way of running this in the existing jvm -task startPlatform(dependsOn: [':open-metadata-distribution:open-metadata-assemblies:unzip','cleanData','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { +task startPlatform(dependsOn: [':open-metadata-distribution:omag-server-platform:unzip','cleanData','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { // Start some external service executable = System.properties.'java.home' + '/bin/java' workingDir = layout.buildDirectory.dir('run') args = [ "-Dserver.port=10443", - "-Dloader.path=${distdir}/platform/lib", + "-Dloader.path=${distdir}/assembly/platform/lib", "-Dspringdoc.api-docs.enabled=false", "-Dspring.config.location=../../../../../../test.application.properties", "-jar", - "${distdir}/platform/omag-server-platform-${project.version}.jar" ] + "${distdir}/assembly/platform/omag-server-platform-${project.version}.jar" ] // Setting the output directories to be the same for ALL FVTs acts as a synchronization mechanism // - alternatively we need to ensure the server port is unique per test standardOutput = layout.buildDirectory.file("chassis.log") diff --git a/open-metadata-test/open-metadata-fvt/access-services-fvt/asset-manager-fvt/build.gradle b/open-metadata-test/open-metadata-fvt/access-services-fvt/asset-manager-fvt/build.gradle index 20eefdb2175..7161d851043 100644 --- a/open-metadata-test/open-metadata-fvt/access-services-fvt/asset-manager-fvt/build.gradle +++ b/open-metadata-test/open-metadata-fvt/access-services-fvt/asset-manager-fvt/build.gradle @@ -23,7 +23,7 @@ dependencies { implementation project(':open-metadata-implementation:common-services:ffdc-services') implementation project(':open-metadata-implementation:framework-services:ocf-metadata-management:ocf-metadata-client') implementation project(':open-metadata-test:open-metadata-fvt:fvt-utilities') - testImplementation project(':open-metadata-distribution:open-metadata-assemblies') + testImplementation project(':open-metadata-distribution:omag-server-platform') testImplementation 'org.junit.jupiter:junit-jupiter-api' testImplementation 'org.junit.jupiter:junit-jupiter-engine' compileOnly 'com.fasterxml.jackson.core:jackson-annotations' @@ -45,7 +45,7 @@ java { // Local properties to use ext { - distdir="../../../../../../open-metadata-distribution/open-metadata-assemblies/build/unpacked/egeria-${project.version}-distribution.tar.gz" + distdir="../../../../../../open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-${project.version}-distribution.tar.gz" } @@ -54,17 +54,17 @@ sourceSets.test.java.srcDirs = [] sourceSets.test.groovy.srcDirs = ["src/test/java", "src/test/script"] // Initially we launch as an app -- though there may be a better way of running this in the existing jvm -task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:open-metadata-assemblies:unzip','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { +task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:omag-server-platform:unzip','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { // Start some external service executable = System.properties.'java.home' + '/bin/java' workingDir = layout.buildDirectory.dir('run') args = [ "-Dserver.port=10444", - "-Dloader.path=${distdir}/platform/lib", + "-Dloader.path=${distdir}/assembly/platform/lib", "-Dspringdoc.api-docs.enabled=false", "-Dspring.config.location=../../../../../../test.application.properties", "-jar", - "${distdir}/platform/omag-server-platform-${project.version}.jar" ] + "${distdir}/assembly/platform/omag-server-platform-${project.version}.jar" ] // Setting the output directories to be the same for ALL FVTs acts as a synchronization mechanism // - alternatively we need to ensure the server port is unique per test standardOutput = layout.buildDirectory.file("chassis.log") diff --git a/open-metadata-test/open-metadata-fvt/access-services-fvt/asset-owner-fvt/build.gradle b/open-metadata-test/open-metadata-fvt/access-services-fvt/asset-owner-fvt/build.gradle index e27d1179510..f0cf72b053c 100644 --- a/open-metadata-test/open-metadata-fvt/access-services-fvt/asset-owner-fvt/build.gradle +++ b/open-metadata-test/open-metadata-fvt/access-services-fvt/asset-owner-fvt/build.gradle @@ -25,7 +25,7 @@ dependencies { compileOnly project(':open-metadata-implementation:framework-services:ocf-metadata-management:ocf-metadata-api') compileOnly project(':open-metadata-implementation:framework-services:gaf-metadata-management:gaf-metadata-api') implementation project(':open-metadata-implementation:framework-services:gaf-metadata-management:gaf-metadata-client') - testImplementation project(':open-metadata-distribution:open-metadata-assemblies') + testImplementation project(':open-metadata-distribution:omag-server-platform') testImplementation 'org.junit.jupiter:junit-jupiter-api' testImplementation 'org.junit.jupiter:junit-jupiter-engine' testImplementation localGroovy() @@ -46,7 +46,7 @@ java { // Local properties to use ext { - distdir="../../../../../../open-metadata-distribution/open-metadata-assemblies/build/unpacked/egeria-${project.version}-distribution.tar.gz" + distdir="../../../../../../open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-${project.version}-distribution.tar.gz" } @@ -55,16 +55,16 @@ sourceSets.test.java.srcDirs = [] sourceSets.test.groovy.srcDirs = ["src/test/java", "src/test/script"] // Initially we launch as an app -- though there may be a better way of running this in the existing jvm -task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:open-metadata-assemblies:unzip','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { +task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:omag-server-platform:unzip','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { // Start some external service executable = System.properties.'java.home' + '/bin/java' workingDir = layout.buildDirectory.dir('run') args = [ "-Dserver.port=10445", - "-Dloader.path=${distdir}/platform/lib", + "-Dloader.path=${distdir}/assembly/platform/lib", "-Dspring.config.location=../../../../../../test.application.properties", "-jar", - "${distdir}/platform/omag-server-platform-${project.version}.jar" ] + "${distdir}/assembly/platform/omag-server-platform-${project.version}.jar" ] // Setting the output directories to be the same for ALL FVTs acts as a synchronization mechanism // - alternatively we need to ensure the server port is unique per test standardOutput = layout.buildDirectory.file("chassis.log") diff --git a/open-metadata-test/open-metadata-fvt/access-services-fvt/community-profile-fvt/build.gradle b/open-metadata-test/open-metadata-fvt/access-services-fvt/community-profile-fvt/build.gradle index 7939fcc805f..ab1bd713cd8 100644 --- a/open-metadata-test/open-metadata-fvt/access-services-fvt/community-profile-fvt/build.gradle +++ b/open-metadata-test/open-metadata-fvt/access-services-fvt/community-profile-fvt/build.gradle @@ -26,7 +26,7 @@ dependencies { implementation project(':open-metadata-implementation:framework-services:gaf-metadata-management:gaf-metadata-client') implementation project(':open-metadata-test:open-metadata-fvt:fvt-utilities') compileOnly 'com.fasterxml.jackson.core:jackson-annotations' - testImplementation project(':open-metadata-distribution:open-metadata-assemblies') + testImplementation project(':open-metadata-distribution:omag-server-platform') testImplementation 'org.junit.jupiter:junit-jupiter-api' testImplementation 'org.junit.jupiter:junit-jupiter-engine' testImplementation localGroovy() @@ -47,7 +47,7 @@ java { // Local properties to use ext { - distdir="../../../../../../open-metadata-distribution/open-metadata-assemblies/build/unpacked/egeria-${project.version}-distribution.tar.gz" + distdir="../../../../../../open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-${project.version}-distribution.tar.gz" } @@ -56,16 +56,16 @@ sourceSets.test.java.srcDirs = [] sourceSets.test.groovy.srcDirs = ["src/test/java", "src/test/script"] // Initially we launch as an app -- though there may be a better way of running this in the existing jvm -task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:open-metadata-assemblies:unzip','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { +task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:omag-server-platform:unzip','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { // Start some external service executable = System.properties.'java.home' + '/bin/java' workingDir = layout.buildDirectory.dir('run') args = [ "-Dserver.port=10441", - "-Dloader.path=${distdir}/platform/lib", + "-Dloader.path=${distdir}/assembly/platform/lib", "-Dspring.config.location=../../../../../../test.application.properties", "-jar", - "${distdir}/platform/omag-server-platform-${project.version}.jar" ] + "${distdir}/assembly/platform/omag-server-platform-${project.version}.jar" ] // Setting the output directories to be the same for ALL FVTs acts as a synchronization mechanism // - alternatively we need to ensure the server port is unique per test standardOutput = layout.buildDirectory.file("chassis.log") diff --git a/open-metadata-test/open-metadata-fvt/access-services-fvt/data-engine-fvt/build.gradle b/open-metadata-test/open-metadata-fvt/access-services-fvt/data-engine-fvt/build.gradle index 087ee36f87a..c188cab502c 100644 --- a/open-metadata-test/open-metadata-fvt/access-services-fvt/data-engine-fvt/build.gradle +++ b/open-metadata-test/open-metadata-fvt/access-services-fvt/data-engine-fvt/build.gradle @@ -23,7 +23,7 @@ dependencies { implementation project(':open-metadata-implementation:framework-services:ocf-metadata-management:ocf-metadata-client') implementation project(':open-metadata-test:open-metadata-fvt:fvt-utilities') implementation project(':open-metadata-implementation:common-services:ffdc-services') - testImplementation project (":open-metadata-distribution:open-metadata-assemblies") + testImplementation project (":open-metadata-distribution:omag-server-platform") testCompileOnly 'com.fasterxml.jackson.core:jackson-annotations' testImplementation ("org.junit.jupiter:junit-jupiter-api") testImplementation ("org.junit.jupiter:junit-jupiter-params") @@ -50,7 +50,7 @@ def port = applicationProperties.getProperty('server.port') // Local properties to use ext { - distdir="../../../../../../open-metadata-distribution/open-metadata-assemblies/build/unpacked/egeria-${project.version}-distribution.tar.gz" + distdir="../../../../../../open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-${project.version}-distribution.tar.gz" } @@ -60,15 +60,15 @@ sourceSets.test.groovy.srcDirs = ["src/test/java", "src/test/script"] // Initially we launch as an app -- though there may be a better way of running this in the existing jvm -task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:open-metadata-assemblies:unzip','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { +task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:omag-server-platform:unzip','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { // Start some external service executable = System.properties.'java.home' + '/bin/java' workingDir = layout.buildDirectory.dir('run') args = [ "-Dserver.port=" + port, - "-Dloader.path=${distdir}/platform/lib", + "-Dloader.path=${distdir}/assembly/platform/lib", "-Dspring.config.location=../../../../../../test.application.properties", "-jar", - "${distdir}/platform/omag-server-platform-${project.version}.jar" ] + "${distdir}/assembly/platform/omag-server-platform-${project.version}.jar" ] // Setting the output directories to be the same for ALL FVTs acts as a synchronization mechanism // - alternatively we need to ensure the server port is unique per test standardOutput = layout.buildDirectory.file("chassis.log") diff --git a/open-metadata-test/open-metadata-fvt/access-services-fvt/data-manager-fvt/build.gradle b/open-metadata-test/open-metadata-fvt/access-services-fvt/data-manager-fvt/build.gradle index 4c84058ad84..4e181491a4a 100644 --- a/open-metadata-test/open-metadata-fvt/access-services-fvt/data-manager-fvt/build.gradle +++ b/open-metadata-test/open-metadata-fvt/access-services-fvt/data-manager-fvt/build.gradle @@ -23,7 +23,7 @@ dependencies { implementation project(':open-metadata-implementation:framework-services:ocf-metadata-management:ocf-metadata-client') implementation project(':open-metadata-test:open-metadata-fvt:fvt-utilities') compileOnly 'com.fasterxml.jackson.core:jackson-annotations' - testImplementation project(':open-metadata-distribution:open-metadata-assemblies') + testImplementation project(':open-metadata-distribution:omag-server-platform') testImplementation 'org.junit.jupiter:junit-jupiter-api' testImplementation 'org.junit.jupiter:junit-jupiter-engine' testImplementation localGroovy() @@ -45,7 +45,7 @@ java { // Local properties to use ext { - distdir="../../../../../../open-metadata-distribution/open-metadata-assemblies/build/unpacked/egeria-${project.version}-distribution.tar.gz" + distdir="../../../../../../open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-${project.version}-distribution.tar.gz" } @@ -54,16 +54,16 @@ sourceSets.test.java.srcDirs = [] sourceSets.test.groovy.srcDirs = ["src/test/java", "src/test/script"] // Initially we launch as an app -- though there may be a better way of running this in the existing jvm -task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:open-metadata-assemblies:unzip','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { +task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:omag-server-platform:unzip','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { // Start some external service executable = System.properties.'java.home' + '/bin/java' workingDir = layout.buildDirectory.dir('run') args = [ "-Dserver.port=10446", - "-Dloader.path=${distdir}/platform/lib", + "-Dloader.path=${distdir}/assembly/platform/lib", "-Dspring.config.location=../../../../../../test.application.properties", "-jar", - "${distdir}/platform/omag-server-platform-${project.version}.jar" ] + "${distdir}/assembly/platform/omag-server-platform-${project.version}.jar" ] // Setting the output directories to be the same for ALL FVTs acts as a synchronization mechanism // - alternatively we need to ensure the server port is unique per test standardOutput = layout.buildDirectory.file("chassis.log") diff --git a/open-metadata-test/open-metadata-fvt/access-services-fvt/digital-architecture-fvt/build.gradle b/open-metadata-test/open-metadata-fvt/access-services-fvt/digital-architecture-fvt/build.gradle index c38aaa5b476..17c021ba262 100644 --- a/open-metadata-test/open-metadata-fvt/access-services-fvt/digital-architecture-fvt/build.gradle +++ b/open-metadata-test/open-metadata-fvt/access-services-fvt/digital-architecture-fvt/build.gradle @@ -22,7 +22,7 @@ dependencies { implementation project(':open-metadata-implementation:common-services:ffdc-services') implementation project(':open-metadata-implementation:framework-services:ocf-metadata-management:ocf-metadata-client') implementation project(':open-metadata-test:open-metadata-fvt:fvt-utilities') - testImplementation project(':open-metadata-distribution:open-metadata-assemblies') + testImplementation project(':open-metadata-distribution:omag-server-platform') testImplementation 'org.junit.jupiter:junit-jupiter-api' testImplementation 'org.junit.jupiter:junit-jupiter-engine' testImplementation localGroovy() @@ -42,7 +42,7 @@ java { // Local properties to use ext { - distdir="../../../../../../open-metadata-distribution/open-metadata-assemblies/build/unpacked/egeria-${project.version}-distribution.tar.gz" + distdir="../../../../../../open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-${project.version}-distribution.tar.gz" } @@ -51,16 +51,16 @@ sourceSets.test.java.srcDirs = [] sourceSets.test.groovy.srcDirs = ["src/test/java", "src/test/script"] // Initially we launch as an app -- though there may be a better way of running this in the existing jvm -task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:open-metadata-assemblies:unzip','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { +task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:omag-server-platform:unzip','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { // Start some external service executable = System.properties.'java.home' + '/bin/java' workingDir = layout.buildDirectory.dir('run') args = [ "-Dserver.port=10447", - "-Dloader.path=${distdir}/platform/lib", + "-Dloader.path=${distdir}/assembly/platform/lib", "-Dspring.config.location=../../../../../../test.application.properties", "-jar", - "${distdir}/platform/omag-server-platform-${project.version}.jar" ] + "${distdir}/assembly/platform/omag-server-platform-${project.version}.jar" ] // Setting the output directories to be the same for ALL FVTs acts as a synchronization mechanism // - alternatively we need to ensure the server port is unique per test standardOutput = layout.buildDirectory.file("chassis.log") diff --git a/open-metadata-test/open-metadata-fvt/access-services-fvt/governance-program-fvt/build.gradle b/open-metadata-test/open-metadata-fvt/access-services-fvt/governance-program-fvt/build.gradle index d88b7c2972c..873765930f2 100644 --- a/open-metadata-test/open-metadata-fvt/access-services-fvt/governance-program-fvt/build.gradle +++ b/open-metadata-test/open-metadata-fvt/access-services-fvt/governance-program-fvt/build.gradle @@ -26,7 +26,7 @@ dependencies { implementation project(':open-metadata-resources:open-metadata-samples:access-services-samples:governance-program-client-samples:governance-zone-create-sample') implementation project(':open-metadata-test:open-metadata-fvt:fvt-utilities') compileOnly 'com.fasterxml.jackson.core:jackson-annotations' - testImplementation project(':open-metadata-distribution:open-metadata-assemblies') + testImplementation project(':open-metadata-distribution:omag-server-platform') testImplementation 'org.junit.jupiter:junit-jupiter-api' testImplementation 'org.junit.jupiter:junit-jupiter-engine' testImplementation localGroovy() @@ -47,7 +47,7 @@ java { // Local properties to use ext { - distdir="../../../../../../open-metadata-distribution/open-metadata-assemblies/build/unpacked/egeria-${project.version}-distribution.tar.gz" + distdir="../../../../../../open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-${project.version}-distribution.tar.gz" } @@ -56,16 +56,16 @@ sourceSets.test.java.srcDirs = [] sourceSets.test.groovy.srcDirs = ["src/test/java", "src/test/script"] // Initially we launch as an app -- though there may be a better way of running this in the existing jvm -task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:open-metadata-assemblies:unzip','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { +task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:omag-server-platform:unzip','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { // Start some external service executable = System.properties.'java.home' + '/bin/java' workingDir = layout.buildDirectory.dir('run') args = [ "-Dserver.port=10452", - "-Dloader.path=${distdir}/platform/lib", + "-Dloader.path=${distdir}/assembly/platform/lib", "-Dspring.config.location=../../../../../../test.application.properties", "-jar", - "${distdir}/platform/omag-server-platform-${project.version}.jar" ] + "${distdir}/assembly/platform/omag-server-platform-${project.version}.jar" ] // Setting the output directories to be the same for ALL FVTs acts as a synchronization mechanism // - alternatively we need to ensure the server port is unique per test standardOutput = layout.buildDirectory.file("chassis.log") diff --git a/open-metadata-test/open-metadata-fvt/access-services-fvt/governance-server-fvt/build.gradle b/open-metadata-test/open-metadata-fvt/access-services-fvt/governance-server-fvt/build.gradle index a774d97acb2..18c29068c19 100644 --- a/open-metadata-test/open-metadata-fvt/access-services-fvt/governance-server-fvt/build.gradle +++ b/open-metadata-test/open-metadata-fvt/access-services-fvt/governance-server-fvt/build.gradle @@ -26,7 +26,7 @@ dependencies { implementation project(':open-metadata-implementation:framework-services:gaf-metadata-management:gaf-metadata-client') implementation project(':open-metadata-test:open-metadata-fvt:fvt-utilities') compileOnly 'com.fasterxml.jackson.core:jackson-annotations' - testImplementation project(':open-metadata-distribution:open-metadata-assemblies') + testImplementation project(':open-metadata-distribution:omag-server-platform') testImplementation 'org.junit.jupiter:junit-jupiter-api' testImplementation 'org.junit.jupiter:junit-jupiter-engine' testImplementation localGroovy() @@ -47,7 +47,7 @@ java { // Local properties to use ext { - distdir="../../../../../../open-metadata-distribution/open-metadata-assemblies/build/unpacked/egeria-${project.version}-distribution.tar.gz" + distdir="../../../../../../open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-${project.version}-distribution.tar.gz" } @@ -56,16 +56,16 @@ sourceSets.test.java.srcDirs = [] sourceSets.test.groovy.srcDirs = ["src/test/java", "src/test/script"] // Initially we launch as an app -- though there may be a better way of running this in the existing jvm -task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:open-metadata-assemblies:unzip','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { +task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:omag-server-platform:unzip','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { // Start some external service executable = System.properties.'java.home' + '/bin/java' workingDir = layout.buildDirectory.dir('run') args = [ "-Dserver.port=10451", - "-Dloader.path=${distdir}/platform/lib", + "-Dloader.path=${distdir}/assembly/platform/lib", "-Dspring.config.location=../../../../../../test.application.properties", "-jar", - "${distdir}/platform/omag-server-platform-${project.version}.jar" ] + "${distdir}/assembly/platform/omag-server-platform-${project.version}.jar" ] // Setting the output directories to be the same for ALL FVTs acts as a synchronization mechanism // - alternatively we need to ensure the server port is unique per test standardOutput = layout.buildDirectory.file("chassis.log") diff --git a/open-metadata-test/open-metadata-fvt/access-services-fvt/stewardship-action-fvt/build.gradle b/open-metadata-test/open-metadata-fvt/access-services-fvt/stewardship-action-fvt/build.gradle index 00fbf9c8847..ed89972c5b1 100644 --- a/open-metadata-test/open-metadata-fvt/access-services-fvt/stewardship-action-fvt/build.gradle +++ b/open-metadata-test/open-metadata-fvt/access-services-fvt/stewardship-action-fvt/build.gradle @@ -25,7 +25,7 @@ dependencies { implementation project(':open-metadata-implementation:common-services:ffdc-services') implementation project(':open-metadata-implementation:framework-services:ocf-metadata-management:ocf-metadata-client') implementation project(':open-metadata-test:open-metadata-fvt:fvt-utilities') - testImplementation project(':open-metadata-distribution:open-metadata-assemblies') + testImplementation project(':open-metadata-distribution:omag-server-platform') testImplementation 'org.junit.jupiter:junit-jupiter-api' testImplementation 'org.junit.jupiter:junit-jupiter-engine' testImplementation localGroovy() @@ -46,7 +46,7 @@ java { // Local properties to use ext { - distdir="../../../../../../open-metadata-distribution/open-metadata-assemblies/build/unpacked/egeria-${project.version}-distribution.tar.gz" + distdir="../../../../../../open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-${project.version}-distribution.tar.gz" } @@ -55,16 +55,16 @@ sourceSets.test.java.srcDirs = [] sourceSets.test.groovy.srcDirs = ["src/test/java", "src/test/script"] // Initially we launch as an app -- though there may be a better way of running this in the existing jvm -task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:open-metadata-assemblies:unzip','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { +task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:omag-server-platform:unzip','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { // Start some external service executable = System.properties.'java.home' + '/bin/java' workingDir = layout.buildDirectory.dir('run') args = [ "-Dserver.port=10455", - "-Dloader.path=${distdir}/platform/lib", + "-Dloader.path=${distdir}/assembly/platform/lib", "-Dspring.config.location=../../../../../../test.application.properties", "-jar", - "${distdir}/platform/omag-server-platform-${project.version}.jar" ] + "${distdir}/assembly/platform/omag-server-platform-${project.version}.jar" ] // Setting the output directories to be the same for ALL FVTs acts as a synchronization mechanism // - alternatively we need to ensure the server port is unique per test standardOutput = layout.buildDirectory.file("chassis.log") diff --git a/open-metadata-test/open-metadata-fvt/access-services-fvt/subject-area-fvt/build.gradle b/open-metadata-test/open-metadata-fvt/access-services-fvt/subject-area-fvt/build.gradle index d47f5da2f68..e352b492a3f 100644 --- a/open-metadata-test/open-metadata-fvt/access-services-fvt/subject-area-fvt/build.gradle +++ b/open-metadata-test/open-metadata-fvt/access-services-fvt/subject-area-fvt/build.gradle @@ -19,7 +19,7 @@ dependencies { implementation project(':open-metadata-implementation:access-services:subject-area:subject-area-client') implementation project(':open-metadata-implementation:repository-services:repository-services-apis') implementation project(':open-metadata-implementation:common-services:ffdc-services') - testImplementation project(':open-metadata-distribution:open-metadata-assemblies') + testImplementation project(':open-metadata-distribution:omag-server-platform') testImplementation 'org.junit.jupiter:junit-jupiter-api' testImplementation 'org.junit.jupiter:junit-jupiter-engine' testImplementation localGroovy() @@ -40,7 +40,7 @@ java { // Local properties to use ext { - distdir="../../../../../../open-metadata-distribution/open-metadata-assemblies/build/unpacked/egeria-${project.version}-distribution.tar.gz" + distdir="../../../../../../open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-${project.version}-distribution.tar.gz" } @@ -49,16 +49,16 @@ sourceSets.test.java.srcDirs = [] sourceSets.test.groovy.srcDirs = ["src/test/java", "src/test/script"] // Initially we launch as an app -- though there may be a better way of running this in the existing jvm -task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:open-metadata-assemblies:unzip','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { +task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:omag-server-platform:unzip','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { // Start some external service executable = System.properties.'java.home' + '/bin/java' workingDir = layout.buildDirectory.dir('run') args = [ "-Dserver.port=10448", - "-Dloader.path=${distdir}/platform/lib", + "-Dloader.path=${distdir}/assembly/platform/lib", "-Dspring.config.location=../../../../../../test.application.properties", "-jar", - "${distdir}/platform/omag-server-platform-${project.version}.jar" ] + "${distdir}/assembly/platform/omag-server-platform-${project.version}.jar" ] // Setting the output directories to be the same for ALL FVTs acts as a synchronization mechanism // - alternatively we need to ensure the server port is unique per test standardOutput = layout.buildDirectory.file("chassis.log") diff --git a/open-metadata-test/open-metadata-fvt/view-services-fvt/glossary-author-fvt/build.gradle b/open-metadata-test/open-metadata-fvt/view-services-fvt/glossary-author-fvt/build.gradle index e6160f4e682..8d497ef5cd0 100644 --- a/open-metadata-test/open-metadata-fvt/view-services-fvt/glossary-author-fvt/build.gradle +++ b/open-metadata-test/open-metadata-fvt/view-services-fvt/glossary-author-fvt/build.gradle @@ -23,7 +23,7 @@ dependencies { implementation project(':open-metadata-implementation:common-services:ffdc-services') implementation project(':open-metadata-implementation:admin-services:admin-services-api') //':org.odpi.openmetadata.adminservices.configuration.properties') - testImplementation project(':open-metadata-distribution:open-metadata-assemblies') + testImplementation project(':open-metadata-distribution:omag-server-platform') testImplementation 'org.junit.jupiter:junit-jupiter-api' testImplementation 'org.junit.jupiter:junit-jupiter-engine' testImplementation localGroovy() @@ -47,7 +47,7 @@ java { // Local properties to use ext { - distdir="../../../../../../open-metadata-distribution/open-metadata-assemblies/build/unpacked/egeria-${project.version}-distribution.tar.gz" + distdir="../../../../../../open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-${project.version}-distribution.tar.gz" gaport="10454" } @@ -57,7 +57,7 @@ sourceSets.test.java.srcDirs = [] sourceSets.test.groovy.srcDirs = ["src/test/java", "src/test/script"] // Initially we launch as an app -- though there may be a better way of running this in the existing jvm -task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:open-metadata-assemblies:unzip','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { +task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:omag-server-platform:unzip','prepareDirs'], type: com.github.psxpaul.task.ExecFork) { // Start some external service executable = System.properties.'java.home' + '/bin/java' workingDir = layout.buildDirectory.dir('run') @@ -65,7 +65,7 @@ task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:open-met // the keystore is needed as for the FVT the glossary author view is a client for the subject ares service //remove the two -Dlogging args if you dont want debug level of logging args = [ "-Dserver.port=${gaport}", - "-Dloader.path=${distdir}/platform/lib", + "-Dloader.path=${distdir}/assembly/platform/lib", "-Dspring.config.location=../../../../../../test.application.properties", // "-Dserver.ssl.key-store=${distDir}/keystore.p12", // "-Dserver.ssl.key-store-password=egeria", @@ -78,7 +78,7 @@ task startPlatform(dependsOn: ['cleanData',':open-metadata-distribution:open-met "-Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n",*/ //End debug options "-jar", - "${distdir}/platform/omag-server-platform-${project.version}.jar" ] + "${distdir}/assembly/platform/omag-server-platform-${project.version}.jar" ] // Setting the output directories to be the same for ALL FVTs acts as a synchronization mechanism // - alternatively we need to ensure the server port is unique per test standardOutput = layout.buildDirectory.file("chassis.log") diff --git a/settings.gradle b/settings.gradle index 82d6d9e6bea..0376b761a2c 100644 --- a/settings.gradle +++ b/settings.gradle @@ -36,7 +36,6 @@ include(':open-metadata-implementation:frameworks:audit-log-framework') include(':open-metadata-implementation:frameworks:open-metadata-framework') include(':open-metadata-implementation:frameworks:open-connector-framework') include(':open-metadata-implementation:frameworks:open-integration-framework') -include(':open-metadata-implementation:frameworks:open-discovery-framework') include(':open-metadata-implementation:frameworks:governance-action-framework') include(':open-metadata-implementation:frameworks:survey-action-framework') include(':open-metadata-implementation:adapters:open-connectors:event-bus-connectors:open-metadata-topic-connectors:kafka-open-metadata-topic-connector') @@ -65,7 +64,7 @@ include(':open-metadata-implementation:adapters:open-connectors:integration-conn include(':open-metadata-implementation:adapters:open-connectors:integration-connectors:kafka-integration-connector') include(':open-metadata-implementation:adapters:open-connectors:integration-connectors:openapi-integration-connector') include(':open-metadata-implementation:adapters:open-connectors:integration-connectors:openlineage-integration-connectors') -include(':open-metadata-implementation:adapters:open-connectors:integration-connectors:elasticsearch-integration-connector') +//include(':open-metadata-implementation:adapters:open-connectors:integration-connectors:elasticsearch-integration-connector') include(':open-metadata-implementation:adapters:open-connectors:lineage-warehouse-connectors:lineage-warehouse-janus-connector') include(':open-metadata-implementation:adapters:open-connectors:file-survey-connectors') include(':open-metadata-implementation:adapters:open-connectors:report-generating-connectors') @@ -119,11 +118,11 @@ include(':open-metadata-implementation:repository-services:repository-services-a include(':open-metadata-implementation:repository-services:repository-services-client') include(':open-metadata-implementation:repository-services:repository-services-implementation') include(':open-metadata-implementation:repository-services:repository-services-spring') -include(':open-metadata-implementation:access-services:asset-catalog:asset-catalog-api') -include(':open-metadata-implementation:access-services:asset-catalog:asset-catalog-client') -include(':open-metadata-implementation:access-services:asset-catalog:omas-asset-catalog-server') -include(':open-metadata-implementation:access-services:asset-catalog:omas-asset-catalog-spring') -include(':open-metadata-implementation:access-services:asset-catalog:asset-catalog-topic-connector') +//include(':open-metadata-implementation:access-services:asset-catalog:asset-catalog-api') +//include(':open-metadata-implementation:access-services:asset-catalog:asset-catalog-client') +//include(':open-metadata-implementation:access-services:asset-catalog:omas-asset-catalog-server') +//include(':open-metadata-implementation:access-services:asset-catalog:omas-asset-catalog-spring') +//include(':open-metadata-implementation:access-services:asset-catalog:asset-catalog-topic-connector') include(':open-metadata-implementation:access-services:asset-consumer:asset-consumer-api') include(':open-metadata-implementation:access-services:asset-consumer:asset-consumer-topic-connectors') include(':open-metadata-implementation:access-services:asset-consumer:asset-consumer-client') @@ -212,34 +211,34 @@ include(':open-metadata-implementation:access-services:stewardship-action:stewar include(':open-metadata-implementation:access-services:stewardship-action:stewardship-action-topic-connectors') include(':open-metadata-implementation:access-services:stewardship-action:stewardship-action-server') include(':open-metadata-implementation:access-services:stewardship-action:stewardship-action-spring') -include(':open-metadata-implementation:access-services:subject-area:subject-area-api') -include(':open-metadata-implementation:access-services:subject-area:subject-area-client') -include(':open-metadata-implementation:access-services:subject-area:subject-area-server') -include(':open-metadata-implementation:access-services:subject-area:subject-area-spring') +//include(':open-metadata-implementation:access-services:subject-area:subject-area-api') +//include(':open-metadata-implementation:access-services:subject-area:subject-area-client') +//include(':open-metadata-implementation:access-services:subject-area:subject-area-server') +//include(':open-metadata-implementation:access-services:subject-area:subject-area-spring') include(':open-metadata-implementation:access-services:data-privacy:data-privacy-api') include(':open-metadata-implementation:access-services:data-privacy:data-privacy-client') include(':open-metadata-implementation:access-services:data-privacy:data-privacy-server') include(':open-metadata-implementation:access-services:data-privacy:data-privacy-spring') -include(':open-metadata-implementation:access-services:data-engine:data-engine-api') -include(':open-metadata-implementation:access-services:data-engine:data-engine-client') -include(':open-metadata-implementation:access-services:data-engine:data-engine-server') -include(':open-metadata-implementation:access-services:data-engine:data-engine-spring') -include(':open-metadata-implementation:access-services:data-engine:data-engine-topic-connectors') -include(':open-metadata-implementation:access-services:glossary-view:glossary-view-api') -include(':open-metadata-implementation:access-services:glossary-view:glossary-view-client') -include(':open-metadata-implementation:access-services:glossary-view:glossary-view-server') -include(':open-metadata-implementation:access-services:glossary-view:glossary-view-spring') -include(':open-metadata-implementation:view-services:glossary-author-view:glossary-author-view-server') -include(':open-metadata-implementation:view-services:glossary-author-view:glossary-author-view-spring') -include(':open-metadata-implementation:view-services:rex-view:rex-view-api') -include(':open-metadata-implementation:view-services:rex-view:rex-view-server') -include(':open-metadata-implementation:view-services:rex-view:rex-view-spring') -include(':open-metadata-implementation:view-services:tex-view:tex-view-api') -include(':open-metadata-implementation:view-services:tex-view:tex-view-server') -include(':open-metadata-implementation:view-services:tex-view:tex-view-spring') -include(':open-metadata-implementation:view-services:dino-view:dino-view-api') -include(':open-metadata-implementation:view-services:dino-view:dino-view-server') -include(':open-metadata-implementation:view-services:dino-view:dino-view-spring') +//include(':open-metadata-implementation:access-services:data-engine:data-engine-api') +//include(':open-metadata-implementation:access-services:data-engine:data-engine-client') +//include(':open-metadata-implementation:access-services:data-engine:data-engine-server') +//include(':open-metadata-implementation:access-services:data-engine:data-engine-spring') +//include(':open-metadata-implementation:access-services:data-engine:data-engine-topic-connectors') +//include(':open-metadata-implementation:access-services:glossary-view:glossary-view-api') +//include(':open-metadata-implementation:access-services:glossary-view:glossary-view-client') +//include(':open-metadata-implementation:access-services:glossary-view:glossary-view-server') +//include(':open-metadata-implementation:access-services:glossary-view:glossary-view-spring') +//include(':open-metadata-implementation:view-services:glossary-author-view:glossary-author-view-server') +//include(':open-metadata-implementation:view-services:glossary-author-view:glossary-author-view-spring') +//include(':open-metadata-implementation:view-services:rex-view:rex-view-api') +//include(':open-metadata-implementation:view-services:rex-view:rex-view-server') +//include(':open-metadata-implementation:view-services:rex-view:rex-view-spring') +//include(':open-metadata-implementation:view-services:tex-view:tex-view-api') +//include(':open-metadata-implementation:view-services:tex-view:tex-view-server') +//include(':open-metadata-implementation:view-services:tex-view:tex-view-spring') +//include(':open-metadata-implementation:view-services:dino-view:dino-view-api') +//include(':open-metadata-implementation:view-services:dino-view:dino-view-server') +//include(':open-metadata-implementation:view-services:dino-view:dino-view-spring') include(':open-metadata-implementation:view-services:action-author:action-author-server') include(':open-metadata-implementation:view-services:action-author:action-author-spring') include(':open-metadata-implementation:view-services:asset-catalog:asset-catalog-server') @@ -264,9 +263,9 @@ include(':open-metadata-implementation:view-services:project-manager:project-man include(':open-metadata-implementation:view-services:project-manager:project-manager-spring') include(':open-metadata-implementation:view-services:reference-data:reference-data-server') include(':open-metadata-implementation:view-services:reference-data:reference-data-spring') -include(':open-metadata-implementation:view-services:server-author-view:server-author-view-api') -include(':open-metadata-implementation:view-services:server-author-view:server-author-view-server') -include(':open-metadata-implementation:view-services:server-author-view:server-author-view-spring') +//include(':open-metadata-implementation:view-services:server-author-view:server-author-view-api') +//include(':open-metadata-implementation:view-services:server-author-view:server-author-view-server') +//include(':open-metadata-implementation:view-services:server-author-view:server-author-view-spring') include(':open-metadata-implementation:view-services:template-manager:template-manager-server') include(':open-metadata-implementation:view-services:template-manager:template-manager-spring') include(':open-metadata-implementation:view-services:valid-metadata:valid-metadata-server') @@ -285,10 +284,9 @@ include(':open-metadata-implementation:governance-server-services:lineage-wareho include(':open-metadata-implementation:governance-server-services:lineage-warehouse-services:lineage-warehouse-services-client') include(':open-metadata-implementation:governance-server-services:lineage-warehouse-services:lineage-warehouse-services-server') include(':open-metadata-implementation:governance-server-services:lineage-warehouse-services:lineage-warehouse-services-spring') -//Todo: convert to integration connector -include(':open-metadata-implementation:governance-server-services:data-engine-proxy-services:data-engine-proxy-services-server') -include(':open-metadata-implementation:governance-server-services:data-engine-proxy-services:data-engine-proxy-services-spring') -include(':open-metadata-implementation:governance-server-services:data-engine-proxy-services:data-engine-proxy-connector') +//include(':open-metadata-implementation:governance-server-services:data-engine-proxy-services:data-engine-proxy-services-server') +//include(':open-metadata-implementation:governance-server-services:data-engine-proxy-services:data-engine-proxy-services-spring') +//include(':open-metadata-implementation:governance-server-services:data-engine-proxy-services:data-engine-proxy-connector') include(':open-metadata-implementation:admin-services:admin-services-api') include(':open-metadata-implementation:admin-services:admin-services-registration') include(':open-metadata-implementation:admin-services:admin-services-client') @@ -330,10 +328,10 @@ include(':open-metadata-implementation:integration-services:lineage-integrator:l include(':open-metadata-implementation:integration-services:lineage-integrator:lineage-integrator-client') include(':open-metadata-implementation:integration-services:lineage-integrator:lineage-integrator-server') include(':open-metadata-implementation:integration-services:lineage-integrator:lineage-integrator-spring') -include(':open-metadata-implementation:integration-services:search-integrator:search-integrator-api') -include(':open-metadata-implementation:integration-services:search-integrator:search-integrator-client') -include(':open-metadata-implementation:integration-services:search-integrator:search-integrator-server') -include(':open-metadata-implementation:integration-services:search-integrator:search-integrator-spring') +//include(':open-metadata-implementation:integration-services:search-integrator:search-integrator-api') +//include(':open-metadata-implementation:integration-services:search-integrator:search-integrator-client') +//include(':open-metadata-implementation:integration-services:search-integrator:search-integrator-server') +//include(':open-metadata-implementation:integration-services:search-integrator:search-integrator-spring') include(':open-metadata-implementation:integration-services:infrastructure-integrator:infrastructure-integrator-api') include(':open-metadata-implementation:integration-services:infrastructure-integrator:infrastructure-integrator-client') include(':open-metadata-implementation:integration-services:infrastructure-integrator:infrastructure-integrator-server') @@ -352,7 +350,7 @@ include(':open-metadata-implementation:integration-services:topic-integrator:top include(':open-metadata-implementation:integration-services:topic-integrator:topic-integrator-spring') include(':open-metadata-implementation:platform-chassis:platform-chassis-spring') include(':open-metadata-implementation:server-chassis:server-chassis-spring') -include(':open-metadata-implementation:user-interfaces:ui-chassis:ui-chassis-spring') +//include(':open-metadata-implementation:user-interfaces:ui-chassis:ui-chassis-spring') include(':open-metadata-implementation:user-security:user-authn') include(':open-metadata-implementation:user-security:token-controller') include(':open-metadata-implementation:user-security:token-manager') @@ -360,9 +358,9 @@ include(':open-metadata-conformance-suite:open-metadata-conformance-suite-api') include(':open-metadata-conformance-suite:open-metadata-conformance-suite-client') include(':open-metadata-conformance-suite:open-metadata-conformance-suite-server') include(':open-metadata-conformance-suite:open-metadata-conformance-suite-spring') -include(':open-metadata-distribution:open-metadata-assemblies') +//include(':open-metadata-distribution:open-metadata-assemblies') include(':open-metadata-distribution:omag-server-platform') -include(':open-metadata-distribution:egeria-ui-application') +//include(':open-metadata-distribution:egeria-ui-application') include(':open-metadata-resources:open-metadata-archives:design-model-archives:design-model-archive-base') include(':open-metadata-resources:open-metadata-archives:design-model-archives:glossary-canonical-model') include(':open-metadata-resources:open-metadata-archives:open-connector-archives') @@ -380,13 +378,12 @@ include(':open-metadata-resources:open-metadata-samples:access-services-samples: include(':open-metadata-resources:open-metadata-samples:access-services-samples:governance-program-client-samples:governance-zone-create-sample') include(':open-metadata-resources:open-metadata-samples:access-services-samples:governance-program-client-samples:governance-leadership-sample') include(':open-metadata-resources:open-metadata-samples:access-services-samples:governance-program-client-samples:governance-subject-area-sample') -include(':open-metadata-resources:open-metadata-samples:access-services-samples:subject-area-client-samples:subject-area-categories-sample') +//include(':open-metadata-resources:open-metadata-samples:access-services-samples:subject-area-client-samples:subject-area-categories-sample') include(':open-metadata-resources:open-metadata-samples:admin-services-samples:config-metadata-server-sample') include(':open-metadata-resources:open-metadata-samples:sample-metadata:simple-catalogs') include(':open-metadata-resources:open-metadata-samples:sample-metadata:big-glossaries') include(':open-metadata-resources:open-metadata-samples:sample-metadata:coco-metadata-archives') include(':open-metadata-resources:open-metadata-samples:open-metadata-security-samples') -include(':open-metadata-resources:open-metadata-samples:governance-services-sample') include(':open-metadata-resources:open-metadata-dev-utilities:egeria-config-utility') include(':open-metadata-resources:open-metadata-dev-utilities:egeria-ops-utility') include(':open-metadata-resources:open-metadata-dev-utilities:guid-generator') @@ -402,14 +399,14 @@ include(':open-metadata-test:open-metadata-fvt:access-services-fvt:asset-consume include(':open-metadata-test:open-metadata-fvt:access-services-fvt:asset-manager-fvt') include(':open-metadata-test:open-metadata-fvt:access-services-fvt:asset-owner-fvt') include(':open-metadata-test:open-metadata-fvt:access-services-fvt:community-profile-fvt') -include(':open-metadata-test:open-metadata-fvt:access-services-fvt:data-engine-fvt') +//include(':open-metadata-test:open-metadata-fvt:access-services-fvt:data-engine-fvt') include(':open-metadata-test:open-metadata-fvt:access-services-fvt:data-manager-fvt') include(':open-metadata-test:open-metadata-fvt:access-services-fvt:digital-architecture-fvt') include(':open-metadata-test:open-metadata-fvt:access-services-fvt:governance-server-fvt') include(':open-metadata-test:open-metadata-fvt:access-services-fvt:governance-program-fvt') include(':open-metadata-test:open-metadata-fvt:access-services-fvt:stewardship-action-fvt') -include(':open-metadata-test:open-metadata-fvt:access-services-fvt:subject-area-fvt') -include(':open-metadata-test:open-metadata-fvt:view-services-fvt:glossary-author-fvt') +//include(':open-metadata-test:open-metadata-fvt:access-services-fvt:subject-area-fvt') +//include(':open-metadata-test:open-metadata-fvt:view-services-fvt:glossary-author-fvt') include(':open-metadata-test:open-metadata-fvt:fvt-utilities') //if (!startParameter.projectProperties.hasProperty("skipOpenTypesFVT")) { // include(':open-metadata-test:open-metadata-fvt:open-types-fvt:open-types-test-generator')