3 * * ============LICENSE_START=======================================================
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
13 * * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
25 package org.onap.blueprintgenerator.model.componentspec.base;
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;
34 import lombok.EqualsAndHashCode;
36 import java.util.LinkedHashMap;
37 import java.util.List;
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
47 @JsonInclude(value = JsonInclude.Include.NON_NULL)
48 @JsonIgnoreProperties(ignoreUnknown = true)
50 public class Auxilary {
52 private HealthCheck healthcheck;
54 private HealthCheck livehealthcheck;
56 private Policy policy;
58 private Reconfigs reconfigs;
60 private List<LinkedHashMap<String, String>> env;
62 @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
63 private Map<String, String> databases;
65 @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
66 private Object hpa_config;