diff options
author | vasraz <vasyl.razinkov@est.tech> | 2021-02-25 20:30:39 +0000 |
---|---|---|
committer | Christophe Closset <christophe.closset@intl.att.com> | 2021-02-26 13:18:29 +0000 |
commit | 0a254eb756da8407ecf3aabc6dc15013aeb7f9be (patch) | |
tree | 1af48a4b6ef6fc717db576ffa5d19d7ac4342857 /asdctool/src/main/java/org/openecomp | |
parent | d673cb77453ba5f8e269d2b919e3a5a1d577bf53 (diff) |
Improve test coverage
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3490
Change-Id: Idb71d433834a8612a5434c84c7f0fdef5573cea2
Diffstat (limited to 'asdctool/src/main/java/org/openecomp')
-rw-r--r-- | asdctool/src/main/java/org/openecomp/sdc/asdctool/migration/config/mocks/DistributionEngineMock.java | 61 |
1 files changed, 2 insertions, 59 deletions
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/migration/config/mocks/DistributionEngineMock.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/migration/config/mocks/DistributionEngineMock.java index dde7f6a2ac..7b90e75305 100644 --- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/migration/config/mocks/DistributionEngineMock.java +++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/migration/config/mocks/DistributionEngineMock.java @@ -7,9 +7,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -21,66 +21,9 @@ package org.openecomp.sdc.asdctool.migration.config.mocks; import org.openecomp.sdc.be.components.distribution.engine.IDistributionEngine; -import org.openecomp.sdc.be.components.distribution.engine.INotificationData; -import org.openecomp.sdc.be.dao.api.ActionStatus; -import org.openecomp.sdc.be.model.Service; -import org.openecomp.sdc.be.model.User; -import org.openecomp.sdc.be.model.operations.api.StorageOperationStatus; -import org.openecomp.sdc.be.resources.data.OperationalEnvironmentEntry; import org.springframework.stereotype.Component; -import java.util.List; - @Component("distributionEngine") public class DistributionEngineMock implements IDistributionEngine { - @Override - public boolean isActive() { - return false; - } - - @Override - public ActionStatus notifyService(String distributionId, Service service, INotificationData notificationData, String envName, User modifier) { - return null; - } - - @Override - public ActionStatus notifyService(String distributionId, Service service, INotificationData notificationData, String envId, String envName, User modifier) { - return null; - } - - @Override - public StorageOperationStatus isEnvironmentAvailable(String envName) { - return null; - } - - @Override - public StorageOperationStatus isEnvironmentAvailable() { - return null; - } - - @Override - public void disableEnvironment(String envName) { - - } - - @Override - public StorageOperationStatus isReadyForDistribution(String envName) { - return null; - } - - @Override - public INotificationData buildServiceForDistribution(Service service, String distributionId, String workloadContext) { - return null; - } - - @Override - public OperationalEnvironmentEntry getEnvironmentById(String opEnvId) { - return null; - } - - @Override - public OperationalEnvironmentEntry getEnvironmentByDmaapUebAddress(List<String> dmaapUebAddress) { - return null; - } } |