Skip to content

Creates a configurable kv watch that sends EnvironmentChangeEvents wh… - #64

Closed
toast2e wants to merge 31 commits into
spring-cloud:masterfrom
toast2e:master
Closed

toast2e wants to merge 31 commits into
spring-cloud:masterfrom
toast2e:master

Conversation

@toast2e

@toast2e toast2e commented Jul 22, 2015

Copy link
Copy Markdown

…en changes are detected in a consul property source

Refactored tests so remove test won't clash with add/modify

Cleanup and prep for pull request

Zach Marshall and others added 4 commits May 21, 2015 10:47
The Consul KeyValue client returns folder names as KeyValue pairs
with null values. For example, if there is a config/application/ldap/
folder, then the KeyValue client returns this as a KeyValue and then
spring-cloud-consul adds this as a property, eg
config.application.ldap.=null. This is not a real property and
shouldn't be added to the environment. Specifically, this causes the
bean binding phase to fail since it can think it has a property with
a zero-length name if it finds a @ConfigurationProperties bean with
the prefix ldap (for example).
…en changes are detected in a consul property source

Refactored tests so remove test won't clash with add/modify

Cleanup and prep for pull request
Comment thread spring-cloud-consul-config/pom.xml Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We use tabs instead of spaces.

@toast2e

toast2e commented Jul 22, 2015

Copy link
Copy Markdown
Author

Any ideas why the CI build failed? It doesn't look like it picked up the actuator dependency I added. I'd like to get that cleared up with this next update if possible.

@spencergibb

Copy link
Copy Markdown
Member

@toast2e not sure, I haven't seen our PR builds work that often. The build works on my machine.

Comment thread docs/pom.xml Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you clean up these versions, can't merge with them.

@spencergibb

Copy link
Copy Markdown
Member

Can you rebase against master?

@spencergibb

Copy link
Copy Markdown
Member

Sorry it's been so long on this.

Zach Marshall and others added 11 commits September 8, 2015 13:26
The Consul KeyValue client returns folder names as KeyValue pairs
with null values. For example, if there is a config/application/ldap/
folder, then the KeyValue client returns this as a KeyValue and then
spring-cloud-consul adds this as a property, eg
config.application.ldap.=null. This is not a real property and
shouldn't be added to the environment. Specifically, this causes the
bean binding phase to fail since it can think it has a property with
a zero-length name if it finds a @ConfigurationProperties bean with
the prefix ldap (for example).
…en changes are detected in a consul property source

Refactored tests so remove test won't clash with add/modify

Cleanup and prep for pull request
…hanges brought about by existence of listener
Removes commented out line

Adds commons collections 4 dependency
Conflicts:
	pom.xml
	spring-cloud-consul-config/src/main/java/org/springframework/cloud/consul/config/ConsulConfigApplicationConfiguration.java
	spring-cloud-consul-config/src/main/java/org/springframework/cloud/consul/config/ConsulConfigProperties.java
	spring-cloud-consul-config/src/main/java/org/springframework/cloud/consul/config/ConsulConfigWatch.java
	spring-cloud-consul-config/src/main/java/org/springframework/cloud/consul/config/ConsulConfigurationListener.java
	spring-cloud-consul-config/src/main/java/org/springframework/cloud/consul/config/ConsulPropertySource.java
@toast2e

toast2e commented Sep 11, 2015

Copy link
Copy Markdown
Author

I am finding inconsistencies from the latest rebase and merge so I'll need to get those all sorted out. Sorry for the mess.

@toast2e toast2e closed this Oct 13, 2015
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.

2 participants