Github user JPercivall commented on a diff in the pull request: https://github.com/apache/nifi-minifi/pull/45#discussion_r85128182 --- Diff: minifi-toolkit/minifi-toolkit-configuration/src/main/java/org/apache/nifi/minifi/toolkit/configuration/ConfigMain.java --- @@ -235,62 +252,127 @@ private static void addRemoteProcessGroupPortDTOs(Map<String, String> connectabl } } + public int upgrade(String[] args) { + if (args.length != 3) { + printUgradeUsage(); + return ERR_INVALID_ARGS; + } + + ConfigSchema configSchema = null; + try (InputStream inputStream = pathInputStreamFactory.create(args[1])) { + try { + configSchema = SchemaLoader.loadConfigSchemaFromYaml(inputStream); --- End diff -- After ingesting the config, it should check if it is already the latest version.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---