{"action":"created","comment":{"url":"https://api.github.com/repos/AgaDevs/processor-streamline/pulls/comments/99942750","pull_request_review_id":20634107,"id":99942750,"diff_hunk":"@@ -1,3 +1,28 @@\n 'use strict';\n \n-module.exports = {};\n+const fs = require('fs');\n+const path = require('path');\n+\n+const environment = require('./environment');\n+\n+const privateKey = environment.getEnvironmentVariable('STREAMLINE_SFTP_KEY', {\n+    development: path.resolve(__dirname, './private.key'),\n+    test: path.resolve(__dirname, './private.key')\n+});\n+\n+const username = environment.getEnvironmentVariable('STREAMLINE_SFTP_USERNAME', {\n+    development: 'MFG_MTCPEPCH',\n+    test: 'MFG_MTCPEPCH'\n+});\n+\n+module.exports = {\n+    algorithms: {\n+        cipher: [\n+            'aes256-cbc'\n+        ]\n+    },\n+    hostname: 'mfg.worldpay.com',","path":"config/credentials.js","position":25,"original_position":25,"commit_id":"9d5f0b61cbbe569e562c07fbddd22dd548bb3da3","original_commit_id":"9d5f0b61cbbe569e562c07fbddd22dd548bb3da3","user":{"login":"epochssims","id":15165046,"avatar_url":"https://avatars.githubusercontent.com/u/15165046?v=3","gravatar_id":"","url":"https://api.github.com/users/epochssims","html_url":"https://github.com/epochssims","followers_url":"https://api.github.com/users/epochssims/followers","following_url":"https://api.github.com/users/epochssims/following{/other_user}","gists_url":"https://api.github.com/users/epochssims/gists{/gist_id}","starred_url":"https://api.github.com/users/epochssims/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epochssims/subscriptions","organizations_url":"https://api.github.com/users/epochssims/orgs","repos_url":"https://api.github.com/users/epochssims/repos","events_url":"https://api.github.com/users/epochssims/events{/privacy}","received_events_url":"https://api.github.com/users/epochssims/received_events","type":"User","site_admin":false},"body":"Every `processor-*` is specific for that processor. `gator` is meant to be universal","created_at":"2017-02-07T22:09:35Z","updated_at":"2017-02-07T22:09:35Z","html_url":"https://github.com/AgaDevs/processor-streamline/pull/1#discussion_r99942750","pull_request_url":"https://api.github.com/repos/AgaDevs/processor-streamline/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/AgaDevs/processor-streamline/pulls/comments/99942750"},"html":{"href":"https://github.com/AgaDevs/processor-streamline/pull/1#discussion_r99942750"},"pull_request":{"href":"https://api.github.com/repos/AgaDevs/processor-streamline/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/AgaDevs/processor-streamline/pulls/1","id":103767709,"html_url":"https://github.com/AgaDevs/processor-streamline/pull/1","diff_url":"https://github.com/AgaDevs/processor-streamline/pull/1.diff","patch_url":"https://github.com/AgaDevs/processor-streamline/pull/1.patch","issue_url":"https://api.github.com/repos/AgaDevs/processor-streamline/issues/1","number":1,"state":"open","locked":false,"title":"Generating batch file","user":{"login":"epochssims","id":15165046,"avatar_url":"https://avatars.githubusercontent.com/u/15165046?v=3","gravatar_id":"","url":"https://api.github.com/users/epochssims","html_url":"https://github.com/epochssims","followers_url":"https://api.github.com/users/epochssims/followers","following_url":"https://api.github.com/users/epochssims/following{/other_user}","gists_url":"https://api.github.com/users/epochssims/gists{/gist_id}","starred_url":"https://api.github.com/users/epochssims/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epochssims/subscriptions","organizations_url":"https://api.github.com/users/epochssims/orgs","repos_url":"https://api.github.com/users/epochssims/repos","events_url":"https://api.github.com/users/epochssims/events{/privacy}","received_events_url":"https://api.github.com/users/epochssims/received_events","type":"User","site_admin":false},"body":"@heskew @epochslee @agajh \r\n\r\nLet's open this up for comments!\r\n\r\n- [x] Generating the file\r\n- [x] Uploading the file","created_at":"2017-01-30T16:16:54Z","updated_at":"2017-02-07T22:09:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1b8c56a0dbc6b99004bb6e877c497310446b4c9f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/AgaDevs/processor-streamline/pulls/1/commits","review_comments_url":"https://api.github.com/repos/AgaDevs/processor-streamline/pulls/1/comments","review_comment_url":"https://api.github.com/repos/AgaDevs/processor-streamline/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AgaDevs/processor-streamline/issues/1/comments","statuses_url":"https://api.github.com/repos/AgaDevs/processor-streamline/statuses/9d5f0b61cbbe569e562c07fbddd22dd548bb3da3","head":{"label":"AgaDevs:ssims/batch","ref":"ssims/batch","sha":"9d5f0b61cbbe569e562c07fbddd22dd548bb3da3","user":{"login":"AgaDevs","id":15164895,"avatar_url":"https://avatars.githubusercontent.com/u/15164895?v=3","gravatar_id":"","url":"https://api.github.com/users/AgaDevs","html_url":"https://github.com/AgaDevs","followers_url":"https://api.github.com/users/AgaDevs/followers","following_url":"https://api.github.com/users/AgaDevs/following{/other_user}","gists_url":"https://api.github.com/users/AgaDevs/gists{/gist_id}","starred_url":"https://api.github.com/users/AgaDevs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgaDevs/subscriptions","organizations_url":"https://api.github.com/users/AgaDevs/orgs","repos_url":"https://api.github.com/users/AgaDevs/repos","events_url":"https://api.github.com/users/AgaDevs/events{/privacy}","received_events_url":"https://api.github.com/users/AgaDevs/received_events","type":"Organization","site_admin":false},"repo":{"id":78884718,"name":"processor-streamline","full_name":"AgaDevs/processor-streamline","owner":{"login":"AgaDevs","id":15164895,"avatar_url":"https://avatars.githubusercontent.com/u/15164895?v=3","gravatar_id":"","url":"https://api.github.com/users/AgaDevs","html_url":"https://github.com/AgaDevs","followers_url":"https://api.github.com/users/AgaDevs/followers","following_url":"https://api.github.com/users/AgaDevs/following{/other_user}","gists_url":"https://api.github.com/users/AgaDevs/gists{/gist_id}","starred_url":"https://api.github.com/users/AgaDevs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgaDevs/subscriptions","organizations_url":"https://api.github.com/users/AgaDevs/orgs","repos_url":"https://api.github.com/users/AgaDevs/repos","events_url":"https://api.github.com/users/AgaDevs/events{/privacy}","received_events_url":"https://api.github.com/users/AgaDevs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AgaDevs/processor-streamline","description":null,"fork":false,"url":"https://api.github.com/repos/AgaDevs/processor-streamline","forks_url":"https://api.github.com/repos/AgaDevs/processor-streamline/forks","keys_url":"https://api.github.com/repos/AgaDevs/processor-streamline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AgaDevs/processor-streamline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AgaDevs/processor-streamline/teams","hooks_url":"https://api.github.com/repos/AgaDevs/processor-streamline/hooks","issue_events_url":"https://api.github.com/repos/AgaDevs/processor-streamline/issues/events{/number}","events_url":"https://api.github.com/repos/AgaDevs/processor-streamline/events","assignees_url":"https://api.github.com/repos/AgaDevs/processor-streamline/assignees{/user}","branches_url":"https://api.github.com/repos/AgaDevs/processor-streamline/branches{/branch}","tags_url":"https://api.github.com/repos/AgaDevs/processor-streamline/tags","blobs_url":"https://api.github.com/repos/AgaDevs/processor-streamline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AgaDevs/processor-streamline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AgaDevs/processor-streamline/git/refs{/sha}","trees_url":"https://api.github.com/repos/AgaDevs/processor-streamline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AgaDevs/processor-streamline/statuses/{sha}","languages_url":"https://api.github.com/repos/AgaDevs/processor-streamline/languages","stargazers_url":"https://api.github.com/repos/AgaDevs/processor-streamline/stargazers","contributors_url":"https://api.github.com/repos/AgaDevs/processor-streamline/contributors","subscribers_url":"https://api.github.com/repos/AgaDevs/processor-streamline/subscribers","subscription_url":"https://api.github.com/repos/AgaDevs/processor-streamline/subscription","commits_url":"https://api.github.com/repos/AgaDevs/processor-streamline/commits{/sha}","git_commits_url":"https://api.github.com/repos/AgaDevs/processor-streamline/git/commits{/sha}","comments_url":"https://api.github.com/repos/AgaDevs/processor-streamline/comments{/number}","issue_comment_url":"https://api.github.com/repos/AgaDevs/processor-streamline/issues/comments{/number}","contents_url":"https://api.github.com/repos/AgaDevs/processor-streamline/contents/{+path}","compare_url":"https://api.github.com/repos/AgaDevs/processor-streamline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AgaDevs/processor-streamline/merges","archive_url":"https://api.github.com/repos/AgaDevs/processor-streamline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AgaDevs/processor-streamline/downloads","issues_url":"https://api.github.com/repos/AgaDevs/processor-streamline/issues{/number}","pulls_url":"https://api.github.com/repos/AgaDevs/processor-streamline/pulls{/number}","milestones_url":"https://api.github.com/repos/AgaDevs/processor-streamline/milestones{/number}","notifications_url":"https://api.github.com/repos/AgaDevs/processor-streamline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AgaDevs/processor-streamline/labels{/name}","releases_url":"https://api.github.com/repos/AgaDevs/processor-streamline/releases{/id}","deployments_url":"https://api.github.com/repos/AgaDevs/processor-streamline/deployments","created_at":"2017-01-13T20:37:41Z","updated_at":"2017-01-17T20:49:13Z","pushed_at":"2017-02-07T18:29:59Z","git_url":"git://github.com/AgaDevs/processor-streamline.git","ssh_url":"git@github.com:AgaDevs/processor-streamline.git","clone_url":"https://github.com/AgaDevs/processor-streamline.git","svn_url":"https://github.com/AgaDevs/processor-streamline","homepage":null,"size":113,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"AgaDevs:master","ref":"master","sha":"63a24e079fd4630b1771b83498e7ed33401cb9e9","user":{"login":"AgaDevs","id":15164895,"avatar_url":"https://avatars.githubusercontent.com/u/15164895?v=3","gravatar_id":"","url":"https://api.github.com/users/AgaDevs","html_url":"https://github.com/AgaDevs","followers_url":"https://api.github.com/users/AgaDevs/followers","following_url":"https://api.github.com/users/AgaDevs/following{/other_user}","gists_url":"https://api.github.com/users/AgaDevs/gists{/gist_id}","starred_url":"https://api.github.com/users/AgaDevs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgaDevs/subscriptions","organizations_url":"https://api.github.com/users/AgaDevs/orgs","repos_url":"https://api.github.com/users/AgaDevs/repos","events_url":"https://api.github.com/users/AgaDevs/events{/privacy}","received_events_url":"https://api.github.com/users/AgaDevs/received_events","type":"Organization","site_admin":false},"repo":{"id":78884718,"name":"processor-streamline","full_name":"AgaDevs/processor-streamline","owner":{"login":"AgaDevs","id":15164895,"avatar_url":"https://avatars.githubusercontent.com/u/15164895?v=3","gravatar_id":"","url":"https://api.github.com/users/AgaDevs","html_url":"https://github.com/AgaDevs","followers_url":"https://api.github.com/users/AgaDevs/followers","following_url":"https://api.github.com/users/AgaDevs/following{/other_user}","gists_url":"https://api.github.com/users/AgaDevs/gists{/gist_id}","starred_url":"https://api.github.com/users/AgaDevs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgaDevs/subscriptions","organizations_url":"https://api.github.com/users/AgaDevs/orgs","repos_url":"https://api.github.com/users/AgaDevs/repos","events_url":"https://api.github.com/users/AgaDevs/events{/privacy}","received_events_url":"https://api.github.com/users/AgaDevs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AgaDevs/processor-streamline","description":null,"fork":false,"url":"https://api.github.com/repos/AgaDevs/processor-streamline","forks_url":"https://api.github.com/repos/AgaDevs/processor-streamline/forks","keys_url":"https://api.github.com/repos/AgaDevs/processor-streamline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AgaDevs/processor-streamline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AgaDevs/processor-streamline/teams","hooks_url":"https://api.github.com/repos/AgaDevs/processor-streamline/hooks","issue_events_url":"https://api.github.com/repos/AgaDevs/processor-streamline/issues/events{/number}","events_url":"https://api.github.com/repos/AgaDevs/processor-streamline/events","assignees_url":"https://api.github.com/repos/AgaDevs/processor-streamline/assignees{/user}","branches_url":"https://api.github.com/repos/AgaDevs/processor-streamline/branches{/branch}","tags_url":"https://api.github.com/repos/AgaDevs/processor-streamline/tags","blobs_url":"https://api.github.com/repos/AgaDevs/processor-streamline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AgaDevs/processor-streamline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AgaDevs/processor-streamline/git/refs{/sha}","trees_url":"https://api.github.com/repos/AgaDevs/processor-streamline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AgaDevs/processor-streamline/statuses/{sha}","languages_url":"https://api.github.com/repos/AgaDevs/processor-streamline/languages","stargazers_url":"https://api.github.com/repos/AgaDevs/processor-streamline/stargazers","contributors_url":"https://api.github.com/repos/AgaDevs/processor-streamline/contributors","subscribers_url":"https://api.github.com/repos/AgaDevs/processor-streamline/subscribers","subscription_url":"https://api.github.com/repos/AgaDevs/processor-streamline/subscription","commits_url":"https://api.github.com/repos/AgaDevs/processor-streamline/commits{/sha}","git_commits_url":"https://api.github.com/repos/AgaDevs/processor-streamline/git/commits{/sha}","comments_url":"https://api.github.com/repos/AgaDevs/processor-streamline/comments{/number}","issue_comment_url":"https://api.github.com/repos/AgaDevs/processor-streamline/issues/comments{/number}","contents_url":"https://api.github.com/repos/AgaDevs/processor-streamline/contents/{+path}","compare_url":"https://api.github.com/repos/AgaDevs/processor-streamline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AgaDevs/processor-streamline/merges","archive_url":"https://api.github.com/repos/AgaDevs/processor-streamline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AgaDevs/processor-streamline/downloads","issues_url":"https://api.github.com/repos/AgaDevs/processor-streamline/issues{/number}","pulls_url":"https://api.github.com/repos/AgaDevs/processor-streamline/pulls{/number}","milestones_url":"https://api.github.com/repos/AgaDevs/processor-streamline/milestones{/number}","notifications_url":"https://api.github.com/repos/AgaDevs/processor-streamline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AgaDevs/processor-streamline/labels{/name}","releases_url":"https://api.github.com/repos/AgaDevs/processor-streamline/releases{/id}","deployments_url":"https://api.github.com/repos/AgaDevs/processor-streamline/deployments","created_at":"2017-01-13T20:37:41Z","updated_at":"2017-01-17T20:49:13Z","pushed_at":"2017-02-07T18:29:59Z","git_url":"git://github.com/AgaDevs/processor-streamline.git","ssh_url":"git@github.com:AgaDevs/processor-streamline.git","clone_url":"https://github.com/AgaDevs/processor-streamline.git","svn_url":"https://github.com/AgaDevs/processor-streamline","homepage":null,"size":113,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AgaDevs/processor-streamline/pulls/1"},"html":{"href":"https://github.com/AgaDevs/processor-streamline/pull/1"},"issue":{"href":"https://api.github.com/repos/AgaDevs/processor-streamline/issues/1"},"comments":{"href":"https://api.github.com/repos/AgaDevs/processor-streamline/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/AgaDevs/processor-streamline/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/AgaDevs/processor-streamline/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AgaDevs/processor-streamline/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/AgaDevs/processor-streamline/statuses/9d5f0b61cbbe569e562c07fbddd22dd548bb3da3"}}}}
{"actor":{"display_login":"epochssims"}}