{"action":"created","comment":{"url":"https://api.github.com/repos/apache/nifi/pulls/comments/63412890","id":63412890,"diff_hunk":"@@ -0,0 +1,93 @@\n+/*\n+ * Licensed to the Apache Software Foundation (ASF) under one or more\n+ * contributor license agreements.  See the NOTICE file distributed with\n+ * this work for additional information regarding copyright ownership.\n+ * The ASF licenses this file to You under the Apache License, Version 2.0\n+ * (the \"License\"); you may not use this file except in compliance with\n+ * the License.  You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+package org.apache.nifi.processors.standard;\n+\n+import java.util.ArrayList;\n+import java.util.Collections;\n+import java.util.List;\n+\n+import org.apache.nifi.annotation.behavior.DynamicProperty;\n+import org.apache.nifi.annotation.behavior.InputRequirement;\n+import org.apache.nifi.annotation.behavior.InputRequirement.Requirement;\n+import org.apache.nifi.annotation.behavior.SupportsBatching;\n+import org.apache.nifi.annotation.documentation.CapabilityDescription;\n+import org.apache.nifi.annotation.documentation.SeeAlso;\n+import org.apache.nifi.annotation.documentation.Tags;\n+import org.apache.nifi.components.PropertyDescriptor;\n+import org.apache.nifi.processor.ProcessContext;\n+import org.apache.nifi.processor.ProcessorInitializationContext;\n+//import org.apache.nifi.processors.standard.util.SCPTransfer;\n+import org.apache.nifi.processors.standard.util.SCPTransfer;\n+\n+@SupportsBatching\n+@Tags({\"remote\", \"copy\", \"egress\", \"put\", \"scp\", \"archive\", \"files\"})\n+@CapabilityDescription(\"Sends FlowFiles to an SCP Server\")\n+@SeeAlso(GetSCP.class)\n+@DynamicProperty(name = \"Disable Directory Listing\", value = \"true or false\",\n+        description = \"Disables directory listings before operations which might fail, such as configurations which create directory structures.\")\n+public class PutSCP extends PutFileTransfer<SCPTransfer> {","path":"nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PutSCP.java","position":42,"original_position":42,"commit_id":"cab256f07d1830aac962a4cb84ab36c8ba31b39c","original_commit_id":"cab256f07d1830aac962a4cb84ab36c8ba31b39c","user":{"login":"olegz","id":172397,"avatar_url":"https://avatars.githubusercontent.com/u/172397?v=3","gravatar_id":"","url":"https://api.github.com/users/olegz","html_url":"https://github.com/olegz","followers_url":"https://api.github.com/users/olegz/followers","following_url":"https://api.github.com/users/olegz/following{/other_user}","gists_url":"https://api.github.com/users/olegz/gists{/gist_id}","starred_url":"https://api.github.com/users/olegz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olegz/subscriptions","organizations_url":"https://api.github.com/users/olegz/orgs","repos_url":"https://api.github.com/users/olegz/repos","events_url":"https://api.github.com/users/olegz/events{/privacy}","received_events_url":"https://api.github.com/users/olegz/received_events","type":"User","site_admin":false},"body":"Consider annotating it with ```@InputRequiured```. I was able to start this processor without any input. Not sure you intended it that way.","created_at":"2016-05-16T19:47:08Z","updated_at":"2016-05-16T19:47:08Z","html_url":"https://github.com/apache/nifi/pull/416#discussion_r63412890","pull_request_url":"https://api.github.com/repos/apache/nifi/pulls/416","_links":{"self":{"href":"https://api.github.com/repos/apache/nifi/pulls/comments/63412890"},"html":{"href":"https://github.com/apache/nifi/pull/416#discussion_r63412890"},"pull_request":{"href":"https://api.github.com/repos/apache/nifi/pulls/416"}}},"pull_request":{"url":"https://api.github.com/repos/apache/nifi/pulls/416","id":69171569,"html_url":"https://github.com/apache/nifi/pull/416","diff_url":"https://github.com/apache/nifi/pull/416.diff","patch_url":"https://github.com/apache/nifi/pull/416.patch","issue_url":"https://api.github.com/repos/apache/nifi/issues/416","number":416,"state":"open","locked":false,"title":"Eorgad patch nifi 539","user":{"login":"eorgad","id":7086512,"avatar_url":"https://avatars.githubusercontent.com/u/7086512?v=3","gravatar_id":"","url":"https://api.github.com/users/eorgad","html_url":"https://github.com/eorgad","followers_url":"https://api.github.com/users/eorgad/followers","following_url":"https://api.github.com/users/eorgad/following{/other_user}","gists_url":"https://api.github.com/users/eorgad/gists{/gist_id}","starred_url":"https://api.github.com/users/eorgad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eorgad/subscriptions","organizations_url":"https://api.github.com/users/eorgad/orgs","repos_url":"https://api.github.com/users/eorgad/repos","events_url":"https://api.github.com/users/eorgad/events{/privacy}","received_events_url":"https://api.github.com/users/eorgad/received_events","type":"User","site_admin":false},"body":"Adding processor GetSCP and PutSCP\r\n","created_at":"2016-05-06T15:55:38Z","updated_at":"2016-05-16T19:47:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b9fd28dfc6796f5d29defcd3f2c2348666dbfdd6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/nifi/pulls/416/commits","review_comments_url":"https://api.github.com/repos/apache/nifi/pulls/416/comments","review_comment_url":"https://api.github.com/repos/apache/nifi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/nifi/issues/416/comments","statuses_url":"https://api.github.com/repos/apache/nifi/statuses/cab256f07d1830aac962a4cb84ab36c8ba31b39c","head":{"label":"eorgad:eorgad-patch-nifi-539","ref":"eorgad-patch-nifi-539","sha":"cab256f07d1830aac962a4cb84ab36c8ba31b39c","user":{"login":"eorgad","id":7086512,"avatar_url":"https://avatars.githubusercontent.com/u/7086512?v=3","gravatar_id":"","url":"https://api.github.com/users/eorgad","html_url":"https://github.com/eorgad","followers_url":"https://api.github.com/users/eorgad/followers","following_url":"https://api.github.com/users/eorgad/following{/other_user}","gists_url":"https://api.github.com/users/eorgad/gists{/gist_id}","starred_url":"https://api.github.com/users/eorgad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eorgad/subscriptions","organizations_url":"https://api.github.com/users/eorgad/orgs","repos_url":"https://api.github.com/users/eorgad/repos","events_url":"https://api.github.com/users/eorgad/events{/privacy}","received_events_url":"https://api.github.com/users/eorgad/received_events","type":"User","site_admin":false},"repo":{"id":58171864,"name":"nifi","full_name":"eorgad/nifi","owner":{"login":"eorgad","id":7086512,"avatar_url":"https://avatars.githubusercontent.com/u/7086512?v=3","gravatar_id":"","url":"https://api.github.com/users/eorgad","html_url":"https://github.com/eorgad","followers_url":"https://api.github.com/users/eorgad/followers","following_url":"https://api.github.com/users/eorgad/following{/other_user}","gists_url":"https://api.github.com/users/eorgad/gists{/gist_id}","starred_url":"https://api.github.com/users/eorgad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eorgad/subscriptions","organizations_url":"https://api.github.com/users/eorgad/orgs","repos_url":"https://api.github.com/users/eorgad/repos","events_url":"https://api.github.com/users/eorgad/events{/privacy}","received_events_url":"https://api.github.com/users/eorgad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eorgad/nifi","description":"Mirror of Apache NiFi","fork":true,"url":"https://api.github.com/repos/eorgad/nifi","forks_url":"https://api.github.com/repos/eorgad/nifi/forks","keys_url":"https://api.github.com/repos/eorgad/nifi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eorgad/nifi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eorgad/nifi/teams","hooks_url":"https://api.github.com/repos/eorgad/nifi/hooks","issue_events_url":"https://api.github.com/repos/eorgad/nifi/issues/events{/number}","events_url":"https://api.github.com/repos/eorgad/nifi/events","assignees_url":"https://api.github.com/repos/eorgad/nifi/assignees{/user}","branches_url":"https://api.github.com/repos/eorgad/nifi/branches{/branch}","tags_url":"https://api.github.com/repos/eorgad/nifi/tags","blobs_url":"https://api.github.com/repos/eorgad/nifi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eorgad/nifi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eorgad/nifi/git/refs{/sha}","trees_url":"https://api.github.com/repos/eorgad/nifi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eorgad/nifi/statuses/{sha}","languages_url":"https://api.github.com/repos/eorgad/nifi/languages","stargazers_url":"https://api.github.com/repos/eorgad/nifi/stargazers","contributors_url":"https://api.github.com/repos/eorgad/nifi/contributors","subscribers_url":"https://api.github.com/repos/eorgad/nifi/subscribers","subscription_url":"https://api.github.com/repos/eorgad/nifi/subscription","commits_url":"https://api.github.com/repos/eorgad/nifi/commits{/sha}","git_commits_url":"https://api.github.com/repos/eorgad/nifi/git/commits{/sha}","comments_url":"https://api.github.com/repos/eorgad/nifi/comments{/number}","issue_comment_url":"https://api.github.com/repos/eorgad/nifi/issues/comments{/number}","contents_url":"https://api.github.com/repos/eorgad/nifi/contents/{+path}","compare_url":"https://api.github.com/repos/eorgad/nifi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eorgad/nifi/merges","archive_url":"https://api.github.com/repos/eorgad/nifi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eorgad/nifi/downloads","issues_url":"https://api.github.com/repos/eorgad/nifi/issues{/number}","pulls_url":"https://api.github.com/repos/eorgad/nifi/pulls{/number}","milestones_url":"https://api.github.com/repos/eorgad/nifi/milestones{/number}","notifications_url":"https://api.github.com/repos/eorgad/nifi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eorgad/nifi/labels{/name}","releases_url":"https://api.github.com/repos/eorgad/nifi/releases{/id}","deployments_url":"https://api.github.com/repos/eorgad/nifi/deployments","created_at":"2016-05-06T01:35:54Z","updated_at":"2016-05-06T01:36:07Z","pushed_at":"2016-05-06T15:40:24Z","git_url":"git://github.com/eorgad/nifi.git","ssh_url":"git@github.com:eorgad/nifi.git","clone_url":"https://github.com/eorgad/nifi.git","svn_url":"https://github.com/eorgad/nifi","homepage":"","size":45711,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"c527f642308ad229f0f2527368d3202c19ff3be9","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":27911088,"name":"nifi","full_name":"apache/nifi","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/nifi","description":"Mirror of Apache NiFi","fork":false,"url":"https://api.github.com/repos/apache/nifi","forks_url":"https://api.github.com/repos/apache/nifi/forks","keys_url":"https://api.github.com/repos/apache/nifi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/nifi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/nifi/teams","hooks_url":"https://api.github.com/repos/apache/nifi/hooks","issue_events_url":"https://api.github.com/repos/apache/nifi/issues/events{/number}","events_url":"https://api.github.com/repos/apache/nifi/events","assignees_url":"https://api.github.com/repos/apache/nifi/assignees{/user}","branches_url":"https://api.github.com/repos/apache/nifi/branches{/branch}","tags_url":"https://api.github.com/repos/apache/nifi/tags","blobs_url":"https://api.github.com/repos/apache/nifi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/nifi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/nifi/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/nifi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/nifi/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/nifi/languages","stargazers_url":"https://api.github.com/repos/apache/nifi/stargazers","contributors_url":"https://api.github.com/repos/apache/nifi/contributors","subscribers_url":"https://api.github.com/repos/apache/nifi/subscribers","subscription_url":"https://api.github.com/repos/apache/nifi/subscription","commits_url":"https://api.github.com/repos/apache/nifi/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/nifi/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/nifi/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/nifi/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/nifi/contents/{+path}","compare_url":"https://api.github.com/repos/apache/nifi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/nifi/merges","archive_url":"https://api.github.com/repos/apache/nifi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/nifi/downloads","issues_url":"https://api.github.com/repos/apache/nifi/issues{/number}","pulls_url":"https://api.github.com/repos/apache/nifi/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/nifi/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/nifi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/nifi/labels{/name}","releases_url":"https://api.github.com/repos/apache/nifi/releases{/id}","deployments_url":"https://api.github.com/repos/apache/nifi/deployments","created_at":"2014-12-12T08:00:05Z","updated_at":"2016-05-13T19:17:17Z","pushed_at":"2016-05-16T19:13:40Z","git_url":"git://github.com/apache/nifi.git","ssh_url":"git@github.com:apache/nifi.git","clone_url":"https://github.com/apache/nifi.git","svn_url":"https://github.com/apache/nifi","homepage":"","size":65537,"stargazers_count":273,"watchers_count":273,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":242,"mirror_url":"git://git.apache.org/nifi.git","open_issues_count":54,"forks":242,"open_issues":54,"watchers":273,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/nifi/pulls/416"},"html":{"href":"https://github.com/apache/nifi/pull/416"},"issue":{"href":"https://api.github.com/repos/apache/nifi/issues/416"},"comments":{"href":"https://api.github.com/repos/apache/nifi/issues/416/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/nifi/pulls/416/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/nifi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/nifi/pulls/416/commits"},"statuses":{"href":"https://api.github.com/repos/apache/nifi/statuses/cab256f07d1830aac962a4cb84ab36c8ba31b39c"}}}}