Package org.openstack4j.api.artifact
Interface ToscaTemplatesArtifactService
-
- All Superinterfaces:
RestService
- All Known Implementing Classes:
ToscaTemplatesArtifactServiceImpl
public interface ToscaTemplatesArtifactService extends RestService
OpenStack (Glare) Artifact based Operations for Tosca Templates type- Author:
- Pavan Vadavi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ToscaTemplatesArtifact
activate(String artifactId)
Activate specific artifactToscaTemplatesArtifact
create(ToscaTemplatesArtifact toscaTemplatesArtifact)
Create artifactToscaTemplatesArtifact
deactivate(String artifactId)
Deactivate specific artifactActionResponse
delete(String artifactId)
Delete specific artifactInputStream
download(String artifactId)
Download template from artifactToscaTemplatesArtifact
get(String artifactId)
Get specific artifactToscaTemplatesArtifacts
list()
Lists all artifactsToscaTemplatesArtifact
publish(String artifactId)
Publish specific artifactToscaTemplatesArtifact
reactivate(String artifactId)
Reactivate specific artifactToscaTemplatesArtifact
update(String artifactId, List<ArtifactUpdate> artifactUpdates)
Update specific artifactToscaTemplatesArtifact
upload(String artifactId, File file)
Upload template to artifact
-
-
-
Method Detail
-
list
ToscaTemplatesArtifacts list()
Lists all artifacts- Returns:
- Tosca templates artifact list
-
get
ToscaTemplatesArtifact get(String artifactId)
Get specific artifact- Returns:
- Tosca template artifact
-
create
ToscaTemplatesArtifact create(ToscaTemplatesArtifact toscaTemplatesArtifact)
Create artifact- Returns:
- Tosca template artifact
-
upload
ToscaTemplatesArtifact upload(String artifactId, File file)
Upload template to artifact- Returns:
- Tosca template artifact
-
download
InputStream download(String artifactId)
Download template from artifact- Returns:
- Input stream
-
delete
ActionResponse delete(String artifactId)
Delete specific artifact- Returns:
- Action response
-
update
ToscaTemplatesArtifact update(String artifactId, List<ArtifactUpdate> artifactUpdates)
Update specific artifact- Returns:
- Tosca template artifact
-
activate
ToscaTemplatesArtifact activate(String artifactId)
Activate specific artifact- Returns:
- Tosca template artifact
-
deactivate
ToscaTemplatesArtifact deactivate(String artifactId)
Deactivate specific artifact- Returns:
- Tosca template artifact
-
reactivate
ToscaTemplatesArtifact reactivate(String artifactId)
Reactivate specific artifact- Returns:
- Tosca template artifact
-
publish
ToscaTemplatesArtifact publish(String artifactId)
Publish specific artifact- Returns:
- Tosca template artifact
-
-