88 Commits

Author SHA1 Message Date
Georgios Katsikas
80e0b9fed4 Fixed NIC name to port number inconsistencies in server driver
This patch fixes some weak assumptions regarding the way the
server device driver maps NIC names and port numbers.
Also, some necessary refactoring and stdout message fixes are
committed.

Addressed comments from ONOS developers

Change-Id: I6730d971ddf8d4fe97c2d3bef75f1432e7a4592e
Signed-off-by: Georgios Katsikas <katsikas.gp@gmail.com>
2018-07-25 16:55:37 +00:00
Georgios Katsikas
74a8a44325 Graceful handling of ConnectException in HTTP delete
When the HTTPSBController attempts to delete a resource
on a device that is currently unavailable, a ConnectException
is thrown. This patch handles such a case more gracefully.

Change-Id: Iac2ea193bdd06fc8535ffce8850be6e522d3b441
Signed-off-by: Georgios Katsikas <katsikas.gp@gmail.com>
2018-07-06 15:47:05 +00:00
Ray Milkey
816db1086a Add modules to Bazel build
cli
core
incubator/rpc
pipelines/basic
protocols/netconf
protocols/openflow
protocols/rest

Change-Id: I165b94a04ba893d97d944e5deb2746f54566503b
2018-05-31 15:44:36 +00:00
Ray Milkey
bca9049101 Starting snapshot 1.14.0-SNAPSHOT
Change-Id: I97bab4e31d2b701f015289eae29d0c58a4937685
2018-04-13 12:47:31 -07:00
Jian Li
5d505f2466 Bump up Jersey from 2.25.1 to 2.26 with corresponding deps updated
Change-Id: I0f9f6795187f78a777852678ab1a7d1442a49986
2018-02-26 19:09:52 +00:00
Ray Milkey
0e84f44bfc Remove deprecated HTTP SB controller APIs
Change-Id: Id712a389991c3ba405c1feded64054ccc95e945f
2018-02-15 19:29:08 +00:00
Ray Milkey
ba547f9158 SONAR suggestion - log exceptions, don't print stack traces
Change-Id: I4814a0662912706df005972d44c48a7db39ecd50
2018-02-06 17:55:22 +00:00
ONOS Jenkins User
45d340c839 Starting snapshot 1.13.0-SNAPSHOT 2018-01-09 01:56:13 +00:00
ONOS Jenkins User
32ebb5add8 Tagging 1.13.0-b8 2018-01-09 01:54:28 +00:00
fahadnaeemkhan
2675a271cb OAuth2 authentication support for patch API, (HttpSbController)
Change-Id: I4b0ae5d0ab60db968812eb5d26b277a1975e8098
2017-12-18 19:52:04 +00:00
ONOS Jenkins User
61881df1ee Starting snapshot 1.13.0-SNAPSHOT 2017-12-12 21:19:45 +00:00
ONOS Jenkins User
d22dccc27f Tagging 1.13.0-b7 2017-12-12 21:18:01 +00:00
ONOS Jenkins User
4bf9e3a520 Starting snapshot 1.13.0-SNAPSHOT 2017-12-12 18:46:22 +00:00
ONOS Jenkins User
168ac92b8d Tagging 1.13.0-b6 2017-12-12 18:44:15 +00:00
ONOS Jenkins User
0e78e27f0c Starting snapshot 1.13.0-SNAPSHOT 2017-12-12 03:27:00 +00:00
ONOS Jenkins User
2a7d833cab Tagging 1.13.0-b5 2017-12-12 03:25:23 +00:00
ONOS Jenkins User
c53a15f933 Starting snapshot 1.13.0-SNAPSHOT 2017-12-11 20:43:30 +00:00
ONOS Jenkins User
d06da9e33c Tagging 1.13.0-b3 2017-12-11 20:41:44 +00:00
ONOS Jenkins User
716484c58c Starting snapshot 1.13.0-SNAPSHOT 2017-12-09 03:41:19 +00:00
ONOS Jenkins User
6a6ac1d5a0 Tagging 1.13.0-b1 2017-12-09 03:39:39 +00:00
ONOS Jenkins User
a57a814230 Starting snapshot 1.13.0-SNAPSHOT 2017-12-09 00:57:30 +00:00
ONOS Jenkins User
8977cedde7 Tagging 1.13.0-b0 2017-12-09 00:55:39 +00:00
Yuta HIGUCHI
fc66705fcb Step to rationalize rest SBI
- Only update device, which configuration changed,
  not walk everything everytime
- workaround to handle cases where username can be null or "".

Change-Id: Iaeda3dbe3cae20c3248735a1c318f4ace40e0c46
2017-12-06 18:28:29 +00:00
fahadnaeemkhan
02ffa7120d added OAuth2 authentication for REST protocol
Change-Id: I3b8f3943ea043587730870a0b861760a4d6f3aa7
2017-12-05 14:33:19 -08:00
Ray Milkey
a09f87f02b Starting snapshot 1.13.0-SNAPSHOT
Change-Id: Ib3360118c42aa760632ff80537d585865813060f
2017-11-21 09:38:31 -08:00
Ray Milkey
cc6ec60fb2 Starting snapshot 1.12.0-SNAPSHOT 2017-11-10 16:22:59 -08:00
Ray Milkey
9f9a752bdc Tagging 1.12.0-b2 2017-11-10 16:21:23 -08:00
Ray Milkey
dc48fb2c3b Starting snapshot 1.12.0-SNAPSHOT 2017-09-26 14:42:24 -07:00
Ray Milkey
eb3f6ef786 Tagging 1.12.0-b1 2017-09-26 14:40:44 -07:00
Ray Milkey
aa279c014e Starting snapshot 1.12.0-SNAPSHOT
Change-Id: I92269af3b1103fc6622614a77681bd841438d050
2017-08-16 13:27:00 -07:00
Hesam Rahimi
9630554b04 Fix a bug in generic post operation: Do not read the entity if
the responseClass is of type Response.

Change-Id: I7dfe5f8ebcf90a8870433f16dfe334ae9a840402
2017-08-15 21:31:55 +00:00
Ray Milkey
d4ac0edb2f Starting snapshot 1.11.0-SNAPSHOT 2017-08-11 17:04:16 -07:00
Ray Milkey
6ecde1ff86 Tagging 1.11.0-b4 2017-08-11 17:02:33 -07:00
Brian O'Connor
a09fe5b0b7 Updating Copyright line to Open Networking Foundation
Change-Id: Icba96d7f39a065b53f34a6aeb71afd1f7d51f774
2017-08-03 21:12:30 -07:00
Ray Milkey
64677e99d9 Starting snapshot 1.11.0-SNAPSHOT 2017-08-01 10:48:08 -07:00
Ray Milkey
17463db855 Tagging 1.11.0-b3 2017-08-01 10:46:24 -07:00
Ray Milkey
64313cbc83 Starting snapshot 1.11.0-SNAPSHOT 2017-07-20 15:46:52 -07:00
Ray Milkey
7e28519e5f Tagging 1.11.0-b2 2017-07-20 15:45:28 -07:00
Ray Milkey
f14cc6d3c2 Fix SNAPSHOT version string
Change-Id: I090c1998e5a117c10263b7a6abbffc624beb4074
2017-06-28 16:36:27 +00:00
Ray Milkey
7463193198 Starting snapshot 1.11-SNAPSHOT 2017-06-23 16:46:27 -07:00
Michal Mach
f0ce45e6d4 [ONOS-6665] Support for */* media type
Change-Id: I36ab16056b45213ccc641339844addc1e0c06319
2017-06-21 09:18:03 +02:00
Michal Mach
bcd58c7a4a [ONOS-6664] NPE occurs while deactivating RestDeviceProvider
Change-Id: I4a0fcca44f6dc228e1ac3c96dd0ba2326d23d2fb
2017-06-20 12:16:33 +02:00
Eunjin Choi
51244d3776 [ONOS-6449] Fix arista driver to support interface name with slash, Fix HttpSBControllerImpl because mediaType.getType() only return primary type
Change-Id: I9540bc298ee8b3c6ea2e5c6659dd12b006bbb79b
2017-05-31 10:03:20 -07:00
Georgios Katsikas
186b9580e8 Fixed bug that occurs when calling the HTTP controller's post operation
Change-Id: If356c8a8951ee98d709ab34fff984a58c4119ef8
2017-05-31 17:25:54 +02:00
Palash Kala
da4798db96 [ONOS-6503] Potential null object dereferenced before checking for null
Change-Id: I3a00d02936ff8ef7dcf49e24a5ea3ea36d7b3781
2017-05-24 02:48:45 +00:00
Ray Milkey
08b03a9ec8 Starting snapshot 1.11.0-SNAPSHOT
Change-Id: I5aa84e241545dace6192243c0079924ddf899404
2017-05-15 18:40:20 +00:00
Matteo Gerola
7e180c23f5 REST protocol: changing returns for HTTP methods from boolean to int (HTTP standard codes)
Change-Id: I8bbdf1e61cc9f5983e03329327b7ae756372c5fe
2017-05-03 22:14:52 +00:00
Ray Milkey
8fd28c7b80 Starting snapshot 1.10.0-SNAPSHOT 2017-05-02 14:37:34 -07:00
Ray Milkey
f0099022d2 Tagging 1.10.0-rc1 2017-05-02 14:35:27 -07:00
Yuta HIGUCHI
27796605ee Cosmetic fixes
tab -> space, etc.

Change-Id: Ie73de0bae35c76e4ff617a2a30bd350193019b97
2017-02-22 15:28:36 -08:00