461 Commits

Author SHA1 Message Date
Ray Milkey
c5e2f43a8a Upgrade ONOS to yang tools version 2.5
Change-Id: I2a8f9ca6637185522023123f8e0b68cbe750d3fd
2018-07-02 13:15:15 -07:00
Jordan Halterman
15f3371bdf Refactor multimap streams to avoid blocking iteration on initialization
Change-Id: I6a357b37e85808972267ef2daf5328fd5035aac4
2018-07-02 18:16:32 +00:00
Ray Milkey
dbd3821cf0 Checkstyle rule to prevent throwing the generic RuntimeException
This is a frequent cause of sonar breakage.

Change-Id: I54e0044447633a61bab560b020b57ed0a6875ebe
2018-07-02 18:03:00 +00:00
Thomas Vachuska
510419f90a Fixing few issues in feature generation and local run capability for Bazel build.
Change-Id: Ifd72aff1c56cceadd0bde93c94bdaf4a9a7dfbd2
2018-06-29 22:04:31 +00:00
Ray Milkey
b7949e7a98 Generate a test rule to run checkstyle for an onos jar file
Change-Id: I21da8d353d592de847cc019875baa59786500cfe
2018-06-21 02:50:51 +00:00
Ray Milkey
275af2c8ff Implement bazel rules for generation of swagger files
Change-Id: I0e5d33174898cc6a1bbca475f2e1696c4fdda1ca
2018-06-20 09:41:24 -07:00
Ray Milkey
1bbe4615a6 Fix bazel build of p4 runtime protos
Change-Id: I72f8dc332fe1cfff879a7378d0953cd872ee37ac
2018-06-15 14:14:39 -07:00
Ray Milkey
25747d88f7 Implement bazel support for web context
- add web context to OSGI rules
- build ACL app
- build DHCP app

Change-Id: I03687d109eb44621458ad7269a435e03eec47495
2018-06-15 09:01:35 -07:00
Yuta HIGUCHI
59cf0c877c Update dependencies
- commons-lang3 3.7
  https://commons.apache.org/proper/commons-lang/release-notes/RELEASE-NOTES-3.7.txt
- commons-text 1.3
  https://commons.apache.org/proper/commons-text/release-notes/RELEASE-NOTES-1.3.txt
- commons-io 2.6
  http://commons.apache.org/proper/commons-io/upgradeto2_6.html
  http://commons.apache.org/proper/commons-io/upgradeto2_5.html
- error_prone_annotations 2.0.18

Change-Id: I119306662ab945f876ff3832f550a5e84e40fa76
2018-06-14 16:04:29 +00:00
Ray Milkey
47b9b450c3 Remove debug output
Change-Id: I57211fb1920a484b5c3d67c4e8e83c3e71e136f8
2018-06-13 13:40:16 -07:00
Ray Milkey
15053f0fca buildifier formatting of bazel files
Change-Id: I8196aa52ee640d1c500307a50a0ab4921138b69b
2018-06-13 17:57:14 +00:00
Ray Milkey
02a658bb4a Build segment routing app with bazel
- add support for apps depending on other apps
- build files for route-service and segment routing

Change-Id: I4850aacfe050f802072e2d59a6a21bcefd784e67
2018-06-13 16:23:14 +00:00
Ray Milkey
0fe0cdb66d Fixes to make bazel test //... operate properly
Change-Id: I452ede6a6b7046c139a5db043ca643dbb86658a3
2018-06-12 18:13:55 -07:00
Ray Milkey
1ccab71e32 Bazel support for apps with more than one included artifact
Change-Id: I2972772517a9b5f7f1fac52b9c00123689c0881c
2018-06-12 17:58:45 -07:00
Thomas Vachuska
e8f06893f7 Fixing Maven coordinates for Bazel and adding feature artifact bundle.
Change-Id: Ic6a3120e5316afa2c394a1c904cf848bb7ed3c76
2018-06-12 16:01:59 -07:00
Ray Milkey
25b785a91e OSGI artifacts now carry Java compilation information
- java provider information produced for OSGI jar files
- osgi jar rule can now be used as a Java dependency
- osgi artifact is the public artifact for a given rule

Change-Id: I4c0a080537f712a3579b02e82e8da9238cb0ac44
2018-06-12 18:44:17 +00:00
Ray Milkey
12ae6cae9f Start on implementation of apps with multiple included bundles
Change-Id: I8fc8474d5f2ff1b45e0dccfbe3fc20e27cc9000b
2018-06-12 02:09:35 +00:00
Jordan Halterman
156ee8a995 Upgrade to Atomix 2.0.22
Change-Id: Ie7bf8146e7fab99fd052daf91676069b9ba80808
2018-06-11 16:59:10 -07:00
Thomas Vachuska
a8e1bd4d7d Sketching out packaging via Bazel
- modified onos-gen-lib to generate http_file properly
- fixed deps.json entries for apache-karaf & patches .tar.gz files
- sketching tools/package/BUILD file

Change-Id: I311d66095e8d744b8f61a2f3b53a635a2a42732e
2018-06-11 15:45:11 -07:00
Ray Milkey
1d52dddd41 Bazel support for ONOS applications and OAR files
Change-Id: Ic938dded82a68aa75d5f5df18363f3127a36d1ef
2018-06-11 22:33:56 +00:00
Ray Milkey
32ea35cd0c Refactor of the OSGI bazel rules
- renamed the .bzl file to match the accepted snake case naming standard
- removed an uneccesary veneer method inside the rule implementation

Change-Id: I1e0f5aecf1d4b7b73e7376c1bb4c296960aaa5fc
2018-06-06 15:28:07 -07:00
Ray Milkey
32d99ba799 Formatting changes based on bazel style tool buildifier
Change-Id: I2f1536d47f6fd6c80cba45e08b715cd5a14fe5fd
2018-06-06 14:15:00 -07:00
Thomas Vachuska
aab45d17c7 Adding feature file generation via Bazel
Change-Id: Ifa9cdf01c3129e5cd6cb7b8f4aee956eef9055f8
2018-06-06 12:02:54 -07:00
Ray Milkey
170d7fb9f5 Add an API to determine the maven coordinates for an external artifact
Change-Id: Ief747497e2d02353aeb8515597f722aaf23cdf2e
2018-06-06 18:13:59 +00:00
Ray Milkey
ad83ef9912 import Python scripts into bazel
Change-Id: Ide26371f903356aae829d3235fe5d4bf789c1151
2018-06-05 11:33:21 -07:00
Ray Milkey
deb79f83c4 Quiet maven download messages during builds
Change-Id: I7471f8050217d98f3581052529bf1679a54ad001
2018-06-04 20:08:36 +00:00
Ray Milkey
3275ae800b Implement OSGI wrappers for proto jar files
Change-Id: Ic30d162093c383edc4abf5e9e9b96df669d804c8
2018-06-04 17:46:51 +00:00
Ray Milkey
75bd9e09e5 Improvements to Bazel workspace generator
- Format generatated workspace file to match bazel build file style guidelines
- Automatically generate bazel and buck versions from onos-lib-gen

Change-Id: Iaa879e4e6356e42382b0c9ba82d7ae82e87dac9a
2018-05-31 09:27:19 -07: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
95c9e0fdea Upgrage EasyMock to version 3.6
Change-Id: Ib87cf414ca849cb19dc68a416de1e236d917aa8c
2018-05-30 15:37:37 -07:00
Ray Milkey
cd3e6927c4 Remove duplicated library in deps.json
Change-Id: I74dcfa4778d3debe265b0fec53ee378fec3d4ead
2018-05-30 14:31:54 -07:00
DongRyeol Cha
5c0a9f0d0a Supports IPv6 address for scp and rsync
ONOS-7680

Change-Id: Ica7466715c64765310bfc7bf34126ed02d1818b7
2018-05-30 04:17:10 +00:00
Ray Milkey
64c093649b update SNAPSHOT check exclusions
Change-Id: Ia00129925a77c90c6c8af5f7fb83f6d7ddbe3db9
2018-05-29 15:40:15 -07:00
Ray Milkey
df6722181e BTI driver was removed
Change-Id: Id104ef5a23eddcf500f222024d85f71b6a59a268
2018-05-29 22:22:49 +00:00
Ray Milkey
472d839809 Start bazel support for protobuf models and p4runtime build
Change-Id: Ib3beb70c1b401854444b106b4af3723cd40635e4
2018-05-29 21:26:37 +00:00
Ray Milkey
0bcdfd1e59 reformat bazel files to use Google coding standards
Change-Id: I320f0ca7ccb1b2247ccdd9fa58fefca7dad8a16f
2018-05-23 14:07:19 -07:00
Ray Milkey
7dac7dadf5 Initial builds using bazel
Change-Id: I38123b396a2ffda5f36cdca43f3ad1fa67a7ab52
2018-05-23 20:38:54 +00:00
Yuta HIGUCHI
42cc140568 Sync plugin versions for build-conf
- apply checkstyle to self

Change-Id: Ib2b429bfbef0a273fe949f312875e8906d2b0310
2018-05-22 19:15:50 +00:00
Ray Milkey
9639dd5916 Exclude some disconnected poms from the SNAPSHOT check
Change-Id: I35a9da66a23944faf8eae226299b3bfee2acfea8
(cherry picked from commit 657833e563d00e8580c0e7d0df410284d1224b51)
2018-05-22 02:48:07 +00:00
Yuta HIGUCHI
e7e71a8f9f Update checkstyle to 8.10
- fix issues detected
  - YANG custom registrator should be subject to checkstyle
  - fix Java 8 syntax related violations

Change-Id: I0fc52c6612a40d851fd9bc3bf019621776b1f92a
2018-05-21 16:00:21 +00:00
Yuta HIGUCHI
57ba38eb10 bump yang-tools version to 2.4.7
Change-Id: I0a257b8b524cd7f6e606d57e6d1a3a5388646ebe
2018-05-16 02:05:38 +00:00
Ray Milkey
749996b0a6 Fix event handling race condition ONOS-7673
Events could be processed after the component was deactivated
and the executors were shut down.

Change-Id: I53f065e59638293b035278ed1a7736e4d7a817ca
2018-05-14 18:02:23 +00:00
Ray Milkey
f27ac3013a Allow publishing of RC builds
Change-Id: I5be1e7ee685cbf9f47c2491431c3899c55243eb2
(cherry picked from commit 02e231852aecaddcc02016d3de4b15b2f564fd13)
2018-05-10 16:59:12 +00:00
Yuta HIGUCHI
10b5357dc9 Fix minor comment fixes
Change-Id: I23c880a5b42fba5f319cca17d59fc2f601befef9
2018-05-04 22:00:06 +00:00
Yuta HIGUCHI
608316501d Do not escape <> characters
- sed on Mac ignored unnecessary escape and treated \< to match <
  but GNU sed seem to treat \< in a way it will not match <

Change-Id: I8be9f22d632c3c7a9f007b36d18716cefdd9286e
2018-05-02 22:32:59 +00:00
Ray Milkey
62d4e2831f Fix SNAPSHOT version checker
- removed blank line at the end that caused all files to match
- added new files allowed to use SNAPSHOT

Change-Id: I0756ddce5960f992e77b9be40e4114ac12829ee1
2018-05-02 14:35:46 -07:00
Ray Milkey
bca9049101 Starting snapshot 1.14.0-SNAPSHOT
Change-Id: I97bab4e31d2b701f015289eae29d0c58a4937685
2018-04-13 12:47:31 -07:00
Ray Milkey
ca18804175 Add checkstyle check to disallow javafx classes
Change-Id: Ie50447c34d1bc1495a70023535ce822bf55f0c08
2018-04-05 16:57:01 -07:00
Ray Milkey
859e041876 Fix bug when publishing maintenance release docs
Change-Id: Ibc8d855eca2fe66be9e0c9f8547132a03151c41a
2018-04-05 23:36:56 +00:00
Yuta HIGUCHI
bcc2ce9c3f Generate copyright year in swagger template code
- exclude generated source code from checkstyle by default

Change-Id: I3f79183a8aae1f24d36558860555b5b0298cd8c3
2018-03-13 17:38:36 +00:00