v1.4.0
Overview
The enhancements that the new release provides are mainly related to the security topic.
We've extended the creation of the refine client, allowing provisioning of credentials, which later to be used for the request execution in secured instance of OntoRefine.
New
- Enhanced the RefineClients to allow creation of different types of RefineClient instances. Now it can produce security aware client, which accepts credentials provider allowing to execute commands over secured Refine tools. Additionally there is an option, which allows full customization over the internal HTTP client that will be used by the RefineClient instance.
Changes
- Deprecated RefineClients#create method in favor of RefineClients#standard. Now that there are more methods in RefineClients, create doesn't seems appropriate as it doesn't provide context for the type of the produced client.
Bug fixes
- Fixed the method setOptions in ExportRowsCommand#Builder to follow the fluent pattern.
- Reverted the wrongly committed changes to the interface implementation of the RefineClient.
- Fixed an issue with the ExportRdfCommand request entity. If the initial request fails, it is retried due to the retry policy of the client. However the entity contains stream, which has been closed, which causes the retry to also fail without obvious reason. The simplest fix was to wrap the BasicHttpEntity in BufferedHttpEntity, which is always repeatable.