Class AzureDevopsRepositoryServices


  • @Singleton
    @Path("repositories/azure/devops")
    public class AzureDevopsRepositoryServices
    extends step.core.deployment.AbstractStepServices
    • Constructor Detail

      • AzureDevopsRepositoryServices

        public AzureDevopsRepositoryServices()
    • Method Detail

      • init

        @PostConstruct
        public void init()
                  throws Exception
        Overrides:
        init in class step.core.deployment.AbstractStepServices
        Throws:
        Exception
      • getProjects

        @GET
        @Path("/project/search")
        @Consumes("application/json")
        @Produces("application/json")
        public List<OrganizationAndProject> getProjects()
      • getPlans

        @GET
        @Path("/{organization}/{project}/plan/search")
        @Consumes("application/json")
        @Produces("application/json")
        public List<TestPlan> getPlans​(@PathParam("organization")
                                       String organization,
                                       @PathParam("project")
                                       String project)
      • getSuites

        @GET
        @Path("/{organization}/{project}/plan/{planId}/suite/search")
        @Consumes("application/json")
        @Produces("application/json")
        public List<TestSuite> getSuites​(@PathParam("organization")
                                         String organization,
                                         @PathParam("project")
                                         String project,
                                         @PathParam("planId")
                                         Integer planId)
      • getCases

        @GET
        @Path("/{organization}/{project}/plan/{planId}/suite/{suiteId}/case/search")
        @Consumes("application/json")
        @Produces("application/json")
        public List<TestCase> getCases​(@PathParam("organization")
                                       String organization,
                                       @PathParam("project")
                                       String project,
                                       @PathParam("planId")
                                       Integer planId,
                                       @PathParam("suiteId")
                                       Integer suiteId)
      • getUIPreferences

        @GET
        @Path("/ui_settings")
        @Consumes("application/json")
        @Produces("application/json")
        public UIPreferences getUIPreferences()
      • getBookmarks

        @GET
        @Path("/{organization}/{project}/bookmarks")
        @Consumes("application/json")
        @Produces("application/json")
        public Bookmarks getBookmarks​(@PathParam("organization")
                                      String organization,
                                      @PathParam("project")
                                      String project)
      • setBookmarks

        @POST
        @Path("/{organization}/{project}/bookmarks")
        @Consumes("application/json")
        public void setBookmarks​(@PathParam("organization")
                                 String organization,
                                 @PathParam("project")
                                 String project,
                                 Bookmarks bms)
      • getUserPreferences

        @GET
        @Path("/user_preferences")
        @Consumes("application/json")
        @Produces("application/json")
        public UserPreferences getUserPreferences()
      • setUserPreferences

        @POST
        @Path("/user_preferences")
        @Consumes("application/json")
        public void setUserPreferences​(UserPreferences prefs)