OAuth Token Migration

The OAuth Token Migration utility is a stand-alone program that copies active OAuth tokens between a Mashery Local 4.x (or below) environment and Mashery Local 5.x installation. The utility can work off different combinations of source and destination via:
  • MySQL
  • File (export records to file and import of records from FILE)
  • Cassandra
Note: Where possible, the recommended source is MySQL and recommended destination is Cassandra.

Prerequisites

The container where the utility is running should be able to connect to source and destination data repository (MySQL/Cassandra) for fetching and writing of records.

In case the connectivity is not possible, the utility can work on intermediate FILE based migration where it should be like MySQL=> FILE => CASSANDRA.

While writing to FILE, the File output directory (mentioned in config file) should be large enough to hold records from source.