How Can We Help?
This section describes the Topology API for adding customized Categories and Components in HEAL.
Category
KPIs having a similar impact on the performance of the system are tagged together as a Category. Forensic actions can be in general mapped to a category.
API Name – categories
Format – POST /api/accounts/< account_identifier >/categories
JSON Format
Input Parameters
Name | Description | Constraints | Mandatory/Optional |
Name | Name of the category | It must be unique across the account. It can be up to a maximum of 64 characters. | Mandatory |
Identifier | Identifier of the category. If the identifier is not specified by the user, API creates the identifier. | It should be unique across the account. It can be upto maximum 64 characters. | Optional |
workLoad | Workload KPIs can be either transaction or component KPIs. This attribute defines whether the category is of type workload or behavior. For a workload category, value needs to be “true”. Default value is “false”. | It is a Boolean. It should be either true or false. | Optional |
description | This describes the category. | Optional | |
subType | Sub-type of the category | It should be Info or Non-info. | Mandatory |
status | Status of the category. It can enabled or disabled. If enabled, category is visible in HEAL UI else category is invisible in UI. | It should be 1 or 0. Default value is 1. | Optional |
Sample JSON
Following JSON generates a Category named DB_ERRORS.
Success Rest Response
Failure Rest Response
Component
A component is a software element that runs on the host server. HEAL’s components allows you to create customized Components to suit your environment.
API Name: components
Format: POST /api/accounts/<account_identifier>/components
JSON Format
Input Parameters
Name | Description | Default Value | Predefined Values | Mandatory | More Info |
componentName | Name of the component | – | – | Yes | |
type | Type of the component | – | “Host”, “Web Server”, “Application Server”, “Database Server”, “Services”, “Workload” | Yes | |
commonVersion | Common major Version for the component | – | – | Yes | |
version | The current version of the component | – | – | Yes | |
description | Description for the component added | – | – | Yes | |
Object – attributes | |||||
name | Name of the attribute | – | – | Yes | |
type | Type of the attribute | – | TextBox, Password | Yes | |
defaultValue | The default value for the attribute | – | – | Yes | |
mandatory | Specifies whether the attribute is mandatory for the component | false | false, true | Yes | |
maxLength | The maximum length of the attribute value | – | – | No | |
minLength | Minimum length of the attribute value | – | – | No |
Sample JSON
Sample JSON to create a new component named Booking Component is as follows:
Success Rest Response
Failure Rest Response
Failure message when the ‘type’ parameter was removed from the sample JSON