Quick Info
Description
The Web Utilities plugin automates interactions with websites and web services during a deployment.Quick Info
launch-web-utilities-18.1151823.zip
Uploaded: 17-Feb-2023 06:54
launch-web-utilities-17.1148552.zip
Uploaded: 16-Dec-2022 10:11
Release Note
Minor bug fix for the timeout property.launch-web-utilities-17.1138530.zip
Uploaded: 27-Jul-2022 14:26
launch-web-utilities-16.1107121.zip
Uploaded: 19-May-2021 06:18
Release Note
Configure timeout for HTTP calls.launch-web-utilities-16.1100888.zip
Uploaded: 16-Mar-2021 07:22
Summary
Use the Web Utilities plugin to send HTTP requests to web servers in HCL Launch processes.
This plugin includes one or more steps, click Steps for step details and properties.
Compatibility
This plugin requires HCL Launch version 7.0 or later.
This plugin runs on all operating systems that the HCL Launch agent supports.
Installation
See Installing plugins in HCL Launch for installing and removing plugins.
History
The following table describes the changes made in each plugin version.
Version | Description |
---|---|
17 | Minor bug fix for the timeout property |
16 | Minor enhancements |
Usage
Use the Send HTTP Call step to specify an HTTP request and send the request to a web server. You can invoke a RESTful service against a specified URL and write the results to a file. You can use RESTful service calls to integrate with any technology that has a REST-based API.
The step response is available in the responseBody property. A payload with an HTTP response is not always returned. Sometimes only an HTTP status code is expected.
Use the Upload to FTP Server step to specify a file on the agents local file system to upload to an FTP server specified by the Hostname. The file will be uploaded to the directory on the FTP server specified by the File Path. You can optionally rename the file by specifying the Rename File. Note the extension must be explicitly stated in the Rename File property, for example: newFileName.zip
instead of just newFileName
.
Step palette
To access this plugin in the palette, click Utilities > Web Utilities.
Steps
The following process steps are available in the Web Utilities plugin.
Delete from FTP Server
Uploads a file to an FTP server.
Name | Type | Description | Required |
---|---|---|---|
Connection Mode | Enumeration | Select a data connection mode between the client and server. Valid values are default, localPassive, localActive, and ${p:componentProcess/connectionMode}. | No |
Delete Directory | Boolean | Delete the directory if it is empty. | No |
Directory | String | The directory path where the files reside. | Yes |
File Names | String | List the file names to delete. Separate multiple file names using commas or new lines. |
No |
Hostname | String | The host name of the FTP server. | Yes |
Password | Password | Password to authenticate with the FTP server. | Yes |
Port | String | The port the FTP server listens on. | Yes |
Username | String | User name to authenticate with the FTP server. | Yes |
Send HTTP Call
Sends an HTTP request to a URL, with headers and data.
Name | Type | Description | Required |
---|---|---|---|
Accept Response Type | Enumeration | Select the accept type. If there is no accept type, select ANY. Types are */*, text/plain, application/x-www-form-urlencoded, application/xml,text/xml,application/xhtml+xml,application/atom+xml, application/json, application/javascript,text/javascript, text/html, and application/zip. | No |
Allow Untrusted SSL Certs | Boolean | If selected, HTTPS requests to sites with untrusted certificates do not fail. | No |
Data / Data File | String | The data to send with the HTTP request. Specify the data in text format, or specify the name of a file that contains the data. |
No |
HTTP Method | Enumeration | Select the method to use for the HTTP request. Valid values are GET, POST, PUT, DELETE, HEAD, and OPTIONS. | No |
Headers | String | A list of request headers, separated by newline characters. | No |
Output File | String | Specify the name of a file, relative to the working directory or absolute, to use to store the response body. |
No |
Password | Password | Password for basic authentication. | No |
Request Content Type | Enumeration | Select the body content type. If there is no request body, select ANY. Types are */*, text/plain, application/x-www-form-urlencoded, application/xml,text/xml,application/xhtml+xml,application/atom+xml, application/json, application/javascript,text/javascript, text/html, and application/zip. | No |
URL | String | The full URL to send the HTTP request. | Yes |
Username | String | User name for basic authentication. | No |
timeout | Integer | The HTTP operation will timeout if it does not complete after the time specified here. Default timeout is 5 minutes. | No |
Upload to FTP Server
Uploads a file to an FTP server.
Name | Type | Description | Required |
---|---|---|---|
Connection Mode | Enumeration | Select a data connection mode between the client and server. Valid values are default, localPassive, localActive, and ${p:componentProcess/connectionMode}. | No |
FTP File Type | Enumeration | Select the FTP File Type to be sent to the FTP Server. Valid values are BINARY and ASCII. | No |
File Path | String | The full path of the local file to upload. For example: dir1/dir2/myFile.zip | Yes |
Hostname | String | The host name of the FTP server. | Yes |
Password | Password | Password to authenticate with the FTP server. | Yes |
Port | String | The port the FTP server listens on. | Yes |
Rename File | String | Upload the local file to the FTP server with another name. File extension needs to be included. |
No |
Upload Directory | String | The structure for the directory destination on the FTP server, relative to the server root directory. For example: /dir1/dir2/dir3/ |
Yes |
Username | String | User name to authenticate with the FTP server. | Yes |