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.0.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

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

openimis_be_controls-1.0.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file openimis-be-controls-1.0.0.tar.gz.

File metadata

  • Download URL: openimis-be-controls-1.0.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for openimis-be-controls-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5c94a53c7aad5e8de358bc1096deceb7391a318993fbd8ae1e7f2ed72cd8b0a3
MD5 5d0e1fbb8b67c2b8ae83c58a3c292057
BLAKE2b-256 61c25fb5f264f53553c28980b05fb1f15ed62899128ec5197c6d35704a3d7eeb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for openimis_be_controls-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 635da9db6c65cf8774a46c44ddcfeeec1acdf5153a9c272d6616b18a2f254f7e
MD5 82377b4857451f4dff992eb81c3fc697
BLAKE2b-256 673a45b907f793830658b18965cb739de3d0ef8954d42587b8798be8f5c493ad

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