无法在 wso2-am 3.0 中的 api-manager.xml 中进行更改 [英] Unable to make change in api-manager.xml in wso2-am 3.0
问题描述
我正在使用 wso2
api manager 3.0 并且无法在 api-manager.xml 中进行任何更改,无论更改如何,我都在服务器重新启动后恢复了这些更改.我尝试通过更改 off-set
端口和开发门户 url
来实现.
I am using wso2
api manager 3.0 and unable to make any changes in api-manager.xml, whatever changes, I made those get reverted after the restart of server. I tried it from changing the off-set
port and dev portal url
.
有什么建议吗?
推荐答案
在 API Manager 3.0.0 中,配置模型已更改.所有配置都可以在一个名为 deployment.toml 的文件中找到,该文件位于 <APIM-Home>/repository/conf.
In API Manager 3.0.0, the configuration model has been changed. All configurations can be found in a single file named as deployment.toml which is located in <APIM-Home>/repository/conf.
您必须在该文件中添加/更改配置.例如,要更改偏移量,请取消注释 offset 并提供偏移量.
You have to add/change configurations in that file. For instance, in order to change the offset, uncomment offset and provide the offset.
您可以参考 [1] 获取示例配置.正如您所提到的,应用到 api-manager.xml 的更改将被 deployment.toml 中配置的值覆盖
You can refer [1] for sample configurations. As you mentioned, changed applied to api-manager.xml will be overridden with the values configured in deployment.toml
请注意,文档正在制作中.它将使用缺少的配置信息进行更新
Please note that documentations are in-progress. It will be updated with missing configs information
更新
[1] https://apim.docs.wso2.com/en/3.0.0/reference/config-catalog/
这篇关于无法在 wso2-am 3.0 中的 api-manager.xml 中进行更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!