code: private Map<String,Object> getViolations(AppdynamicsApplication application, String instanceUrl ) {
          Map<String,Object> violationObjects = new HashMap<>();
  
          try {
              String url = joinURL(instanceUrl, String.format(HEALTH_VIOLATIONS_PATH, application.getAppID()));
              ResponseEntity<String> responseEntity = makeRestCall(url);
              String returnJSON = responseEntity.getBody();
              JSONParser parser = new JSONParser();
  
              JSONArray array = (JSONArray) parser.parse(returnJSON);
  
              violationObjects.put(VIOLATION_OBJECT,array);
          } catch (MalformedURLException e) {
              LOG.error("client exception loading applications", e);
          } catch (ParseException e) {
              LOG.error("client exception loading applications", e);
          }
  
          return violationObjects;
  
      }
docs: Obtains a list of health violations for the current application from Appdynamics
  e.g. /controller/#/location=APP_INCIDENT_LIST&application=<APPID>
  
  @param application the current application. Used to provide access to appID/name
  @return Single element list, value is the raw JSON object of the health violations