Fix sonar issues
[dcaegen2/platform.git] / mod / bpgenerator / common / src / main / java / org / onap / blueprintgenerator / model / componentspec / base / Auxilary.java
index 9c37163..c9d06f3 100644 (file)
@@ -4,6 +4,7 @@
  *  *  org.onap.dcae
  *  *  ================================================================================
  *  *  Copyright (c) 2020  AT&T Intellectual Property. All rights reserved.
+ *  *  Copyright (c) 2021 Nokia. All rights reserved.
  *  *  ================================================================================
  *  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  *  you may not use this file except in compliance with the License.
@@ -23,7 +24,6 @@
 
 package org.onap.blueprintgenerator.model.componentspec.base;
 
-
 import org.onap.blueprintgenerator.model.componentspec.common.HealthCheck;
 import org.onap.blueprintgenerator.model.componentspec.common.Policy;
 import org.onap.blueprintgenerator.model.componentspec.common.Reconfigs;
@@ -39,36 +39,29 @@ import java.util.Map;
 
 /**
  * @author : Ravi Mantena
- * @date 10/16/2020
- * Application: DCAE/ONAP - Blueprint Generator
- * Common Module: Used by both ONAP and DCAE Blueprint Applications
- * Component Spec Model: For Auxilary
+ * @date 10/16/2020 Application: DCAE/ONAP - Blueprint Generator Common Module: Used by both ONAP
+ * and DCAE Blueprint Applications Component Spec Model: A model class which represents Auxilary of
+ * Componentspec
  */
-
 @Data
 @JsonInclude(value = JsonInclude.Include.NON_NULL)
 @JsonIgnoreProperties(ignoreUnknown = true)
 @EqualsAndHashCode
 public class Auxilary {
 
-       private HealthCheck healthcheck;
-
-       private HealthCheck livehealthcheck;
-
-       private Policy policy;
-
-       private Reconfigs reconfigs;
+    private HealthCheck healthcheck;
 
-       private List<LinkedHashMap<String, String>> env;
+    private HealthCheck livehealthcheck;
 
-       @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
-       private Map<String, String> databases;
+    private Policy policy;
 
-/*     @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
-       private Affinity affinity;*/
+    private Reconfigs reconfigs;
 
-       @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
-       private Object hpa_config;
+    private List<LinkedHashMap<String, String>> env;
 
+    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
+    private Map<String, String> databases;
 
+    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
+    private Object hpa_config;
 }