All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.evaluatorFooter.mustache Maven / Gradle / Ivy

The newest version!

        // Evaluate properties that needs EL, validate evaluatedConf and returns it
        return Maybe
            .merge(Flowable.fromIterable(toEval))
            .ignoreElements()
            .andThen(Completable.fromRunnable(() -> validateConfiguration(evaluatedConfiguration)))
            .andThen(Completable.fromRunnable(() ->
                ctx.setInternalAttribute("{{evaluatedConfigurationName}}-"+this.internalId, evaluatedConfiguration)))
            .onErrorResumeWith(
                ctx.interruptWith(new ExecutionFailure(500).message("Invalid configuration").key(FAILURE_CONFIGURATION_INVALID))
            )
            .toSingle(() -> evaluatedConfiguration);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy