Fix the sonar issue https://sonar.onap.org/component_issues?id=org.onap.aai.esr-server%3Aaai-esr-server#resolved=false|severities=MAJOR
Change-Id: I172a75efd156c29faa5b146d73ee1d9d09b5e40a
Issue-ID: AAI-734
Signed-off-by: Lizi <li.zi30@zte.com.cn>
import com.eclipsesource.jaxrs.consumer.ConsumerFactory;
public class VimManagerProxy {
import com.eclipsesource.jaxrs.consumer.ConsumerFactory;
public class VimManagerProxy {
+
+ private VimManagerProxy() {
+
+ }
public static void updateVim(String cloudOwner, String cloudRegionId, Tenant tenant) throws ExtsysException {
ClientConfig config = new ClientConfig(new VimUpdateProvider());
public static void updateVim(String cloudOwner, String cloudRegionId, Tenant tenant) throws ExtsysException {
ClientConfig config = new ClientConfig(new VimUpdateProvider());
\r
public class VimManagerProxyTest {\r
\r
\r
public class VimManagerProxyTest {\r
\r
- VimManagerProxy proxy;\r
-\r
@Before\r
public void init() {\r
MsbConfig.setMsbServerAddr("http://msb-server");\r
@Before\r
public void init() {\r
MsbConfig.setMsbServerAddr("http://msb-server");\r
- proxy = new VimManagerProxy();\r
}\r
\r
@Test(expected = ExtsysException.class)\r
}\r
\r
@Test(expected = ExtsysException.class)\r