Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated REST API endpoints #637

Merged
merged 2 commits into from
Apr 18, 2017

Conversation

tbouron
Copy link
Member

@tbouron tbouron commented Apr 14, 2017

This removes the deprecated REST API endpoints from Brooklyn 0.7.0. It also fixes the launcher configuration (as the VersionApi has been entirely removed) and unit tests.

Please note that I didn't touch the LocationApi for a very specific reason: currently, this is the only way of getting the locations defined within brooklyn.properties/brooklyn.cfg files. We need to figure out first how to handle those locations before removing the endpoint. As you can see, this is not in the scope of this PR.

@tbouron
Copy link
Member Author

tbouron commented Apr 14, 2017

BTW, I also checked the JSGUI and it does not use any of the deprecated calls so you are good on this part

@geomacy
Copy link
Contributor

geomacy commented Apr 18, 2017

👍 lgtm; have also tested a variety of br command line operations against this without problems. Will merge.

@asfgit asfgit merged commit e36ef90 into apache:master Apr 18, 2017
asfgit pushed a commit that referenced this pull request Apr 18, 2017
Remove deprecated REST API endpoints

This removes the deprecated REST API endpoints from Brooklyn 0.7.0. It also fixes the launcher configuration (as the `VersionApi` has been entirely removed) and unit tests.

Please note that I didn't touch the `LocationApi` for a very specific reason: currently, this is the only of getting the locations defined within `brooklyn.properties`/`brooklyn.cfg` files. We need to figure out first how to handle those locations before removing the endpoints. As you can see, this is not in the scope of this PR.
@tbouron
Copy link
Member Author

tbouron commented Apr 18, 2017

Awesome, thanks @geomacy! Could you also take a look at apache/brooklyn-client#45 please? That will avoid the build to fail

@tbouron tbouron deleted the update/deprecated-apis branch April 18, 2017 13:57
asfgit pushed a commit to apache/brooklyn-client that referenced this pull request Apr 18, 2017
Remove deprecated REST API endpoints

This requires apache/brooklyn-server#637
@geomacy
Copy link
Contributor

geomacy commented Apr 18, 2017

@tbouron that's done thanks

asfgit pushed a commit to apache/brooklyn-client that referenced this pull request Apr 19, 2017
Removed unused class

Fixes broken jenkins builds, introduced by #45 and apache/brooklyn-server#637
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants