This page is a work in progress.
Overview
There are a number of Angular-based services that the ONOS GUI comes with ready made. All of our services are actually factories. Below you will find short summaries of what each service provides and links to pages with more information.
All of these services are in the directory web/gui/src/main/webapp/app/fw/.
Layer
The module holding these services is onosLayer
and is in layer/layer.js
.
Service | Description |
---|---|
FlashService | |
PanelService | Provides an API to create and destroy panels. |
QuickHelpService | |
VeilService |
Mast
The module holding these services is onosMast
and is in mast/mast.js
.
Service | Description |
---|---|
MastService |
Nav
The module holding these services is onosNav
and is in nav/nav.js
.
Service | Description |
---|---|
NavService |
Remote
The module holding these services is onosRemote
and is in remote/remote.js
.
Service | Description |
---|---|
RestService | Abstracts rest calls using the $http service. |
UrlFnService | |
WebSocketService | |
WsEventService | |
WSock | Web socket wrapper. |
SVG
The module holding these services is onosSvg
and is in svg/svg.js
.
Service | Description |
---|---|
GeoDataService | |
GlyphService | |
IconService | |
MapService | |
SvgUtilService | |
ZoomService |
Util
The module holding these services is onosUtil
and is in util/util.js
.
Service | Description |
---|---|
FnService | Provides general purpose functions that are useful throughout the application. |
KeyService | |
PrefsService | |
RandomService | |
ThemeService |
Widget
The module holding these services is onosWidget
and is in widget/widget.js
.
Service | Description |
---|---|
ButtonService | Provides an API to create buttons, toggles, and radio button sets. |
TableService | Allows user to reset sort icons created by the directives written for tables. |
TableBuilderService | Builds a generic table view. |
ToolbarService | Provides an API to create a toolbar. |
TooltipService | Provides an API to install tooltips. |