Class BusinessServiceRestService


  • @Component
    @Path("business-services")
    @Transactional
    @Produces({"application/json","application/xml","application/atom+xml"})
    @Consumes({"application/json","application/xml","application/atom+xml"})
    public class BusinessServiceRestService
    extends Object
    • Constructor Detail

      • BusinessServiceRestService

        public BusinessServiceRestService()
    • Method Detail

      • list

        @GET
        public javax.ws.rs.core.Response list()
      • getById

        @GET
        @Path("{id}")
        public javax.ws.rs.core.Response getById​(@PathParam("id")
                                                 Long id)
      • create

        @POST
        public javax.ws.rs.core.Response create​(@Context
                                                javax.ws.rs.core.UriInfo uriInfo,
                                                BusinessServiceRequestDTO request)
      • delete

        @DELETE
        @Path("{id}")
        public javax.ws.rs.core.Response delete​(@PathParam("id")
                                                Long id)
      • getEdgeById

        @GET
        @Path("/edges/{edgeId}")
        public javax.ws.rs.core.Response getEdgeById​(@PathParam("edgeId")
                                                     Long edgeId)
      • addIpServiceEdge

        @POST
        @Path("{id}/ip-service-edge")
        public javax.ws.rs.core.Response addIpServiceEdge​(@PathParam("id")
                                                          Long serviceId,
                                                          IpServiceEdgeRequestDTO edgeRequest)
      • addReductionKeyEdge

        @POST
        @Path("{id}/reduction-key-edge")
        public javax.ws.rs.core.Response addReductionKeyEdge​(@PathParam("id")
                                                             Long serviceId,
                                                             ReductionKeyEdgeRequestDTO edgeRequest)
      • addChildServiceEdge

        @POST
        @Path("{id}/child-edge")
        public javax.ws.rs.core.Response addChildServiceEdge​(@PathParam("id")
                                                             Long serviceId,
                                                             ChildEdgeRequestDTO edgeRequest)
      • removeEdge

        @DELETE
        @Path("{id}/edges/{edgeId}")
        public javax.ws.rs.core.Response removeEdge​(@PathParam("id")
                                                    Long serviceId,
                                                    @PathParam("edgeId")
                                                    Long edgeId)
      • reload

        @POST
        @Path("daemon/reload")
        public javax.ws.rs.core.Response reload()
      • listMapFunctions

        @GET
        @Path("functions/map")
        public javax.ws.rs.core.Response listMapFunctions()
      • getMapFunctionMetaData

        @GET
        @Path("functions/map/{name}")
        public javax.ws.rs.core.Response getMapFunctionMetaData​(@PathParam("name")
                                                                String name)
      • listReduceFunctions

        @GET
        @Path("functions/reduce")
        public javax.ws.rs.core.Response listReduceFunctions()
      • getReduceFunctionMetaData

        @GET
        @Path("functions/reduce/{name}")
        public javax.ws.rs.core.Response getReduceFunctionMetaData​(@PathParam("name")
                                                                   String name)