(Bug) Ensure clean up process also removes orphaned data in fragmenttable
- Add method to remove orphaned data from fragment table to the
endpoint /cps/api/{}/admin/dataspaces/{}/actions/clean
- the condition for removing fragment table data is based on the following:
- (a) if entity's xpath contains more than 1 '/' and the parent is
null
- (b) the parent id is equal to the id of an entity that
meets condition (a)
Issue-ID: CPS-3006
Change-Id: I1a7de57993c58c3b607b3fdee7476a29bdea5bc2
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>