This project retrieves images from our object storage provider(s). No API key is required.
The application needs Java17 and Maven v3.8.x or above
- We use 2 storages : Amazon S3 and IBM Cloud storage.
- When a request for a thumbnail comes in, the API’s ThumbnailController will always check IBM Cloud storage first and if a thumbnail is not found there it will go on to check if it’s in the old Amazon S3 storage.
mvn clean install
(add -DskipTests
) to skip the unit tests during build
-
Generate a Docker image using the project's Dockerfile
-
Configure the application by generating a
thumbnail.user.properties
file and placing this in the k8s folder. After deployment this file will override the settings specified in thethumbnail.properties
file located in the src/main/resources folder. The .gitignore file makes sure the .user.properties file is never committed. -
Configure the deployment by setting the proper environment variables specified in the configuration template files in the k8s folder
-
Deploy to Kubernetes infrastructure