Support for apollo-client to dynamic auto refresh
@ConfigurationProperties
bean.See about: Apollo
Maven:
<dependency>
<groupId>com.github.selfancy</groupId>
<artifactId>apollo-client-refresh-configbean</artifactId>
<version>${RELEASE_VERSION}</version>
</dependency>
Gradle:
implementation "com.github.selfancy:apollo-client-refresh-configbean:${RELEASE_VERSION}"
Both required annotation @DynamicProperties
and @ConfigurationProperties
.
Sample:
@Data
@DynamicProperties
@ConfigurationProperties("sample")
public class SampleProperties {
private int timeout;
}
-
1.0.1.RELEASE (2024-02-06)
- Support springboot 2.4.0+
- Add enableProperty to change Dynamic status. see: DynamicProperties.java
-
1.0.0.RELEASE (2021-03-30)
- Init