aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ConsumerBusinessLogic.java
diff options
context:
space:
mode:
authorJvD_Ericsson <jeff.van.dam@est.tech>2023-10-19 09:18:55 +0100
committerJvD_Ericsson <jeff.van.dam@est.tech>2023-10-26 13:13:15 +0100
commit5d7ca5c1e86d7633a1954ae89334df18d264f82b (patch)
tree67637eb436ceac8c98d27ad9a4b154e0c65e8470 /catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ConsumerBusinessLogic.java
parent6b58f89d940d56bfda38b5f86ef5a86ee29f80cf (diff)
Improve test coverage
- Added some tests to - ToscaExportHandlerTest.java - ToscaExportHandlerTest.java - Removed unused code Issue-ID: SDC-4654 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Iee23e3a148005e960eb9c986b7b0605e4f7c8337
Diffstat (limited to 'catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ConsumerBusinessLogic.java')
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ConsumerBusinessLogic.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ConsumerBusinessLogic.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ConsumerBusinessLogic.java
index 93fb171539..f895a20c0c 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ConsumerBusinessLogic.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ConsumerBusinessLogic.java
@@ -248,10 +248,6 @@ public class ConsumerBusinessLogic extends BaseBusinessLogic {
return Either.left(consumer);
}
- public Either<ConsumerDefinition, ResponseFormat> getConsumer(String consumerId) {
- return getConsumer(consumerId, null);
- }
-
public Either<ConsumerDefinition, ResponseFormat> deleteConsumer(String consumerId, User user) {
ConsumerDefinition tmpConsumer = new ConsumerDefinition();
tmpConsumer.setConsumerName(consumerId);