public class RestfulAsdcClient extends Object implements AsdcClient
Modifier and Type | Class and Description |
---|---|
static class |
RestfulAsdcClient.Builder
The Class Builder.
|
Modifier and Type | Method and Description |
---|---|
Resource |
getResource(UUID uuid)
Gets the resource.
|
Artifact |
getResourceArtifact(UUID resourceUuid,
UUID artifactUuid)
Gets the resource artifact.
|
Collection<Resource> |
getResources()
Gets the resources.
|
Collection<Resource> |
getResources(Map<String,String[]> filter)
Gets the resources.
|
Path |
getResourceToscaModel(UUID resourceUuid)
Gets the resource tosca model.
|
Service |
getService(UUID uuid)
Gets the service.
|
Artifact |
getServiceArtifact(UUID serviceUuid,
UUID artifactUuid)
Gets the service artifact.
|
Collection<Service> |
getServices()
Gets the services.
|
Collection<Service> |
getServices(Map<String,String[]> filter)
Gets the services.
|
Path |
getServiceToscaModel(UUID serviceUuid)
Gets the service tosca model.
|
public Resource getResource(UUID uuid) throws AsdcCatalogException
AsdcClient
getResource
in interface AsdcClient
uuid
- the uuidAsdcCatalogException
- the sdc catalog exceptionpublic Artifact getResourceArtifact(UUID resourceUuid, UUID artifactUuid) throws AsdcCatalogException
AsdcClient
getResourceArtifact
in interface AsdcClient
resourceUuid
- the resource uuidartifactUuid
- the artifact uuidAsdcCatalogException
- the sdc catalog exceptionpublic Collection<Resource> getResources() throws AsdcCatalogException
AsdcClient
getResources
in interface AsdcClient
AsdcCatalogException
- the sdc catalog exceptionpublic Collection<Resource> getResources(Map<String,String[]> filter) throws AsdcCatalogException
AsdcClient
getResources
in interface AsdcClient
filter
- the filterAsdcCatalogException
- the sdc catalog exceptionpublic Path getResourceToscaModel(UUID resourceUuid) throws AsdcCatalogException
AsdcClient
getResourceToscaModel
in interface AsdcClient
resourceUuid
- the uuidAsdcCatalogException
- the sdc catalog exceptionpublic Service getService(UUID uuid) throws AsdcCatalogException
AsdcClient
getService
in interface AsdcClient
uuid
- the uuidAsdcCatalogException
- the sdc catalog exceptionpublic Artifact getServiceArtifact(UUID serviceUuid, UUID artifactUuid) throws AsdcCatalogException
AsdcClient
getServiceArtifact
in interface AsdcClient
serviceUuid
- the service uuidartifactUuid
- the artifact uuidAsdcCatalogException
- the asdc catalog exceptionpublic Collection<Service> getServices() throws AsdcCatalogException
AsdcClient
getServices
in interface AsdcClient
AsdcCatalogException
- the sdc catalog exceptionpublic Collection<Service> getServices(Map<String,String[]> filter) throws AsdcCatalogException
AsdcClient
getServices
in interface AsdcClient
filter
- the filterAsdcCatalogException
- the asdc catalog exceptionpublic Path getServiceToscaModel(UUID serviceUuid) throws AsdcCatalogException
AsdcClient
getServiceToscaModel
in interface AsdcClient
serviceUuid
- the uuidAsdcCatalogException
- the asdc catalog exceptionCopyright © 2017. All rights reserved.