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

Add new file/folder survey options #8191

Merged
merged 2 commits into from
May 28, 2024
Merged

Conversation

mandy-chessell
Copy link
Contributor

Description

The main purpose of this PR is to improve the statistics created by the file and folder surveyors.

  • Using the JsonProperties attribute of the annotation to return a collection of resource measurements that have different data types in a ResourceMeasureAnnotation.
  • Created measurement and metric beans for files, directories, relational databases, relational schemas, relational tables and relational columns. These beans can be used to encourage consistency between surveyors for different types of relational databases.
  • New folder survey options to control the number of annotations created by the surveyor
    • Just Top-level Folder
    • Top level Folder and all files
    • All folders
    • All folders and files

Related Issue(s)

Fixed problems with:

  • findGovernanceActionProcesses - calling GAF’s getGovernanceActionProcessByName instead of its find method.
  • getGovernanceActionProcessesByName - was only matching on qualifiedName. This was because it delegated down to the Asset generic handler which was matching qualifiedName and displayName - displayName should be name. This problem affected all asset retrievals.
  • getGovernanceActionProcessGraph had a problem in its return bean in that it set/returned previous step using next step. This meant it was not possible to piece together the graph with the resulting structure.

Testing

FVT regression plus manual testing of the fixed methods and surveys.

Release Notes & Documentation

The new options for surveying a folder need to be documented on egeria-docs

Additional notes

@mandy-chessell mandy-chessell enabled auto-merge May 28, 2024 22:13
@mandy-chessell mandy-chessell merged commit daecb9f into odpi:main May 28, 2024
3 of 4 checks passed
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