Class AzureDevopsRepositoryServices


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

      • Fields inherited from class step.core.deployment.AbstractStepServices

        configuration, SESSION
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Bookmarks getBookmarks​(java.lang.String organization, java.lang.String project)  
      java.util.List<TestCase> getCases​(java.lang.String organization, java.lang.String project, java.lang.Integer planId, java.lang.Integer suiteId)  
      java.util.List<TestPlan> getPlans​(java.lang.String organization, java.lang.String project)  
      java.util.List<OrganizationAndProject> getProjects()  
      java.util.List<TestSuite> getSuites​(java.lang.String organization, java.lang.String project, java.lang.Integer planId)  
      UIPreferences getUIPreferences()  
      UserPreferences getUserPreferences()  
      void init()  
      void setBookmarks​(java.lang.String organization, java.lang.String project, Bookmarks bms)  
      void setUserPreferences​(UserPreferences prefs)  
      • Methods inherited from class step.core.deployment.AbstractStepServices

        getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getScheduler
      • Methods inherited from class step.framework.server.AbstractServices

        getAbstractContext, getHttpSession, getSession, getSession, invalidateSession, setHttpServletRequest, setSession
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AzureDevopsRepositoryServices

        public AzureDevopsRepositoryServices()
    • Method Detail

      • init

        @PostConstruct
        public void init()
                  throws java.lang.Exception
        Overrides:
        init in class step.core.deployment.AbstractStepServices
        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")
        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")
        public void setUserPreferences​(UserPreferences prefs)