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;
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
43 * Application: DCAE/ONAP - Blueprint Generator
44 * Common Module: Used by both ONAP and DCAE Blueprint Applications
45 * Component Spec Model: For Auxilary
49 @JsonInclude(value = JsonInclude.Include.NON_NULL)
50 @JsonIgnoreProperties(ignoreUnknown = true)
52 public class Auxilary {
54 private HealthCheck healthcheck;
56 private HealthCheck livehealthcheck;
58 private Policy policy;
60 private Reconfigs reconfigs;
62 private List<LinkedHashMap<String, String>> env;
64 @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
65 private Map<String, String> databases;
67 /* @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
68 private Affinity affinity;*/
70 @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
71 private Object hpa_config;