Member since
03-01-2024
2
Posts
1
Kudos Received
0
Solutions
05-27-2024
02:12 AM
1 Kudo
Hi All, I hope you are doing well. Please help me with below request. Currenty our client is using MS Dynamics and they gave basic details required to fetch token. In Postman - 1. I'm choosing OAuth 2.0 in Authorization. 2. Giving the basic details(shared below) it asked for. 3. Then clicking on "Get New Access Token" 4. New window pops up to enter my Username and Password. 5. Post validating Creds, it gives the Token in another window. Problem : All the steps which I'm doing in postman, I want to implement the same in Apache Nifi(to fetch the Token). Basically I need an API along with a request payload to fetch the token.(I'm worried if it is possible to do so in one call, as we need to give User Creds too). Basic Details - Token Name - MyToken Grant Type - implicit Callback URL - https://callbackUrl Auth URL - https://login.microsoftonline.com/common/oauth2/authorise?resource=https://company007.crm5.dynamic.com/ Client ID - d9cdd9f1-3fjdf45-005jl-9e5b-1bb87-4jdfhn
... View more
Labels:
- Labels:
-
Apache NiFi
-
NiFi Registry
03-06-2024
01:57 AM
I'm new to Apache Nifi Community and I got stuck at one point - please help me for the below problem : In 'Validate CSV' processor I'm giving below schema(schema_used) to validate the CSV input. But, processor is showing error(err_screenshot). Validate CSV - Schema_Used - StrNotNullOrEmpty(), ParseDate("MM/dd/yyyy"), StrNotNullOrEmpty(), StrNotNullOrEmpty(), Optional(), StrNotNullOrEmpty(), StrNotNullOrEmpty(), StrNotNullOrEmpty(), StrNotNullOrEmpty(), Optional(), Optional(), StrNotNullOrEmpty() The above schema is showing below error - err_screenshot - Note: The Schema is working totally fine, if I remove 'Optional()'. Problem - Please tell me how can I use 'Validate CSV' processor in Apache Nifi and validate Mandatory/Optional Fields of CSV. Also, suggest/share any script(groovy/python) if that can validate the CSV.
... View more
Labels:
- Labels:
-
Apache NiFi