ga4gh-beacon / beacon-verifier

Tool to verify that a Beacon implementation follows the specification
2 stars 3 forks source link

Re-design verifier to work on pulled local copies #13

Open mbaudis opened 2 years ago

mbaudis commented 2 years ago

As discussed in https://github.com/ga4gh-beacon/beacon-verifier/issues/12 (and in previous issues for the Beacon v2 sources, using relative links to individual Github schemas inside a given project may lead to inconsistent behaviour when resolving schemas, while using absolute URLs to GH raw files brings another level of maintenance headaches, binds the schema to the hosting service and makes schema extensions extremely complicated; but especially breaks use cases with limited or missing network I/O. Some note:

Having external URLs within schema makes it impossible to use within other programs directly. This is mainly due to security and we would typically block outbound connections from containers/clusters. I like the idea of strictly local verification with zero HTTP calls to GitHub. Originally posted by @anuradhawick in https://github.com/ga4gh-beacon/beacon-verifier/issues/12#issuecomment-1184178431

Proposal

Alternatively or as addition, we could provide fully de-referenced schemas for all entities.