{"action":"created","issue":{"url":"https://api.github.com/repos/codice/ddf/issues/1342","repository_url":"https://api.github.com/repos/codice/ddf","labels_url":"https://api.github.com/repos/codice/ddf/issues/1342/labels{/name}","comments_url":"https://api.github.com/repos/codice/ddf/issues/1342/comments","events_url":"https://api.github.com/repos/codice/ddf/issues/1342/events","html_url":"https://github.com/codice/ddf/pull/1342","id":182306132,"number":1342,"title":"DDF-2528: Adding AttributeValidator for Location.COUNTRY_CODE","user":{"login":"brjeter","id":8130140,"avatar_url":"https://avatars.githubusercontent.com/u/8130140?v=3","gravatar_id":"","url":"https://api.github.com/users/brjeter","html_url":"https://github.com/brjeter","followers_url":"https://api.github.com/users/brjeter/followers","following_url":"https://api.github.com/users/brjeter/following{/other_user}","gists_url":"https://api.github.com/users/brjeter/gists{/gist_id}","starred_url":"https://api.github.com/users/brjeter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brjeter/subscriptions","organizations_url":"https://api.github.com/users/brjeter/orgs","repos_url":"https://api.github.com/users/brjeter/repos","events_url":"https://api.github.com/users/brjeter/events{/privacy}","received_events_url":"https://api.github.com/users/brjeter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-11T16:05:21Z","updated_at":"2016-10-18T20:39:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/codice/ddf/pulls/1342","html_url":"https://github.com/codice/ddf/pull/1342","diff_url":"https://github.com/codice/ddf/pull/1342.diff","patch_url":"https://github.com/codice/ddf/pull/1342.patch"},"body":"#### What does this PR do?\r\nThis PR adds an attribute validator to verify that the Location.COUNTRY_CODE attribute is a valid ISO 3166-1 alpha-3 country code.\r\n#### Who is reviewing it (please choose AT LEAST two reviewers that need to approve the PR before it can get merged; if a component team is listed, at least one of its members needs to approve)?\r\n@glenhein @jrnorth @peterhuffer \r\n#### Choose 2 committers to review/merge the PR (please choose ONLY two committers from below, delete the rest).\r\n@kcwire \r\n@millerw8\r\n#### How should this be tested?\r\n- Run a full build.\r\n- Verify all tests pass (specifically the ValidationParserSpecTest and CountryCodeValidatorTest)\r\n\r\n#### Any background context you want to provide?\r\nThe Location.COUNTRY_CODE attribute is now populated by the GeoCoderPlugin. This validation has been added to verify the attribute is populated correctly. See https://github.com/codice/ddf/pull/1171\r\n\r\n#### What are the relevant tickets?\r\nhttps://codice.atlassian.net/browse/DDF-2528\r\n#### Screenshots (if appropriate)\r\n#### Checklist:\r\n- [ ] Documentation Updated\r\n\t- [ ] Change log Updated\r\n- [X] Update / Add Unit Tests\r\n- [ ] Update / Add Integration Tests\r\n"},"comment":{"url":"https://api.github.com/repos/codice/ddf/issues/comments/254632369","html_url":"https://github.com/codice/ddf/pull/1342#issuecomment-254632369","issue_url":"https://api.github.com/repos/codice/ddf/issues/1342","id":254632369,"user":{"login":"emmberk","id":8041246,"avatar_url":"https://avatars.githubusercontent.com/u/8041246?v=3","gravatar_id":"","url":"https://api.github.com/users/emmberk","html_url":"https://github.com/emmberk","followers_url":"https://api.github.com/users/emmberk/followers","following_url":"https://api.github.com/users/emmberk/following{/other_user}","gists_url":"https://api.github.com/users/emmberk/gists{/gist_id}","starred_url":"https://api.github.com/users/emmberk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmberk/subscriptions","organizations_url":"https://api.github.com/users/emmberk/orgs","repos_url":"https://api.github.com/users/emmberk/repos","events_url":"https://api.github.com/users/emmberk/events{/privacy}","received_events_url":"https://api.github.com/users/emmberk/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T20:39:07Z","updated_at":"2016-10-18T20:39:07Z","body":"Successfully completed mvn clean install :+1:"}}
{"actor":{"display_login":"emmberk"}}