-
Notifications
You must be signed in to change notification settings - Fork 37
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
Support outbound message extras #581
Commits on Jun 10, 2020
-
Add constructor to MessageExtras allowing it to be instantiated from …
…a JsonObject. Some refactoring here to improve our use of gson also.
Quintin Willison committedJun 10, 2020 Configuration menu - View commit details
-
Copy full SHA for a050229 - Browse repository at this point
Copy the full SHA a050229View commit details -
Add instructions for running pure unit tests to the read me.
Quintin Willison committedJun 10, 2020 Configuration menu - View commit details
-
Copy full SHA for 0f8ee1d - Browse repository at this point
Copy the full SHA 0f8ee1dView commit details -
Add unit test as basic smoke test for the new constructor.
Quintin Willison committedJun 10, 2020 Configuration menu - View commit details
-
Copy full SHA for e8d9335 - Browse repository at this point
Copy the full SHA e8d9335View commit details -
Implement equals and hashCode on MessageExtras and DeltaExtras.
Quintin Willison committedJun 10, 2020 Configuration menu - View commit details
-
Copy full SHA for 13dd407 - Browse repository at this point
Copy the full SHA 13dd407View commit details -
Add unit test for the MessageExtras constructor that takes a DeltaExt…
…ras.
Quintin Willison committedJun 10, 2020 Configuration menu - View commit details
-
Copy full SHA for 00ad728 - Browse repository at this point
Copy the full SHA 00ad728View commit details -
Refine existing unit test to validate that a MessageExtras instance c…
…reated from JSON does not return a delta extras instance.
Quintin Willison committedJun 10, 2020 Configuration menu - View commit details
-
Copy full SHA for f2cc321 - Browse repository at this point
Copy the full SHA f2cc321View commit details -
Add unit test for MessagePack encode and decode of DeltaExtras within…
… MessageExtras.
Quintin Willison committedJun 10, 2020 Configuration menu - View commit details
-
Copy full SHA for ef99b5b - Browse repository at this point
Copy the full SHA ef99b5bView commit details -
Quintin Willison committed
Jun 10, 2020 Configuration menu - View commit details
-
Copy full SHA for f3dfaf9 - Browse repository at this point
Copy the full SHA f3dfaf9View commit details -
Refactor the message pack support within the MessageExtras to support…
… bidirectional coding of 'raw' arbitrary JSON.
Quintin Willison committedJun 10, 2020 Configuration menu - View commit details
-
Copy full SHA for 0752b58 - Browse repository at this point
Copy the full SHA 0752b58View commit details
Commits on Jun 11, 2020
-
Quintin Willison committed
Jun 11, 2020 Configuration menu - View commit details
-
Copy full SHA for c56c859 - Browse repository at this point
Copy the full SHA c56c859View commit details -
Improve message extras hash and equality implementations so that, if …
…raw is available, they only use that value. Also adds a toString, which assists with test debugging apart from anything else.
Quintin Willison committedJun 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 8a65f7e - Browse repository at this point
Copy the full SHA 8a65f7eView commit details -
Add integration test for RSL6a2.
It fails for the text protocol at the moment due to an issue with inbound JSON decoding.
Quintin Willison committedJun 11, 2020 Configuration menu - View commit details
-
Copy full SHA for cb6bc7c - Browse repository at this point
Copy the full SHA cb6bc7cView commit details -
Fix test now that MessageExtras quality check has been refactored to …
…only inspect raw if it's available.
Quintin Willison committedJun 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 41d8857 - Browse repository at this point
Copy the full SHA 41d8857View commit details -
Update gson dependency to latest release (October 2019), replacing th…
…e old version we had in place (November 2015).
Quintin Willison committedJun 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 65b2b67 - Browse repository at this point
Copy the full SHA 65b2b67View commit details -
Quintin Willison committed
Jun 11, 2020 Configuration menu - View commit details
-
Copy full SHA for d41635b - Browse repository at this point
Copy the full SHA d41635bView commit details -
Add SLF4J binding when running tests to help debugging.
Quintin Willison committedJun 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 3cbb7d9 - Browse repository at this point
Copy the full SHA 3cbb7d9View commit details -
Add integration test for RSL6a2, covering the opaque case (raw JSON i…
…n message extras), fixing the implementation to support this.
Quintin Willison committedJun 11, 2020 Configuration menu - View commit details
-
Copy full SHA for deb0f59 - Browse repository at this point
Copy the full SHA deb0f59View commit details -
Revert some of the manual JSON deserialisation code I injected as it …
…was causing REST crypto tests for text protocol to fail.
Quintin Willison committedJun 11, 2020 Configuration menu - View commit details
-
Copy full SHA for db2a17f - Browse repository at this point
Copy the full SHA db2a17fView commit details
Commits on Jun 12, 2020
-
Make the API to obtain a JsonObject from a MessageExtras instance pub…
…lic. Also: - some renaming for clarity - add code to the DeltaExtras constructor to ensure that a JsonObject is always available, making the asJsonObject method easier to reason about
Quintin Willison committedJun 12, 2020 Configuration menu - View commit details
-
Copy full SHA for e41c806 - Browse repository at this point
Copy the full SHA e41c806View commit details -
Add unit tests for constructor null arguments on MessageExtras.
Quintin Willison committedJun 12, 2020 Configuration menu - View commit details
-
Copy full SHA for 99e3407 - Browse repository at this point
Copy the full SHA 99e3407View commit details -
Remove the unnecessary DeltaExtras constructor on MessageExtras.
Quintin Willison committedJun 12, 2020 Configuration menu - View commit details
-
Copy full SHA for d6ff228 - Browse repository at this point
Copy the full SHA d6ff228View commit details -
Remove DeltaExtras JSON serialisation support as it's not needed outb…
…ound.
Quintin Willison committedJun 12, 2020 Configuration menu - View commit details
-
Copy full SHA for 00f1167 - Browse repository at this point
Copy the full SHA 00f1167View commit details -
Make the DeltaExtras constructor private as it's not needed in the pu…
…blic API.
Quintin Willison committedJun 12, 2020 Configuration menu - View commit details
-
Copy full SHA for 7fbc7b1 - Browse repository at this point
Copy the full SHA 7fbc7b1View commit details -
Fix oversight in my base message deserialisation code, covering the c…
…ase where a key is populated but with JSON null.
Quintin Willison committedJun 12, 2020 Configuration menu - View commit details
-
Copy full SHA for 5101238 - Browse repository at this point
Copy the full SHA 5101238View commit details