Skip to content

Migrating a Roxy project to ml gradle

rjrudin edited this page Jun 20, 2017 · 13 revisions

Version 3.0 of ml-gradle will include support for migrating a Roxy project into a Gradle project. The current plan is to achieve this via a single Gradle task, followed by some zero or more manual steps that cannot be automated - e.g.

gradle mlMigrateRoxyProject -Ppath=/path/to/roxy/project

Here's an overview of the steps that will the tickets for Roxy migration will cover:

  1. Resources (e.g. databases, app servers, users) will be migrated by exporting them via the Manage API from an already-deployed Roxy application. This avoids trying to map the Roxy config file to Manage API payloads.
  2. Roxy properties will be mapped to Gradle properties and copied into gradle.properties
  3. ML module files will be copied from the Roxy project into the appropriate directories in the Gradle project
  4. Custom Roxy tasks in app_specific.rb will be copied into build.gradle as custom Gradle tasks
  5. Any manual steps that must be performed will be documented (e.g. when a user is exported, its password is not included, so the password will need to be added manually)

In addition, support is planned for running Roxy tests from Gradle, though this is a separate effort from migrating a Roxy project and may not be supported in the same release.

Clone this wiki locally