-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ricardo Ruiz Saiz
committed
Sep 26, 2018
1 parent
25ec538
commit 7f152d5
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Apache Nifi CKAN flowfile uploader | ||
|
||
This is a custom [Apache Nifi](https://nifi.apache.org/) processor that, using the CKAN API, is able to: | ||
* Check the existence and create organizations | ||
* Check the existence and create packages | ||
* Upload the flowfile to the package | ||
|
||
## Behaviour | ||
|
||
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. | ||
|
||
## Configuration | ||
|
||
The processor has 6 properties to be filled before running: | ||
|
||
* **CKAN_url**: Url of the CKAN instance to write to | ||
* **api_key**: Personal API-Key provided by CKAN | ||
* **organization_id**: Name of the organization to upload the file to, or create if it does not exists. | ||
* **package_name**: *(optional)* Name for the creating of the package. When empty, the filename attribute of the flowfile will be used. | ||
* **package_description**: *(optional)* Description of the package | ||
* **package_visibility**: *(optional)* Choose the visibility of the package between private or public |