GitHub user andreaturli opened a pull request:
https://github.com/apache/incubator-brooklyn/pull/1127
improvements to rest-api module
Initial work to simplify the rest server:
- remove `JsonNode` from API interfaces
- refactor consistently `toString`and `hashCode` and `equals` for the
domain objects
- remove deprecated code, although `LocationSpec` needs still some work
- simplified pom dependencies
Interestingly, with these changes, the `swagger.json`, obtained from the
Swagger Annotation, can be used to generate automatically a java client using
something like
[that](https://github.com/swagger-api/swagger-codegen#to-generate-a-sample-client-library)
@sjcorbett could you have a look?
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/andreaturli/incubator-brooklyn
improvements/rest-api
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/1127.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1127
----
commit 114e5e443dfc7f32316f56c20cb89eb6e717fa8e
Author: Andrea Turli <[email protected]>
Date: 2016-01-06T15:04:25Z
improvements to rest-api module
- remove JsonNode from API interfaces
- remove deprecated code
- simplified pom dependencies
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---