{"action":"created","issue":{"url":"https://api.github.com/repos/servicosgovbr/editor-de-servicos/issues/421","labels_url":"https://api.github.com/repos/servicosgovbr/editor-de-servicos/issues/421/labels{/name}","comments_url":"https://api.github.com/repos/servicosgovbr/editor-de-servicos/issues/421/comments","events_url":"https://api.github.com/repos/servicosgovbr/editor-de-servicos/issues/421/events","html_url":"https://github.com/servicosgovbr/editor-de-servicos/issues/421","id":116346109,"number":421,"title":"Editor manter lista Siorg atualizada","user":{"login":"kchnr","id":576918,"avatar_url":"https://avatars.githubusercontent.com/u/576918?v=3","gravatar_id":"","url":"https://api.github.com/users/kchnr","html_url":"https://github.com/kchnr","followers_url":"https://api.github.com/users/kchnr/followers","following_url":"https://api.github.com/users/kchnr/following{/other_user}","gists_url":"https://api.github.com/users/kchnr/gists{/gist_id}","starred_url":"https://api.github.com/users/kchnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kchnr/subscriptions","organizations_url":"https://api.github.com/users/kchnr/orgs","repos_url":"https://api.github.com/users/kchnr/repos","events_url":"https://api.github.com/users/kchnr/events{/privacy}","received_events_url":"https://api.github.com/users/kchnr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/servicosgovbr/editor-de-servicos/labels/conversas%20futuras","name":"conversas futuras","color":"d4c5f9"},{"url":"https://api.github.com/repos/servicosgovbr/editor-de-servicos/labels/SIORG","name":"SIORG","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-11T14:34:31Z","updated_at":"2015-12-08T00:22:07Z","closed_at":null,"body":"- [ ] Criar um serviço \"cron\" que atualiza a lista do Siorg\n- [ ] Baixar com gzip (tamanho cai para 2Mb)\n- [ ] Baixar lista ao iniciar o serviço\n- [ ] Lista do Siorg atual deve ler da lista atualizada\n- [ ] Remover arquivo estático \"estrutura-organizacional.json.gz\", e usar o serviço"},"comment":{"url":"https://api.github.com/repos/servicosgovbr/editor-de-servicos/issues/comments/162713646","html_url":"https://github.com/servicosgovbr/editor-de-servicos/issues/421#issuecomment-162713646","issue_url":"https://api.github.com/repos/servicosgovbr/editor-de-servicos/issues/421","id":162713646,"user":{"login":"kchnr","id":576918,"avatar_url":"https://avatars.githubusercontent.com/u/576918?v=3","gravatar_id":"","url":"https://api.github.com/users/kchnr","html_url":"https://github.com/kchnr","followers_url":"https://api.github.com/users/kchnr/followers","following_url":"https://api.github.com/users/kchnr/following{/other_user}","gists_url":"https://api.github.com/users/kchnr/gists{/gist_id}","starred_url":"https://api.github.com/users/kchnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kchnr/subscriptions","organizations_url":"https://api.github.com/users/kchnr/orgs","repos_url":"https://api.github.com/users/kchnr/repos","events_url":"https://api.github.com/users/kchnr/events{/privacy}","received_events_url":"https://api.github.com/users/kchnr/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T00:22:07Z","updated_at":"2015-12-08T00:22:07Z","body":"Hoje temos um script para a atualização da lista do Siorg, mas não acontece de forma automática. Ele deve ser executado de dentro da pasta onde se encontra:\nhttps://github.com/servicosgovbr/editor-de-servicos/blob/master/src/main/resources/atualiza-estrutura-organizacional.sh\n\nEsse script vai fazer o download, e atualizar o arquivo que contém a lista de órgãos:\nestrutura-organizacional.json.gz\n\nE então esse arquivo de ser comitado, para que a nova lista seja utilizada."}}