Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend glossary support #7651

Merged
merged 2 commits into from
May 3, 2023
Merged

Extend glossary support #7651

merged 2 commits into from
May 3, 2023

Conversation

mandy-chessell
Copy link
Contributor

@mandy-chessell mandy-chessell commented May 3, 2023

Description

This PR includes new methods for Asset Manager OMAS and Glossary Workflow OMVS related to working with glossaries. For example, there is now support to move a term between glossaries and to create a template substitute.

There is also a fix to the integration daemon and Governance Engine OMAS

  • The integration daemon has a Kafka Topic listener for each integration group because each group may be configured through a different server. The clientId for each listener was the same. This means incoming events would be randomly distributed between the listeners. The clientId now includes the name of the integration group (plus local serverId) so each integration group will receive all events.
  • The method getIntegrationConnectorRegistrations should return a list of the integration groups that an integration connector is registered in. It was retrieving the wrong type of relationship and then returning the relationsip GUID rather than the GUID from end 1.

Finally there is a new archive generator that creates 10 archives each containing a glossary with 10,000 unique terms in it. This is for performance testing.

Related Issue(s)

None

Testing

UT/FVT

Release Notes & Documentation

Details of template subtitues have been added to egeria-docs

Additional notes

There is a change to the Automated Curation Lab to remove a call to refresh the integration daemon. This call is nolonger necessary now getIntegrationConnectorRegistrations is working.

Signed-off-by: Mandy Chessell <[email protected]>
@mandy-chessell mandy-chessell merged commit 071b803 into odpi:main May 3, 2023
@@ -111,6 120,7 @@
String assetGUID = thisTest.getAsset(client, userId);
String fullAssetGUID = thisTest.getFullAsset(client, userId);
String schemaTypeGUID = thisTest.getSchemaType(client, assetGUID, userId);
String copyAssetGUID = thisTest.getCopyAsset(client, fullAssetGUID, userId);

Check notice

Code scanning / CodeQL

Unread local variable

Variable 'String copyAssetGUID' is never read.
@@ -937,6 999,7 @@
String templateGUID,
ExternalIdentifierProperties externalIdentifierProperties,
boolean deepCopy,
GlossaryTermStatus initialStatus,

Check notice

Code scanning / CodeQL

Useless parameter

The parameter 'initialStatus' is never used.
UserNotAuthorizedException,
PropertyServerException;
boolean deepCopy,
boolean templateSubstitute,

Check notice

Code scanning / CodeQL

Useless parameter

The parameter 'templateSubstitute' is never used.
List<String> glossaryIdentifiers = new ArrayList<>(Arrays.asList(indexes));
try
{
List<OpenMetadataArchive> dependentArchives = new ArrayList<>();

Check failure

Code scanning / CodeQL

Container contents are never accessed

The contents of this container are never accessed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant