[17188] [FOR REVIEW ONLY] : Data Migration Recipe
Recipe for migration of user data. This example migrates from IndexedDB to LocalStorage for the finsemble and finsemble.workspace topics. The developer may add or subtract topics and change adapters as per their needs.
Setup
- Enable auth in a local instance from a
releaseormasterbranch (i.e., not this branch). - Start Finsemble.
- Log in and create workspace(s), launch components, etc.
- Save workspace(s).
- Quit Finsemble.
Testing
- Check out branch.
- Enable auth.
- Start Finsemble.
- Log in with previous user.
- Migration Assistant component should spawn.
- Click
Begin migration now. - Migration should occur and present with a
Restart to continue.button. - Click
Restart to continue.. - Log in with previous user.
Expected Result: workspace is intact, no migration component spawns.
Config reference is a good place to start: https://documentation.chartiq.com/finsemble/tutorial-ConfigReference.html Heres where the code in the CLI that creates the config is (in the update branch: https://github.com/ChartIQ/finsemble-cli/blob/e56aa691aaa44353d9af33b8daecdcec3279f6f7/scripts/cliCommon.js#L72 )
K
Kris West Senior Solutions Architect p: +1 800 821 8147 m: +44 (0)7715104292 w: www.chartiq.com e: [email protected]
On Tue, 5 Nov 2019 at 16:09, Sonyl Nagale [email protected] wrote:
@sonyl-ciq commented on this pull request.
In configs/application/components.json https://github.com/ChartIQ/finsemble-seed/pull/485#discussion_r342632433 :
\ No newline at end of file
},"foreign": {"services": {"dockingService": {"canGroup": true,Should I look at the CLI code for the updated properties?
— You are receiving this because your review was requested. Reply to this email directly, view it on GitHub https://github.com/ChartIQ/finsemble-seed/pull/485?email_source=notifications&email_token=AAM7PBAHWYW4W34FJB5XAUDQSGLCTA5CNFSM4JHMEXB2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCKLA7KI#discussion_r342632433, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM7PBA4C32OXVOLJJZLWCDQSGLCTANCNFSM4JHMEXBQ .
@kriswest and @NinjaManatee : This is ready for another pass.
Old