* @throws DotDataException If fails retrieving end points
*/
private void updateAuditStatus () throws DotPublisherException, DotDataException {
ClientConfig clientConfig = new DefaultClientConfig();
TrustFactory tFactory = new TrustFactory();
if(Config.getStringProperty("TRUSTSTORE_PATH") != null && !Config.getStringProperty("TRUSTSTORE_PATH").trim().equals("")) {
clientConfig.getProperties()
.put(HTTPSProperties.PROPERTY_HTTPS_PROPERTIES, new HTTPSProperties(tFactory.getHostnameVerifier(), tFactory.getSSLContext()));
}
Client client = Client.create(clientConfig);
WebResource webResource;
List<PublishAuditStatus> pendingAudits = pubAuditAPI.getPendingPublishAuditStatus();