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

Online services integration #37

Merged

Conversation

AlexandrouR
Copy link
Contributor

Draft PR for the upcoming online service integration.

@@ -77,6 +77,8 @@ public static void main(final CliConfig config, final String[] args) {
} else {
System.out.println("Account creation failed. Please try again later.");
}
client.connectionPool().evictAll();
Copy link
Contributor

Choose a reason for hiding this comment

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

This is also needed elsewhere, but I'm not sure we're keeping the login?

Fixed unit tests failing when calling evict all in the mocked http client.
Added more user friendly exception.
…ttp connection.

Calling system exit due to okhttp thread hanging.
@Override
public void close() throws IOException {
this.client.dispatcher().executorService().shutdown();
this.client.connectionPool().evictAll();
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need these two lines if we're calling System.exit(0) ?

Added null check and empty check on token error message.
Change gradle settings to look at web3j master snapshot version.
Reverted main gradle overwrite value to true.
@AlexandrouR AlexandrouR marked this pull request as ready for review March 6, 2020 14:30
@AlexandrouR AlexandrouR merged commit d2dff4b into hyperledger-web3j:master Mar 6, 2020
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