Class AzureDevopsRepositoryServices


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

      • AzureDevopsRepositoryServices

        public AzureDevopsRepositoryServices()
    • Method Detail

      • init

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

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

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

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

        @GET
        @Path("/{organization}/{project}/plan/{planId}/suite/{suiteId}/case/search")
        @Consumes("application/json")
        @Produces("application/json")
        public java.util.List<TestCase> getCases​(@PathParam("organization")
                                                 java.lang.String organization,
                                                 @PathParam("project")
                                                 java.lang.String project,
                                                 @PathParam("planId")
                                                 java.lang.Integer planId,
                                                 @PathParam("suiteId")
                                                 java.lang.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")
                                      java.lang.String organization,
                                      @PathParam("project")
                                      java.lang.String project)
      • setBookmarks

        @POST
        @Path("/{organization}/{project}/bookmarks")
        @Consumes("application/json")
        @Produces("text/plain")
        public void setBookmarks​(@PathParam("organization")
                                 java.lang.String organization,
                                 @PathParam("project")
                                 java.lang.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")
        @Produces("text/plain")
        public void setUserPreferences​(UserPreferences prefs)