Class ControllerServices


  • @Singleton
    @Path("controller")
    public class ControllerServices
    extends AbstractServices
    • Constructor Detail

      • ControllerServices

        public ControllerServices()
    • Method Detail

      • init

        @PostConstruct
        public void init()
                  throws java.lang.Exception
        Overrides:
        init in class AbstractServices
        Throws:
        java.lang.Exception
      • shutdown

        @POST
        @Consumes("application/json")
        @Path("/shutdown")
        public void shutdown()
      • getReportNode

        @GET
        @Path("/reportnode/{id}")
        @Produces("application/json")
        public ReportNode getReportNode​(@PathParam("id")
                                        java.lang.String reportNodeId)
      • getReportNodePath

        @GET
        @Path("/reportnode/{id}/path")
        public java.util.List<ReportNode> getReportNodePath​(@PathParam("id")
                                                            java.lang.String reportNodeId)
      • getReportNodeChildren

        @GET
        @Path("/reportnode/{id}/children")
        @Produces("application/json")
        public java.util.List<ReportNode> getReportNodeChildren​(@PathParam("id")
                                                                java.lang.String reportNodeId,
                                                                @QueryParam("skip")
                                                                java.lang.Integer skip,
                                                                @QueryParam("limit")
                                                                java.lang.Integer limit)
      • getArtefactInfo

        @POST
        @Path("/repository/artefact/info")
        @Consumes("application/json")
        @Produces("application/json")
        public ArtefactInfo getArtefactInfo​(RepositoryObjectReference ref)
      • getReport

        @POST
        @Path("/repository/report")
        @Consumes("application/json")
        @Produces("application/json")
        public TestSetStatusOverview getReport​(RepositoryObjectReference report)
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getAsyncTaskStatus

        @GET
        @Produces("application/json")
        @Path("/async-task/{id}")
        public AsyncTaskManager.TaskStatus getAsyncTaskStatus​(@PathParam("id")
                                                              java.lang.String asyncTaskId)