The openIMIS Backend individual reference module.
Project description
openIMIS Backend individual reference module
This repository holds the files of the openIMIS Backend Individual reference module. It is dedicated to be deployed as a module of openimis-be_py.
ORM mapping:
- individual_individual, individual_historicalindividual > Individual
- individual_individualdatasource, individual_historicalindividualdatasource > IndividualDataSource
- individual_individualdatasourceupload, individual_historicalindividualdatasourceupload > IndividualDataSourceUpload
- individual_group, individual_historicalgroup > Group
- individual_groupindividual, individual_historicalgroupindividual > GroupIndividual
GraphQl Queries
- individual
- individualDataSource
- individualDataSourceUpload
- group
- groupIndividual
- groupExport
- individualExport
- groupIndividualExport
GraphQL Mutations - each mutation emits default signals and return standard error lists (cfr. openimis-be-core_py)
- createIndividual
- updateIndividual
- deleteIndividual
- createGroup
- updateGroup
- deleteGroup
- addIndividualToGroup
- editIndividualInGroup
- removeIndividualFromGroup
- createGroupIndividuals
Services
- Individual
- create
- update
- delete
- IndividualDataSource
- create
- update
- delete
- Group
- create
- update
- delete
- create_group_individuals
- update_group_individuals
- GroupIndividualService
- create
- update
- delete
Configuration options (can be changed via core.ModuleConfiguration)
- gql_individual_search_perms: required rights to call individual GraphQL Query (default: ["159001"])
- gql_individual_create_perms: required rights to call createIndividual GraphQL Mutation (default: ["159002"])
- gql_individual_update_perms: required rights to call updateIndividual GraphQL Mutation (default: ["159003"])
- gql_individual_delete_perms: required rights to call deleteIndividual GraphQL Mutation (default: ["159004"])
- gql_group_search_perms: required rights to call group GraphQL Mutation (default: ["180001"])
- gql_group_create_perms: required rights to call createGroup and addIndividualToGroup and createGroupIndividuals GraphQL Mutation (default: ["180002"])
- gql_group_update_perms: required rights to call updateGroup and editIndividualInGroup GraphQL Mutation (default: ["180003"])
- gql_group_delete_perms: required rights to call deleteGroup and removeIndividualFromGroup GraphQL Mutation (default: ["180004"])
openIMIS Modules Dependencies
- core
Enabling Python Workflows
Module comes with simple workflows for individual data upload.
They should be used for the development purposes, not in production environment.
To activate these Python workflows, a configuration change is required.
Specifically, the enable_python_workflows
parameter to true
within module config.
Workflows:
- individual upload
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
Built Distribution
File details
Details for the file openimis_be_individual-1.1.0.tar.gz
.
File metadata
- Download URL: openimis_be_individual-1.1.0.tar.gz
- Upload date:
- Size: 32.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f1e740336d175c0e5d27ae0c67cb1fb2fa4fd32102efebf9143c7a084a58bb1 |
|
MD5 | c30328e97707e4fa961eda865c2cc47f |
|
BLAKE2b-256 | 89cd8a2d839138d41d62f0b249eef51e3572841579f20c15113787db2128bc3c |
File details
Details for the file openimis_be_individual-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: openimis_be_individual-1.1.0-py3-none-any.whl
- Upload date:
- Size: 51.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c89a839fa2676cf19aebe65237db1f705434215fa8bef7972c5af4e3f01d1237 |
|
MD5 | f079dd674b91405cee4936f268e92af3 |
|
BLAKE2b-256 | 84285cdefc201b632b3f9ab760465b7d0c1bd7a9935fe09a204fcec188ef4efb |