Pulling JavaScript adapter configurations

You pull JavaScript adapter configurations from the server with Maven or MobileFirst Platform CLI.

Pulling 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 pulling the configurations with Maven.

Pulling 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. If the config.json file is not in this directory, it is created.
  2. Run mfpdev adapter pull to pull the adapter configuration from the default server.