{"action":"created","comment":{"url":"https://api.github.com/repos/cinchapi/concourse/pulls/comments/122295026","pull_request_review_id":44399183,"id":122295026,"diff_hunk":"@@ -0,0 +1,58 @@\n+/*\n+ * Copyright (c) 2013-2017 Cinchapi Inc.\n+ * \n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * 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 com.cinchapi.concourse;\n+\n+import java.util.Set;\n+\n+import org.junit.Assert;\n+import org.junit.Test;\n+\n+import com.cinchapi.concourse.Timestamp;\n+import com.cinchapi.concourse.test.ConcourseIntegrationTest;\n+\n+/**\n+ * Unit tests for the describe API methods.\n+ * \n+ * @author Gerald Nash\n+ */\n+public class DescribeTest extends ConcourseIntegrationTest {\n+\t\n+\t@Test\n+\tpublic void testDescribeNoTimestamp(){\n+\t\tclient.add(\"name\", \"Gerald\");\n+\t\tclient.add(\"address\", \"123 Main St\");\n+\t\tclient.add(\"title\", \"Person\");\n+\t\t\n+\t\tString[] expecteds = {\"address\" , \"name\", \"title\"};\n+\t\tSet<String> actuals = client.describe();\n+\t\tAssert.assertArrayEquals(expecteds, \n+\t\t\t\tactuals.toArray(new String[actuals.size()]));\n+\t}\n+\t\n+\t@Test\n+\tpublic void testDescribeWithTimestamp(){\n+\t\tclient.add(\"name\", \"Gerald\");\n+\t\tclient.add(\"address\", \"123 Main St\");\n+\t\tTimestamp stamp = Timestamp.now();\n+\t\tclient.add(\"title\", \"Person\");\n+\t\t\n+\t\tString[] expecteds = {\"address\", \"name\"};","path":"concourse-integration-tests/src/test/java/com/cinchapi/concourse/DescribeTest.java","position":52,"original_position":52,"commit_id":"0c77e7f70a3a65d4c4fc0bac8f5d9d56ab785d2c","original_commit_id":"0c77e7f70a3a65d4c4fc0bac8f5d9d56ab785d2c","user":{"login":"jtnelson","id":1495450,"avatar_url":"https://avatars1.githubusercontent.com/u/1495450?v=3","gravatar_id":"","url":"https://api.github.com/users/jtnelson","html_url":"https://github.com/jtnelson","followers_url":"https://api.github.com/users/jtnelson/followers","following_url":"https://api.github.com/users/jtnelson/following{/other_user}","gists_url":"https://api.github.com/users/jtnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/jtnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtnelson/subscriptions","organizations_url":"https://api.github.com/users/jtnelson/orgs","repos_url":"https://api.github.com/users/jtnelson/repos","events_url":"https://api.github.com/users/jtnelson/events{/privacy}","received_events_url":"https://api.github.com/users/jtnelson/received_events","type":"User","site_admin":false},"body":"@aunyks you should make expected a Set to begin with so you don't have to convert the return value of the describe method to an array","created_at":"2017-06-15T19:48:24Z","updated_at":"2017-06-15T19:49:01Z","html_url":"https://github.com/cinchapi/concourse/pull/287#discussion_r122295026","pull_request_url":"https://api.github.com/repos/cinchapi/concourse/pulls/287","_links":{"self":{"href":"https://api.github.com/repos/cinchapi/concourse/pulls/comments/122295026"},"html":{"href":"https://github.com/cinchapi/concourse/pull/287#discussion_r122295026"},"pull_request":{"href":"https://api.github.com/repos/cinchapi/concourse/pulls/287"}}},"pull_request":{"url":"https://api.github.com/repos/cinchapi/concourse/pulls/287","id":125460537,"html_url":"https://github.com/cinchapi/concourse/pull/287","diff_url":"https://github.com/cinchapi/concourse/pull/287.diff","patch_url":"https://github.com/cinchapi/concourse/pull/287.patch","issue_url":"https://api.github.com/repos/cinchapi/concourse/issues/287","number":287,"state":"open","locked":false,"title":"feature(Add describe api's)","user":{"login":"aunyks","id":15711233,"avatar_url":"https://avatars1.githubusercontent.com/u/15711233?v=3","gravatar_id":"","url":"https://api.github.com/users/aunyks","html_url":"https://github.com/aunyks","followers_url":"https://api.github.com/users/aunyks/followers","following_url":"https://api.github.com/users/aunyks/following{/other_user}","gists_url":"https://api.github.com/users/aunyks/gists{/gist_id}","starred_url":"https://api.github.com/users/aunyks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aunyks/subscriptions","organizations_url":"https://api.github.com/users/aunyks/orgs","repos_url":"https://api.github.com/users/aunyks/repos","events_url":"https://api.github.com/users/aunyks/events{/privacy}","received_events_url":"https://api.github.com/users/aunyks/received_events","type":"User","site_admin":false},"body":"Adding `describe`, `describeTime`, and `describeTimeStr` methods.","created_at":"2017-06-13T21:00:52Z","updated_at":"2017-06-15T19:49:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"86851e39a534c39f45b091044ea0e6115cfa6cf2","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/cinchapi/concourse/pulls/287/commits","review_comments_url":"https://api.github.com/repos/cinchapi/concourse/pulls/287/comments","review_comment_url":"https://api.github.com/repos/cinchapi/concourse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cinchapi/concourse/issues/287/comments","statuses_url":"https://api.github.com/repos/cinchapi/concourse/statuses/0c77e7f70a3a65d4c4fc0bac8f5d9d56ab785d2c","head":{"label":"aunyks:feature/describe-apis","ref":"feature/describe-apis","sha":"0c77e7f70a3a65d4c4fc0bac8f5d9d56ab785d2c","user":{"login":"aunyks","id":15711233,"avatar_url":"https://avatars1.githubusercontent.com/u/15711233?v=3","gravatar_id":"","url":"https://api.github.com/users/aunyks","html_url":"https://github.com/aunyks","followers_url":"https://api.github.com/users/aunyks/followers","following_url":"https://api.github.com/users/aunyks/following{/other_user}","gists_url":"https://api.github.com/users/aunyks/gists{/gist_id}","starred_url":"https://api.github.com/users/aunyks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aunyks/subscriptions","organizations_url":"https://api.github.com/users/aunyks/orgs","repos_url":"https://api.github.com/users/aunyks/repos","events_url":"https://api.github.com/users/aunyks/events{/privacy}","received_events_url":"https://api.github.com/users/aunyks/received_events","type":"User","site_admin":false},"repo":{"id":94132041,"name":"concourse","full_name":"aunyks/concourse","owner":{"login":"aunyks","id":15711233,"avatar_url":"https://avatars1.githubusercontent.com/u/15711233?v=3","gravatar_id":"","url":"https://api.github.com/users/aunyks","html_url":"https://github.com/aunyks","followers_url":"https://api.github.com/users/aunyks/followers","following_url":"https://api.github.com/users/aunyks/following{/other_user}","gists_url":"https://api.github.com/users/aunyks/gists{/gist_id}","starred_url":"https://api.github.com/users/aunyks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aunyks/subscriptions","organizations_url":"https://api.github.com/users/aunyks/orgs","repos_url":"https://api.github.com/users/aunyks/repos","events_url":"https://api.github.com/users/aunyks/events{/privacy}","received_events_url":"https://api.github.com/users/aunyks/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aunyks/concourse","description":"Distributed database warehouse for transactions, search and analytics across time.","fork":true,"url":"https://api.github.com/repos/aunyks/concourse","forks_url":"https://api.github.com/repos/aunyks/concourse/forks","keys_url":"https://api.github.com/repos/aunyks/concourse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aunyks/concourse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aunyks/concourse/teams","hooks_url":"https://api.github.com/repos/aunyks/concourse/hooks","issue_events_url":"https://api.github.com/repos/aunyks/concourse/issues/events{/number}","events_url":"https://api.github.com/repos/aunyks/concourse/events","assignees_url":"https://api.github.com/repos/aunyks/concourse/assignees{/user}","branches_url":"https://api.github.com/repos/aunyks/concourse/branches{/branch}","tags_url":"https://api.github.com/repos/aunyks/concourse/tags","blobs_url":"https://api.github.com/repos/aunyks/concourse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aunyks/concourse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aunyks/concourse/git/refs{/sha}","trees_url":"https://api.github.com/repos/aunyks/concourse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aunyks/concourse/statuses/{sha}","languages_url":"https://api.github.com/repos/aunyks/concourse/languages","stargazers_url":"https://api.github.com/repos/aunyks/concourse/stargazers","contributors_url":"https://api.github.com/repos/aunyks/concourse/contributors","subscribers_url":"https://api.github.com/repos/aunyks/concourse/subscribers","subscription_url":"https://api.github.com/repos/aunyks/concourse/subscription","commits_url":"https://api.github.com/repos/aunyks/concourse/commits{/sha}","git_commits_url":"https://api.github.com/repos/aunyks/concourse/git/commits{/sha}","comments_url":"https://api.github.com/repos/aunyks/concourse/comments{/number}","issue_comment_url":"https://api.github.com/repos/aunyks/concourse/issues/comments{/number}","contents_url":"https://api.github.com/repos/aunyks/concourse/contents/{+path}","compare_url":"https://api.github.com/repos/aunyks/concourse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aunyks/concourse/merges","archive_url":"https://api.github.com/repos/aunyks/concourse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aunyks/concourse/downloads","issues_url":"https://api.github.com/repos/aunyks/concourse/issues{/number}","pulls_url":"https://api.github.com/repos/aunyks/concourse/pulls{/number}","milestones_url":"https://api.github.com/repos/aunyks/concourse/milestones{/number}","notifications_url":"https://api.github.com/repos/aunyks/concourse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aunyks/concourse/labels{/name}","releases_url":"https://api.github.com/repos/aunyks/concourse/releases{/id}","deployments_url":"https://api.github.com/repos/aunyks/concourse/deployments","created_at":"2017-06-12T19:19:10Z","updated_at":"2017-06-12T19:19:14Z","pushed_at":"2017-06-15T19:46:00Z","git_url":"git://github.com/aunyks/concourse.git","ssh_url":"git@github.com:aunyks/concourse.git","clone_url":"https://github.com/aunyks/concourse.git","svn_url":"https://github.com/aunyks/concourse","homepage":"http://concoursedb.com","size":29954,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"cinchapi:develop","ref":"develop","sha":"9e2064432e5cfa93a0d5e40b0afce6847a220b2b","user":{"login":"cinchapi","id":5642441,"avatar_url":"https://avatars1.githubusercontent.com/u/5642441?v=3","gravatar_id":"","url":"https://api.github.com/users/cinchapi","html_url":"https://github.com/cinchapi","followers_url":"https://api.github.com/users/cinchapi/followers","following_url":"https://api.github.com/users/cinchapi/following{/other_user}","gists_url":"https://api.github.com/users/cinchapi/gists{/gist_id}","starred_url":"https://api.github.com/users/cinchapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cinchapi/subscriptions","organizations_url":"https://api.github.com/users/cinchapi/orgs","repos_url":"https://api.github.com/users/cinchapi/repos","events_url":"https://api.github.com/users/cinchapi/events{/privacy}","received_events_url":"https://api.github.com/users/cinchapi/received_events","type":"Organization","site_admin":false},"repo":{"id":13353426,"name":"concourse","full_name":"cinchapi/concourse","owner":{"login":"cinchapi","id":5642441,"avatar_url":"https://avatars1.githubusercontent.com/u/5642441?v=3","gravatar_id":"","url":"https://api.github.com/users/cinchapi","html_url":"https://github.com/cinchapi","followers_url":"https://api.github.com/users/cinchapi/followers","following_url":"https://api.github.com/users/cinchapi/following{/other_user}","gists_url":"https://api.github.com/users/cinchapi/gists{/gist_id}","starred_url":"https://api.github.com/users/cinchapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cinchapi/subscriptions","organizations_url":"https://api.github.com/users/cinchapi/orgs","repos_url":"https://api.github.com/users/cinchapi/repos","events_url":"https://api.github.com/users/cinchapi/events{/privacy}","received_events_url":"https://api.github.com/users/cinchapi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cinchapi/concourse","description":"Distributed database warehouse for transactions, search and analytics across time.","fork":false,"url":"https://api.github.com/repos/cinchapi/concourse","forks_url":"https://api.github.com/repos/cinchapi/concourse/forks","keys_url":"https://api.github.com/repos/cinchapi/concourse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cinchapi/concourse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cinchapi/concourse/teams","hooks_url":"https://api.github.com/repos/cinchapi/concourse/hooks","issue_events_url":"https://api.github.com/repos/cinchapi/concourse/issues/events{/number}","events_url":"https://api.github.com/repos/cinchapi/concourse/events","assignees_url":"https://api.github.com/repos/cinchapi/concourse/assignees{/user}","branches_url":"https://api.github.com/repos/cinchapi/concourse/branches{/branch}","tags_url":"https://api.github.com/repos/cinchapi/concourse/tags","blobs_url":"https://api.github.com/repos/cinchapi/concourse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cinchapi/concourse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cinchapi/concourse/git/refs{/sha}","trees_url":"https://api.github.com/repos/cinchapi/concourse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cinchapi/concourse/statuses/{sha}","languages_url":"https://api.github.com/repos/cinchapi/concourse/languages","stargazers_url":"https://api.github.com/repos/cinchapi/concourse/stargazers","contributors_url":"https://api.github.com/repos/cinchapi/concourse/contributors","subscribers_url":"https://api.github.com/repos/cinchapi/concourse/subscribers","subscription_url":"https://api.github.com/repos/cinchapi/concourse/subscription","commits_url":"https://api.github.com/repos/cinchapi/concourse/commits{/sha}","git_commits_url":"https://api.github.com/repos/cinchapi/concourse/git/commits{/sha}","comments_url":"https://api.github.com/repos/cinchapi/concourse/comments{/number}","issue_comment_url":"https://api.github.com/repos/cinchapi/concourse/issues/comments{/number}","contents_url":"https://api.github.com/repos/cinchapi/concourse/contents/{+path}","compare_url":"https://api.github.com/repos/cinchapi/concourse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cinchapi/concourse/merges","archive_url":"https://api.github.com/repos/cinchapi/concourse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cinchapi/concourse/downloads","issues_url":"https://api.github.com/repos/cinchapi/concourse/issues{/number}","pulls_url":"https://api.github.com/repos/cinchapi/concourse/pulls{/number}","milestones_url":"https://api.github.com/repos/cinchapi/concourse/milestones{/number}","notifications_url":"https://api.github.com/repos/cinchapi/concourse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cinchapi/concourse/labels{/name}","releases_url":"https://api.github.com/repos/cinchapi/concourse/releases{/id}","deployments_url":"https://api.github.com/repos/cinchapi/concourse/deployments","created_at":"2013-10-05T22:12:00Z","updated_at":"2017-06-09T17:41:32Z","pushed_at":"2017-06-15T19:46:03Z","git_url":"git://github.com/cinchapi/concourse.git","ssh_url":"git@github.com:cinchapi/concourse.git","clone_url":"https://github.com/cinchapi/concourse.git","svn_url":"https://github.com/cinchapi/concourse","homepage":"http://concoursedb.com","size":29913,"stargazers_count":262,"watchers_count":262,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":279,"mirror_url":null,"open_issues_count":31,"forks":279,"open_issues":31,"watchers":262,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/cinchapi/concourse/pulls/287"},"html":{"href":"https://github.com/cinchapi/concourse/pull/287"},"issue":{"href":"https://api.github.com/repos/cinchapi/concourse/issues/287"},"comments":{"href":"https://api.github.com/repos/cinchapi/concourse/issues/287/comments"},"review_comments":{"href":"https://api.github.com/repos/cinchapi/concourse/pulls/287/comments"},"review_comment":{"href":"https://api.github.com/repos/cinchapi/concourse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cinchapi/concourse/pulls/287/commits"},"statuses":{"href":"https://api.github.com/repos/cinchapi/concourse/statuses/0c77e7f70a3a65d4c4fc0bac8f5d9d56ab785d2c"}}}}
{"actor":{"display_login":"jtnelson"}}