...
Create (if it's not available) DB schema (Mongo) in mgramseva namespace.
Create (if it's not available) DB schema (Mongo) in mgramseva namespace.
We can drop unused collections from iFix DB using below steps :
Connect to ifix namespace playground pod
kubectl exec -it playground<playground-5544676b78pod-r94w7 name> -n ifix -- /bin/bash
Connect to the particular mongo db
mongo --host <hostname>:27017 -u <username> -p <password>
Use db.
use <db_name>
Check the above mentioned collection name using below commands
db.getCollectionNames();
If above mentioned(highlighted in bold) collections are there then drop them off using below commands
db.departmentEntity.drop();
db.departmentHierarchyLevel.drop();
Steps to use Department Entity Service :
...
kubectl port-forward <pod-name> 8032:8080 -n mgramseva