[ACA-1894] - added the possibility to filter whenever is possible by … (#5633)

* [ACA-1894] - added the possibility to filter whenever is possible by file path

* [ACA-1894] - fixed linting

* [ACA-1894] - reverted dynamic app config service refresh

* [ACA-1894] - added extra example in upload docs

* Update upload.service.md

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
This commit is contained in:
Vito
2020-04-24 14:25:49 +01:00
committed by GitHub
parent b9842ba12b
commit 6fea3b8cdd
5 changed files with 251 additions and 43 deletions

View File

@@ -87,6 +87,25 @@ node module.
}
}
```
From vesion 3.8.0 It's possible filter also for the folder whilst uploading a whole folder.
Note that all standard glob patterns work and you can end patterns with a forward
slash `/` character to specify a directory.
**app.config.json**
```json
{
"ecmHost": "http://localhost:3000/ecm",
"bpmHost": "http://localhost:3000/bpm",
"application": {
"name": "Alfresco"
},
"folders": {
"excluded": [".git"],
"match-options": {
"nocase": true
}
}
}
```
In this way all the files present in the .git folder won't be uploaded.
Please note that the filtering options available for the folders is the same as the one for the files.