save before ...

git-svn-id: https://svn.coded.pt/svn/SIPRP@1852 bb69d46d-e84e-40c8-a05a-06db0d633741
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
Ricardo Santos 12 years ago
parent bbf2729b2f
commit e38d3f912f

@ -48,7 +48,6 @@
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jaxb-core.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jaxb-impl.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jaxws-rt.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jaxws-spring-1.10-20130630.113250-1.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jcl-over-slf4j-1.7.5.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jempbox-1.8.3.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/json-lib-2.4-jdk15.jar"/>
@ -114,6 +113,25 @@
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/tiles-template-3.0.3.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/xmlgraphics-commons-1.5.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jdom-1.1.3.jar"/>
<classpathentry kind="lib" path="/viaverde/lib/evolute.jar" sourcepath="/home/croque/workspace/evolute/src"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jaxws-json-1.2.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jaxws-spring-1.9.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/json-20140107.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/poi-3.6-20091214.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/xbean-spring-3.16.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/cglib-nodep-2.2.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jaxws-spring-1.10-20130630.113250-1.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jdom2-2.0.5.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/joda-time-1.6.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/json-20080701.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/kxml2-2.3.0.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/kxml2-min-2.3.0.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/stax-1.2.0.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/stax-api-1.0.1.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/wstx-asl-3.2.7.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/xbean-spring-3.9.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/xmlpull-1.1.3.1.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/xom-1.1.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/xpp3_min-1.1.4c.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/xstream-1.4.7.jar"/>
<classpathentry kind="output" path="build/classes"/>
</classpath>

@ -1,26 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
http://jax-ws.dev.java.net/spring/core http://jax-ws.java.net/spring/core.xsd
http://jax-ws.dev.java.net/spring/servlet http://jax-ws.java.net/spring/servlet.xsd"
xmlns="http://www.springframework.org/schema/beans"
xmlns:ws="http://jax-ws.dev.java.net/spring/core"
xmlns:wss="http://jax-ws.dev.java.net/spring/servlet"
>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<!-- <context:annotation-config/> -->
<bean class="org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor" />
<bean id="defaultLogger" class="pt.evolute.logger.InitDefaultLogger" destroy-method="clean" scope="singleton" />
<bean id="defaultProvider" class="pt.evolute.data.InitDefaultProvider" destroy-method="clean" scope="singleton" depends-on="defaultLogger" />
<bean id="defaultProvider" class="pt.evolute.data.ProviderSpringBean" destroy-method="clean" scope="singleton" depends-on="defaultLogger" />
<bean id="siprpProvider" class="pt.evolute.data.ProviderSpringBean" destroy-method="clean" scope="singleton" depends-on="defaultLogger" >
<property name="server"><value>server2.evolute.pt</value></property>
<property name="port"><value>5432</value></property>
<property name="username"><value>rsantos</value></property>
<property name="password"><value>rsEvo2014</value></property>
<property name="database"><value>siprp_local_3</value></property>
<property name="parameters"><value>ssl=true&amp;sslfactory=org.postgresql.ssl.NonValidatingFactory</value></property>
<property name="databasePrefix"><value>jdbc:postgresql://</value></property>
</bean>
<bean id="updaterBean" class="pt.evolute.data.UpdaterBean" scope="singleton" depends-on="defaultProvider" />
<bean id="evoAutenticationProvider" class="pt.evolute.security.EvoAutenticationProvider" scope="singleton" depends-on="defaultProvider" />
<bean id="fichasWS" class="shst.medicina.fichasclinicas.webservice.FichasClinicasWSImpl" scope="singleton" depends-on="defaultProvider,siprpProvider" />
<wss:binding url="/ws">
<wss:service >
<ws:service bean="#fichasWS" />
</wss:service>
</wss:binding>
<!-- <wss:binding url="/json"> -->
<!-- <wss:service > -->
<!-- <ws:service bean="#fichasWS" bindingID="http://jax-ws-commons.java.net/json/" /> -->
<!-- </wss:service> -->
<!-- </wss:binding> -->
</beans>
</beans>

@ -1,6 +1,8 @@
<beans:beans xmlns="http://www.springframework.org/schema/security"
xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.1.xsd">
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.1.xsd">
<http auto-config="true">

@ -21,9 +21,10 @@
@ -31,6 +32,23 @@
<welcome-file-list>
<welcome-file>/login.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>jaxws-servlet</servlet-name>
<servlet-class>
com.sun.xml.ws.transport.http.servlet.WSSpringServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>jaxws-servlet</servlet-name>
<url-pattern>/ws</url-pattern>
<url-pattern>/json</url-pattern>
</servlet-mapping>
@ -40,8 +58,12 @@
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext.xml, /WEB-INF/spring-security.xml</param-value>
<!-- , /WEB-INF/spring-security.xml -->
</context-param>
<filter>
<filter-name>springSecurityFilterChain</filter-name>
@ -49,10 +71,14 @@
</filter>
<filter-mapping>
<filter-name>springSecurityFilterChain</filter-name>
<url-pattern>/*</url-pattern>
<url-pattern>/u</url-pattern>
</filter-mapping>

@ -0,0 +1,8 @@
<html>
<head>
<style type="text/css"></style>
<script src="http://localhost:8080/siprp_fichasclinicas/json?js&amp;var=rr"></script>
<style type="text/css"></style>
</head>
<body></body>
</html>

@ -7,7 +7,7 @@
<depend srcdir="${app.src.dir}" destdir="${app.build.dir}" cache="${app.dependencies.chache.dir}">
<include name="**/*.java" />
</depend>
<javac srcdir="${app.src.dir}" destdir="${app.build.dir}" classpathref="app.build.classpath" debug="on" deprecation="on" fork="true" memoryMaximumSize="512M" />
<javac srcdir="${app.src.dir}" destdir="${app.build.dir}" classpathref="app.build.classpath" debug="on" deprecation="on" fork="true" memoryMaximumSize="512M" includeantruntime="false" />
<antcall target="create-app-properties-file"/>
<antcall target="app-post-build"/>
</target>

@ -76,7 +76,7 @@
instead...
-->
<mkdir dir="${web.build.dir}/properties"/>
<move file="${web.build.dir}/app.properties" todir="${web.build.dir}/"/>
<move file="${web.build.dir}/app.properties" todir="${web.build.dir}"/>
<jar destfile="${web.dist.dir}/${web.jar.name}">
<fileset dir="${web.build.dir}">

@ -0,0 +1,200 @@
<?xml version="1.0" encoding="UTF-8"?>
<entity-gen-configuration>
<connection>
<project>fichasclinicas.fichasclinicas</project>
<url>jdbc:postgresql://server2.evolute.pt/siprp_fichas_clinicas?prepareThreshold=2&amp;ssl=true&amp;sslfactory=org.postgresql.ssl.NonValidatingFactory</url>
<user>rsantos</user>
<password>rsEvo2014</password>
</connection>
<generate-objects>y</generate-objects>
<base-path>/workspace_for_deploys/SiprpWebFichasClinicas/src</base-path>
<inner-package>shst.medicina.fichasclinicas.data.fichasclinicas.inner</inner-package>
<outer-package>shst.medicina.fichasclinicas.data.fichasclinicas</outer-package>
<xml-beans-package>shst.medicina.fichasclinicas.data.shst</xml-beans-package>
<generate-beans>y</generate-beans>
<inner-beans-package>shst.medicina.fichasclinicas.beans.fichasclinicas.inner</inner-beans-package>
<outer-beans-package>shst.medicina.fichasclinicas.beans.fichasclinicas</outer-beans-package>
<super-class />
<package-file-name>package.xml</package-file-name>
<table>
<name>aut_autorizacao</name>
<class-name>AutAutorizacao</class-name>
<super-class-name />
</table>
<table>
<name>evo_usr_permission</name>
<class-name>EvoUsrPermission</class-name>
<super-class-name />
</table>
<table>
<name>evo_usr_preferences</name>
<class-name>EvoUsrPreferences</class-name>
<super-class-name />
</table>
<table>
<name>evo_usr_prefs</name>
<class-name>EvoUsrPrefs</class-name>
<super-class-name />
</table>
<table>
<name>evo_usr_role</name>
<class-name>EvoUsrRole</class-name>
<super-class-name />
</table>
<table>
<name>evo_usr_roles_permissions</name>
<class-name>EvoUsrRolesPermissions</class-name>
<super-class-name />
</table>
<table>
<name>evo_usr_user</name>
<class-name>EvoUsrUser</class-name>
<super-class-name />
</table>
<table>
<name>evo_usr_users_roles</name>
<class-name>EvoUsrUsersRoles</class-name>
<super-class-name />
</table>
<table>
<name>fc_ficha</name>
<class-name>FcFicha</class-name>
<super-class-name />
</table>
<table>
<name>fc_ficha_absentismo</name>
<class-name>FcFichaAbsentismo</class-name>
<super-class-name />
</table>
<table>
<name>fc_ficha_actividade</name>
<class-name>FcFichaActividade</class-name>
<super-class-name />
</table>
<table>
<name>fc_ficha_antecedentes_familiares</name>
<class-name>FcFichaAntecedentesFamiliares</class-name>
<super-class-name />
</table>
<table>
<name>fc_ficha_antecedentes_ocupacionais</name>
<class-name>FcFichaAntecedentesOcupacionais</class-name>
<super-class-name />
</table>
<table>
<name>fc_ficha_antecedentes_ocupacionais_acidentes_trabalho</name>
<class-name>FcFichaAntecedentesOcupacionaisAcidentesTrabalho</class-name>
<super-class-name />
</table>
<table>
<name>fc_ficha_antecedentes_ocupacionais_actividades_anteriores</name>
<class-name>FcFichaAntecedentesOcupacionaisActividadesAnteriores</class-name>
<super-class-name />
</table>
<table>
<name>fc_ficha_antecedentes_ocupacionais_doencas_profissionais</name>
<class-name>FcFichaAntecedentesOcupacionaisDoencasProfissionais</class-name>
<super-class-name />
</table>
<table>
<name>fc_ficha_classificacao_individual_saude</name>
<class-name>FcFichaClassificacaoIndividualSaude</class-name>
<super-class-name />
</table>
<table>
<name>fc_ficha_conclusoes</name>
<class-name>FcFichaConclusoes</class-name>
<super-class-name />
</table>
<table>
<name>fc_ficha_doencas</name>
<class-name>FcFichaDoencas</class-name>
<super-class-name />
</table>
<table>
<name>fc_ficha_enfermagem</name>
<class-name>FcFichaEnfermagem</class-name>
<super-class-name />
</table>
<table>
<name>fc_ficha_esquema_vacinal</name>
<class-name>FcFichaEsquemaVacinal</class-name>
<super-class-name />
</table>
<table>
<name>fc_ficha_exame_objectivo</name>
<class-name>FcFichaExameObjectivo</class-name>
<super-class-name />
</table>
<table>
<name>fc_ficha_habitos</name>
<class-name>FcFichaHabitos</class-name>
<super-class-name />
</table>
<table>
<name>fc_ficha_informacao_periodica</name>
<class-name>FcFichaInformacaoPeriodica</class-name>
<super-class-name />
</table>
<table>
<name>fc_ficha_medicina_curativa</name>
<class-name>FcFichaMedicinaCurativa</class-name>
<super-class-name />
</table>
<table>
<name>fc_ficha_problemas_solucoes</name>
<class-name>FcFichaProblemasSolucoes</class-name>
<super-class-name />
</table>
<table>
<name>fc_motivos</name>
<class-name>FcMotivos</class-name>
<super-class-name />
</table>
<table>
<name>fc_tipo_ficha</name>
<class-name>FcTipoFicha</class-name>
<super-class-name />
</table>
<table>
<name>nomes</name>
<class-name>Nomes</class-name>
<super-class-name />
</table>
<table>
<name>trb_estado_civil</name>
<class-name>TrbEstadoCivil</class-name>
<super-class-name />
</table>
<table>
<name>trb_habilitacoes</name>
<class-name>TrbHabilitacoes</class-name>
<super-class-name />
</table>
<table>
<name>version</name>
<class-name>Version</class-name>
<super-class-name />
</table>
<table>
<name>web_register_request</name>
<class-name>WebRegisterRequest</class-name>
<super-class-name />
</table>
<table>
<name>web_user_actions</name>
<class-name>WebUserActions</class-name>
<super-class-name />
</table>
<table>
<name>web_user_login</name>
<class-name>WebUserLogin</class-name>
<super-class-name />
</table>
<table>
<name>web_user_validation</name>
<class-name>WebUserValidation</class-name>
<super-class-name />
</table>
</entity-gen-configuration>

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<entity-gen-configuration>
<connection>
<project>fichasclinicas.shst</project>
<url>jdbc:postgresql://server2.evolute.pt/siprp_local_3?prepareThreshold=2&amp;ssl=true&amp;sslfactory=org.postgresql.ssl.NonValidatingFactory</url>
<user>rsantos</user>
<password>rsEvo2014</password>
</connection>
<generate-objects>y</generate-objects>
<base-path>/workspace_for_deploys/SiprpWebFichasClinicas/src</base-path>
<inner-package>shst.medicina.fichasclinicas.data.shst.inner</inner-package>
<outer-package>shst.medicina.fichasclinicas.data.shst</outer-package>
<xml-beans-package>shst.medicina.fichasclinicas.data.shst</xml-beans-package>
<generate-beans>y</generate-beans>
<inner-beans-package>shst.medicina.fichasclinicas.beans.shst.inner</inner-beans-package>
<outer-beans-package>shst.medicina.fichasclinicas.beans.shst</outer-beans-package>
<super-class />
<package-file-name>package.xml</package-file-name>
<table>
<name>empresas</name>
<class-name>Empresas</class-name>
<super-class-name />
</table>
<table>
<name>estabelecimentos</name>
<class-name>Estabelecimentos</class-name>
<super-class-name />
</table>
<table>
<name>trabalhadores</name>
<class-name>Trabalhadores</class-name>
<super-class-name />
</table>
</entity-gen-configuration>

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save