Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  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<playground-5544676b78pod-r94w7 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 : 

...

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

5. Once the ifix-department-entity-service migrations complete using MongoDB Migration Doc v2.0 instructions. Please follow below steps to delete the ifix-department-entity-service .

Technical Doc

Department Entity Service v2.0