Class RuleInsightResource
java.lang.Object
com.codebarrel.jira.plugin.automation.rest.RuleInsightResource
@Path("insight")
@Consumes("application/json")
@Produces("application/json")
public class RuleInsightResource
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionRuleInsightResource(InjectorProvider injectorProvider, JiraAuthenticationContext authenticationContext, ProjectService projectService, GlobalPermissionManager globalPermissionManager) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsegetInsights(String projectId, jakarta.ws.rs.core.UriInfo uriInfo) jakarta.ws.rs.core.ResponsegetTimeSeries(String projectId, jakarta.ws.rs.core.UriInfo uriInfo)
-
Constructor Details
-
RuleInsightResource
@Inject public RuleInsightResource(InjectorProvider injectorProvider, JiraAuthenticationContext authenticationContext, ProjectService projectService, GlobalPermissionManager globalPermissionManager)
-
-
Method Details
-
getInsights
@GET @Path("{projectId}/rule") public jakarta.ws.rs.core.Response getInsights(@PathParam("projectId") String projectId, @Context jakarta.ws.rs.core.UriInfo uriInfo) -
getTimeSeries
@GET @Path("{projectId}/timeseries") public jakarta.ws.rs.core.Response getTimeSeries(@PathParam("projectId") String projectId, @Context jakarta.ws.rs.core.UriInfo uriInfo)
-