Skip to content

Commit 47f469a

Browse files
committed
Switch to cascading deletes in the DB layer where possible.
1 parent 3034bd4 commit 47f469a

13 files changed

+332
-498
lines changed

app/src/main/java/io/apicurio/registry/storage/RegistryStorage.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ void updateArtifactRule(String groupId, String artifactId, RuleType rule, RuleCo
568568
void updateGroupMetaData(GroupMetaDataDto group) throws GroupNotFoundException, RegistryStorageException;
569569

570570
/**
571-
* Deletes a group intified by the given groupId and DELETES ALL resources related to this group
571+
* Deletes a group identified by the given groupId and DELETES ALL resources related to this group
572572
*
573573
* @param groupId (optional)
574574
* @throws GroupNotFoundException

app/src/main/java/io/apicurio/registry/storage/impl/sql/AbstractSqlRegistryStorage.java

+34-126
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)