Open Kilda Java Documentation
ApplicationProperties.java
Go to the documentation of this file.
1 package org.openkilda.utility;
2 
3 import lombok.Getter;
4 
5 import org.springframework.beans.factory.annotation.Value;
6 import org.springframework.stereotype.Component;
7 
16 @Component
17 @Getter
18 public class ApplicationProperties {
19 
22  @Value("${GET_SWITCHES}")
23  private String switches;
24 
25  @Value("${GET_SWITCH_RULES}")
26  private String switchRules;
27 
28  @Value("${GET_LINKS}")
29  private String links;
30 
31  @Value("${GET_LINK_PROPS}")
32  private String linkProps;
33 
34  @Value("${nb.base.url}")
35  private String nbBaseUrl;
36 
37  @Value("${GET_FLOW}")
38  private String flows;
39 
40  @Value("${GET_PATH_FLOW}")
41  private String pathFlow;
42 
43  @Value("${GET_FLOW_STATUS}")
44  private String flowStatus;
45 
46  @Value("${GET_FLOW_REROUTE}")
47  private String flowReroute;
48 
49  @Value("${GET_FLOW_VALIDATE}")
50  private String flowValidate;
51 
52  @Value("${opentsdb.base.url}")
53  private String openTsdbBaseUrl;
54 
55  @Value("${OPEN_TSDB_QUERY}")
56  private String openTsdbQuery;
57 
58  @Value("${kilda.username}")
59  private String kildaUsername;
60 
61  @Value("${kilda.password}")
62  private String kildaPassword;
63 
64  @Value("${switch.data.file.path}")
65  private String switchDataFilePath;
66 
67  @Value("${UPDATE_FLOW}")
68  private String updateFlow;
69 
70  @Value("${GET_FLOW_PATH}")
71  private String flowPath;
72 
73  @Value("${CONFIG_SWITCH_PORT}")
74  private String configSwitchPort;
75 }