11fc06e2cab2134e678b5ae27737098139c6711d
[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
41  * Application: ONAP - Blueprint Generator
42  * ONAP Common Model used by both ONAP and DMAAP: Properties
43  */
44
45
46 @Data
47 @JsonInclude(value = Include.NON_NULL)
48 public class Properties {
49
50         private Appconfig application_config;
51
52         private OnapAuxilary docker_config;
53
54         private Object image;
55
56         private GetInput location_id;
57
58         private String service_component_type;
59
60         private Map<String, Object> log_info;
61
62         private String dns_name;
63
64         private Object replicas;
65
66         private String name;
67
68         private GetInput topic_name;
69
70         private GetInput feed_name;
71
72         private List<Streams> streams_publishes;
73
74         private List<Streams> streams_subscribes;
75
76         private TlsInfo tls_info;
77
78         private ResourceConfig resource_config;
79
80         private GetInput always_pull_image;
81
82         private Boolean useExisting;
83
84         @JsonIgnore
85         private ExternalTlsInfoFactoryService externalCertFactory;
86
87         private ExternalTlsInfo external_cert;
88
89 }