Add lombok support to simple classes 42/89342/1
authoravigaffa <avi.gaffa@amdocs.com>
Wed, 5 Jun 2019 10:13:44 +0000 (13:13 +0300)
committeravigaffa <avi.gaffa@amdocs.com>
Wed, 5 Jun 2019 10:13:44 +0000 (13:13 +0300)
Change-Id: Ibaa1711ff6b2a64e6e591f0938874e31f713bfe8
Issue-ID: SDC-2354
Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest/action-library-rest-types/pom.xml
openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest/action-library-rest-types/src/main/java/org/openecomp/sdcrests/action/types/ActionVersionDto.java

index 75335cd..535c200 100644 (file)
             <artifactId>openecomp-sdc-action-api</artifactId>
             <version>${project.version}</version>
         </dependency>
-        <!--<dependency>
-            <groupId>org.openecomp.sdc</groupId>
-            <artifactId>openecomp-sdc-vendor-license-manager</artifactId>
-            <version>${project.version}</version>
-        </dependency>-->
+        <dependency>
+            <groupId>org.projectlombok</groupId>
+            <artifactId>lombok</artifactId>
+            <scope>provided</scope>
+        </dependency>
     </dependencies>
 
 
index 0632cab..2925fe1 100644 (file)
@@ -7,9 +7,9 @@
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
 package org.openecomp.sdcrests.action.types;
 
-public class ActionVersionDto {
-
-  String status;
+import lombok.Getter;
+import lombok.Setter;
 
-  public String getStatus() {
-    return status;
-  }
+@Getter
+@Setter
+public class ActionVersionDto {
 
-  public void setStatus(String workflowActionStatus) {
-    this.status = workflowActionStatus.trim();
-  }
+    String status;
 
 }