{"action":"created","issue":{"url":"https://api.github.com/repos/ga4gh/server/issues/540","labels_url":"https://api.github.com/repos/ga4gh/server/issues/540/labels{/name}","comments_url":"https://api.github.com/repos/ga4gh/server/issues/540/comments","events_url":"https://api.github.com/repos/ga4gh/server/issues/540/events","html_url":"https://github.com/ga4gh/server/issues/540","id":99046407,"number":540,"title":"searchReferences only matches MD5 checksums when SearchReferencesRequest.md5checksums contains \"TODO\"","user":{"login":"hjellinek","id":4968570,"avatar_url":"https://avatars.githubusercontent.com/u/4968570?v=3","gravatar_id":"","url":"https://api.github.com/users/hjellinek","html_url":"https://github.com/hjellinek","followers_url":"https://api.github.com/users/hjellinek/followers","following_url":"https://api.github.com/users/hjellinek/following{/other_user}","gists_url":"https://api.github.com/users/hjellinek/gists{/gist_id}","starred_url":"https://api.github.com/users/hjellinek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjellinek/subscriptions","organizations_url":"https://api.github.com/users/hjellinek/orgs","repos_url":"https://api.github.com/users/hjellinek/repos","events_url":"https://api.github.com/users/hjellinek/events{/privacy}","received_events_url":"https://api.github.com/users/hjellinek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ga4gh/server/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ga4gh/server/labels/ready","name":"ready","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"jeromekelleher","id":2664569,"avatar_url":"https://avatars.githubusercontent.com/u/2664569?v=3","gravatar_id":"","url":"https://api.github.com/users/jeromekelleher","html_url":"https://github.com/jeromekelleher","followers_url":"https://api.github.com/users/jeromekelleher/followers","following_url":"https://api.github.com/users/jeromekelleher/following{/other_user}","gists_url":"https://api.github.com/users/jeromekelleher/gists{/gist_id}","starred_url":"https://api.github.com/users/jeromekelleher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeromekelleher/subscriptions","organizations_url":"https://api.github.com/users/jeromekelleher/orgs","repos_url":"https://api.github.com/users/jeromekelleher/repos","events_url":"https://api.github.com/users/jeromekelleher/events{/privacy}","received_events_url":"https://api.github.com/users/jeromekelleher/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ga4gh/server/milestones/3","html_url":"https://github.com/ga4gh/server/milestones/Sync%20with%20schemas%20repo","labels_url":"https://api.github.com/repos/ga4gh/server/milestones/3/labels","id":1233002,"number":3,"title":"Sync with schemas repo","description":"This milestone represents the syncing of the develop branch of the reference implementation (this repo) with the master branch of the ga4gh/schemas repo. For this milestone to be reached, all features described in the schemas should be implemented, although some well-documented exceptions will be allowed. These include\r\n\r\n1. Searching over multiple `readGroup`s in `SearchReadsRequest`. This is difficult to do in a stateless server, and is too ambitious to include here.\r\n2. Searching by `variantName` in `SearchVariantsRequest`. This functionality is not supported by htslib, and so it is doubtful we will ever be able to support this feature.\r\n\r\nOther exceptions may be added; the basic expectation of this milestone should be that all features are implemented, and any exceptions are well-known and documented.","creator":{"login":"jeromekelleher","id":2664569,"avatar_url":"https://avatars.githubusercontent.com/u/2664569?v=3","gravatar_id":"","url":"https://api.github.com/users/jeromekelleher","html_url":"https://github.com/jeromekelleher","followers_url":"https://api.github.com/users/jeromekelleher/followers","following_url":"https://api.github.com/users/jeromekelleher/following{/other_user}","gists_url":"https://api.github.com/users/jeromekelleher/gists{/gist_id}","starred_url":"https://api.github.com/users/jeromekelleher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeromekelleher/subscriptions","organizations_url":"https://api.github.com/users/jeromekelleher/orgs","repos_url":"https://api.github.com/users/jeromekelleher/repos","events_url":"https://api.github.com/users/jeromekelleher/events{/privacy}","received_events_url":"https://api.github.com/users/jeromekelleher/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":16,"state":"closed","created_at":"2015-07-30T08:42:58Z","updated_at":"2015-09-16T09:12:47Z","due_on":"2015-08-13T23:00:00Z","closed_at":"2015-08-28T16:20:34Z"},"comments":2,"created_at":"2015-08-04T19:46:17Z","updated_at":"2015-09-16T09:12:47Z","closed_at":"2015-09-16T09:12:47Z","body":"(The point of this issue is that the ref server needs to implement the MD5-related `Reference` search and retrieval operations.)\r\n\r\n**Background**: I'm using data from the server unit tests as the server's data.  The reference data looks like this:\r\n```\r\nreferences/\r\n    example_1/\r\n        simple.fa.gz\r\n        simple.fa.gz.fai\r\n        simple.fa.gz.gzi\r\n```\r\n\r\n**Action**: I create a `SearchReferencesRequest` and set the value of `md5checksums` to contain the string `\"TODO\"` and pass it to `searchReferences`.\r\n\r\n**Expected**:\r\nThe call to `searchReferences` will return a `SearchReferencesResponse` with its `references` containing zero results, since the `\"TODO\"` in the request is not a legal MD5 value.\r\n\r\n**Actual**:\r\nThe call to `SearchReferencesResponse` returns a `SearchReferencesResponse` containing a single `Reference`.  The `Reference`'s `md5checksum` field contains the string __`\"TODO\"`__.\r\n"},"comment":{"url":"https://api.github.com/repos/ga4gh/server/issues/comments/140680733","html_url":"https://github.com/ga4gh/server/issues/540#issuecomment-140680733","issue_url":"https://api.github.com/repos/ga4gh/server/issues/540","id":140680733,"user":{"login":"jeromekelleher","id":2664569,"avatar_url":"https://avatars.githubusercontent.com/u/2664569?v=3","gravatar_id":"","url":"https://api.github.com/users/jeromekelleher","html_url":"https://github.com/jeromekelleher","followers_url":"https://api.github.com/users/jeromekelleher/followers","following_url":"https://api.github.com/users/jeromekelleher/following{/other_user}","gists_url":"https://api.github.com/users/jeromekelleher/gists{/gist_id}","starred_url":"https://api.github.com/users/jeromekelleher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeromekelleher/subscriptions","organizations_url":"https://api.github.com/users/jeromekelleher/orgs","repos_url":"https://api.github.com/users/jeromekelleher/repos","events_url":"https://api.github.com/users/jeromekelleher/events{/privacy}","received_events_url":"https://api.github.com/users/jeromekelleher/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T09:12:47Z","updated_at":"2015-09-16T09:12:47Z","body":"Fixed in #626."}}