Skip to content

[wip] CLOUDSTACK-8677: use wrapper classes for gson serialisation#987

Closed
DaanHoogland wants to merge 2 commits into
apache:masterfrom
DaanHoogland:wrapper-classes
Closed

[wip] CLOUDSTACK-8677: use wrapper classes for gson serialisation#987
DaanHoogland wants to merge 2 commits into
apache:masterfrom
DaanHoogland:wrapper-classes

Conversation

@DaanHoogland
Copy link
Copy Markdown
Contributor

non functional change with great risk: replace all basic type fields of json serializable objects to wrapper class type fields. It is needed for gson upgrade which is needed for phone home functionality.

@wido
Copy link
Copy Markdown
Contributor

wido commented Oct 27, 2015

To add to the PR, it's not only needed for the Call-Home functionality, but we are using a very, very old version of Gson.

@DaanHoogland
Copy link
Copy Markdown
Contributor Author

@wido absolutly right. i'm not burning all these hours (both personal and sponsorred) just for the sake of this great marketing tool ;)

@wido
Copy link
Copy Markdown
Contributor

wido commented Oct 30, 2015

@borisroman Can we run the tests on this one?

@DaanHoogland DaanHoogland changed the title CLOUDSTACK-8677: use wrapper classes for gson serialisation [wip] CLOUDSTACK-8677: use wrapper classes for gson serialisation Nov 11, 2015
@yadvr
Copy link
Copy Markdown
Member

yadvr commented May 2, 2016

@DaanHoogland can you rebase against latest master; it's huge change, advise how to test and review it

@DaanHoogland
Copy link
Copy Markdown
Contributor Author

I'd rather redo it then try to port forward. Testing means validating each command in an integration test. If unit testing is required; for each command and response that can go to an agent serialising and deserialising needs to be tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants