Fork me on GitHub

Omni (x)Extensions

Simple web application consuming the Omni API.

This application may be used as a supervisor of the Omni Platform to run tasks in an async fashion, this way it's possible to remove async tasks from the Omni core.

Usage

One must define a series of configuration values in order to correctly use the automated part of the omni extension (supervisor).

NameTypeDefaultDescription
OMNIX_REMOTEboolFalseIf the remote URL should be used as the default one (legacy).
OMNIX_USERNAMEstrNoneThe username to be used for authentication on the omni service.
OMNIX_PASSWORDstrNoneThe password value used in the authentication on the omni service, notice that this value will be sent in plain text (using an SSL encrypted connection).
OMNIX_CLIENT_IDstrNoneThe identifier of the Omni API client to be used for authentication.
OMNIX_CLIENT_SECRETstrNoneThe secret string to be used by the Omni API client for authentication.
OMNIX_QUEUEstromnixThe name of AMQP queue that is going to be used.
OMNIX_RECORD_CHUNKint300The size of record chunk to be used by the scheduler (use carefully to avoid memory issues).
OMNIX_BIRTHDAY_TEMPLATEstrNoneIf set allows for a remote definition of the base template to be used for email sending.
REMOTEboolFalseIf the remove mode should be used (production URL creation).
OMNIX_REMOTEboolFalseSame as REMOTE.
OMNIX_SCHEDULEboolTrueIf the scheduling (background) operations of the Omnix should be enabled (defaults to True).
REDIRECT_URLstrNoneThe URL that will be used for OAuth2 based callbacks.

Additionally one must also configure the MongoDB and RabbitMQ instances to be able to execute the proper master and slave supervisors. For that use the MONGOHQ_URL and CLOUDAMQP_URL variables.

License

Omnix is currently licensed under the Apache License, Version 2.0.

Build Automation

Build Status Coverage Status PyPi Status License