...
You can append query options to the URI in the following format, ?option=value&option=value&...
Options
Div |
---|
class | confluenceTableSmall |
---|
|
Wiki Markup |
---|
{div:class=confluenceTableSmall}
|| Name || Default Value || Description ||
| {{domain}} | {{null}} | Domain name. If not specified then the default domain is used. |
| {{username}} | | *Mandatory*: The username to login to openshift server. |
| {{password}} | | *Mandatory:* The password for login to openshift server. |
| {{server}} | | Url to the openshift server. If not specified then the default value from the local openshift configuration file {{ Name | Default Value | Description |
---|
domain | null | Domain name. If not specified then the default domain is used. | username | | Mandatory: The username to login to openshift server. | password | | Mandatory: The password for login to openshift server. | server | | Url to the openshift server. If not specified then the default value from the local openshift configuration file |
~/.openshift/express.conf
|
}} |
| {{delay}} | {{10s}} | *Consumer only:* How frequent to poll for state changes for the applications. By default we poll every 10 seconds. |
| {{operation}} | {{list}} | *Producer only*: The operation to perform which can be: {{list}}, {{start}}, {{stop}}, {{restart}}, and {{state}}. The {{list}} operation returns information about all the applications in json format. The {{state}} operation returns the state such as: started, stopped etc. The other operations does not return any value. |
| {{application}} | | *Producer only*: The application name to {{start}}, {{stop}}, {{restart}}, or get the {{state}}. |
| {{mode}} | | *Producer only*: Whether to output the message body as a pojo or json. For pojo the message is a {{ | delay | 10s | Consumer only: How frequent to poll for state changes for the applications. By default we poll every 10 seconds. | operation | list | Producer only: The operation to perform which can be: list , start , stop , restart , and state . The list operation returns information about all the applications in json format. The state operation returns the state such as: started, stopped etc. The other operations does not return any value. | application | | Producer only: The application name to start , stop , restart , or get the state . | mode | | Producer only: Whether to output the message body as a pojo or json. For pojo the message is a List<com.openshift.client.IApplication> |
}} |
{div} |
Examples
Listing all applications
...