2 * Copyright 2016-2017 ZTE, Inc. and others.
4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5 * in compliance with the License. You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software distributed under the License
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11 * or implied. See the License for the specific language governing permissions and limitations under
14 package org.onap.msb.sdclient;
16 import javax.validation.Valid;
18 import org.hibernate.validator.constraints.NotEmpty;
20 import com.fasterxml.jackson.annotation.JsonProperty;
22 import io.dropwizard.Configuration;
24 public class DiscoverAppConfig extends Configuration {
26 private String defaultWorkspace = "discover-works";
29 private String defaultName = "discover-service";
33 private String consulAdderss;
36 private String consulRegisterMode;
40 public String getConsulRegisterMode() {
41 return consulRegisterMode;
45 public void setConsulRegisterMode(String consulRegisterMode) {
46 this.consulRegisterMode = consulRegisterMode;
50 public String getDefaultWorkspace() {
51 return defaultWorkspace;
55 public void setDefaultWorkspace(String defaultWorkspace) {
56 this.defaultWorkspace = defaultWorkspace;
60 public String getDefaultName() {
65 public void setDefaultName(String name) {
66 this.defaultName = name;
70 public String getConsulAdderss() {
75 public void setConsulAdderss(String consulAdderss) {
76 this.consulAdderss = consulAdderss;