39 lines
987 B
Markdown
39 lines
987 B
Markdown
# Lucee UI for Rabbit CRUD
|
|
|
|
UI publishes CRUD actions to RabbitMQ and reads results from Postgres.
|
|
|
|
## Behavior
|
|
|
|
- Insert/Update/Delete actions are queued via RabbitMQ.
|
|
- A status banner shows when the action was queued and when it appears in Postgres.
|
|
- The UI reads the latest rows from the table defined by `PG_TABLE`.
|
|
|
|
## Environment variables
|
|
|
|
Lucee datasource (required):
|
|
- `testds_connectionString`
|
|
- `testds_username`
|
|
- `testds_password`
|
|
- `testds_class` (org.postgresql.Driver)
|
|
- `testds_bundleName` (org.postgresql.jdbc)
|
|
- `testds_bundleVersion` (42.6.0)
|
|
- `testds_connectionLimit` (5)
|
|
- `testds_liveTimeout` (15)
|
|
- `testds_validate` (false)
|
|
|
|
RabbitMQ (required):
|
|
- `RABBIT_HOST`
|
|
- `RABBIT_PORT` (default 5672)
|
|
- `RABBIT_USER`
|
|
- `RABBIT_PASSWORD`
|
|
- `RABBIT_VHOST` (default `/`)
|
|
- `RABBIT_QUEUES` (default `crud_queue`)
|
|
- `RABBIT_DURABLE` (default `true`)
|
|
|
|
Optional:
|
|
- `PG_TABLE` (default `rabbit_messages`)
|
|
|
|
## Notes
|
|
|
|
This app uses RabbitMQ Java client JARs located in `lib/`.
|