Compile and load custom source configuration types

After you create a Java class that implements CommonIntegrator with downloadVersionContent and getNextVersionInfo methods, you are ready to create the custom source configuration type jar file. Then you load the file to Deployment Automation.

For general instructions on how to implement custom source configuration types, see Get started with custom source configuration types.

Compile and generate the jar file

To create the custom source configuration type file, use a build tool such as the one included in your Java IDE, compile the code, and generate the jar file.

Back to top

Load into Deployment Automation

After compiling and generating the jar file, load it into Deployment Automation and test the new source configuration type.

To load custom source configuration types, you need the Manage Custom Source Config Types server role. For details, see Server roles and system security.

To load a custom source configuration type:

  1. In Deployment Automation, navigate to Administration > Automation.
  2. Select the Source Config Types tab.
  3. Click the Load Source Config Type button.
  4. In the dialog box that opens, click Choose File and select the jar file you generated.
  5. Click Load.

After you upload the jar file, your custom source configuration type is displayed in the Source Config Type list. Click the name to view more information.

Note: After a source configuration type jar file is loaded, it is copied to the profile directory, for example, <profile_location>/var/plugins/source/custom. For Windows, the default location is:

C:\Users\<username>\.microfocus\da\var\plugins\source\custom

For details on how to apply custom source configuration types, see Use custom source configuration types.

Back to top

See also: