class AlarmLevelService extends GenericReactiveCrudService<AlarmLevelEntity, String> implements CommandLineRunner {

    public static final String DEFAULT_ALARM_ID = "default-alarm-id";


    private Mono<Void> initDefaultData() {<FILL_FUNCTION_BODY>}


    @Override
    public void run(String... args) throws Exception {
        initDefaultData()
            .subscribe();
    }
}

        return findById(DEFAULT_ALARM_ID)
            .switchIfEmpty(
                Mono.fromCallable(() -> {
                    ClassPathResource resource = new ClassPathResource("alarm-level.json");
                    try (InputStream stream = resource.getInputStream()) {
                        String json = StreamUtils.copyToString(stream, StandardCharsets.UTF_8);
                        List<AlarmLevelInfo> levelInfo = JSON.parseArray(json, AlarmLevelInfo.class);
                        return AlarmLevelEntity.defaultOf(levelInfo);
                    }
                })
                    .flatMap(e -> save(e)
                        .thenReturn(e))
            )
            .then();

    
<no_super_class>