@ApiOperation(value="deploy the software tosca template",nickname="deployProvisionToscaTemplateByID",notes="Returns the deployment ID",response=String.class,authorizations={
@Authorization(value="drip_auth",scopes={
@AuthorizationScope(scope="read:ToscaTemplate",description="read your topolog template"),
@AuthorizationScope(scope="write:ToscaTemplate",description="modify topolog template in your account")
@ApiResponse(code=400,message="Invalid ID supplied"),
@ApiResponse(code=404,message="ToscaTemplate not found"),
@ApiResponse(code=405,message="Invalid input")})
@RequestMapping(value="/deployer/deploy/{id}",
produces={"text/plain"},
method=RequestMethod.GET)
ResponseEntity<String>deployProvisionToscaTemplateByID(@ApiParam(value="ID of topolog template to deploy",required=true)@PathVariable("id")Stringid);
@ApiOperation(value="get the deployment topolog template",nickname="getDeployToscaTemplateByID",notes="Returns the deployment topolog template",response=String.class,authorizations={
@Authorization(value="drip_auth",scopes={
@AuthorizationScope(scope="read:ToscaTemplate",description="read your topolog template"),
@AuthorizationScope(scope="write:ToscaTemplate",description="modify topolog template in your account")
publicResponseEntity<String>deployProvisionToscaTemplateByID(@ApiParam(value="ID of topolog template to deploy",required=true)@PathVariable("id")Stringid){
@ApiOperation(value="get the plan tosca template",nickname="getPlanToscaTemplateByID",notes="Returns the plan topolog template",response=String.class,authorizations={
@Authorization(value="drip_auth",scopes={
@AuthorizationScope(scope="read:ToscaTemplate",description="read your topolog template"),
@AuthorizationScope(scope="write:ToscaTemplate",description="modify topolog template in your account")
@ApiResponse(code=400,message="Invalid ID supplied"),
@ApiResponse(code=404,message="ToscaTemplate not found"),
@ApiResponse(code=405,message="Invalid input")})
@RequestMapping(value="/planner/{id}",
produces={"text/plain"},
method=RequestMethod.GET)
ResponseEntity<String>getPlanToscaTemplateByID(@ApiParam(value="ID of topolog template plan",required=true)@PathVariable("id")Stringid);
@ApiOperation(value="plan tosca template",nickname="planToscaTemplateByID",notes="Returns the ID of the planed topolog template",response=String.class,authorizations={
@Authorization(value="drip_auth",scopes={
@AuthorizationScope(scope="read:ToscaTemplate",description="read your topolog template"),
@AuthorizationScope(scope="write:ToscaTemplate",description="modify topolog template in your account")
publicResponseEntity<Void>getTopologTemplateById(@ApiParam(value="ID of topolog template to return",required=true)@PathVariable("TopologTemplateId")LongtopologTemplateId){
publicResponseEntity<Void>topologTemplate(@ApiParam(value="ID of topolog template to return",required=true)@PathVariable("TopologTemplateId")LongtopologTemplateId,@ApiParam(value="")@RequestHeader(value="api_key",required=false)StringapiKey){
publicResponseEntity<String>planToscaTemplateByID(@ApiParam(value="ID of topolog template to plan",required=true)@PathVariable("id")Stringid){
publicResponseEntity<Void>updateTopologTemplate(@ApiParam(value="ID of topolog template to return",required=true)@PathVariable("TopologTemplateId")LongtopologTemplateId,@ApiParam(value="file detail")@Valid@RequestPart("file")MultipartFilefile){
@ApiResponse(code=400,message="Invalid ID supplied"),
@ApiResponse(code=404,message="ToscaTemplate not found"),
@ApiResponse(code=405,message="Invalid input")})
@RequestMapping(value="/provisioner/{id}",
produces={"text/plain"},
method=RequestMethod.GET)
ResponseEntity<String>getProvisionToscaTemplateByID(@ApiParam(value="ID of topolog template to plan",required=true)@PathVariable("id")Stringid);
@ApiOperation(value="provision tosca template",nickname="provisionPlanToscaTemplateByID",notes="provosions the operationId: Plan Tosca Template Returns the provision ID",response=String.class,authorizations={
@Authorization(value="drip_auth",scopes={
@AuthorizationScope(scope="read:ToscaTemplate",description="read your topolog template"),
@AuthorizationScope(scope="write:ToscaTemplate",description="modify topolog template in your account")
publicResponseEntity<String>provisionPlanToscaTemplateByID(@ApiParam(value="ID of topolog template to plan",required=true)@PathVariable("id")Stringid){
@ApiResponse(code=400,message="Invalid ID supplied"),
@ApiResponse(code=404,message="ToscaTemplate not found")})
@RequestMapping(value="/tosca_template/{id}",
method=RequestMethod.DELETE)
ResponseEntity<String>deleteToscaTemplateByID(@ApiParam(value="ID of topolog template to return",required=true)@PathVariable("id")Stringid);
@ApiOperation(value="Find topolog template by ID",nickname="getTopologTemplateById",notes="Returns a single topolog template",authorizations={
@ApiOperation(value="Find topolog template by ID",nickname="getToscaTemplateByID",notes="Returns a single topolog template",response=String.class,authorizations={
@Authorization(value="drip_auth",scopes={
@AuthorizationScope(scope="write:TopologTemplate",description="modify topolog template in your account"),
@AuthorizationScope(scope="read:TopologTemplate",description="read your topolog template")
@AuthorizationScope(scope="read:ToscaTemplate",description="read your topolog template"),
@AuthorizationScope(scope="write:ToscaTemplate",description="modify topolog template in your account")
ResponseEntity<Void>getTopologTemplateById(@ApiParam(value="ID of topolog template to return",required=true)@PathVariable("TopologTemplateId")LongtopologTemplateId);
ResponseEntity<String>getToscaTemplateByID(@ApiParam(value="ID of topolog template to return",required=true)@PathVariable("id")Stringid);
@ApiOperation(value="Deletes a topolog template",nickname="topologTemplate",notes="",authorizations={
ResponseEntity<Void>topologTemplate(@ApiParam(value="ID of topolog template to return",required=true)@PathVariable("TopologTemplateId")LongtopologTemplateId,@ApiParam(value="")@RequestHeader(value="api_key",required=false)StringapiKey);
@ApiResponse(code=404,message="ToscaTemplate not found"),
@ApiResponse(code=405,message="Invalid input")})
@RequestMapping(value="/tosca_template/{id}",
produces={"text/plain"},
consumes={"multipart/form-data"},
method=RequestMethod.PUT)
ResponseEntity<String>updateToscaTemplateByID(@ApiParam(value="ID of topolog template to return",required=true)@PathVariable("id")Stringid,@ApiParam(value="file detail")@Valid@RequestPart("file")MultipartFilefile);
@ApiOperation(value="Updates exisintg topolog template in the store",nickname="updateTopologTemplate",notes="",authorizations={
@ApiOperation(value="upload a tosca template description file",nickname="uploadToscaTemplate",notes="",response=String.class,authorizations={
@Authorization(value="drip_auth",scopes={
@AuthorizationScope(scope="write:TopologTemplate",description="modify topolog template in your account"),
@AuthorizationScope(scope="read:TopologTemplate",description="read your topolog template")
@AuthorizationScope(scope="read:ToscaTemplate",description="read your topolog template"),
@AuthorizationScope(scope="write:ToscaTemplate",description="modify topolog template in your account")
ResponseEntity<Void>updateTopologTemplate(@ApiParam(value="ID of topolog template to return",required=true)@PathVariable("TopologTemplateId")LongtopologTemplateId,@ApiParam(value="file detail")@Valid@RequestPart("file")MultipartFilefile);
publicResponseEntity<String>updateToscaTemplateByID(@ApiParam(value="ID of topolog template to return",required=true)@PathVariable("id")Stringid,@ApiParam(value="file detail")@Valid@RequestPart("file")MultipartFilefile){
ResponseEntity<String>userLoginGet(@NotNull@ApiParam(value="The user name for login",required=true)@Valid@RequestParam(value="username",required=true)Stringusername,@NotNull@ApiParam(value="The password for login in clear text",required=true)@Valid@RequestParam(value="password",required=true)Stringpassword);
@ApiOperation(value="Logs out current logged in user session",nickname="userLogoutGet",notes="",tags={})
ResponseEntity<Void>deleteUser(@ApiParam(value="The name that needs to be deleted",required=true)@PathVariable("username")Stringusername);
ResponseEntity<Void>userUsernameDelete(@ApiParam(value="The name that needs to be deleted",required=true)@PathVariable("username")Stringusername);
@ApiOperation(value="Get user by user name",nickname="getUserByName",notes="",response=User.class,authorizations={
@ApiOperation(value="Get user by user name",nickname="userUsernameGet",notes="",response=User.class,authorizations={
@Authorization(value="drip_auth",scopes={
@AuthorizationScope(scope="admin:User",description="Grants access to admin operations")
})
...
...
@@ -65,29 +85,10 @@ public interface UserApi {
@RequestMapping(value="/user/{username}",
produces={"application/json"},
method=RequestMethod.GET)
ResponseEntity<User>getUserByName(@ApiParam(value="The name that needs to be fetched. Use user1 for testing. ",required=true)@PathVariable("username")Stringusername);
@ApiOperation(value="Logs user into the system",nickname="loginUser",notes="",response=String.class,tags={"user",})
ResponseEntity<String>loginUser(@NotNull@ApiParam(value="The user name for login",required=true)@Valid@RequestParam(value="username",required=true)Stringusername,@NotNull@ApiParam(value="The password for login in clear text",required=true)@Valid@RequestParam(value="password",required=true)Stringpassword);
@ApiOperation(value="Logs out current logged in user session",nickname="logoutUser",notes="",tags={"user",})
ResponseEntity<User>userUsernameGet(@ApiParam(value="The name that needs to be fetched. Use user1 for testing. ",required=true)@PathVariable("username")Stringusername);
@ApiOperation(value="Updated user",nickname="updateUser",notes="This can only be done by the logged in user.",authorizations={
@ApiOperation(value="Updated user",nickname="userUsernamePut",notes="This can only be done by the logged in user.",authorizations={
@Authorization(value="drip_auth",scopes={
@AuthorizationScope(scope="admin:User",description="Grants access to admin operations")
})
...
...
@@ -98,6 +99,6 @@ public interface UserApi {
@RequestMapping(value="/user/{username}",
produces={"application/json"},
method=RequestMethod.PUT)
ResponseEntity<Void>updateUser(@ApiParam(value="name that need to be updated",required=true)@PathVariable("username")Stringusername,@ApiParam(value="Updated user object",required=true)@Valid@RequestBodyUserbody);
ResponseEntity<Void>userUsernamePut(@ApiParam(value="name that need to be updated",required=true)@PathVariable("username")Stringusername,@ApiParam(value="Updated user object",required=true)@Valid@RequestBodyUserbody);
publicResponseEntity<User>getUserByName(@ApiParam(value="The name that needs to be fetched. Use user1 for testing. ",required=true)@PathVariable("username")Stringusername){
publicResponseEntity<String>createUser(@ApiParam(value="Created user object",required=true)@Valid@RequestBodyUserbody){
publicResponseEntity<String>loginUser(@NotNull@ApiParam(value="The user name for login",required=true)@Valid@RequestParam(value="username",required=true)Stringusername,@NotNull@ApiParam(value="The password for login in clear text",required=true)@Valid@RequestParam(value="password",required=true)Stringpassword){
publicResponseEntity<String>userLoginGet(@NotNull@ApiParam(value="The user name for login",required=true)@Valid@RequestParam(value="username",required=true)Stringusername,@NotNull@ApiParam(value="The password for login in clear text",required=true)@Valid@RequestParam(value="password",required=true)Stringpassword){
publicResponseEntity<Void>updateUser(@ApiParam(value="name that need to be updated",required=true)@PathVariable("username")Stringusername,@ApiParam(value="Updated user object",required=true)@Valid@RequestBodyUserbody){
publicResponseEntity<Void>userUsernameDelete(@ApiParam(value="The name that needs to be deleted",required=true)@PathVariable("username")Stringusername){
publicResponseEntity<User>userUsernameGet(@ApiParam(value="The name that needs to be fetched. Use user1 for testing. ",required=true)@PathVariable("username")Stringusername){
publicResponseEntity<Void>userUsernamePut(@ApiParam(value="name that need to be updated",required=true)@PathVariable("username")Stringusername,@ApiParam(value="Updated user object",required=true)@Valid@RequestBodyUserbody){