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-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 326ee52abf3f5140639c2addcfcc738423bcde04756e40836b1d7293903d3833 |
|
MD5 | 5e16e9a1284a51100fcced48f1f87e72 |
|
BLAKE2b-256 | daede9cd9a67a7fef33a21f254826a1a5ad28c85fd25b71c71ca090933ed8c99 |