return gnContext;
}
private void importDatabaseData(final ServiceContext context) {
// check if database has any data
final SettingRepository settingRepository = context.getBean(SettingRepository.class);
final long count = settingRepository.count();
if (count == 0) {
try {
// import data from init files
List<Pair<String, String>> importData = (List) context.getApplicationContext().getBean("initial-data");
final DbLib dbLib = new DbLib();