summaryrefslogtreecommitdiffstats
path: root/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/service/SdnServiceConsumer.java
diff options
context:
space:
mode:
authorajay priyadarshi <ajay.priyadarshi@ril.com>2018-03-28 12:15:48 +0530
committerajay priyadarshi <ajay.priyadarshi@ril.com>2018-03-28 12:15:48 +0530
commitb96679bbc5f58560e6d9ae01f32f26eaaefa4729 (patch)
tree1d55848c37866026ad99527f463efdf34178e769 /zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/service/SdnServiceConsumer.java
parent3b7cee203aeeb82a1b8b6d23a59f3681808b02f6 (diff)
Sonar: Crictical bug fixes of sfc-driver
service/ISdnControllerService.java file name:SdnServiceConsumer.java Change-Id: I6d1a7ca4d204ad855a35c5cd8c7c95abc35f2ac3 Issue-ID: VFC-856 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
Diffstat (limited to 'zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/service/SdnServiceConsumer.java')
-rw-r--r--zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/service/SdnServiceConsumer.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/service/SdnServiceConsumer.java b/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/service/SdnServiceConsumer.java
index c44f9ee..1b90fed 100644
--- a/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/service/SdnServiceConsumer.java
+++ b/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/service/SdnServiceConsumer.java
@@ -22,16 +22,17 @@ import org.glassfish.jersey.client.ClientConfig;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+import java.io.IOException;
public class SdnServiceConsumer {
private static final Logger logger = LoggerFactory.getLogger(SdnServiceConsumer.class.getName());
- public static ISdnControllerService getSdnConProxy(String url) throws Exception {
+ public static ISdnControllerService getSdnConProxy(String url) throws IOException {
return ConsumerFactory.createConsumer(url, new ClientConfig().register(JacksonJsonProvider.class),
ISdnControllerService.class);
}
- public static MsbService getMsbRegisterService(String url) throws Exception {
+ public static MsbService getMsbRegisterService(String url) throws IOException {
return ConsumerFactory.createConsumer(url, new ClientConfig().register(JacksonJsonProvider.class),
MsbService.class);
}