ipfs / pinning-services-api-spec

Standalone, vendor-agnostic Pinning Service API for IPFS ecosystem
https://ipfs.github.io/pinning-services-api-spec/
Creative Commons Zero v1.0 Universal
102 stars 27 forks source link

Spec Compliance Test App #64

Open lidel opened 4 years ago

lidel commented 4 years ago

Summary

I'm available to review / feed edge cases is anyone wants to pick this up.

Implementation details

Create JS client library

CLI Compliance Test suite

The compliance test would be a separate package (@ipfs-shipyard/pinning-service-complicance-checks) that uses the client library to run tests and exits with code 0 if there were no hard errors:

$ npx ipfs-pinning-service-complicance-checks https://service.example.com secret-token
Checking compliance of Pinning Service API at  https://service.example.com:
  (output)
Done!

Web interface (nice to have)

Would be nice to have a static website with two inputs for <access-token> and <endpoint> and "Test" button, but this is lower priority than CLI tool (we want something that can run automatically on CI to constantly validate services we list in ipfs-webui – https://github.com/ipfs/ipfs-webui/pull/1854#issuecomment-929088269)

Test scenarios

Below are things we want to test, in order:

MVP list

lidel commented 4 years ago

@Gozala, as we discussed yesterday:

If someone else wants to pick this up, bash + curl is fine too.

SgtPooki commented 2 years ago

I've moved all of the checklist items from this issue to https://github.com/ipfs-shipyard/pinning-service-compliance/issues. We should update any of those task items in the appropriate issues going forward.