Skip to content

Conversation

seanyinx
Copy link
Member

@seanyinx seanyinx commented Jun 29, 2017

@seanyinx seanyinx force-pushed the JAV-123_rest_tracing branch from 7558aea to c18649e Compare June 29, 2017 10:10
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.07%) to 84.582% when pulling c18649e on JAV-123_rest_tracing into b3edf38 on master.

@seanyinx seanyinx changed the title Jav 123 rest tracing WIP Jav 123 rest tracing Jun 29, 2017
@seanyinx seanyinx force-pushed the JAV-123_rest_tracing branch 2 times, most recently from b6194d0 to 9ddf15e Compare June 29, 2017 11:52
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.08%) to 84.574% when pulling 9ddf15e on JAV-123_rest_tracing into b3edf38 on master.

@seanyinx seanyinx force-pushed the JAV-123_rest_tracing branch from 9ddf15e to b132725 Compare June 29, 2017 12:05
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.08%) to 84.574% when pulling b132725 on JAV-123_rest_tracing into b3edf38 on master.

@seanyinx seanyinx changed the title WIP Jav 123 rest tracing Jav 123 rest tracing Jun 30, 2017
@seanyinx seanyinx requested a review from WillemJiang June 30, 2017 01:07
@seanyinx seanyinx force-pushed the JAV-123_rest_tracing branch from b132725 to 336f5fb Compare July 2, 2017 01:04
@seanyinx
Copy link
Member Author

seanyinx commented Jul 2, 2017

this PR is on top of #65 and #65 shall be merged first

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 84.525% when pulling 29b2156 on JAV-123_rest_tracing into 464cb72 on master.

@seanyinx seanyinx force-pushed the JAV-123_rest_tracing branch from 29b2156 to 7a56071 Compare July 2, 2017 02:23
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 84.433% when pulling 7a56071 on JAV-123_rest_tracing into 464cb72 on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.06%) to 84.831% when pulling 3467fa0 on JAV-123_rest_tracing into 464cb72 on master.

@seanyinx seanyinx requested review from wujimin and liubao68 July 3, 2017 04:24
@seanyinx seanyinx force-pushed the JAV-123_rest_tracing branch from 3467fa0 to 7f82fb9 Compare July 3, 2017 07:50
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 84.831% when pulling 7f82fb9 on JAV-123_rest_tracing into ec3f374 on master.

}
return properties;
}

Copy link
Contributor

@liubao68 liubao68 Jul 3, 2017

Choose a reason for hiding this comment

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

ConfigUtil.installDynamicConfig() is duplicate with bean inialization.

Copy link
Member Author

Choose a reason for hiding this comment

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

sorry, could you elaborate a bit? I didn't get what you mean.

Copy link
Contributor

Choose a reason for hiding this comment

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

这个只是逻辑上有点绕,感觉不是很顺,功能上没问题。ConfigUtil.installDynamicConfig和DynamicPropertiesImpl(AbstractConfiguration... configurations) 做的是同一个事情。DynamicPropertiesImpl只不过现在初始化的时候,没有调用ConfiguratioinManager.install。 从整个系统来看,初始化配置的过程还是由ConfigUtil.installDynamicConfig完成的。

Copy link
Member Author

Choose a reason for hiding this comment

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

the idea of DynamicProperties here is to replace direct use of archaius classes in our code, so that the testing and extending our framework to support other dynamic configurations, such as disconf, can be done without modification to our framework code.

DynamicPropertiesImpl() {
}

DynamicPropertiesImpl(AbstractConfiguration... configurations) {
Copy link
Contributor

Choose a reason for hiding this comment

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

unused consturctor

Copy link
Member Author

@seanyinx seanyinx Jul 4, 2017

Choose a reason for hiding this comment

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

this constructor is called in testing

@seanyinx seanyinx merged commit ea1abe5 into master Jul 4, 2017
@seanyinx seanyinx deleted the JAV-123_rest_tracing branch July 4, 2017 07:36
import com.netflix.config.ConcurrentMapConfiguration;
import com.netflix.config.ConfigurationManager;
import com.netflix.config.DynamicPropertyFactory;
import com.seanyinx.github.unit.scaffolding.Poller;
Copy link
Contributor

Choose a reason for hiding this comment

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

this code(com.seanyinx.*) , is it persional code ? is it ok?

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.

6 participants