Class GenerateVersionInconsistencyReport


  • public class GenerateVersionInconsistencyReport
    extends Object
    Generate a report with the list of affected versionHistory nodes containing empty version nodes or an incorrect primaryType. This is something that shouldn't happen when Oak is strictly used, but some external tools may introduce this kind of inconsistencies.
    • Constructor Detail

      • GenerateVersionInconsistencyReport

        public GenerateVersionInconsistencyReport()
    • Method Detail

      • main

        public static void main​(String[] args)
                         throws IOException
        The tool is not integrated in the Oak-run Command framework as it's not intended for frequent or generic use.
        Parameters:
        args - At least 2 arguments are expected: - MongoDB URI - Repository admin username (optional) - Repository admin password
        Throws:
        IOException