Fix sonar issues
[dcaegen2/platform.git] / mod / bpgenerator / common / src / main / java / org / onap / blueprintgenerator / model / componentspec / base / Auxilary.java
1 /*
2  *
3  *  * ============LICENSE_START=======================================================
4  *  *  org.onap.dcae
5  *  *  ================================================================================
6  *  *  Copyright (c) 2020  AT&T Intellectual Property. All rights reserved.
7  *  *  Copyright (c) 2021 Nokia. All rights reserved.
8  *  *  ================================================================================
9  *  *  Licensed under the Apache License, Version 2.0 (the "License");
10  *  *  you may not use this file except in compliance with the License.
11  *  *  You may obtain a copy of the License at
12  *  *
13  *  *       http://www.apache.org/licenses/LICENSE-2.0
14  *  *
15  *  *  Unless required by applicable law or agreed to in writing, software
16  *  *  distributed under the License is distributed on an "AS IS" BASIS,
17  *  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  *  *  See the License for the specific language governing permissions and
19  *  *  limitations under the License.
20  *  *  ============LICENSE_END=========================================================
21  *
22  *
23  */
24
25 package org.onap.blueprintgenerator.model.componentspec.base;
26
27 import org.onap.blueprintgenerator.model.componentspec.common.HealthCheck;
28 import org.onap.blueprintgenerator.model.componentspec.common.Policy;
29 import org.onap.blueprintgenerator.model.componentspec.common.Reconfigs;
30 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
31 import com.fasterxml.jackson.annotation.JsonInclude;
32 import com.fasterxml.jackson.annotation.JsonProperty;
33 import lombok.Data;
34 import lombok.EqualsAndHashCode;
35
36 import java.util.LinkedHashMap;
37 import java.util.List;
38 import java.util.Map;
39
40 /**
41  * @author : Ravi Mantena
42  * @date 10/16/2020 Application: DCAE/ONAP - Blueprint Generator Common Module: Used by both ONAP
43  * and DCAE Blueprint Applications Component Spec Model: A model class which represents Auxilary of
44  * Componentspec
45  */
46 @Data
47 @JsonInclude(value = JsonInclude.Include.NON_NULL)
48 @JsonIgnoreProperties(ignoreUnknown = true)
49 @EqualsAndHashCode
50 public class Auxilary {
51
52     private HealthCheck healthcheck;
53
54     private HealthCheck livehealthcheck;
55
56     private Policy policy;
57
58     private Reconfigs reconfigs;
59
60     private List<LinkedHashMap<String, String>> env;
61
62     @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
63     private Map<String, String> databases;
64
65     @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
66     private Object hpa_config;
67 }