Delete restconf Change-Id: I0cc4ea8375ec22b67ee93e1a02a9131f56f044c2 Signed-off-by: Tomas Cere <tcere@cisco.com>
Merge "BUG 1082 Migrate sal-rest-connector to Async Data Broker API"
BUG 1082 Migrate sal-rest-connector to Async Data Broker API Rework of sal-rest-connector project to support Async Data Broker API Change-Id: I73804418a04445b236d12693e493a11850dd94dd Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Notificator create stream name method don't remove trailing slash Change-Id: I512879ce1b39b80b29a167147ef73e2ecef64afa Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
BUG-1092: adjust to YangInstanceIdentifier This is a compation to I1e30a0df93d8bfb891d047c58abcb117d4006c76, adjusting the components to use the new name. Change-Id: I615763240581e850f7752f82e44d752c8fceb169 Signed-off-by: Robert Varga <rovarga@cisco.com>
Apply style rules on whole sal-rest-connector No changes in function of code, just formatting. Change-Id: I52bf10a3b84fa61ec35c31145acbbc6b9bf349ec Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
BUG-272: remove tabs from Java files Preparatory patch: bulk-convert tabs to 4 spaces. Change-Id: I4c24c763faf41cb4fcfd0277f8b3c7511269e9b7 Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-272: remove trailing whitespace from Java files Preparatory patch, bulk-removes all trailing whitespace from Java files. Change-Id: I1fbef5746df7277b3865429d4faa82fc8ba8cbb5 Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-731: do not do String.toString() Fixes a sonar warning. Also adds missing copyright headers. Change-Id: If16eebc39e7f0d7e9787529995b666f04d239cdf Signed-off-by: Robert Varga <rovarga@cisco.com>
Bug 453 - sal-rest-connector doesn't provide stream discovery feature Change-Id: I01f21b5b27512f9a8a4babac9148eacf6e6ac36a Signed-off-by: Martin Bobak <mbobak@cisco.com>
Added documentation into web socket in RestConf Change-Id: I36fae4c8916c6d25a1b9619390467e48b64e8a3d Signed-off-by: Ladislav Borak <lborak@cisco.com>
Fix of bug in Notificator class Deleting of listner from listenersByStreamName map was corrected try, finally block was added for locking, unlocking of access to map Change-Id: I60ecb9c247af18436f348d4f4827c7f75fdfaeaa Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Added resource /streams/stream/<streamName> - added netty web socket server - port 8181 Subscriber can be registered for notifications in this flow: 1. Subscriber invokes RPC create-data-change-event-subscription with input element regarding to module sal-remote revision "2014-01-14" 2. Subscriber gets sream name as a response from server 3. Subscriber calls GET operation on /streams/stream/<streamName> 4. Subscriber gets response with status code 200 OK and header field Location contains URI of web socket server 5. Subscriber creates web socket http connection to obtained URI in step 4. 6. Subscriber can be unregistered from receiving notifications by sending CloseWebSocketFrame with reasonText containing stream name Change-Id: I92925f5a50b2ceadf2cc8f0eaee2c99dd6a63d8d Signed-off-by: Martin Sunal <msunal@cisco.com>