1
|
package eu.dnetlib;
|
2
|
|
3
|
import org.apache.commons.logging.Log;
|
4
|
import org.apache.commons.logging.LogFactory;
|
5
|
import org.springframework.boot.SpringApplication;
|
6
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
7
|
import org.springframework.web.bind.annotation.RequestMapping;
|
8
|
import org.springframework.web.bind.annotation.RestController;
|
9
|
|
10
|
@RestController
|
11
|
@SpringBootApplication
|
12
|
public class DnetOpenaireProjectsExporterApplication {
|
13
|
|
14
|
private static final Log log = LogFactory.getLog(DnetOpenaireProjectsExporterApplication.class);
|
15
|
|
16
|
@RequestMapping("/")
|
17
|
String home() {
|
18
|
log.info("Hello!!!");
|
19
|
return "Hello World!";
|
20
|
}
|
21
|
|
22
|
public static void main(String[] args) throws Exception {
|
23
|
SpringApplication.run(DnetOpenaireProjectsExporterApplication.class, args);
|
24
|
}
|
25
|
}
|