-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat/449 SEI3 com Oracle e SqlServer (#452)
* Ajustes para o ecossistema SEI3 * Ecossistema agora nos mesmos moldes do sei4 * Ecossistema agora suporta Oracle e Sqlserver
- Loading branch information
1 parent
bce54e1
commit e61e27b
Showing
10 changed files
with
254 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,94 +13,97 @@ public static function getInstance(){ | |
|
||
public function getArrConfiguracoes(){ | ||
return array( | ||
|
||
'SEI' => array( | ||
'URL' => getenv('SEI_HOST_URL').'/sei', | ||
'URL' => getenv('HOST_URL').'/sei', | ||
'Producao' => false, | ||
'RepositorioArquivos' => '/var/sei/arquivos', | ||
'Modulos' => array( | ||
"PENIntegracao" => "pen", | ||
) | ||
|
||
'DigitosDocumento' => 7, | ||
'NumLoginUsuarioExternoSemCaptcha' => 3, | ||
'TamSenhaUsuarioExterno' => 8, | ||
'DebugWebServices' => 2, | ||
'MaxMemoriaPdfGb' => 4, | ||
'Modulos' => array( | ||
"PENIntegracao" => "pen", | ||
) | ||
), | ||
|
||
'SessaoSEI' => array( | ||
'SiglaOrgaoSistema' => 'ABC', | ||
'SiglaSistema' => 'SEI', | ||
'PaginaLogin' => getenv('HOST_URL') . '/sip/login.php', | ||
'SipWsdl' => getenv('HOST_URL') . '/sip/controlador_ws.php?servico=wsdl', | ||
'https' => false | ||
), | ||
|
||
'PaginaSEI' => array( | ||
'NomeSistema' => 'SEI', | ||
'NomeSistemaComplemento' => SEI_VERSAO, | ||
'LogoMenu' => ''), | ||
|
||
'SessaoSEI' => array( | ||
'SiglaOrgaoSistema' => 'ABC', | ||
'SiglaSistema' => 'SEI', | ||
'PaginaLogin' => getenv('SEI_HOST_URL').'/sip/login.php', | ||
'SipWsdl' => 'http://localhost/sip/controlador_ws.php?servico=wsdl', | ||
'https' => false | ||
), | ||
|
||
'BancoSEI' => array( | ||
'Servidor' => 'mysql', | ||
'Porta' => '3306', | ||
'Banco' => 'sei', | ||
'Usuario' => 'sei_user', | ||
'Senha' => 'sei_user', | ||
'UsuarioScript' => 'sei_user', | ||
'SenhaScript' => 'sei_user', | ||
'Tipo' => 'MySql'), | ||
|
||
// 'BancoSEI' => array( | ||
// 'Servidor' => 'oracle', | ||
// 'Porta' => '1521', | ||
// 'Banco' => 'sei', | ||
// 'Usuario' => 'sei', | ||
// 'Senha' => 'sei_user', | ||
// 'UsuarioScript' => 'sei', | ||
// 'SenhaScript' => 'sei_user', | ||
// 'Tipo' => 'Oracle'), //MySql, SqlServer ou Oracle | ||
|
||
// 'BancoSEI' => array( | ||
// 'Servidor' => 'sqlserver', | ||
// 'Porta' => '1433', | ||
// 'Banco' => 'sei', | ||
// 'Usuario' => 'sei_user', | ||
// 'Senha' => 'sei_user', | ||
// 'UsuarioScript' => 'sei_user', | ||
// 'SenhaScript' => 'sei_user', | ||
// 'Tipo' => 'SqlServer'), //MySql, SqlServer ou Oracle | ||
|
||
'CacheSEI' => array('Servidor' => 'memcached', | ||
'Porta' => '11211'), | ||
'LogoMenu' => '', | ||
'OrgaoTopoJanela' => 'S', | ||
), | ||
|
||
'JODConverter' => array('Servidor' => 'http://jod:8080/converter/service'), | ||
'BancoSEI' => array( | ||
'Servidor' => getenv('DATABASE_HOST'), | ||
'Porta' => getenv('DATABASE_PORT'), | ||
'Banco' => getenv('SEI_DATABASE_NAME'), | ||
'Usuario' => getenv('SEI_DATABASE_USER'), | ||
'Senha' => getenv('SEI_DATABASE_PASSWORD'), | ||
'UsuarioScript' => getenv('SEI_DATABASE_USER_SCRIPT'), | ||
'SenhaScript' => getenv('SEI_DATABASE_PASSWORD_SCRIPT'), | ||
'Tipo' => getenv('DATABASE_TYPE'), //MySql, SqlServer ou Oracle | ||
'PesquisaCaseInsensitive' => false, | ||
), | ||
|
||
'Edoc' => array('Servidor' => 'http://[Servidor .NET]'), | ||
'BancoAuditoriaSEI' => array( | ||
'Servidor' => 'mysql', | ||
'Porta' => '3306', | ||
'Banco' => 'sei', | ||
'Usuario' => 'sei_user', | ||
'Senha' => 'sei_user', | ||
'Tipo' => 'MySql', //MySql, SqlServer ou Oracle | ||
), | ||
|
||
'Solr' => array( | ||
'Servidor' => 'http://solr:8983/solr', | ||
'CoreProtocolos' => 'sei-protocolos', | ||
'CoreBasesConhecimento' => 'sei-bases-conhecimento', | ||
'CorePublicacoes' => 'sei-publicacoes'), | ||
'CacheSEI' => array( | ||
'Servidor' => 'memcached', | ||
'Porta' => '11211', | ||
'Timeout' => 2, | ||
'Tempo' => 3600, | ||
), | ||
|
||
'HostWebService' => array( | ||
'Edoc' => array('[Servidor .NET]'), | ||
'Sip' => array('*'), //Referências (IP e nome na rede) de todas as máquinas que executam o SIP. | ||
'Publicacao' => array('*'), //Referências (IP e nome na rede) das máquinas de veículos de publicação externos cadastrados no SEI. | ||
'Ouvidoria' => array('*'), //Referências (IP e nome na rede) da máquina que hospeda o formulário de Ouvidoria personalizado. Se utilizar o formulário padrão do SEI, então configurar com as máquinas dos nós de aplicação do SEI. | ||
), | ||
'Solr' => array( | ||
'Servidor' => 'http://solr:8983/solr', | ||
'CoreProtocolos' => 'sei-protocolos', | ||
'CoreBasesConhecimento' => 'sei-bases-conhecimento', | ||
'CorePublicacoes' => 'sei-publicacoes', | ||
'TempoCommitProtocolos' => 300, | ||
'TempoCommitBasesConhecimento' => 60, | ||
'TempoCommitPublicacoes' => 60, | ||
), | ||
|
||
'InfraMail' => array( | ||
'Tipo' => '2', //1 = sendmail (neste caso não é necessário configurar os atributos abaixo), 2 = SMTP | ||
'Servidor' => 'smtp', | ||
'Porta' => '1025', | ||
'Codificacao' => '8bit', //8bit, 7bit, binary, base64, quoted-printable | ||
'MaxDestinatarios' => 999, //numero maximo de destinatarios por mensagem | ||
'MaxTamAnexosMb' => 999, //tamanho maximo dos anexos em Mb por mensagem | ||
'Seguranca' => '', //TLS, SSL ou vazio | ||
'Autenticar' => false, //se true então informar Usuario e Senha | ||
'Usuario' => '', | ||
'Senha' => '', | ||
'Protegido' => '[email protected]' //campo usado em desenvolvimento, se tiver um email preenchido entao todos os emails enviados terao o destinatario ignorado e substituído por este valor (evita envio incorreto de email) | ||
) | ||
); | ||
} | ||
} | ||
'JODConverter' => array( | ||
'Servidor' => 'http://jod/converter/service' | ||
), | ||
|
||
'HostWebService' => array( | ||
'Sip' => array('*'), | ||
'Publicacao' => array('*'), | ||
'Ouvidoria' => array('*'), | ||
), | ||
|
||
'InfraMail' => array( | ||
'Tipo' => '2', | ||
'Servidor' => 'smtp', | ||
'Porta' => '1025', | ||
'Codificacao' => '8bit', | ||
'MaxDestinatarios' => 999, | ||
'MaxTamAnexosMb' => 999, | ||
'Autenticar' => false, | ||
'Usuario' => '', | ||
'Senha' => '', | ||
'Seguranca' => '', //TLS, SSL ou vazio | ||
'Protegido' => '[email protected]', | ||
), | ||
); | ||
} | ||
} |
Oops, something went wrong.