188 Commits

Author SHA1 Message Date
Brian O'Connor
b22ba656bb Switching back to snapshot 1.4.0-SNAPSHOT
Change-Id: Ic0ff8fe27d46b0662f596db9185591736efa6cf9
2015-12-11 17:02:48 -08:00
Brian O'Connor
4aded4c8b7 Tagging 1.4.0-rc2
Change-Id: I7e2916f7b02d297818ad65153aee5e5946f882ac
2015-12-11 16:55:13 -08:00
Jian Li
a9e4476e51 [ONOS-3601] Bugfix: resolve swagger doc issue of metric REST API
Change-Id: I76f04fbd3e7ed6aa2ab35dcb39bcbeacc9675282
2015-12-11 23:51:39 +00:00
Jian Li
723151512f [Falcon][ONOS-3601] Add REST API for metrics service with unit test
Change-Id: I33ec561d1d83c6f1167e960bc2f684a117e6ea9c
2015-12-11 23:14:43 +00:00
Andrea Campanella
5df3595c8e ONOS-3562 Changing the flow instructions port to human readable format
Change-Id: Ia6b1a755bc400295600f4112cb3ebe676e533eb2
2015-12-09 18:04:40 +00:00
Thomas Vachuska
a026be7750 Restructuring the form of REST API deployment to provide
for security of app's REST APIs and for consistency of
exception mappers and JSON writer.

Change-Id: Id318372bf62f82ed974355c05e7fe64e0fbfc0c5
2015-12-08 08:03:29 +00:00
Brian O'Connor
905ea22db6 Starting snapshot 1.4.0-SNAPSHOT
Change-Id: I0398bb2093e70d39788888038abb9df6193ccb42
2015-12-05 00:57:06 -08:00
Brian O'Connor
b209dc68e2 Tagging 1.4.0-rc1
Change-Id: Idec5c65021283fa03a8f2530aebba968a5451d8b
2015-12-05 00:56:21 -08:00
Brian O'Connor
372658e7c2 Updates to versions across project
Change-Id: I3593d5d289d3149bea9644c7c09fa1ca753abfca
2015-12-04 23:17:41 -08:00
Andrea Campanella
10c4adc294 ONOS-2706 Changing rsModel annotation to onos.rsModel
Change-Id: I1c22a7e1e147f13b960c3a6095408d68173ca966
2015-12-04 01:37:21 +00:00
Andrea Campanella
e22731b6ef [ONOS-3394] Remove network configuration model from SwaggerUi and line stripping for better swagger.json formatting.
Change-Id: I0200407b829baff84a921fa6027a3ebb4c873dfc
2015-12-02 19:43:58 +00:00
Ray Milkey
37a5d8c3da Unit tests for network config REST API.
Change-Id: I1b09035ff7aaa463889f62bbc9709a37a920d800
2015-12-02 02:00:40 +00:00
Jian Li
43c956b0ed [ONOS-3402] parseHost method adds all Json fields as annotations
Change-Id: Ic23a7509bbdc8ffb3fdd77299504ef03598145a0
2015-12-01 02:52:55 +00:00
andrea
d35f89c1aa [ONOS-3405] Change EthType Json encoding to Hex and extend decoding with Hex support alongside int
Change-Id: I629f52016256d6c5cc258ab9e1c5a7b916991d5b
2015-11-30 19:07:33 +00:00
Srikanth Vavilapalli
d120f5c1ae CORD-12:Adding support for port statistics REST API
Change-Id: Ibf0f7848ed891500e797d8f66bf7cd785b41c29c
2015-11-25 03:36:55 +00:00
andrea
c008511f50 [ONOS-3394] Json Models for Intents
Change-Id: I33620d826fddffa69982d49cb99fe4199c2bf522
2015-11-25 03:26:45 +00:00
Ray Milkey
36992c8f9d ONOS-3379: Config REST 500 errors on GET operations if keys don't exist
Change-Id: Ie32bdb70693c5571421840265b4be71d0706d797
2015-11-20 02:42:21 +00:00
andrea
1ce2bc8001 [ONOS-3394] Json models for REST api
Change-Id: I69c396ae08d25e83dce31e4d2ec92cd9a28c54f5
2015-11-19 18:13:08 -08:00
Ray Milkey
b9fe25d366 ONOS-3378 REST DELETE operation on network config subject class key
- delete operation was not working because the incorrect class was being passed
  to the lookup method.
- changed delete operations to return status 204 in lieu of 200 since
  no actual content is returned.

Change-Id: Ibb5294a7b40996fad5d8a4ede48b0f2b7eb923e1
2015-11-19 00:39:40 +00:00
andrea
5056b51aeb [ONOS-3394] JsonModels for Swagger UI
Change-Id: I57503b28df517642ab15e2b18f66ad63c15b7b8a
2015-11-19 00:38:21 +00:00
Ray Milkey
8fba1c81d0 ONOS-3369: log an exception on REST server errors
Change-Id: I407ed7576ff79b5781d2a688c78367266643aaea
2015-11-17 18:24:22 +00:00
Jonathan Hart
d9df7bd278 Fix naming convention issues in preparation for stricter checkstyle enforcement
Change-Id: I918b7b1dcf6424a526b6b26b89acc9a57d807fec
2015-11-13 16:28:02 -08:00
Phaneendra Manda
2be2f88066 Class name corrected while retriving stream from json
Change-Id: I325bf61d001194953db137131c414bb877d8613b
2015-11-13 19:16:16 +00:00
Thomas Vachuska
761f0040f3 ONOS-1684 Added support for app dependencies.
Change-Id: Iae318c24c3c9bd43d84318c79ac420fc85d5d599
2015-11-12 21:37:58 +00:00
Madan Jampani
ec1df02f3e In preparation for dynamic clustering support:
- Added Cluster metadata service and metadata store interfaces
- Added a static cluster metadata store implementation that is backed by a local file.
- Consolidated the existing cluster.json and tablets.json metadata files into a single cluster.json file that has all the cluster related metadata.
- Removed dependency on ONOS_NIC env variable.

Change-Id: Ia0a8bb69740caecdcdde71a9408be37c56ae2504
2015-10-23 17:51:08 +00:00
Thomas Vachuska
ea5adc6b44 Corrected output of network configuration subjectKeys in JSON output; no longer relies on subject.toString.
Change-Id: If4e07bc27cfaf8feb59397a5f104e5f663504f6e
2015-10-07 20:57:03 +00:00
Srikanth Vavilapalli
95810f5465 CORD-13:Table Statistics support along with CLI and REST
Change-Id: Ic7facc73754c4b1e7c9c5a9eecd217f89a67e135
2015-10-05 15:56:38 +00:00
Phaneendra Manda
aec654c105 Variable name changed for readability
Change-Id: Ie79aaacddd0c9a7885c55676ce69256603323ac8
2015-09-23 16:54:12 +00:00
Thomas Vachuska
48e64e4b5b Cleaned up the SRLG and disjoint path code and naming.
Change-Id: I02b6fe5ee1e3f5eadc4e88800386a23349ee5e58
2015-09-23 16:41:43 +00:00
Nikhil Cheerla
2ec191fa98 Disjoint Path Utils Exposed
- to TopologyStores
- to TopologyServices
- to PathServices
- to REST API

Change-Id: Ib2b5840df0f8e94f327ec8f91827d3d850634562

Change-Id: I03e59210e9c79c4f92dcfa8c7983642572708429

Change-Id: Ia5c17d1ded374ef688990bd30e7f99184aaca95b

Change-Id: Ibebae50bc722701e8212263587727ad8abd79805
2015-09-22 14:29:19 -07:00
Brian O'Connor
f967ad61dc Starting snapshot 1.4.0-SNAPSHOT
Change-Id: I6b64a70eb8c416b58689afd2af7d726153176f6b
2015-09-18 15:19:54 -07:00
Brian O'Connor
b3a3b52f46 Rolling back to snapshot 1.3.0-SNAPSHOT
Change-Id: I5394f02bc4cc4614427e5e535889e883944734fd
2015-09-10 17:26:49 -07:00
Brian O'Connor
cbc5878c31 Tagging 1.3.0-rc2
Change-Id: Id062ea54a0f03c26eb763e03cc347dbfe63cd03f
2015-09-10 17:08:00 -07:00
Ray Milkey
9b36d81ce3 Javadoc fixes
Change-Id: Id23ed2d576b2222194153be9d043ca5acafe67ae
2015-09-09 23:54:01 +00:00
Brian O'Connor
e8bcb70258 Changing version to back to snapshot 1.3.0-SNAPSHOT
Change-Id: I05bc4669bf3ad2a149cee5d303da42bf8ffd14e8
2015-09-04 23:57:08 -07:00
Brian O'Connor
004345f6c8 Tagging 1.3.0-rc1
Change-Id: I640fc75397b90532e8a71f9413b6822f80b3e775
2015-09-04 23:47:08 -07:00
Ray Milkey
be539dbd88 JSON for flows should return the app name, not the app ID
Change-Id: I12d217b07bffb59615dfeefd40242f01669989c2
2015-09-04 18:26:56 +00:00
Ray Milkey
8d07640952 Set the location string correctly for intent POST operations
Change-Id: I7ddb98ca1c5e87fc0fe34c79c5499047e599191f
2015-09-03 17:52:54 +00:00
Thomas Vachuska
87ae1d9a30 Fixed javadoc warnings & added a few deprecations.
Change-Id: I89205b08bc5fcbfed769c489609a46d420ee227e
2015-08-20 00:46:33 +00:00
Thomas Vachuska
af0ee53cfa Added redirect for the /onos/v1/docs Swagger UI URL. Added onos-rsdocs tool to launch REST API docs UI from shell.
Change-Id: Ifb839e0205e5b176ebc7bb48644925eaa3675fd9
2015-08-19 14:17:36 -07:00
Thomas Vachuska
0fa2aa1167 ONOS-2486 Adding swagger-based REST API documentation.
Change-Id: I237d973d73549ad30ddc638c1c201f024d344c70
2015-08-19 18:46:38 +00:00
Ray Milkey
a4122367b0 ONOS-2190 - Move org.onosproject.net.config.* out of the incubator
Change-Id: I57cac27ae370ce1155b4f637646d6c25732844e9
2015-08-19 08:59:12 -07:00
Thomas Vachuska
eff0e4ed95 Adding GUI login/logout capability using form-based login.
Adding REST API login capability using basic authentication.

HTTP to HTTPS redirect is suppressed for now.

Change-Id: I1a98bdc5576c515e1aa5a1b8d66402af0c0bf8c8
2015-08-18 01:01:05 +00:00
Ray Milkey
05b169deab Improve coverage for Intents REST API test
Also, added @Provider annotation to all exception mappers so
the Jersey unit test framework will apply them during
testing.

Change-Id: Ifd9237de2e159cd97b64dcb9bde4a66f14bd0dfc
2015-08-14 16:39:15 +00:00
Ray Milkey
5d915f492b Cleanups to REST code suggested by Sonar
Change-Id: Ia399da70e7cd140514e07b63d9b2965fe86bbce7
2015-08-14 16:39:01 +00:00
Jonathan Hart
f44e42cf63 Fix for flow equality bug which can cause:
* multiple flows with the same match to be simultaneously present in the flow
   store, and
 * similar but different rule in switch and store, resulting in flows stuck in
   PENDING_ADD state.

Fixes ONOS-2426.

Ported from onos-1.2 branch.

Change-Id: I4b4e444c3a6dba7e4d3278e9469069e2dbdb9b67
2015-08-10 21:16:19 -04:00
Kedar Gupta
7c4d196681 onos-2420 Add unit test for Host REST API and fix documentation errors.
Change-Id: I633d6a8ed75dd3f79f134873967615c196f7e14b
2015-08-06 21:47:51 +00:00
Sahil Lele
372d1f38ce ONOS-2485 Autogenerate swagger JSON files from WebResource classes
Change-Id: If3efcd22ce04b4579bf0d3359684b252d981913e
2015-08-05 16:49:18 -07:00
Marc De Leenheer
fc913dd2f7 LINC driver and OF device provider report correct optical port types
Change-Id: I501ce5f6f53136254024ad7122a4fec0d17504e0
2015-07-31 15:30:04 +00:00
Thomas Vachuska
d894b5d5f7 Fixing javadoc warnings, provided missing package javadocs and corrected group structure.
Change-Id: I2637afe49b81e8e6d10ef3bb0f2a1cf50b2564cc
2015-07-30 20:27:44 +00:00