Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This is part of the work to consolidate the UI backed services (#7924). The aim was to add the equivalent REST API services that are in the Egeria UI Application to the OMAG Server and OMAG Server Platform runtimes as view services. This met a complication that these services do not follow Egeria's exception handling rules. Therefore 2 versions of these services are needed:
The /glossary REST calls have been added to Glossary Browser OMVS. It required an extension to the underlying Asset Manager OMAS services to allow specific types of glossary term relationships to be retrieved. This update has the effect of merging the services from Glossary View OMAS into Glossary Browser OMVS. Glossary View OMAS has been marked as deprecated. When the Egeria UI Application is removed, this can be removed too.
Similarly, the /asset REST calls have been added to a new view service called Asset Catalog OMVS. Effectively we are moving Asset Catalog OMAS to Asset Catalog OMVS. Asset Catalog OMVS delegates its calls to Asset Consumer OMAS. Again Asset Catalog OMAS has been marked as deprecated and when the Egeria UI Application is removed, this can be removed too.
Finally, the /lineage REST calls have also been added to Asset Catalog OMVS. The aim is to offer a choice - the lineage queries can be directed at the main open metadata repositories. Alternatively, they can be directed to an open lineage server (aka lineage warehouse server) for an optimized version of the lineage queries. The second option is for organizations where lineage is a critical service.
At this point, the Asset Catalog OMVS REST API calls are just skeletons with no implementation. This is to allow for extensions to the search requests offered by the Open Metadata Store.
Firstly, the Anchors classification has been updated to add the type of the anchor. This will allow an asset universe search because we can search for the requested string in all element where there is an anchor classification and the typename of the anchor is "Asset" or one if its subtypes.
The extension to the Anchors classification has been done and the generic handlers are maintaining the type of anchor in the Anchors classification. The new call to the findEntities method is not in place yet.
Secondly, a new graph query is needed in the Open Metadata Store. This is to support the end-to-end lineage requests.
Once it is in place, Asset Catalog OMVS can be built out.
In addition to this work, the Admin services have been updated to add swagger annotations to all of the REST calls plus 3 new admin calls to configure an XTDB repository.
Related Issue(s)
#7924
Testing
At this stage, it is only regression testing. Once the Asset Catalog OMVS serivces are completed, then we can do a full test with the UI code.
Release Notes & Documentation
The Egeria docs website has also been updated
Additional notes
None