kiuwan-api-client

Java client for Kiuwan's rest api

License

License

Categories

Categories

Java Languages CLI User Interface
GroupId

GroupId

com.kiuwan
ArtifactId

ArtifactId

java-api-client
Last Version

Last Version

0.1.4
Release Date

Release Date

Type

Type

jar
Description

Description

kiuwan-api-client
Java client for Kiuwan's rest api
Project URL

Project URL

https://kiuwan.com/docs/display/K5/REST+API
Source Code Management

Source Code Management

https://github.com/kiuwan/java-api-client.git

Download java-api-client

How to add to project

<!-- https://jarcasting.com/artifacts/com.kiuwan/java-api-client/ -->
<dependency>
    <groupId>com.kiuwan</groupId>
    <artifactId>java-api-client</artifactId>
    <version>0.1.4</version>
</dependency>
// https://jarcasting.com/artifacts/com.kiuwan/java-api-client/
implementation 'com.kiuwan:java-api-client:0.1.4'
// https://jarcasting.com/artifacts/com.kiuwan/java-api-client/
implementation ("com.kiuwan:java-api-client:0.1.4")
'com.kiuwan:java-api-client:jar:0.1.4'
<dependency org="com.kiuwan" name="java-api-client" rev="0.1.4">
  <artifact name="java-api-client" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.kiuwan', module='java-api-client', version='0.1.4')
)
libraryDependencies += "com.kiuwan" % "java-api-client" % "0.1.4"
[com.kiuwan/java-api-client "0.1.4"]

Dependencies

compile (2)

Group / Artifact Type Version
org.glassfish.jersey.core : jersey-client jar 2.25.1
org.glassfish.jersey.media : jersey-media-json-jackson jar 2.25.1

Project Modules

There are no modules declared in this project.

java-api-client

Kiuwan Java client for REST API.

Maven configuration:

<dependency>
	<groupId>com.kiuwan</groupId>
	<artifactId>java-api-client</artifactId>
	<version>0.1.4</version>
</dependency>

Supported actions are: (new features are marked with *)

  • List action plans of an application.
  • List analyses of an application.
  • List deliveries of an application.
  • List portfolio definitions of an account.
  • List your applications.
  • Get last analysis results from your application.
  • Get all defects from your application.
  • Get files (with metric values and defects) from your application.
  • Get all defects from your application indicating the analysis code.
  • Get files (with metric values and defects) from your application indicating the analysis code.
  • Get metrics from your application indicating the analysis code.
  • Get the differences of defects between two analysis.
  • Get basic information of an action plan.
  • Get all defects in an action plan.
  • Get the defects that did not make to pass a checkpoint.
  • Get the files for a concrete rule that did not pass a checkpoint.
  • Get delivery details.
  • Get pending defects of an action plan.
  • Get removed defects of an action plan.
  • Get rule documentation.
  • Get violated rules of an analysis.
  • Get files of a violated rule in an analysis.
  • Get defects of a file with defect of an analysis.
  • Get violated rules of last analysis of an application.
  • Create new applications.
  • Create new users in your account.
  • Create new user groups in your account.
  • Delete applications.
  • Delete users of your account.
  • Delete user groups of your account.
  • Modify applications' information.
  • Modify users' information.
  • Modify user groups' information.
  • Save portfolio definitions into your account. (*)

Source code includes examples that shows you how to execute each supported action. (new features are marked with *)

Example of use:

KiuwanRestApiClient client = new KiuwanRestApiClient(username, password);

try {
	List<Application> apps = client.getApplications();
	for(Application app: apps) {
		System.out.println(app);
	}
	
} catch (KiuwanClientException e) {
	e.printStackTrace();
}

Versions

Version
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1