INAP Op - ConnectToResource
INAP Operation - ConnectToResource
The ConnectToResource operation represents the receipt of an INAP ConnectToResource. The test instance will abort if any other inbound message is received.
This message is received by the IN Tester when it is simulating the role of a Service Switching Platform (SSP).
- Direction: INBOUND
- From: SCP (Application Under Test)
- To: SSP (IN Tester)
Attributes
The operation attributes are as follows.
Attribute
Type
Description
type
String
inap.ssp_from_scp.ConnectToResource
label
String
An optional label for this node if it is to be the target of a
branch
operation.
arguments
Object
[Required] The structure of the INAP ConnectToResourceArg we expect to receive.
Expressions may be supplied within this structure.
Example
This is an example entry within the operations
array for a connection to
an on-SSP resource:
{
"type": "inap.ssp_from_scp.ConnectToResource",
"arguments": {
"resourceAddress": {
"none": 1
}
}
}
This is an example entry within the operations
array for a connection to
an external IP resource:
{
"type": "inap.ssp_from_scp.ConnectToResource",
"arguments": {
"resourceAddress": {
"ipRoutingAddress_digits": "006439990123"
}
}
}
Arguments
The following inbound arguments are supported. Unless specifically indicated otherwise,
the actual received inbound arguments will be checked for each supplied “expected” value,
and Pass/Fail entries will be generated in the test instance check_log
.
To check that an inbound value is NOT present, specify the argument as null
.
Argument
Type
Notes
resourceAddress
Object
Container for the expected resource address.
ipRoutingAddress
Binary Data
Specify the expected binary value.
.
ipRoutingAddress_digits
.ipRoutingAddress_noa
.ipRoutingAddress_inn
.ipRoutingAddress_npi
Digit String
Integer
Integer
Integer
Alternatively specify the expected value of the individual components.
.
none
NULL
Specify “1” if the
none
attribute is expected to be present.
serviceInteractionIndicators
Binary String
Specify the expected binary value.