Merge "unit test of service"
[dcaegen2/services.git] / components / datalake-handler / feeder / src / main / java / org / onap / datalake / feeder / controller / domain / TopicConfig.java
1 /*
2  * ============LICENSE_START=======================================================
3  * ONAP : DataLake
4  * ================================================================================
5  * Copyright 2019 QCT
6  *=================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *     http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.datalake.feeder.controller.domain;
22
23 import lombok.Getter;
24 import lombok.Setter;
25 import org.onap.datalake.feeder.domain.Topic;
26 import org.onap.datalake.feeder.domain.Db;
27 import org.onap.datalake.feeder.repository.DbRepository;
28
29 import java.util.HashSet;
30 import java.util.List;
31 import java.util.Set;
32
33
34 /**
35  * JSON request body for Topic manipulation.
36  *
37  * @author Kate Hsuan
38  *
39  */
40
41 @Getter
42 @Setter
43
44 public class TopicConfig {
45
46     private String name;
47     private String login;
48     private String password;
49     private List<String> sinkdbs;
50     private boolean enable;
51     private boolean save_raw;
52     private String data_format;
53     private int ttl;
54     private boolean correlated_clearred_message;
55     private String message_id_path;
56
57
58
59 }