karman-aws-groovy

Karman Storage Provider interface for amazon web services (primarily S3)

License

License

The Apache Software License, Version 2.0
Categories

Categories

Groovy Languages AWS Container PaaS Providers
GroupId

GroupId

com.bertramlabs.plugins
ArtifactId

ArtifactId

karman-aws-groovy
Last Version

Last Version

0.8.5
Release Date

Release Date

Type

Type

jar
Description

Description

karman-aws-groovy
Karman Storage Provider interface for amazon web services (primarily S3)
Project URL

Project URL

https://github.com/bertramdev/karman-aws-groovy
Source Code Management

Source Code Management

https://github.com/bertramdev/karman-aws-groovy

Download karman-aws-groovy

How to add to project

<!-- https://jarcasting.com/artifacts/com.bertramlabs.plugins/karman-aws-groovy/ -->
<dependency>
    <groupId>com.bertramlabs.plugins</groupId>
    <artifactId>karman-aws-groovy</artifactId>
    <version>0.8.5</version>
</dependency>
// https://jarcasting.com/artifacts/com.bertramlabs.plugins/karman-aws-groovy/
implementation 'com.bertramlabs.plugins:karman-aws-groovy:0.8.5'
// https://jarcasting.com/artifacts/com.bertramlabs.plugins/karman-aws-groovy/
implementation ("com.bertramlabs.plugins:karman-aws-groovy:0.8.5")
'com.bertramlabs.plugins:karman-aws-groovy:jar:0.8.5'
<dependency org="com.bertramlabs.plugins" name="karman-aws-groovy" rev="0.8.5">
  <artifact name="karman-aws-groovy" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.bertramlabs.plugins', module='karman-aws-groovy', version='0.8.5')
)
libraryDependencies += "com.bertramlabs.plugins" % "karman-aws-groovy" % "0.8.5"
[com.bertramlabs.plugins/karman-aws-groovy "0.8.5"]

Dependencies

runtime (4)

Group / Artifact Type Version
com.bertramlabs.plugins : karman-core jar 0.8.3
org.apache.httpcomponents : httpcore jar 4.2
org.apache.httpcomponents : httpclient jar 4.2
com.amazonaws : aws-java-sdk jar 1.10.33

Project Modules

There are no modules declared in this project.

Karman AWS Groovy

MOVED : This repository has moved to a sub repository at http://github.com/bertramdev/karman-core. It is also now named karman-aws.

Karman AWS is a S3 implementation of the Karman Cloud Service / Storage Interface. It allows one to interact with Amazon S3 via the standard Karman API interfaces

Usage / Documentation

To instantiate an S3 provider simply do:

import com.bertramlabs.plugins.karman.*


provider = StorageProvider.create(
    provider: 's3',
    accessKey: ACCESS_KEY,
    secretKey: SECRET_KEY,
    //optional
    region: 'eu-west-1',
    protocol: 'https',
    useGzip: false,
    keepAlive: false,
    maxConnections: 50
)

//example getting file contents
def file = provider['mybucket']['example.txt']
return file.text

Check the Karman API Documentation for details on how to interace with cloud files:

http://bertramdev.github.io/karman

Contributions

All contributions are of course welcome as this is an ACTIVE project. Any help with regards to reviewing platform compatibility, adding more tests, and general cleanup is most welcome. Thanks to several people for suggestions throughout development.

com.bertramlabs.plugins

Bertram Labs

Versions

Version
0.8.5
0.8.4
0.8.3
0.8.1
0.8.0
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0