Skip to content

Commit

Permalink
Merge pull request #8332 from mandy-chessell/oak2024
Browse files Browse the repository at this point in the history
Add support for data quality surveys
  • Loading branch information
mandy-chessell committed Aug 27, 2024
2 parents b3734e2 + 7f9521f commit 7c65cda
Show file tree
Hide file tree
Showing 147 changed files with 9,115 additions and 3,518 deletions.
2 changes: 1 addition & 1 deletion CocoComboGUIDMap.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion CoreContentPackGUIDMap.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoBusinessSystemsArchive.omarchive

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoClinicalTrialsTemplatesArchive.omarchive

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoComboArchive.omarchive

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoGovernanceProgramArchive.omarchive

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoOrganizationArchive.omarchive

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoSustainabilityArchive.omarchive

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoTypesArchive.omarchive

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CoreContentPack.omarchive

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/OpenMetadataTypes.omarchive

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ String createAsset(String userId,
String infrastructureManagerName,
boolean infrastructureManagerIsHome,
AssetProperties assetProperties,
ElementStatus initialStatus,
ElementStatus initialStatus,
String methodName) throws InvalidParameterException,
UserNotAuthorizedException,
PropertyServerException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
package org.odpi.openmetadata.adapters.connectors.postgres.controls;

import org.odpi.openmetadata.frameworks.connectors.controls.ConfigurationPropertyType;
import org.odpi.openmetadata.frameworks.governanceaction.controls.PlaceholderProperty;
import org.odpi.openmetadata.frameworks.openmetadata.controls.PlaceholderProperty;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
package org.odpi.openmetadata.adapters.connectors.postgres.controls;


import org.odpi.openmetadata.frameworks.governanceaction.controls.PlaceholderProperty;
import org.odpi.openmetadata.frameworks.governanceaction.controls.PlaceholderPropertyType;
import org.odpi.openmetadata.frameworks.openmetadata.controls.PlaceholderProperty;
import org.odpi.openmetadata.frameworks.openmetadata.controls.PlaceholderPropertyType;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,19 @@ Content-Type: application/json
"engineUserId": "generalnpa"
}


###
# Add the AssetQuality at CocoPharmaceuticals engine to engine-host
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/engine-host/engine
Content-Type: application/json

{
"class": "EngineConfig",
"engineId": "76257f18-293f-4e7c-b79f-8b7e5fa44552",
"engineQualifiedName": "AssetQuality@CocoPharmaceuticals",
"engineUserId": "generalnpa"
}

###
# Restart the engine-host server on the OMAG Server Platform.
POST {{baseURL}}/open-metadata/platform-services/users/{{adminUserId}}/server-platform/servers/engine-host/instance
Expand All @@ -73,6 +86,29 @@ POST {{baseURL}}/open-metadata/platform-services/users/{{adminUserId}}/server-pl
# Set up UC cataloguing




###
# @name initiate catalog-unity-catalog-server
# Using the named governance action type as a template, initiate a single engine action.
POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/automated-curation/governance-action-types/initiate
Authorization: Bearer {{token}}
Content-Type: application/json

{
"class" : "InitiateGovernanceActionTypeRequestBody",
"governanceActionTypeQualifiedName": "UnityCatalogGovernanceServices:catalog-unity-catalog-server",
"requestParameters" : {
"hostURL" : "http://localhost",
"portNumber" : "8080",
"serverName" : "Unity Catalog 1",
"versionIdentifier" : "V1.0",
"description" : "First instance of the Unity Catalog (UC) Server.",
"serverUserId" : "uc1"
}
}


###
# @name createElementFromTemplate (Unity Catalog Server 1)
# Create a new element from a template.
Expand Down Expand Up @@ -283,45 +319,10 @@ Content-Type: application/json
"actionTargetName": "steward",
"actionTargetGUID": "58e34d15-3043-4c1f-b148-3f0671b0a369"
},
{
"class" : "NewActionTarget",
"actionTargetName": "hospitalCertificationType",
"actionTargetGUID": "88c8200e-8b64-4720-a707-3d31437bc011"
},
{
"class" : "NewActionTarget",
"actionTargetName": "onboardingPipeline",
"actionTargetGUID": "508d3878-8eae-47e5-8507-ee936f33b418"
},
{
"class" : "NewActionTarget",
"actionTargetName": "setUpDataLakeGovernanceActionType",
"actionTargetGUID": "4c33571b-043b-4fba-9b4f-ada7cd8910d3"
},
{
"class" : "NewActionTarget",
"actionTargetName": "hospitalNominationGovernanceActionType",
"actionTargetGUID": "25f1f005-d051-4f78-a56a-7b94eda114aa"
},
{
"class" : "NewActionTarget",
"actionTargetName": "hospitalCertificationGovernanceActionType",
"actionTargetGUID": "12746ea1-750b-43ef-b6d8-74c145c0d18c"
},
{
"class" : "NewActionTarget",
"actionTargetName": "hospitalOnboardingGovernanceActionType",
"actionTargetGUID": "7d12e715-53c6-4c33-bc05-7db9156056c8"
},
{
"class" : "NewActionTarget",
"actionTargetName": "lastUpdateConnector",
"actionTargetGUID": "fd26f07c-ae44-4bc5-b457-37b43112224f"
},
{
"class" : "NewActionTarget",
"actionTargetName": "landingAreaConnector",
"actionTargetGUID": "1b98cdac-dd0a-4621-93db-99ef5a1098bc"
"actionTargetGUID": "58050a15-745a-4727-8257-074c19b02796"
}],
"requestParameters" : {
"dataLakeVolumeTemplateGUID" : "{{ucVolumeTemplateGUID}}",
Expand Down Expand Up @@ -382,7 +383,7 @@ Content-Type: application/json
{
"class" : "NewActionTarget",
"actionTargetName": "dataLakeCatalog",
"actionTargetGUID": "0d83746c-5479-4339-bae1-0335393d8a36"
"actionTargetGUID": "c861d5e8-1cda-4063-9c89-d79e0e505d05"
}],
"requestParameters" : {
"dataLakeSchemaName" : "teddy_bear_drop_foot",
Expand Down Expand Up @@ -425,7 +426,7 @@ Content-Type: application/json
# Coco Data Lake.

@newFileProcessName=Coco:GovernanceActionProcess:ClinicalTrials:WeeklyMeasurements:Onboarding
@newFileProcessGUID=508d3878-8eae-47e5-8507-ee936f33b418
@newFileProcessGUID=58050a15-745a-4727-8257-074c19b02796


###
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
package org.odpi.openmetadata.adapters.connectors.unitycatalog.controls;


import org.odpi.openmetadata.frameworks.governanceaction.controls.PlaceholderProperty;
import org.odpi.openmetadata.frameworks.governanceaction.controls.PlaceholderPropertyType;
import org.odpi.openmetadata.frameworks.openmetadata.controls.PlaceholderProperty;
import org.odpi.openmetadata.frameworks.openmetadata.controls.PlaceholderPropertyType;

import java.util.ArrayList;
import java.util.List;
Expand Down Expand Up @@ -37,7 +37,7 @@ public enum UnityCatalogPlaceholderProperty
TABLE_NAME ("ucTableName", "The name of a table within a schema and catalog in Unity Catalog (UC). This value is combined with the name of the schema and catalog to get the full name.", "string", "my_table"),

/**
* The type of a table: MANAGED or EXTERNAL.
* The type a table: MANAGED or EXTERNAL.
*/
TABLE_TYPE ("ucTableType", "The type of a table: MANAGED or EXTERNAL.", "string", "MANAGED"),

Expand All @@ -52,7 +52,7 @@ public enum UnityCatalogPlaceholderProperty
VOLUME_NAME ("ucVolumeName", "The name of a volume within a schema and catalog in Unity Catalog (UC). This value is combined with the name of the schema and catalog to get the full name.", "string", "my_volume"),

/**
* The type of a volume: MANAGED or EXTERNAL.
* The type of volume: MANAGED or EXTERNAL.
*/
VOLUME_TYPE ("ucVolumeType", "The type of a volume: MANAGED or EXTERNAL.", "string", "MANAGED"),

Expand Down
Loading

0 comments on commit 7c65cda

Please sign in to comment.