Network Service Manager parameters
NSM service
designers use
NSM parameters so that NSM client users can pass values from the NSM REST API client
to command sets that
are run on Netcool Configuration
Manager .
The parameters are evaluated at service run time. The five types of
parameters are: constant, client, inject, sql, and http parameters.
Constant parameters
NSM service designers use the <constantParameter>
element and the <name>
, <description>
, and <value>
tags to define constant parameters when designing NSM service templates . Constant parameters can be passed as arguments to inject, SQL, or HTTP parameters. Constant parameters can be used as both global and local parameters in a NSM service template .
Client parameters
NSM service designers use the <clientParameter>
element and the <name>
, and <description>
tags to define client parameters when designing NSM service templates . Client parameters can be passed as arguments to inject, SQL, or HTTP parameters. Client parameters can be used as both global and local parameters in a NSM service template .
Client parameter list parameters
A client parameter list enables the execution of a service for multiple items in a single request. NSM service designers use the <clientParameterList>
element and the name
attribute to define the name of a client parameter list when designing NSM service templates . NSM service designers define parameters within that list using the <parameter name>
tag. NSM client users specify values and the order the value should be evaluated by using the <values>
and </values>
tags and the order
attribute when submitting a NSM service template .
Inject parameters
NSM service designers use the <injectParameter>
element and the <name>
, <description>
, <methodCall>
, <arguments>
, and <code>
tags to define inject parameters in the XML NSM service template when designing NSM service templates . Inject parameters are populated by evaluating the results of executing functions.
SQL parameters
SQL parameters are populated by running an SQL query on a database. SQL parameters are defined in the NSM service template XML. They are run when you POST
a service for execution. SQL parameter values are validated when they are submitted and before the service is run. To execute an SQL query, a select statement is run on the database that is specified in the <databaseConnection>
tag.
HTTP parameters
NSM service designers use the <httpParameter>
element and the <name>
, <description>
, <url>
, and <arguments>
tags to define HTTP parameters in the NSM service template XML when designing NSM service templates . HTTP parameters can passed as arguments to inject, SQL, or other HTTP parameters. HTTP parameters can be used as both global and local parameters in a NSM service template .