Member since
11-27-2023
11
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1934 | 12-07-2023 01:39 AM |
12-11-2023
03:27 AM
@srikanth11 Okta Auth JS is all about providing the core functionalities for authentication, giving developers control to implement their own authentication flows. Okta Sign-In Widget harnesses the capabilities of Okta Auth JS but emphasizes building a ready-made, customizable visual interface for authentication. Auth JS empowers developers with authentication capabilities, while the Sign-In Widget streamlines the process by offering a pre-built visual experience utilizing those functionalities.
... View more
12-11-2023
01:56 AM
Hello, I'm using InvokeHTTP for fetching recods from my CouchDB. I have recieved a JSON. JSON Format: { "total_rows" : 3, "offset" : 0, "rows" : [ { "id" : "XXXXXXXXXX", "key" : "XXXXXXXXXX", "value" : { "rev" : "XXXXXXXXXX" }, "doc" : { "_id" : "XXXXXXXXXX", "_rev" : "XXXXXXXXXX", "Id" : "3", "name" : "ali", "gender" : "Male", "position" : "soft", "salary" : "3333", "contact" : "2222", "address" : "w222" } } ] } After that i will use EvaluateJSONPath Now, I want to make fetch all the values from the database dynamically and then POST to my GraphQL. The Problem that I'm faceing values dynamically is not being fetched. Although I can POST the data by using Only One Record like as following: By using Single records I can POST the data but how can I manage the Multiple JSON records dynmaically ready for GraphQL mutation query? Advance Thanks.
... View more
12-07-2023
01:39 AM
@steven-matison Thank you for responding..! By using HTTP Method: POST HTTP URL: MyURL Request Content-Type: application/json and all other parms are sending through the "GenerateFlowFile" and then remove whitespaces by "ReplaceText" processor. This flow will send the data to the GraphQL database.
... View more
12-06-2023
05:32 AM
@steven-matison I want to POST the data by using Apache NiFi? I have CURL Command of GraphQL only
... View more
12-06-2023
05:30 AM
Hey @steven-matison Thank you for responding. I have defined the Body Content: Can you provide me any information in the form of article of any other sources where I can find the POST data of GraphQL. So, that It will help full for me. Actually, I have CURL command which is in working state. I try it too. Data from POSTMAN has been sending but as I define the Method and URL in the InvokedHTTP processor. Can you tell me where I can manage my post request data??? Thank you again
... View more
12-06-2023
04:40 AM
I'm encountering challenges when using the InvokeHTTP processor in Apache NiFi to send GraphQL POST requests. Specifically, I'm trying to execute GraphQL mutations via POST but facing difficulties in configuring the InvokeHTTP processor to handle these requests properly. Problem: I've set up an InvokeHTTP processor to send GraphQL mutation requests via POST to a specific endpoint. However, the requests don't seem to be reaching the GraphQL server as expected. Details: The InvokeHTTP processor is configured with the following properties: HTTP Method: POST Remote URL: myURL...! Headers: Content-Type: application/json, Accept: application/json Send Parameters in: Body The body content is constructed in JSON format as required by the GraphQL server. It includes the mutation query and variables. Request for Help: I'm seeking guidance on how to properly configure the InvokeHTTP processor in NiFi to successfully send GraphQL POST requests. If anyone has experience using InvokeHTTP for GraphQL mutations or suggestions for troubleshooting this issue, I would greatly appreciate your insights. QUERY: { "query": "mutation AddUser($input: [AddUserInput!]!, $upsert: Boolean) { addUser(input: $input, upsert: $upsert) { user { name } } }", "variables": { "input": [ { "name": "Ali", "username": "Ali", "phone1": "111222333", "address": "LAHORE" } ], "upsert": false } }
... View more
Labels:
12-06-2023
02:39 AM
@MattWho Thank you for replying. I'm already trying this "https://github.com/wasperen/nifi-couchdb" part. can you make it more easier so that will be helpful.
... View more
12-06-2023
02:37 AM
Hi @SAMSAL Thank you for responding. all these "Content-Type which corresponds to Request Content-Type property , or any custom header?" can be manged by Apache NiFi by Default.
... View more
12-06-2023
02:34 AM
If you want to GET the data form the GraphQL by using CURL: Then Choose InvokeHTTP Processor. HTTP Method: GET HTTP URL: Your URL?query={queryUser{attribute1,attribute2,attribute3}} Socket Connect Timeout : 5 mins By this you can get data in the Response Relationship.
... View more
12-01-2023
06:05 AM
Thank you @cjervis for responding. Actually, There is no any processor for CouchDB. Its mandatory to use CouchDB. So that, i purposed a solution that: By using InvokeHTTP: - setting the method, url, request username, request password. Got the successful flow. But it retrieve the (0 bytes of data). Although I cross check the URL with Username and Password in my POSTMAN. It contains data. POSTMAN APACHE NiFi Flow above are the images that shows that in POSTMAN it contains set of information but in NiFi flow contains zero bytes data. InvokeHTTP(1) InvokeHTTP(2) Here is the LogAttribute Processors LogAttriutes Please let me know if the information is missing? so that we will find solution of this query. Thank you @cjervis again
... View more