org.entur.ror.helpers:aws-s3-storage

Utilities for reading/writing binary files (blobs) to Amazon Web Services' Simple Storage Service (AWS S3)


Keywords
gcloud-sdk, hazelcast, java, kubernetes, ror
License
BSD-3-Clause-Attribution

Documentation

Rutebanken-helpers CircleCI

Java code which can be re-used in our different java projects.

Building the libraries

Some modules depend on Google PubSub Emulator for running unit tests.

The emulator is not available as a Maven dependency in any public Maven repository. Options to deal with this dependency include:

  1. Adding the emulator to your local Maven proxy under the following Maven GAV:
<groupId>com.google.cloud</groupId>
<artifactId>pubsub-emulator</artifactId>
<version>0.1-SNAPSHOT</version>
  1. Checking in the emulator under source control.

The automatic downloading of the emulator can be deactivated in the Maven build by setting the following property:

mvn clean install -Dentur.google.pubsub.emulator.download.skip=true

A Spring property must then be set to point to a custom location for the emulator:

entur.pubsub.emulator.path=/path/to/emulator/pubsub-emulator-0.1-SNAPSHOT.jar
  1. Disabling altogether unit tests during the build process:
mvn clean install -DskipTests -Dentur.google.pubsub.emulator.download.skip=true