org.duracloud.servicesadminclient
Class ServicesAdminClient
java.lang.Object
org.duracloud.servicesadminclient.ServicesAdminClient
public class ServicesAdminClient
- extends java.lang.Object
- Author:
- Andrew Woods
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServicesAdminClient
public ServicesAdminClient()
postServiceBundle
public RestHttpHelper.HttpResponse postServiceBundle(java.lang.String fileName,
java.io.InputStream stream,
long length)
throws java.lang.Exception
- Throws:
java.lang.Exception
postServiceBundle
public RestHttpHelper.HttpResponse postServiceBundle(java.io.File file)
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteServiceBundle
public RestHttpHelper.HttpResponse deleteServiceBundle(java.lang.String bundleId)
throws java.lang.Exception
- Throws:
java.lang.Exception
startServiceBundle
public RestHttpHelper.HttpResponse startServiceBundle(java.lang.String bundleId)
throws java.lang.Exception
- Throws:
java.lang.Exception
stopServiceBundle
public RestHttpHelper.HttpResponse stopServiceBundle(java.lang.String bundleId)
throws java.lang.Exception
- Throws:
java.lang.Exception
getServiceListing
public RestHttpHelper.HttpResponse getServiceListing()
throws java.lang.Exception
- Throws:
java.lang.Exception
getServiceConfig
public java.util.Map<java.lang.String,java.lang.String> getServiceConfig(java.lang.String configId)
throws java.lang.Exception
- Throws:
java.lang.Exception
postServiceConfig
public RestHttpHelper.HttpResponse postServiceConfig(java.lang.String configId,
java.util.Map<java.lang.String,java.lang.String> config)
throws java.lang.Exception
- Throws:
java.lang.Exception
getServiceStatus
public ComputeService.ServiceStatus getServiceStatus(java.lang.String serviceId)
throws java.lang.Exception
- Throws:
java.lang.Exception
getServiceProps
public java.util.Map<java.lang.String,java.lang.String> getServiceProps(java.lang.String serviceId)
throws java.lang.Exception
- Throws:
java.lang.Exception
isServiceDeployed
public boolean isServiceDeployed(java.lang.String bundleId)
throws java.lang.Exception
- Throws:
java.lang.Exception
getRester
public RestHttpHelper getRester()
setRester
public void setRester(RestHttpHelper rester)
getSerializer
public ServiceSerializer getSerializer()
setSerializer
public void setSerializer(ServiceSerializer serializer)
getBaseURL
public java.lang.String getBaseURL()
setBaseURL
public void setBaseURL(java.lang.String baseURL)
Copyright © 2009-2010 DuraSpace. All Rights Reserved.