odpi / egeria-coco-labs

Egeria Jupiter notebooks used in the Open Metadata Labs
Apache License 2.0
9 stars 10 forks source link

standard models - asset consumer more-information moved from common to framework services #52

Closed planetf1 closed 1 year ago

planetf1 commented 1 year ago

In cell #6 of the 'working with standard models' notebook, we have a call to :

# Get the link to the top-level category
getGlossaryMoreInfoURLRoot = cocoMDS2PlatformURL + '/servers/' + cocoMDS2Name + '/open-metadata/common-services/asset-consumer/connected-asset/users/' +  erinsUserId + '/referenceables/'
getGlossaryMoreInfoURLTail = '/more-information?elementStart=0&maxElements=50'

However this fails with a 404 as this endpoint has now changed to


# Get the link to the top-level category
getGlossaryMoreInfoURLRoot = cocoMDS2PlatformURL + '/servers/' + cocoMDS2Name + '/open-metadata/framework-services/asset-consumer/connected-asset/users/' +  erinsUserId + '/referenceables/'
getGlossaryMoreInfoURLTail = '/more-information?elementStart=0&maxElements=50'

ie for this api call common-services -> framework-services in Egeria 4.0

planetf1 commented 1 year ago

There are many other calls to connected-asset especially in common-functions, which all of the notebooks except this one use. These still refer to common-services

planetf1 commented 1 year ago

Automated curation also has the wrong url

"    metadataStoreURL = serverPlatformURL + '/servers/' + serverName + '/open-metadata/common-services/' + serviceURLMarker + '/open-metadata-store/users/' + userId \n",

As open-metadata-store is now in the framework services too

dwolfson commented 1 year ago

I submitted a PR with proposed fixes.

planetf1 commented 1 year ago

this is now complete & merged