BpGen refactor Code Quality Issue-ID: DCAEGEN2-2502
[dcaegen2/platform.git] / mod / bpgenerator / onap / src / main / java / org / onap / blueprintgenerator / model / common / Properties.java
1 /*
2  *
3  *  * ============LICENSE_START=======================================================
4  *  *  org.onap.dcae
5  *  *  ================================================================================
6  *  *  Copyright (c) 2020  AT&T Intellectual Property. All rights reserved.
7  *  *  ================================================================================
8  *  *  Licensed under the Apache License, Version 2.0 (the "License");
9  *  *  you may not use this file except in compliance with the License.
10  *  *  You may obtain a copy of the License at
11  *  *
12  *  *       http://www.apache.org/licenses/LICENSE-2.0
13  *  *
14  *  *  Unless required by applicable law or agreed to in writing, software
15  *  *  distributed under the License is distributed on an "AS IS" BASIS,
16  *  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  *  *  See the License for the specific language governing permissions and
18  *  *  limitations under the License.
19  *  *  ============LICENSE_END=========================================================
20  *
21  *
22  */
23
24 package org.onap.blueprintgenerator.model.common;
25
26 import org.onap.blueprintgenerator.model.componentspec.OnapAuxilary;
27 import org.onap.blueprintgenerator.model.dmaap.Streams;
28 import org.onap.blueprintgenerator.model.dmaap.TlsInfo;
29 import org.onap.blueprintgenerator.service.common.ExternalTlsInfoFactoryService;
30 import com.fasterxml.jackson.annotation.JsonIgnore;
31 import com.fasterxml.jackson.annotation.JsonInclude;
32 import com.fasterxml.jackson.annotation.JsonInclude.Include;
33 import lombok.Data;
34
35 import java.util.List;
36 import java.util.Map;
37
38 /**
39  * @author : Ravi Mantena
40  * @date 10/16/2020 Application: ONAP - Blueprint Generator ONAP Common Model: A model class which
41  * represents Properties
42  */
43 @Data
44 @JsonInclude(value = Include.NON_NULL)
45 public class Properties {
46
47     private Appconfig application_config;
48
49     private OnapAuxilary docker_config;
50
51     private Object image;
52
53     private GetInput location_id;
54
55     private String service_component_type;
56
57     private Map<String, Object> log_info;
58
59     private String dns_name;
60
61     private Object replicas;
62
63     private String name;
64
65     private GetInput topic_name;
66
67     private GetInput feed_name;
68
69     private List<Streams> streams_publishes;
70
71     private List<Streams> streams_subscribes;
72
73     private TlsInfo tls_info;
74
75     private ResourceConfig resource_config;
76
77     private GetInput always_pull_image;
78
79     private Boolean useExisting;
80
81     @JsonIgnore
82     private ExternalTlsInfoFactoryService externalCertFactory;
83
84     private ExternalTlsInfo external_cert;
85 }