Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • convert_json_file: Will convert .nmis file into a json file. It has 3 options: 
    • backup: t/f: True by default. Will move the .nmis file to the archive_converted_files directory. 
    • replace_qr: t/f: True by default. Will replace the qr// by "" reading the file content as a string. Please note, if the file has non quoted qr, the conversion to json will fail, with a message: 

      Error converting json file: encountered object '(?^:Category:\((\d+)\); User:([\w\\ ]{0,256}); (.+)$)', but neither allow_blessed ...


    • replace_nmis: t/f: True by default. Will replace the ".nmis" by ".json" reading the file content as a string. 
    • force: t/f: False by default. Will override the .json file if is exist previously when true. 
  • convert_dir_file: Will scan a directory and convert nmis files to json files, using backup, replace_qr and replace_nmis to true but for EventActions will do an exception. This file has quoted qr so it won't need to be converted. 

Migration of the files

The installer will run the common-cli tool to migrate all the .nmis files in the /conf directory to .json. 

The files will be moved to the archive directory, by default conf/archive, but it can be modified in the configuration item archive_converted_files.