damonxue commented on PR #4410:
URL: https://github.com/apache/shenyu/pull/4410#issuecomment-1445630388

   > As for support pushing configuration to Polaris:
   > 
   > The polaris client does not contain a method to publish the config to 
Polaris.
   > 
   > > See as: 
https://github.com/polarismesh/polaris-java/blob/main/polaris-configuration/polaris-configuration-api/src/main/java/com/tencent/polaris/configuration/api/core/ConfigFileService.java
   > 
   > ```java
   > package org.apache.shenyu.admin.listener.polaris;
   > 
   > @Override
   > public void publishConfig(String dataId, Object data) {
   >     LOG.warn("Config upload not support yet, please upload it in polaris 
first");
   > }
   > ```
   > 
   > So if we change on the admin dashboard only, it can not sync to Polaris 
and the bootstrap application.
   
   Now, Polaris-java SDK hasn't supported the sync config. But there is the 
other way to sync.
   Refer to [config sync 
codes](https://github.com/polarismesh/polaris-sync/blob/main/polaris-sync-config-plugins/config-polaris/src/main/java/cn/polarismesh/polaris/sync/config/plugins/polaris/PolarisRestUtils.java)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to