178 Commits

Author SHA1 Message Date
Sean Condon
436c60a1f6 Upgraded to bazel 3.7.2 and rules_nodejs 2.3.2
Change-Id: If53686f2475c4f367909de577b4da95de8e16768
2021-01-04 15:42:57 +00:00
Sean Condon
8a8bc4b1e5 [ONOS-8096] In GUI2 device panel space before colon creates unnecessary wrap
Change-Id: I08ca8b70dc6c21d12714f510c9fa3473ad41c261
2020-05-22 07:34:24 +00:00
Sean Condon
3dd062fb14 GUI2 Change gui2-fw-lib refs to abs paths
Change-Id: Iddc121c70ddf9fa69c8d9f99e9768de6c2143eab
2020-04-14 09:29:28 +01:00
Sean Condon
d6f95bfcef Added the Yang GUI to GUI2
Change-Id: I843db3838668e21a77837faaf00d4d6834676d8d
2020-01-21 20:30:36 +00:00
Sean Condon
a3ad779274 Added back in Bazel tests for gui2-fw-lib and gui2-topo-lib
Also used a named path in typescript for gui2-fw-lib

Change-Id: I7233565e53b9b86e1766228ecc96b21ea6f7499d
2020-01-08 13:11:31 +00:00
Sean Condon
98b6ddb28a Added native Bazel build to GUI2. Reduced a lot of the unused Angular CLI structures
Reviewers should look at the changes in WORKSPACE, BUILD, BUILD.bazel, README.md files
This is only possible now as rules_nodejs went to 1.0.0 on December 20
gui2 has now been made the entry point (rather than gui2-fw-lib)
No tests or linting are functional yet for Typescript
Each NgModule now has its own BUILD.bazel file with ng_module
gui2-fw-lib is all one module and has been refactored to simplify the directory structure
gui2-topo-lib is also all one module - its directory structure has had 3 layers removed
The big bash script in web/gui2/BUILD has been removed - all is done through ng_module rules
in web/gui2/src/main/webapp/BUILD.bazel and web/gui2/src/main/webapp/app/BUILD.bazel

Change-Id: Ifcfcc23a87be39fe6d6c8324046cc8ebadb90551
2020-01-04 12:17:01 +00:00
Sean Condon
7c51a0115a Alarm View column width and coloured by severity
Change-Id: I9e11efb5a6d42a9fda13a413023f4ddeb3ab0c5a
2019-12-04 14:59:02 +00:00
Sean Condon
dfc6dbab27 Added BUILD file for gui2-fw-lib bazel build
This is another step along the way of having Native Bazel builds for Angular
Not fully there yet - waiting for Angular v9 in next 2 weeks
but don't want to wait that long to merge all of this

For most people the main concern is updates to WORKSPACE

Change-Id: I28170b8f8daaa2959327c259fe6a10df075113bb
2019-11-21 20:40:38 +00:00
Sean Condon
0a884ad26a Upgrading NodeJS to 10.16 and GUI2 to Angular 8
Change-Id: I722ffd8438728e6658a0589aa12b087ad5da8864
2019-11-04 21:07:45 +00:00
Carmelo Cascone
d33d3b4838 Build ONOS exclusively with Bazel-provided remote JDK
This change make it possible to build ONOS in a host system without JDK
installed, or ignoring the one installed, instead relying exclusively on
the "remote" JDK provided by Bazel. The JDK version, along with the
toolchain configuration (language source and target values), are checked
in as part of the build files (tools/build/bazel/BUILD), thus enabling
deterministic builds that are less dependent of the host environment.

To allow this, this change replaces all references to JDK-related tools
expected to be on the host PATH, such as the jar command, with their
counterpart from the remote JDK (now a sandboxed relative path). This is
achieved by:

  * Creating a new "jdk_genrule" macro that exposes the remote JDK bin
    directory to the PATH visible by the genrule command. This is used
    for all genrule targets invoking for example `jar`;
  * Modifying custom Starlak rule implementations by replacing
    invocation to JDK tools with a path from the remote one.
  * Renaming the onos/lib directory to onos/deps as it clashes with
    the Bazel-provided JDK's lib directory (that for some strange reason
    is resolved on the ONOS workspace)

Finally, this change is reflected on the Dockerfile which now builds
ONOS from an Ubuntu image with no JDK installed.

Change-Id: Ie7d990cfce6fef00ddb4ffffe4c6205b8530fb47
2019-06-18 22:26:33 +00:00
Sean Condon
64060ffa8b GUI2 Updated unit tests for errors relating to topojson testing
Change-Id: Ic6c15ad3e5f9bd18cdb1e64955bc5cec7c8e048c
2019-05-30 15:48:11 +01:00
Sean Condon
4b7818d255 Prepared GUI2 FW lib for publishing on npmjs.org
Change-Id: Icdbdacb24848795b644fc8b76c628fbdb8701e96
2019-05-23 08:44:12 +00:00
Sean Condon
6eb2cb8712 GUI2 update Angular component versions to 2.1.0
Change-Id: I47d5ede8c5cfdf77e309b1883984a1220d8d9723
2019-04-17 14:18:28 +01:00
Sean Condon
95fb5749b6 GUI2 Changed loading screen display to be a component
Change-Id: Id1592b498e6827ec4cd3544dec92e46f00e8d378
2019-04-02 20:07:01 +01:00
Ray Milkey
40b62fd42c upgrade nodejs bazel rules to version 0.26.0
Change-Id: Iee23d220e2cf2ca5d089ecf271f4a6ef8c9df3a8
2019-02-27 15:00:38 +00:00
Ray Milkey
312221c3b5 Removal of deprecated UI methods
- removed deprecated addProp() methods from property panel
- removed deprecated DateTimeZone based withZone() method

Change-Id: I251ca70e49f37714e60cb5312a444baa0ef88bd8
2019-02-20 20:53:46 +00:00
Sean Condon
4747a1824d Increased timeout for Angular tests for GUI2
Was causing tests to fail in Bazel

Change-Id: Id436ca7fc123a2842471835fddcbc13309a436d1
2018-11-28 17:38:08 +00:00
Ray Milkey
fe6afd8c38 Sonar suggestions
Change-Id: I68d400185ffc885bf92b558a2565a49af149ef0c
2018-11-26 23:15:53 +00:00
Thomas Vachuska
52f2cd1520 Detangling incubator: virtual nets, tunnels, resource labels, oh my
- virtual networking moved to /apps/virtual; with CLI & REST API
- tunnels and labels moved to /apps/tunnel; with CLI & REST API; UI disabled for now
- protobuf/models moved to /core/protobuf/models
- defunct grpc/rpc registry stuff left under /graveyard
- compile dependencies on /incubator moved to respective modules for compilation
- run-time dependencies will need to be re-tested for dependent apps

- /graveyard will be removed in not-too-distant future

Change-Id: I0a0b995c635487edcf95a352f50dd162186b0b39
2018-11-13 22:14:50 +00:00
Sean Condon
aa4366d5d7 Implemented Instance View of Topo in GUI2
Change-Id: If603481e729ebc19a6f91db2739f1b422cc762d0
2018-11-12 17:20:20 +00:00
Ray Milkey
3380f44e9e Merge branch 'master' into dev-karaf-4.2.1
Change-Id: I32f624941b0ac6725786166a932f2be39cb6a2f0
2018-11-05 08:42:14 -08:00
Sean Condon
7d275166c4 Upgrade to Angular 7 for GUI2
Change-Id: I5085bacb347ffc9af78cf7d3408853f76a5812a0
2018-11-04 18:29:24 +00:00
Thomas Vachuska
07782d262b Eliminated old features.xml and app.xml files required by no-longer supported Maven build.
Change-Id: I060af47c85c1b83d35f6cc8e462d6d609872b15a
2018-11-01 20:41:00 +00:00
Ray Milkey
68032db277 Remove blueprint files for 3.0 karaf CLI
Change-Id: I017db2a3c66cea8f0f7c568e5d4f3f302170936d
2018-11-01 20:39:23 +00:00
Ray Milkey
4694e0618f OSGi property annotations for remaining apps
Change-Id: I5f87ebeb65eb85ee7161e35a838d9275fde22787
2018-10-31 13:17:48 -07:00
Thomas Vachuska
22ea6126e4 Removing BUCK files and other Buck-related auxiliaries.
Change-Id: I23691380efcd9bce4906695605214ed59ada0e87
2018-10-24 20:02:31 +00:00
Ray Milkey
79123afe6a Fixes for karaf 4.2.1 CLI annotations for fault management app
Change-Id: Ib24756d72128f29b3a15a6858743bccd01ff6bb5
2018-10-09 16:42:27 +00:00
Ray Milkey
df521294ce Merge remote-tracking branch 'origin/master' into merge-master
Change-Id: I4608093c4400a313b253508ac6bc8a84ecba5c7e
2018-10-04 15:13:33 -07:00
Sean Condon
87b7850512 FM GUI as an NPM library for GUI 2
* added dynamic loading of external modules
* new commands on Alarm to allow create/updating/delete
* new fields in alarm gui

Change-Id: I9a7f4d665618a7949bb02039374974dabf6e5363
2018-10-03 10:42:49 +01:00
Ray Milkey
7a2dee599c [WIP] Add @Service tags to all commands and completers
Change-Id: I8d6ae6185ada30a92481ddb7b603af323656dc3a
2018-09-28 11:21:57 -07:00
Ray Milkey
86ad7bb5e7 [WIP] apps CLI changes for karaf upgrade
Change-Id: I283efc39c7d4f4b31344f1d2d0cdd2b98a60932d
2018-09-28 11:21:43 -07:00
Ray Milkey
d84f89ba3d [WIP] Upgrade ONOS to karaf version 4.2.1
Change-Id: I7cd40c995bdf1c80f94b1895fb3344e32404c7fa
2018-09-28 11:20:57 -07:00
Ray Milkey
761e80a427 Remove pom files from ONOS
Change-Id: I53e2395466cba10222d638736635b11380421d98
2018-08-21 18:11:58 +00:00
Ray Milkey
312d987732 Starting snapshot 1.15.0-SNAPSHOT
Change-Id: I9239c7695f7faf6dc184a0ff54a34dedf4761b2d
2018-08-20 16:09:54 -07:00
ONOS Jenkins User
03e5521fba Starting snapshot 1.14.0-SNAPSHOT 2018-08-14 22:13:58 +00:00
ONOS Jenkins User
3594c24cb2 Tagging 1.14.0-rc2 2018-08-14 22:13:02 +00:00
ONOS Jenkins User
4e5f2d67ac Starting snapshot 1.14.0-SNAPSHOT 2018-08-13 23:16:37 +00:00
ONOS Jenkins User
cff0bd8922 Tagging 1.14.0-rc1 2018-08-13 23:15:43 +00:00
Ray Milkey
4867af2f9c Revert "Tagging 1.14.0-b1"
This reverts commit 78ce40093ac008fd6d169ab83d2d5961f91f6e31.

Change-Id: I8482f550c30f75d65333f6be9c9115a930abc56f
2018-08-10 16:53:10 -07:00
Ray Milkey
78ce40093a Tagging 1.14.0-b1 2018-08-10 11:16:44 -07:00
Ray Milkey
a01809a018 bazel file formatting
Change-Id: Ib19ee630e383250b0e0ba43e6d864ff727069fab
2018-08-09 22:55:06 +00:00
Andrea Campanella
d958018292 Fixing CLI dependency in faultmanagement
Change-Id: Ib6ce290ccdee67a789573deb228c21da2fb7c2c1
2018-08-09 15:51:41 +00:00
Thomas Vachuska
67484d9008 Added RBAC for REST APIs.
- admin role required for POST, PUT, DELETE & PATCH
- viewer role required for all other requests
- cleaned up all web.xml files for consistency and correctness

Change-Id: I33bad5cec0fb0f4285eed84173025b0a107b5aec
2018-07-17 12:10:00 -07:00
Ray Milkey
a4f8d9d914 Fix some test dependencies and pretty format all BUILD files
Change-Id: I300e236c15491f8724f1e493e2414388217f2174
2018-07-11 10:41:31 -07:00
Thomas Vachuska
970b964b41 Adding more Bazel BUILD files
- added defs for CLI and REST

Change-Id: I6ce2c5aac5fcdd265561d6aa2abba66f5556ff3a
2018-07-11 15:01:42 +00:00
Thomas Vachuska
7d649b581e Adding Bazel BUILD files for faultmanagement and evpn-service app.
Change-Id: Ib8061911ed07d9573d1fe74cbcd606f8b6df5293
2018-07-10 23:17:24 +00:00
Jordan Halterman
0a2bd45ad2 Add atomic mastership/term/backups method to MastershipService
Change-Id: I18c3aeaa5101c9ce08ff38fffd70eaec903a0f3e
2018-06-29 19:45:22 +00:00
Yuta HIGUCHI
7847227140 Fix artifactId
- bgp, bgpcep, general provider
- onos-app- => onos-apps-

Change-Id: I49fd905a0765d21f7cc329a7f7a5593c78dd3d28
2018-05-04 16:23:00 +00:00
Ray Milkey
bca9049101 Starting snapshot 1.14.0-SNAPSHOT
Change-Id: I97bab4e31d2b701f015289eae29d0c58a4937685
2018-04-13 12:47:31 -07:00
Ray Milkey
86ee5e8711 Upgrade fasterXML libraries for OS-9
Upgrade fasterXML to version 2.9.5 to address security vulnerability
Wrap calls to treeRead(InputStream) to handle new behavior of null streams

Change-Id: Id199cfacd0cf9e5371dc33de9f1e058c2e72eaa5
2018-04-03 16:49:03 +00:00