log.info("Posting CI: ciPath={}, dto={}", ciPath, dtoStr);
// Map the DTO string to a DTO. We have to do it ourselves since @RequestBody doesn't work for interfaces.
String ciType = getCiType(ciPath);
Class<Dto> dtoClass = getDtoClass(ciType);
Dto dto = (Dto) objectMapper.readValue(dtoStr, dtoClass);
Node node = getMapper(ciType).toEntity(dto);
getRepo(ciType).save(node);
// Node now has an ID, so we can set it on the DTO. (Why am I doing this at all?)
// Long id = node.getId();