Update RD DB link parsing. 91/21991/2
authorTodd Malsbary <todd.malsbary@intel.com>
Thu, 17 Aug 2017 22:30:56 +0000 (15:30 -0700)
committerJee Hyeok Kim <jihyeok13.kim@samsung.com>
Thu, 24 Aug 2017 01:25:00 +0000 (01:25 +0000)
commitf2fda7403106631c1d34aab2010167424eb49a17
tree885d5428790c1bf25c6cc005bbae070df7eeaa68
parentc670cf46cfa074923a728d448afa2aa391b73c2d
Update RD DB link parsing.

- "lt" in RD publish is now "ttl".
- "pri" defaults to 1 in links where it is not present.
- Remove all references to oic.wk.rdpub (except definition in header
  files).

Bug: https://jira.iotivity.org/browse/IOT-2616
Change-Id: I7a55398ab1c8b60166730f33cbce83e0bf193999
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/21991
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
Reviewed-by: George Nash <george.nash@intel.com>
Reviewed-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
cloud/resourcedirectory/src/main/java/org/iotivity/cloud/rdserver/resources/directory/rd/ResourceDirectoryResource.java
cloud/resourcedirectory/src/test/java/org/iotivity/cloud/testrdserver/RDServerTestUtils.java
resource/csdk/include/octypes.h
resource/csdk/resource-directory/src/internal/rd_database.c
resource/csdk/resource-directory/src/rd_client.c
resource/csdk/stack/src/ocstack.c