brooklyn.extras.openshift
Class OpenshiftExpressApplicationAccess
java.lang.Object
brooklyn.extras.openshift.OpenshiftExpressApplicationAccess
public class OpenshiftExpressApplicationAccess
- extends Object
|
Method Summary |
Object |
create()
creates (and starts) an app; accepts 'retries' flags which is useful because openshift sometimes returns 500 server error |
Object |
create(Map flags)
|
Object |
destroy()
deletes (and stops) an app |
Object |
doPost(Map jsonDataFields)
|
Object |
doPost(Map jsonDataFields,
String urlExtension)
|
Object |
doPost(String urlExtension)
|
brooklyn.extras.openshift.OpenshiftExpressAccess.OpenshiftJsonResult<brooklyn.extras.openshift.OpenshiftExpressAccess.UserInfoResult> |
getUserInfo()
|
Object |
status()
returns info on an app; note, throws IllegalState on http error response 500 if doesn't exist |
protected void |
validate()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
validate
protected void validate()
status
public Object status()
- returns info on an app; note, throws IllegalState on http error response 500 if doesn't exist
create
public Object create()
- creates (and starts) an app; accepts 'retries' flags which is useful because openshift sometimes returns 500 server error
create
public Object create(Map flags)
destroy
public Object destroy()
- deletes (and stops) an app
doPost
public Object doPost(String urlExtension)
doPost
public Object doPost(Map jsonDataFields)
doPost
public Object doPost(Map jsonDataFields,
String urlExtension)
getUserInfo
public brooklyn.extras.openshift.OpenshiftExpressAccess.OpenshiftJsonResult<brooklyn.extras.openshift.OpenshiftExpressAccess.UserInfoResult> getUserInfo()
Copyright © 2013. All Rights Reserved.