Custom Projects packaging and publishing
Before you begin
- Before creating the image, complete the following steps:
- Navigate to the extracted folder and locate
castiron_docker/projects
- Copy all the required projects .par files to the
castiron_docker/projects
location
- Navigate to the extracted folder and locate
- Create the image as described in Creating an App Connect Professional Docker image.
- After creating the image in the running container, if the projects need to published then complete the following steps:
- Transfer the project .par files to the App Connect Professional Docker container which is running, by using the following command:
docker cp <project_name>.par <existing_container_ID>:/var/tmp/projects
- From the App Connect Professional container CLI prompt, run the following command after copying the projects to the container:
castiron --restart
- Transfer the project .par files to the App Connect Professional Docker container which is running, by using the following command:
About this task
Use this task to publish the projects automatically when the container comes up.
Procedure
Note: If the projects are required to be started as part of the container startup, provide a projects.cfg file in the
castiron_docker/projects
location or transfer the projects.cfg file to the App Connect Professional Docker container at the /var/tmp/projects
location with the information below.Only the projects mentioned in the projects.cfg will be published and started:
projects.cfg syntax:
<projectname.par>,<project_version>,START
(The projects will be published and started in the WMC.)<projectname.par>,<project_version>
(The projects will be published.)
projects.cfg examples:
HTTP-Receive.par,1.0,START
FTP-get.par,1.0
Projects can be automatically published or started only with username admin
and default password.