Commit for the blueprint generator java tool
[dcaegen2/platform/cli.git] / blueprint-generator / src / main / java / org / onap / blueprintgenerator / models / componentspec / Auxilary.java
1 /**============LICENSE_START======================================================= 
2  org.onap.dcae 
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 
9  
10       http://www.apache.org/licenses/LICENSE-2.0 
11  
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========================================================= 
18  
19  */
20 package org.onap.blueprintgenerator.models.componentspec;
21
22
23 import java.util.TreeMap;
24
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;
29
30 import lombok.AllArgsConstructor;
31 import lombok.Builder;
32 import lombok.Getter; import lombok.Setter;
33 import lombok.NoArgsConstructor;
34
35 // TODO: Auto-generated Javadoc
36 /* (non-Javadoc)
37  * @see java.lang.Object#toString()
38  */
39 @Getter @Setter
40
41 /* (non-Javadoc)
42  * @see java.lang.Object#toString()
43  */
44
45
46 /**
47  * Instantiates a new auxilary.
48  */
49 @NoArgsConstructor
50
51 /**
52  * Instantiates a new auxilary.
53  *
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
60  */
61
62 @JsonInclude(value=Include.NON_NULL)
63 //Called in component Spec Object
64 public class Auxilary {
65         
66         /** The healthcheck. */
67         private HealthCheck healthcheck;
68         
69         /** The volumes. */
70         private Volumes[] volumes;
71         
72         /** The policy. */
73         private Policy policy;
74         
75         /** The ports. */
76         private String[] ports;
77         
78         /** The reconfigs. */
79         private ReconfigsObj reconfigs;
80         
81         /** The databases. */
82         @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
83         private TreeMap<String, String> databases;
84         
85
86
87 }