8 Commits

Author SHA1 Message Date
Steven Burrows
9145867dfc [ONOS-6523] GUI Build: Removed third party libs from repo
- installed at build time as dependancies

Change-Id: I85fd69f0b14e6fd1af2693320c1ca23c62f58ac4
2017-08-16 17:36:11 +00:00
Steven Burrows
0f26ac8fa2 BUCK GUI: Excluded generated javascript files from genrule
Removed the NPM Lock file that generated.

Change-Id: Ia2d16f28a3a11056f8eaed2805684020b9d2c4eb
2017-08-10 17:04:44 +00:00
Steven Burrows
1c2a9685de GUI: Added ESLint to gulp tasks. ONOS-6521
Commented out gulp tasks making this change uneffective
Fixed an error in the build script

Change-Id: I4f4f9762aa1a66304aa74b3ab208095b9c1d4515
2017-08-07 18:12:46 +00:00
Simon Hunt
5c3ed73c5a Revert "GUI: Added ESLint to gulp tasks GUI: Linted files Fixed an error in the build script"
This reverts commit 46c5f1087d76d93497a1e8e5593564991ccb6682.

Change-Id: I1464fdd1df075e93f885e3c1fbd02f0cc563fd4f
2017-07-20 19:08:07 +00:00
Steven Burrows
46c5f1087d GUI: Added ESLint to gulp tasks
GUI: Linted files
Fixed an error in the build script

JIRA-TASKS: ONOS-6522, ONOS-6521

Change-Id: Ie72abfe6cbe21c8946f219be6193344b67ec6dd1
2017-07-20 16:25:52 +00:00
Steven Burrows
5cb50e3d87 GUI: Reverted changes to gulp task unit tests
Moved the unit-tests folder in to the correct location

Change-Id: I36bad4aea26ab2425e4b1b6bb2fea1d3be26548e
2017-07-12 14:05:09 +01:00
Steven Burrows
db3be6f636 ONOS-6524: Added Code Coverage tools to gulp
When `gulp test` is executed, Karma will now generate an interactive html report for code coverage in each file. The folder can be found in web/gui/src/main/webapp/tests/coverage

Change-Id: I951ac1bea7f3f0ca35deb9cc823bb883bcd9f8a5
2017-07-11 21:58:12 +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