moodle-tool_objectfs icon indicating copy to clipboard operation
moodle-tool_objectfs copied to clipboard

Add check API

Open dmitriim opened this issue 2 years ago • 3 comments

As this plugin can be a critical path to the inf set up, would be useful to add some health check using check API.

Candidates:

  • [ ] proxyrangerequests is enabled, but "Test range request failed"
  • [ ] A number of missing files are growing
  • [ ] a basic check which is that it can both connect to the store and grab a known small test file
  • [ ] if cloudfront is on, check that a remote url work. also check the CORS headers are good

dmitriim avatar Apr 27 '22 03:04 dmitriim

+1 but lets not worry too much about getting them all done in this issue, we can split them up into different checks and issues

brendanheywood avatar Apr 27 '22 03:04 brendanheywood

Yes. We can throw more ideas here and then tackle them separately.

dmitriim avatar Apr 27 '22 21:04 dmitriim

+1 to have a super basic check which is that it can both connect to the store, and do something simple like a head request for a file which is knows is in the store to make sure it works end to end

brendanheywood avatar Jan 30 '23 01:01 brendanheywood