This is a Kotlin DSL wrapper for Fuel library to work with HAL-API applications as a collection of Resources.
This wrapper provides DSL allowing Client application to navigate HAL resources on the server using high level abstract Resource objects.
This project contains follow modules:
- hal-spel: contains the wrapper itself
- fuel-spel: provides some helpful functions to configure the underlying Fuel library
- go-about: is the sample application using HALSpeL to access information about many geographical locations
- oxford: is the sample application to access information about classes in Oxford
- geoIP: is the sample application to access information about IP-address from few different services supporting HAL
For more details check README document of each module.
Also oxford
and geoIP
modules include implementations of Hi-/Low-level API from Java and Groovy code.
In additon oxford
module demonstrates an approach to document API in AsciiDoctor format including
real "live" data from running regression tests.