Knotx / knotx-cookbook

Cookbook for automated Knot.x deployment
http://knotx.io
Apache License 2.0
2 stars 5 forks source link

Configuration of file-uploads folder #10

Open marcinczeczko opened 6 years ago

marcinczeczko commented 6 years ago

The https://github.com/Cognifide/knotx/pull/320/files added configuration item to the KnotxServer to provide a path to the file-uploads folder -> instead of creation of it on root folder. The aim of this ticket is to add support in cookbook to configure this parameter. E.g. through config json

  "config": {
    "knotx:io.knotx.KnotxServer": {
      "options": {
        "config": {
          "fileUploadDirectory": "/tmp/knotx-upload",
          ...
        }
      }
    }
  }

Or through JVM properties: -Dio.knotx.KnotxServer.options.config.fileUploadDirectory=/tmp/knotx-upload

marcinczeczko commented 6 years ago

I think this is not longer needed.

jwadolowski commented 6 years ago

If that's no longer needed, should we stop creating $KNOTX_HOME/file-uploads directory then?

I found 2 references to this directory: