MovieDbImportService importService;
private final static Logger log = LoggerFactory.getLogger(DatabasePopulator.class);
@Transactional
public List<Movie> populateDatabase() {
User me = userRepository.save(new User("micha", "Micha", "password", User.Roles.ROLE_ADMIN,User.Roles.ROLE_USER));
User ollie = new User("ollie", "Olliver", "password",User.Roles.ROLE_USER);
me.addFriend(ollie);
userRepository.save(me);
List<Integer> ids = asList(19995 , 194, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 13, 20526, 11, 1893, 1892, 1894, 168, 193, 200, 157, 152, 201, 154, 12155, 58, 285, 118, 22, 392, 5255, 568, 9800, 497, 101, 120, 121, 122);
List<Movie> result=new ArrayList<Movie>(ids.size());
for (Integer id : ids) {