Data Migration

This migration is mukta-specific, it will not be part of our master code.

Program Creation

  • After installation of all required services, port-forward the program service and create programs for each ULB. Sample curl is added bellow.

curl --location 'http://localhost:8082/program-service/v1/program/_create' \
--header 'Content-Type: application/json' \
--data-raw '{
    "signature": null,
    "header": {
        "message_id": "123",
        "message_ts": "1708428280",
        "message_type": "program",
        "action": "create",
        "sender_id": "program@https://unified-dev.digit.org",
        "receiver_id": "program@https://unified-qa.digit.org"
    },
    "message": {
        "location_code": "pg.citya",
        "name": "ifix",
        "description": "Empowering local communities through sustainable development projects.",
        "start_date": 1672531200,
        "end_date": 1704067200,
        "children":null,
        "status": {
            "status_code": "INITIATED",
            "status_message": "ACTIVE"
        },
        "additional_details": {},
        "function_code": "in.pg.OGES",
        "administration_code": "in.pg.ac.HUDD.UID",
        "recipient_segment_code": "in.pg.rsc",
        "economic_segment_code": "in.pg.CE.IA.OC",
        "source_of_fund_code": "in.pg.CSS",
        "target_segment_code": null,
        "currency_code": "INR",
        "locale_code": "in.pg.citya"
    }
}'
  • Configure alll program codes that you created for each ULB to the MDMS.

IFMS Data Migration

  • IFMS adapter data migration for mukta-adapter ad program service

    • Use this specific branch for iFix migration.

    • Update environment variables according to the environment.

    • Build the python migration script and deploy it in the environment.

    • Port forward the service and call the API to start the migration.

// Some code

Last updated

All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.