846 Commits

Author SHA1 Message Date
Bri Prebilic Cole
159830132b GUI -- summary-list table CSS edited to look cleaner.
Code to integrate directive into d3 created table -- WIP

Change-Id: I182ad1c66fdce36bb4097459e55a5271d47b700c
2015-01-28 15:57:07 -08:00
Simon Hunt
737c89fb53 GUI -- Starting to migrate the 'force layout' functionality from the old GUI.
Change-Id: I38c5e5cd45a3bdc9cf6f0ec68736f3b5fbcb289f
2015-01-28 12:23:30 -08:00
Bri Prebilic Cole
4c89177cd0 GUI -- Updated TableService to use d3 table creation methods.
Change-Id: I318ee4e81624118a82c52efe380213c661b743c5
2015-01-27 12:01:39 -08:00
Simon Hunt
fd1231a0a6 GUI -- Refactored Topo View to move websocket code into TopoEventService.
- now it is more properly encapsulated.

Change-Id: Ib5cb88acf63e78be648ff45e737c76041b53e44b
2015-01-26 22:14:51 -08:00
Simon Hunt
bb596362db GUI -- First pass at TopoEventService - to encapsulate sending/receiving events from server.
Change-Id: I604d63a715f1ee25ca7ed05bacccb9eb8d65a0f4
2015-01-26 21:27:42 -08:00
Bri Prebilic Cole
5c2cab98ab GUI -- TableService can take a div, config object, and data object in order to programmatically render and load data into a table. Test functions added.
Change-Id: I585cee8331612be984ca7ead2829525af7f3d3e5
2015-01-26 15:42:42 -08:00
Simon Hunt
c4ae83038d GUI -- Fixed broken table-spec unit tests.
Change-Id: I3b4d777a3f514759a2b19e442ad320280f46e5b4
2015-01-26 14:22:48 -08:00
Simon Hunt
54442fac5f GUI -- Implemented Panel Service.
Change-Id: I5e60c6ffa5676bc11f7312681af7bca85b4f8036
2015-01-26 14:17:45 -08:00
Bri Prebilic Cole
aa8d2ed957 GUI -- TableService can take a div, config object, and data object in order to programmatically render and load data into a table. Test functions added.
Change-Id: I95f82108d7bb4f84a701b49e0e419afbdbac6f14
2015-01-26 10:18:16 -08:00
Thomas Vachuska
c31d9f1dcc ONOS-745 Refactoring topology to compute only broadcast tree and not pre-compute paths.
ONOS-744 Refactoring graph search to allow requesting max number of paths.

Change-Id: I28467246b92df32ebb3155c45774ecc051fdd3dd
2015-01-23 12:57:34 -08:00
Simon Hunt
988934ec2d GUI -- Start of implementation of Panel Service.
Change-Id: I2729acc88c7130172587856f1af80ca0d66e4c5b
2015-01-23 11:49:24 -08:00
Simon Hunt
3b0916b2e7 GUI -- Implemented sendEvent() in WsEventService.
Change-Id: Iac4833e66e7688e490b24b4cbaca3514a59ce618
2015-01-23 11:06:56 -08:00
Bri Prebilic Cole
093739a751 GUI -- Created onosWidget module and TableService with respective Karma Test file.
Change-Id: I0b164877bcd70503d126ccfe19e03a96d6b84b56
2015-01-23 10:29:51 -08:00
Simon Hunt
acf410ba9d GUI -- Cleaned up websocket callback wrapping and beefed up unit tests.
Change-Id: I3457e7d8009d0c7ebb900d06ae01c59cf7370cba
2015-01-23 10:05:54 -08:00
Simon Hunt
970e7fda20 GUI -- WebSocket object now decodes message payload as JSON on behalf of the consumer.
Change-Id: If27679b2c4d3beaed6aee96233ca4856b673ab72
2015-01-22 17:46:28 -08:00
Simon Hunt
bb920fdd5a GUI -- Added ability to define an alternate port for WS - used to connect to mock web-socket server. Topo view can use query string '?wsport=8123' for example.
Change-Id: Ie34d557b9580d58239380010e8d58233998a78ca
2015-01-22 17:06:39 -08:00
Simon Hunt
a7a129cd08 GUI -- Oops! Location of map data changed...
Change-Id: I4a7ed7c9797a791d4b6ca42b5fb6532c6d032dc6
2015-01-23 00:55:37 +00:00
Bri Prebilic Cole
e7399f3bd3 GUI -- Cleaned up code for practice scrollable table, added tableHeight as a parameter to the directive.
Change-Id: I2f2187e0b1a8a4fdb2d05187bb1d708724aeca99
2015-01-23 00:54:42 +00:00
Bri Prebilic Cole
d36a90fa41 GUI -- Scrollable table working!
Change-Id: I77eb1a620cfa64e44996e8eed09a6be9c9cda202
2015-01-22 16:19:27 -08:00
Simon Hunt
354c8c9df5 GUI -- Mock WebSocket server : fixed bug where args were not repeated.
Change-Id: Ie6c6e0e1bf0b29b6182cac9d0cf5a4ee450024d6
2015-01-22 15:33:34 -08:00
Simon Hunt
711ee247a8 GUI -- Mock WebSocket server now serves up scenario events.
Change-Id: I469550362b2215bbc054cb58a157c2ef5f4479ca
2015-01-22 23:12:03 +00:00
Bri Prebilic Cole
4f0d977e1d GUI -- Device table now scrolls with a fixed height.
Created a table scrolling test page to try out having a fixed table header. - WIP

Change-Id: Ia957173d0cb46c526af3da311b441802ac5cb292
2015-01-22 23:11:57 +00:00
Simon Hunt
a25cdcde31 GUI -- Created Mock WebSocket Server (runs with node.js)
- moved test scenario events to directory in test branch.

Change-Id: I1f94a9b4c844be1ea2633de0c74d49ebf5a770a7
2015-01-22 13:13:00 -08:00
Simon Hunt
584122a63a GUI -- Further work on web socket service. Still WIP.
Change-Id: Ib787a72abed3d8bd1cce7efe110c584a04fe0cd4
2015-01-21 15:32:50 -08:00
Simon Hunt
404f6b21c2 GUI -- Removed dependence on jQuery -- it turns out that angular implements extend().
Change-Id: I0cca98975873aa6fa1bf8258a2bedbc508d3c7d7
2015-01-21 22:18:04 +00:00
Simon Hunt
1e4a0017b1 GUI -- Created skeleton for WebSocketService.
- re-worked UrlFnService.

Change-Id: Ia1184dfd5639a7e1ef2dad54580057e74b1d9fd2
2015-01-21 20:27:54 +00:00
Bri Prebilic Cole
c006eef515 GUI -- Finished icons test page. Displays all icons and glyphs using Angular constructs.
Change-Id: I65d9195eb5434a49e5d8e6fac7ce3205a72d22dd
2015-01-20 16:24:25 -08:00
Simon Hunt
aa26adf980 GUI -- Corrected path prefix for ui/rs calls.
- fixed broken unit tests.

Change-Id: I52c3f54853a19d7d7d46a7453f540b241593d138
2015-01-20 18:35:43 +00:00
Bri Prebilic Cole
b07c279b03 GUI -- show-icons.html test file is successfully linked with its module and controller
Change-Id: I4d76994949b8cbf834d355e529be4d1a29d31462
2015-01-20 09:58:15 -08:00
Simon Hunt
66f9e6e116 GUI -- glyph.js - removed unnecessary precision from path data.
Change-Id: I4d13e7f3a50f2bcca7c098179de10a6caa1de3f4
2015-01-19 20:05:29 -08:00
Simon Hunt
cd258a12ba GUI -- Reworked onos.js to only require the list of view IDs to be injected. Module dependencies and routing configuration are both derived from the list of IDs.
Change-Id: If7bd7fe5c5c42f5c557e39c8ccb53847f2527be9
2015-01-19 19:20:13 -08:00
Simon Hunt
d169deb0e5 GUI -- Removed @author tags from all .js/.css etc. to match our code style choice.
Change-Id: I4d0f572678a01a582226d99ef43cfedd1c559402
2015-01-19 17:45:26 -08:00
Bri Prebilic Cole
17a18b21a5 GUI -- Added some test files to practice Angular and link with the IconService. WIP
Change-Id: Ifcacc107b99c6ff6c983c3d3821084947657dcd3
2015-01-19 17:15:59 -08:00
Bri Prebilic Cole
94a856e7eb GUI -- Added new icons to glyphs library.
- Edited glyph-spec and icon-spec to test the changes.

Change-Id: I23472b7f6699a46da1728c49a9d72f826244c739
2015-01-19 15:16:40 -08:00
Simon Hunt
64b60cd35b GUI -- Do not display IconLibDefs SVG element.
Change-Id: I883b512a86a509afdb14352ef340d9bce9a09349
2015-01-19 13:51:30 -08:00
Simon Hunt
9722538ab6 GUI -- Completed icon directive definition, and wired up device view.
Change-Id: Ia3cf0655fb17d47adc54f9f4540bb25eacbaaa62
2015-01-19 13:33:09 -08:00
Simon Hunt
7f172cc053 GUI -- Implemented loadIcon() in the IconService.
Change-Id: Ib19e9ee01d0c015a2ba6f0431bc0d84adf530efd
2015-01-16 17:43:00 -08:00
Simon Hunt
58f23bbf01 GUI -- Working towards embedding icons in tables. WIP.
- Skeleton of icon directive added.
- icons embedded in table - test HTML file.
- Augmented GlyphService.loadDefs() to allow subset of glyph ids to be specified.

Change-Id: I775a958ef9dc35b0b89a126d5c0497f72a721b71
2015-01-16 16:32:24 -08:00
Simon Hunt
4367abc99b GUI -- DeviceResource: minor improvement.
Change-Id: I591aa4cca09fb51e2e92df8c479d80d2d3aed94e
2015-01-16 15:14:11 -08:00
Simon Hunt
1f170b8fc7 GUI -- Simpler version of DeviceGuiResource for the UI.
D'Oh -- has to have public-no-args constructor!

Change-Id: Ib586f74bdd109385fd1772e53122e096bdd7e8d5
2015-01-16 23:03:32 +00:00
Bri Prebilic Cole
4fab8af1e4 GUI -- Added mechanism to test device view.
Themed device view.

Change-Id: I471ec56b94c927d834f8067d06efce33ddfa4596
2015-01-15 16:40:59 -08:00
Bri Prebilic Cole
eb28b0bb9c GUI -- Created UrlFunction service
Commented out broken device code WIP

Change-Id: I7ccdc1c841277cf6895738eec056741693de5603
2015-01-15 14:21:06 -08:00
Simon Hunt
e6720443b3 GUI -- Created the RestService in the Remote module.
- implemented get() function (with unit tests).

Change-Id: I65edb5422ed3719d8bdc262e398673e0a1db3f0b
2015-01-15 12:21:06 -08:00
Simon Hunt
5ee36e041b GUI -- Added dark theming for the topology view.
Change-Id: I13c7bbbff65007fed162a4ea80dbf6042ff04c07
2015-01-15 10:33:20 -08:00
Simon Hunt
0541fb8d47 GUI -- Finally got map resize working correctly, including the resized callback in topo code.
- Created directives.js file to hold custom directives definitions.

Change-Id: Iecdbfe81fd8c5719f6da4f67fd9986ffa70c35df
2015-01-14 18:59:57 -08:00
Simon Hunt
426bd86e02 GUI -- Further tweaking of the background map loading code, to properly align the map in the view.
- still WIP, as we need to invoke a resized() callback in the controller so that the view can also respond to the event. 

Change-Id: I55fa5e52c70e208924ad22d389e2002c66cb37ef
2015-01-15 01:35:58 +00:00
Simon Hunt
a7b6a6b92f GUI -- Further work on MapService and GeoDataService. Still WIP.
Change-Id: I92e826cc15cc1a07238cc4b4eac20583260a3c84
2015-01-13 19:53:20 -08:00
Simon Hunt
f8173387a1 GUI -- Split MapService into GeoDataService and MapService. WIP.
Change-Id: Ibfe5b35ecdfaaf39b9d48abd29d0a44327dec130
2015-01-13 14:12:15 -08:00
Bri Prebilic Cole
7c92a3d003 GUI -- Created initial device view
Change-Id: Ie9b2a4e743d7a8070c3dfe736ad5a953547bd2f9
2015-01-09 16:50:03 -08:00
Simon Hunt
86388b15b2 GUI -- Created NavService and implemented simple navigation (click on the bird!)
Change-Id: I2bda5a3a1b279167194a84564408760eebcb59fd
2015-01-09 14:23:34 -08:00