apigeecs / apigee-migrate-tool

Export/Import Org Data. Import from CSV files
MIT License
52 stars 50 forks source link

exportEnvKVM - not exporting all data #31

Open mattachawki opened 4 years ago

mattachawki commented 4 years ago

exportEnvKVM is showing : Exported 26 kvms ================== export ENV KVM DONE()

while only 15 are exported!

kurtkanaskie commented 4 years ago

I have verified this, for some peculiar reason "exportEnvKVM" attempts to export all KVMs from all Envs regardless of config.js setting. The problem is that "done()" is being called when one Env KVMs have been exported, while the others are still in progress. Simple fix would be to only export the Env specified in config.js.

kurtkanaskie commented 4 years ago

Fix exports just the KVMs for the specified env in config.js. Still follows the env folder structure.