Added oparent to sdc main
[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 public class DistributionEngineMock implements IDistributionEngine {
32     @Override
33     public boolean isActive() {
34         return false;
35     }
36
37     @Override
38     public ActionStatus notifyService(String distributionId, Service service, INotificationData notificationData, String envName, User modifier) {
39         return null;
40     }
41
42     @Override
43     public ActionStatus notifyService(String distributionId, Service service, INotificationData notificationData, String envId, String envName, User modifier) {
44         return null;
45     }
46
47     @Override
48     public StorageOperationStatus isEnvironmentAvailable(String envName) {
49         return null;
50     }
51
52     @Override
53     public StorageOperationStatus isEnvironmentAvailable() {
54         return null;
55     }
56
57     @Override
58     public void disableEnvironment(String envName) {
59
60     }
61
62     @Override
63     public StorageOperationStatus isReadyForDistribution(String envName) {
64         return null;
65     }
66
67     @Override
68     public INotificationData buildServiceForDistribution(Service service, String distributionId, String workloadContext) {
69         return null;
70     }
71
72     @Override
73     public OperationalEnvironmentEntry getEnvironmentById(String opEnvId) {
74         return null;
75     }
76
77 }