Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iotivity-lite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
41
Issues
41
List
Boards
Labels
Service Desk
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
IoTivity
iotivity-lite
Commits
7a61c4ff
Commit
7a61c4ff
authored
Jul 30, 2020
by
Kishen Maloor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Align server_rules with certification tests
Signed-off-by:
Kishen Maloor
<
kishen.maloor@intel.com
>
parent
d8ef9d89
Pipeline
#1061
passed with stage
in 5 minutes and 19 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
15 deletions
+4
-15
apps/server_rules.c
apps/server_rules.c
+1
-1
apps/server_rules_IDD.json
apps/server_rules_IDD.json
+3
-14
No files found.
apps/server_rules.c
View file @
7a61c4ff
...
...
@@ -822,7 +822,7 @@ register_resources(void)
oc_link_set_interfaces
(
ric1
,
OC_IF_A
);
oc_collection_add_link
(
res_ruleinputcol
,
ric1
);
oc_collection_add_mandatory_rt
(
res_ruleinputcol
,
"oic.r.switch.binary"
);
//
oc_collection_add_mandatory_rt(res_ruleinputcol, "oic.r.switch.binary");
oc_collection_add_supported_rt
(
res_ruleinputcol
,
"oic.r.switch.binary"
);
oc_add_collection
(
res_ruleinputcol
);
...
...
apps/server_rules_IDD.json
View file @
7a61c4ff
...
...
@@ -187,7 +187,7 @@
"description"
:
""
,
"parameters"
:[
{
"$ref"
:
"#/parameters/interface-
co
l"
"$ref"
:
"#/parameters/interface-
l
l"
}
],
"responses"
:{
...
...
@@ -205,7 +205,7 @@
"description"
:
""
,
"parameters"
:[
{
"$ref"
:
"#/parameters/interface-
co
l"
"$ref"
:
"#/parameters/interface-
l
l"
}
],
"responses"
:{
...
...
@@ -529,8 +529,7 @@
"items"
:{
"enum"
:[
"oic.if.ll"
,
"oic.if.baseline"
,
"oic.if.b"
"oic.if.baseline"
],
"type"
:
"string"
,
"maxLength"
:
64
...
...
@@ -940,16 +939,6 @@
"in"
:
"query"
,
"name"
:
"if"
},
"interface-col"
:{
"enum"
:[
"oic.if.ll"
,
"oic.if.baseline"
,
"oic.if.b"
],
"type"
:
"string"
,
"in"
:
"query"
,
"name"
:
"if"
},
"interface-ll"
:{
"enum"
:[
"oic.if.ll"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment