use of com.twosigma.beakerx.groovy.evaluator.GroovyEvaluator in project beakerx by twosigma.
the class Groovy method main.
public static void main(final String[] args) throws InterruptedException, IOException {
KernelRunner.run(() -> {
String id = uuid();
KernelSocketsFactoryImpl kernelSocketsFactory = new KernelSocketsFactoryImpl(new KernelConfigurationFile(args));
GroovyEvaluator evaluator = new GroovyEvaluator(id, id, getEvaluatorParameters());
return new Groovy(id, evaluator, kernelSocketsFactory);
});
}
use of com.twosigma.beakerx.groovy.evaluator.GroovyEvaluator in project beakerx by twosigma.
the class GroovyCompleteHandlerTest method setUpClass.
@BeforeClass
public static void setUpClass() {
GroovyEvaluator groovyEvaluator = new GroovyEvaluator("id", "sid", cellExecutor(), EvaluatorTest.getTestTempFolderFactory(), new EvaluatorParameters(new HashedMap()));
groovyKernel = new GroovyKernelMock("sid", groovyEvaluator);
}
Aggregations