WSO2 APIマネージャーでは、ローカルにWSO2 ESBインスタンスを使用してAPIを公開したいと考えています。WSO2 APIマネージャから公開するようにWSO2 ESBをゲートウェイとして設定するにはどうすればよいですか?
<APIGateway>
<Environments>
<Environment type="hybrid" api-console="true">
<Name>Production and Sandbox</Name>
<Description> Description of environment</Description>
<!--ServerURL>https://${carbon.local.ip}:${mgt.transport.https.port}${carbon.context}/services/</ServerURL-->
<ServerURL>https://localhost:8243/services/</ServerURL>
<!--Username>${admin.username}</Username-->
<Username>admin</Username>
<!--Password>${admin.password}</Password-->
<Password>admin</Password>
<!--GatewayEndpoint>http://${carbon.local.ip}:${http.nio.port},https://${carbon.local.ip}:${https.nio.port}</GatewayEndpoint-->
<GatewayEndpoint>http://localhost:8280,https://localhost:8243</GatewayEndpoint>
</Environment>
</Environments>
<EnableGatewayKeyCache>true</EnableGatewayKeyCache>
<EnableGatewayResourceCache>true</EnableGatewayResourceCache>
<ClientDomainHeader>referer</ClientDomainHeader>
</APIGateway>
私はこの記事https://docs.wso2.com/display/AM190/Publish+through+Multiple+API+Gatewaysに続き、私はちょうど私のESBインスタンスに応じて設定を変更する:私は意味、私はこのように、ゲートウェイのような/repository/conf/api-manager.xml ESBインスタンスに設定します。私は従ってもらう新しいAPIを公開したいとき
問題は、APIの出版社であるエラー:
Failed to change the life cycle status : Invoking lifecycle action "Publish" failed
注:私はサービスのリストを表示できなかったので、私は8243に9443からのserviceURLのポートを変更私のブラウザにはESBがあり、8243と私はそれを見ることができます。
いいえ、私はありません。 ESBはデフォルトで機能のインストールです。 私のは正しくありませんか?私も9443(ESBポート)に疲れましたが、私は全く公開することはできません。 –