diff options
author | Rich Tabedzki <richard.tabedzki@att.com> | 2017-04-25 10:48:58 +0000 |
---|---|---|
committer | Rich Tabedzki <richard.tabedzki@att.com> | 2017-04-25 10:51:18 +0000 |
commit | a632cf9550fb4ceb1e1f357d307dfbb94b87f4f1 (patch) | |
tree | dd0621f3450fea07b72594177c3e3bede9998f60 /aai-service/provider/src/main/java/org/openecomp/sdnc/sli/aai/AAIClient.java | |
parent | 21dee1d3c71ff2b55b663bb1f381b84da3aef370 (diff) |
[SDNC-7] summary
Implemented formatted-query feature
Change-Id: Idb8c0d1c5703967d7b165fca643cbfd183563cfb
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
Diffstat (limited to 'aai-service/provider/src/main/java/org/openecomp/sdnc/sli/aai/AAIClient.java')
-rw-r--r-- | aai-service/provider/src/main/java/org/openecomp/sdnc/sli/aai/AAIClient.java | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/aai-service/provider/src/main/java/org/openecomp/sdnc/sli/aai/AAIClient.java b/aai-service/provider/src/main/java/org/openecomp/sdnc/sli/aai/AAIClient.java index 602fdb5..7a1077a 100644 --- a/aai-service/provider/src/main/java/org/openecomp/sdnc/sli/aai/AAIClient.java +++ b/aai-service/provider/src/main/java/org/openecomp/sdnc/sli/aai/AAIClient.java @@ -3,7 +3,7 @@ * openECOMP : SDN-C * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights - * reserved. + * reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,7 +21,9 @@ package org.openecomp.sdnc.sli.aai; +import java.io.IOException; import java.net.URL; +import java.util.HashMap; import java.util.Map; import org.openecomp.sdnc.sli.SvcLogicContext; @@ -31,9 +33,9 @@ import org.openecomp.sdnc.sli.SvcLogicResource; import org.openecomp.sdnc.sli.SvcLogicResource.QueryStatus; import org.openecomp.sdnc.sli.aai.data.notify.NotifyEvent; import org.openecomp.sdnc.sli.aai.data.v1507.VServer; -import org.openecomp.sdnc.sli.aai.update.Update; +import com.fasterxml.jackson.core.JsonParseException; +import com.fasterxml.jackson.databind.JsonMappingException; -import com.fasterxml.jackson.databind.ObjectMapper; import org.openecomp.aai.inventory.v10.*; @@ -48,7 +50,6 @@ public interface AAIClient extends SvcLogicResource, SvcLogicJavaPlugin { public boolean deleteNetworkVceData(String vnf_id, String resourceVersion) throws AAIServiceException; // Service Inteface - public ServiceInstance requestServiceInterfaceData(String svc_instance_id) throws AAIServiceException; public ServiceInstance requestServiceInterfaceData(String customer_id, String service_type, String svc_instance_id) throws AAIServiceException; public boolean postServiceInterfaceData(String customer_id, String service_type, String svc_instance_id, ServiceInstance request) throws AAIServiceException; public SearchResults requestServiceInstanceURL(String svc_instance_id) throws AAIServiceException; @@ -197,4 +198,7 @@ public interface AAIClient extends SvcLogicResource, SvcLogicJavaPlugin { public QueryStatus restore(Map<String, String> params, SvcLogicContext ctx) throws SvcLogicException; public void logKeyError(String keys); + + public QueryStatus processResponseData(String rv, String resource, AAIRequest request, String prefix, SvcLogicContext ctx, HashMap<String, String> nameValues, String modifier) throws JsonParseException, JsonMappingException, IOException, AAIServiceException ; + } |