You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2022/09/22 18:49:34 UTC

[GitHub] [nifi] briansolo1985 commented on a diff in pull request #6411: NIFI-10460 GetZendesk processor

briansolo1985 commented on code in PR #6411:
URL: https://github.com/apache/nifi/pull/6411#discussion_r977983162


##########
nifi-nar-bundles/nifi-zendesk-bundle/nifi-zendesk-processors/pom.xml:
##########
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements. See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License. You may obtain a copy of the License at
+  http://www.apache.org/licenses/LICENSE-2.0
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.nifi</groupId>
+        <artifactId>nifi-zendesk-bundle</artifactId>
+        <version>1.18.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>nifi-zendesk-processors</artifactId>
+    <packaging>jar</packaging>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.nifi</groupId>
+            <artifactId>nifi-api</artifactId>
+            <version>1.18.0-SNAPSHOT</version>

Review Comment:
   I removed all explicit version I could - some had to be left in place, otherwise Maven throws an error



##########
nifi-nar-bundles/nifi-zendesk-bundle/nifi-zendesk-processors/src/main/resources/org.apache.nifi.processors.zendesk.GetZendesk/additionalDetails.html:
##########
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<html lang="en" xmlns="http://www.w3.org/1999/html">
+<!--
+      Licensed to the Apache Software Foundation (ASF) under one or more
+      contributor license agreements.  See the NOTICE file distributed with
+      this work for additional information regarding copyright ownership.
+      The ASF licenses this file to You under the Apache License, Version 2.0
+      (the "License"); you may not use this file except in compliance with
+      the License.  You may obtain a copy of the License at
+          http://www.apache.org/licenses/LICENSE-2.0
+      Unless required by applicable law or agreed to in writing, software
+      distributed under the License is distributed on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+      See the License for the specific language governing permissions and
+      limitations under the License.
+    -->
+
+<head>
+    <meta charset="utf-8"/>
+    <title>GetZendesk</title>
+    <link rel="stylesheet" href="../../../../../css/component-usage.css" type="text/css"/>
+    <style>
+h2 {margin-top: 4em}
+h3 {margin-top: 3em}
+td {text-align: left}
+    </style>
+</head>
+
+<body>
+
+<h1>GetZendesk</h1>
+
+<h3>Description</h3>
+
+<p>
+    The processor uses the Zendesk Incremental Exports API to initially export a complete list of items from some arbitrary milestone,
+    and then periodically poll the API to incrementally export items that have been added or changed since the previous poll.
+    The processor extracts data from the response and emits a flow file having an array of objects as content if the response was not empty,
+    also placing an attribute on the flow file having the value of the number of records fetched.
+    If the response was empty, no flow file is emitted.
+    SplitJson processor can be used the split the array of records into distinct flow files where each flow file will contain exactly one record.
+</p>
+
+<h3>Authentication</h3>
+
+<p>
+    Zendesk Incremental Exports API uses basic authentication. Either a password or an authentication token have to be provided.
+    Authentication token can be created in Zendesk API Settings, so the users don't have to expose their passwords,
+    and also auth tokens can be revoked quickly if necessary.
+</p>
+
+<h3>Export methods</h3>
+
+<p>
+    Zendesk Incremental Export API supports cursor and time based export methods.

Review Comment:
   Fixed



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org