@RestController
public class SchedulerController
extends org.openecomp.portalsdk.core.controller.RestrictedBaseController
Modifier and Type | Field and Description |
---|---|
DateFormat |
requestDateFormat
The request date format.
|
Constructor and Description |
---|
SchedulerController() |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<String> |
getTimeSlots(javax.servlet.http.HttpServletRequest request,
String scheduler_request) |
protected GetTimeSlotsWrapper |
getTimeSlots(String request,
String path,
String uuid) |
org.springframework.http.ResponseEntity<String> |
postCreateNewVNFChange(javax.servlet.http.HttpServletRequest request,
org.json.simple.JSONObject scheduler_request) |
protected PostCreateNewVnfWrapper |
postSchedulingRequest(org.json.simple.JSONObject request,
String path,
String uuid) |
protected PostSubmitVnfChangeTimeSlotsWrapper |
postSubmitSchedulingRequest(org.json.simple.JSONObject request,
String path,
String uuid) |
org.springframework.http.ResponseEntity<String> |
postSubmitVnfChangeTimeslots(javax.servlet.http.HttpServletRequest request,
org.json.simple.JSONObject scheduler_request) |
getExceptionView, getViewName, isAccessible, isRESTfulCall, setExceptionView, setViewName
public DateFormat requestDateFormat
@RequestMapping(value="/get_time_slots/{scheduler_request}", method=GET) public org.springframework.http.ResponseEntity<String> getTimeSlots(javax.servlet.http.HttpServletRequest request, @PathVariable(value="scheduler_request") String scheduler_request) throws Exception
Exception
protected GetTimeSlotsWrapper getTimeSlots(String request, String path, String uuid) throws Exception
Exception
@RequestMapping(value="/post_create_new_vnf_change", method=POST) public org.springframework.http.ResponseEntity<String> postCreateNewVNFChange(javax.servlet.http.HttpServletRequest request, @RequestBody org.json.simple.JSONObject scheduler_request) throws Exception
Exception
protected PostCreateNewVnfWrapper postSchedulingRequest(org.json.simple.JSONObject request, String path, String uuid) throws Exception
Exception
@RequestMapping(value="/submit_vnf_change_timeslots", method=POST) public org.springframework.http.ResponseEntity<String> postSubmitVnfChangeTimeslots(javax.servlet.http.HttpServletRequest request, @RequestBody org.json.simple.JSONObject scheduler_request) throws Exception
Exception
protected PostSubmitVnfChangeTimeSlotsWrapper postSubmitSchedulingRequest(org.json.simple.JSONObject request, String path, String uuid) throws Exception
Exception
Copyright © 2017. All rights reserved.