From 3e9b626893f0e5fccfe91f239bfee53bdd464c9c Mon Sep 17 00:00:00 2001 From: Lukasz Muszkieta Date: Thu, 17 Jan 2019 08:49:22 +0100 Subject: remove unused uuid parameter Change-Id: I0c4d5d6fcbf5d7c48c82b4485980adf2fde809cd Issue-ID: SO-729 Signed-off-by: Lukasz Muszkieta --- common/src/main/java/org/onap/so/client/aai/AAIRestClientI.java | 6 +++--- common/src/main/java/org/onap/so/client/aai/AAIRestClientImpl.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'common/src/main') diff --git a/common/src/main/java/org/onap/so/client/aai/AAIRestClientI.java b/common/src/main/java/org/onap/so/client/aai/AAIRestClientI.java index 785c82bb71..62d7d565ac 100644 --- a/common/src/main/java/org/onap/so/client/aai/AAIRestClientI.java +++ b/common/src/main/java/org/onap/so/client/aai/AAIRestClientI.java @@ -31,11 +31,11 @@ public interface AAIRestClientI { List getPhysicalServerByVnfId(String vnfId) throws IOException; - void updateMaintenceFlagVnfId(String vnfId, boolean inMaint) throws Exception; + void updateMaintenceFlagVnfId(String vnfId, boolean inMaint); GenericVnf getVnfByName(String vnfId); - Optional getPnfByName(String pnfId, String transactionLoggingUuid) throws Exception; + Optional getPnfByName(String pnfId); - void createPnf(String pnfId, String transactionLoggingUuid, Pnf pnf) throws IOException; + void createPnf(String pnfId, Pnf pnf); } diff --git a/common/src/main/java/org/onap/so/client/aai/AAIRestClientImpl.java b/common/src/main/java/org/onap/so/client/aai/AAIRestClientImpl.java index 1c02409b56..b2c7fcc062 100644 --- a/common/src/main/java/org/onap/so/client/aai/AAIRestClientImpl.java +++ b/common/src/main/java/org/onap/so/client/aai/AAIRestClientImpl.java @@ -80,7 +80,7 @@ public class AAIRestClientImpl implements AAIRestClientI { } @Override - public Optional getPnfByName(String pnfId, String transactionLoggingUuid) { + public Optional getPnfByName(String pnfId) { Response response = new AAIResourcesClient() .getFullResponse(AAIUriFactory.createResourceUri(AAIObjectType.PNF, pnfId)); if (response.getStatus() != 200) { @@ -91,7 +91,7 @@ public class AAIRestClientImpl implements AAIRestClientI { } @Override - public void createPnf(String pnfId, String transactionLoggingUuid, Pnf pnf) { + public void createPnf(String pnfId, Pnf pnf) { new AAIResourcesClient() .createIfNotExists(AAIUriFactory.createResourceUri(AAIObjectType.PNF, pnfId), Optional.of(pnf)); } -- cgit 1.2.3-korg