15 Commits

Author SHA1 Message Date
Steven Burrows
1270c18e06 Topo2: Added Friendly host names
JIRA: ONOS-6657

Also added css into the browsersync tasks within gulp

Change-Id: Ibcf342c89b8e1eae131f5cb3694e3632bc134534
2017-09-14 17:13:49 +00:00
Steven Burrows
4b4d2b44de [onos-3264]: Close the gap between summary and details panel
Change-Id: I3921da4a3d9e9e3f6c127692e62815a8d54a28a4
2017-08-21 17:01:08 +00:00
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
202034ff83 GUI: Added {view}-spec.js files for all main views
Change-Id: I75a50ae2689d0ab7863c8bb0546ec72ef8e9e7ea
2017-08-11 16:49:41 +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
a37e32f488 Gui: bugfix Broswersync error in buck build
Change-Id: I83f73eb5baf283334086c40d6ec4e82829396d70
2017-08-07 22:36:36 +01: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
dc165621d4 GUI: Better error messages for minify task in gulp
Change-Id: I25f287ae057ea8f164c5ec7a3f036f3e92dd8f3c
2017-07-20 14:40:27 +01: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
ad3c8c4840 GUI: Removed unused gulp package
Change-Id: I8c766c16d99ba35b2cecc78ab2ef5cf3086d5ddd
2017-07-12 07:16:12 +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
96ee21ebab Bug Fix: Reverted minifying third party libs
Bug Fix: Minification revealed 'non-safe' bundle dependancy in the application view javascript

Upgraded Chart(.min).js to v2.6.0 to fix a known bug in v2.2.1

ONOS-6803

Change-Id: I02e130611dcff26cef08bbb6885e91b348e27f69
2017-07-11 21:54:05 +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