From 592465825549b999cc8aad811fba91736750bfaf Mon Sep 17 00:00:00 2001 From: Oleg Mitsura Date: Wed, 20 Oct 2021 07:55:58 -0400 Subject: Switch over BBRollback to use DB lookups. Issue-ID: SO-3793 Use feature provided by SO-3720. Signed-off-by: Oleg Mitsura Change-Id: I31f2c00df738c37d04e5ad901dd94c9c6d4b147e --- .../org/onap/so/db/catalog/beans/BuildingBlockRollback.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'mso-catalog-db/src/main/java') 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; } -- cgit 1.2.3-korg