1 /**============LICENSE_START=======================================================
3 ================================================================================
4 Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
5 ================================================================================
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 ============LICENSE_END=========================================================
20 package org.onap.blueprintgenerator.models.componentspec;
23 import java.util.TreeMap;
25 import com.fasterxml.jackson.annotation.JsonIgnore;
26 import com.fasterxml.jackson.annotation.JsonInclude;
27 import com.fasterxml.jackson.annotation.JsonInclude.Include;
28 import com.fasterxml.jackson.annotation.JsonProperty;
30 import lombok.AllArgsConstructor;
31 import lombok.Builder;
32 import lombok.Getter; import lombok.Setter;
33 import lombok.NoArgsConstructor;
35 // TODO: Auto-generated Javadoc
37 * @see java.lang.Object#toString()
42 * @see java.lang.Object#toString()
47 * Instantiates a new auxilary.
52 * Instantiates a new auxilary.
54 * @param healthcheck the healthcheck
55 * @param volumes the volumes
56 * @param policy the policy
57 * @param ports the ports
58 * @param reconfigs the reconfigs
59 * @param databases the databases
62 @JsonInclude(value=Include.NON_NULL)
63 //Called in component Spec Object
64 public class Auxilary {
66 /** The healthcheck. */
67 private HealthCheck healthcheck;
70 private Volumes[] volumes;
73 private Policy policy;
76 private String[] ports;
79 private ReconfigsObj reconfigs;
82 @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
83 private TreeMap<String, String> databases;