Code to Interface : InventoryPersistence 37/130737/1
authormpriyank <priyank.maheshwari@est.tech>
Mon, 5 Sep 2022 13:33:02 +0000 (14:33 +0100)
committerPriyank Maheshwari <priyank.maheshwari@est.tech>
Mon, 5 Sep 2022 13:38:39 +0000 (13:38 +0000)
commit3f868bb136823103a7707d75020eb8208b31df0d
treea276feb4260282d60787c66e1db8970fac897322
parent6a1bbf295501650a6a7b8308da4d88835f122fa2
Code to Interface : InventoryPersistence

- Extracted interface for InventoryPersistence using automatic
  extraction of IDE.
- We call the InventoryPersistence to InventoryPersistenceImpl
- Used the correct type in the test

Issue-ID: CPS-1241
Change-Id: Ieceaec69c1063d7762abc7d8e389d36011a93860
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/inventory/InventoryPersistence.java
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/inventory/InventoryPersistenceImpl.java [new file with mode: 0644]
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/inventory/InventoryPersistenceImplSpec.groovy [moved from cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/inventory/InventoryPersistenceSpec.groovy with 99% similarity]