polaris-java icon indicating copy to clipboard operation
polaris-java copied to clipboard

ConfigFilePublishService接口远程创建更新配置文件,无法指定文件类型

Open itfsw opened this issue 1 year ago • 1 comments

What is the feature you want to add?

  1. ConfigFilePublishService接口远程创建更新配置文件,无法指定文件类型,北极星也没有自动识别文件后缀,导致发布的配置文件都是text类型,影响北极星页面显示和编辑;
  2. upsertAndPublish接口注释不明确且存在错误,对于必传项casMd5根据北极星open api中定义:创建/更新配置文件并发布接口没有该参数,配置发布接口参数定义是对content内容进行md5; image image

casMd5值经过测试,只有传入上一次发布的md5值才能正常发布?如果是这样建议参数命名:lastReleaseContentMd5这种类似明确的参数名。

Why do you want to add this feature?

How to implement this feature?

Additional context Add any other context or screenshots about the feature request here.

itfsw avatar Aug 31 '24 03:08 itfsw

通过官方Open API调试了 创建/更新配置文件并发布接口,还是没有找到 casMd5 参数,没有传这个参数是能正常发布和更新配置文件的。

itfsw avatar Oct 24 '24 12:10 itfsw