First, persist your credentials in
~/.aws/credentials as described in the AWS best practices for persisting credentials, e.g.,
user@host::~> cat ~/.aws/credentials [my_profile] aws_access_key_id = 3LXXXXXXXXXXXX aws_secret_access_key = nuPXXXXXXXXXXXXXXXXXXXXX
To execute the code example, first adjust the address of the StorageGRID Webscale API Gateway. Then execute:
$ ./gradlew run
This will automatically download Gradle and the required libraries. Then, it will compile and execute the example code.
To generate an Eclipse project file, use:
$ ./gradlew eclipse
and then choose
File -> Import in Eclipse, and import the
To run the tests (i.e., to validate other version of the used AWS SDK), run:
$ ./gradlew test
The provided acceptence tests are a quick shot for making sure, that basic functionality works.