}
}
static StratosAdminResponse synchronizeRepository(CartridgeSubscription cartridgeSubscription) throws RestAPIException {
try {
RepositoryNotification repoNotification = new RepositoryNotification();
repoNotification.updateRepository(cartridgeSubscription);
} catch (Exception e) {
String msg = "Failed to get git repository notifications. Cause : " + e.getMessage();
log.error(msg, e);
throw new RestAPIException(msg, e);
}