diff options
Diffstat (limited to 'ems/boco/target/site/jacoco-ut/org.onap.vfc.nfvo.emsdriver.configmgr/ConfigurationImp.java.html')
-rw-r--r-- | ems/boco/target/site/jacoco-ut/org.onap.vfc.nfvo.emsdriver.configmgr/ConfigurationImp.java.html | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/ems/boco/target/site/jacoco-ut/org.onap.vfc.nfvo.emsdriver.configmgr/ConfigurationImp.java.html b/ems/boco/target/site/jacoco-ut/org.onap.vfc.nfvo.emsdriver.configmgr/ConfigurationImp.java.html deleted file mode 100644 index e5ea0bf..0000000 --- a/ems/boco/target/site/jacoco-ut/org.onap.vfc.nfvo.emsdriver.configmgr/ConfigurationImp.java.html +++ /dev/null @@ -1,58 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>ConfigurationImp.java</title><link rel="stylesheet" href="../jacoco-resources/prettify.css" type="text/css"/><script type="text/javascript" src="../jacoco-resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">vfc-nfvo-driver-ems-ems-boco</a> > <a href="index.source.html" class="el_package">org.onap.vfc.nfvo.emsdriver.configmgr</a> > <span class="el_source">ConfigurationImp.java</span></div><h1>ConfigurationImp.java</h1><pre class="source lang-java linenums">/** - * Copyright 2017 BOCO Corporation. CMCC Technologies Co., Ltd - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.onap.vfc.nfvo.emsdriver.configmgr; - -import java.util.List; -import java.util.Properties; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.onap.vfc.nfvo.emsdriver.commons.model.CollectVo; -import org.onap.vfc.nfvo.emsdriver.commons.model.EMSInfo; - - -<span class="fc" id="L27">public class ConfigurationImp implements ConfigurationInterface{</span> - -<span class="fc" id="L29"> private Log log = LogFactory.getLog(ConfigurationImp.class);</span> - - @Override - public List<EMSInfo> getAllEMSInfo() { -<span class="fc" id="L33"> List<EMSInfo> emsInfos = ConfigurationManager.getAllEMSInfos();</span> -<span class="fc" id="L34"> return emsInfos;</span> - } - - @Override - public CollectVo getCollectVoByEmsNameAndType(String emsName, String type) { -<span class="fc" id="L39"> CollectVo collectVo = null;</span> - -<span class="fc" id="L41"> EMSInfo emsInfo = ConfigurationManager.getEMSInfoByName(emsName);</span> -<span class="pc bpc" id="L42" title="1 of 2 branches missed."> if(emsInfo != null){</span> -<span class="fc" id="L43"> collectVo = emsInfo.getCollectVoByType(type);</span> - }else{ -<span class="nc" id="L45"> log.error("ConfigurationManager.getEMSInfoByName return null");</span> - } -<span class="fc" id="L47"> return collectVo;</span> - } - - @Override - public Properties getProperties() { -<span class="fc" id="L52"> Properties p = ConfigurationManager.getProperties();</span> -<span class="fc" id="L53"> return p;</span> - } - - -} -</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.7.201606060606</span></div></body></html>
\ No newline at end of file |