Commit Graph

3 Commits

Author SHA1 Message Date
Oliver Drotbohm
0401a5924d DATAREST-1386 - Tweak redirect setup for HAL explorer.
We now prepare the redirect to the HAL explorer as it expects it.
2019-06-05 23:34:06 +02:00
Oliver Drotbohm
71728be3ba DATAREST-1386 - Polishing.
Disable Javadoc generation for HAL Browser and Explorer modules as otherwise the build fails for those modules. HTTPS URIs where possible.
2019-06-05 12:33:18 +02:00
Oliver Drotbohm
e744c1c94f DATAREST-1386 - Add HAL Explorer module
We now ship a module containing the HAL Explorer [0] as an alternative to the HAL Browser which seems to be mostly out of maintenance and the WebJar refers to a jQuery version with a CVE. The new module still contains some customization code that we had in place for the browser to customize the POST/PUT forms to use the JSON Schema exposed for the aggregates.

The HAL Browser extension is now deprecated in the form that its inclusion causes a warn log to recommend switching to the explorer. A couple of general coding improvements: package scope for controllers and handler methods. Better use of constants and newer request mapping annotations.

Tweaked the configuration of static resource handlers to resolve the implicit cyclic dependency between the browser/explorer and the WebMVC module by introducing a Spring Factories backed extension SPI.

[0] https://github.com/toedter/hal-explorer
2019-06-05 11:54:19 +02:00