[
https://issues.apache.org/jira/browse/SCB-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jimin Wu resolved SCB-2165.
---------------------------
Resolution: Done
> allow @ConditionalOnProperty work with configuration from microservice.yaml
> ---------------------------------------------------------------------------
>
> Key: SCB-2165
> URL: https://issues.apache.org/jira/browse/SCB-2165
> Project: Apache ServiceComb
> Issue Type: Improvement
> Components: Java-Chassis
> Reporter: Jimin Wu
> Assignee: Jimin Wu
> Priority: Major
> Fix For: java-chassis-2.1.5
>
>
> @ConditionalOnProperty is provided by springboot
> and @Conditional is provided by spring
>
> implement EnvironmentPostProcessor to load microservice.yaml earlier
>
> this solution only work when run with springboot, not spring
> because can not find a way to load microservice.yaml to spring before
> @Conditional logic run
--
This message was sent by Atlassian Jira
(v8.3.4#803005)