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

Initial Work #1

Merged
merged 74 commits into from
Feb 1, 2017
Merged

Initial Work #1

merged 74 commits into from
Feb 1, 2017

Conversation

cescoffier
Copy link
Member

Copy the work made in my repository. Ready for review.

cescoffier and others added 30 commits June 16, 2016 14:46
Add support for Raw type (requried for Kubernetes ConfigMap and Secrets)
fixes for DirectoryConfigurationStore and GitConfigurationStore
Extract the JsonObjectHelper as it can be useful to other store implementations.
…ation-service into cmoulliard-master

Slightly change how the namespace is configured, also add a test.

# Conflicts:
#	vertx-configuration-kubernetes-configmap/src/main/java/io/vertx/ext/configuration/kubernetes/ConfigMapStore.java
Implement a stream of configuration
Improve the listen method
add a polyglot version of the getConfiguraiton method returning a future.
json.completer()
);
return json;
}).setHandler(ar -> {
Copy link
Contributor

Choose a reason for hiding this comment

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

why not set completionHandler directly ?

try {
completionHandler.handle(Future.succeededFuture(ar.result()));
} catch (Exception e) {
completionHandler.handle(Future.failedFuture(e));
Copy link
Contributor

Choose a reason for hiding this comment

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

what's the intent ?

Avoid resuming a multiple times a stream

#1 (review)
#1 (review)
@cescoffier cescoffier mentioned this pull request Jan 31, 2017
@cescoffier cescoffier merged commit e9ce440 into master Feb 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants