Custom source configuration type functionality is an extended
version of the existing source configuration type functionality for
Deployment Automation
components. It enables
Deployment Automation
to connect to custom entities for artifact management using
Deployment Automation
components.
Some advantages of the architecture include the following:
- It is built on Jar architecture, so is easy for Java programmers to
implement.
- Custom source configuration types can be loaded into
Deployment Automation
without restarting the server and can be used immediately in
Deployment Automation
components.
Get started creating a custom source configuration type as follows:
- Download the
sct-commons jar file and its associated Javadoc from
Knowledgebase
item
S142231.
- Using any Java/J2EE IDE, such as Eclipse or IntelliJ IDEA, create a
project for your new source configuration type.
- Ensure that
sct-commons-1.0.0.jar is in the IDE’s current
class path.
-
Implement the
CommonIntegrator interface from
sct-commons-1.0.0.jar. Package the concrete
implementation of
CommonIntegrator in a jar file that you name
according to your naming standard. This includes the source configuration type
definitions, which are defined using annotations, and is the file that you will
load into
Deployment Automation
when you are ready to use the source configuration type.
- Define each of the source configuration types that you want to
include in this jar file. For components to work successfully, all the runtime
dependencies of the jar must be packaged together.
Note: Although it is technically more efficient to include multiple
source configuration types per file, it is recommended to include only one
source configuration type per file, for easier maintenance going forward. If
you put multiple types per file, you cannot do things like upgrade or delete
without impacting all of them.
- Load your new source configuration type into a test
Deployment Automation
system. Test it by configuring a component to use it and trying out the
functionality you implemented.
- Make your new source configuration type available to your
Deployment Automation
users by loading it into your production
Deployment Automation
system.
- Ensure that those administrators who should have privileges to manage
custom source configuration types are given the server role to do so.
Details are included in the subsequent sections of the documentation.
Minimum requirements:
- Deployment Automation
6.1.5
- JDK 1.8
Copyright © 2011–2017 Serena Software, Inc., a Micro Focus company. All rights reserved.