timoninmaxim commented on a change in pull request #8109: URL: https://github.com/apache/ignite/pull/8109#discussion_r465116882
########## File path: modules/ducktests/src/main/java/org/apache/ignite/internal/ducktest/tests/DataGenerationApplication.java ########## @@ -34,13 +35,13 @@ public DataGenerationApplication(Ignite ignite) { } /** {@inheritDoc} */ - @Override protected void run(String[] args) { + @Override protected void run(JsonNode jsonNode) { log.info("Creating cache..."); - IgniteCache<Integer, Integer> cache = ignite.createCache(args[0]); + IgniteCache<Integer, Integer> cache = ignite.createCache(jsonNode.get("cacheName").asText()); try (IgniteDataStreamer<Integer, Integer> stmr = ignite.dataStreamer(cache.getName())) { - for (int i = 0; i < Integer.parseInt(args[1]); i++) { + for (int i = 0; i < jsonNode.get("range").asInt(); i++) { Review comment: There still python, shame :( There are different approaches. Python just use dict and user is responsible for everything that is running in python code. Java could provide more strict checks. Ok, agree, not an issue, as python won't directly use DTO object. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org