Jean-Francois Leveque

Squelette d'application de recommandation

1 +package org.legrog.recommendation.process;
2 +
3 +import org.slf4j.Logger;
4 +import org.slf4j.LoggerFactory;
5 +import org.springframework.boot.CommandLineRunner;
6 +import org.springframework.boot.SpringApplication;
7 +import org.springframework.boot.autoconfigure.SpringBootApplication;
8 +import org.springframework.context.annotation.Bean;
9 +
10 +@SpringBootApplication
11 +public class ProcessingApplication {
12 +
13 + Logger logger = LoggerFactory.getLogger(getClass());
14 +
15 + public static void main(String[] args) {
16 + SpringApplication.run(ProcessingApplication.class, args);
17 + }
18 +
19 + @Bean
20 + public CommandLineRunner process() {
21 + return (args) -> this.run();
22 + }
23 +
24 + public void run() {
25 +
26 + }
27 +}
1 +parameters.filename=${parameters.filename}
2 +collectionSample.filename=${collectionSample.filename}
3 +ratingSample.filename=${ratingSample.filename}
4 +recommandations.filename=${recommandations.filename}
5 +data.dir=dumb/
...\ No newline at end of file ...\ No newline at end of file