https://github.com/ging/idm-migration
Migration scripts from fi-ware-idm to keystone-horizon
https://github.com/ging/idm-migration
Last synced: about 1 year ago
JSON representation
Migration scripts from fi-ware-idm to keystone-horizon
- Host: GitHub
- URL: https://github.com/ging/idm-migration
- Owner: ging
- Created: 2015-03-24T18:50:08.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-06T16:42:07.000Z (about 11 years ago)
- Last Synced: 2025-05-07T21:05:58.976Z (about 1 year ago)
- Language: JavaScript
- Size: 254 KB
- Stars: 0
- Watchers: 19
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
MIGRATION PROCEDURE
1. Clone data_template folder to data
2. Create dist folder (and shell folder inside)
3. Clone migration_config.js.template file to migration_config.js
4. Configure migration_config.js
5. Fill data/keystone_users.json and data/service_catalogue.json
6. Copy fi-ware-idm/current/migrationdata.json remote file to data/ local folder
7. Run scripts/delete_old_users.js It will generate data/migrate_json_med.js
8. Run scripts/migrate_json.js It will generate data/migrate_json_new.js
9. Run scripts:
- scripts/users.js -->logs/users.log
- scripts/orgs.js -->logs/orgs.log
- scripts/apps.js -->logs/apps.log
- scripts/ruser_org.js -->logs/ruser_org.log -- not debug mode available
- scripts/roles.js -->logs/roles.log
- scripts/rusers.js -->logs/rusers.log
- scripts/perms.js -->logs/perms.log
- scripts/rperms.js -->logs/rperms.log
- scripts/rstore.js -->logs/rstore.log
- scripts/horizon_admins.js -->logs/horizon_admins.log
- scripts/keystone_users.js -->logs/keystone_users.log -- partial debug mode available
- scripts/user_categories.js -->logs/user_categories.log
10. Copy fi-ware-idm/shared/system remote folder to horizon server
11. In the horizon server create media folder with the structure:
media/
ApplicationAvatar/
medium/
small/
original/
OrganizationAvatar/
medium/
small/
original/
UserAvatar/
medium/
small/
original/
12. In the horizon server run dist/shell scripts