Skip to main content

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


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

change_event_service-1.0.0-py3-none-any.whl (10.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page