Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Outline

Example project with Cloner

This is an example project that demonstrates how to use the Cloner library in a Spring application.

It contains a small application where you can randomly generate data and move it manually through a downloaded ZIP file: Image of the example UI

Although this example downloads and reuploads a ZIP file, it is recommended that two environments talk directly between each other to prevent data leaks.

Run the example

Start two databases with docker-compose:

cd example/src/main/resources docker compose up -d

This will host database1 on port 5432 and database2 on port 5434.

Start Example 1 with the built-in IntelliJ IDEA run configuration "Example 1" or the following command:

./gradlew example:bootRun --args='--spring.profiles.active=example1'

Start Example 2 with the built-in IntelliJ IDEA run configuration "Example 2" or the following command:

./gradlew example:bootRun --args='--spring.profiles.active=example2'

Access environments on:

Morty Proxy This is a proxified and sanitized view of the page, visit original site.