ga4gh / fasp-clients

a place for client code from the FASP effort
Apache License 2.0
2 stars 3 forks source link

Instantiate DRSMetaresolver from external data rather than hard-coded in constructor #4

Open ianfore opened 2 years ago

ianfore commented 2 years ago

Options include

Note that client sub-class required depends on the server. There may be sufficient information in registry to drive this.

briandoconnor commented 2 years ago

Need a ticket on DRS repo for seeing what's happening with n2t.org and bioregistry.io. For now Michael L will just cache info from identifiers.org

ianfore commented 2 years ago

Merged in @MichaelLukowski 's standalone resolver class in resolver.py

Will look at incorporating the capability into DRSMetaresolver.

Note that we still have the problem that the method of authorization is host specific and identifiers.org does not give us any information about that. This is the sub-class issue mentioned above. Besides the service information from GA4GH registry the /service-info endpoint on the server itself may be useful.