- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to give Access policies for template and Creating template instance via rest api
- Labels:
-
Apache NiFi
Created ‎01-13-2017 09:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using rest-api of nifi to upload a template, create instance of it, modify processors and run. I am able to do this with http protocol.
Now, I secured my nifi with https and user credentials. I am trying to achieve the same (upload, create instance, etc) with rest-api.
I need to change the policies on uploaded template before creating the instance everytime and again on the template instance to modify it. Is it the correct behaviour of nifi or am I missing something?
Also, after creating the instance of template it gives "500 Internal Server Error" and I cannot get the id of the instance from api.
Created ‎01-13-2017 02:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, there are no logs in nifi-app.log file, The issue is solved now.. thanks for replying. Issue was with authorizations.xml which had policies for old instance. I cleaned that and its working fine now.
Created ‎01-13-2017 02:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
do you have any logs for the internal server error. It may be in the nidi-app.log file.
Created ‎01-13-2017 02:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, there are no logs in nifi-app.log file, The issue is solved now.. thanks for replying. Issue was with authorizations.xml which had policies for old instance. I cleaned that and its working fine now.
