此内容没有您所选择的语言版本。
6.9. Communication Between OpenShift and Cartridges
A cartridge can provide services for use by multiple gears in one application. OpenShift Enterprise enables you to publish these services. Each message writes to
stdout
or stderr
with an exit status, one message per line.
Example 6.6. Service Messages
ENV_VAR_ADD: <variable name>=<value>
ENV_VAR_ADD: <variable name>=<value>
CART_DATA: <variable name>=<value>
CART_DATA: <variable name>=<value>
CART_PROPERTIES: <key>=<value>
CART_PROPERTIES: <key>=<value>
APP_INFO: <value>
APP_INFO: <value>