Master Data Service Promotion Doc

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

  1. 1.
    Yaml configurations
  2. 2.
    Create a new DB in the MongoDB instance for these new services.
  3. 3.
    Next, create the same master data again in the new (mgramseva) database using the adapter-master-data-service's /_create APIs.
  4. 4.
    After restoring DB collections, drop the unused collections from the iFIX MongoDB.
    Follow the steps below to drop the unused collections.
    1. 1.
      Connect to ifix namespace playground pod
      kubectl exec -it <playground-pod> -n ifix -- /bin/bash
    2. 2.
      Connect to the particular mongo db mongo --host <hostname>:27017 -u <username> -p <password>
    3. 3.
      Use db
      use <db_name>
    4. 4.
      Check the above-mentioned collection name using the below commands
      db.getCollectionNames();
    5. 5.
      If collections are there then drop them off using the below commands
      e.g.
      db.department.drop();
      db.expenditure.drop();
      db.project.drop();

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

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

All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.
Copy link
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