Skip to content

Commit

Permalink
Merge pull request #8502 from mandy-chessell/oak2024
Browse files Browse the repository at this point in the history
Allow DataAccessManagers to create external identifiers
  • Loading branch information
mandy-chessell authored Nov 21, 2024
2 parents 92cfb7a + bf113dc commit c6103a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ private void createElementInEgeria(CatalogInfo catalogInfo) throws InvalidParame
qualifiedName,
catalogTypeName,
ucCatalogGUID,
OpenMetadataType.DATA_ACCESS_MANAGER.typeName,
catalogTypeName,
this.getExternalIdentifierProperties(catalogInfo,
null,
UnityCatalogPlaceholderProperty.CATALOG_NAME.getName(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5194,6 +5194,7 @@ public void addExternalIdentifier(String userId,

requestBody.setExternalScopeGUID(externalScopeGUID);
requestBody.setExternalScopeName(externalScopeName);
requestBody.setExternalScopeTypeName(externalScopeTypeName);

restClient.callVoidPostRESTCall(methodName,
urlTemplate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -541,9 +541,9 @@ public void addExternalIdentifier(String externalScopeGUID
openMetadataStoreClient.addExternalIdentifier(userId,
externalScopeGUID,
externalScopeName,
externalScopeTypeName,
openMetadataElementGUID,
openMetadataElementTypeName,
externalScopeTypeName,
externalIdentifierProperties);
}

Expand Down

0 comments on commit c6103a5

Please sign in to comment.