-
Notifications
You must be signed in to change notification settings - Fork 166
Remove UnknownEncodingMessageReader and replace with exceptions #262 #277
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 UnknownEncodingMessageReader and replace with exceptions #262 #277
Conversation
* Javadoc'ed more and more the api module Cleanup the CloudEventRWException More tests on the API module Signed-off-by: Francesco Guardiani <francescoguard@gmail.com> * Use parseTime Signed-off-by: Francesco Guardiani <francescoguard@gmail.com> * Better docs on the Extensions Signed-off-by: Francesco Guardiani <francescoguard@gmail.com> Signed-off-by: Sreenath Madasu <MADASUSX@legal.regn.net>
|
Can you fix the dco? If you look in the details, it shows you how |
slinkydeveloper
left a comment
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.
Can you add a test for parseStructuredOrBinaryMessage that tests all three cases (encoding binary, encoding structured and exception thrown for unknown encoding)?
core/src/main/java/io/cloudevents/core/message/impl/MessageUtils.java
Outdated
Show resolved
Hide resolved
…events#262 Signed-off-by: Sreenath Madasu <Sreenath.Madasu@gmail.com>
7e6b2b9 to
e3fbbf6
Compare
…ded Unit tests cloudevents#262 Signed-off-by: Sreenath Madasu <Sreenath.Madasu@gmail.com>
e31ab8e to
c8682e8
Compare
…xed compile error cloudevents#262 Signed-off-by: Sreenath Madasu <Sreenath.Madasu@gmail.com>
…anged exception name and details cloudevents#262 Signed-off-by: Sreenath Madasu <Sreenath.Madasu@gmail.com> Signed-off-by: Sreenath Madasu <MADASUSX@legal.regn.net>
27ad380 to
fa3b286
Compare
|
SGTM, can you fix the broken tests? |
|
Maybe you need a rebase on latest upstream/master |
|
Thanks for the contribution, I solved the broken test! |
Removed UNKNOWN encoding and replaced class with Exception. Please approve.