WSO2 IS - 如何推断 deployment.toml 中的参数名称

WSO2 IS - How to infer the parameter names in deployment.toml

我需要将一些配置文件中的几个参数值添加到 WSO2 IS 5.9.0 中的部署文件 deployment.toml。我无法推断出正确的名称,因此 IS 无法正确加载它们。我如何推断如何在该文件中构建参数名称?有什么规定吗?

干杯

  1. 将以下内容添加到

    IS_HOME/repository/resources/conf/templates/repository/conf/identity.xml.j2 file

    <filterusersandgroupsonlyfromprimarydomain>{{filter.onlyfromprimary.enable}}</filterusersandgroupsonlyfromprimarydomain>

  1. 将以下内容添加到 IS_HOME/repository/conf/default。json

"filter.onlyfromprimary.enable": true

这将是默认值

  1. 根据您的要求更改配置

IS_HOME/repository/conf/deployment.toml

[filter.onlyfromprimary]
enable = true

这里我假设这个值是一个布尔值,因为您没有提供该信息。您可以根据您的要求进行更改。此外,filter.onlyfromprimary.enable这个键值也可以根据您的要求进行更改。详情请参考[1]

[1]。 https://medium.com/@madurangasaneth/simplified-centralized-configuration-model-in-wso2-is-5-9-0-onward-b149b878a695