对于一个基于JDBC的配置,URL是否有用?根据{{3}},远程实例的URL可以推导如下:
让目标服务器的网址为Remote Instance and Mount Configuration Details。然后,远程实例的URL将为https://localhost:9443/services。让目标服务器的URL为https://localhost:9443/registry。然后,远程实例的URL将为https://10.20.30.40:9445/webcontext/services。
但在https://10.20.30.40:9445/webcontext/registry中,发布商的配置如下:
<remoteInstance url="https://publisher.apim-wso2.com">
<id>gov</id>
<cacheId>user@jdbc:mysql://regdb.mysql-wso2.com:3306/regdb</cacheId>
<dbConfig>govregistry</dbConfig>
<readOnly>false</readOnly>
<enableCache>true</enableCache>
<registryRoot>/</registryRoot>
</remoteInstance>
修改/ etc / hosts条目以将相关IP地址映射到remoteInstance URL。
为什么使用“APIM 2.0 deployment”,而不是“https://publisher.apim-wso2.com”?
BTW,cacheId在基于JDBC的配置中是否有用?如果是,cacheId名称规则是什么? JDBC URL?
答案 0 :(得分:1)
remoteInstance url
。
cacheId
是必需的。看到这个。
WSO2 API Manager - Setting 'CacheId' when clustering with SQL Server