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

0.5 closed flag exposed #41

Merged
merged 4 commits into from
Apr 16, 2018

Conversation

eupakhomov
Copy link
Contributor

No description provided.

…echniques/intention-revealing-code-java-8-optional/)

Request handling chain now explicitly throws UnsupportedFeatureException if feature is not found
IllegalStateException thrown if active session not found while handling incoming request
Communicating internal error if confirmation type is not found
Added debug log messages if promise is not found
Added debug log messages with request queue size
Added debug log messages if feature or request not found while handling incoming confirmation
Added warning log message if active session is not found before closing connection
Added warning log message if confirmation type was not found
…/toString helpers (cut versions from Guava)

String representation added to FeatureRepository and Queue
Execution time measurement and logging with debug level added to Queue
@coveralls
Copy link

Coverage Status

Coverage decreased (-3.4%) to 53.889% when pulling 1153ada on eupakhomov:0.5_closed_flag_exposed into 72e5393 on ChargeTimeEU:master.

Copy link
Member

@TVolden TVolden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The two helper files, has a different license than the rest of the project. I'm not sure how that works legally. The Apache License 2 is copyleft oppose to the MIT license I use.

* Copyright (C) 2014 The Guava Authors
* Modified by Evgeny Pakhomov <[email protected]>
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You set the license to a different one that the project. How does that work?

Copy link
Contributor Author

@eupakhomov eupakhomov Apr 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will consult with our lawyer to be on a safe side but from what I know Apache License 2 is permissive and compliant with MIT as far as its own conditions fullfilled.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've checked with lawyer - Apache License 2 is compatible with MIT. Additional restrictions are mostly that when you use it you have to mention changes specifically and you obliged to publish the code. So I've added detailed changes description.

* Copyright (C) 2014 The Guava Authors
* Modified by Evgeny Pakhomov <[email protected]>
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change of license. I'm not sure how that works legally?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will consult with our lawyer to be on a safe side but from what I know Apache License 2 is permissive and compliant with MIT as far as its own conditions fullfilled.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've checked with lawyer - Apache License 2 is compatible with MIT. Additional restrictions are mostly that when you use it you have to mention changes specifically and you obliged to publish the code. So I've added detailed changes description.

@@ -108,6 +117,8 @@ public SOAPMessage incomingRequest(SOAPMessageInfo messageInfo) {
session.close();
chargeBoxes.remove(identity);
});

// TODO: Decorator created but not used
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I totally missed that one. Thanks

@TVolden TVolden merged commit 4821388 into ChargeTimeEU:master Apr 16, 2018
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