Repository of tools and tests for URI templates.
Specification: https://github.com/hapi-server/uri-templates/wiki/Specification
Wiki Page: https://github.com/hapi-server/uri-templates/wiki
The files formatting.json
and parsing.json
can be used to run unit tests on code that implements the specification.
A useful time utilities library, TimeUtil.java, is found at https://github.com/hapi-server/client-java/blob/master/src/org/hapiserver/TimeUtil.java and its use is shown in unit tests at https://github.com/hapi-server/uri-templates/blob/master/UriTemplatesJava/test/org/hapiserver/TimeUtilTest.java.
Here is a list of implementations of the specification:
Name Notes |
Language | URL |
---|---|---|
URI_Templates Java reference implementation |
Java | https://github.com/hapi-server/uri-templates/tree/master/UriTemplatesJava https://cottagesystems.com/hapi/uri_templates/doc/ |
Autoplot Aggregation nearly complete for spec |
Java | https://autoplot.org/ |
URI_Templates JavaScript | JavaScript | https://github.com/hapi-server/uri-templates/tree/master/UriTemplatesJavaScript |
URI_Templates Python | Python | https://github.com/hapi-server/uri-templates/tree/master/UriTemplatesPython |
URI_Templates IDL | IDL | Coming soon, Java bridge could be used as well. |
URI_Templates Matlab | Matlab | This could be done as well, Java bridge could be used as well. |