│
│
└───deliverer
│ __init__.py
│ deliver.py
└───redis_queue
│ └───events
│ inbound
│ outbound
└───relay
│ __init__.py
|
|
First, install this plugin into your environment.
$ pip install git+https://github.com/bcgov/aries-acapy-plugin-redis-events.git
When starting up ACA-Py, load the plugin along with any other startup parameters.
$ aca-py start --arg-file my_config.yml --plugin redis_queue
redis_queue:
connection:
connection_url: "redis_test_url"
### For Inbound ###
inbound:
acapy_inbound_topic: "acapy-inbound-message"
acapy_direct_resp_topic: "acapy-inbound-direct-resp"
### For Outbound ###
outbound:
acapy_outbound_topic: "acapy-outbound-message"
acapy_outbound_retry_topic: "acapy-outbound-retry"
### For Event ###
event:
topic_maps:
^acapy::webhook::(.*)$: acapy-webhook-$wallet_id
^acapy::record::([^:]*)::([^:]*)$: acapy-record-with-state-$wallet_id
^acapy::record::([^:])?: acapy-record-$wallet_id
acapy::basicmessage::.*: acapy-basicmessage
Once the plugin config is filled up. It is possible to deploy the plugin inside ACA-Py.
$ aca-py start \
--plugin redis_queue \
--plugin-config plugins-config.yaml \
-it redis_queue.inbound redis 0 -oq redis_queue.outbound.RedisOutboundQueue
# ... the remainder of your startup arguments