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

Enable and Test DRS server #46

Open
bwalsh opened this issue Feb 13, 2024 · 5 comments
Open

Enable and Test DRS server #46

bwalsh opened this issue Feb 13, 2024 · 5 comments
Assignees

Comments

@bwalsh
Copy link
Collaborator

bwalsh commented Feb 13, 2024

Use Case

As an ACED user, when I am using DRS, it would be useful to have DRS functionality enabled in our servers.

Background

see https://github.com/uc-cdis/indexd#standards-and-governance

michael_fitz
aced-idp

  • No, you do not need a separate prefix for your different environments for the same commons. You would only need to do that if you want to test it like that. Usually that doesn’t make sense as you only have data that matters in prod and the data that exists in your other environments don’t need a prefix. In most cases a prefix for a DRS server is not registered to dataguids.org. Most people use identifiers.org or n2t.net
    With respect to your more general question - there’s really not much difference between an indexd record with a prefix and without a prefix. The only difference is that you can use a central resolver to find where the prefix is pointing to. The way you can test this is after registering your prefix somewhere you can then resolve it and try to download the file.

You can set the default prefix in indexd here in the indexd config https://github.com/uc-cdis/indexd/blob/master/indexd/default_settings.py#L23

GA4GH recommends identifiers.org, but this is actually new so not all DRS clients may recognize this yet. CTDS uses dataguids.org
Agreed, but the process isnt too bad to register it in identifiers.org. I've done it for a couple of DRS servers here at UChicago for both resolvers and am happy to help with that process.
should we have a prefix for each of our environments? (i.e. staging, qa, prod)
I personally dont think you dont need to. Im guessing qa will mostly have test data. We've usually just registered prod envs for the resolvers. The other environments can have the same prefixes but it just wouldn't be registered.

https://registry.identifiers.org/resourceregistrationrequest

Slack conversation: https://ohsucomputationalbio.slack.com/archives/C043HPV0VMY/p1685116572286549

@matthewpeterkort
Copy link
Collaborator

matthewpeterkort commented Feb 23, 2024

Clarifying- we need to do a prefix request not a resource request???
ex: https://registry.identifiers.org/prefixregistrationrequest

@bwalsh
Copy link
Collaborator Author

bwalsh commented Feb 23, 2024

I believe that is correct.

@matthewpeterkort
Copy link
Collaborator

@bwalsh
Copy link
Collaborator Author

bwalsh commented Feb 27, 2024

Tasks:

  • Complete registration @kellrott
  • Complete Development configurations (fence, etc.) @matthewpeterkort
    • Develop test plan
    • Write automated tests
  • Complete migration plan for staging, production @matthewpeterkort
    • Deploy to staging, production

@matthewpeterkort
Copy link
Collaborator

Draft form entry for: https://registry.identifiers.org/prefixregistrationrequest

Screenshot 2024-02-23 at 11 43 51 AM
647)

Screenshot 2024-02-27 at 2 41 32 PM

Screenshot 2024-02-23 at 11 44 06 AM

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