Description
HCL Launch is an application release automation tool. The HCL Launch Resources plugin manages resources in HCL Launch.
HCL Launch is an application release automation tool. The HCL Launch Resources plugin manages resources in HCL Launch.
This plugin contains steps that work with resources, such as agents.
This plugin includes one or more steps, click Steps for step details and properties.
This plugin requires HCL Launch version 7.0 or later.
This plugin runs on all operating systems that are supported by the HCL Launch agent, including z/OS with UNIX System Services.
See Installing plugins in HCL Launch for installing and removing plugins.
The following table describes the changes made in each plugin version.
Version | Description |
---|---|
79 | Minor enhancements |
The Create Multiple Resources step provides the ability to create multiple resources using one JSON file or JSON text body. The format of this JSON body follows the HCL Launch resource/create REST endpoint. See Create a resource for information about this endpoint.
To create multiple resources, create multiple JSON resource objects inside of a JSON array as follows:
[{"name": "Name for the resource.",
"agent": "(Optional) Name or ID of an agent to use for automation.",
"agentPool": "(Optional) Name or ID of an agent pool to use for automation.",
"parent": "(Optional) ID or path to parent resource.",
"role": "(Optional) Name or ID of a resource role.",
"componentTag": "(Optional) Name or ID of a component tag."},
{"name": "Name for the resource.",
"agent": "(Optional) Name or ID of an agent to use for automation.",
"agentPool": "(Optional) Name or ID of an agent pool to use for automation.",
"parent": "(Optional) ID or path to parent resource.",
"role": "(Optional) Name or ID of a resource role.",
"componentTag": "(Optional) Name or ID of a component tag."}]
The following process steps are available in the HCL Launch Resources plugin.
Adds a resource to a team for a given type classification.
Name | Type | Description | Required |
---|---|---|---|
Resource Path | String | Path to your resource (e.g. ResourceFolder/Resource) | Yes |
Team | String | Yes | |
Type | String | The type classification to add. Leave blank to use the type Standard Resource. | No |
Add a tag to a resource.
Name | Type | Description | Required |
---|---|---|---|
Resource Path | String | The path to your resource. For example: ResourceFolder/Resource. | Yes |
Tag Name | String | Yes |
Applies a resource template to a resource.
Name | Type | Description | Required |
---|---|---|---|
Properties | String | The properties used by the template. This should be a newline separated list of name value pairs of the form name=value. | Yes |
Resource | String | The id or path of the resource to apply the template to. | Yes |
Resource Template | String | The id of the resource template to apply. | Yes |
This step will succeed if the resource exists and fail if it does not.
Name | Type | Description | Required |
---|---|---|---|
Resource Path | String | Path to your resource (e.g. ResourceFolder/Resource) | Yes |
Step succeeds if resource has the specified role and fails if it doesnt.
Name | Type | Description | Required |
---|---|---|---|
Resource | String | path/ID of the resource. | Yes |
Role | String | name/ID of the role. | Yes |
Creates a resource. The resource could be a group, component resource, agent resource,
or agent pool resource.
Name | Type | Description | Required |
---|---|---|---|
Agent Name | String | If this is an agent resource, enter the agent name here. | No |
Agent Pool Name | String | If this is an agent pool resource, enter the agent pool name here. | No |
New Resource Name | String | The resource name must be unique under its parent resource. | Yes |
Parent Resource Path | String | The parent object of this resource. Leave blank to create a Top Level Resource | No |
Role Name | String | Associate a resource role with this resource. If this is going to be a component resource, enter the component name here. |
No |
Delete the specified agent.
Name | Type | Description | Required |
---|---|---|---|
Agent Name | String | The name of the agent to delete. | Yes |
Deletes agents, specified as a comma-separated list.
Name | Type | Description | Required |
---|---|---|---|
Agent Name List | String | The list of agents, separated by commas. | Yes |
Deletes resources, specified as a comma-separated list.
Name | Type | Description | Required |
---|---|---|---|
Resource Path List | String | The list of resources, separated by commas. | Yes |
Deletes the specified resource.
Name | Type | Description | Required |
---|---|---|---|
Resource Path | String | The path of the resource to delete. (e.g. ResourceFolder/ResourcePath | Yes |
Deletes all inventory entries on a resource for a given component. Can filter by version
and version status.
Name | Type | Description | Required |
---|---|---|---|
Component Name | String | Component Name or newline separated list of components | Yes |
Resource Path | String | Path to your resource (e.g. ResourceFolder/Resource) | Yes |
Status Filter | String | Only inventory matching this version status (such as Active) will be deleted. If left blank, inventory with any statuses that matches the other criteria will be deleted. |
No |
Version Filter | String | Only inventory matching this version will be deleted. If left blank, inventory with any version that matches the other criteria will be deleted. |
No |
Retrieve basic configuration information about a agent.
Name | Type | Description | Required |
---|---|---|---|
Agent | String | Agent name or ID | Yes |
Gets an agent property, given an agent and a property name. Name/value pair is outputted
on this step.
Name | Type | Description | Required |
---|---|---|---|
Agent | String | Name/ID of the agent | Yes |
Property Name | String | The name of the property. | Yes |
Takes a component and a resource, shows what version of that component exists on that resource.
Name | Type | Description | Required |
---|---|---|---|
Component | String | The component name or ID. Default is set to use a property called component.id | Yes |
Resource | String | The resource path or ID. Default is set to use a property called resource.id | Yes |
Get a resource property, given a resource and a property name. Name/value pair is
outputted on this step.
Name | Type | Description | Required |
---|---|---|---|
Property Name | String | The name of the property. | Yes |
Resource Path | String | Path to your resource (e.g. ResourceFolder/Resource) | Yes |
Get a resource role property value, given a resource, role name and a property name.
Name/value pair is outputted on this step.
Name | Type | Description | Required |
---|---|---|---|
Property Name | String | The name of the property. | Yes |
Resource Path | String | The path of the resource. (e.g. ResourcePath/Resource) | Yes |
Role Name | String | The name of the role. | Yes |
Installs an agent to a remote system over SSH.
Name | Type | Description | Required |
---|---|---|---|
Agent Install Directory | String | Directory to install the agent to. | Yes |
Agent Name | String | A unique name for the new agent and its resource. | Yes |
Hostname/IP | String | The hostname or IP of the remote system to target. | Yes |
Java Home | String | Path to the JRE/JDK on the target system. If blank, uses target machines JAVA_HOME | No |
Mutual Authentication | Boolean | If this is checked, the agent will be configured to use mutual authentication. | No |
SSH Password | Password | Password to provide for SSH authentication. | No |
SSH Username | String | Username to provide for SSH authentication. | No |
Server Hostname/IP | String | Hostname or IP for the agent to connect to the server. | Yes |
Wait for Agent Connection | Boolean | If this is checked, step will wait until the agent has connected or has timed out. | No |
Creates a new component tag resource. Maps a Component Tag to a previously created agent.
Name | Type | Description | Required |
---|---|---|---|
Component Tag | String | Name or ID of a component tag to associate with the resource; any components with that tag can be deployed to this resource. | Yes |
New Component Tag Resource Name | String | The resource name must be unique under its parent resource. | Yes |
Parent Agent Resource Path | String | The parent object of this resource. The Component Tag must be mapped directly to an agent. |
Yes |
Remove a tag from a resource.
Name | Type | Description | Required |
---|---|---|---|
Resource Path | String | Path to your resource (e.g. ResourceFolder/Resource) | Yes |
Tag Name | String | Yes |
Sets a property for an agent.
Name | Type | Description | Required |
---|---|---|---|
Agent | String | name/ID of the agent | Yes |
Property Name | String | name of the property to set | Yes |
Property Value | String | value of the property to set | No |
Secure | Boolean | check if the property should be secure | No |
Sets a property for a resource.
Name | Type | Description | Required |
---|---|---|---|
Property Name | String | name of the property to set. | Yes |
Property Value | String | value of the property to set. | No |
Resource | String | path/ID of the resource. | Yes |
Secure | Boolean | check if the property should be secure. | No |
Sets a property for a resource role. Property must be pre-defined on the role.
Name | Type | Description | Required |
---|---|---|---|
Property Name | String | name of the property to set. | Yes |
Property Value | String | value of the property to set. | No |
Resource | String | path/ID of the resource. | Yes |
Role | String | name/ID of the role. | Yes |
Synchronize one resource tree with another.
Name | Type | Description | Required |
---|---|---|---|
Exclude Resources | String | Comma- or space-separated list of patterns of resources that must be excluded. | No |
Include Resources | String | Comma- or space-separated list of patterns of resources that must be included. | Yes |
Perform Adds | Boolean | If this is checked, resources may be added to the target tree to achieve synchronization. | No |
Perform Deletes | Boolean | If this is checked, resources may be deleted from the target to achieve synchronization. | No |
Perform Property Changes | Boolean | If this is checked, properties in the target tree may be changed to achieve synchronization. | No |
Source Resource | String | The resource tree that will be the basis of the sync. | Yes |
Target Resource | String | The resource tree to apply changes to. | Yes |
Wait for one or more resources to be online.
Name | Type | Description | Required |
---|---|---|---|
Resources | String | Resource paths or IDs to check, one per line. | Yes |
Timeout (s) | String | Seconds to wait for resources to be online. The step will run without a timeout if this is 0 or blank. |
No |
Creates multiple resources using JSON format.
Name | Type | Description | Required |
---|---|---|---|
JSON File/Text | String | Body of JSON text or a file to define resources. | No |
Uploaded: 21-Apr-2023 14:02
Uploaded: 01-Feb-2023 14:10
Uploaded: 10-Oct-2022 15:59
Updating jettison library for CVE-2022-40150 CVE-2022-40149.
Uploaded: 06-Jun-2022 18:07
Update uDeployRestClient for new SSH Install Agent API.
Uploaded: 26-Apr-2022 19:03
Update for java 17 compatibility.
Uploaded: 08-Apr-2022 15:27
Update udclient and uDeployRestClient.
Uploaded: 07-Feb-2022 17:07
Remove log4j functionality related to: CVE-2019-17571, CVE-2020-9488. CVE-2021-4104, CVE-2022-23302, CVE-2022-23305, CVE-2022-23307.
Uploaded: 26-May-2021 07:19
Uploaded: 22-Apr-2021 07:06
Uploaded: 21-Apr-2021 09:27
Uploaded: 10-Mar-2021 10:14