2016-08-26 20 views
0

1つのJDBCベースの設定では、URLは便利ですか? Remote Instance and Mount Configuration Detailsによれば、リモートインスタンスのURLは次のように推測できます。WS02リモートインスタンスのレジストリXML設定

宛先サーバーのURLをhttps://localhost:9443/servicesとします。リモートインスタンスのURLはhttps://localhost:9443/registryになります。送信先サーバーのURLをhttps://10.20.30.40:9445/webcontext/servicesとします。次に、リモートインスタンスのURLはhttps://10.20.30.40:9445/webcontext/registryになります。

しかしAPIM 2.0 deployment

は、出版社の構成は以下の通りです:

<remoteInstance url="https://publisher.apim-wso2.com"> 
    <id>gov</id> 
    <cacheId>[email protected]:mysql://regdb.mysql-wso2.com:3306/regdb</cacheId> 
    <dbConfig>govregistry</dbConfig> 
    <readOnly>false</readOnly> 
    <enableCache>true</enableCache> 
    <registryRoot>/</registryRoot> 
</remoteInstance> 

がremoteInstance URLに該当するIPアドレスをマッピングするために/ etc/hostsのエントリを変更します。

  • 127.0.0.1 publisher.apim-wso2.com

は、なぜそれが "https://publisher.apim-wso2.com" ではなく、 "https://localhost:9445" を使用していますか?

ところで、cacheIdはJDBCベースの設定で役に立ちますか?はいの場合、cacheId名のルールは何ですか? JDBC URL?

答えて

関連する問題