Groovy UpCloud core

Groovy UpCloud core provides a way to talk to the UpCloud API and a representation of the Resources

License

License

Categories

Categories

Groovy Languages
GroupId

GroupId

fi.linuxbox.upcloud
ArtifactId

ArtifactId

groovy-upcloud-core
Last Version

Last Version

0.0.7
Release Date

Release Date

Type

Type

jar
Description

Description

Groovy UpCloud core
Groovy UpCloud core provides a way to talk to the UpCloud API and a representation of the Resources
Project URL

Project URL

https://github.com/vmj/groovy-upcloud
Source Code Management

Source Code Management

https://github.com/vmj/groovy-upcloud

Download groovy-upcloud-core

How to add to project

<!-- https://jarcasting.com/artifacts/fi.linuxbox.upcloud/groovy-upcloud-core/ -->
<dependency>
    <groupId>fi.linuxbox.upcloud</groupId>
    <artifactId>groovy-upcloud-core</artifactId>
    <version>0.0.7</version>
</dependency>
// https://jarcasting.com/artifacts/fi.linuxbox.upcloud/groovy-upcloud-core/
implementation 'fi.linuxbox.upcloud:groovy-upcloud-core:0.0.7'
// https://jarcasting.com/artifacts/fi.linuxbox.upcloud/groovy-upcloud-core/
implementation ("fi.linuxbox.upcloud:groovy-upcloud-core:0.0.7")
'fi.linuxbox.upcloud:groovy-upcloud-core:jar:0.0.7'
<dependency org="fi.linuxbox.upcloud" name="groovy-upcloud-core" rev="0.0.7">
  <artifact name="groovy-upcloud-core" type="jar" />
</dependency>
@Grapes(
@Grab(group='fi.linuxbox.upcloud', module='groovy-upcloud-core', version='0.0.7')
)
libraryDependencies += "fi.linuxbox.upcloud" % "groovy-upcloud-core" % "0.0.7"
[fi.linuxbox.upcloud/groovy-upcloud-core "0.0.7"]

Dependencies

compile (2)

Group / Artifact Type Version
fi.linuxbox.upcloud : groovy-upcloud-http-spi jar 0.0.7
fi.linuxbox.upcloud : groovy-upcloud-json-spi jar 0.0.7

runtime (3)

Group / Artifact Type Version
javax.inject : javax.inject jar 1
org.codehaus.groovy : groovy jar 2.4.15
org.slf4j : slf4j-api jar 1.7.25

test (4)

Group / Artifact Type Version
org.spockframework : spock-core jar 1.1-groovy-2.4
ch.qos.logback : logback-classic jar 1.2.3
fi.linuxbox.upcloud : groovy-upcloud-json-gjson jar 0.0.7
fi.linuxbox.upcloud : groovy-upcloud-resource jar 0.0.7

Project Modules

There are no modules declared in this project.

Build Status Release Javadoc

Groovy UpCloud

Groovy UpCloud is an unofficial library that provides an asynchronous Groovy interface to the UpCloud API.

Features

Groovy UpCloud library is fully asynchronous. When invoking the API, the HTTP transaction is performed in a pool of background threads, and the results are passed to the application. The communication (currently) happens via callbacks. By default, the IO thread pool has four workers, i.e. four HTTP transactions concurrently.

When used as a base for Groovy scripting, Groovy UpCloud provides a script base class that makes it easier to deal with the concurrent nature: the top-level code and all the callbacks are executed in a dedicated thread, separate from the IO thread pool.

Groovy UpCloud library has full support for UpCloud API version 1.2.8 (current as of Feb 2020).

Requirements

Groovy UpCloud is built on Groovy 3.0. This library is available at The Central Repository and jcenter

API Documentation

The main resources managed in UpCloud are servers, IP addresses, storages, firewall rules, and tags. You might want to start with those.

Also, in order to understand how the library works, you might want to dive into Session, and Resource.

Versions

Version
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1