mirror of
https://github.com/Fishwaldo/rundeck-api-java-client.git
synced 2025-07-07 13:38:23 +00:00
fix typo : library, not librairie
This commit is contained in:
parent
0487b209f1
commit
3fb872d8a5
5 changed files with 9 additions and 9 deletions
|
@ -1,19 +1,19 @@
|
|||
|
||||
h1. Download the librairie
|
||||
h1. Download the library
|
||||
|
||||
h2. Maven Central Repository
|
||||
|
||||
We plan on hosting the librairie on the [Maven Central Repository|http://search.maven.org/], with the groupId *org.rundeck* and the artifactId *rundeck-api-java-client*.
|
||||
We plan on hosting the library on the [Maven Central Repository|http://search.maven.org/], with the groupId *org.rundeck* and the artifactId *rundeck-api-java-client*.
|
||||
|
||||
You can see all versions and download the files with this query : [g:"org.rundeck" AND a:"rundeck-api-java-client"|http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.rundeck%22%20AND%20a%3A%22rundeck-api-java-client%22].
|
||||
|
||||
{note}
|
||||
For the moment, the librairie is not on the repository, so you will need to download it manually...
|
||||
For the moment, the library is not on the repository, so you will need to download it manually...
|
||||
{note}
|
||||
|
||||
h2. Manual download
|
||||
|
||||
If you want to use this librairie from a [scripting language|./scripting.html], it is often easier to download a single *jar* file with all dependencies included.
|
||||
If you want to use this library from a [scripting language|./scripting.html], it is often easier to download a single *jar* file with all dependencies included.
|
||||
|
||||
You can download such files on GitHub : [https://github.com/vbehar/rundeck-api-java-client/downloads]
|
||||
|
||||
|
|
|
@ -3,9 +3,9 @@ h1. Java client for the RunDeck REST API
|
|||
|
||||
h2. What is it ?
|
||||
|
||||
A Java librairie that maps the [RunDeck|http://rundeck.org] HTTP REST API. RunDeck is an open-source tool for automating tasks on multiple nodes, with a CLI, a web-based interface and an HTTP REST API. You can read more about its API on the [RunDeck User Manual|http://rundeck.org/docs/RunDeck-Guide.html#rundeck-api].
|
||||
A Java library that maps the [RunDeck|http://rundeck.org] HTTP REST API. RunDeck is an open-source tool for automating tasks on multiple nodes, with a CLI, a web-based interface and an HTTP REST API. You can read more about its API on the [RunDeck User Manual|http://rundeck.org/docs/RunDeck-Guide.html#rundeck-api].
|
||||
|
||||
This librairie has been extracted from the [Jenkins RunDeck plugin|http://wiki.jenkins-ci.org/display/JENKINS/RunDeck+Plugin], so for the moment it is still incomplete (not all the RunDeck API is mapped). My goal is to have a complete mapping of the RunDeck API, and to publish the librairie on the [Maven Central Repository|http://search.maven.org/], so that it can easily be used by Java ([Maven|http://maven.apache.org]) and Groovy ([Grape|http://groovy.codehaus.org/Grape]) developers.
|
||||
This library has been extracted from the [Jenkins RunDeck plugin|http://wiki.jenkins-ci.org/display/JENKINS/RunDeck+Plugin], so for the moment it is still incomplete (not all the RunDeck API is mapped). My goal is to have a complete mapping of the RunDeck API, and to publish the library on the [Maven Central Repository|http://search.maven.org/], so that it can easily be used by Java ([Maven|http://maven.apache.org]) and Groovy ([Grape|http://groovy.codehaus.org/Grape]) developers.
|
||||
|
||||
h2. What can I do with it ?
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ puts "All RunDeck jobs : #{rundeck.jobs}"
|
|||
puts "All RunDeck running executions : #{rundeck.runningExecutions}"
|
||||
{code}
|
||||
|
||||
You can also add the librairie to the classpath : save the following script in a file named "{{rundeck.rb}}", and execute it with "{{jruby -rjava -J-cp /path/to/rundeck-api-java-client-VERSION-jar-with-dependencies.jar rundeck.rb}}".
|
||||
You can also add the library to the classpath : save the following script in a file named "{{rundeck.rb}}", and execute it with "{{jruby -rjava -J-cp /path/to/rundeck-api-java-client-VERSION-jar-with-dependencies.jar rundeck.rb}}".
|
||||
|
||||
{code}
|
||||
import org.rundeck.api.RundeckClient
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
h1. Scripting with the RunDeck client
|
||||
|
||||
You can use this librairie with your prefered scripting language... as long as it runs on the JVM !
|
||||
You can use this library with your prefered scripting language... as long as it runs on the JVM !
|
||||
|
||||
You can find some examples with :
|
||||
* [Groovy|./groovy.html]
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
Which version should I use ?
|
||||
</question>
|
||||
<answer>
|
||||
<p>The versions of the librairie are aligned with the versions of the API :</p>
|
||||
<p>The versions of the library are aligned with the versions of the API :</p>
|
||||
<ul>
|
||||
<li>Versions 1.x are for RunDeck API version 1 (RunDeck 1.2+)</li>
|
||||
<li>Versions 2.x are for RunDeck API version 2 (RunDeck 1.3+)</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue