Details
-
Bug
-
Status: Resolved
-
Resolution: Won't Do
-
unspecified
-
None
-
None
-
Operating System: All
Platform: All
-
7659
-
Normal
Description
PUT request
Path http://localhost:8181/restconf/config/onem2m-protocol-http:onem2m-protocol-http-providers/HttpProviderDefault
body
{
"onem2m-protocol-http-providers" : [
{
"http-provider-instance-name": "HttpProviderDefault",
"router-plugin-config":
,
"server-config":
{ "secure-connection": false, "server-security-level": "l0", "server-port": 8888 },
"notifier-plugin-config":
{ "secure-connection": false } }
]
}
shouldn`t allow because 8888 is conflict with port for websocket. Although we get a error log in karaf saying "Resources already used for protocol websocket", the response code is 200 or 201 which should be 400 or 500 probably with the message resource already in use. And on top of that it deletes the plugin - in this case http(s)-base. You can test it using this RPC onem2m-plugin-manager-plugin-data that it doesn`t containg http data.