Merge "Multicloud VNF adapter use updated multicloud API"
[so.git] / common / src / test / java / org / onap / so / client / cds / TestCDSPropertiesImpl.java
1 /*
2  * Copyright (C) 2019 Bell Canada.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 package org.onap.so.client.cds;
17
18 import java.net.MalformedURLException;
19 import java.net.URL;
20
21 public class TestCDSPropertiesImpl implements CDSProperties {
22
23     public TestCDSPropertiesImpl() {
24         // Needed for service loader
25     }
26
27     @Override
28     public String getHost() {
29         return "localhost";
30     }
31
32     @Override
33     public int getPort() {
34         return 9111;
35     }
36
37     @Override
38     public String getBasicAuth() {
39         return "Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==";
40     }
41
42     @Override
43     public URL getEndpoint() {
44         return null;
45     }
46
47     @Override
48     public String getSystemName() {
49         return "MSO";
50     }
51
52     @Override
53     public Integer getRetries() {
54         return null;
55     }
56
57     @Override
58     public Long getDelayBetweenRetries() {
59         return null;
60     }
61
62     @Override
63     public boolean mapNotFoundToEmpty() {
64         return false;
65     }
66
67         @Override
68         public int getTimeout() {
69                 return 60;
70         }
71 }