1051 Commits

Author SHA1 Message Date
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
Sho SHIMIZU
d7d18005e8 Prohibit null for resources field in Intent
Change-Id: I128c6e63ccccaf817e83ff1c440a731fb98b42f7
2015-01-22 19:03:58 +00: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
Ray Milkey
b9a8a18734 ONOS-741 - JSON codecs for constraints
Change-Id: I6eebc2ef5f6c28956f0944524aa90f44cebfcc60
2015-01-21 22:09:45 +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
Ray Milkey
db358086fd Unit tets for instruction JSON codecs
Fixed several bugs in codecs turned up by unit tests

Change-Id: Icddb31aa3d2cb58612a0578772d24ff5f113d073
2015-01-16 22:00:10 +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
Ray Milkey
d03eda01c0 Unit tests for Instruction and Ethernet codecs
Added tests for codecs for Ethernet and Instruction classes
Also fixed some bugs uncovered by the tests

Change-Id: I29f82d169e81b3fca417f88fab992148bf36dc71
2015-01-12 18:00:10 +00: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
Ray Milkey
c95bb9d27e ONOS-574 - Complete REST APIs for flows
- codecs for all objects referenced by flows
- codecs for HostToHost and PointToPoint intents
- standardized on context.codec() rather than direct calls to new codec()

Change-Id: I94fcb6e31a9161132c6efc2793b9c46fa3cc4570
2015-01-09 22:07:42 +00:00
Simon Hunt
404e54c6ed GUI -- MapService: rework API and internal code for loading map. WIP.
Change-Id: I74458a3ef615d67a0fe9869926ef230990cd902f
2015-01-09 11:58:49 -08:00
Simon Hunt
1e8eff4d02 GUI -- MapService: changed to cache promises with attached meta data.
- unit tests for cached promises still WIP.

Change-Id: Ibe52cf3e83ed5753ccc12581b52fa1f640354e60
2015-01-08 17:19:02 -08:00
Simon Hunt
f044d8a708 GUI -- Sketched out MapService.
- implemented ID to URL adjustment, and object caching behaviors.

Change-Id: I5a30b59be01761d9a6475f7707db947dd2304dc5
2015-01-07 17:53:17 -08:00
Bri Prebilic Cole
09e464bc62 Starting GUI server-side code
Change-Id: Id3d5e198a2326f50ef2661f6971cf23271bf7644
2015-01-07 17:13:54 -08:00
Simon Hunt
cacce3442b GUI -- Implemented ZoomService, with unit tests.
- Added zoomer to topo.js; we are at least generating the events.
- Added GlyphService.clear()

Change-Id: I5400e52b58ee584866d8ffbb20d5bde70b336985
2015-01-07 16:13:05 -08:00
Simon Hunt
6cc536945e GUI -- Topo View: define SVG layer; inject (sample) key bindings and install glyph definitions.
Change-Id: I1c063b0484a9cedcf8e57a35cc51c3c4b35c9329
2015-01-07 11:36:44 -08:00
Simon Hunt
670e825628 GUI -- implemeted GlyphService.loadDefs().
Change-Id: I2d93164dd6d1968982d3034b8c7bc50041d9bad9
2015-01-06 18:31:30 -08:00
Simon Hunt
bc39f6d87d GUI -- implemeted GlyphService.register().
Change-Id: I769294b428d9eb5414b45d1099baee1ab3814528
2015-01-06 17:34:35 -08:00
Simon Hunt
6e4598029d GUI -- implementation and unit test for loading base set of glyphs into GlyphService.
Change-Id: I0c742ab6a58f607a6c3a812767dc26df82f74827
2015-01-06 15:05:54 -08:00
Simon Hunt
51fc40b05b GUI -- Sketching out GlyphService.
- Added areFunctions() to FnService.
- First unit test for GlyphService.
- Added note about debugging unit tests.

Change-Id: I377b6a1cf1845fb57e506e1a935970b49dbf0bbb
2015-01-06 13:56:33 -08:00