| .. | .. |
|---|
| 138 | 138 | * Checks that config file exists and contains mandatory parameters |
|---|
| 139 | 139 | */ |
|---|
| 140 | 140 | private static void checkConfigFile() { |
|---|
| 141 | | - if (Params.get(Params.KEYS.APPLICATION_CODE) == null) { |
|---|
| 142 | | - LOG.error("Manadatory parameter {} is not set in config file", Params.KEYS.APPLICATION_CODE); |
|---|
| 141 | + if (Params.get(Params.KEYS.LIC_TYPE_CODE) == null && Params.get(Params.KEYS.APPLICATION_CODE) == null) { |
|---|
| 142 | + LOG.error("Manadatory parameter {} is not set in config file", Params.KEYS.LIC_TYPE_CODE); |
|---|
| 143 | 143 | System.exit(-3); |
|---|
| 144 | 144 | } |
|---|
| 145 | 145 | if (Params.get(Params.KEYS.CUSTOMER_CODE) == null) { |
|---|