Skip to main content

Omnix System

Project description

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).

Name Type Default Description
OMNIX_REMOTE bool False If the remote URL should be used as the default one (legacy).
OMNIX_USERNAME str None The username to be used for authentication on the omni service.
OMNIX_PASSWORD str None The 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_ID str None The identifier of the Omni API client to be used for authentication.
OMNIX_CLIENT_SECRET str None The secret string to be used by the Omni API client for authentication.
OMNIX_QUEUE str omnix The name of AMQP queue that is going to be used.
OMNIX_RECORD_CHUNK int 300 The size of record chunk to be used by the scheduler (use carefully to avoid memory issues).
OMNIX_BIRTHDAY_TEMPLATE str None If set allows for a remote definition of the base template to be used for email sending.
REMOTE bool False If the remove mode should be used (production URL creation).
OMNIX_REMOTE bool False Same as REMOTE.
OMNIX_SCHEDULE bool True If the scheduling (background) operations of the Omnix should be enabled (defaults to True).
REDIRECT_URL str None The 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.

FAQs

How can I flush the Slack sales message?

Use the following URL:

GET https://omnix.hive.pt/flush_slack_sales?offset=1

How can I flush the Slack previous (day) message?

Use the following URL:

GET https://omnix.hive.pt/flush_slack_previous?offset=1

License

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

Build Automation

Build Status Coverage Status PyPi Status License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omnix-0.3.13.tar.gz (54.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omnix-0.3.13-py2-none-any.whl (102.1 kB view details)

Uploaded Python 2

File details

Details for the file omnix-0.3.13.tar.gz.

File metadata

  • Download URL: omnix-0.3.13.tar.gz
  • Upload date:
  • Size: 54.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/44.1.0 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.18

File hashes

Hashes for omnix-0.3.13.tar.gz
Algorithm Hash digest
SHA256 2f06be1d4e71df30bd1cf9097671335d6f1a538f2205d044570f6376ec42fb3d
MD5 fb8539fd18689a623c2090cab9114fd0
BLAKE2b-256 da135873e77258cd58e99e934929004ca816acc998c5e515ee26c812b574f20d

See more details on using hashes here.

File details

Details for the file omnix-0.3.13-py2-none-any.whl.

File metadata

  • Download URL: omnix-0.3.13-py2-none-any.whl
  • Upload date:
  • Size: 102.1 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/44.1.0 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.18

File hashes

Hashes for omnix-0.3.13-py2-none-any.whl
Algorithm Hash digest
SHA256 379aed7821c1ea0f2d8980a04a9c7dd2ac1374d118278428ddbf126bfc46aed7
MD5 e6bfb1dec84ac3f2f5168a08cacd6902
BLAKE2b-256 65a47d3b6f2e9035ac7adef6637c077d4b25676be32513453dc2918a5719851b

See more details on using hashes here.

Supported by

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