@RestController
@RequestMapping(value="change-management")
public class ChangeManagementController
extends org.openecomp.portalsdk.core.controller.UnRestrictedBaseController
Constructor and Description |
---|
ChangeManagementController(WorkflowService workflowService,
ChangeManagementService changeManagementService) |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<String> |
changeManagement(String vnfName,
javax.servlet.http.HttpServletRequest request,
ChangeManagementRequest changeManagmentRequest) |
org.springframework.http.ResponseEntity<Collection<Request>> |
getMSOChangeManagements() |
org.springframework.http.ResponseEntity<org.json.simple.JSONArray> |
getSchedulerChangeManagements() |
org.springframework.http.ResponseEntity<Collection<String>> |
getWorkflow(Collection<String> vnfs) |
getViewName, isAccessible, isRESTfulCall, setViewName
@Autowired public ChangeManagementController(WorkflowService workflowService, ChangeManagementService changeManagementService)
@RequestMapping(value="/workflow", method=GET) public org.springframework.http.ResponseEntity<Collection<String>> getWorkflow(@RequestParam(value="vnfs") Collection<String> vnfs) throws IOException, InterruptedException
IOException
InterruptedException
@RequestMapping(value="/mso", method=GET) public org.springframework.http.ResponseEntity<Collection<Request>> getMSOChangeManagements() throws IOException, InterruptedException
IOException
InterruptedException
@RequestMapping(value="/workflow/{vnfName}", method=POST) public org.springframework.http.ResponseEntity<String> changeManagement(@PathVariable(value="vnfName") String vnfName, javax.servlet.http.HttpServletRequest request, @RequestBody ChangeManagementRequest changeManagmentRequest) throws Exception
Exception
@RequestMapping(value="/scheduler", method=GET) public org.springframework.http.ResponseEntity<org.json.simple.JSONArray> getSchedulerChangeManagements() throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2017. All rights reserved.