Skip to content

Commit

Permalink
Merge pull request #8404 from mandy-chessell/oak2024
Browse files Browse the repository at this point in the history
fixes to content packs
  • Loading branch information
mandy-chessell authored Sep 27, 2024
2 parents 78e776a + b03b97f commit 94d85a7
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 10 deletions.
2 changes: 1 addition & 1 deletion EgeriaContentPacksGUIDMap.json

Large diffs are not rendered by default.

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

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.

2 changes: 1 addition & 1 deletion 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 @@ -414,6 +414,19 @@ public enum RequestTypeDefinition
null,
ContentPackDefinition.UNITY_CATALOG_CONTENT_PACK),

/**
* create-databricks-unity-catalog-server
*/
CREATE_DB_UC_SERVER("create-databricks-unity-catalog-server",
null,
getCreateServerRequestParameters(SoftwareServerTemplateDefinition.DATABRICKS_UC_SERVER_TEMPLATE.getTemplateGUID()),
null,
GovernanceEngineDefinition.UNITY_CATALOG_GOVERNANCE_ENGINE,
GovernanceServiceDefinition.CREATE_SERVER,
"323d8a5c-4f79-4bc0-a35a-0c39d1990a9e",
null,
ContentPackDefinition.UNITY_CATALOG_CONTENT_PACK),

/**
* catalog-unity-catalog-server
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1551,7 +1551,7 @@ protected void createAndSurveyServerGovernanceActionProcess(String

if (step2GUID != null)
{
addStepExecutor(step1GUID, surveyRequestType, surveyEngineDefinition);
addStepExecutor(step2GUID, surveyRequestType, surveyEngineDefinition);

archiveHelper.addNextGovernanceActionProcessStep(step1GUID, CreateServerGuard.SET_UP_COMPLETE.getName(), false, step2GUID);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public void getArchiveContent()
super.createRequestTypes(ContentPackDefinition.UNITY_CATALOG_CONTENT_PACK);

/*
* Create a sample process
* Create Processes for working with Unity Catalog
*/
this.createAndSurveyServerGovernanceActionProcess("UnityCatalogServer",
UnityCatalogDeployedImplementationType.OSS_UNITY_CATALOG_SERVER.getDeployedImplementationType(),
Expand All @@ -120,6 +120,19 @@ public void getArchiveContent()
RequestTypeDefinition.CATALOG_UC_SERVER,
GovernanceEngineDefinition.UNITY_CATALOG_GOVERNANCE_ENGINE);

this.createAndSurveyServerGovernanceActionProcess("DatabricksUnityCatalogServer",
UnityCatalogDeployedImplementationType.DB_UNITY_CATALOG_SERVER.getDeployedImplementationType(),
RequestTypeDefinition.CREATE_DB_UC_SERVER,
GovernanceEngineDefinition.UNITY_CATALOG_GOVERNANCE_ENGINE,
RequestTypeDefinition.SURVEY_UC_SERVER,
GovernanceEngineDefinition.UNITY_CATALOG_SURVEY_ENGINE);
this.createAndCatalogServerGovernanceActionProcess("DatabricksUnityCatalogServer",
UnityCatalogDeployedImplementationType.DB_UNITY_CATALOG_SERVER.getDeployedImplementationType(),
RequestTypeDefinition.CREATE_DB_UC_SERVER,
GovernanceEngineDefinition.UNITY_CATALOG_GOVERNANCE_ENGINE,
RequestTypeDefinition.CATALOG_UC_SERVER,
GovernanceEngineDefinition.UNITY_CATALOG_GOVERNANCE_ENGINE);

/*
* Saving the GUIDs means tha the guids in the archive are stable between runs of the archive writer.
*/
Expand Down

0 comments on commit 94d85a7

Please sign in to comment.