This commit adds supports for mongodb sharding configuration. Change-Id: I1e4fff22f08d0b7c54b828c8e61d4d0e8e8f652b