Primer commit

parent da6c4a7e
Pipeline #64 failed with stages
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
<attributes>
<attribute name="owner.project.facets" value="java"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/sharedlibsTomcat"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/activation-1.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-beanutils-1.7.0.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-chain-1.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-codec-1.6.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-collections-3.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-configuration-1.6.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-dbcp-1.4.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-digester-1.8.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-discovery-0.2.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-fileupload-1.1.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-httpclient-3.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-io-1.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-lang-2.3.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-lang3-3.2.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-logging-1.1.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-pool-1.4.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-validator-1.3.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/dom4j-1.6.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/ezmorph.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/httpclient-4.2.3.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/httpcore-4.2.3.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/httpcore-nio-4.2.3.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/jackson-all-1.9.11.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/javax.servlet-3.0.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/json-lib-2.2.2-jdk15.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/log4j-1.2.16.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/mail-1.4.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/neethi-3.0.2.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/ojdbc6.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.aop-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.asm-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.aspects-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.beans-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.context.support-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.context-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.core-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.expression-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.jdbc-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.transaction-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.web.servlet-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.web-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/poi-3.9-20121203.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/poi-examples-3.9-20121203.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/poi-excelant-3.9-20121203.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/poi-ooxml-3.9-20121203.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/poi-ooxml-schemas-3.9-20121203.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/poi-scratchpad-3.9-20121203.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/quartz-1.8.5.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/slf4j-api-1.7.5.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/spring-ws-1.5.6-all.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/spring-ws-core-2.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/spring-xml-1.5.6.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/stax2-api-3.1.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/wsdl4j-1.6.3.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/wss4j-1.6.11.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/xercesImpl-2.8.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/xml-apis-1.3.04.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/xmlbeans-2.6.0.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/xmlschema-core-2.0.3.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/xmlsec-1.4.3.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/xom-1.1.jar"/>
<classpathentry kind="output" path="build/classes"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>DDA_CRN_Exhibicion</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry excluding="**/bower_components/*|**/node_modules/*|**/*.min.js" kind="src" path="WebContent"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
<attributes>
<attribute name="hide" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
<classpathentry kind="output" path=""/>
</classpath>
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="DDA_CRN_Exhibicion">
<wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/resources"/>
<property name="context-root" value="DDA_CRN_Exhibicion"/>
<property name="java-output-path" value="/DDA_CRN_Exhibicion/build/classes"/>
</wb-module>
</project-modules>
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<fixed facet="java"/>
<fixed facet="wst.jsdt.web"/>
<fixed facet="jst.web"/>
<installed facet="java" version="1.6"/>
<installed facet="jst.web" version="3.0"/>
<installed facet="wst.jsdt.web" version="1.0"/>
</faceted-project>
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
Window
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:p="http://www.springframework.org/schema/p"
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/jee
http://www.springframework.org/schema/jee/spring-jee-3.0.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<context:component-scan base-package="mx.com.amx.mx.dda.crn"/>
<mvc:annotation-driven/>
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location">
<value>classpath:general.properties</value>
</property>
</bean>
<bean class="org.springframework.web.servlet.view.ContentNegotiatingViewResolver">
<property name="order" value="1" />
<property name="mediaTypes">
<map>
<entry key="json" value="application/json"/>
<entry key="html" value="text/html"/>
</map>
</property>
<property name="defaultViews">
<list>
<bean class="org.springframework.web.servlet.view.json.MappingJacksonJsonView">
<property name="prefixJson" value="true"/>
<property name="contentType" value="application/json;charset=UTF-8"/>
</bean>
</list>
</property>
<property name="ignoreAcceptHeader" value="true" />
</bean>
<bean id="jaxbMarshallerBean" class="org.springframework.oxm.jaxb.Jaxb2Marshaller">
<property name="classesToBeBound">
<list>
<value>com.americamovil.dda._1.f.enviacontenido.DTContenido</value>
<value>com.americamovil.dda._1.f.enviacontenido.DTContenidoRes</value>
<value>com.americamovil.dda._1.f.enviaactivofijo.DTActivoFijo</value>
<value>com.americamovil.dda._1.f.enviaactivofijo.DTActivoFijoRes</value>
<value>com.americamovil.dda._1.f.enviaactivofijo.DTTituloMismoValor</value>
</list>
</property>
<property name="marshallerProperties">
<map>
<entry key="jaxb.encoding">
<value>UTF-8</value>
</entry>
</map>
</property>
</bean>
<bean id="messageFactory" class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory"/>
<!-- WS Notificacion Activo Fijo SAP -->
<bean id="wsNotificaAFijoSAP" class="org.springframework.ws.client.core.WebServiceTemplate">
<constructor-arg ref="messageFactory"/>
<property name="marshaller" ref="jaxbMarshallerBean" />
<property name="unmarshaller" ref="jaxbMarshallerBean" />
<property name="messageSender">
<bean class="org.springframework.ws.transport.http.CommonsHttpMessageSender">
<property name="credentials">
<bean class="org.apache.commons.httpclient.UsernamePasswordCredentials">
<constructor-arg value="${sap.services.credenciales}"/>
</bean>
</property>
<property name="connectionTimeout" value="300000" />
<property name="readTimeout" value="300000" />
</bean>
</property>
</bean>
<!-- BO -->
<bean id="ddaexhibicionBO" class="mx.com.amx.mx.dda.crn.bo.DDAExhibicionBO">
<property name="dao" ref="ddaexhibicionDAO" />
</bean>
<!--DAO -->
<bean id="ddaexhibicionDAO" class="mx.com.amx.mx.dda.crn.dao.DDAExhibicionDAO">
<property name="jdbcTemplate" ref="jdbcTemplate" />
</bean>
<!-- JNDI -->
<jee:jndi-lookup id="dsDDA" jndi-name="${database.jndi}" cache="true" expected-type="javax.sql.DataSource" />
<bean id="jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate">
<property name="dataSource" ref="dsDDA" />
</bean>
<!-- CRN -->
<bean id="exhibicion_DDA" class="mx.com.amx.mx.dda.crn.DDAExhibicion" >
<property name="bo" ref="ddaexhibicionBO" />
</bean>
<bean id="cronExhibicion_DDA"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean"
p:concurrent="false"
p:targetObject-ref="exhibicion_DDA"
p:targetMethod="ejecutaProceso">
</bean>
<bean id="triggerExhibicion_DDA" class="org.springframework.scheduling.quartz.CronTriggerBean"
p:jobDetail-ref="cronExhibicion_DDA"
p:startDelay="1000"
p:cronExpression="0 0 4,5,6,7 * * ? *">
<!-- Seconds Minutes Hours Day-Month Month Day-Week Year -->
<!-- LOCAL p:cronExpression="0 */2 * * * ? *" > c2min -->
<!-- DEV p:cronExpression="0 15 2 * * ? *" > 2:15am -->
<!-- QA p:cronExpression="0 0 12,14,16,18 * * ? *" > 12pm, 2p, 4pm, 6pm -->
<!-- PRD p:cronExpression="0 30 5 * * ? *" >"0 0 4,5,6,7 * * ? *"> 5am -->
</bean>
<bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean"
p:waitForJobsToCompleteOnShutdown="true" >
<property name="triggers">
<list>
<ref bean="triggerExhibicion_DDA" />
</list>
</property>
</bean>
<!-- log4j setting -->
<bean id="log4jInitialization" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetClass" value="org.springframework.util.Log4jConfigurer" />
<property name="targetMethod" value="initLogging" />
<property name="arguments">
<list>
<value>${log4j.properties.location}</value>
</list>
</property>
</bean>
</beans>
# DDA_CRN_CargaAddOns
Realiza el proceso de traspaso a las tablas principales
Manifest-Version: 1.0
Class-Path:
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="/DDA_CRN_CargaAddOns"/>
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
<display-name>DDA_CRN_CargaAddOns</display-name>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath*:ApplicationContext*.xml</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>service</servlet-name>
<servlet-class>mx.com.mx.dda.msjb.service</servlet-class>
</servlet>
<!-- Standard Action Servlet Mapping -->
<servlet-mapping>
<servlet-name>service</servlet-name>
<url-pattern>/service</url-pattern>
</servlet-mapping>
</web-app>
\ No newline at end of file
<h3>DDA_CRN_Exhibicion</h3>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See commented blocks below for -->
<!-- some examples of how to customize the build. -->
<!-- (If you delete it and reopen the project it will be recreated.) -->
<!-- By default, only the Clean and Build commands use this build script. -->
<!-- Commands such as Run, Debug, and Test only use this build script if -->
<!-- the Compile on Save feature is turned off for the project. -->
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
<!-- in the project's Project Properties dialog box.-->
<project name="DDA_CRN_CargaAddOns" default="default" basedir=".">
<description>Builds, tests, and runs the project DDA_CRN_CargaAddOns.</description>
<import file="nbproject/build-impl.xml"/>
<!--
There exist several targets which are by default empty and which can be
used for execution of your tasks. These targets are usually executed
before and after some main targets. They are:
-pre-init: called before initialization of project properties
-post-init: called after initialization of project properties
-pre-compile: called before javac compilation
-post-compile: called after javac compilation
-pre-compile-single: called before javac compilation of single file
-post-compile-single: called after javac compilation of single file
-pre-compile-test: called before javac compilation of JUnit tests
-post-compile-test: called after javac compilation of JUnit tests
-pre-compile-test-single: called before javac compilation of single JUnit test
-post-compile-test-single: called after javac compilation of single JUunit test
-pre-dist: called before archive building
-post-dist: called after archive building
-post-clean: called after cleaning build products
-pre-run-deploy: called before deploying
-post-run-deploy: called after deploying
Example of pluging an obfuscator after the compilation could look like
<target name="-post-compile">
<obfuscate>
<fileset dir="${build.classes.dir}"/>
</obfuscate>
</target>
For list of available properties check the imported
nbproject/build-impl.xml file.
Other way how to customize the build is by overriding existing main targets.
The target of interest are:
init-macrodef-javac: defines macro for javac compilation
init-macrodef-junit: defines macro for junit execution
init-macrodef-debug: defines macro for class debugging
do-dist: archive building
run: execution of project
javadoc-build: javadoc generation
Example of overriding the target for project execution could look like
<target name="run" depends="<PROJNAME>-impl.jar">
<exec dir="bin" executable="launcher.exe">
<arg file="${dist.jar}"/>
</exec>
</target>
Notice that overridden target depends on jar target and not only on
compile target as regular run target does. Again, for list of available
properties which you can use check the target you are overriding in
nbproject/build-impl.xml file.
-->
</project>
Manifest-Version: 1.0
Class-Path:
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="/DDA_CRN_CargaAddOns"/>
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:p="http://www.springframework.org/schema/p"
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/jee
http://www.springframework.org/schema/jee/spring-jee-3.0.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<context:component-scan base-package="mx.com.amx.mx.dda.crn"/>
<mvc:annotation-driven/>
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location">
<value>classpath:general.properties</value>
</property>
</bean>
<bean class="org.springframework.web.servlet.view.ContentNegotiatingViewResolver">
<property name="order" value="1" />
<property name="mediaTypes">
<map>
<entry key="json" value="application/json"/>
<entry key="html" value="text/html"/>
</map>
</property>
<property name="defaultViews">
<list>
<bean class="org.springframework.web.servlet.view.json.MappingJacksonJsonView">
<property name="prefixJson" value="true"/>
<property name="contentType" value="application/json;charset=UTF-8"/>
</bean>
</list>
</property>
<property name="ignoreAcceptHeader" value="true" />
</bean>
<bean id="jaxbMarshallerBean" class="org.springframework.oxm.jaxb.Jaxb2Marshaller">
<property name="classesToBeBound">
<list>
<value>com.americamovil.dda._1.f.enviacontenido.DTContenido</value>
<value>com.americamovil.dda._1.f.enviacontenido.DTContenidoRes</value>
<value>com.americamovil.dda._1.f.enviaactivofijo.DTActivoFijo</value>
<value>com.americamovil.dda._1.f.enviaactivofijo.DTActivoFijoRes</value>
<value>com.americamovil.dda._1.f.enviaactivofijo.DTTituloMismoValor</value>
</list>
</property>
<property name="marshallerProperties">
<map>
<entry key="jaxb.encoding">
<value>UTF-8</value>
</entry>
</map>
</property>
</bean>
<bean id="messageFactory" class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory"/>
<!-- WS Notificacion Activo Fijo SAP -->
<bean id="wsNotificaAFijoSAP" class="org.springframework.ws.client.core.WebServiceTemplate">
<constructor-arg ref="messageFactory"/>
<property name="marshaller" ref="jaxbMarshallerBean" />
<property name="unmarshaller" ref="jaxbMarshallerBean" />
<property name="messageSender">
<bean class="org.springframework.ws.transport.http.CommonsHttpMessageSender">
<property name="credentials">
<bean class="org.apache.commons.httpclient.UsernamePasswordCredentials">
<constructor-arg value="${sap.services.credenciales}"/>
</bean>
</property>
<property name="connectionTimeout" value="300000" />
<property name="readTimeout" value="300000" />
</bean>
</property>
</bean>
<!-- BO -->
<bean id="ddaexhibicionBO" class="mx.com.amx.mx.dda.crn.bo.DDACargaAddOnsBO">
<property name="dao" ref="ddaexhibicionDAO" />
</bean>
<!--DAO -->
<bean id="ddaexhibicionDAO" class="mx.com.amx.mx.dda.crn.dao.DDACargaAddOnsDAO">
<property name="jdbcTemplate" ref="jdbcTemplate" />
</bean>
<!-- JNDI -->
<jee:jndi-lookup id="dsDDA" jndi-name="${database.jndi}" cache="true" expected-type="javax.sql.DataSource" />
<bean id="jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate">
<property name="dataSource" ref="dsDDA" />
</bean>
<!-- CRN -->
<bean id="exhibicion_DDA" class="mx.com.amx.mx.dda.crn.DDACargaAddOns" >
<property name="bo" ref="ddaexhibicionBO" />
</bean>
<bean id="cronExhibicion_DDA"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean"
p:concurrent="false"
p:targetObject-ref="exhibicion_DDA"
p:targetMethod="ejecutaProceso">
</bean>
<bean id="triggerExhibicion_DDA" class="org.springframework.scheduling.quartz.CronTriggerBean"
p:jobDetail-ref="cronExhibicion_DDA"
p:startDelay="1000"
p:cronExpression="0 0 6 10 * ? *">
<!--0 15 1 1 * ? 1:15 del dia 1 de cada mes
p:cronExpression="0 5 19 * * ? *">
0 55 15 ? * * * 15:55
p:cronExpression="0 0 4,5,6,7 * * ? *" -->
<!-- Seconds Minutes Hours Day-Month Month Day-Week Year -->
<!-- LOCAL p:cronExpression="0 */2 * * * ? *" > c2min -->
<!-- DEV p:cronExpression="0 15 2 * * ? *" > 2:15am -->
<!-- QA p:cronExpression="0 0 12,14,16,18 * * ? *" > 12pm, 2p, 4pm, 6pm -->
<!-- PRD p:cronExpression="0 30 5 * * ? *" >"0 0 4,5,6,7 * * ? *"> 5am -->
</bean>
<bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean"
p:waitForJobsToCompleteOnShutdown="true" >
<property name="triggers">
<list>
<ref bean="triggerExhibicion_DDA" />
</list>
</property>
</bean>
<!-- log4j setting -->
<bean id="log4jInitialization" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetClass" value="org.springframework.util.Log4jConfigurer" />
<property name="targetMethod" value="initLogging" />
<property name="arguments">
<list>
<value>${log4j.properties.location}</value>
</list>
</property>
</bean>
</beans>
#-----------------------------------------------
# Ambiente local/desarrollo/preprod/produccion
#-----------------------------------------------
ambiente=preprod
#-----------------------------------------------
# Variables Generales
#-----------------------------------------------
database.jndi=${${ambiente}.database.jndi}
log4j.properties.location=${${ambiente}.log4j.properties.location}
sap.services.credenciales=${${ambiente}.sap.services.credenciales}
#-----------------------------------------------
# Propiedades Produccion
#-----------------------------------------------
produccion.database.jndi=jdbc/DBDLA
produccion.log4j.properties.location=classpath:log4j.prod.properties
#produccion.servidor.sap.ws =10.94.182.93
produccion.servidor.sap.ws =amcopocipr-1.amxcontenido.local
produccion.puerto.sap.ws =50000
#produccion.sap.services.credenciales=EXDDA001:4Mxdd4&P1
produccion.sap.services.credenciales=ZAMC_DDA:FJ12y$.43
produccion.clientws.interface.i10=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_PRD&receiverParty=&receiverService=&interface=SI_ActivoFijo_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaActivoFijo
produccion.clientws.interface.i12=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_PRD&receiverParty=&receiverService=&interface=SI_Contenido_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaContenido
produccion.centro.costo=0908A05000
#-----------------------------------------------
# Propiedades Preproduccion
#-----------------------------------------------
preprod.database.jndi=jdbc/DBDLA
preprod.log4j.properties.location=classpath:log4j.pre.properties
#preprod.servidor.sap.ws =10.94.182.80
preprod.servidor.sap.ws =amcopociqa-1.amxcontenido.local
preprod.puerto.sap.ws =50000
#preprod.sap.services.credenciales=EXDDA001:4Mxdd4&P1
preprod.sap.services.credenciales=ZAMC_DDA:FJ12y$.43
preprod.clientws.interface.i10=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_QA&receiverParty=&receiverService=&interface=SI_ActivoFijo_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaActivoFijo
preprod.clientws.interface.i12=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_QA&receiverParty=&receiverService=&interface=SI_Contenido_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaContenido
preprod.centro.costo=0908A05000
#-----------------------------------------------
# Propiedades Desarrollo
#-----------------------------------------------
desarrollo.database.jndi=jdbc/DBDLA
desarrollo.log4j.properties.location=classpath:log4j.dev.properties
#desarrollo.servidor.sap.ws =10.94.135.247
desarrollo.servidor.sap.ws =amcoPOCIQA-1.amxcontenido.local
desarrollo.puerto.sap.ws =50000
#desarrollo.sap.services.credenciales=EXDDA001:4Mxdd4&P1
desarrollo.sap.services.credenciales=ZAMC_DDA:FJ12y$.43
desarrollo.clientws.interface.i10=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_DEV&receiverPaty=&receiverService=&interface=SI_ActivoFijo_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaActivoFijo
desarrollo.clientws.interface.i12=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_DEV&receiverParty=&receiverService=&interface=SI_Contenido_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaContenido
desarrollo.centro.costo=0908A05000
#-----------------------------------------------
# Propiedades Local
#-----------------------------------------------
local.database.jndi=jdbc/DBDLA
local.log4j.properties.location=classpath:log4j.local.properties
local.servidor.sap.ws =10.94.135.247
local.puerto.sap.ws =50000
local.sap.services.credenciales=EXDDA001:4Mxdd4&P1
local.clientws.interface.i10=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_DEV&receiverPaty=&receiverService=&interface=SI_ActivoFijo_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaActivoFijo
local.clientws.interface.i12=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_DEV&receiverPaty=&receiverService=&interface=SI_Contenido_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaContenido
local.centro.costo=0908A05000
#-----------------------------------------------
# Mensajes de errores
#-----------------------------------------------
error.comunicacion.sap=Error al comunicarse con SAP
error.interno.sap=Error interno de SAP
error.proceso=Error en proceso
error.registro.sap=Error de registro en SAP
error.registro.incompleto=Registro de titulos incompleto en SAP
#-----------------------------------------------
# Parametros
#-----------------------------------------------
valor.referencia=DDA_SAP_DIA_NOTIFICACION
puede.ejecutar=DDA_PUEDE_EJECUTAR
notificacion.iniciado=DDA_NOTIFICACION_INICIADO
modulo=NOTIFICACION
subnumero=0000
#-----------------------------------------------
# Estatus del Contrato
#-----------------------------------------------
estatus.vigente=5
#-- Valores: Alguna fecha dd/mm/yyyy/VACIO
#fecha.test=01/05/2016
fecha.test=VACIO
\ No newline at end of file
log4j.rootCategory=ALL, LOGFILE
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.LOGFILE.File=logs/mx/dda/ws/DDA_CRON_ADDONS.log
log4j.appender.LOGFILE.Append=true
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=[%d{dd MMM yyyy HH:mm:ss}]%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE.MaxFileSize=10MB
log4j.appender.LOGFILE.MaxBackupIndex=30
\ No newline at end of file
#log4j.rootCategory=ALL, CONSOLE, LOGFILE
log4j.rootCategory=DEBUG, CONSOLE, LOGFILE
# CONSOLE is set to be a ConsoleAppender using a PatternLayout.
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
#log4j.appender.CONSOLE.Threshold=debug
log4j.appender.CONSOLE.Threshold=DEBUG
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%-5p %c %x[%L] - %m%n
# LOGFILE is set to be a File appender using a PatternLayout.
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.LOGFILE.File=logs/mx/dda/ws/DDA_CRON_ADDONS.log
log4j.appender.LOGFILE.Append=true
log4j.appender.LOGFILE.Threshold=ALL
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=[%d{dd MMM yyyy HH\:mm\:ss}]%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE.MaxFileSize=10MB
log4j.appender.LOGFILE.MaxBackupIndex=20
\ No newline at end of file
log4j.rootCategory=DEBUG, LOGFILE
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.LOGFILE.File=logs/mx/dda/ws/DDA_CRON_ADDONS.log
log4j.appender.LOGFILE.Append=true
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=[%d{dd MMM yyyy HH:mm:ss}]%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE.MaxFileSize=10MB
log4j.appender.LOGFILE.MaxBackupIndex=30
\ No newline at end of file
log4j.rootCategory=INFO, LOGFILE
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.LOGFILE.File=logs/mx/dda/ws/DDA_CRON_ADDONS.log
#log4j.appender.LOGFILE.File=C:\\logs\\mx\\dda\\ws\\DDA_WS_CRN_E.log
log4j.appender.LOGFILE.Append=true
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=[%d{dd MMM yyyy HH:mm:ss}]%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE.MaxFileSize=10MB
log4j.appender.LOGFILE.MaxBackupIndex=30
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment