458 Commits

Author SHA1 Message Date
Jian Li
08d65cf4a4 Remove duplicated removeVirtualLink and corresponding unit test
Change-Id: I9279bad857a54e47ba7ec72a53d65fede0ad132b
2016-04-20 17:35:03 +00:00
Jian Li
4fb7177c12 Replace Grizzly2 test container to Jetty test container
Grizzly2 test framework does not produce the same test results
compare to production REST API test through jetty web server.
By default Jersey 2.x uses the Grizzly2 test framework, this
commit tries to replace this test framework to Jetty based
http test framework.

Change-Id: I7bcb19bf73801cc66036487fd5a964e32ce1ba61
2016-04-20 17:18:43 +00:00
Jonathan Hart
345c019760 Turn off Swagger schema validation
Change-Id: I1d66c6535de5778aea703fb21c86220cae8e36f8
2016-04-20 09:00:58 -07:00
Ray Milkey
bee35092d6 Fix javadoc warnings
Change-Id: Iff748bf6a5b6653b515059506bb2d4f09d3c9878
2016-04-13 00:10:48 +00:00
Claudine Chiu
f6bf8d5076 ONOS-4077: REST API's for virtual links.
Change-Id: Idc838f24735e75ad2729393a03dcac4d256239bb
2016-04-11 17:18:53 +00:00
Ray Milkey
460f9b0523 Add bulk delete for flows
Change-Id: I77f266c75d0f9d1e99155eb48c216bff3fab2f40
2016-04-11 17:12:55 +00:00
Brian O'Connor
5ab426f9ff Updating copyrights
New format: 'Copyright .year-present Open Networking Laboratory'

Change-Id: I1a9e58b355b775e75245ad875a2d7a4df3f03098
2016-04-09 01:20:21 -07:00
Brian O'Connor
e4da59d8aa Simplifying rules and providing sensible defaults
Updated cordvtn, dhcp, fwd, onos-api, of-api, onlab-rest, onos-rest, onos-gui

Also, fixed checkstyle error print

Change-Id: I9d6ab76791e8603678079067a3b4e007ca7c4667
2016-04-08 18:43:36 -07:00
Ray Milkey
7c25182db9 Fix buck tests
Change-Id: I3d681e6e5c1d3e98c87ccb3d20a619b216ae6133
2016-04-06 19:04:52 -07:00
Brian O'Connor
b86c920526 Updating Buck files to build OSGi jars
- Using osgi_jar for all modules except apps
- Adding target for installation of core modules to .m2 repo

Change-Id: I65d9e3a9567918e275191724842d7d9b1f485128
2016-04-06 18:17:37 +00:00
Brian O'Connor
85f28d0a0a Updating test sources in several BUCK files
Change-Id: I17b83cb978f7b8fc1d31a1e96bec59a077dbdfbb
2016-04-06 16:57:45 +00:00
Ray Milkey
ddec794e1c Fixes for buck regressions
Change-Id: I40e6a68392d229bf2827e115a54c0d66fd39b2d4
2016-04-05 20:48:54 +00:00
Brian O'Connor
a450bd000b Simplifying Import-Package line in maven-bundle-plugin for REST bundles
Change-Id: Ic29e3f205e18b7b63e33a8c65cbb30a8b56d2e74
2016-04-04 21:33:36 +00:00
Claudine Chiu
fb8b816235 REST API's for tenants, virtual networks, virtual devices ad virtual ports.
Change-Id: I80abe14a083fce3dc6246118af8874028109388f

REST API's for tenants, virtual networks, virtual devices ad virtual ports.

Change-Id: Ib6c3d69d396e57822bae23f5bf3101c8b9c0b95c
2016-04-04 16:48:46 +00:00
Ray Milkey
90289b0cf9 STC fixes
Hosts without a VLAN are now represented as /None rather than /-1
Flow ID in location returned by POST operation was hex rather than decimal

Change-Id: Ibb403f696399012b2b90f2954112265a6e230815
2016-04-01 19:13:07 +00:00
alshabib
b028599214 adding group garbage collection functionality
If a group has a reference count of zero for more than
a configurable timeout, it is garbage collected.

This feature can be deactivated by component config.

Change-Id: I254d62a90ef7ac8d2ce2f406b67957455a5bf4d0
2016-03-31 17:48:04 +00:00
Luca Prete
283a96205e Using VlanId String None instead of -1
Change-Id: I2597ac37285cc3f40ad1304d668564a56a5b862f
2016-03-31 15:45:40 +00:00
Saurav Das
a2d37500d9 CORD-613 Adding ability to administratively enable or disable a port via CLI.
Currently uses the OpenFlow device provider to change portState.
Also fixes a bug in PortNumberCompleter.
Adds completion options to portstats for deviceId and portNumber.

Change-Id: Idcce775fe8bc5484fdd0e630bcb5026b85125478
2016-03-30 21:46:43 +00:00
Ray Milkey
f80bbb22c2 Initial BUCK build
Change-Id: I64e8a979301989062f4545a4841b06c15a372049
2016-03-29 21:39:14 +00:00
Thomas Vachuska
a1ae5e1a8c Adding ability to push flow rule batches via REST API.
Change-Id: I60a9b121cd9cc35a9704e59b8f1fde413af0a72f
2016-03-28 18:26:25 +00:00
Jian Li
7ff7978530 Randomize the port number to avoid race condition in REST unit test
Change-Id: Ib1b3bd5f16c7642af47b01d7a7930cae238fa71b
2016-03-28 18:12:51 +00:00
Sho SHIMIZU
a114d89a58 Remove IndexedLambda deprecated in Emu
Change-Id: I3dc3ea90049dd3331090472f8c4a0e83d430ba37
2016-03-25 15:43:31 +00:00
Jian Li
8ae91204a1 Move all REST test related files into org.onosproject.rest.resources
Move all REST test case classes under org.onosproject.rest.resources
package in a way to improve naming consistency.

Change-Id: I0a154fe492b90aa426e6af38a3c08d7c1ee8d031
2016-03-24 23:04:20 +00:00
Jian Li
44ccfb5098 Add unit test for MulticastRoute REST API
Change-Id: I33fb93256e701cbff8af3e4247917c90fea8da59
2016-03-24 21:21:13 +00:00
Jian Li
9d61649f0f [ONOS-4042] Bump up Jersey from 1.19 to 2.22.2
- Fix unit test errors of web/api
- Fix default page redirection problem
- Fix compilation errors of web/gui
- Fix configuration of aaa, acl, cordfabric, cord-gui, dhcp, mfwd,
  olt, openstack, segmentrouting, vtn, virtualbng, xos-integration
- Fix unit test errors of cpman, vtn, acl, faultmanagement
- Fix compilation errors of openstack, virtualbng, xos-integration,
  REST SB controller
- Rearrange features.xml to resolve bundle dependencies
- Remove all of stale Jersey 1.x libraries
- Rearrange web.xml to point new Jersey 2.x servlet

Change-Id: Ic17f461ede0aa36fa8d470546d8069152dc1d134
2016-03-24 18:54:28 +00:00
Jian Li
7011bdd2ee Fix typo in RegionsResourceTest
Change-Id: I486af535e57876b63854c5d11cb754ec3bb0c989
2016-03-23 23:23:06 +00:00
Jonathan Hart
b11c4d0ae9 Allow list-type config to be POSTed to subjectkey/subject/configkey endpoint.
Also add validation that the given JSON node is appropriate for the config
type (list vs object).

Change-Id: Ib1c12b538860a6f18b8311c5f5a786608c04beb8
2016-03-23 20:54:02 +00:00
Brian O'Connor
955c316b54 Starting snapshot 1.6.0-SNAPSHOT 2016-03-10 15:27:19 -08:00
Brian O'Connor
55b4d80176 Tagging 1.5.0 (Falcon) 2016-03-10 15:24:41 -08:00
Madan Jampani
23696428f8 Starting snapshot 1.5.0-SNAPSHOT 2016-03-09 14:02:04 -08:00
Madan Jampani
b7a5420285 Tagging 1.5.0-rc3 2016-03-09 13:47:32 -08:00
Simon Hunt
afae2f71fc Apps-- added onos.app.title property to applications.
Change-Id: Id845390ee0bee5b871c0ce9f47b2ce98fbcf26b9
2016-03-07 19:30:59 +00:00
Andrea Campanella
881f29f37c ONOS-4114 Flows Post has example of criteria, swagger shows link to wiki page with full json criteria
Change-Id: Ib430c537349e4d5d5e798f7b84158b7120264d3f
2016-03-04 20:07:28 +00:00
Thomas Vachuska
5d8994ffce Starting snapshot 1.5.0-SNAPSHOT 2016-03-03 17:13:26 -08:00
Thomas Vachuska
40d5255ca9 Tagging 1.5.0-rc2 2016-03-03 17:08:36 -08:00
Brian Stanke
b8ff641378 Fixing device key REST API bugs and adding json definitions.
Change-Id: I41a98702e781544fe6e0bebe3e281ff2bcd9a6fa
2016-02-25 23:38:31 +00:00
Jian Li
2e02fabaa0 Fix some typos in meter and group REST API
Change-Id: Id32535e154557cba8a4030d9e504c8bd15aa6e9a
2016-02-25 15:31:05 +00:00
Jian Li
0c45180740 [ONOS-4016] Implement Region administration REST API
- Impelent Region management REST API
- Add unit test for Region management REST API
- Add swagger docs for Region management REST API
- Add SCR Component and Service annotation for RegionManager

Change-Id: I042e92ed7144d596659b779a59239afba832ca62
2016-02-25 15:30:25 +00:00
HIGUCHI Yuta
547c20585e Fail the build if @onos.rsModel specified model json does not exist
- Commenting out DeviceKey related @onos.rsModel issues

Change-Id: Id11730d7cf63aa32038538d9392a980e2f995ab5
2016-02-23 17:48:21 +00:00
Brian Stanke
b9170d9987 ONOS-3658 - Adding REST APIs for query and management of device keys.
Change-Id: I3c70660a15d9085409e43d2d14120d29fd5020be
2016-02-23 02:03:01 +00:00
Ray Milkey
2be39edc6d Remove methods deprecated in Drake from Instructions API
Change-Id: I87a20cb9e8abbf4b27bbb4760a62947169866ea6
2016-02-23 00:33:35 +00:00
Ray Milkey
dc08344b98 remove hostDetected() method that was deprecated in Drake
Change-Id: Ib975d7c8f5cf8aec25a1990114ad516e2d273150
2016-02-22 22:21:28 +00:00
Jonathan Hart
07eb041136 Implemented REST API for multicast RIB.
Change-Id: I5de6fe0aae412083597113e355ba0e8c984be5f1
2016-02-09 18:02:35 +00:00
Jian Li
d79d39ecb5 Fix incorrect NextId name issue of FlowObjectives swagger doc
Change-Id: I07e0ca429d37f7b458183c1f985d9fa1fa1bf866
2016-02-02 00:34:19 +00:00
Jian Li
95678966d4 Remove redundant meter id when create a meter entry in REST API
Change-Id: Iec38ea9a612878a2a6f2766c154c8ed8a8b31ef2
2016-01-29 19:26:29 +00:00
Jian Li
dfba739230 Fix javadoc warnings
Change-Id: I3de24a04593f47c786f698f5ee1669b3d2f2fdfc
2016-01-23 02:38:40 +00:00
Jian Li
c67ca3cf7a Make results of application codec and swagger doc desc consistent
Application codec returns permissions, requiredApps and features
in string format. However, based on swagger doc, the codec is
supposed to return array. This commit fixes the type inconsistent
issue raised in application rest api.

Change-Id: If47338b287518a981c98ff89ca543802579c7610
2016-01-21 23:21:54 +00:00
Jian Li
6282c809b8 [ONOS-3634] Add REST API for extended application properties
Change-Id: I61f91075ac3bd527d0e10436e14ed496f55ef593
2016-01-20 11:52:48 -08:00
Jian Li
c35415ddcd [ONOS-3634] Enhance app to have a category, icon, URL and readme
This commmit enhances application to have category, icon, URL and
readme. The web GUI and CLI will be implemented in separate commits

Change-Id: Ib02716d7118cc617b24f196f2213ea1fe99a34be
2016-01-20 00:30:35 +00:00
Thomas Vachuska
f9879c5f6a Marking ConfigProvider as deprecated.
Change-Id: I875f6cfe8bca1e080d39a5bcc18154c9c03b3d41
2016-01-16 00:57:49 +00:00