Class Maestro2ScenarioController


  • @RestController
    @Component
    public class Maestro2ScenarioController
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void executeAlgorithm​(org.intocps.maestro.webapi.dto.ExecutableMasterAndMultiModelTDO executableModel, javax.servlet.http.HttpServletResponse response)  
      org.intocps.maestro.webapi.dto.MasterMultiModelDTO generateAlgorithmFromMultiModel​(org.intocps.maestro.core.dto.ExtendedMultiModel multiModel)  
      java.lang.String generateAlgorithmFromScenario​(java.lang.String scenario)  
      org.intocps.maestro.webapi.dto.VerificationDTO verifyAlgorithm​(java.lang.String masterModelAsString)  
      org.springframework.core.io.FileSystemResource visualizeTrace​(java.lang.String masterModelAsString)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Maestro2ScenarioController

        public Maestro2ScenarioController()
    • Method Detail

      • generateAlgorithmFromScenario

        @RequestMapping(value="/generateAlgorithmFromScenario",
                        method=POST,
                        consumes="text/plain",
                        produces="text/plain")
        public java.lang.String generateAlgorithmFromScenario​(@RequestBody
                                                              java.lang.String scenario)
      • generateAlgorithmFromMultiModel

        @RequestMapping(value="/generateAlgorithmFromMultiModel",
                        method=POST,
                        consumes="application/json",
                        produces="application/json")
        public org.intocps.maestro.webapi.dto.MasterMultiModelDTO generateAlgorithmFromMultiModel​(@RequestBody
                                                                                                  org.intocps.maestro.core.dto.ExtendedMultiModel multiModel)
      • verifyAlgorithm

        @RequestMapping(value="/verifyAlgorithm",
                        method=POST,
                        consumes="text/plain",
                        produces="application/json")
        public org.intocps.maestro.webapi.dto.VerificationDTO verifyAlgorithm​(@RequestBody
                                                                              java.lang.String masterModelAsString)
      • visualizeTrace

        @RequestMapping(value="/visualizeTrace",
                        method=POST,
                        consumes="text/plain",
                        produces="video/mp4")
        public org.springframework.core.io.FileSystemResource visualizeTrace​(@RequestBody
                                                                             java.lang.String masterModelAsString)
                                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • executeAlgorithm

        @RequestMapping(value="/executeAlgorithm",
                        method=POST,
                        consumes="application/json",
                        produces="application/octet-stream")
        public void executeAlgorithm​(@RequestBody
                                     org.intocps.maestro.webapi.dto.ExecutableMasterAndMultiModelTDO executableModel,
                                     javax.servlet.http.HttpServletResponse response)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception