Exporting agent updates

To update the business logic of an agent, you can export a single agent independently from the solution.

Before you begin

You must deploy the whole solution before you can deploy a single agent.

Before you export an agent, you must increment the micro version number of this agent in its manifest file. Incrementing this number prevents the deployed agent from being overwritten, and avoids version conflicts.

Procedure

  1. In the Solution Explorer, right-click the agent project and click Export.
  2. Select Insight Designer > Agent Archive, and then click Next.
  3. Make sure that the agent project is selected.
  4. Click Browse to specify where you want to generate the .esa archive, and then click Finish.
    Note: If you change the name of the archive, the solution symbolic name remains the one specified in the manifest file of the solution project.

Results

The generated archive is an enterprise subsystem archive (.esa). The archive is a Liberty feature that you can deploy to the Insight server.

The name of the archive is based on the solution name plus the version (major and minor), and the agent bundle symbolic name plus the version (major, minor, and revision). For example, com.acme.solution-0.1-com.acme.agent-0.1.3.esa.