2.13. プロキシー設定
3scale toolbox を使用して、デベロッパーポータルのすべての定義済みプロキシー設定の一覧表示、表示、およびプロモートを行います。
2.13.1. プロキシー設定の一覧表示
以下のコマンドにより、プロキシー設定が一覧表示されます。
3scale proxy-config list <remote> <service> <environment>
プロキシー設定の一覧表示時に、以下のオプションを使用します。
Options for proxy-config
-c --config-file=<value> 3scale toolbox configuration file (default:
/home/msoriano/.3scalerc.yaml)
-h --help show help for this command
-k --insecure Proceed and operate even for server
connections otherwise considered insecure
-v --version Prints the version of this command
--verbose Verbose mode2.13.2. プロキシー設定の表示
以下のコマンドにより、プロキシー設定が表示されます。
3scale proxy-config show <remote> <service> <environment>
プロキシー設定の表示時に、以下のオプションを使用します。
Options for proxy-config
-c --config-file=<value> 3scale toolbox configuration file
(default: /home/msoriano/.3scalerc.yaml)
-h --help show help for this command
-k --insecure Proceed and operate even for server
connections otherwise considered
insecure
-v --version Prints the version of this command
--verbose Verbose mode2.13.3. プロキシー設定のプロモート
以下のコマンドにより、最新のステージング環境用プロキシー設定が実稼働環境にプロモートされます。
3scale proxy-config promote <remote> <service>
最新のステージング環境用プロキシー設定を実稼働環境にプロモートする際に、以下のオプションを使用します。
Options for proxy-config
-c --config-file=<value> 3scale toolbox configuration file (default:
/home/msoriano/.3scalerc.yaml)
-h --help show help for this command
-k --insecure Proceed and operate even for server
connections otherwise considered insecure
-v --version Prints the version of this command
--verbose Verbose mode