-
Notifications
You must be signed in to change notification settings - Fork 22
Migrating to Optimus 2.0
Krishnanand B edited this page Jul 10, 2017
·
6 revisions
- Migrated from Redis server to MongoDB
- Generic Step Creation
- Bug fixes
-
Step1: Update Optimus-Cli
In your terminal run command
npm update -g optimus-cli
.Note: If
optimus-cli
fails to update, try to reinstall it using commandsnpm uninstall -g optimus-cli
andnpm install -g optimus-cli
. -
Step2: Migrate to MongoDB Run command
optimus setup
. This will installMongoDB
. Setup the mongodb data folder as shown here -
Step3: Replace below files, with the latest changes.
-
Step4 Add Optimus Configuration (To add generic steps)
- Create folder
META-INF
undersrc/test/resources
folder. - Add file
Optimus.yaml
underMETA-INF
- Specify optimus configuration. Example configuration file can be found here
- Create folder
Verify your migration by running any of your existing tests.
gradle runFragmentation -DtestFeed=<yourTestFeedName> -Dtags=<yourTags>
gradle runDistribution -DtestFeed=<yourTestFeedName> -Dtags=<yourTags>