knowledge20
knowledge20

Reputation: 1436

Does Accurev expose Rest API like other DevOps tools like GIT, JIRA, Jenkins?

I am trying to look for the rest api's to call the various functionalites of Accurev via my custom web application. eg: Rest API to list recent commits in a stream.

Upvotes: 0

Views: 211

Answers (3)

Justin A
Justin A

Reputation: 4721

Accurev has a Java library. Sadly, there are no examples of how to use it. Currently trying to figure it out myself.

https://maven.apache.org/scm/maven-scm-providers/maven-scm-provider-accurev/apidocs/index.html?org/apache/maven/scm/provider/accurev/AccuRev.html

Upvotes: 0

DWRoelands
DWRoelands

Reputation: 4940

Regardless of what programming language you're using, the pattern for interacting with Accuev from other applications is the same.

  1. Programatically execute the Accurev command via a shell/command prompt.
  2. Either capture standard output or pipe the output of the command to a file.
  3. Read the output and parse to meet your needs.

Upvotes: 1

jstanley
jstanley

Reputation: 2097

AFAIK, you will use the AccuRev CLI to extract the information you need.

Upvotes: 2

Related Questions