{"action":"created","comment":{"url":"https://api.github.com/repos/apache/apex-malhar/pulls/comments/72913406","id":72913406,"diff_hunk":"@@ -0,0 +1,458 @@\n+package org.apache.apex.malhar.lib.state.spillable;\n+\n+import org.junit.Assert;\n+import org.junit.Rule;\n+import org.junit.Test;\n+\n+import org.apache.apex.malhar.lib.state.spillable.inmem.InMemSpillableStateStore;\n+import org.apache.apex.malhar.lib.utils.serde.SerdeStringSlice;\n+\n+import com.google.common.collect.Lists;\n+\n+/**\n+ * Created by tfarkas on 6/19/16.\n+ */\n+public class SpillableArrayListImplTest\n+{\n+  public static final byte[] ID1 = new byte[]{(byte)0};\n+  public static final byte[] ID2 = new byte[]{(byte)1};\n+\n+  @Rule\n+  public SpillableTestUtils.TestMeta testMeta = new SpillableTestUtils.TestMeta();\n+\n+  @Test\n+  public void simpleAddGetAndSetTest1()\n+  {\n+    InMemSpillableStateStore store = new InMemSpillableStateStore();\n+\n+    simpleAddGetAndSetTest1Helper(store);\n+  }\n+\n+  @Test\n+  public void simpleAddGetAndSetManagedStateTest1()\n+  {\n+    simpleAddGetAndSetTest1Helper(testMeta.store);\n+  }\n+\n+  public void simpleAddGetAndSetTest1Helper(SpillableStateStore store)\n+  {\n+    SpillableArrayListImpl<String> list = new SpillableArrayListImpl<>(0L, ID1, store,\n+        new SerdeStringSlice(), 1);\n+\n+    store.setup(testMeta.operatorContext);\n+    list.setup(testMeta.operatorContext);\n+\n+    long windowId = 0L;\n+    store.beginWindow(windowId);\n+    list.beginWindow(windowId);\n+    windowId++;","path":"library/src/test/java/org/apache/apex/malhar/lib/state/spillable/SpillableArrayListImplTest.java","position":66,"original_position":48,"commit_id":"a7796d61d80111faa24543ddc05b17c2944138be","original_commit_id":"57c4e5e3c3e019613f31753be5052c32ba762e53","user":{"login":"ilooner","id":8020165,"avatar_url":"https://avatars.githubusercontent.com/u/8020165?v=3","gravatar_id":"","url":"https://api.github.com/users/ilooner","html_url":"https://github.com/ilooner","followers_url":"https://api.github.com/users/ilooner/followers","following_url":"https://api.github.com/users/ilooner/following{/other_user}","gists_url":"https://api.github.com/users/ilooner/gists{/gist_id}","starred_url":"https://api.github.com/users/ilooner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilooner/subscriptions","organizations_url":"https://api.github.com/users/ilooner/orgs","repos_url":"https://api.github.com/users/ilooner/repos","events_url":"https://api.github.com/users/ilooner/events{/privacy}","received_events_url":"https://api.github.com/users/ilooner/received_events","type":"User","site_admin":false},"body":"Yes will make change","created_at":"2016-07-31T23:34:32Z","updated_at":"2016-07-31T23:34:32Z","html_url":"https://github.com/apache/apex-malhar/pull/324#discussion_r72913406","pull_request_url":"https://api.github.com/repos/apache/apex-malhar/pulls/324","_links":{"self":{"href":"https://api.github.com/repos/apache/apex-malhar/pulls/comments/72913406"},"html":{"href":"https://github.com/apache/apex-malhar/pull/324#discussion_r72913406"},"pull_request":{"href":"https://api.github.com/repos/apache/apex-malhar/pulls/324"}}},"pull_request":{"url":"https://api.github.com/repos/apache/apex-malhar/pulls/324","id":74560299,"html_url":"https://github.com/apache/apex-malhar/pull/324","diff_url":"https://github.com/apache/apex-malhar/pull/324.diff","patch_url":"https://github.com/apache/apex-malhar/pull/324.patch","issue_url":"https://api.github.com/repos/apache/apex-malhar/issues/324","number":324,"state":"open","locked":false,"title":"Spillable Datastructures PR for review only","user":{"login":"ilooner","id":8020165,"avatar_url":"https://avatars.githubusercontent.com/u/8020165?v=3","gravatar_id":"","url":"https://api.github.com/users/ilooner","html_url":"https://github.com/ilooner","followers_url":"https://api.github.com/users/ilooner/followers","following_url":"https://api.github.com/users/ilooner/following{/other_user}","gists_url":"https://api.github.com/users/ilooner/gists{/gist_id}","starred_url":"https://api.github.com/users/ilooner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilooner/subscriptions","organizations_url":"https://api.github.com/users/ilooner/orgs","repos_url":"https://api.github.com/users/ilooner/repos","events_url":"https://api.github.com/users/ilooner/events{/privacy}","received_events_url":"https://api.github.com/users/ilooner/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-21T06:59:49Z","updated_at":"2016-07-31T23:34:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4398a57ed9f029dcafda13ed0c73334ff7393f0f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/apex-malhar/pulls/324/commits","review_comments_url":"https://api.github.com/repos/apache/apex-malhar/pulls/324/comments","review_comment_url":"https://api.github.com/repos/apache/apex-malhar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/apex-malhar/issues/324/comments","statuses_url":"https://api.github.com/repos/apache/apex-malhar/statuses/a7796d61d80111faa24543ddc05b17c2944138be","head":{"label":"ilooner:APEXMALHAR-2048_pull","ref":"APEXMALHAR-2048_pull","sha":"a7796d61d80111faa24543ddc05b17c2944138be","user":{"login":"ilooner","id":8020165,"avatar_url":"https://avatars.githubusercontent.com/u/8020165?v=3","gravatar_id":"","url":"https://api.github.com/users/ilooner","html_url":"https://github.com/ilooner","followers_url":"https://api.github.com/users/ilooner/followers","following_url":"https://api.github.com/users/ilooner/following{/other_user}","gists_url":"https://api.github.com/users/ilooner/gists{/gist_id}","starred_url":"https://api.github.com/users/ilooner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilooner/subscriptions","organizations_url":"https://api.github.com/users/ilooner/orgs","repos_url":"https://api.github.com/users/ilooner/repos","events_url":"https://api.github.com/users/ilooner/events{/privacy}","received_events_url":"https://api.github.com/users/ilooner/received_events","type":"User","site_admin":false},"repo":{"id":41442065,"name":"incubator-apex-malhar","full_name":"ilooner/incubator-apex-malhar","owner":{"login":"ilooner","id":8020165,"avatar_url":"https://avatars.githubusercontent.com/u/8020165?v=3","gravatar_id":"","url":"https://api.github.com/users/ilooner","html_url":"https://github.com/ilooner","followers_url":"https://api.github.com/users/ilooner/followers","following_url":"https://api.github.com/users/ilooner/following{/other_user}","gists_url":"https://api.github.com/users/ilooner/gists{/gist_id}","starred_url":"https://api.github.com/users/ilooner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilooner/subscriptions","organizations_url":"https://api.github.com/users/ilooner/orgs","repos_url":"https://api.github.com/users/ilooner/repos","events_url":"https://api.github.com/users/ilooner/events{/privacy}","received_events_url":"https://api.github.com/users/ilooner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ilooner/incubator-apex-malhar","description":"Mirror of Apache Apex malhar (Incubating)","fork":true,"url":"https://api.github.com/repos/ilooner/incubator-apex-malhar","forks_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/forks","keys_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/teams","hooks_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/hooks","issue_events_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/issues/events{/number}","events_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/events","assignees_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/assignees{/user}","branches_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/branches{/branch}","tags_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/tags","blobs_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/git/refs{/sha}","trees_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/statuses/{sha}","languages_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/languages","stargazers_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/stargazers","contributors_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/contributors","subscribers_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/subscribers","subscription_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/subscription","commits_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/commits{/sha}","git_commits_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/git/commits{/sha}","comments_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/comments{/number}","issue_comment_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/issues/comments{/number}","contents_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/contents/{+path}","compare_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/merges","archive_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/downloads","issues_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/issues{/number}","pulls_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/pulls{/number}","milestones_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/milestones{/number}","notifications_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/labels{/name}","releases_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/releases{/id}","deployments_url":"https://api.github.com/repos/ilooner/incubator-apex-malhar/deployments","created_at":"2015-08-26T18:14:45Z","updated_at":"2015-08-26T18:14:49Z","pushed_at":"2016-07-31T18:45:40Z","git_url":"git://github.com/ilooner/incubator-apex-malhar.git","ssh_url":"git@github.com:ilooner/incubator-apex-malhar.git","clone_url":"https://github.com/ilooner/incubator-apex-malhar.git","svn_url":"https://github.com/ilooner/incubator-apex-malhar","homepage":null,"size":86968,"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":"aaa4464f0bb03db4aca5f6efd9658c0a791d0b42","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":41348334,"name":"apex-malhar","full_name":"apache/apex-malhar","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/apex-malhar","description":"Mirror of Apache Apex malhar","fork":false,"url":"https://api.github.com/repos/apache/apex-malhar","forks_url":"https://api.github.com/repos/apache/apex-malhar/forks","keys_url":"https://api.github.com/repos/apache/apex-malhar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/apex-malhar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/apex-malhar/teams","hooks_url":"https://api.github.com/repos/apache/apex-malhar/hooks","issue_events_url":"https://api.github.com/repos/apache/apex-malhar/issues/events{/number}","events_url":"https://api.github.com/repos/apache/apex-malhar/events","assignees_url":"https://api.github.com/repos/apache/apex-malhar/assignees{/user}","branches_url":"https://api.github.com/repos/apache/apex-malhar/branches{/branch}","tags_url":"https://api.github.com/repos/apache/apex-malhar/tags","blobs_url":"https://api.github.com/repos/apache/apex-malhar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/apex-malhar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/apex-malhar/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/apex-malhar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/apex-malhar/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/apex-malhar/languages","stargazers_url":"https://api.github.com/repos/apache/apex-malhar/stargazers","contributors_url":"https://api.github.com/repos/apache/apex-malhar/contributors","subscribers_url":"https://api.github.com/repos/apache/apex-malhar/subscribers","subscription_url":"https://api.github.com/repos/apache/apex-malhar/subscription","commits_url":"https://api.github.com/repos/apache/apex-malhar/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/apex-malhar/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/apex-malhar/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/apex-malhar/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/apex-malhar/contents/{+path}","compare_url":"https://api.github.com/repos/apache/apex-malhar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/apex-malhar/merges","archive_url":"https://api.github.com/repos/apache/apex-malhar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/apex-malhar/downloads","issues_url":"https://api.github.com/repos/apache/apex-malhar/issues{/number}","pulls_url":"https://api.github.com/repos/apache/apex-malhar/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/apex-malhar/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/apex-malhar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/apex-malhar/labels{/name}","releases_url":"https://api.github.com/repos/apache/apex-malhar/releases{/id}","deployments_url":"https://api.github.com/repos/apache/apex-malhar/deployments","created_at":"2015-08-25T07:00:05Z","updated_at":"2016-07-26T07:20:23Z","pushed_at":"2016-07-31T19:27:44Z","git_url":"git://github.com/apache/apex-malhar.git","ssh_url":"git@github.com:apache/apex-malhar.git","clone_url":"https://github.com/apache/apex-malhar.git","svn_url":"https://github.com/apache/apex-malhar","homepage":"","size":97221,"stargazers_count":47,"watchers_count":47,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":91,"mirror_url":"git://git.apache.org/incubator-apex-malhar.git","open_issues_count":27,"forks":91,"open_issues":27,"watchers":47,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/apex-malhar/pulls/324"},"html":{"href":"https://github.com/apache/apex-malhar/pull/324"},"issue":{"href":"https://api.github.com/repos/apache/apex-malhar/issues/324"},"comments":{"href":"https://api.github.com/repos/apache/apex-malhar/issues/324/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/apex-malhar/pulls/324/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/apex-malhar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/apex-malhar/pulls/324/commits"},"statuses":{"href":"https://api.github.com/repos/apache/apex-malhar/statuses/a7796d61d80111faa24543ddc05b17c2944138be"}}}}
{"actor":{"display_login":"ilooner"}}