Commit d0d2aac9dabd5f8bc21a467728d4f1a7956ad12a
0 parents
Exists in
master
enviando arquivos da branch de unificação tarefa-4005
Showing
4 changed files
with
531 additions
and
0 deletions
Show diff stats
1 | +++ a/pom.xml | ||
@@ -0,0 +1,441 @@ | @@ -0,0 +1,441 @@ | ||
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<!-- ******************************************************************************************************************** --> | ||
3 | +<!-- * LICENCA*GPLv2 * --> | ||
4 | +<!-- * Copyright [2011,2012,2013,2014,2015] da CentralIT Tecnologia da Informação Ltda (www.centralit.com.br) * --> | ||
5 | +<!-- * * --> | ||
6 | +<!-- * Este arquivo é parte do programa/software: Citsmart (www.citsmart.com.br) * --> | ||
7 | +<!-- * * --> | ||
8 | +<!-- * O Citsmart é um software livre; você pode redistribui-lo e/ou modificá-lo dentro dos termos da Licença * --> | ||
9 | +<!-- * Pública Geral GNU como publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença. * --> | ||
10 | +<!-- * * --> | ||
11 | +<!-- * Este programa/software é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma * --> | ||
12 | +<!-- * garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral * --> | ||
13 | +<!-- * GNU/GPL em português para maiores detalhes. * --> | ||
14 | +<!-- * * --> | ||
15 | +<!-- * Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título 'LICENCA.txt', junto com este * --> | ||
16 | +<!-- * programa/software, se não, acesse o Portal do Software Público Brasileiro no endereço www.softwarepublico.gov.br * --> | ||
17 | +<!-- * ou escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,USA * --> | ||
18 | +<!-- ******************************************************************************************************************** --> | ||
19 | +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | ||
20 | + xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
21 | + <modelVersion>4.0.0</modelVersion> | ||
22 | + | ||
23 | + <parent> | ||
24 | + <groupId>br.com.centralit</groupId> | ||
25 | + <artifactId>citsmart-grp-parent</artifactId> | ||
26 | + <version>1.8.0-SNAPSHOT</version> | ||
27 | + </parent> | ||
28 | + | ||
29 | + <artifactId>citsmart-grp-modules</artifactId> | ||
30 | + <version>1.8.0-SNAPSHOT</version> | ||
31 | + <packaging>pom</packaging> | ||
32 | + | ||
33 | + <name>citsmart-grp-modules</name> | ||
34 | + | ||
35 | + <description> | ||
36 | + Este projeto agrupa os projetos módulos da suite CitSmart-GRP. | ||
37 | + </description> | ||
38 | + | ||
39 | + <organization> | ||
40 | + <name>Central IT</name> | ||
41 | + <url>http://www.centralit.com.br</url> | ||
42 | + </organization> | ||
43 | + | ||
44 | + <properties> | ||
45 | + <!-- BEGIN: Configuration properties --> | ||
46 | + <!-- Tests properties --> | ||
47 | + <skip.all.tests>true</skip.all.tests> | ||
48 | + <skip.integration.tests>${skip.all.tests}</skip.integration.tests> | ||
49 | + <skip.unit.tests>${skip.all.tests}</skip.unit.tests> | ||
50 | + | ||
51 | + <!-- ESI Configuration --> | ||
52 | + <esi.web.url>http://localhost:8080/cit-esi-web</esi.web.url> | ||
53 | + <broker.url>tcp://localhost:61616</broker.url> | ||
54 | + <esi.input.queue>esi.input.queue</esi.input.queue> | ||
55 | + <esi.output.queue>esi.output.queue</esi.output.queue> | ||
56 | + <!-- END: Configuration properties --> | ||
57 | + | ||
58 | + <!-- Versoes dos projetos corporativos. --> | ||
59 | + <cit-grp-corporativo.version>${project.version}</cit-grp-corporativo.version> | ||
60 | + <cit-core.version>${cit-grp-corporativo.version}</cit-core.version> | ||
61 | + <cit-portal.version>${cit-grp-corporativo.version}</cit-portal.version> | ||
62 | + <cit-esi-io.version>${cit-grp-corporativo.version}</cit-esi-io.version> | ||
63 | + | ||
64 | + <!--Versoes dos modulos Cit-Smart-GRP --> | ||
65 | + <cit-grp-modules.version>${project.version}</cit-grp-modules.version> | ||
66 | + <cit-contratos.version>${project.version}</cit-contratos.version> | ||
67 | + <cit-esi.version>${cit-grp-modules.version}</cit-esi.version> | ||
68 | + <cit-esi-listener.version>${cit-grp-modules.version}</cit-esi-listener.version> | ||
69 | + <cit-gestao.version>${cit-grp-modules.version}</cit-gestao.version> | ||
70 | + <citgrp-patrimonio.version>${cit-grp-modules.version}</citgrp-patrimonio.version> | ||
71 | + <cit-integration-test.version>${cit-grp-modules.version}</cit-integration-test.version> | ||
72 | + <cit-adm-materiais.version>${cit-grp-modules.version}</cit-adm-materiais.version> | ||
73 | + <cit-almoxarifado.version>${cit-grp-modules.version}</cit-almoxarifado.version> | ||
74 | + <cit-alcada.version>${cit-grp-modules.version}</cit-alcada.version> | ||
75 | + <cit-tabelas-corp.version>${cit-grp-modules.version}</cit-tabelas-corp.version> | ||
76 | + <cit-ecm.version>${cit-grp-modules.version}</cit-ecm.version> | ||
77 | + | ||
78 | + <!--Spring dependencies --> | ||
79 | + <spring.framework.version>3.2.12.RELEASE</spring.framework.version> | ||
80 | + <spring.security.version>3.2.5.RELEASE</spring.security.version> | ||
81 | + <spring.security.saml.version>1.0.0.RELEASE</spring.security.saml.version> | ||
82 | + <spring-security-cas.version>3.0.8.RELEASE</spring-security-cas.version> | ||
83 | + | ||
84 | + <!--Hibernate Version --> | ||
85 | + <hibernate.version>4.3.8.Final</hibernate.version> | ||
86 | + <hibernate.search.version>4.5.1.Final</hibernate.search.version> | ||
87 | + | ||
88 | + <!-- Test Dependencies --> | ||
89 | + <junit.version>4.12</junit.version> | ||
90 | + <mockito.version>1.10.19</mockito.version> | ||
91 | + <powermock.version>1.6.4</powermock.version> | ||
92 | + <jbehave.version>2.5.9</jbehave.version> | ||
93 | + <hamcrest.version>1.3</hamcrest.version> | ||
94 | + <fixture-factory.version>3.0.0</fixture-factory.version> | ||
95 | + <hsqldb.version>2.3.2</hsqldb.version> | ||
96 | + <json-path.version>0.9.1</json-path.version> | ||
97 | + | ||
98 | + <!-- Drools Dependencies --> | ||
99 | + <drools.version>6.3.0.Final</drools.version> | ||
100 | + </properties> | ||
101 | + | ||
102 | + <build> | ||
103 | + <finalName>${project.artifactId}-${project.version}</finalName> | ||
104 | + <resources> | ||
105 | + <!-- Resources que sao filtrados pelo maven --> | ||
106 | + <resource> | ||
107 | + <directory>src/main/java</directory> | ||
108 | + <includes> | ||
109 | + <include>**/*.form</include> | ||
110 | + <include>**/*.properties</include> | ||
111 | + </includes> | ||
112 | + </resource> | ||
113 | + <resource> | ||
114 | + <directory>src/main/webapp</directory> | ||
115 | + <includes> | ||
116 | + <include>**/*.xml</include> | ||
117 | + <include>**/*.properties</include> | ||
118 | + <include>**/*.MF</include> | ||
119 | + <include>**/*.sql</include> | ||
120 | + </includes> | ||
121 | + <filtering>true</filtering> | ||
122 | + </resource> | ||
123 | + <resource> | ||
124 | + <directory>src/main/resources</directory> | ||
125 | + <includes> | ||
126 | + <include>**/*.properties</include> | ||
127 | + <include>**/*.json</include> | ||
128 | + <include>**/*.sql</include> | ||
129 | + <include>**/*.tag</include> | ||
130 | + </includes> | ||
131 | + <excludes> | ||
132 | + <exclude>**/*jks</exclude> | ||
133 | + <exclude>**/*jrxml</exclude> | ||
134 | + <exclude>**/*svn</exclude> | ||
135 | + </excludes> | ||
136 | + <filtering>true</filtering> | ||
137 | + </resource> | ||
138 | + <!-- Resources que NAO sao filtrados pelo maven eh importante para nao | ||
139 | + corromper determinados arquivos --> | ||
140 | + <resource> | ||
141 | + <directory>src/main/resources</directory> | ||
142 | + <filtering>false</filtering> | ||
143 | + <includes> | ||
144 | + <include>**/*.xml</include> | ||
145 | + <include>**/*.jrxml</include> | ||
146 | + <include>**/*.jks</include> | ||
147 | + <include>**/*.jpeg</include> | ||
148 | + <include>**/*.png</include> | ||
149 | + <include>**/*.gif</include> | ||
150 | + <include>**/*.jpg</include> | ||
151 | + </includes> | ||
152 | + </resource> | ||
153 | + </resources> | ||
154 | + </build> | ||
155 | + | ||
156 | + <modules> | ||
157 | + <module>../cit-tabelas-corp</module> | ||
158 | + <module>../cit-adm-materiais</module> | ||
159 | + <module>../citgrp-patrimonio</module> | ||
160 | + <module>../cit-almoxarifado</module> | ||
161 | + <module>../cit-contratos</module> | ||
162 | + <module>../cit-alcada</module> | ||
163 | + <module>../cit-esi</module> | ||
164 | + <module>../cit-esi-listener</module> | ||
165 | + <module>../cit-ecm</module> | ||
166 | + <module>../cit-monitor-es</module> | ||
167 | + </modules> | ||
168 | + | ||
169 | + <dependencyManagement> | ||
170 | + <dependencies> | ||
171 | + <!-- Modulos da suite de aplicativos citSmart --> | ||
172 | + <dependency> | ||
173 | + <groupId>br.com.centralit</groupId> | ||
174 | + <artifactId>cit-tabelas-corp</artifactId> | ||
175 | + <version>${project.version}</version> | ||
176 | + </dependency> | ||
177 | + <dependency> | ||
178 | + <groupId>br.com.centralit</groupId> | ||
179 | + <artifactId>citgrp-patrimonio</artifactId> | ||
180 | + <version>${citgrp-patrimonio.version}</version> | ||
181 | + </dependency> | ||
182 | + <dependency> | ||
183 | + <groupId>br.com.centralit</groupId> | ||
184 | + <artifactId>cit-esi</artifactId> | ||
185 | + <version>${cit-esi.version}</version> | ||
186 | + </dependency> | ||
187 | + <dependency> | ||
188 | + <groupId>br.com.centralit</groupId> | ||
189 | + <artifactId>cit-esi-listener</artifactId> | ||
190 | + <version>${cit-esi-listener.version}</version> | ||
191 | + </dependency> | ||
192 | + <dependency> | ||
193 | + <groupId>br.com.centralit</groupId> | ||
194 | + <artifactId>cit-contratos</artifactId> | ||
195 | + <version>${cit-contratos.version}</version> | ||
196 | + </dependency> | ||
197 | + <dependency> | ||
198 | + <groupId>br.com.centralit</groupId> | ||
199 | + <artifactId>cit-almoxarifado</artifactId> | ||
200 | + <version>${cit-almoxarifado.version}</version> | ||
201 | + </dependency> | ||
202 | + <dependency> | ||
203 | + <groupId>br.com.centralit</groupId> | ||
204 | + <artifactId>cit-adm-materiais</artifactId> | ||
205 | + <version>${project.version}</version> | ||
206 | + </dependency> | ||
207 | + <dependency> | ||
208 | + <groupId>br.com.centralit</groupId> | ||
209 | + <artifactId>cit-alcada</artifactId> | ||
210 | + <version>${cit-alcada.version}</version> | ||
211 | + </dependency> | ||
212 | + <dependency> | ||
213 | + <groupId>br.com.centralit</groupId> | ||
214 | + <artifactId>cit-ecm</artifactId> | ||
215 | + <version>${cit-ecm.version}</version> | ||
216 | + </dependency> | ||
217 | + <!-- Projetos de testes de integracao --> | ||
218 | + <dependency> | ||
219 | + <groupId>br.com.centralit</groupId> | ||
220 | + <artifactId>cit-integration-test</artifactId> | ||
221 | + <version>${cit-integration-test.version}</version> | ||
222 | + </dependency> | ||
223 | + | ||
224 | + <!-- Dependencias de testes comuns a todos os projetos --> | ||
225 | + <dependency> | ||
226 | + <groupId>org.jbehave</groupId> | ||
227 | + <artifactId>jbehave-core</artifactId> | ||
228 | + <version>${jbehave.version}</version> | ||
229 | + <scope>test</scope> | ||
230 | + </dependency> | ||
231 | + <dependency> | ||
232 | + <groupId>junit</groupId> | ||
233 | + <artifactId>junit</artifactId> | ||
234 | + <version>${junit.version}</version> | ||
235 | + <scope>test</scope> | ||
236 | + </dependency> | ||
237 | + <dependency> | ||
238 | + <groupId>org.mockito</groupId> | ||
239 | + <artifactId>mockito-all</artifactId> | ||
240 | + <version>${mockito.version}</version> | ||
241 | + <scope>test</scope> | ||
242 | + </dependency> | ||
243 | + <dependency> | ||
244 | + <groupId>org.powermock</groupId> | ||
245 | + <artifactId>powermock-api-mockito</artifactId> | ||
246 | + <version>${powermock.version}</version> | ||
247 | + <scope>test</scope> | ||
248 | + </dependency> | ||
249 | + <dependency> | ||
250 | + <groupId>org.hamcrest</groupId> | ||
251 | + <artifactId>hamcrest-all</artifactId> | ||
252 | + <version>${hamcrest.version}</version> | ||
253 | + <scope>test</scope> | ||
254 | + </dependency> | ||
255 | + <dependency> | ||
256 | + <groupId>org.hsqldb</groupId> | ||
257 | + <artifactId>hsqldb</artifactId> | ||
258 | + <version>${hsqldb.version}</version> | ||
259 | + <scope>test</scope> | ||
260 | + </dependency> | ||
261 | + <dependency> | ||
262 | + <groupId>br.com.six2six</groupId> | ||
263 | + <artifactId>fixture-factory</artifactId> | ||
264 | + <version>${fixture-factory.version}</version> | ||
265 | + <scope>test</scope> | ||
266 | + </dependency> | ||
267 | + <dependency> | ||
268 | + <groupId>com.jayway.jsonpath</groupId> | ||
269 | + <artifactId>json-path</artifactId> | ||
270 | + <version>${json-path.version}</version> | ||
271 | + <scope>test</scope> | ||
272 | + </dependency> | ||
273 | + <!-- Dependencias do cit-esi --> | ||
274 | + <dependency> | ||
275 | + <groupId>org.reflections</groupId> | ||
276 | + <artifactId>reflections</artifactId> | ||
277 | + <version>0.9.9-RC1</version> | ||
278 | + </dependency> | ||
279 | + <dependency> | ||
280 | + <groupId>rhino</groupId> | ||
281 | + <artifactId>js</artifactId> | ||
282 | + <version>1.7R2</version> | ||
283 | + </dependency> | ||
284 | + <dependency> | ||
285 | + <groupId>org.python</groupId> | ||
286 | + <artifactId>jython</artifactId> | ||
287 | + <version>2.5.3</version> | ||
288 | + </dependency> | ||
289 | + <dependency> | ||
290 | + <groupId>org.jruby</groupId> | ||
291 | + <artifactId>jruby-core</artifactId> | ||
292 | + <version>1.7.16.1</version> | ||
293 | + </dependency> | ||
294 | + <dependency> | ||
295 | + <groupId>com.thoughtworks.xstream</groupId> | ||
296 | + <artifactId>xstream</artifactId> | ||
297 | + <version>1.4.7</version> | ||
298 | + </dependency> | ||
299 | + <dependency> | ||
300 | + <groupId>org.freemarker</groupId> | ||
301 | + <artifactId>freemarker</artifactId> | ||
302 | + <version>2.3.21</version> | ||
303 | + </dependency> | ||
304 | + <dependency> | ||
305 | + <groupId>org.json</groupId> | ||
306 | + <artifactId>json</artifactId> | ||
307 | + <version>20140107</version> | ||
308 | + </dependency> | ||
309 | + <dependency> | ||
310 | + <groupId>pentaho-reporting-engine</groupId> | ||
311 | + <artifactId>pentaho-reporting-engine-classic-core</artifactId> | ||
312 | + <version>5.0.5</version> | ||
313 | + </dependency> | ||
314 | + <dependency> | ||
315 | + <groupId>pentaho-library</groupId> | ||
316 | + <artifactId>libloader</artifactId> | ||
317 | + <version>5.0.2</version> | ||
318 | + </dependency> | ||
319 | + <dependency> | ||
320 | + <groupId>pentaho-library</groupId> | ||
321 | + <artifactId>libbase</artifactId> | ||
322 | + <version>5.0.5</version> | ||
323 | + </dependency> | ||
324 | + <dependency> | ||
325 | + <groupId>org.apache.poi</groupId> | ||
326 | + <artifactId>poi</artifactId> | ||
327 | + <version>3.11</version> | ||
328 | + </dependency> | ||
329 | + <dependency> | ||
330 | + <groupId>org.apache.commons</groupId> | ||
331 | + <artifactId>commons-lang3</artifactId> | ||
332 | + <version>3.0</version> | ||
333 | + </dependency> | ||
334 | + <dependency> | ||
335 | + <groupId>org.apache.commons</groupId> | ||
336 | + <artifactId>commons-email</artifactId> | ||
337 | + <version>1.3.3</version> | ||
338 | + </dependency> | ||
339 | + <dependency> | ||
340 | + <groupId>commons-pool</groupId> | ||
341 | + <artifactId>commons-pool</artifactId> | ||
342 | + <version>1.6</version> | ||
343 | + </dependency> | ||
344 | + <dependency> | ||
345 | + <groupId>org.apache.activemq</groupId> | ||
346 | + <artifactId>activemq-all</artifactId> | ||
347 | + <version>5.10.0</version> | ||
348 | + </dependency> | ||
349 | + <dependency> | ||
350 | + <groupId>org.quartz-scheduler</groupId> | ||
351 | + <artifactId>quartz</artifactId> | ||
352 | + <version>2.2.1</version> | ||
353 | + </dependency> | ||
354 | + <dependency> | ||
355 | + <groupId>org.quartz-scheduler</groupId> | ||
356 | + <artifactId>quartz-jobs</artifactId> | ||
357 | + <version>2.2.1</version> | ||
358 | + </dependency> | ||
359 | + <dependency> | ||
360 | + <groupId>org.drools</groupId> | ||
361 | + <artifactId>drools-core</artifactId> | ||
362 | + <version>${drools.version}</version> | ||
363 | + </dependency> | ||
364 | + <dependency> | ||
365 | + <groupId>org.drools</groupId> | ||
366 | + <artifactId>drools-compiler</artifactId> | ||
367 | + <version>${drools.version}</version> | ||
368 | + </dependency> | ||
369 | + </dependencies> | ||
370 | + </dependencyManagement> | ||
371 | + | ||
372 | + <dependencies> | ||
373 | + <dependency> | ||
374 | + <groupId>br.com.centralit</groupId> | ||
375 | + <artifactId>cit-core</artifactId> | ||
376 | + <version>${cit-core.version}</version> | ||
377 | + </dependency> | ||
378 | + <!-- Servlet --> | ||
379 | + <dependency> | ||
380 | + <groupId>javax.servlet</groupId> | ||
381 | + <artifactId>javax.servlet-api</artifactId> | ||
382 | + <version>3.0.1</version> | ||
383 | + <scope>provided</scope> | ||
384 | + </dependency> | ||
385 | + <dependency> | ||
386 | + <groupId>javax.servlet.jsp</groupId> | ||
387 | + <artifactId>jsp-api</artifactId> | ||
388 | + <version>2.2</version> | ||
389 | + <scope>provided</scope> | ||
390 | + </dependency> | ||
391 | + | ||
392 | + <!-- Test dependencies --> | ||
393 | + <dependency> | ||
394 | + <groupId>junit</groupId> | ||
395 | + <artifactId>junit</artifactId> | ||
396 | + <scope>test</scope> | ||
397 | + <exclusions> | ||
398 | + <exclusion> | ||
399 | + <artifactId>hamcrest-core</artifactId> | ||
400 | + <groupId>org.hamcrest</groupId> | ||
401 | + </exclusion> | ||
402 | + </exclusions> | ||
403 | + </dependency> | ||
404 | + <dependency> | ||
405 | + <groupId>org.jbehave</groupId> | ||
406 | + <artifactId>jbehave-core</artifactId> | ||
407 | + <scope>test</scope> | ||
408 | + </dependency> | ||
409 | + <dependency> | ||
410 | + <groupId>org.mockito</groupId> | ||
411 | + <artifactId>mockito-all</artifactId> | ||
412 | + <scope>test</scope> | ||
413 | + </dependency> | ||
414 | + <dependency> | ||
415 | + <groupId>org.powermock</groupId> | ||
416 | + <artifactId>powermock-api-mockito</artifactId> | ||
417 | + <scope>test</scope> | ||
418 | + </dependency> | ||
419 | + <dependency> | ||
420 | + <groupId>org.hamcrest</groupId> | ||
421 | + <artifactId>hamcrest-all</artifactId> | ||
422 | + <scope>test</scope> | ||
423 | + </dependency> | ||
424 | + <dependency> | ||
425 | + <groupId>org.hsqldb</groupId> | ||
426 | + <artifactId>hsqldb</artifactId> | ||
427 | + <scope>test</scope> | ||
428 | + </dependency> | ||
429 | + <dependency> | ||
430 | + <groupId>br.com.six2six</groupId> | ||
431 | + <artifactId>fixture-factory</artifactId> | ||
432 | + <scope>test</scope> | ||
433 | + </dependency> | ||
434 | + <dependency> | ||
435 | + <groupId>org.springframework.security</groupId> | ||
436 | + <artifactId>spring-security-cas-client</artifactId> | ||
437 | + <version>${spring-security-cas.version}</version> | ||
438 | + </dependency> | ||
439 | + </dependencies> | ||
440 | + | ||
441 | +</project> | ||
0 | \ No newline at end of file | 442 | \ No newline at end of file |
1 | +++ a/src/licensing/header-definitions.xml | ||
@@ -0,0 +1,12 @@ | @@ -0,0 +1,12 @@ | ||
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<additionalHeaders> | ||
3 | + <javadoc_style> | ||
4 | + <firstLine>/*</firstLine> | ||
5 | + <beforeEachLine> * </beforeEachLine> | ||
6 | + <endLine> */</endLine> | ||
7 | + <firstLineDetectionPattern>( |\t)*/\*( |\t)*$</firstLineDetectionPattern> | ||
8 | + <lastLineDetectionPattern>( |\t)*\*/( |\t)*$</lastLineDetectionPattern> | ||
9 | + <allowBlankLines>true</allowBlankLines> | ||
10 | + <isMultiline>true</isMultiline> | ||
11 | + </javadoc_style> | ||
12 | +</additionalHeaders> |
1 | +++ a/src/licensing/header.txt | ||
@@ -0,0 +1,17 @@ | @@ -0,0 +1,17 @@ | ||
1 | +********************************************************************************************************************* | ||
2 | +* LICENCA*GPLv2 * | ||
3 | +* Copyright [2011,2012,2013,2014,2015] da CentralIT Tecnologia da Informação Ltda (www.centralit.com.br) * | ||
4 | +* * | ||
5 | +* Este arquivo é parte do programa/software: Citsmart (www.citsmart.com.br) * | ||
6 | +* * | ||
7 | +* O Citsmart é um software livre; você pode redistribui-lo e/ou modificá-lo dentro dos termos da Licença * | ||
8 | +* Pública Geral GNU como publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença. * | ||
9 | +* * | ||
10 | +* Este programa/software é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma * | ||
11 | +* garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral * | ||
12 | +* GNU/GPL em português para maiores detalhes. * | ||
13 | +* * | ||
14 | +* Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título 'LICENCA.txt', junto com este * | ||
15 | +* programa/software, se não, acesse o Portal do Software Público Brasileiro no endereço www.softwarepublico.gov.br * | ||
16 | +* ou escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,USA * | ||
17 | +********************************************************************************************************************* | ||
0 | \ No newline at end of file | 18 | \ No newline at end of file |
1 | +++ a/src/main/resources/context.xml | ||
@@ -0,0 +1,61 @@ | @@ -0,0 +1,61 @@ | ||
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor | ||
3 | + license agreements. See the NOTICE file distributed with this work for additional | ||
4 | + information regarding copyright ownership. The ASF licenses this file to | ||
5 | + You under the Apache License, Version 2.0 (the "License"); you may not use | ||
6 | + this file except in compliance with the License. You may obtain a copy of | ||
7 | + the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required | ||
8 | + by applicable law or agreed to in writing, software distributed under the | ||
9 | + License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS | ||
10 | + OF ANY KIND, either express or implied. See the License for the specific | ||
11 | + language governing permissions and limitations under the License. --><!-- The contents of this file will be loaded for each web application --> | ||
12 | +<Context> | ||
13 | + | ||
14 | + <!-- Default set of monitored resources --> | ||
15 | + <WatchedResource>WEB-INF/web.xml</WatchedResource> | ||
16 | + | ||
17 | + <!-- Uncomment this to disable session persistence across Tomcat restarts --> | ||
18 | + <!-- <Manager pathname="" /> --> | ||
19 | + | ||
20 | + <!-- Uncomment this to enable Comet connection tacking (provides events | ||
21 | + on session expiration as well as webapp lifecycle) --> | ||
22 | + <!-- <Valve className="org.apache.catalina.valves.CometConnectionManagerValve" | ||
23 | + /> --> | ||
24 | + | ||
25 | + <!--SQL Server --> | ||
26 | + <!--<Resource name="jdbc/sqlServer" auth="Container" factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory" | ||
27 | + driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver" type="javax.sql.DataSource" | ||
28 | + maxActive="50" maxIdle="10" maxWait="15000" username="sa" password="sqlserver" | ||
29 | + url="jdbc:sqlserver://127.0.0.1:1433;databaseName=citgrp;" removeAbandoned="true" | ||
30 | + removeAbandonedTimeout="30" logAbandoned="true" /> --> | ||
31 | + | ||
32 | + <!--Postgres --> | ||
33 | + <Resource auth="Container" driverClassName="org.postgresql.Driver" | ||
34 | + factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory" | ||
35 | + logAbandoned="true" maxActive="50" maxIdle="10" maxWait="15000" | ||
36 | + name="jdbc/cit-gestao" password="postgres" removeAbandoned="true" | ||
37 | + removeAbandonedTimeout="30" type="javax.sql.DataSource" | ||
38 | + url="jdbc:postgresql://localhost:5432/citgrp" username="postgres" /> | ||
39 | + | ||
40 | + <Resource auth="Container" driverClassName="org.postgresql.Driver" | ||
41 | + factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory" | ||
42 | + logAbandoned="true" maxActive="50" maxIdle="10" maxWait="15000" | ||
43 | + name="jdbc/cit-portal" password="postgres" removeAbandoned="true" | ||
44 | + removeAbandonedTimeout="30" type="javax.sql.DataSource" | ||
45 | + url="jdbc:postgresql://localhost:5432/citgrp" username="postgres" /> | ||
46 | + | ||
47 | + <Resource auth="Container" driverClassName="org.postgresql.Driver" | ||
48 | + factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory" | ||
49 | + logAbandoned="true" maxActive="50" maxIdle="10" maxWait="15000" | ||
50 | + name="jdbc/cit-tabelas-corp" password="postgres" removeAbandoned="true" | ||
51 | + removeAbandonedTimeout="30" type="javax.sql.DataSource" | ||
52 | + url="jdbc:postgresql://localhost:5432/citgrp" username="postgres" /> | ||
53 | + | ||
54 | + <Resource auth="Container" driverClassName="org.postgresql.Driver" | ||
55 | + factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory" | ||
56 | + logAbandoned="true" maxActive="50" maxIdle="10" maxWait="15000" | ||
57 | + name="jdbc/citgrp-patrimonio" password="postgres" removeAbandoned="true" | ||
58 | + removeAbandonedTimeout="30" type="javax.sql.DataSource" | ||
59 | + url="jdbc:postgresql://localhost:5432/citgrp" username="postgres" /> | ||
60 | + | ||
61 | +</Context> | ||
0 | \ No newline at end of file | 62 | \ No newline at end of file |