feature:support spring cloud configData

pull/451/head
wulingxiao 3 years ago
parent a5d543a4a4
commit 0d84c9f3cc

@ -21,7 +21,6 @@ import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.core.env.Environment;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**

@ -18,11 +18,12 @@
package com.tencent.cloud.polaris.config.example;
import java.util.Set;
import com.tencent.cloud.polaris.config.annotation.PolarisConfigKVFileChangeListener;
import com.tencent.cloud.polaris.config.listener.ConfigChangeEvent;
import org.springframework.stereotype.Component;
import java.util.Set;
import org.springframework.stereotype.Component;
/**
* Custom Config Listener Example .

Loading…
Cancel
Save