2 * Copyright 2016 ZTE, Inc. and others.
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.
16 package org.onap.msb.sdclient;
18 import io.dropwizard.Configuration;
20 import javax.validation.Valid;
22 import org.hibernate.validator.constraints.NotEmpty;
24 import com.fasterxml.jackson.annotation.JsonProperty;
26 public class DiscoverAppConfig extends Configuration {
28 private String defaultWorkspace = "discover-works";
31 private String defaultName = "discover-service";
35 private String consulAdderss;
38 private String consulRegisterMode;
42 public String getConsulRegisterMode() {
43 return consulRegisterMode;
47 public void setConsulRegisterMode(String consulRegisterMode) {
48 this.consulRegisterMode = consulRegisterMode;
52 public String getDefaultWorkspace() {
53 return defaultWorkspace;
57 public void setDefaultWorkspace(String defaultWorkspace) {
58 this.defaultWorkspace = defaultWorkspace;
62 public String getDefaultName() {
67 public void setDefaultName(String name) {
68 this.defaultName = name;
72 public String getConsulAdderss() {
77 public void setConsulAdderss(String consulAdderss) {
78 this.consulAdderss = consulAdderss;