Lighty refactor 79/90379/7
authormanuedelf <emmanuelle.delfour@gmail.com>
Wed, 10 Jun 2020 14:25:49 +0000 (16:25 +0200)
committermanuedelf <emmanuelle.delfour@gmail.com>
Thu, 11 Jun 2020 13:25:52 +0000 (15:25 +0200)
commitbfea62e2a8396424a527f0cad1521b8c16a13c90
tree7d437c77aff0a842fa33f87ad437a5ede7fc9329
parent1088f62da23159491f6d139e7ea5e51792d11f54
Lighty refactor

- clean pom
- add unit test
- add TpceBanner class to print banner
- add possibility to pass a config file for restconf at startup
- add technicalException to exit application if startup failed
- split TransportPCEImpl constructor
- add checkstyle from odl parent
- fix checkstyle violations

JIRA: TRNSPRTPCE-237
Change-Id: I3956d83ab6f0dfafa57e26058d275c4448a8c95c
lighty/pom.xml
lighty/src/main/java/io/lighty/controllers/tpce/Main.java
lighty/src/main/java/io/lighty/controllers/tpce/exception/TechnicalException.java [new file with mode: 0644]
lighty/src/main/java/io/lighty/controllers/tpce/module/TransportPCEImpl.java
lighty/src/main/java/io/lighty/controllers/tpce/utils/TPCEUtils.java
lighty/src/main/java/io/lighty/controllers/tpce/utils/TpceBanner.java [new file with mode: 0644]
lighty/src/test/java/io/lighty/controllers/tpce/MaintTest.java [new file with mode: 0644]
lighty/src/test/resources/config.json [new file with mode: 0644]