Pushing Java adapter configurations

You push Java™ adapter configurations to the server with Maven or MobileFirst Platform CLI.

Pushing adapter configurations with Maven

Before you begin

To work with Maven, ensure that you have it installed and that the mvn command is identified in your system path. For more information about installing Maven, see https://maven.apache.org/install.html.

Procedure

See Maven adapter artifacts for the procedure for pushing the configurations with Maven.

Pushing adapter configurations with MobileFirst Platform CLI

Before you begin

Ensure that you have installed MobileFirst Platform CLI and Maven.

Procedure

  1. At the command prompt, cd to the root directory of the adapter project. This directory was created with your adapter, and has the same name as the adapter. The config.json file is in this directory.
  2. Run mfpdev adapter push to push the adapter configuration to the default server.