• Overview
  • Documentation
  • Version history

Description

HCL DevOps Test Integrations and APIs is an integration testing and virtualization tool that includes capabilities to automate and run tests earlier and more often to find problems sooner in the development cycle.

Quick Info

Product icon

Product

HCL DevOps Velocity (HCL Accelerate)
Plugin type icon

Type

plugin
Compatibility icon

Compatibility

HCL DevOps Velocity version 2.2.2 or later
created by icon

Created by

HCLSoftware

Published Date

Last Updated

Summary

The HCL DevOps Test Integrations and APIs plugin provides an integration with HCL DevOps Test Integrations and APIs. This plugin imports test result data from a MySQL DB and saves the data as metrics in HCL DevOps Velocity insights.

Compatibility

This plugin requires HCL DevOps Velocity version 2.2.2 or later.

HCL DevOps Test Integrations and APIs 10.1.3 or later is supported.

Usage

To use the HCL DevOps Test Integrations and APIs plugin, the plugin must be loaded and an instance created before you can configure the plugin integration. Configuration properties are defined using the product user interface or a JSON file. After the integration is complete, to invoke the plugin send an HTTP Post request to the plugin endpoint.

Integration type

The HCL DevOps Test Integrations and APIs plugin supports endpoint integration which are listed in the following table.

Endpoints
Name Path Method
OneTest API onetest-api/callback Post

Invoking the plugin

To import data from the HCL DevOps Test Integrations and APIs server, send an HTTP POST request to your endpoint such as the following sample.


https://<pluginEndpoint>/onetest-api/callback

The payload for the POST is shown below.


{
    "project": "<Project Name>",
    "startDate": "<Start Date>" // Optional - Format is "YYYY-MM-DD"
}

Integration

To install the plug-in, perform the following steps:

  1. In HCL DevOps Velocity, click Settings > Integrations > Available.
  2. In the Action column for the HCL DevOps Test Integrations and APIs plug-in, click Install.

There are two methods to integrate the plug-in:

  • Using the user interface
  • Using a JSON file

The tables in the Configuration Properties section describe the properties used to define the integration.

Integrating the plug-in by using user interface

The tables in the Configuration properties topic describe the properties used to define the integration.

To integrate the plug-in using the user interface, perform the following steps:

  1. In HCL DevOps Velocity, click Settings > Integrations > Installed.
  2. In the Action column for the HCL DevOps Test Integrations and APIs plug-in, and then click Add Integration.
  3. On the Add Integration dialog, enter the values for the fields to configure the integration and define communication.
  4. Click Add.

Integrating the plug-in by using JSON file

The JSON file contains the information for creating a value stream. Within the JSON file is a section for integrations. It is in this section that plugin properties can be defined. Refer to the JSON sample code in the Configuration Properties section.

To integrate the plug-in using a JSON, perform the following steps:

  1. Navigate to value stream page, and then click the necessary value stream.
  2. Click  icon, and then Select Edit value stream to modify the JSON file in the code or tree view editors.
    Alternatively, you can also click Download JSON option to download the JSON file, and then select the Import JSON option to upload the revised JSON file.
  3. Edit the integration information in the JSON file to add the plug-in configuration properties. Refer to JSON sample code in the Configuration Properties section more details.
  4. Click Save.

Configuration properties

The following tables describe the properties used to configure the integration. Each table contains the field name when using the user interface and the property name when using a JSON file.

  • The General Configuration Properties table describes configuration properties used by all plugin integrations.
  • The HCL DevOps Test Integrations and APIs Configuration Properties table describes the configuration properties that define the connection and communications with the HCL DevOps Test Integrations and APIs. When using the JSON method to integrate the plugin these properties are coded within the properties configuration property.

Some properties might not be displayed in the user interface, to see all properties enable the Hidden field.

General Configuration properties
Name Description Required Property Name
NA The version of the plugin that you want to use. To view available versions, click the Version History tab. If a value is not specified, the version named latest is used. No image
Integration Name An assigned name to the value stream. Yes name
Logging Level The level of Log4j messages to display in the log file. Valid values are: all, debug, info, warn, error, fatal, off, and trace. No loggingLevel
NA List of plugin configuration properties used to connect and communicate with the HCL DevOps Test Integrations and APIs. Enclose the properties within braces. Yes properties
  The name of the tenant. Yes tenant_id
NA Unique identifier assigned to the plugin. The value for the HCL DevOps Test Integrations and APIs plugin is ucv-ext-onetest-api Yes type
HCL DevOps Test Integrations and APIs Configuration Properties
Name Type Description Required Property Name
User Access Key Secure The user access key to authenticate with the HCL DevOps Velocity server. Yes ucvAccessKey
HCL DevOps Test Database Hostname String The hostname of the HCL DevOps Test Database. Yes oneTestDBUrl
HCL DevOps Test Database String The name of HCL DevOps Test Database. Yes oneTestDB
HCL DevOps Test Database Username String The user name to authenticate with the HCL DevOps Test Database. Yes oneTestDBUsername
HCL DevOps Test Database Password Secure The password to authenticate with the HCL DevOps Test Database. Yes oneTestDBPassword

Example

 

The following cURL command can be used as an example to send a HTTP POST request to the endpoint.


curl --insecure --request POST --url "https://localhost/reporting-consumer/pluginEndpoint/5fbe581479d90350dd187e67/onetest-api/callback" --header "Content-Type: application/json" --data-raw "{ \"project\": \"Onetest\", \"startDate\": \"2020-09-30\" }"

ucv-ext-onetest-api:0.0.21.tar

Uploaded: 04-Apr-2024 06:59

Pull Command

docker pull hclcr.io/accelerate/ucv-ext-onetest-api:0.0.21
 

Release Notes

  • Rebranding: Name of the plugin has been changed from HCL OneTest API to HCL DevOps Test API.

ucv-ext-onetest-api:0.0.19.tar

Uploaded: 14-Nov-2022 12:07

Pull Command

docker pull hclcr.io/accelerate/ucv-ext-onetest-api:0.0.19
 

Release Notes

  • Removed Manual User Access Key: From current version onwards this plugin will only support Auto Generated User Access Key feature of HCL Accelerate.
  • Added WorkflowId: Under the hidden properties section of add integration page for HCL OneTest API plugin a Workflow ID field is added. This field is optional and can be used to provide HCL Accelerate WorkflowId - the ID of a Value Stream (VSM )to which HCL OneTest API vulnerability data is associated.
  • Preventing Installation on Older Versions: This version of HCL OneTest API Plugin can only be installed on HCL Accelerate version 3.0.0 and later
  • Added Category:Quality is the plugin category of HCL OneTest API.

ucv-ext-onetest-api:0.0.15.tar

Uploaded: 28-Jan-2022 13:54

Pull Command

docker pull hclcr.io/accelerate/ucv-ext-onetest-api:0.0.15
 

Release Notes

  • User Access Key Related Changes

ucv-ext-onetest-api:0.0.2.tar

Uploaded: 10-Feb-2021 14:03

Related Plugins