@Override
  public void deleteObject(String accountName, ObjectType objectType, String objectKey) {
    if (objectType.equals(ObjectType.CANARY_RESULT_ARCHIVE)) {
      sqlCanaryArchiveRepo.deleteById(objectKey);
      return;
    }

    if (objectType.equals(ObjectType.CANARY_CONFIG)) {
      sqlCanaryConfigRepo.deleteById(objectKey);
      return;
    }

    if (objectType.equals(ObjectType.METRIC_SET_PAIR_LIST)) {
      sqlMetricSetPairsRepo.deleteById(objectKey);
      return;
    }

    if (objectType.equals(ObjectType.METRIC_SET_LIST)) {
      sqlMetricSetsRepo.deleteById(objectKey);
      return;
    }

    throw new IllegalArgumentException("Unsupported object type: " + objectType);
  }
@Test
  public void testDeleteObjectWhenCanaryArchive() {
    var testAccountName = UUID.randomUUID().toString();
    var testObjectType = ObjectType.CANARY_RESULT_ARCHIVE;
    var testObjectKey = UUID.randomUUID().toString();

    sqlStorageService.deleteObject(testAccountName, testObjectType, testObjectKey);

    verify(sqlCanaryArchiveRepo).deleteById(testObjectKey);
  }