package
0.0.0-20241127052204-7000a18d2d98
Repository: https://github.com/openg2p/openg2p-social-registry-testing.git
Documentation: pkg.go.dev

# README

openg2p-social-registry-testing

Testing related artefacts - Functional, Performance and Load - Data loading scripts, test plans

Utilities

db_loadtester.go

  • Purpose: Used for firing parallel threads to invoke select statements on the res_partner table to simulate search operations.

generate_data.go

  • Purpose: Generates data at scale for the social registry.

g2p_mandal_district_mapping.csv

  • Description: Contains the mapping of mandal ID and district ID used by generate_data.go for data generation purposes.

populate_database.go

  • Purpose: Populates the social registry database with data generated by generate_data.go.

populate_opensearch.go

  • Purpose: Populates the OpenSearch indexes in bulk for res_partner from the social registry.

populate_ref_id_update_uin.py

  • Purpose: Bulk inserts res_partner.ref_id values from mosip id generator uin values and updates the uin_status from UNUSED to ASSIGNED

# Constants

Set chunk size to 10,000.
Configuration.
Configuration.
Configuration.
No description provided by the author
OpenSearch configuration.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Configuration.
Configuration.
No description provided by the author
PostgreSQL configuration.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Configuration.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author