我目前安装了WSO2 ESB和WSO2 Registry(均为4.5.0) .
注册表共享完全由步骤instruction完成
然后用例如下:
1)将包含WSDL / Schemas的zip添加到Governance Registry . 添加它们我在注册表bowser中看到的情况:
_system/governance/trunk
/endpoints
/schemas
/services
/wsdls
所有WSDL / Schemas / Endpoints / Services都与刚刚添加的WSDL包相关 .
2)启动WSO2 ESB以下注册表配置:
<dbConfig name="wso2registry_mounted">
<dataSource>jdbc/WSO2CarbonDB_GREG</dataSource>
</dbConfig>
<remoteInstance url="https:localhost:9445/registry">
<id>wso2_registry_mounted</id>
<dbConfig>wso2registry_mounted</dbConfig>
<readOnly>false</readOnly>
<enableCache>true</enableCache>
<registryRoot>/</registryRoot>
</remoteInstance>
<mount overwrite="true" path="/_system/config">
<instanceId>wso2_registry_mounted</instanceId>
<targetPath>/_system/nodes</targetPath>
</mount>
<mount overwrite="true" path="/_system/governance">
<instanceId>wso2_registry_mounted</instanceId>
<targetPath>/_system/governance</targetPath>
</mount>
3)检查ESB和Governance Registry上的注册表浏览器 . 至少模式文件夹内容被ESB覆盖 .
任何人都可以建议我如何强制ESB不要覆盖初始注册表项 . 将挂载的注册表标记为readOnly = true - 没有帮助 .
谢谢,弗拉基米尔 .
1 回答
请使用
<mount overwrite="false"
不要覆盖内容有关详细信息,请参阅document