Member since
01-15-2019
5
Posts
1
Kudos Received
0
Solutions
04-15-2019
09:30 PM
I have an array ["a,1", "b,2"]. I want to iterate over the array and form a JSON {"a":1, "b":2) What's the best way to achieve this?
... View more
Labels:
- Labels:
-
Apache NiFi
03-19-2019
10:42 PM
I have a JSON {
"name": "abc",
"age": 14,
"data": {
"course": "math",
"score": 90
}
} I want to add a new key - value (year, 2019) at the end of this JSON. How can I achieve that in Nifi? Desired output: {
"name": "abc",
"age": 14,
"data": {
"course": "math",
"score": 90
},
"year": 2019
}
... View more
Labels:
- Labels:
-
Apache NiFi
01-16-2019
03:05 AM
1 Kudo
I want to implement basic authentication mechanism on Nifi's HandleHttpRequest processor. When I receive a request containing JSON data, I want to check if the username and password is correct or not. Based on the results, I want to redirect request. How can I implement this basic authentication on Nifi without using SSLContextService?
... View more
Labels:
- Labels:
-
Apache NiFi
01-15-2019
11:36 PM
@Pierre Villard @Andy Liang could you tell how to do the second approach you've suggest? "As a final side note: if you need to perform a login/password authentication like Basic Authentication (with HTTP headers), then you don't need all of this, and you just need to check the attributes sent by the user in the request with a RouteOnAttribute processor and using the expression language."
... View more