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

Improve query performance and templating #8046

Merged
merged 2 commits into from
Feb 16, 2024

Conversation

mandy-chessell
Copy link
Contributor

Description

This PR has 2 features in it:

  • It adds the placeholder properties support for classifications and relationships as well as creating a complex template in the coco pharmaceuticals clinical trials template archive.
  • It improves performance of queries by:
    - updating the generic handlers to pushdown limitByStatus and required classifications on query requests to the repository
    - to only validate a specific anchor guid once on a query, rather than for each returned element.

Related Issue(s)

None

Testing

Testing through pushing queries through the GAF Opem Metadata Store

Release Notes & Documentation

None - the templating support is already documented and the performance improvements are internal

Additional notes

@mandy-chessell mandy-chessell merged commit 650bd1b into odpi:main Feb 16, 2024
4 checks passed
@@ -1194,6 +1199,9 @@
properties = archiveHelper.addStringMapPropertyToInstance(archiveRootName, properties, OpenMetadataProperty.ADDITIONAL_PROPERTIES.name, additionalProperties, methodName);
properties = archiveHelper.addPropertyMapToInstance(archiveRootName, properties, extendedProperties, methodName);

List<Classification> classifications = new ArrayList<>();

Check failure

Code scanning / CodeQL

Container contents are never accessed Error

The contents of this container are never accessed.
* @param summary name for the enum
* @param description description of the use of this value
* @param abbreviation optional abbreviation
* @param url optional url for the term

Check notice

Code scanning / CodeQL

Spurious Javadoc @param tags Note

@param tag "url" does not match any actual parameter of constructor "GlossaryTermDefinition()".
@mandy-chessell mandy-chessell deleted the anchors branch February 16, 2024 15:22
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