1270 Commits

Author SHA1 Message Date
Simon Hunt
986b92fafb ONOS-4359: continued work on theming UI
- cleaning up device table view, and device details panel.
- updated xMark glyph, added xClose glyph.

Change-Id: I1f5e4496dbfaa58315ddf0a8c2e0f6e4ff163239
(cherry picked from commit a7f62e1)
2016-06-20 16:31:41 -07:00
Simon Hunt
5fdba20edd ONOS-4359: continued work on theming UI (app control buttons).
Change-Id: I87c510caee499a2ecaa51241785e300cb06c1f61
(cherry picked from commit a705605)
2016-06-20 16:31:41 -07:00
Simon Hunt
811d857fa1 ONOS-4359: continued work on theming UI (app details panel)
Change-Id: I0961dfd6a90785b3a1dc040d500500facc8e05ed
(cherry picked from commit bb1b7a3)
2016-06-20 16:31:41 -07:00
Simon Hunt
0f8d7e91e4 Fixed broken mast-spec test.
Change-Id: Ibb79970d0c9adf15094f13db1aa2103b427cec63
(cherry picked from commit 83750e6)
2016-06-20 16:31:41 -07:00
Simon Hunt
f3fd4ed544 ONOS-4359: New UI look and feel : table views - base table. (WIP)
Change-Id: I22142b1723a88a89e91d1557b87a36e7c8767909
(cherry picked from commit 1d82123)
2016-06-20 16:31:40 -07:00
Simon Hunt
b940d69932 LnF updates to navigation menu. (reduce size of font).
Change-Id: I4fd9cf1fb799d8c6adbeb36c86fb1c1499b674e4
(cherry picked from commit ea3c223)
2016-06-20 16:31:40 -07:00
Simon Hunt
fb35b83a55 LnF updates to navigation menu.
Change-Id: I8dce2d5feebcf65143b1c0b4eee8b298a68995e0
(cherry picked from commit c0e282b)
2016-06-20 16:31:40 -07:00
Simon Hunt
d42e5d1a76 LnF updates to masthead.
Change-Id: I6c31d244eb1bad5c87d89b10a5df750043cf12a0
(cherry picked from commit b43f88c)
2016-06-20 16:31:40 -07:00
Simon Hunt
58894c87c7 Separating theme from layout for CSS files.
Change-Id: I4c3cec28b30de8026df4298f65ebf6ad92faf68f
(cherry picked from commit 11f662f)
2016-06-20 14:11:05 -07:00
Thomas Vachuska
fa4bb3b35c Fixing Europe map scale.
Change-Id: I00f8f58e2437c59e5e187e7025707f329fe811c9
2016-06-20 16:22:53 +02:00
Ray Milkey
984e2d8654 Fix returned responses for DELETE operations
Change-Id: I5ad585841c69da86d89bca493a887e9af2cc4da3
2016-06-17 00:05:34 +00:00
Deepa Vaddireddy
0c49b607a1 Fix for JIRA ONOS-4620. Whenever networkconfiguration is deleted even the queued will be removed
Change-Id: I8d7f1a873af90cf86ea34f1a2b1585ef4c3e46e4
2016-06-16 20:47:56 +00:00
Brian O'Connor
1b2aea88c0 Removing gratuitous relativePath from pom.xmls
The default value for relativePath is: ../pom.xml

Change-Id: I1f5e5e6bfa1e91fcddae4f8cb8ab0c00c276e6b0
2016-06-16 07:05:31 +00:00
Yuta HIGUCHI
839b6edf50 Fixing file permissions
- removing executable bit from .java files

Change-Id: I7e993372e1edf942fefb5aaea2e302b3b2baebd9
2016-06-15 02:22:16 +00:00
Hyunsun Moon
1499864095 Fixed NPE and return 404 error upon unknown app activation request
Change-Id: Ic1b7904bcd873812f6e931c3fcb8dad4e4718364
2016-06-10 12:54:26 -07:00
Jonathan Hart
54b83e8996 Improve network config validation errors to show which fields are invalid.
Previously, uploading invalid config results in a generic error message
which makes it difficult to figure out what is wrong with the config

Change-Id: I307d2fc0669679b067389c722556eef3aae098b9
2016-06-08 13:47:45 -07:00
Madan Jampani
492526abe0 Move cluster event handling off of event dispatcher thread to a background thread
Change-Id: I17261490898e51088e08ebd50c50c0ae962400d3
2016-06-07 16:21:16 +00:00
alshabib
20a070bed7 allow applications to be installed by URL from REST API
Change-Id: I6c28d91e1bbc6e77eefba00b8f106fe22edc475b
2016-06-07 08:44:59 +00:00
HIGUCHI Yuta
bee7bb198f Use SPDX license identifier
- Should fix following warnings
  npm WARN package.json Onos-GUI-tests@1.0.0 license should be a valid SPDX license expression
  npm WARN Onos-GUI-tests@1.0.0 No repository field.

SPDX license identifiers:
  http://spdx.org/licenses/

Change-Id: Idb94d7f70135687486d45c3629ff29fc0b4ed549
2016-06-04 20:28:02 +00:00
Simon Hunt
5c1a938147 ONOS-4646: Provide temp. mechanism for topology overlays to modify link details data.
Change-Id: I00b78b1da1580883e09af87ed470e6142a1ec19b
(cherry picked from commit 4f732d2)
2016-06-02 10:03:22 -07:00
HIGUCHI Yuta
6827dc3dea Let JerseyTest pick random port
Change-Id: Ibc2544d0f27487cfd25317f6f5894acda9b89f51
2016-05-31 23:01:30 +00:00
Jian Li
a424a059eb Allow to specify appId through FlowObjective REST API
Change-Id: Iadff74d379e1d5ec4f6e8ff2cda2ad96892d2cc1
2016-05-31 23:00:57 +00:00
Simon Hunt
b1ced8e014 ONOS-4619: Web UI -- Support for chained dialog operations.
Also added bool() helper method to JsonUtils and RequestHandler.

Change-Id: Ie3a9db983f0936b1ad48488ce19d1cdc2e20c16a
(cherry picked from commit 9bf9356)
2016-05-27 19:43:01 -07:00
Simon Hunt
356da76663 GUI -- topo - fix incorrect function reference.
Change-Id: I937808577ceed5c43afe840fb543af3a6c2401fd
2016-05-27 11:54:11 -07:00
Steven Burrows
3a9a6447b3 Topojsons have all been formatted with jsonlint
Added topojson files for all supportted maps, optimised the countries topojson files to remove unused properties.

Added Javadocs for UiTopoMap

Refactored Topo Maps to use UiTopoMapFactory, UiTopoMap classes.

Change-Id: I976137baa7f62a81e48231e1612b967d39dc641d

Refactored Topo Maps to use UiTopoMapFactory, UiTopoMap classes.

Change-Id: I976137baa7f62a81e48231e1612b967d39dc641d

Added Copyright

Change-Id: Ie62171ba6ab08bbf955bc444cd2db41d0c30baaa

Added file path for topojson or svg

Change-Id: Ib1fc79672079ec4c6e2cd35bc39a28abeafca297

Line break to account for the soft limit

Change-Id: Ib2b57ceee139b20a73d7ad0110b37fc1b5326ed7

Added File Path to the Map Class

Change-Id: Ic6ae4ca507e58155bb106ad46be14e048dc3a95c

Added File Path to the Map Class

Change-Id: Ib2200b0bf315f9dccb581447ddb4b6f6669e34ff
2016-05-25 00:20:01 +00:00
Thomas Vachuska
e614e3fd7c Fixing a GUI unit test syntax error.
Change-Id: Ia6278b1125c5e821441a45c33fcbbec71ecff7a0
2016-05-24 17:15:13 -07:00
Jonathan Hart
6921ceb680 Add ability to add mcast sinks via REST API
Change-Id: Ie757537a8b514bfec1e468628dac1a8faa4405fc
2016-05-24 15:22:41 +00:00
Brian O'Connor
e642f7cf7b Bumping version to 1.7.0-SNAPSHOT
Change-Id: Id105bf08ecbdac6d4e214ae035b4220aea90f29f
2016-05-23 18:35:29 -07:00
Matteo Scandolo
209c6c6ec4 [WEB GUI] Fixed tests: (345 test passing, 21 skipped).
Change-Id: Idf24ac6ab599664a052c7cc860a554db82953a79
2016-05-21 17:14:50 +00:00
Matteo Scandolo
fa0548ba8e WEB GUI: livereload enabled for applications
Change-Id: Id267f4902499e378dc7cb471ec59174dbf4c35a3
2016-05-21 17:13:33 +00:00
Matteo Scandolo
231c7542ce [WEB-GUI Tests] Fixing UI unit tests
Change-Id: I6eb28a706e148da17f8b2d7d5f8e44821851462a
2016-05-20 19:28:06 +00:00
Thomas Vachuska
92b016b1c0 Enhanced layout service and hooked-in the ui topo session.
Change-Id: I357143766deb3f0d697a3e7963a53968ccdf3bc8
2016-05-20 19:11:49 +00:00
Matteo Scandolo
cf060775c2 WEB GUI: Live-reloading development environment
Change-Id: Ibe4a80905e7c140ff70f359d43a49e6430cc6838
2016-05-20 15:15:12 +00:00
Simon Hunt
eae81ee7bd Added host-related unit tests for model cache.
Change-Id: Iac27f62daed2c8e9114ce924c3014f35eb0ae5ce
2016-05-19 12:33:22 -07:00
Jian Li
3276d1569a Bump up osgi, jetty-websocket, math3, antlr4, common-io, influxdb-java
osgi-core: 4.3.1 -> 5.0.0
osgi-compendium: 4.3.1 -> 5.0.0
jetty-websocket: 8.1.18.v20150929 -> 8.1.19.v20160209
commons-math3: 3.2 -> 3.6.1
antlr4-runtime: 4.5 -> 4.5.3
commons-io: 2.2 -> 2.4
influxdb-java: 2.1 -> 2.2

Change-Id: Ie4ab08326327b64685cb6809d73927cab4278364
2016-05-18 17:17:43 -07:00
Simon Hunt
58a0dd0cef Included connect point port number in definition of UiLinkId.
Added dumpString() to ModelCache / UiTopology.
Added more unit tests for ModelCache.

Change-Id: I842bb418b25cc901bd12bc28c6660c836f7235bc
2016-05-18 20:59:54 +00:00
Thomas Vachuska
318cd58412 Fixing GUI to bypass the new UiTopoSession code which is not ready.
Change-Id: I5bcee7897f43867fc4d6157c44420937265d488b
2016-05-18 09:45:15 -07:00
Jian Li
2907ad2941 [ONOS-4530] Allow to specify appId when insert FlowRule through REST
- Augment FlowRuleCodec to encode FlowRule
- Add unit test for encode method of FlowRuleCodec
- Add getFlowByAppId and removeFlowByAppId methods in FlowsWebResource
- Add more unit tests for FlowWebResource
- Add FlowRules.json swagger doc
- Rename Flows.json to FlowEntries.json, correct FlowEntries.json

Change-Id: Ic3ec390c13a349e51ae4208adbc478564b6724ba
2016-05-17 18:38:11 +00:00
Simon Hunt
c0f20c1b9a Implemented initial loading of ModelCache.
Created UiLinkId to canonicalize identifiers for UI links, based on src and dst elements.
Added idAsString() and name() methods to UiElement.
Added toString() to UiDevice, UiLink, UiHost.
Created Mock services for testing.

Change-Id: I4d27110e5aca08f29bb719f17e9ec65d6786e2c8
2016-05-17 10:37:37 -07:00
HIGUCHI Yuta
dea375a7de Remove deprecated ConfigProvider.
Change-Id: Ibf927671b0729212e9d1d2bbfd19d4aaab48b9dd
2016-05-16 16:46:38 +00:00
Jian Li
7d06923446 Fix compile time NPE which is encountered in Eclipse IDE
Change-Id: Id447967ad6c7c68f4a6e5c562e7245029a89902f
2016-05-13 17:08:29 -07:00
Jian Li
a3e4c7ada6 Bugfix: fix the swagger broken issue caused by unsupported data type
Current implementation of SwaggerMojo does not support the data type
other than string, int, long and boolean.
This commit temporarily fix the issue on generating swagger doc.
Eventually, we need to augment SwaggerMojo to support more data type
including other primitive types and even Object data types.

Change-Id: I5cb69ea6af7faecfc19660c4bbf619c3d85508f3
2016-05-12 20:29:47 +00:00
Jian Li
847242ba4e [ONOS-4409] Merge getApp REST methods into one, revise unit test
Change-Id: I47e5dd1d795404d3ba2c73487858a3d389790ac9
2016-05-12 17:16:50 +00:00
Jian Li
cc730a66f5 Clean up source code of REST API
- Add missing @Produces annotation
- Correct comments
- Restrict variable access level

Change-Id: I7f75650b83651248370e7781b1e8aec7eac2314c
2016-05-11 04:34:59 +00:00
Jian Li
a7cd9d75f7 Try explicit class casting to remove warning message
Change-Id: If7830a12e0405c5b37f6e864bd7dfb915871959f
2016-05-10 23:08:33 +00:00
Jian Li
c2a542bcab Explicitly return NO CONTENT type response for http DELETE request
Change-Id: I920084b92197bb1687e7d978ad350b2e1290ecbc
2016-05-10 22:24:39 +00:00
Jian Li
cbf49898a2 Treat null as NOT FOUND for application and applicationId
Change-Id: Ieaf65770b0057c85cef47e1904efbc93709ff06b
2016-05-10 22:11:13 +00:00
Jian Li
e1c1c8dbd2 [ONOS-4409] Support applicationId registration and query via REST
With this commit, we can register and query on/off platform
applications through REST API.

Change-Id: I82e1e0e55bbc017d6c0cce7d9a6af7a578d7196e
2016-05-10 21:46:23 +00:00
HIGUCHI Yuta
4c0ef6b54a ONOS-4416 Remove OduCltPort out of core.
Change-Id: I04324a72e48af84afdbfa32b84c8e57f39411000
2016-05-09 23:38:47 +00:00
HIGUCHI Yuta
95d83e8067 ONOS-4415 Remove OmsPort out of core.
Change-Id: Ic796c4e715789ba18f350f28e29db04dd537822f
2016-05-09 23:38:16 +00:00