Replace DBError with DeletionFailed for DataSource and Job
Foreign key constraints on DataSource and Job objects by JobExecutions
cause DBError exceptions if those objects are deleted while they are
referenced by a JobExecution. Replace the DBerror with a SavannaException
so that the REST api reports the error nicely.
Reviewed: https:/ /review. openstack. org/51279 github. com/openstack/ savanna/ commit/ 8289d6d14411492 4a57651d29384eb cc9eabed6f
Committed: http://
Submitter: Jenkins
Branch: master
commit 8289d6d14411492 4a57651d29384eb cc9eabed6f
Author: Trevor McKay <email address hidden>
Date: Fri Oct 11 15:30:45 2013 -0400
Replace DBError with DeletionFailed for DataSource and Job
Foreign key constraints on DataSource and Job objects by JobExecutions
cause DBError exceptions if those objects are deleted while they are
referenced by a JobExecution. Replace the DBerror with a SavannaException
so that the REST api reports the error nicely.
Change-Id: I756f561b019895 c8c2c39f17bd3a0 5da31ad6440
Closes-Bug: #1235229