3 * * ============LICENSE_START=======================================================
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
12 * * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
24 package org.onap.blueprintgenerator.model.componentspec.base;
26 import org.onap.blueprintgenerator.model.componentspec.common.HealthCheck;
27 import org.onap.blueprintgenerator.model.componentspec.common.Policy;
28 import org.onap.blueprintgenerator.model.componentspec.common.Reconfigs;
29 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
30 import com.fasterxml.jackson.annotation.JsonInclude;
31 import com.fasterxml.jackson.annotation.JsonProperty;
33 import lombok.EqualsAndHashCode;
35 import java.util.LinkedHashMap;
36 import java.util.List;
40 * @author : Ravi Mantena
41 * @date 10/16/2020 Application: DCAE/ONAP - Blueprint Generator Common Module: Used by both ONAP
42 * and DCAE Blueprint Applications Component Spec Model: A model class which represents Auxilary of
46 @JsonInclude(value = JsonInclude.Include.NON_NULL)
47 @JsonIgnoreProperties(ignoreUnknown = true)
49 public class Auxilary {
51 private HealthCheck healthcheck;
53 private HealthCheck livehealthcheck;
55 private Policy policy;
57 private Reconfigs reconfigs;
59 private List<LinkedHashMap<String, String>> env;
61 @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
62 private Map<String, String> databases;
64 /* @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
65 private Affinity affinity;*/
67 @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
68 private Object hpa_config;