//But we can do our best to guess the format here, i.e., assume the format is equal to the extension type. User can always update
//the format later on
if (extension != null) {
ai.updateFormat(extension);
}
ai.updateBinaryContentAttachment(is);
ai.getModule().updateBinaryUpToDate(false);
ai.checkin("update binary");
rulesRepository.save();
return toAssetEntryAbdera(ai, uriInfo);
} catch (RuntimeException e) {