Commit 2d3d77a20d59630d16c41abb762ac629fb135231
1 parent
5dcc8284
Exists in
master
and in
1 other branch
Adicionando arquivo README
Showing
2 changed files
with
41 additions
and
16 deletions
Show diff stats
... | ... | @@ -0,0 +1,41 @@ |
1 | +# Módulo Estatísticas do SEI | |
2 | + | |
3 | +## Como contribuir | |
4 | + | |
5 | +Para o desenvolvimento é necessário ter instalado | |
6 | + | |
7 | +- [Vagrant](https://www.vagrantup.com/) | |
8 | +- [VirtualBox](https://www.virtualbox.org/) | |
9 | + | |
10 | +Faça o download do projeto SEI e na raiz crie o arquivo *Vagrantfile* com o seguinte conteúdo | |
11 | +``` | |
12 | +Vagrant.configure("2") do |config| | |
13 | +config.vm.box = "processoeletronico/sei-3.0.0" | |
14 | +end | |
15 | +``` | |
16 | +Faça o download desse projeto no seguinte diretório do SEI | |
17 | +``` | |
18 | +cd sei/web/modulos | |
19 | +git clone http://softwarepublico.gov.br/gitlab/mp/mod-sei-estatisticas.git | |
20 | +``` | |
21 | + | |
22 | +Edite o arquivo *sei/sei/config/ConfiguracaoSEI.php* e adicione a propriedade *Modulos*, caso não exista, com o nome desse módulo. | |
23 | +``` | |
24 | +... | |
25 | + | |
26 | + 'SEI' => array( | |
27 | + 'URL' => 'http://localhost/sei', | |
28 | + 'Producao' => false, | |
29 | + 'RepositorioArquivos' => '/var/sei/arquivos', | |
30 | + 'Modulos' => array('MdEstatisticas' => 'mod-sei-estatisticas')), | |
31 | + | |
32 | +... | |
33 | + ``` | |
34 | + | |
35 | +Inicie o SEI com o comando | |
36 | + | |
37 | + ``` | |
38 | +vagrant up | |
39 | + ``` | |
40 | + | |
41 | + | ... | ... |
rn/MdEstatisticasColetarRN.php
... | ... | @@ -16,22 +16,6 @@ class MdEstatisticasColetarRN extends InfraRN { |
16 | 16 | |
17 | 17 | try { |
18 | 18 | |
19 | - | |
20 | - //IMPLEMENTAÇÃO DA EXTRAÇÃO DE INDICADORES | |
21 | - //1) Criar o objeto DTO representativo dos indicadores | |
22 | - /* $objIndicadoresDTO = new IndicadoresDTO(); */ | |
23 | - | |
24 | - //2) Preencher cada indicador do sistema | |
25 | - /* $objIndicadoresDTO->setStrVersaoSEI($this->obterVersaoSEI()); */ | |
26 | - /* $objIndicadoresDTO->setStrVersaoPHP($this->obterVersaoPHP()); */ | |
27 | - /* $objIndicadoresDTO->setNumTamanhoFileSystem($this->obterTamanhoFileSystem()); */ | |
28 | - /* $objIndicadoresDTO->setStrPlugins($this->obterPlugins()); */ | |
29 | - /* $objIndicadoresDTO->setNumQuantidadeUnidades($this->obterQuantidadeUnidades()); */ | |
30 | - /* $objIndicadoresDTO->setNumTamanhoDocumentosExternos($this->obterTamanhoTotalDocumentosExternos()); */ | |
31 | - /* $objIndicadoresDTO->setStrProtocolo($this->obterProtocolo()); */ | |
32 | - /* $objIndicadoresDTO->setNumQuantidadeProcedimentos($this->obterQuantidadeProcessosAdministrativos()); */ | |
33 | - /* $objIndicadoresDTO->setStrNavegadores($this->obterNavegadores()); */ | |
34 | - | |
35 | 19 | $indicadores = array( |
36 | 20 | 'seiVersao' => $this->obterVersaoSEI(), |
37 | 21 | 'phpVersao' => $this->obterVersaoPHP(), | ... | ... |