### Installation
First of all, clone the repo and go to the repo directory:
```.bash
git clone https://github.com/collabo-br/mistral-celery-actions.git
cd mistral-celery-actions
```
Local installation:
```.bash
pip install -e .
```
Then we need to tell Mistral about them
and restart Mistral::
```.bash
mistral-db-manage populate;
systemctrl restart openstack-mistral*;
```
### Provide celery settings properties on your `mistral.conf` file:
```
[celery]
broker_url = amqp://<user>:<password>@<host>:<port>/mistral
result_backend = amqp://
task_serializer = json
result_serializer = json
```
### Usage
Call celery sync task:
action: celery.sync-task
input:
task_name: 'task.my_custom_task'
params:
task_param1: "Hi, I'm sync"
task_param2: ...
Call celery async task:
action: celery.async-task
input:
task_name: 'task.my_custom_async_task'
params:
task_param1: "Weeeeeeeeeeeee"
task_param2: ...
....
Useful Links
============
* `Mistral`_ <https://github.com/openstack/mistral>
Metadata
Release files for mistral-celery-actions 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mistral-celery-actions-1.0.1.tar.gz | 3.7 kB | Without provenance | Details |
Release files / mistral-celery-actions-1.0.1.tar.gz
| Download URL | mistral-celery-actions-1.0.1.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
482638019d59d1ffbe6243a42870fa7ed9dba369c1c07730ba5273315ec25351
|
|
BLAKE2b-256 checksum How to use checksums |
e95e1a535f256b2be6640065f5870edd5b380cc37de846c8b6961f6ffd2ff722
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mistral-celery-actions 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.