DIGIT Public Finance Management
PlatformDomainsAcademyDesign SystemFeedback
v2.0
v2.0
  • Introducing Public Finance Management (iFIX)
  • Platform
    • Release Notes
      • iFIX Core Release Notes
        • iFIX Core Build Updates
        • iFIX Core Test Cases
      • iFIX Adaptor Release Notes
        • iFIX Adaptor Build Update
        • iFIX Adaptor Test Cases
    • Specification
      • Functional Specifications
      • Technical Specification
        • Information Model
        • APIs
    • Architecture
      • Technology
    • Services
    • Setup
      • iFIX Service Setup
      • Infrastructure Setup
        • Quickstart/Local Setup
        • On AWS
        • On Azure
      • Deploy Services
        • Deploy from your local machine
        • CI/CD
      • API Access Key
    • Configuration
      • Core Service Documents
        • Master Data Setup
          • Domain Services
            • iFIX Core Master Data Service
            • iFIX Core Fiscal Event Service
            • iFIX Core Fiscal Event Post-Processor
        • iFIX Core Data Cleanup
        • iFix Department Entity Service
        • iFix Client Management Service
          • Keycloak Setup
      • Configuring Master Data
      • Promotion Docs
        • Master Data Service Promotion Doc
        • mGramSeva iFIX Adapter
        • Department Entity Service Promotion
        • Fiscal Event And Fiscal Event Post-processor Service Promotion
        • MongoDB Migration
  • Products
    • Use Cases
      • Leveraging iFIX To Enable Timely Payments To Frontline Health Workers
    • Works Module
    • mGramSeva
    • iFIX Adapter
      • Adapter Service Documents
        • iFIX Adapter Master Data Setup
        • mGramSeva iFIX Adapter Service
        • iFIX Adapter Master Data Service
        • iFix Adapter Services
      • Source Code
      • Installation
        • Local Setup
        • CI/CD
    • iFIX Dashboard
      • Features
      • Architecture
        • Technology
      • Source Code
      • Installation
        • Local Setup
        • CI/CD
      • Documents
        • iFIX Reference Dashboard
          • iFIX Fiscal Event Aggregator
  • Community
    • Ecosystem
      • News and Events
    • Roadmap
    • PFM Blogs
      • Why PFM Needs Fiscal Information Exchange Standards
    • Source Code
    • Discussions
    • Issues
Powered by GitBook

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

On this page
  • Adapter Master Data Service v1.0 And iFIX Master Data Service v2.0
  • Steps To Migrate To The Master Data Service
  • Steps To Use Adapter Master Data Service
  • Steps To Use iFix Master Data Service
  • Technical Docs

Was this helpful?

  1. Platform
  2. Configuration
  3. Promotion Docs

Master Data Service Promotion Doc

PreviousPromotion DocsNextmGramSeva iFIX Adapter

Last updated 3 years ago

Was this helpful?

Adapter Master Data Service v1.0 And iFIX Master Data Service v2.0

This page provides step-wise details on how to migrate Department, Project and Expenditure from iFix Master Data Service to Adapter Master Data Service.

Steps To Migrate To The Master Data Service

  1. Yaml configurations

    • Update "mongo-db-username", "mongo-db-password" and "mongo-db-authenticated-uri" in secrets db config in respective environment secret yaml file ( ).

    • Update "mongo-db-name", "mongo-db-host" and "mongo-db-url" in egov-config of configmaps in respective environment yaml file ( ).

    • Update "adapter-master-data-service" and "ifix-department-entity-service" in egov-service-host in respective environment yaml file ( ).

  2. Create a new DB in the MongoDB instance for these new services.

  3. Next, create the same master data again in the new (mgramseva) database using the adapter-master-data-service's /_create APIs.

  4. After restoring DB collections, drop the unused collections from the iFIX MongoDB.

    Follow the steps below to drop the unused collections.

    1. Connect to ifix namespace playground pod

      kubectl exec -it <playground-pod> -n ifix -- /bin/bash

    2. Connect to the particular mongo db mongo --host <hostname>:27017 -u <username> -p <password>

    3. Use db

      use <db_name>

    4. Check the above-mentioned collection name using the below commands

      db.getCollectionNames();

    5. If collections are there then drop them off using the below commands

      e.g.

      db.department.drop();

      db.expenditure.drop();

      db.project.drop();

Steps To Use Adapter Master Data Service

Port-forward the Adapter master data service in localhost from a specific environment (like QA/UAT/Prod).

Below is the command to port-forward :

e.g.

kubectl port-forward <pod-name> 8030:8080 -n mgramseva

Steps To Use iFix Master Data Service

We need the access token from keycloak server and pass it as a bearer token while requesting the ifix-master-data-service create APIs.

Technical Docs

All content on this page by is licensed under a .

Adapter Master Data Service v1.0
IFIX Core Master Data Service v2.0
iFix-DevOps/mgramseva-qa-secrets.yaml at mgramseva · misdwss/iFix-DevOps
iFix-DevOps/mgramseva-qa.yaml at mgramseva · misdwss/iFix-DevOps
iFix-DevOps/mgramseva-qa.yaml at mgramseva · misdwss/iFix-DevOps
​
eGov Foundation
Creative Commons Attribution 4.0 International License
Creative Commons License