Subversion Repositories SmartDukaan

Rev

Rev 35525 | Rev 35529 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35525 Rev 35528
Line 142... Line 142...
142
			throws Exception {
142
			throws Exception {
143
 
143
 
144
		try {
144
		try {
145
			List<ContentPojo> contentPojos = readFile(file);
145
			List<ContentPojo> contentPojos = readFile(file);
146
 
146
 
-
 
147
			LOGGER.info("ContentPojo {}", contentPojos);
-
 
148
 
147
			for (ContentPojo contentPojo : contentPojos) {
149
			for (ContentPojo contentPojo : contentPojos) {
148
				mongoClient.persistEntity(contentPojo);
150
				mongoClient.persistEntity(contentPojo);
149
			}
151
			}
150
 
152
 
151
			return ResponseEntity.ok(
153
			return ResponseEntity.ok(