Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Department Entity service manages the department and its hierarchies metadata. It deals with department entities and department hierarchy only. Department Entity and Department Hierarchy were earlier in the ifix core. Now, they have been moved to the mgramseva ifix adapter side. You can migrate that data from ifix db to mgramseva ifix adapter db using below steps.

  1. Create (if it's not available) DB schema (Mongo) in mgramseva namespace.

  2. Create (if it's not available) DB schema (Mongo) in mgramseva namespace.

  3. We can drop unused collections from iFix DB using below steps :

    1.  Connect to ifix namespace playground pod 

              kubectl exec -it <playground-pod-name> -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 below commands

             db.getCollectionNames();

    5. If above mentioned(highlighted in bold) collections are there then drop them off using below commands

               db.departmentEntity.drop();

               db.departmentHierarchyLevel.drop();

  4. Steps to use Department Entity Service : 

Please port-forward the Department Entity service in localhost from a specific environment (like QA/UAT/Prod).Below is the command to port-forward :

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

Technical Doc

Department Entity Service v2.0

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.