Class ApplicationController


  • @RestController
    public class ApplicationController
    extends ControllerBase
    • Constructor Detail

      • ApplicationController

        public ApplicationController()
    • Method Detail

      • listApplications

        @GetMapping("/application")
        public org.springframework.http.ResponseEntity<Applications> listApplications()
      • getApplication

        @GetMapping("/application/{name}")
        public org.springframework.http.ResponseEntity<Application> getApplication​(@PathVariable("name")
                                                                                   String name)
      • deleteApplication

        @DeleteMapping("/application/{name}")
        public org.springframework.http.ResponseEntity<Void> deleteApplication​(@PathVariable("name")
                                                                               String name)
                                                                        throws BusinessException
        Throws:
        BusinessException
      • listProperties

        @GetMapping("/application/{name}/property")
        public org.springframework.http.ResponseEntity<Properties> listProperties​(@PathVariable("name")
                                                                                  String name)
      • getProperty

        @GetMapping("/application/{name}/property/{prop}")
        public org.springframework.http.ResponseEntity<Property> getProperty​(@PathVariable("name")
                                                                             String name,
                                                                             @PathVariable("prop")
                                                                             String prop)
      • createProperty

        @PostMapping("/application/{name}/property")
        public org.springframework.http.ResponseEntity<Property> createProperty​(@PathVariable("name")
                                                                                String name,
                                                                                @RequestBody
                                                                                Property property)
      • updateProperty

        @PutMapping("/application/{name}/property/{prop}")
        public org.springframework.http.ResponseEntity<Property> updateProperty​(@PathVariable("name")
                                                                                String name,
                                                                                @RequestBody
                                                                                Property property)
      • deleteProperty

        @DeleteMapping("/application/{name}/property/{prop}")
        public org.springframework.http.ResponseEntity<Property> deleteProperty​(@PathVariable("name")
                                                                                String name,
                                                                                @PathVariable("prop")
                                                                                String property)