--- /dev/null
+/*\r
+ * Copyright 2017 ZTE Corporation.\r
+ *\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ */\r
+\r
+package org.onap.holmes.dsa.dmaap;\r
+\r
+import com.fasterxml.jackson.annotation.JsonProperty;\r
+import io.dropwizard.Configuration;\r
+import javax.validation.Valid;\r
+import javax.validation.constraints.NotNull;\r
+import org.hibernate.validator.constraints.NotEmpty;\r
+import org.onap.holmes.common.config.MQConfig;\r
+\r
+public class DmaapDsaConfig extends Configuration {\r
+\r
+ @NotEmpty\r
+ private String defaultName = "ONAP Holmes DMaaP DSA";\r
+\r
+ @NotEmpty\r
+ private String apidescription = "Holmes data Source adapter API";\r
+\r
+ @JsonProperty\r
+ @NotNull\r
+ @Valid\r
+ private MQConfig mqConfig;\r
+\r
+\r
+ public MQConfig getMqConfig() {\r
+ return mqConfig;\r
+ }\r
+\r
+ public void setMqConfig(MQConfig mqConfig) {\r
+ this.mqConfig = mqConfig;\r
+ }\r
+\r
+ public String getApidescription() {\r
+ return apidescription;\r
+ }\r
+\r
+ public void setApidescription(String apidescription) {\r
+ this.apidescription = apidescription;\r
+ }\r
+}\r