Change Event Service
Project description
#Change-Event Query
How it Works?
This project written with Flask web framework. It use flask-smorest for REST API, Pyctuator for actuator endpoint and Flask-SQLAlchemy for handle DB queries. Swagger UI documentation and API validations handled by flask-smorest itself. flask-smorest uses Marshmallow models for marshalling and unmarshalling objects in request and response. This models also used by Swagger UI and Pika. ##Run In Development Environments
Open project in PyCharm, set environment variables and run app.py
##Environment Variables
- AMQP_HOST : Set host name of rabbitmq
- AMQP_VIRTUAL_HOST: Set virtual host name of rabbitmq
- AMQP_QUEUE: Set queue name of rabbitmq
- AMQP_USER: Set username of rabbitmq
- AMQP_PASSWORD: Set password of rabbitmq
- AMQP_EXCHANGE: Set exchange of rabbitmq
- AMQP_ROUTING_KEY: Set routing key of rabbitmq
- TBL_NAME: Set table name to insert
- API_TITLE=Set api name;
- API_VERSION= Set api version;
- OPENAPI_URL_PREFIX= Set Open api url prefix
- OPENAPI_SWAGGER_UI_PATH=Set Open api url prefix
- OPENAPI_JSON_PATH= Set open api json path
- OPENAPI_SWAGGER_UI_URL= Set swagger ui url
- ACTUATOR_BASE_URI= Set actuator base url
- POSTGRES_USER= Set username of database
- POSTGRES_URL= Set url of database
- POSTGRES_PASS= Set password of database
- POSTGRES_DB= Set db name of database
Other application settings in config.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for change_event_service-1.0.0.post5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4897886839631005f5062eaf33fc8924a15696d24ef17806118217eacd17a33b |
|
MD5 | 6d1bcea8a4fd502e79dcdbbbce33371c |
|
BLAKE2b-256 | 51530285c1b5a9d928a51298589085efef081b7f80edaba89012042ba547144f |