Catalog alignment
[sdc.git] / catalog-be / src / test / java / org / openecomp / sdc / be / components / path / beans / DistributionEngineMock.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.openecomp.sdc.be.components.path.beans;
22
23 import org.openecomp.sdc.be.components.distribution.engine.IDistributionEngine;
24 import org.openecomp.sdc.be.components.distribution.engine.INotificationData;
25 import org.openecomp.sdc.be.dao.api.ActionStatus;
26 import org.openecomp.sdc.be.model.Service;
27 import org.openecomp.sdc.be.model.User;
28 import org.openecomp.sdc.be.model.operations.api.StorageOperationStatus;
29 import org.openecomp.sdc.be.resources.data.OperationalEnvironmentEntry;
30
31 import java.util.List;
32
33 public class DistributionEngineMock implements IDistributionEngine {
34     @Override
35     public boolean isActive() {
36         return false;
37     }
38
39     @Override
40     public ActionStatus notifyService(String distributionId, Service service, INotificationData notificationData, String envName, User modifier) {
41         return null;
42     }
43
44     @Override
45     public ActionStatus notifyService(String distributionId, Service service, INotificationData notificationData, String envId, String envName, User modifier) {
46         return null;
47     }
48
49     @Override
50     public StorageOperationStatus isEnvironmentAvailable(String envName) {
51         return null;
52     }
53
54     @Override
55     public StorageOperationStatus isEnvironmentAvailable() {
56         return null;
57     }
58
59     @Override
60     public void disableEnvironment(String envName) {
61
62     }
63
64     @Override
65     public StorageOperationStatus isReadyForDistribution(String envName) {
66         return null;
67     }
68
69     @Override
70     public INotificationData buildServiceForDistribution(Service service, String distributionId, String workloadContext) {
71         return null;
72     }
73
74     @Override
75     public OperationalEnvironmentEntry getEnvironmentById(String opEnvId) {
76         return null;
77     }
78
79     @Override
80     public OperationalEnvironmentEntry getEnvironmentByDmaapUebAddress(List<String> dmaapUebAddress) {
81         return null;
82     }
83
84 }