Refactor oc_core_get_resource_by_uri()
Refactor oc_core_get_resource_by_uri()

Change-Id: I950eb7d70c10018c7e16e714936ddd6f4ecf2478
Signed-off-by: Kishen Maloor <c62ddea3cd661a9268bff15f07fc2229cdc9ac02@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/23455

iotivity/iotivity-constrained,iotivity/iotivity-constrained,iotivity/iotivity-constrained,iotivity/iotivity-constrained