Package step.repositories.azure.devops
Class AzureDevopsRepositoryServices
- java.lang.Object
-
- step.framework.server.AbstractServices<step.core.access.User>
-
- step.core.deployment.AbstractStepServices
-
- step.repositories.azure.devops.AzureDevopsRepositoryServices
-
@Singleton @Path("repositories/azure/devops") public class AzureDevopsRepositoryServices extends step.core.deployment.AbstractStepServices
-
-
Constructor Summary
Constructors Constructor Description AzureDevopsRepositoryServices()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BookmarksgetBookmarks(String organization, String project)List<TestCase>getCases(String organization, String project, Integer planId, Integer suiteId)List<TestPlan>getPlans(String organization, String project)List<OrganizationAndProject>getProjects()List<TestSuite>getSuites(String organization, String project, Integer planId)UIPreferencesgetUIPreferences()UserPreferencesgetUserPreferences()voidinit()voidsetBookmarks(String organization, String project, Bookmarks bms)voidsetUserPreferences(UserPreferences prefs)-
Methods inherited from class step.core.deployment.AbstractStepServices
getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getScheduler
-
-
-
-
Method Detail
-
init
@PostConstruct public void init() throws Exception- Overrides:
initin classstep.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)
-
-