2 * @copyright 2017 highstreet technologies 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
9 define(['app/mwtnCommons/mwtnCommons.module', 'app/mwtnTest/mwtnTest.module'],function(mwtnTestApp) {
11 mwtnTestApp.register.factory('$mwtnTest', function($mwtnCommons, $mwtnDatabase, $mwtnLog) {
13 var COMPONENT = '$mwtnTest';
14 $mwtnLog.info({component: COMPONENT, message: '$mwtnTest started!'});
18 service.parts = $mwtnCommons.parts;
19 service.getPacParts = $mwtnCommons.getPacParts;
20 service.getModules = $mwtnDatabase.getModules;
21 service.getPartGlobalId = $mwtnCommons.getPartGlobalId;
22 service.getPartLocalId = $mwtnCommons.getPartLocalId;
23 service.layerProtocolNameOrder = $mwtnCommons.layerProtocolNameOrder;
25 service.separator = $mwtnCommons.separator;
26 service.yangify = $mwtnCommons.yangify;
27 service.yangifyObject = $mwtnCommons.yangifyObject;