@@ -39,6 +39,24 @@ public interface ToscaTemplateApi {
...
@@ -39,6 +39,24 @@ public interface ToscaTemplateApi {
method=RequestMethod.DELETE)
method=RequestMethod.DELETE)
ResponseEntity<String>deleteToscaTemplateByID(@ApiParam(value="ID of topology template to return",required=true)@PathVariable("id")Stringid,@ApiParam(value="The node(s) to delete")@Valid@RequestParam(value="node_name",required=false)List<String>nodeName);
ResponseEntity<String>deleteToscaTemplateByID(@ApiParam(value="ID of topology template to return",required=true)@PathVariable("id")Stringid,@ApiParam(value="The node(s) to delete")@Valid@RequestParam(value="node_name",required=false)List<String>nodeName);
@ApiOperation(value="Deletes all tosca topology templates",nickname="deleteAllToscaTemplates",
notes="If the topology is provisoned it will delete the provison (Infrastructure). If it is deployed it will delete the deploymet too (Application)",response=String.class,authorizations={
@Authorization(value="auth",scopes={
@AuthorizationScope(scope="read:ToscaTemplate",description="read your topolog template")
,
@AuthorizationScope(scope="write:ToscaTemplate",description="modify topolog template in your account")
@ApiOperation(value="Find topolog template by ID",nickname="getToscaTemplateByID",notes="Returns a single topolog template",response=String.class,authorizations={
@ApiOperation(value="Find topolog template by ID",nickname="getToscaTemplateByID",notes="Returns a single topolog template",response=String.class,authorizations={
@Authorization(value="auth",scopes={
@Authorization(value="auth",scopes={
@AuthorizationScope(scope="read:ToscaTemplate",description="read your topolog template")
@AuthorizationScope(scope="read:ToscaTemplate",description="read your topolog template")