final String TWILIO_STOKEN = FenixEduAcademicConfiguration.getConfiguration().getTwilioStoken();
final String URL = "/" + TwilioRestClient.DEFAULT_VERSION + "/Accounts/" + TWILIO_SID + ".json";
TWILIO_FROM_NUMBER = FenixEduAcademicConfiguration.getConfiguration().getTwilioFromNumber();
if (!StringUtils.isEmpty(TWILIO_SID) && !StringUtils.isEmpty(TWILIO_STOKEN) && !StringUtils.isEmpty(TWILIO_FROM_NUMBER)) {
TWILIO_CLIENT = new TwilioRestClient(TWILIO_SID, TWILIO_STOKEN);
SystemResource.registerHealthcheck(new Healthcheck() {
private final Gson gson = new GsonBuilder().setPrettyPrinting().create();
@Override
public String getName() {
return "Twilio";