Migrating oauth2 Tokens - Embedded Edition
Migrating oauth2 Tokens: Offline Mode
Procedure
-
To export
oauth2tokens from Boomi Cloud API Management – Local Edition 4.x to 6.1.0, run the following command:migrate.py --export_tokens-
This command continues to run until all tokens have been migrated. It outputs progress in the terminal and remembers its progress in the file
tokens.offset. -
If the command is interrupted, you can restart it, and token migration will resume after the restart.
-
You can start this command at any time. After restarting, it searches for new tokens in Boomi Cloud API Management – Local Edition 4.x and migrates them to Boomi Cloud API Management – Local Edition 6.1.0.
-
-
To import
oauth2tokens to Boomi Cloud API Management – Local Edition 6.1.0, run the following command:./migrate.py --import_tokensToken imports may take longer to finish due to disconnecting from the terminal. To prevent interruption, run the following
screencommand:screen ./migrate.py --import_tokensIf it still remains disconnected from the terminal, log in to a terminal and run the following command to import token import.
screen -r
Migrating oauth2 Tokens: Online Mode
To migrate oauth2 tokens from Boomi Cloud API Management – Local Edition 4.x to Boomi Cloud API Management – Local Edition 6.1.0, run the following command:
./migrate.py --migrate_tokens
-
This command continues to run until all tokens have been migrated. It outputs progress in the terminal and remembers its progress in the file
tokens.offset. -
If the command is interrupted, you can restart it, and token migration will resume after the restart.
-
You can start this command at any time. After restarting, it searches for new tokens in Boomi Cloud API Management – Local Edition 4.x and migrates them to Boomi Cloud API Management – Local Edition 6.1.0.
The online mode in the embedded edition may not be able to communicate securely with the MySQL service used by Boomi Cloud API Management – Local Edition 6.1.0. In such a situation, the offline mode in the embedded edition can be used to migrate tokens.