The MM7 RA supports the MM7 interface, for SLEE MM7 services that may act as a VASP or a Relay Server, as specified in the 3GPP Technical Specification 23.140.
Topics
How to navigate through RA package contents |
|
How to configure the resource adaptor |
|
How to use tracing and monitor statistics |
|
How to install and run the example services for the MM7 Resource Adaptor |
Other documentation for the MM7 Resource Adaptor can be found on the MM7 Resource Adaptor product page.
Package contents
The MM7 package contains:
Folder | What it contains |
---|---|
|
Deployable units:
|
|
Compilation dependencies |
|
API documentation |
|
Example services |
Configuring the resource adaptor
MM7 Resource Adaptor configuration properties
To configure MM7 resource adaptor entities, use the following types of resource adaptor configuration properties:
-
transport layer configuration
-
common MM7 configuration (applicable to both VASP and RS resource adaptors)
-
configuration specific to the VASP resource adaptor
-
configuration specific to the RS resource adaptor
Transport layer
Name | Type | Description | Default value | Active reconfig? |
---|---|---|---|---|
|
|
Time, in milliseconds, to wait before closing down an idle connection. |
|
Yes |
|
|
Time, in milliseconds, to wait for a response to each incoming request before generating a 503 Service Timeout. |
|
Yes |
|
|
IP address to which MM7 resource adaptor binds to listen for incoming messages. |
|
No |
|
|
Port on which MM7 resource adaptor listens for incoming messages. |
|
No |
|
|
The maximum content-length of messages received on a connection. |
|
Yes |
|
|
The maximum number of active requests on a single connection (pipelining). |
|
Yes |
|
|
The maximum number of concurrent connections allowed to a single destination address. |
|
Yes |
|
|
Time, in milliseconds, to wait before closing down an idle connection. |
|
Yes |
|
|
The time, in milliseconds, to wait for an available outgoing connection before rejecting a request. |
|
Yes |
|
|
The time, in milliseconds, to wait before opening a new connection. |
|
Yes |
Common MM7 RA
Name | Type | Description | Default value | Active reconfig? |
---|---|---|---|---|
|
|
The MM7 version used in the requests initiated by resource adaptor. |
|
Yes |
|
|
The MM7 version used to decode requests encoded using an unknown MM7 schema/version. Request with unknown version will be validated as this configured version, and also response will be generated using this configured version. |
|
Yes |
|
|
Comma separated list of strings enabling non-standard behaviour. Currently only one string is supported 'ericsson'. If it is set then:
|
No |
|
|
|
Flag indicating if XSD schema validation have to be applied to all incoming requests |
|
No |
VASP RA
Name | Type | Description | Default value | Active reconfig? |
---|---|---|---|---|
|
|
Value of attribute VASID in outgoing messages CancelReq, ExtendedCancelReq, ReplaceReq, ExtendedReplaceReq and SubmitReq used when parameter VASID is not passed to RA from the service. |
Yes |
|
|
|
Value of attribute VASPID in outgoing messages CancelReq, ExtendedCancelReq, ReplaceReq, ExtendedReplaceReq and SubmitReq used when parameter VASPID is not passed to RA from the service. |
Yes |
|
|
|
Value of attribute SenderAddress in outgoing messages CancelReq, ExtendedCancelReq, ReplaceReqd SubmitReq used when parameter SenderAddress is not passed to RA from the service. |
Yes |
RS RA
Name | Type | Description | Default value | Active reconfig? |
---|---|---|---|---|
|
|
Identifier or relay server used in outgoing messages DeliverReq, DeliveryReportReq and ReadReplyReportReq when relay server identifier is not passed to RA from the service |
Yes |
Managing the resource adaptor
Enabling and disable tracing, and monitoring statistics
MM7 RA management includes:
-
Enabling and disabling tracing — The resource adaptors have several standard tracers, whose trace levels can be modified using the Rhino management tools.
-
Monitoring statistics — Both VASP and RS resource adaptors create several statistic parameter sets that can be monitored using the rhino-stats tool.
Monitoring statistics
The root parameter set is different for VASP and RS resource adaptors:
-
MM7_VASP.entity-name
and has four child parameter sets:http.client
,http.server
,mm7.client
andmm7.server
. -
MM7_RS.entity-name
and has four child parameter sets:http.client
,http.server
,mm7.client
andmm7.server
. -
Parameter sets
http.client
andhttp.server
have transport layer statistics. A dedicated parameter set is created as child ofhttp.client
for each outgoing connection used by RA entity. There is always one parameter sethttp.server
per RA entity. -
The
mm7.client
andmm7.server
parameter sets have MM7 statistics. A dedicated parameter set is created as child ofmm7.client
ormm7.server
per each MM7 message type and one parameter set for messages that can not be recognised.
A list of statistics with descriptions for each parameter set — http.client, http.server, mm7.client, and mm7.server — can be displayed with the rhino-stats -l
command:
http.client parameter set
Parameter Set: MM7_RS.rsra.http.client Parameter Set Type: ResourceAdaptorID[name=MM7-REL-6-RS,vendor=OpenCloud,version=2.1].HTTP.ClientStats Description: HTTP MM7 ra client statistics Counter type statistics: Id: Name: Label: Description: 0 connectionsOpened connOp Number of HTTP connections opened 1 connectionsClosed connCl Number of HTTP connections closed 2 connectionsActive connActive Current number of HTTP connections to the server 3 requestsActive reqActive Current number of HTTP requests in progress 4 requestsTimedOut reqTmOut Number of HTTP requests timed out 5 errorsRx errRx Number of I/O or HTTP protocol errors when receiving messages 6 errorsTx errTx Number of I/O errors when sending messages 7 bytesRx bytesRx Number of bytes received 8 bytesTx bytesTx Number of bytes sent 9 connectionsRejected connRej Number of connections rejected 10 requestsQueued reqQ Current number of requests queued waiting for a connection 11 requestsSent reqTx Number of HTTP requests sent 12 responsesReceived resRx Number of HTTP responses received Sample type statistics: Id: Name: Label: Description: 13 responseTime rtt Time taken to receive a response to an HTTP request
http.server parameter set
Parameter Set: MM7_RS.rsra.http.server Parameter Set Type: ResourceAdaptorID[name=MM7-REL-6-RS,vendor=OpenCloud,version=2.1].HTTP.ServerStats Description: HTTP MM7 RA server statistics Counter type statistics: Id: Name: Label: Description: 0 connectionsOpened connOp Number of HTTP connections opened 1 connectionsClosed connCl Number of HTTP connections closed 2 connectionsActive connActive Current number of HTTP connections to the server 3 requestsActive reqActive Current number of HTTP requests in progress 4 requestsTimedOut reqTmOut Number of HTTP requests timed out 5 errorsRx errRx Number of I/O or HTTP protocol errors when receiving messages 6 errorsTx errTx Number of I/O errors when sending messages 7 bytesRx bytesRx Number of bytes received 8 bytesTx bytesTx Number of bytes sent 9 requestsReceived reqRx Number of HTTP requests received 10 responsesSent resTx Number of HTTP responses sent Sample type statistics: Id: Name: Label: Description: 11 responseTime rtt Time taken to generate a response to an HTTP request
mm7.client parameter set
Parameter Set: MM7_RS.rsra.mm7.client Parameter Set Type: ResourceAdaptorID[name=MM7-REL-6-RS,vendor=OpenCloud,version=2.1].MM7.ClientStats Description: MM7 RA client statistics Counter type statistics: Id: Name: Label: Description: 0 decodingFailed decFail Number of failed decoding attempts 1 encodingFailed encFail Number of failed encoding attempts 2 requestsOut reqOut Number of requests sent 3 responsesIn rspIn Number of responses received Sample type statistics: Id: Name: Label: Description: 4 decodingTime decTime Time taken to decode MM7 response 5 encodingTime encTime Time taken to encode MM7 request
mm7.server parameter set
Parameter Set: MM7_RS.rsra.mm7.server Parameter Set Type: ResourceAdaptorID[name=MM7-REL-6-RS,vendor=OpenCloud,version=2.1].MM7.ServerStats Description: MM7 RA server statistics Counter type statistics: Id: Name: Label: Description: 0 decodingFailed decFail Number of failed decoding attempts 1 encodingFailed encFail Number of failed encoding attempts 2 requestsIn reqIn Number of requests received 3 responsesOut rspOut Number of responses sent Sample type statistics: Id: Name: Label: Description: 4 decodingTime decTime Time taken to decode MM7 request 5 encodingTime encTime Time taken to encode MM7 response
Running the example services
OK, and Weather Forecasting as VASP
MM7 examples include two services:
-
MM7 OK Service — Processes all types of MM7 events, demonstrating how to receive MM7 requests. For each received event, it generates a response indicating success. It uses both VASP and RS resource adaptors to act as both VASP and RS.
-
MM7 Weather Forecasting Service acting as VASP — Receives a
DeliverReq
message and generates aDeliverRes
response, depending on the incoming request.
Building and deploying the examples
The build file defines targets to both deploy and undeploy the examples and all dependencies. ant -p
will display a list:
Main targets: clean Remove compiled class and jar files deploy-mm7forecasting Deploy MM7 forecasting service deploy-mm7ok Deploy example MM7 OK Service deploy-rsra Deploy MM7 Relay/Server RA deploy-vaspra Deploy MM7 VASP RA undeploy-mm7forecasting Undeploy MM7 forecasting service undeploy-mm7ok Undeploy example MM7 OK Service undeploy-rsra Undeploy MM7 Relay/Server RA undeploy-vaspra Undeploy MM7 VASP RA
Running the MM7 Forecasting example service
To run the MM7 Forecasting example service:
1 |
Unzip the downloaded RA package and go to |
---|---|
2 |
Edit
|
3 |
Deploy the MM7 Forecasting example:
|
4 |
Send an MM7 request:
|