{"action":"created","issue":{"url":"https://api.github.com/repos/rafasgj/tchelinux-cms/issues/3","repository_url":"https://api.github.com/repos/rafasgj/tchelinux-cms","labels_url":"https://api.github.com/repos/rafasgj/tchelinux-cms/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/rafasgj/tchelinux-cms/issues/3/comments","events_url":"https://api.github.com/repos/rafasgj/tchelinux-cms/issues/3/events","html_url":"https://github.com/rafasgj/tchelinux-cms/issues/3","id":328786532,"node_id":"MDU6SXNzdWUzMjg3ODY1MzI=","number":3,"title":"Manage the institutions database.","user":{"login":"rafasgj","id":1592349,"node_id":"MDQ6VXNlcjE1OTIzNDk=","avatar_url":"https://avatars3.githubusercontent.com/u/1592349?v=4","gravatar_id":"","url":"https://api.github.com/users/rafasgj","html_url":"https://github.com/rafasgj","followers_url":"https://api.github.com/users/rafasgj/followers","following_url":"https://api.github.com/users/rafasgj/following{/other_user}","gists_url":"https://api.github.com/users/rafasgj/gists{/gist_id}","starred_url":"https://api.github.com/users/rafasgj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafasgj/subscriptions","organizations_url":"https://api.github.com/users/rafasgj/orgs","repos_url":"https://api.github.com/users/rafasgj/repos","events_url":"https://api.github.com/users/rafasgj/events{/privacy}","received_events_url":"https://api.github.com/users/rafasgj/received_events","type":"User","site_admin":false},"labels":[{"id":951127722,"node_id":"MDU6TGFiZWw5NTExMjc3MjI=","url":"https://api.github.com/repos/rafasgj/tchelinux-cms/labels/feature","name":"feature","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":{"login":"rafasgj","id":1592349,"node_id":"MDQ6VXNlcjE1OTIzNDk=","avatar_url":"https://avatars3.githubusercontent.com/u/1592349?v=4","gravatar_id":"","url":"https://api.github.com/users/rafasgj","html_url":"https://github.com/rafasgj","followers_url":"https://api.github.com/users/rafasgj/followers","following_url":"https://api.github.com/users/rafasgj/following{/other_user}","gists_url":"https://api.github.com/users/rafasgj/gists{/gist_id}","starred_url":"https://api.github.com/users/rafasgj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafasgj/subscriptions","organizations_url":"https://api.github.com/users/rafasgj/orgs","repos_url":"https://api.github.com/users/rafasgj/repos","events_url":"https://api.github.com/users/rafasgj/events{/privacy}","received_events_url":"https://api.github.com/users/rafasgj/received_events","type":"User","site_admin":false},"assignees":[{"login":"rafasgj","id":1592349,"node_id":"MDQ6VXNlcjE1OTIzNDk=","avatar_url":"https://avatars3.githubusercontent.com/u/1592349?v=4","gravatar_id":"","url":"https://api.github.com/users/rafasgj","html_url":"https://github.com/rafasgj","followers_url":"https://api.github.com/users/rafasgj/followers","following_url":"https://api.github.com/users/rafasgj/following{/other_user}","gists_url":"https://api.github.com/users/rafasgj/gists{/gist_id}","starred_url":"https://api.github.com/users/rafasgj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafasgj/subscriptions","organizations_url":"https://api.github.com/users/rafasgj/orgs","repos_url":"https://api.github.com/users/rafasgj/repos","events_url":"https://api.github.com/users/rafasgj/events{/privacy}","received_events_url":"https://api.github.com/users/rafasgj/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/rafasgj/tchelinux-cms/milestones/1","html_url":"https://github.com/rafasgj/tchelinux-cms/milestone/1","labels_url":"https://api.github.com/repos/rafasgj/tchelinux-cms/milestones/1/labels","id":3392278,"node_id":"MDk6TWlsZXN0b25lMzM5MjI3OA==","number":1,"title":"0.1.a-1","description":null,"creator":{"login":"rafasgj","id":1592349,"node_id":"MDQ6VXNlcjE1OTIzNDk=","avatar_url":"https://avatars3.githubusercontent.com/u/1592349?v=4","gravatar_id":"","url":"https://api.github.com/users/rafasgj","html_url":"https://github.com/rafasgj","followers_url":"https://api.github.com/users/rafasgj/followers","following_url":"https://api.github.com/users/rafasgj/following{/other_user}","gists_url":"https://api.github.com/users/rafasgj/gists{/gist_id}","starred_url":"https://api.github.com/users/rafasgj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafasgj/subscriptions","organizations_url":"https://api.github.com/users/rafasgj/orgs","repos_url":"https://api.github.com/users/rafasgj/repos","events_url":"https://api.github.com/users/rafasgj/events{/privacy}","received_events_url":"https://api.github.com/users/rafasgj/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":2,"state":"open","created_at":"2018-06-01T04:04:52Z","updated_at":"2018-06-02T23:52:41Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-06-02T23:52:35Z","updated_at":"2018-06-03T03:30:16Z","closed_at":null,"author_association":"OWNER","body":"Scenario: Add a new intitution to the database.\r\nGiven the institution id \"fspoa\" and name \"Faculdade Senac Porto Alegre\"\r\n    And the institution nickname \"FSPOA\"\r\n    And the institution address \"R. Cel Genuino, 130\"\r\n    And the institution url \"http://senacrs.com.br/unidades.asp?unidade=63\"\r\n    And the institution GPS latitude \"-30.035237\" and longitude \"-51.226635\"\r\n    And the institution city that has the city id \"poa\"\r\n    And the city database has some cities\r\n    | id  | name       |\r\n    | poa | Porto Alegre |\r\nWhen requesting a new institution addition\r\nThen the status code is 201\r\n    And the institution is in the database"},"comment":{"url":"https://api.github.com/repos/rafasgj/tchelinux-cms/issues/comments/394132284","html_url":"https://github.com/rafasgj/tchelinux-cms/issues/3#issuecomment-394132284","issue_url":"https://api.github.com/repos/rafasgj/tchelinux-cms/issues/3","id":394132284,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDEzMjI4NA==","user":{"login":"rafasgj","id":1592349,"node_id":"MDQ6VXNlcjE1OTIzNDk=","avatar_url":"https://avatars3.githubusercontent.com/u/1592349?v=4","gravatar_id":"","url":"https://api.github.com/users/rafasgj","html_url":"https://github.com/rafasgj","followers_url":"https://api.github.com/users/rafasgj/followers","following_url":"https://api.github.com/users/rafasgj/following{/other_user}","gists_url":"https://api.github.com/users/rafasgj/gists{/gist_id}","starred_url":"https://api.github.com/users/rafasgj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafasgj/subscriptions","organizations_url":"https://api.github.com/users/rafasgj/orgs","repos_url":"https://api.github.com/users/rafasgj/repos","events_url":"https://api.github.com/users/rafasgj/events{/privacy}","received_events_url":"https://api.github.com/users/rafasgj/received_events","type":"User","site_admin":false},"created_at":"2018-06-03T03:30:16Z","updated_at":"2018-06-03T03:30:16Z","author_association":"OWNER","body":"Scenario: Request the city list.\r\nGiven the database has data for two institutions in two different cities\r\nWhen requesting the institution list\r\nThen the list has 2 items\r\n    And the JSON returned is\r\n    \"\"\"\r\n    [{\r\n         \"long_name\": \"Faculdade Senac Porto Alegre\",\r\n         \"short_name\": \"FSPOA\",\r\n         \"url\": \"http://senacrs.com.br/unidades.asp?unidade=63\",\r\n         \"address\": \"R. Col. Genuíno, 130\",\r\n         \"latitude\": -30.035237,\r\n         \"longitude\": -51.226635\r\n     },\r\n     {\r\n         \"long_name\": \"Universidade de Caxias do Sul\",\r\n         \"short_name\": \"UCS\",\r\n         \"url\": \"http://www.ucs.br\",\r\n         \"address\": \"Rua Francisco Getúlio Vargas, 1130 \",\r\n         \"latitude\": -29.1739539,\r\n         \"longitude\": -51.2195097\r\n     }]\r\n    \"\"\"\r\n\r\nScenario: Request the institutions list of a city.\r\nGiven the database has data for two institutions in two different cities\r\nWhen requesting the institution list of the city of \"poa\"\r\nThen the status code is 204\r\n    And the list has 1 items\r\n    And the JSON returned is\r\n    \"\"\"\r\n    [{\r\n         \"long_name\": \"Faculdade Senac Porto Alegre\",\r\n         \"short_name\": \"FSPOA\",\r\n         \"url\": \"http://senacrs.com.br/unidades.asp?unidade=63\",\r\n         \"address\": \"R. Col. Genuíno, 130\",\r\n         \"latitude\": -30.035237,\r\n         \"longitude\": -51.226635\r\n     }]\r\n    \"\"\"\r\n\r\nScenario: Request the institution by its id.\r\nGiven the database has data for two institutions in two different cities\r\nWhen requesting the institution with id \"fspoa\"\r\nThen the status code is 204\r\n    And the JSON returned is\r\n    \"\"\"\r\n    [{\r\n         \"long_name\": \"Faculdade Senac Porto Alegre\",\r\n         \"short_name\": \"FSPOA\",\r\n         \"url\": \"http://senacrs.com.br/unidades.asp?unidade=63\",\r\n         \"address\": \"R. Col. Genuíno, 130\",\r\n         \"latitude\": -30.035237,\r\n         \"longitude\": -51.226635\r\n     }]\r\n    \"\"\"\r\n\r\nScenario: Request the institution list in a city with no institutions.\r\nGiven the database has data for two institutions in two different cities\r\nWhen requesting the institution list of the city of \"noinstitutions\"\r\nThen the status code is 204\r\n\r\n\r\nScenario: Request an inexistent institution by its id.\r\nGiven the database has data for two institutions in two different cities\r\nWhen requesting the institution with id \"fspoa\"\r\nThen the status code is 404\r\n"}}
{"actor":{"display_login":"rafasgj"}}