-
Notifications
You must be signed in to change notification settings - Fork 91
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
Improvements to brooklyn-server/rest/rest-api #1177
base: master
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,103 @@ | |||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this file now removed from source control? i know there was talk of this, but here it looks like it is being added back in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's been removed, but not ignored. Better ignore instead of adding it back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or even better - generate it somewhere under target/
. Will look into this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have removed the file and supposedly the pom instructions that generate it. If the file keeps reappearing we can gitignore it, and ungitignore+add it later on if we need it.
@andreaturli - this looks really good. @neykov is working with @CMoH on porting the REST API to CXF. that should help w any karaf issues but might hurt with conflicts elsewhere. shouldn't be too bad though, these changes are relatively self-contained. check with them on whether they can merge this in to their work. I think |
Feel free to merge before #1140. That PR already has merge conflicts, that will more time to resolve anyway. I think there's no point holding this back in the meantime. |
thanks @CMoH |
strange test failure. can't tell if it is related to this or a new intermittent one. |
@andreaturli Build failure in @CMoH do you know of any maven config that will abort the build on discrepancy between |
And also delete |
@neykov There are two possible ways I know of here: one is using the The other is using the itest project to test that each feature works fine. This takes a lot of time to execute, though, and as such I'd go for the first option. |
93d7535
to
11cc6ad
Compare
- remove JsonNode from API interfaces - refactor consistently toStringand hashCode and equals for the domain objects - remove deprecated code - simplified pom dependencies - remove com.codehaus.jackson dependency and promote com.fasterxml.jackson usage - adjust BrooklynJacksonSerializer to use jackson 2 api - fix web.xml for rest-api and rest-client - update feature.xml dependencies, followin maven dependency changes
11cc6ad
to
3b71b1b
Compare
toString
,hashCode
andequals
@ahgittin I'd appreciate your thoughts particularly on
BrooklynJacksonJsonProvider
as jackson api are significantly changed in that area.Notice this is not ready to be merged as even if
brooklyn-server/rest
sub-modules are building fine, but karaf section need to be fixed. I'd appreciate any help from karaf experts.