@Override public VertexProgram generateProgram(final Graph graph, final Memory memory) { final MapConfiguration base = new MapConfiguration(this.configuration); base.setDelimiterParsingDisabled(true); PureTraversal.storeState(base, ROOT_TRAVERSAL, TraversalHelper.getRootTraversal(this.getTraversal()).clone()); base.setProperty(STEP_ID, this.getId()); if (memory.exists(TraversalVertexProgram.HALTED_TRAVERSERS)) TraversalVertexProgram.storeHaltedTraversers(base, memory.get(TraversalVertexProgram.HALTED_TRAVERSERS)); return VertexProgram.createVertexProgram(graph, base); }
runtimeConfiguration.setProperty("runtime.jarfile", jarUrl.toString()); configurations.add(runtimeConfiguration);
runtimeConfiguration.setProperty("runtime.jarfile", jarUrl.toString()); configurations.add(runtimeConfiguration);
@BeforeClass public static void setUp() { originalConfig = Config.getInstance(); CompositeConfiguration config = new CompositeConfiguration(originalConfig); MapConfiguration overrides = new MapConfiguration(new HashMap<String, Object>()); overrides.setProperty(ConfigurationProperties.DEVELOPER_DEBUG_ENABLED, "true"); overrides.setProperty(ConfigurationProperties.DEVELOPER_VALIDATE_XML, "true"); config.addConfiguration(overrides); Config.setConfiguration(config); }
@BeforeClass public static void setUp() { originalConfig = Config.getInstance(); CompositeConfiguration config = new CompositeConfiguration(originalConfig); MapConfiguration overrides = new MapConfiguration(new HashMap<String, Object>()); overrides.setProperty(ConfigurationProperties.INTEGRITY_ERROR_MODE, "true"); config.addConfiguration(overrides); Config.setConfiguration(config); }
@Override public VertexProgram generateProgram(final Graph graph, final Memory memory) { final MapConfiguration base = new MapConfiguration(this.configuration); base.setDelimiterParsingDisabled(true); PureTraversal.storeState(base, ROOT_TRAVERSAL, TraversalHelper.getRootTraversal(this.getTraversal()).clone()); base.setProperty(STEP_ID, this.getId()); if (memory.exists(TraversalVertexProgram.HALTED_TRAVERSERS)) TraversalVertexProgram.storeHaltedTraversers(base, memory.get(TraversalVertexProgram.HALTED_TRAVERSERS)); return VertexProgram.createVertexProgram(graph, base); }