Add the API of query PNF.
[aai/esr-server.git] / esr-mgr / src / main / java / org / onap / aai / esr / externalservice / aai / NetworkProxy.java
index 933ecea..075c959 100644 (file)
@@ -43,4 +43,12 @@ public class NetworkProxy {
             throw new ExtsysException("PUT PNF to A&AI failed.", e);
         }
     }
+    
+    public String queryPNF(String pnfId) throws ExtsysException {
+        try {
+            return network.queryPNF(transactionId, fromAppId, authorization, pnfId);
+        } catch (Exception e) {
+            throw new ExtsysException("Query PNF from A&AI failed.", e);
+        }
+    }
 }