Add seed code for sdnr app based on ONF Centennial
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / ux / mwtnCompare / mwtnCompare-module / src / main / resources / mwtnCompare / mwtnCompare.services.js
1 /*
2  * Copyright (c) 2016 highstreet technologies GmbH and others. All rights reserved.
3  *
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
7  */
8
9 define(['app/mwtnCompare/mwtnCompare.module'],function(mwtnCompareApp) {
10
11   mwtnCompareApp.register.factory('$mwtnCompare', function($mwtnCommons, $mwtnDatabase) {
12
13     var service = {};
14     
15     service.getConnectionStatus = $mwtnCommons.getConnectionStatus;
16     service.getPacParts = $mwtnCommons.getPacParts;
17     service.getRequiredNetworkElements = $mwtnCommons.getRequiredNetworkElements;
18     service.getSchema = $mwtnDatabase.getSchema;
19     service.getType = $mwtnCommons.getType;
20     service.separator = $mwtnCommons.separator;
21     
22     
23     return service;
24   });
25
26 });