diff options
author | 2021-10-20 07:55:58 -0400 | |
---|---|---|
committer | 2022-05-09 14:37:13 +0000 | |
commit | 592465825549b999cc8aad811fba91736750bfaf (patch) | |
tree | 60a47f3def05668963d40a7960afd2f0dc131e9f /mso-catalog-db/src/main/java/org/onap | |
parent | e89df29768b65e4be077a8bcfe16fd1a915be3ee (diff) |
Switch over BBRollback to use DB lookups.
Issue-ID: SO-3793
Use feature provided by SO-3720.
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: I31f2c00df738c37d04e5ad901dd94c9c6d4b147e
Diffstat (limited to 'mso-catalog-db/src/main/java/org/onap')
-rw-r--r-- | mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/BuildingBlockRollback.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/BuildingBlockRollback.java b/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/BuildingBlockRollback.java index 798604e4fb..67a19c005d 100644 --- a/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/BuildingBlockRollback.java +++ b/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/BuildingBlockRollback.java @@ -65,6 +65,17 @@ public class BuildingBlockRollback implements Serializable { @Column(name = "ROLLBACK_ACTION", length = 200) private String rollbackAction; + public BuildingBlockRollback() {} + + public BuildingBlockRollback(Integer id, String buildingBlockName, String action, String rollbackBuildingBlockName, + String rollbackAction) { + this.id = id; + this.buildingBlockName = buildingBlockName; + this.action = action; + this.rollbackBuildingBlockName = rollbackBuildingBlockName; + this.rollbackAction = rollbackAction; + } + public Integer getId() { return id; } |