Use current dragonfly api to setup datastore.
Merge pull request #2545 from refinery/dragonfly_api_change

Use current dragonfly api to setup datastore.