Adding JsonSchema parser implementation for simulator and Updating Raml Parser.
authorAbitha Shankar <abitha.s@samsung.com>
Sun, 13 Sep 2015 14:21:16 +0000 (19:51 +0530)
committerUze Choi <uzchoi@samsung.com>
Mon, 14 Sep 2015 10:18:05 +0000 (10:18 +0000)
commita78e9b064f990d6f1b3e6acffa9689c9b488fb48
treeddcfdd048f805a80ad9443826c94f72d816a16f1
parent1c7e1fdb397d388e36851f070673342d51557fdc
Adding JsonSchema parser implementation for simulator and Updating Raml Parser.

1. source code for Json Schema parsing logic.
2. updating Raml Parser to read all child resources, types and Traits.
3. added smart pointer implemetation for Raml Parser.

Change-Id: I3565b97e8d8ef78f98841469a17230e64112370f
Signed-off-by: Abitha Shankar <abitha.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2479
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
46 files changed:
service/simulator/SConscript [changed mode: 0644->0755]
service/simulator/examples/README.txt
service/simulator/examples/resources/light.raml [deleted file]
service/simulator/examples/resources/oic.light.json [deleted file]
service/simulator/ramlparser/SConscript
service/simulator/ramlparser/example/SConscript [new file with mode: 0755]
service/simulator/ramlparser/example/raml_parser.cpp [new file with mode: 0755]
service/simulator/ramlparser/raml/IncludeResolver.cpp
service/simulator/ramlparser/raml/IncludeResolver.h
service/simulator/ramlparser/raml/RamlErrorCodes.h [new file with mode: 0755]
service/simulator/ramlparser/raml/RamlExceptions.cpp [new file with mode: 0755]
service/simulator/ramlparser/raml/RamlExceptions.h [new file with mode: 0755]
service/simulator/ramlparser/raml/RamlParser.cpp
service/simulator/ramlparser/raml/RamlParser.h
service/simulator/ramlparser/raml/Utils.h
service/simulator/ramlparser/raml/jsonSchemaParser/AllowedValues.h [new file with mode: 0755]
service/simulator/ramlparser/raml/jsonSchemaParser/Definitions.h [new file with mode: 0755]
service/simulator/ramlparser/raml/jsonSchemaParser/Helpers.h [new file with mode: 0755]
service/simulator/ramlparser/raml/jsonSchemaParser/Items.h [new file with mode: 0755]
service/simulator/ramlparser/raml/jsonSchemaParser/JsonSchema.cpp [new file with mode: 0755]
service/simulator/ramlparser/raml/jsonSchemaParser/JsonSchema.h [new file with mode: 0755]
service/simulator/ramlparser/raml/jsonSchemaParser/Properties.h [new file with mode: 0755]
service/simulator/ramlparser/raml/model/AbstractParam.cpp
service/simulator/ramlparser/raml/model/AbstractParam.h
service/simulator/ramlparser/raml/model/Action.cpp
service/simulator/ramlparser/raml/model/Action.h
service/simulator/ramlparser/raml/model/ActionType.h
service/simulator/ramlparser/raml/model/DocumentationItem.cpp
service/simulator/ramlparser/raml/model/DocumentationItem.h
service/simulator/ramlparser/raml/model/FormParameter.h
service/simulator/ramlparser/raml/model/Header.h
service/simulator/ramlparser/raml/model/QueryParameter.h
service/simulator/ramlparser/raml/model/Raml.cpp
service/simulator/ramlparser/raml/model/Raml.h
service/simulator/ramlparser/raml/model/RamlResource.cpp
service/simulator/ramlparser/raml/model/RamlResource.h
service/simulator/ramlparser/raml/model/RequestResponseBody.cpp
service/simulator/ramlparser/raml/model/RequestResponseBody.h
service/simulator/ramlparser/raml/model/ResourceProperties.cpp [deleted file]
service/simulator/ramlparser/raml/model/ResourceProperties.h [deleted file]
service/simulator/ramlparser/raml/model/Response.cpp
service/simulator/ramlparser/raml/model/Response.h
service/simulator/ramlparser/raml/model/Schema.cpp
service/simulator/ramlparser/raml/model/Schema.h
service/simulator/ramlparser/raml/model/UriParameter.h
service/simulator/src/simulator_resource_creator.cpp [changed mode: 0644->0755]