Watch
1
0
Fork
You've already forked jme-object-storage-example
0
mirror of https://github.com/jme-admin-ch/jme-object-storage-example.git synced 2026-08-17 13:05:03 +00:00
Read-only mirror of https://github.com/jme-admin-ch/jme-object-storage-example — Bundesamt für Informatik und Telekommunikation. Issues & pull requests at the source. Catalog: https://www.opensource.admin.ch/en/softwares/hjla28 https://www.opensource.admin.ch/en/softwares/hjla28
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-16 01:09:49 +02:00
.github/workflows JEAP-7322 Adapted github build workflow 2026-07-30 07:47:57 +02:00
.mvn JEAP-6509: OSS preparation 2026-07-22 08:10:22 +02:00
.run JEAP-6509: OSS preparation 2026-07-22 08:10:22 +02:00
docker Update repo.bit.admin.ch:8444/amazon/aws-cli Docker tag to v2.36.24 2026-08-15 23:04:21 +00:00
src JEAP-6509: OSS preparation 2026-07-22 08:10:22 +02:00
.gitignore JEAP-6509: Cleanup 2026-07-23 10:21:07 +02:00
CHANGELOG.md Update All dependencies 2026-08-14 23:05:57 +00:00
CONTRIBUTING.md JEAP-6509: OSS preparation 2026-07-22 08:10:22 +02:00
exclude-patterns.txt JEAP-6509: OSS preparation 2026-07-22 08:10:22 +02:00
LICENSE JEAP-6509: OSS preparation 2026-07-22 08:10:22 +02:00
mvnw JEAP-6509: OSS preparation 2026-07-22 08:10:22 +02:00
pom.xml Update All dependencies 2026-08-14 23:05:57 +00:00
publiccode.yml Update version/date in publiccode.yml 2026-08-16 01:09:49 +02:00
README.md JEAP-6509: OSS preparation 2026-07-22 08:10:22 +02:00
SECURITY.md JEAP-6509: OSS preparation 2026-07-22 08:10:22 +02:00

JME Object Storage Example

This sample application shows how to deploy an application that uses an S3 object store with the jeap-spring-boot-object-storage-starter.

This example project show how to use the jeap-spring-boot-object-storage-starter library.

Changes

This library is versioned using Semantic Versioning and all changes are documented in CHANGELOG.md following the format defined in Keep a Changelog.

Prerequisites

To use this project, ensure you have the following installed:

  1. Java Development Kit (JDK): Version 25.
  2. Docker: For running the required infrastructure.

Note: Use the provided maven wrapper to build and run the project.

Getting started

Infrastructure

Before the examples can be started the infrastructure has to be started using docker

docker-compose -f docker/docker-compose.yml up

Build

The project itself can be built with a simple

./mvnw install

Start

Then the project can be started using

./mvnw spring-boot:run -Dspring-boot.run.profiles=local

Testing locally

After starting the application with an S3 (see below sections), two classes BucketController and FileController providing basic CRUD functionality, which can be executed via Swagger or directly via cURL, etc.:

Note

This repository is part of the open source distribution of JME. See github.com/jme-admin-ch/jme for more information.

License

This repository is Open Source Software licensed under the Apache License 2.0.