JB HUB Client

Fluent Api client for JetBrains HUB

License

License

MIT
Categories

Categories

CLI User Interface
GroupId

GroupId

com.github.smallcreep
ArtifactId

ArtifactId

jb-hub-client
Last Version

Last Version

0.2.1
Release Date

Release Date

Type

Type

jar
Description

Description

JB HUB Client
Fluent Api client for JetBrains HUB
Project URL

Project URL

https://github.com/smallcreep/jb-hub-client
Source Code Management

Source Code Management

https://github.com/smallcreep/jb-hub-client

Download jb-hub-client

How to add to project

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

Dependencies

compile (9)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.16.18
com.jcabi : jcabi-aspects jar 0.22.6
javax.json : javax.json-api jar 1.1
com.jcabi : jcabi-manifests jar 1.1
com.jcabi : jcabi-http jar 1.17.1
javax.ws.rs : jsr311-api jar 1.1.1
org.hamcrest : hamcrest-core jar 1.3
org.hamcrest : hamcrest-library jar 1.3
org.cactoos : cactoos jar 0.21

runtime (2)

Group / Artifact Type Version
com.sun.jersey : jersey-client jar 1.19.4
org.glassfish : javax.json jar 1.1

test (4)

Group / Artifact Type Version
junit : junit jar 4.12
nl.jqno.equalsverifier : equalsverifier jar 2.3.3
com.sun.grizzly : grizzly-servlet-webserver jar 2.0.0-M3
org.apache.httpcomponents : httpclient jar 4.5.3

Project Modules

There are no modules declared in this project.

Master:

DevOps By Rultor.com

Build status Build Status codecov Dependency Status PDD status

JB-HUB-Client

Set of classes in com.github.smallcreep.jb.hub.api package is a fluent OOP adapter JetBrains API:

import com.github.smallcreep.jb.hub.api.RtHub;
import com.github.smallcreep.jb.hub.api.Hub;
import java.net.URI;

public class Main {
    public static void  main(String[] args) {
        Hub hub = new RtHub(new URI(".. your Hub uri .."), ".. your OAuth token ..");
        hub.users().self().json().getString("name");
    }
}

Got questions?

If you have questions or general suggestions, don't hesitate to submit a new Github issue.

How to Contribute

Fork repository, make changes, send us a pull request. We will review your changes and apply them to the master branch shortly, provided they don't violate our quality standards. To avoid frustration, before sending us your pull request please run full Gradle build:

$ gradle clean build -PQuality

To avoid build errors use gradle wrapper:

$ ./gradlew clean build -PQuality

Contributors

License (MIT)

Copyright (c) 2017 Ilia Rogozhin ([email protected])

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Versions

Version
0.2.1
0.1.0