63de21963ed0344831a94b5511f22c7a9449981d
[dcaegen2/services.git] /
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 package org.onap.datalake.feeder.controller.domain;
21
22 import java.util.Set;
23
24 import javax.persistence.CascadeType;
25 import javax.persistence.Entity;
26 import javax.persistence.Id;
27 import javax.persistence.ManyToMany;
28 import javax.persistence.Table;
29
30 import com.fasterxml.jackson.annotation.JsonBackReference;
31
32 import lombok.Getter;
33 import lombok.Setter;
34
35 /**
36  * JSON request body for DB manipulation.
37  *
38  * @author Kate Hsuan
39  *
40  */
41
42 @Getter
43 @Setter
44 public class DbConfig {
45     private String name;
46     private String host;
47     private String login;
48     private String password;
49     private String database;
50     private int port;
51     private String poperties;
52 }