Project

General

Profile

Actions

Task #226

closed

Add referential integrity to services

Added by Radek Tomiška about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Radek Tomiška
Category:
Spring - DATA
Target version:
Start date:
12/01/2016
Due date:
% Done:

100%

Estimated time:
Owner:

Description

We removed foreign keys from database (see https://proj.bcvsolutions.eu/ngidm/doku.php?id=navrh:identifikatory).
We need to add the same referential integrity to service layer to prevent:
  • skeletons in database
  • hibernate mapping likes it (and fails, when some reference is missing)
Actions #1

Updated by Radek Tomiška about 8 years ago

  • % Done changed from 0 to 10
Actions #2

Updated by Radek Tomiška about 8 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Radek Tomiška to Vít Švanda
  • % Done changed from 10 to 90
I've added referential integrity to service layer (acc, core module) and:
  • simply event processing is implemented and is used now for:
    • referential integrity through modules (see CoreReferentialIntegrityIntegrationTest)
    • provisioning from core is moved to events (synchronous for now)

Could you make a review and test, please?

Actions #3

Updated by Vít Švanda about 8 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 90 to 100

- I tested this very deeply. Works fine.
- I added new relation and added release link on roleSystem in identityAccount after roleSystem delete

Actions #4

Updated by Radek Tomiška about 8 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF