Sean Condon
49e15be98e
Added app, tests, lint to BUCK file for web/gui2
...
Change-Id: I94912cb18f31db26971b66c9d851fb57f022df54
2018-05-25 21:30:06 +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
Sean Condon
83fc39f470
Initial import of Angular5 components services and modules
...
Change-Id: I3953f1fbf7d5697a1c6d432808dd17d816ec285a
2018-05-15 23:04:34 +00:00
Yuta HIGUCHI
7083150418
Respect the name specified in onos_app rule
...
- when generating included_bundles
- when generating feature coordinate
Change-Id: I2fcc03d4fb8c687ffab5f212a6c5ec6ac757a15d
2018-05-14 15:59:25 -07:00
Yuta HIGUCHI
f936191317
Add option to specify yang source path
...
- also support case where app name including '-'
Change-Id: I32306d55fb04659bc6ae1c3886b462cc69db2dcc
2018-05-11 22:15:36 +00:00
Thomas Vachuska
7f2a356294
Creating build of a small bundle of remote administrative tools that
...
can be installed separately from the ONOS source or ONOS runtime.
Change-Id: I0f8a7e2739010f34d913d79ab40390aef3fc07e2
2018-02-28 18:57:05 +00:00
Jian Li
6249486960
Augment the onos_jar to allow specifying bundle_classpath
...
Change-Id: I52dc7beaf6aab83eb70f12f0687d61dd21922de3
2018-02-23 00:29:00 +00:00
Sean Condon
6a2e8fa364
Adding a bucklet to compile XSD in to Java
...
Change-Id: I760ad7a5c926ee65d7b922bd337f9e3abb1339a7
2018-01-17 18:02:06 +00:00
Carmelo Cascone
b1936bd93f
Bumped version of gRPC to 1.3.1
...
Change-Id: I7798476bd443a796e0e6a6e149ab8f66435ba4fa
2017-12-13 03:24:50 +00:00
Brian O'Connor
bd0e720a4a
Fixing checkstyle test hang with nc version >= 1.110
...
netcat (nc) 1.110 changed the behavior of how sockets are closed when
stdin is at EOF or closed. Previously, nc would call shutdown (TCP FIN
on the write side of the socket) when the end of stdin was reached.
Now, shutdown is only called if '-N' is passed as an argument.
This change was introduced into Ubuntu's fork of OpenBSD nc in Nov. 2016.
So, the affected versions were Ubuntu 17.04+ as well as any other
distribution that uses nc >= 1.110.
This change of behavior causes the call to ByteStreams.toByteArray()
to hang indefinietly, and thus checkstyle tests to hang indefinitely.
Rather than try to figure out which version of nc is present and set
the -N option, we will use an empty line as a sentinel and stop parsing
input when the first empty line is encountered. For this, we need two
changes: (1) send a newline when checking the socket in start-buck-daemon
and (2) send a newline at the end of the file list in onos.bucklet
We also set SO_TIMEOUT to 1 second and will return an exception if
the socket times out. This will prevent tests from hanging indefinitely.
Change-Id: If46b4b78ae89312e1afa0563f63100ae67762f0a
2017-11-27 19:04:44 -08:00
Yuta HIGUCHI
514ef1a4ed
Exclude tests from onos_jar
...
Change-Id: Ia2fd62bbd18336f4e3b4b45d3faa66595ad3a5d8
2017-11-22 22:53:00 +00:00
Yuta HIGUCHI
b1aec663f9
Fix gRPC buck util not to pickup random .proto files
...
- should address issue reported in
https://gerrit.onosproject.org/15958
Change-Id: Id02b950e3a732c89b1c9f71499a6a23b18ad7123
2017-11-15 22:52:09 +00:00
Heedo Kang
3cda3f3003
ONOS-6987 To enable declarlation of required permissions of application in BUCK file
...
Change-Id: I7081769474d7a40ad527c56bf74bfba105ef6af3
2017-11-01 23:40:26 +00:00
Ray Milkey
84dafd9e94
Increase timeout for checkstyle run
...
Change-Id: I27c6ce33b52b4860221f2e1994b9b0f6562462d6
2017-10-25 16:20:23 -07:00
Thomas Vachuska
803278eda7
Adding support for custom model registrator and supporting Java code
...
to be built and packaged along with the auto-generated artifacts that
represent the YANG model.
Change-Id: I62c121f22680d483df40662da6a73c1bae43826b
2017-10-06 22:47:48 +00:00
Gaurav Agrawal
f2a8c2bdbf
Adding application level dependencies between dependent models.
...
Change-Id: I3b37da04c962094852d47d24e49287ce30648016
2017-10-06 20:45:11 +05:30
Gaurav Agrawal
28920d8101
Addition of common model.
...
Change-Id: If5fd6bae01a59ebf9d27f8369ac3403c83f70fad
2017-10-06 18:18:10 +05:30
Charles Chan
47c6e26275
Fix dependency and permission issue in docker build
...
Change-Id: Ie0263b2ba6d98f5ca2bc63029987e7ad3e84fd6c
2017-10-04 13:36:48 -07:00
Thomas Vachuska
4d9051eebd
Fixing YANG bucklet to properly generate the name of the model registrator class.
...
Also fixing yang-live-compile scenario.
Change-Id: I614726d1a3220c06bc7146d2445ec8d6b6b57417
2017-09-06 13:34:05 -07:00
Thomas Vachuska
c98aa2a8a8
Cleaning up app names, descriptions and categories.
...
Change-Id: I684fdf23fcd8a8078d82bc6ff5e3d1af664b20c2
2017-08-29 15:23:11 +00:00
Thomas Vachuska
b002968a83
Cleaning up application titles, descriptions and categories.
...
Change-Id: I80f9770697cbf29b6bde2b20778c341b0f403d9f
2017-08-24 10:19:33 -07:00
Brian O'Connor
30322dd4cb
Fixing tar_file and proxy-stc
...
Change-Id: I51ee55151975ba22d168ccad58efe92d55acd9e1
2017-08-15 16:52:33 +00:00
Yuta HIGUCHI
a1c1bbccc1
Search only for .yang files under src/main/yang
...
Change-Id: I50bfbabf3d55199d9acccfbe7855a2e3da368eda
2017-08-08 23:23:11 +00:00
Thomas Vachuska
8953445c86
Bumping ONOS to point to ONOS YANG Tools 2.2.0-b2
...
Change-Id: I23b2ed67ed0fb5ef4ec0731a37dcd8b058102298
2017-07-28 19:49:29 +00:00
Steven Burrows
a145e10376
ONOS-628 - Download and extract node binaries for the GUI build step
...
- Added gulp build task the:
- Bundles Vendor JS files
- Bundles ONOS JS Files
- Bundles ONOS CSS Files
- Added SourceMaps to JS bundles - Helps with debugging during development
- Added Bundles to index.js and removed old references
- Git Ignored any generated files
- Ensured the build step is able to build without a local copy of node installed
- Added BUCK genrules (provided by Viswa)
- Added BUCK Dependency to GUI
- Buck Rule to run when src changes
- Node/NPM downloaded using BUCK remote_file
Change-Id: Ia6ca3b952ff801850ade7469c23aac76c8520400
2017-07-11 01:39:46 +00:00
Carmelo Cascone
569d4ad93f
Bumped version of P4Runtime and P4 tools for dev VM
...
+fixed protobuf version according to p4c documentation.
Change-Id: I16471b70b9b2ebc0e0a30c733f1e6ce47d40e30b
2017-07-10 16:24:53 -04:00
Ray Milkey
53edb38323
Don't compile against maven artifacts in buck build
...
Change-Id: Iabdc61a51b0c13debb97dd9a96fccc5a787d8c30
2017-07-05 21:02:50 +00:00
Carmelo Cascone
65f98ff1e9
Support for the protobuf standard lib in gRPC buck tools
...
Required for building P4Runtime stuff.
Also:
- support in grpc_jar for building external protobuf files
- minor code refactoring/cleanups
Change-Id: I50c09f967cc9257366eb028d4ea1502767d8d4a0
2017-06-23 20:20:16 +00:00
Aaron Kruglikov
9f95f99a0e
Refactoring file structure for protobufs.
...
Change-Id: I50daf100d54750f97158304d87813e67861b1422
2017-06-23 17:19:50 +09:00
Yuta HIGUCHI
295ee07f94
revisit checkstyle buck rule
...
- checkstyle execution only needs to depend on
input source files (filename list)
Change-Id: I070b9b5a317a8f777cfced7b3873cda5b7acc221
2017-06-22 01:37:30 +00:00
Yuta HIGUCHI
9312a80bdd
Fix checkstyle buck daemon issue
...
- checkstyle buck daemon was not processing a file listed at end of the list.
- fix issues, which hasn't been detected due to above bug
- cosmetic fixes
Change-Id: I15f24311835726757f0974b7e5c12ff1c79a3d4e
2017-06-15 16:41:40 +00:00
Aaron Kruglikov
e630fb1d5b
Adding build tools for gRPC compilation.
...
ONOS-6095
Change-Id: I80687eb2a91ad60c4dbec0bb966e917555d46151
2017-05-31 11:50:32 -07:00
Viswanath KSP
d4923cfde2
[onos-6359] Extending BUCK for embedded dependencies Stage-2 changes
...
Change-Id: I12d32a38d5916acbc01ed1767c44d68755df6c92
2017-05-25 22:55:38 +00:00
Gaurav Agrawal
10396be4c2
Removing external dependencies which are not required after b8 release.
...
Change-Id: Icb699a993520b168db9dd63364dd07e6d29c577f
2017-05-11 17:36:02 +00:00
Ray Milkey
2d572dd363
Use buck version of checkstyle rules in maven build
...
- build and package the checkstyle rules in the onos-build-conf artifact
- modify maven build to use new version of artifact
- fix checkstyle problems in maven-only code
Change-Id: I4e4dc890ca909e47463629c732a2fc5335bb4d2a
2017-05-04 16:03:51 +00:00
Ray Milkey
442c8f2ab3
cp -r -L is illegal on iOS
...
Change-Id: I802709d45ebe26d5964633672fcbc2439a03d3f7
2017-05-02 11:23:55 -07:00
Yuta HIGUCHI
29d640cd4f
Do not export package containing .impl, .internal
...
- Imitate to bundle plugin's default behaviour
http://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html#default-behavior
Note: buck does not seem to pick up this bucklet change,
need to wipe cache in order to get a binary with updated MANIFEST file.
Change-Id: I194d64e25f43a79736d18b63d9a06342508f9b81
2017-04-21 21:29:41 +00:00
Thomas Vachuska
315ff1c991
Fixing yang_model macro to narrow down the dependency list.
...
Change-Id: I6ae11cec370bfca4a1e4fe0598f84c7e354ea5b8
2017-03-29 01:39:20 +00:00
Thomas Vachuska
d92f6eb523
Fixing yang_library macro.
...
Change-Id: I31c2faf3f66d8e24fb93c2760d6cc6985625fd41
2017-03-27 20:57:54 +00:00
Thomas Vachuska
e6dc244a39
Simplifying yang_model usage.
...
Change-Id: I9a15522c1d081b8fa7480c744476fae0e9a94e88
2017-03-24 01:29:11 +00:00
Thomas Vachuska
22f731c007
Created yang_model bucklet.
...
Change-Id: I01986161ef40abe4f0df3a9d9a1e7bc43f0eba71
2017-03-23 22:12:06 +00:00
Thomas Vachuska
73436b52c6
Adding demo yang models and working on yang model packaging.
...
Change-Id: Ief674880920cf6165c863909298eb4fa6dd3fb64
2017-03-23 21:38:35 +00:00
Brian O'Connor
649d024a06
Updating proxy-stc to use basename of test tar
...
Change-Id: I786d788196413c5c57e8ce42ad631bfd8554b217
2017-03-21 23:19:27 +00:00
Jon Hall
b84df5deb9
Bump karaf from 3.0.5 to 3.0.8
...
Change-Id: Ic5bc130f5110f4ff9da6ec22d066a5dd3069288d
2017-02-02 23:22:40 +00:00
Ray Milkey
e46d31a69c
Fix ONOS-5927 - Fix top level POM generation on Linux
...
Change-Id: I1f0f4c4541a087dec3268bf88d2759371d6ea6b9
2017-02-01 21:25:17 +00:00
Ray Milkey
5c5454b414
Publish top level Maven POMs as part of release build
...
Change-Id: I6e10d4af4d8b59e3f5e15f001d160838a3c35266
2017-01-26 16:59:26 -08:00
Ray Milkey
e88d69b61c
bucklet for yang based OSGI libraries
...
Change-Id: Ieeef6357250c4e74e9c78310a65c809b3edd102b
2016-12-19 18:25:11 +00:00
Ray Milkey
033b9f9bea
updates to publish app and driver feature files
...
Change-Id: Id0789738df46a19a8356d6121ee0e5105f62d9a0
2016-12-13 13:05:20 -08:00
Ray Milkey
85267006aa
checkstyle rule to check copyrights
...
Change-Id: Ia9bab40b5fe64fca539058a4316371f7acc0f387
2016-11-18 18:40:44 +00:00
Brian O'Connor
9c2c823ec9
Adding script to set up sonar-project.properties
...
Change-Id: I6820092d57ffe9b47aef14712c522878f6f67b45
2016-11-12 18:11:59 -08:00