apigeecs / apigee-migrate-tool

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

Import App is not working as expected. #43

Open SnehansuBhuyan opened 4 years ago

SnehansuBhuyan commented 4 years ago

I am having a issue in the "import app". I have 140 Apps and exported all Apps in the data folder. While running "grunt importApps",

only 70 Apps imported . rest of the Apps not imported . Also "Credential" section is empty for all import Apps. I want credential section also import. EX- data/apps/XXXXX@XXXX.com/AMEX-DEV-MANAGER-API-700_REGISTERED_NOT_VERIFIED this kind of not import . Any issue here ? Please help me to fix these TWO issues.

SnehansuBhuyan commented 4 years ago

Any update on this issue ?

kurtkanaskie commented 4 years ago

HI @SnehansuBhuyan Deleting the credentials is by design, the flow to migrate Apps and their existing keys is: exportApps - includes original keys importApps - Edge ignores original keys and creates new keys, importApps then deletes them. importKeys - to import original keys (Fixed as per issue #45)

Perhaps there should be an option to NOT delete the auto generated keys.

kurtkanaskie commented 4 years ago

I've tested exporting and importing apps via my repo and I've not seen any issues. https://github.com/kurtkanaskie/apigee-migrate-tool