Revize 6a1a8cd7
Přidáno uživatelem Jakub Šmíd před asi 2 roky(ů)
backend/src/main/java/cz/zcu/kiv/backendapi/BackendApiApplication.java | ||
---|---|---|
1 | 1 |
package cz.zcu.kiv.backendapi; |
2 | 2 |
|
3 |
import lombok.extern.slf4j.Slf4j; |
|
3 | 4 |
import org.springframework.boot.SpringApplication; |
4 | 5 |
import org.springframework.boot.autoconfigure.SpringBootApplication; |
5 | 6 |
|
6 |
import java.util.logging.Logger; |
|
7 |
|
|
7 |
/** |
|
8 |
* Backend |
|
9 |
*/ |
|
8 | 10 |
@SpringBootApplication |
11 |
@Slf4j |
|
9 | 12 |
public class BackendApiApplication { |
10 | 13 |
|
11 |
// TODO replace with log4j? |
|
12 |
public static final Logger LOGGER = Logger.getLogger(BackendApiApplication.class.getName()); |
|
13 |
|
|
14 |
/** |
|
15 |
* Main method |
|
16 |
* |
|
17 |
* @param args arguments (not used) |
|
18 |
*/ |
|
14 | 19 |
public static void main(String[] args) { |
15 | 20 |
SpringApplication.run(BackendApiApplication.class, args); |
16 |
LOGGER.info("Swagger is running at: http://localhost:8080/swagger-ui.html");
|
|
21 |
log.info("Swagger is running at: http://localhost:8080/swagger-ui.html");
|
|
17 | 22 |
} |
18 | 23 |
|
19 | 24 |
} |
Také k dispozici: Unified diff
Database exported to script
- removed initialization from application
- updated docker-compose.yml to create volume and add data from script
re #9746