Skip to content

Commit 7f152d5

Browse files
author
Ricardo Ruiz Saiz
committed
Added documentation
1 parent 25ec538 commit 7f152d5

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

  • nifi-nifiCKANFlowfileUploader-processors
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Apache Nifi CKAN flowfile uploader
2+
3+
This is a custom [Apache Nifi](https://nifi.apache.org/) processor that, using the CKAN API, is able to:
4+
* Check the existence and create organizations
5+
* Check the existence and create packages
6+
* Upload the flowfile to the package
7+
8+
## Behaviour
9+
10+
It receives an input flowfile with a path to a file and handles the creation (if needed) of the organization and package in ckan to be able to upload that file to it.
11+
12+
## Configuration
13+
14+
The processor has 6 properties to be filled before running:
15+
16+
* **CKAN_url**: Url of the CKAN instance to write to
17+
* **api_key**: Personal API-Key provided by CKAN
18+
* **organization_id**: Name of the organization to upload the file to, or create if it does not exists.
19+
* **package_name**: *(optional)* Name for the creating of the package. When empty, the filename attribute of the flowfile will be used.
20+
* **package_description**: *(optional)* Description of the package
21+
* **package_visibility**: *(optional)* Choose the visibility of the package between private or public

0 commit comments

Comments
 (0)