Health
PlatformDomainAcademyDesign SystemFeedback
v1.3
v1.3
  • 👋Introducing DIGIT Health
    • Release Notes
      • v1.3 Release Notes
      • v1.3 Tech Release Summary
        • Master Data Management Service (MDMS) & Configuration Updates
        • Test Cases
        • Service Build Updates
      • v1.2 Release Notes
      • v1.0 Release Notes
  • 💙HEALTH CAMPAIGN MANAGEMENT
    • Understanding DIGIT Health Campaign Management (HCM)
    • Value Proposition
  • 🎯HCM PRODUCT SUITE
    • Functional Specifications
      • Campaign Type Setup
      • Campaign Setup
      • Inventory
      • Boundary Hierarchy
      • Beneficiary
      • Boundary Data Specs
      • Draft System User Setup
      • Role Action Mapping
    • Building Blocks & Services
    • Health Products
      • DIGIT HCM App
        • User Manual
          • Single Round Campaigns
            • Registration & Delivery
          • Multi-Round Campaigns
            • Registration & Delivery
            • Download Beneficiary Data
          • Common Functions
            • User Management
            • 2D Voucher Scanning
            • Proximity-Based Search
            • Voucher-Based Registration and Distribution
            • Tracking Beneficiary Referrals
            • Tracking Side-Effects for Beneficiaries
            • Tracking Adverse Events
            • Health Facility Referral
            • Raising Complaints
            • Resolving Complaints
            • Inventory Management
              • User Manual
                • Stock Management
                • Stock Reconciliation
                • View Reports
                • Bale Scanning
            • Attendance Management
          • Support Functions
            • Language Selection
            • Login
            • Forgot Password
            • Project Selection
            • Hamburger Menu
            • Help
            • Sync
            • Checklist
      • Campaign Management Dashboard
        • User Manual
      • Microplanning
      • HCM Console
  • 🚀REFERENCE IMPLEMENTATIONs
    • Mozambique
      • LLIN Overview
      • Customisation
      • Rollout
  • 🧰TECHNOLOGY
    • Architecture
      • High Level Design
        • Health Campaign System High Level Design
        • Design Decision Log
      • Low Level Design
        • Registries
          • Individual
          • Household
          • Product
          • Facility
          • Attendance
        • Services
          • Project
          • Stock
          • Referral
      • Field App Architecture
    • Standards
    • Security
    • Interoperability
  • 🪝SETUP
    • Planning an HCM Implementation
    • Establish Project & Team
    • Gathering Requirements
    • Installation
      • Install Using GitHub Actions in AWS
      • Setup Seed Data
      • Setup App
      • Setup Kibana Dashboard
        • Create or Edit Existing Dashboards
        • Summary of Data Views and Dashboards
    • Configuration
      • Service Configuration
        • Individual Registry
        • Household Registry
        • Product Registry
        • Facility Registry
        • Stock & Inventory
        • Project Services
        • Referral Management
        • Attendance
        • Complaints
          • QA Sign-Off
            • Test Cases
        • User Management
          • QA Sign-Off
      • UI Configuration
        • Stock Management
        • Language Selection
        • Login
        • Forgot Password
        • Project Selection
        • Attendance Management
          • Attendance Package Extraction and Interaction with HCM Application
      • Dashboard Configuration
        • Dashboard UI Enhancements
        • HCM Dashboard Master Promotion Guide
    • Quality Assurance Testing
  • 🔵GENERAL
    • Source Code
    • Committee
      • Digital Product Advisory Committee Charter
      • Idea Management Process
    • Product Roadmap
Powered by GitBook

https://creativecommons.org/licenses/by/4.0/

On this page

Was this helpful?

Export as PDF
  1. SETUP
  2. Installation

Setup Seed Data

This step involves the execution of the Postman collection for the minimum setup data required to run a campaign.

PreviousInstall Using GitHub Actions in AWSNextSetup App

Was this helpful?

Steps

All file examples in this document refer to the default branches in the health campaign DevOps and config repositories for example purposes. If you have replaced these repositories with your fork or clone, refer to the same here.

Repository details

    • Branch - kubernetes-1.27

    • Branch - DEMO

    • Branch - DEMO

Create an environment variable file and add the below variables in Postman

  • Click on New and then Environment, then add the following variables

  • URL

  • tenantId - mz

  • apiUserName and apiPassword - newly created superuser credentials

  • boundaryCode - use the default value (VFTw0jbRf1y) if Master data is unchanged

  • Import the seed data script

  • Once Env is selected then click on the imported HCM setup collection click run

  • Pick the values by clicking on the eye icon

  • Pick the value of a postman env variable named ProductVariantIdBednet1 and replace all occurrences of the text "PVAR-2024-03-21-000026" with the copied value in the project-types.json.

  • Pick the value of a postman env variable named ProductVariantIdSP and replace all occurrences of the text "PVAR-2024-03-21-000022" with the copied value in the project-types.json.

  • Pick the value of a postman env variable named ProductVariantIdAQ and replace all the occurrences of the text "PVAR-2024-03-21-000024" with the copied value in the project-types.json.

  • Replace the URL variable in the Postman Environment with your domain URL

  • While executing the localisation collection, execute only five folders at a time by unchecking the box in the run screen to avoid inbuilt rate limiter errors.

  • Else, create a port forward to the localisation pod by executing the below command:

kubectl port-forward svc/egov-localization -n egov 8080:8080
  • Replace the URL variable in the Postman Environment to http://localhost:8080.

  • Run the collection.

startDate and endDate in epoch format -

- This collection includes all the scripts to create users, Projects, staff and product variants

Import the HCM setup script in Postman -

Choose the new environment created in the environment tab

Once the Script is executed completely, update the following values from the postman environment variable to the project-types.json (health-campaign-mdms/blob/DEMO/data/mz/health/project-types.json) master data file -

Localisation scripts are ; During local execution, the script fails because of the rate limit exception, but it will execute as expected on the server.

🪝
epoch converter
HCM Setup Script
import guide
example link
here
health-demo devops
config
master data