aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/aai/modelloader/restclient/BabelServiceClient.java
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-04-17 16:06:40 +0200
committerFiete Ostkamp <fiete.ostkamp@telekom.de>2024-04-18 08:57:40 +0000
commit0e9a90774a86475f40d4e946798cf765910a31f6 (patch)
treed502db5ea90f7a625bf0df98ff62052f66b5b99d /src/main/java/org/onap/aai/modelloader/restclient/BabelServiceClient.java
parentf265fce93af9ccb200162fbeaa0705b418397851 (diff)
Refactor Babel related code in model-loader
- introduce BabelArtifactService - simplify babel http client by removing factory and https support Issue-ID: AAI-3827 Change-Id: I5c004d342687c8aaa8f26927342752d472f05da3 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'src/main/java/org/onap/aai/modelloader/restclient/BabelServiceClient.java')
-rw-r--r--src/main/java/org/onap/aai/modelloader/restclient/BabelServiceClient.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/onap/aai/modelloader/restclient/BabelServiceClient.java b/src/main/java/org/onap/aai/modelloader/restclient/BabelServiceClient.java
index f69752b..8328c42 100644
--- a/src/main/java/org/onap/aai/modelloader/restclient/BabelServiceClient.java
+++ b/src/main/java/org/onap/aai/modelloader/restclient/BabelServiceClient.java
@@ -23,10 +23,10 @@ package org.onap.aai.modelloader.restclient;
import java.util.List;
import org.onap.aai.babel.service.data.BabelArtifact;
+import org.onap.aai.babel.service.data.BabelRequest;
public interface BabelServiceClient {
- List<BabelArtifact> postArtifact(byte[] artifactPayload, String artifactName, String artifactVersion,
- String transactionId) throws BabelServiceClientException;
+ List<BabelArtifact> postArtifact(BabelRequest babelRequest, String transactionId) throws BabelServiceClientException;
}