2 * Copyright 2016-2017 ZTE Corporation.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 package org.onap.aai.esr;
19 import com.fasterxml.jackson.annotation.JsonProperty;
20 import io.dropwizard.Configuration;
21 import io.dropwizard.db.DataSourceFactory;
22 import org.hibernate.validator.constraints.NotEmpty;
24 import javax.validation.Valid;
25 import javax.validation.constraints.NotNull;
29 public class ExtsysAppConfiguration extends Configuration {
31 private String template;
34 private String defaultName = "ONAP-A&AI-ESR";
43 private String msbServerAddr;
46 private String serviceIp;
49 public String getTemplate() {
54 public void setTemplate(String template) {
55 this.template = template;
59 public String getDefaultName() {
64 public void setDefaultName(String name) {
65 this.defaultName = name;
69 public String getMsbIp() {
74 public String setMsbIp() {
79 public int getMsbPort() {
84 public int setMsbPort() {
89 public String getMsbServerAddr() {
94 public void setMsbServerAddr(String msbServerAddr) {
95 this.msbServerAddr = msbServerAddr;
98 public String getServiceIp() {
103 public void setServiceIp(String serviceIp) {
104 this.serviceIp = serviceIp;