2 * Copyright (c) 2016 highstreet technologies GmbH and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
11 'app/core/core.services',
12 'common/config/env.module',
13 'app/mwtnCommons/mwtnCommons.module'], function(ng) {
14 var onapAaiApp = angular.module('app.onapAai', ['ui.grid', 'ui.bootstrap', 'app.core',
15 'ui.router.state', 'config', 'ui.grid.exporter',
16 'ui.grid.moveColumns', 'ui.grid.pinning', 'ui.grid.selection',
17 'ui.grid.resizeColumns', 'ui.grid.infiniteScroll','ui.grid.pagination' ]);
19 onapAaiApp.config(function($stateProvider, $compileProvider, $controllerProvider, $provide, NavHelperProvider, $translateProvider) {
20 onapAaiApp.register = {
21 controller : $controllerProvider.register,
22 directive : $compileProvider.directive,
23 factory : $provide.factory,
24 service : $provide.service
28 NavHelperProvider.addControllerUrl('app/onapAai/onapAai.controller');
29 NavHelperProvider.addToMenu('onapAai', {
30 "link" : "#/onapAai/",
31 "active" : "main.onapAai",
33 "icon" : "fa fa-th", // Add navigation icon css class here
36 "description" : "Open Network Automation Platform (ONAP) - Active and Available Inventory (AAI)"
40 var access = routingConfig.accessLevels;
42 $stateProvider.state('main.onapAai', {
43 url: 'onapAai/:nodeId',
47 templateUrl: 'src/app/onapAai/onapAai.tpl.html',
48 controller: 'onapAaiCtrl'