Skip to content

wetransform-os/hale-transformer-api

This branch is 1 commit ahead of master.

Folders and files

NameName
Last commit message
Last commit date
Feb 7, 2025
Dec 8, 2023
Jul 12, 2024
Feb 28, 2024
Dec 8, 2023
Feb 6, 2024
May 10, 2024
May 10, 2024
Dec 8, 2023
Feb 20, 2025
Dec 8, 2023
Jul 12, 2024
Jul 12, 2024
May 10, 2024
Nov 27, 2023

Repository files navigation

hale-transformer-api

Spring Boot application that runs hale transformations based on requests read from a AMQP message queue. The message queue needs to be provided externally, e.g. by a RabbitMQ instance.

Build

To build the application, run

./gradlew build

To start an instance, run

./gradlew bootRun

RabbitMQ

To start a local RabbitMQ instance that can be used for debugging purposes, run

docker compose up

in the root directory of this project.

The local instance can be also used to send messages to the queue that are then processed by the application. When the application is running, an example message like the following can be sent to the queue:

$ docker exec -ti hale-transformer-api-rabbitmq-1 bash
root@123456789abc:/# rabbitmqadmin publish \
> exchange=hale-transformer-exchange \
> routing_key=hale.transformation.foo \
> properties='{"content_type":"application/json"}' payload='{"projectUrl": "http://example.org/proj", "sourceDataUrl": "http://example.org/data"}'
Message published
root@123456789abc:/#

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published