Skip to content

Commit

Permalink
Merge pull request #8395 from mandy-chessell/oak2024
Browse files Browse the repository at this point in the history
Add connectors and content packs to default setup
  • Loading branch information
mandy-chessell authored Sep 23, 2024
2 parents 462635b + 49acb3b commit 255a0c2
Show file tree
Hide file tree
Showing 49 changed files with 1,510 additions and 183 deletions.
2 changes: 1 addition & 1 deletion EgeriaContentPacksGUIDMap.json

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/ApacheKafkaContentPack.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.

1 change: 1 addition & 0 deletions content-packs/ObservabilityContentPack.omarchive

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ distributions {
from { project(':open-metadata-implementation:adapters:open-connectors:dynamic-archiver-connectors').jar }
from { project(':open-metadata-implementation:adapters:open-connectors:governance-action-connectors').jar }
from { project(':open-metadata-implementation:adapters:open-connectors:nanny-connectors').jar }
from { project(':open-metadata-implementation:adapters:open-connectors:report-generating-connectors').jar }
from { project(':open-metadata-implementation:adapters:open-connectors:integration-connectors:files-integration-connectors').jar }
from { project(':open-metadata-implementation:adapters:open-connectors:integration-connectors:csv-lineage-import-integration-connector').jar }
from { project(':open-metadata-implementation:adapters:open-connectors:integration-connectors:kafka-audit-integration-connector').jar }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/**
* FolderSurveyServiceProvider provides the connector provider for the Folder Survey Action Service
*/
public class OSSUnityCatalogVolumeSurveyServiceProvider extends SurveyActionServiceProvider
public class OSSUnityCatalogInsideVolumeSurveyProvider extends SurveyActionServiceProvider
{
/*
* Unique identifier of the connector for the audit log.
Expand All @@ -32,9 +32,9 @@ public class OSSUnityCatalogVolumeSurveyServiceProvider extends SurveyActionServ
*/
private static final String connectorTypeGUID = "5a9f3813-2cc7-46ac-a1a8-b2b508d07100";
private static final String connectorTypeQualifiedName = "Egeria:SurveyActionService:FileFolder:UnityCatalogVolumeSurveyService";
private static final String connectorTypeName = "Folder Survey Action Service Connector";
private static final String connectorTypeName = "OSS Unity Catalog (UC) Inside a Volume Survey Service";
private static final String connectorTypeDescription = "Connector supports the surveying of files in a Unity Catalog Volume's directory (folder) and the directories beneath it.";
private static final String connectorWikiPage = "https://egeria-project.org/connectors/survey-action/folder-survey-action-service/";
private static final String connectorWikiPage = "https://egeria-project.org/connectors/survey-action/unity-catalog/volume-survey-service/";

/*
* Class of the connector.
Expand All @@ -48,7 +48,7 @@ public class OSSUnityCatalogVolumeSurveyServiceProvider extends SurveyActionServ
* Constructor used to initialize the ConnectorProviderBase with the Java class name of the specific
* survey action implementation.
*/
public OSSUnityCatalogVolumeSurveyServiceProvider()
public OSSUnityCatalogInsideVolumeSurveyProvider()
{
super();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,18 @@ public void start() throws ConnectorCheckedException
}
else
{
String serverGUID = governanceContext.getOpenMetadataStore().createMetadataElementFromTemplate(null,
null,
true,
null,
null,
templateGUID,
null,
governanceContext.getRequestParameters(),
null,
null,
null,
true);
String serverGUID = governanceContext.getOpenMetadataStore().getMetadataElementFromTemplate(null,
null,
true,
null,
null,
templateGUID,
null,
governanceContext.getRequestParameters(),
null,
null,
null,
true);

OpenMetadataElement serverElement = governanceContext.getOpenMetadataStore().getMetadataElementByGUID(serverGUID);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@
import java.util.List;

/**
* EvaluateAnnotationsGovernanceActionConnector is currently a placeholder for a governance action service
* that will look through the annotations from a survey report and set up guards to drive actions that
* process the different types.
* WaitForStewardGovernanceActionConnector is currently a placeholder for a governance action service
* that will wait for a steward to complete a to do.
*/
public class WaitForStewardGovernanceActionConnector extends GeneralGovernanceActionService
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import org.odpi.openmetadata.frameworks.surveyaction.controls.SurveyActionTarget;

/**
* EvaluateAnnotationsGovernanceActionProvider is the OCF connector provider for the "Evaluate Annotations"
* WaitForStewardGovernanceActionProvider is the OCF connector provider for the "WaitForSteward"
* Governance Action Service.
*/
public class WaitForStewardGovernanceActionProvider extends GovernanceActionServiceProviderBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ dependencies {
compileOnly project(':open-metadata-implementation:adapters:open-connectors:data-store-connectors:file-connectors:basic-file-connector')
compileOnly project(':open-metadata-implementation:adapters:open-connectors:data-store-connectors:file-connectors:csv-file-connector')
compileOnly project(':open-metadata-implementation:adapters:open-connectors:data-store-connectors:file-connectors:data-folder-connector')
compileOnly project(':open-metadata-implementation:adapters:open-connectors:repository-services-connectors:open-metadata-archive-connectors:open-metadata-archive-file-connector')
compileOnly 'org.slf4j:slf4j-api'
implementation 'commons-io:commons-io'
testImplementation project(':open-metadata-implementation:frameworks:audit-log-framework')
Expand Down
Loading

0 comments on commit 255a0c2

Please sign in to comment.