Merge "Prepare the x_directives inputs for 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.URL;
19
20 public class TestCDSPropertiesImpl implements CDSProperties {
21
22     public TestCDSPropertiesImpl() {
23         // Needed for service loader
24     }
25
26     @Override
27     public String getHost() {
28         return "localhost";
29     }
30
31     @Override
32     public int getPort() {
33         return 9111;
34     }
35
36     @Override
37     public String getBasicAuth() {
38         return "Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==";
39     }
40
41     @Override
42     public URL getEndpoint() {
43         return null;
44     }
45
46     @Override
47     public String getSystemName() {
48         return "MSO";
49     }
50
51     @Override
52     public Integer getRetries() {
53         return null;
54     }
55
56     @Override
57     public Long getDelayBetweenRetries() {
58         return null;
59     }
60
61     @Override
62     public boolean mapNotFoundToEmpty() {
63         return false;
64     }
65
66         @Override
67         public int getTimeout() {
68                 return 60;
69         }
70 }