Fix for issue of server updates its model on both PUT and POST requests even
its respective raml file doest not support either PUT or POST.
Providing the request and response information from raml to simulated resource,
so it can validate the requests it can support whenever it receives one from client.
Change-Id: I42ea78d963dd2c11e7ab945cb6a75bb8e3cd0864
Signed-off-by: spurthi.segu <spurthi.segu@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/4259
Reviewed-by: RadhaBhavani <radha.p@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>