summaryrefslogtreecommitdiffstats
path: root/mso-catalog-db/src/main
diff options
context:
space:
mode:
authorBenjamin, Max (mb388a) <mb388a@us.att.com>2019-05-31 12:24:53 -0400
committerBenjamin, Max (mb388a) <mb388a@us.att.com>2019-05-31 12:26:19 -0400
commit2117685ff2f2f9d721077deb765acb113143f79b (patch)
tree9750675817c2446f32a09c36f07a382bd8953ea7 /mso-catalog-db/src/main
parent296786770ef898b573ad425e12c50e737f5d9a62 (diff)
Corrected enum formatting by plugin
enums are now single item per line Change-Id: I6330ea4a9093071457dd47b95b6ed3bb7f8312e7 Issue-ID: SO-1970 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
Diffstat (limited to 'mso-catalog-db/src/main')
-rw-r--r--mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/OrchestrationAction.java14
-rw-r--r--mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/OrchestrationStatus.java18
-rw-r--r--mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/ResourceType.java12
3 files changed, 32 insertions, 12 deletions
diff --git a/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/OrchestrationAction.java b/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/OrchestrationAction.java
index cf8644eedc..b340fdea2b 100644
--- a/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/OrchestrationAction.java
+++ b/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/OrchestrationAction.java
@@ -22,9 +22,17 @@ package org.onap.so.db.catalog.beans;
// TODO find this file a new location?
public enum OrchestrationAction {
- ASSIGN("Assign"), UNASSIGN("Unassign"), ACTIVATE("Activate"), DEACTIVATE("Deactivate"), CHANGE_MODEL(
- "ChangeModel"), CREATE("Create"), DELETE("Delete"), UPDATE(
- "Update"), ADD_MEMBERS("AddMembers"), REMOVE_MEMBERS("RemoveMembers"), CUSTOM("Custom");
+ ASSIGN("Assign"),
+ UNASSIGN("Unassign"),
+ ACTIVATE("Activate"),
+ DEACTIVATE("Deactivate"),
+ CHANGE_MODEL("ChangeModel"),
+ CREATE("Create"),
+ DELETE("Delete"),
+ UPDATE("Update"),
+ ADD_MEMBERS("AddMembers"),
+ REMOVE_MEMBERS("RemoveMembers"),
+ CUSTOM("Custom");
private final String name;
diff --git a/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/OrchestrationStatus.java b/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/OrchestrationStatus.java
index e608bfed21..56effb572f 100644
--- a/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/OrchestrationStatus.java
+++ b/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/OrchestrationStatus.java
@@ -21,12 +21,18 @@
package org.onap.so.db.catalog.beans;
public enum OrchestrationStatus {
- ACTIVE("Active", "active"), ASSIGNED("Assigned", "assigned"), CREATED("Created", "created"), INVENTORIED(
- "Inventoried", "inventoried"), PENDING("Pending", "pending"), PENDING_ACTIVATION("PendingActivation",
- "pending.?activation"), PENDING_CREATE("PendingCreate", "pending.?create"), PENDING_DELETE(
- "PendingDelete", "pending.?delete"), PRECREATED("PreCreated",
- "pre.?created"), CONFIGASSIGNED("ConfigAssigned", "config.?assigned"), CONFIGURE(
- "Configure", "configure"), CONFIGURED("Configured", "configured");
+ ACTIVE("Active", "active"),
+ ASSIGNED("Assigned", "assigned"),
+ CREATED("Created", "created"),
+ INVENTORIED("Inventoried", "inventoried"),
+ PENDING("Pending", "pending"),
+ PENDING_ACTIVATION("PendingActivation", "pending.?activation"),
+ PENDING_CREATE("PendingCreate", "pending.?create"),
+ PENDING_DELETE("PendingDelete", "pending.?delete"),
+ PRECREATED("PreCreated", "pre.?created"),
+ CONFIGASSIGNED("ConfigAssigned", "config.?assigned"),
+ CONFIGURE("Configure", "configure"),
+ CONFIGURED("Configured", "configured");
private final String name;
private final String fuzzyMatcher;
diff --git a/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/ResourceType.java b/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/ResourceType.java
index b41548ca99..4fd28c910e 100644
--- a/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/ResourceType.java
+++ b/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/ResourceType.java
@@ -21,9 +21,15 @@
package org.onap.so.db.catalog.beans;
public enum ResourceType {
- SERVICE("Service"), VNF("Vnf"), VOLUME_GROUP("VolumeGroup"), VF_MODULE("VfModule"), NETWORK(
- "Network"), NETWORK_COLLECTION("NetworkCollection"), CONFIGURATION(
- "Configuration"), INSTANCE_GROUP("InstanceGroup"), NO_VALIDATE("NoValidate");
+ SERVICE("Service"),
+ VNF("Vnf"),
+ VOLUME_GROUP("VolumeGroup"),
+ VF_MODULE("VfModule"),
+ NETWORK("Network"),
+ NETWORK_COLLECTION("NetworkCollection"),
+ CONFIGURATION("Configuration"),
+ INSTANCE_GROUP("InstanceGroup"),
+ NO_VALIDATE("NoValidate");
private final String name;