28 Commits

Author SHA1 Message Date
Henry Yu
ab25a716ae [ONOS-5756] RESTCONF protocol support for RESTCONF App
* Created a config flag in RESTCONF protocol, to allow the protocol
  to be dynamically configured to work with either YMS or Dynamic Config
  during runtime.

* Note that this is an interim solution to help RESTCONF migrate from
  YMS to Dynamic Config. The changes will be removed once the migration
  is complete.

Change-Id: I36dc8537c88965034da6238df32dde7558ac5f5c
2017-02-28 11:03:08 -05:00
Henry Yu
47df0e34dd BUCK changes in TE topology and RESTCONF
1. BUCK file fixes in RESTCONF
2. Changed tenbi/yangmodel bundle to feature. This is required for YMS
   schema registration.
3. Added TE topology, TE tunnel, tenbi, restconf server, and TE provider to modules.defs.

Change-Id: I5bc3208c7fe823352500a63f87bfd990cb3037b4
2017-02-24 17:02:40 +00:00
Ray Milkey
54a78514d2 Starting snapshot 1.10.0-SNAPSHOT
Change-Id: Icd6983be6a52293fb8a846a02d5e314c2c7aeaf0
2017-02-13 11:13:52 -08:00
Ray Milkey
57b510152e Starting snapshot 1.10-SNAPSHOT
Change-Id: I800d5d9e7f23793f5288457bca449ca382896723
2017-02-13 11:06:55 -08:00
Ray Milkey
de84cdde9a Starting snapshot 1.9.0-SNAPSHOT 2017-02-13 10:54:12 -08:00
Ray Milkey
8588c48114 Tagging 1.9.0-b3 2017-02-13 10:52:31 -08:00
Ray Milkey
287b4ae810 Starting snapshot 1.9.0-SNAPSHOT 2017-01-19 15:21:17 -08:00
Ray Milkey
2557ba3375 Tagging 1.9.0-b1b 2017-01-19 15:20:17 -08:00
Yuta HIGUCHI
a36f10b03a Remove executable bit from source files, etc.
Change-Id: Ic1a1d9390ca6790f0644504e3bf2569faac1fa11
2017-01-19 18:28:43 +00:00
Jian Li
b39bf9982e [ONOS-5846] Bump up jersey to 2.25 with corresponding deps updated
Change-Id: Id27332a221c1ae1df1bd0e42ba32aa258eef857f
2017-01-18 19:32:00 +00:00
Henry Yu
52a8a72eae [ONOS-5769] Implement encodeYdtToCompositeProtocolFormat() for JSON codec
Change-Id: Ifb68a25ae6bc3ba10e7d983d694b132a23785890
2016-12-22 15:13:01 +00:00
Ray Milkey
72bcefefce Starting snapshot 1.9.0-SNAPSHOT
Change-Id: Iae30168353c72c4e2d5e395298ceca5dd7554984
2016-12-02 16:22:53 -08:00
Ray Milkey
bc3c6ba539 Starting snapshot 1.8.0-SNAPSHOT 2016-12-02 15:59:38 -08:00
Ray Milkey
a222d05a18 Tagging 1.8.0-rc4 2016-12-02 15:49:32 -08:00
Ray Milkey
b547e06157 Starting snapshot 1.8.0-SNAPSHOT 2016-11-30 15:10:18 -08:00
Ray Milkey
4f6d428dc7 Tagging 1.8.0-rc3 2016-11-30 14:52:32 -08:00
sonu gupta
eff184b16e YMS migration to onos-yangtool 1.10
Change-Id: I22ddf23f813840e0afec1e7713a86891f2a52f28
2016-11-30 19:29:47 +00:00
Henry Yu
dc747af4a1 [ONOS-5675][ONOS-5676] RESTCONF JIRA fixes
This submission contains the fixes for the following 3 problems:

1. [ONOS-5675] RESTCONF clients may stop receiving notifications when multiple client
               sessions are opened simultaneously
2. [ONOS-5676] RESTCONF client hangs on event notification subscription
3. bug fix for empty-leaf node

Change-Id: Icf6848d18e0599842d4889d5aa5443c58f23aeeb
2016-11-30 18:11:26 +00:00
Ray Milkey
58c6af2321 Starting snapshot 1.8.0-SNAPSHOT 2016-11-22 17:26:52 -08:00
Ray Milkey
8b8b30ce29 Tagging 1.8.0-rc1 2016-11-22 17:08:32 -08:00
sonu gupta
1bb37b8b28 [ONOS-5076] YANG data tree Builder
Change-Id: I25160b651c26e614d29d7fad85e63f77a262d77c
2016-11-18 22:49:25 +00:00
Vidyashree Rama
c1fa70815f [ONOS-5542]Configuration order of values for leaf-list is not proper
Change-Id: I1487f92bc5019adafb0a06b9b22f2db004a10435
2016-11-17 18:09:14 +00:00
chengfan
0c32d71d3f Mock YdtBuilder and YdtNode to do UT for Restconf
fix the java code problems.
add more test cases

Change-Id: I034d35e8a41a6c12e293fad867d6540dd5f37e95
2016-11-10 19:42:48 +00:00
Henry Yu
528007c085 [ONOS-5580] Bug fix for JSON encoding of augmented node names
The submission contains:

1. Fix of ONOS-5580
2. Enable RESTCONF server to register and receive notifications from YMS

Change-Id: I8d27a7ee59679de22b7f49b370b35e48909958a4
2016-11-10 19:41:30 +00:00
Henry Yu
7dbfc20fd6 [ONOS-5500] Properly encode namespaces in URI path segments
Change-Id: I166cbfb8e379a2029f0dab72be117a3afe74973e
2016-11-07 17:40:20 +00:00
chengfan
7b2a60be58 [ONOS-5397]fixbug:NBI Error for complicate list inside container
1.if a array's children are all not container node,
 it's a leaf-list in yang, should treat differently;
2.for a array, the field name should push into a stack,
 and then pop when exit the array
3. add namespace info for yangnode
4. process the exception of null array node

Change-Id: Ia7b0c25ab1ccea393b97a0fcf59187663348de3b
2016-10-17 13:06:16 +00:00
chengfan
c58d4be8a5 [ONOS-5012] implement RESTconf server
- fix javadoc longer than 80 char limit
 - fix javadoc that missing @params
 - chain calls to StringBuilder.append()
 - combine constant strings in place

Change-Id: Ie2ef4fd4c19e955ad2d5a5584f5017a842abb790
2016-09-30 01:25:34 +00:00
Henry Yu
e20926ebaa RESTCONF Server outline
Change-Id: Id93a647b35b24c47f2828763a799b56a50113faf
2016-09-30 00:31:13 +00:00