Taybou commented on a change in pull request #94: UNOMI-240 Document profile 
import/export
URL: https://github.com/apache/unomi/pull/94#discussion_r318566003
 
 

 ##########
 File path: manual/src/main/asciidoc/profile-import-export.adoc
 ##########
 @@ -0,0 +1,239 @@
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+The profile import and export feature in Apache Unomi is based on 
configurations and consumes or produces CSV files that
+contain the profiles to import and export.
+
+=== Importing profiles
+
+Only `ftp`, `sftp`, `ftps` and ``file` are supported in the source path. For 
example:
+
+    file:///tmp/?fileName=profiles.csv&move=.done&consumer.delay=25s
+
+Where:
+
+- `fileName` Can be a pattern, for example `include=.*.csv` instead of 
`fileName=...` to consume all CSV files. 
+By default the processed files are moved to `.camel` folder you can change it 
using the `move` option.
+- `consumer.delay` Is the frequency of polling in milliseconds. For example, 
20000 milliseconds is 20 seconds. This
+frequency can also be 20s. Other possible format are: 2h30m10s = 2 hours and 
30 minutes and 10 seconds.
+
+See http://camel.apache.org/ftp.html and http://camel.apache.org/file2.html to 
build more complex source path. Also be
 
 Review comment:
   ```suggestion
   See http://camel.apache.org/ftp.html and http://camel.apache.org/file2.html 
to build more complex source path. Also be
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to