Skip to main content

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

openimis_be_individual-1.1.1.tar.gz (33.1 kB view details)

Uploaded Source

Built Distribution

openimis_be_individual-1.1.1-py3-none-any.whl (51.3 kB view details)

Uploaded Python 3

File details

Details for the file openimis_be_individual-1.1.1.tar.gz.

File metadata

File hashes

Hashes for openimis_be_individual-1.1.1.tar.gz
Algorithm Hash digest
SHA256 ffe1b97ec2684fcb06877e2472b9b2a0f607f42e4ec00498865cd68cb44b4157
MD5 89fd64352587ab8d39e936956a8e75f3
BLAKE2b-256 696aafab5e5d2d0afc6b629b95c75331602014285376f5ee6bd9c7e5931e1d2a

See more details on using hashes here.

File details

Details for the file openimis_be_individual-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for openimis_be_individual-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 27363d4e3d000377a252e14ad11a74110cf87ca3289911f6d6956901a23a7f08
MD5 1d21d834414db6fd21121826d84fc21e
BLAKE2b-256 ac4fa71dd473e9a6e184b9e1b2473eeb57e74ab1b08605119f9827eab13cafff

See more details on using hashes here.

Supported by

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