Starting and stopping the protocol plug-in server process
System administrators can start, restart, and stop the protocol plug-in server process by using the Eclipse Amlen REST API POST method.
The following example shows a POST method to restart the protocol plug-in server process:
curl -X POST \
-H 'Content-Type: application/json' \
-d '{
"Service": "Plugin"
}
' \
http://127.0.0.1:9089/ima/v1/service/restart
The following example shows a POST method to stop the protocol plug-in server process:
curl -X POST \
-H 'Content-Type: application/json' \
-d '{
"Service": "Plugin"
}
' \
http://127.0.0.1:9089/ima/v1/service/stop
The following shows an example response to the POST methods for starting or stopping the protocol plug-in server process:
{
"Version": "v1",
"Code": "CWLNA6011",
"Message": "The requested configuration change has completed successfully."
}