Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 08-10-2016 04:20 PM
I am trying to update the properties of a routeText processor using the rest api using the syntax given below.
curl -i -X PUT -H 'Content-Type: application/json' -d '{"revision":{"clientId":"7a1f42ec-f805-4869-a47c-27306a38490a"},"processor":{"id":"5a93362a-482a-42d0-9ef6-f965a08202eb","config":{"properties":{"Search Value":"abcd"}}}}' http://localhost:8080/nifi-api/controller/process-groups/root/processors/5a93362a-482a-42d0-9ef6-f96...
Although I am able to update properties like "Replacement Values" using the syntax given above but unable to update the "Search Value" property.When I execute it is trying to create a dynamic property named "Search Value" instead of updating the updating the original "Search Value" property provided by ReplaceText processor.Is there any problem specific to this property?Has anyone faced this problem before?
Created 08-11-2016 03:00 AM
Instead of Search Value, try providing config":{"properties":{"Regular Expression":"abcd"}}
Hopefully that should fix this issue
Created 08-10-2016 04:22 PM
A quick thing to check before we dig into any other problems. The processor needs to be in the stopped state before an update is attempted.
Created 08-10-2016 04:30 PM
It was in stopped state.As I already pointed out I was able to update other properties.This is specific to "Search Value" property in replaceText processor.
Created 08-11-2016 03:00 AM
Instead of Search Value, try providing config":{"properties":{"Regular Expression":"abcd"}}
Hopefully that should fix this issue
Created 08-11-2016 05:45 AM
Thanks a lot.It works.