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