GEOLYTIX / xyz

An open source javascript framework for spatial data and application interfaces.
MIT License
87 stars 25 forks source link

workspace api /test src string sources #1430

Closed dbauszus-glx closed 1 week ago

dbauszus-glx commented 3 weeks ago

A method should be made available to administrators to test all sources in a workspace.

This can be done by iterating through every workspace template getting the template from source and logging the error in an array.

If the template contains a src the nested sources will be tested as well, adding the errors to the error array to be returned from the /test endpoint.

RobAndrewHurst commented 3 weeks ago

We need to determine the pass/fail criteria.

dbauszus-glx commented 3 weeks ago

We need to determine the pass/fail criteria.

Any src which fails in a getFrom(src)

dbauszus-glx commented 3 weeks ago

It is important that the envReplace method is run in the test. Hence we can only look at this after #1409 has been merged.