{"action":"created","issue":{"url":"https://api.github.com/repos/e-government-ua/i/issues/608","labels_url":"https://api.github.com/repos/e-government-ua/i/issues/608/labels{/name}","comments_url":"https://api.github.com/repos/e-government-ua/i/issues/608/comments","events_url":"https://api.github.com/repos/e-government-ua/i/issues/608/events","html_url":"https://github.com/e-government-ua/i/issues/608","id":97928922,"number":608,"title":"На бэке централа доработать сервис getServicesTree дополнительными фильтрами","user":{"login":"bvv4ik","id":4208821,"avatar_url":"https://avatars.githubusercontent.com/u/4208821?v=3","gravatar_id":"","url":"https://api.github.com/users/bvv4ik","html_url":"https://github.com/bvv4ik","followers_url":"https://api.github.com/users/bvv4ik/followers","following_url":"https://api.github.com/users/bvv4ik/following{/other_user}","gists_url":"https://api.github.com/users/bvv4ik/gists{/gist_id}","starred_url":"https://api.github.com/users/bvv4ik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvv4ik/subscriptions","organizations_url":"https://api.github.com/users/bvv4ik/orgs","repos_url":"https://api.github.com/users/bvv4ik/repos","events_url":"https://api.github.com/users/bvv4ik/events{/privacy}","received_events_url":"https://api.github.com/users/bvv4ik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/e-government-ua/i/labels/active","name":"active","color":"eb6420"},{"url":"https://api.github.com/repos/e-government-ua/i/labels/hi%20priority","name":"hi priority","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"40rn05lyv","id":1200215,"avatar_url":"https://avatars.githubusercontent.com/u/1200215?v=3","gravatar_id":"","url":"https://api.github.com/users/40rn05lyv","html_url":"https://github.com/40rn05lyv","followers_url":"https://api.github.com/users/40rn05lyv/followers","following_url":"https://api.github.com/users/40rn05lyv/following{/other_user}","gists_url":"https://api.github.com/users/40rn05lyv/gists{/gist_id}","starred_url":"https://api.github.com/users/40rn05lyv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/40rn05lyv/subscriptions","organizations_url":"https://api.github.com/users/40rn05lyv/orgs","repos_url":"https://api.github.com/users/40rn05lyv/repos","events_url":"https://api.github.com/users/40rn05lyv/events{/privacy}","received_events_url":"https://api.github.com/users/40rn05lyv/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/e-government-ua/i/milestones/5","html_url":"https://github.com/e-government-ua/i/milestones/BackEnd-REST-Activiti_Java","labels_url":"https://api.github.com/repos/e-government-ua/i/milestones/5/labels","id":1063352,"number":5,"title":"BackEnd-REST-Activiti_Java","description":"Разработка кастомных общих API/REST, которые вначале позволят реализовывать  нужные нам сервисы по авторизации(и не только), а потом станут общей-единой точкой входа, включающую текущие REST Activiti","creator":{"login":"bvv4ik","id":4208821,"avatar_url":"https://avatars.githubusercontent.com/u/4208821?v=3","gravatar_id":"","url":"https://api.github.com/users/bvv4ik","html_url":"https://github.com/bvv4ik","followers_url":"https://api.github.com/users/bvv4ik/followers","following_url":"https://api.github.com/users/bvv4ik/following{/other_user}","gists_url":"https://api.github.com/users/bvv4ik/gists{/gist_id}","starred_url":"https://api.github.com/users/bvv4ik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvv4ik/subscriptions","organizations_url":"https://api.github.com/users/bvv4ik/orgs","repos_url":"https://api.github.com/users/bvv4ik/repos","events_url":"https://api.github.com/users/bvv4ik/events{/privacy}","received_events_url":"https://api.github.com/users/bvv4ik/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":81,"state":"open","created_at":"2015-04-11T19:27:45Z","updated_at":"2015-08-07T17:07:05Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-07-29T12:55:33Z","updated_at":"2015-08-07T23:52:53Z","closed_at":null,"body":"- [ ] 1) Добавить в сервис getServicesTree так, чтоб если название услуги начинается с символа \"_\", то выводить такой элемент каталога только если флаг bTest в классе GeneralConfig равняется true (иначе не включать его в выдаваемый каталог)\r\n\r\n- [ ] 2) Добавить в сервис getServicesTree опциональный параметр \"asID_Place_UA\" , где через запятую, приходит массив строк-ИД мест.\r\nНапример:\r\ngetServicesTree?asID_Place_UA=3200000000,8000000000\r\nгде:\r\nsID_UA = \"3200000000\" (КИЇВСЬКА ОБЛАСТЬ/М.КИЇВ)\r\nsID_UA = \"8000000000\" (М.КИЇВ)\r\n(коды взяты из всеукраинского классификатора мест: http://www.ukrstat.gov.ua/klasf/klasif/koatuu.rar)\r\n\r\nЕсли параметр asID_Place_UA задан, то накладывать фильтр на выдаваемый каталог услуг. т.е. выводить только те услуги, в которых в подуслугах (в ServiceData) есть те, которые находятся в указанных регионах или городах. (связанные сущности Region и City)\r\n\r\nВАЖНО: При этом, пока что:\r\n3200000000 - приравнивать к региону \"Киевский\"\r\n8000000000 - приравнивать к городу\"Киев\"\r\nОстальные коды пока вообще игнорировать!!!\r\n(т.е. выдавать полный каталог, если ни одного из вышеперечисленных кодов не указано)"},"comment":{"url":"https://api.github.com/repos/e-government-ua/i/issues/comments/128863028","html_url":"https://github.com/e-government-ua/i/issues/608#issuecomment-128863028","issue_url":"https://api.github.com/repos/e-government-ua/i/issues/608","id":128863028,"user":{"login":"bvv4ik","id":4208821,"avatar_url":"https://avatars.githubusercontent.com/u/4208821?v=3","gravatar_id":"","url":"https://api.github.com/users/bvv4ik","html_url":"https://github.com/bvv4ik","followers_url":"https://api.github.com/users/bvv4ik/followers","following_url":"https://api.github.com/users/bvv4ik/following{/other_user}","gists_url":"https://api.github.com/users/bvv4ik/gists{/gist_id}","starred_url":"https://api.github.com/users/bvv4ik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvv4ik/subscriptions","organizations_url":"https://api.github.com/users/bvv4ik/orgs","repos_url":"https://api.github.com/users/bvv4ik/repos","events_url":"https://api.github.com/users/bvv4ik/events{/privacy}","received_events_url":"https://api.github.com/users/bvv4ik/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T23:52:52Z","updated_at":"2015-08-07T23:52:52Z","body":"Класс!\r\nА вот тесты на эту фифу, пока не стоит писать... т.к. через некоторое время доделается таска по сущности Place, и данная реализация немного поправится, в связи с этим... вот тогда и можно будет тесты написать"}}