Skip to main content

The openIMIS Backend controls reference module.

Project description

openIMIS Backend controls reference module

This repository holds the files of the OpenIMIS Backend Controls reference module. It is dedicated to be deployed as a module of openimis-be_py.

License: AGPL v3

Requirements

pip install -r requirements.txt

For development, you also need to run the following:

pip install -r requirements-dev.txt

Installation

pip install -e .

with the development requirements

pip install -e .[dev]

Tests

The tests can be run either with a standard pytest test harness or with the one of the core module. In the first case, it's isolated and doesn't require anything else that the present repo:

pytest

In the second one, you need to download the core project (and prepare the test database), install the controls module in it pip install -e <path to the controls module>, then you can run the tests:

python manage.py test --keep controls

ORM mapping

Database table name Django Model
tblControls Control

Listened Django Signals

None

Services

None

Reports (template can be overloaded via report.ReportDefinition)

None

GraphQL Queries

  • control
  • control_str: full text search on Control name, usage, and adjustability

An example:

{
  control{
    edges{
      node{
        name
      }
    }
  }
}

GraphQL Mutations - each mutation emits default signals and return standard error lists (cfr. openimis-be-core_py)

None

Configuration options (can be changed via core.ModuleConfiguration)

None

openIMIS Modules Dependencies

None

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

openimis_be_controls-1.1.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

openimis_be_controls-1.1.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file openimis_be_controls-1.1.0.tar.gz.

File metadata

  • Download URL: openimis_be_controls-1.1.0.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for openimis_be_controls-1.1.0.tar.gz
Algorithm Hash digest
SHA256 6dc387e15bf6369ba153bb864e487d534c5b897a5a4d11c3238c658c39cc1673
MD5 79e3ed570ed29dd8c8c97f85337f2eec
BLAKE2b-256 ed9d88cce11c2049dc2bfa4a9a638e28f4d66566550ef2ce50f8f4e22c65f1b6

See more details on using hashes here.

File details

Details for the file openimis_be_controls-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for openimis_be_controls-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6cf4cd5beb079319b8001d3a81c57854c26fc86e44e584bc69025f6626b4f55e
MD5 5f618829dae0a63a54fcc3b4a06eb7a6
BLAKE2b-256 7f38a89d59431ac2aa70ff1607700600ee5f335e2b09e8789897747eee146d76

See more details on using hashes here.

Supported by

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