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

Advertising a new version of a resource or a change of identifier #12

Open
BaptisteCecconi opened this issue Oct 16, 2024 · 4 comments
Open

Comments

@BaptisteCecconi
Copy link

(The following use-case is based on a true story)

Let's say I'm a tool developer and I want to give access to a series of specific resources (e.g., specific epn-core tables), which I want use to provide an enhanced user experience on my interface. I want to keep track of these resources latest metadata from the registry, so I decided to store their ivo-id's and regularly query the registry to get, e.g., the TAP endpoint (which URL may change).

At some point, I realise that one of these ivo-id's has not been updated for a long time and the advertised TAP endpoint disappeared (due to bad management on the resource provider side). I didn't notice the issue, because my application didn't break. It just removed a feature, and the resource provider actually told me that his resources were not available anymore in my tool. It took me sometime to understand that the provider changed its naming authority and a new ivo-id should be used instead.

Discussion

About using the ivo-id as a handle to the resource: One can object that the tool provider should rather use the registry search interfaces to find the resource, but this is a risk, since the resource metadata can also change. The registry should be considered as the source of truth to access the resource.

There are several reasons (good or not, I won't judge) to change the naming authority or the ivo-id itself of a resource, like when moving a resource to another lab (following the scientist in charge of the resource), or when the lab/institution changes name (this can happen once in a while).

In such a case, there should be a way to advertise that an ivo-id is either a new version of a previous one (IsNewVersionOf semantics can be used), or just a new name for the same resource (not sure what semantics I should use for this).

In the case described, the tool developper kept the ivo-id, but the IsNewVersionOf relation would be attached to the new ivo-id. So, this doesn't really solve the problem.

So, I would rather think that the previous ivo-id, which should be set as "inactive", could then has a relation to the new ivo-id with a relation like "isReplacedBy" (or alike).

Any thoughts ?

@msdemlei
Copy link
Collaborator

msdemlei commented Oct 16, 2024 via email

@BaptisteCecconi
Copy link
Author

I like this idea of a DiscountinuedResource concept and the IsContinuedBy relationship would be fine.

You may have guessed that Pierre's email about our orphaned naming authority and ivo-id's is related to this issue. So we could start with this case as a demonstrator...

@msdemlei
Copy link
Collaborator

msdemlei commented Oct 17, 2024 via email

@BaptisteCecconi
Copy link
Author

I'll be in Malta from Thursday afternoon to Sunday Noon. Just coming for the IVOA. But I should be able to find time to work on this.

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

No branches or pull requests

2 participants