Issue-ID: AAI-2882
Signed-off-by: Mariano Diaz <mariano.diaz@yoppworks.com>
Change-Id: I9d48b036ca7e0f50ecc775ea6ecb6503d4688165
public class DataImportTasks {
private static final Logger LOGGER;
- private static final SimpleDateFormat dateFormat = new SimpleDateFormat("HH:mm:ss");
+ private SimpleDateFormat dateFormat = new SimpleDateFormat("HH:mm:ss");
private static final List<String> EXTS = Arrays.asList("tar.gz", "tgz");
}
UriComponents uriComponents = UriComponentsBuilder.fromUriString(itemURIfield.getAsString()).build();
- if (uriComponents.getPath().endsWith("/relationship-list/relationship")) {
+ if (uriComponents.getPath() != null &&
+ uriComponents.getPath().endsWith("/relationship-list/relationship")) {
if (method.equals(HttpMethod.PUT)) {
bulkOperation.setHttpMethod(HttpMethod.PUT_EDGE);
} else if (method.equals(HttpMethod.DELETE)) {