Class WebBasedOnboardingController


  • @Controller
    @RequestMapping("/webBasedOnBoarding")
    public class WebBasedOnboardingController
    extends AbstractController
    • Constructor Detail

      • WebBasedOnboardingController

        public WebBasedOnboardingController()
    • Method Detail

      • addToCatalog

        @RequestMapping(value="/addToCatalog/{userId}",
                        method=POST,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<RestPageResponseBE<MLSolution>> addToCatalog​(javax.servlet.http.HttpServletRequest request,
                                                                         javax.servlet.http.HttpServletResponse response,
                                                                         @RequestHeader("Authorization")
                                                                         String authorization,
                                                                         @RequestHeader(value="provider",required=false)
                                                                         String provider,
                                                                         @RequestBody
                                                                         JsonRequest<UploadSolution> restPageReq,
                                                                         @PathVariable("userId")
                                                                         String userId)
      • messagingStatus

        @RequestMapping(value="/messagingStatus/{userId}/{trackingId}",
                        method=POST,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<List<MLStepResult>> messagingStatus​(@PathVariable("userId")
                                                                String userId,
                                                                @PathVariable("trackingId")
                                                                String trackingId)
      • createStepResult

        @RequestMapping(value="/stepResult/create",
                        method=PUT,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<org.acumos.cds.domain.MLPTaskStepResult> createStepResult​(@RequestBody
                                                                                      org.acumos.cds.domain.MLPTaskStepResult stepResult,
                                                                                      javax.servlet.http.HttpServletResponse response)
        Parameters:
        stepResult -
        response -
        Returns:
      • updateStepResult

        @RequestMapping(value="/stepResult/update",
                        method=PUT,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<org.acumos.cds.domain.MLPTaskStepResult> updateStepResult​(@RequestBody
                                                                                      org.acumos.cds.domain.MLPTaskStepResult stepResult,
                                                                                      javax.servlet.http.HttpServletResponse response)
        Parameters:
        stepResult -
        response -
        Returns:
      • deleteStepResult

        @RequestMapping(value="/stepResult/delete/{stepResultId}",
                        method=DELETE,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<org.acumos.cds.domain.MLPTaskStepResult> deleteStepResult​(javax.servlet.http.HttpServletRequest request,
                                                                                      @PathVariable("userId")
                                                                                      Long stepResultId,
                                                                                      javax.servlet.http.HttpServletResponse response)
      • findStepresultBySolutionId

        @RequestMapping(value="/messagingStatus/search/{solutionId}/{revisionId}",
                        method=GET,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<List<org.acumos.cds.domain.MLPTaskStepResult>> findStepresultBySolutionId​(@PathVariable("solutionId")
                                                                                                      String solutionId,
                                                                                                      @PathVariable("revisionId")
                                                                                                      String revisionId)
      • messagingStatus

        @RequestMapping(value="/broker",
                        method=POST,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<Broker> messagingStatus​(@RequestBody
                                                    JsonRequest<Broker> brokerDetail)
      • convertToOnap

        @RequestMapping(value="/convertToOnap/{solutionId}/{revisionId}/{userId}/{modName}",
                        method=POST,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<List<MLStepResult>> convertToOnap​(@PathVariable("solutionId")
                                                              String solutionId,
                                                              @PathVariable("revisionId")
                                                              String revisionId,
                                                              @PathVariable("userId")
                                                              String userId,
                                                              @PathVariable("modName")
                                                              String modName)
      • checkONAPCompatible

        @RequestMapping(value="/checkOnapCompatible/{solutionId}/{revisionId}",
                        method=GET,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<String> checkONAPCompatible​(@PathVariable("solutionId")
                                                        String solutionId,
                                                        @PathVariable("revisionId")
                                                        String revisionId)