Cambios por correcciones de SAP

parent 209ed859
......@@ -19,6 +19,7 @@ uri.file.carga.titulosTR =/home/admonDLA/dda/cargaTitulosTR/excel/
uri.file.carga.visualizaciones = /home/admonDLA/dda/cargaTitulosVS/excel/
uri.file.reporte.baseActivosSQL= /home/admonDLA/dda/sqlReportes/sql/
uri.file.reporte.TransaccionesvistaPrevia = /home/admonDLA/dda/sqlReportes/js/vistaprevia.js
uri.file.reporte.txtcpv= /home/admonDLA/dda/sqlReportes/txt/
#servidor.rest.ws=200.57.181.10:8090
......
......@@ -77,8 +77,8 @@ uri.rest.reporte.amortizacion.baseActivos = http://${servidor.rest.ws}/DDA_WSB_P
uri.ws.carga.visualizaciones.procesa = http://${servidor.rest.ws}/DDA_WSB_Procesos/services/proceso/procesarCargaTitulosVS
uri.rest.titulosBroadView = http://localhost:5000/v1/broadview/titulos/
uri.rest.crnExhibicion = http://172.26.217.6:5000/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://172.26.217.6:5000/DDA_CRN_ClienteSAP/servicioEnmienda
uri.rest.crnExhibicion = http://localhost:8080/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://localhost:8080/DDA_CRN_ClienteSAP/servicioEnmienda
#*************************Propiedades para Facturacion*******************
#sociedad tambien se usa en Nota Credito
......
......@@ -76,9 +76,9 @@ uri.rest.reporte.amortizacion.baseActivos = http://${servidor.rest.ws}/DDA_WSB_P
uri.ws.carga.visualizaciones.procesa = http://${servidor.rest.ws}/DDA_WSB_Procesos/services/proceso/procesarCargaTitulosVS
uri.rest.titulosBroadView = http://172.26.217.6:5000/v1/broadview/titulos/
uri.rest.crnExhibicion = http://172.26.217.6:5000/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://172.26.217.6:5000/DDA_CRN_ClienteSAP/servicioEnmienda
uri.rest.titulosBroadView = http://localhost:5000/v1/broadview/titulos/
uri.rest.crnExhibicion = http://localhost:5000/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://localhost:5000/DDA_CRN_ClienteSAP/servicioEnmienda
#*************************Propiedades para Facturacion*******************
#sociedad tambien se usa en Nota Credito
......
No preview for this file type
#Generated by Maven
#Thu Jul 13 13:00:42 CDT 2023
#Tue Jul 18 22:00:06 CDT 2023
version=1.1
groupId=com.mx.dla
artifactId=dominio
......@@ -376,7 +376,7 @@ public class OpcionesContratoAction extends BaseContratoAction {
try {
response = c.get(StringUtils.EMPTY, ResponseTitulosBroadViewDTO.class);
} catch (Exception e) {
e.printStackTrace();
logger.info("Error: {}", e);
tituloBO.actualizaEstatusTitulo("ERROR DE CONEXION CON SERVICIO DDA", idContrato);
}
} else { // Enmienda
......@@ -385,7 +385,7 @@ public class OpcionesContratoAction extends BaseContratoAction {
try {
response = c.get(StringUtils.EMPTY, ResponseTitulosBroadViewDTO.class);
} catch (Exception e) {
e.printStackTrace();
logger.info("Error: {}", e);
tituloBO.actualizaEstatusTitulo("ERROR DE CONEXION CON SERVICIO DDA", idContrato);
}
}
......
......@@ -222,29 +222,32 @@ function notificarSAP(){
const str2 = $("#campoContrato option:selected").text();
if(str2.endsWith('A') || str2.endsWith('O') || str2.endsWith('V')){
$.ajax({
url: 'http://localhost:5000/DDA_CRN_Exhibicion/servicio',
url: '/DDA_CRN_Exhibicion/servicio',
type: 'GET',
dataType: "json",
success:function(response){
console.log("Servicio ejecutado correctamente ");
showMessage("Se ha ejecutado el proceso de Notificación SAP");
},
error:function(jqXhr, textStatus, errorThrown){
console.error("Error: " + textStatus + " ::: " + errorThrown + " ::: " + jqXhr);
showError("Fallo en ejecución de Notificación SAP.");
}
});
} else {
$.ajax({
url: 'http://localhost:5000/DDA_CRN_ClienteSAP/servicioEnmienda',
url: '/DDA_CRN_ClienteSAP/servicioEnmienda',
type: 'GET',
dataType: "json",
success:function(response){
console.log("Servicio ejecutado correctamente ");
showMessage("Se ha ejecutado el proceso de Notificación SAP");
},
error:function(jqXhr, textStatus, errorThrown){
console.error("Error: " + textStatus + " ::: " + errorThrown + " ::: " + jqXhr);
showError("Fallo en ejecución de Notificación SAP.");
}
});
}
showMessage("Se ha ejecutado el proceso de Notificación SAP");
}
......@@ -504,6 +504,10 @@ function seleccionaTodo() {
}
function desactivar() {
$("#bNotificar").prop( "disabled", true );
}
function fSeleccionarOpcionesCombo( pstIDCombo ) {
var lobCombo = document.getElementById( pstIDCombo );
......
......@@ -21,7 +21,7 @@ function TituloGrid(gridId) {
{ label: 'Subnumero', name: 'subnumero', width: 100, hidden:false },
{ label: 'Notificado', name: 'notificado', width: 150, hidden:false },
{ label: 'Estatus Título', name: 'estatusTitulo', width: 100, hidden:false },
{ label: 'Estatus SAP', name: 'estatusSap', width: 100, hidden:false }
{ label: 'Estatus SAP', name: 'estatusSap', width: 300, hidden:false }
];
this.columns = this.columnsFijas.concat([]);
this.reload();
......
<%@include file="/jsp/common/defaultTopLogin.jsp"%>
<form action="operacionesContrato" method="post" id="forma" name="forma"
class="form-horizontal">
class="form-horizontal" onsubmit="desactivar()">
<div class="form-group">
<!-- Separador que indica el concepto de los siguientes campos -->
......
......@@ -19,6 +19,7 @@ uri.file.carga.titulosTR =/home/admonDLA/dda/cargaTitulosTR/excel/
uri.file.carga.visualizaciones = /home/admonDLA/dda/cargaTitulosVS/excel/
uri.file.reporte.baseActivosSQL= /home/admonDLA/dda/sqlReportes/sql/
uri.file.reporte.TransaccionesvistaPrevia = /home/admonDLA/dda/sqlReportes/js/vistaprevia.js
uri.file.reporte.txtcpv= /home/admonDLA/dda/sqlReportes/txt/
#servidor.rest.ws=200.57.181.10:8090
......
......@@ -7,7 +7,7 @@ error.002 = DLA-002: El usuario no tiene un perfil definido
error.003 = DLA-003: Proporcione un usuario v&aacute;lido
error.004 = DLA-004: Proporcione una contrase&ntilde;a v&aacute;lida
cooking.date=07-13-2023
cooking.date=@cooking.date@
#sociedad = NT07
#centro.de.costos = 07A01US602
......
......@@ -77,8 +77,8 @@ uri.rest.reporte.amortizacion.baseActivos = http://${servidor.rest.ws}/DDA_WSB_P
uri.ws.carga.visualizaciones.procesa = http://${servidor.rest.ws}/DDA_WSB_Procesos/services/proceso/procesarCargaTitulosVS
uri.rest.titulosBroadView = http://localhost:5000/v1/broadview/titulos/
uri.rest.crnExhibicion = http://172.26.217.6:5000/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://172.26.217.6:5000/DDA_CRN_ClienteSAP/servicioEnmienda
uri.rest.crnExhibicion = http://localhost:8080/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://localhost:8080/DDA_CRN_ClienteSAP/servicioEnmienda
#*************************Propiedades para Facturacion*******************
#sociedad tambien se usa en Nota Credito
......
......@@ -76,9 +76,9 @@ uri.rest.reporte.amortizacion.baseActivos = http://${servidor.rest.ws}/DDA_WSB_P
uri.ws.carga.visualizaciones.procesa = http://${servidor.rest.ws}/DDA_WSB_Procesos/services/proceso/procesarCargaTitulosVS
uri.rest.titulosBroadView = http://172.26.217.6:5000/v1/broadview/titulos/
uri.rest.crnExhibicion = http://172.26.217.6:5000/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://172.26.217.6:5000/DDA_CRN_ClienteSAP/servicioEnmienda
uri.rest.titulosBroadView = http://localhost:5000/v1/broadview/titulos/
uri.rest.crnExhibicion = http://localhost:5000/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://localhost:5000/DDA_CRN_ClienteSAP/servicioEnmienda
#*************************Propiedades para Facturacion*******************
#sociedad tambien se usa en Nota Credito
......
No preview for this file type
......@@ -19,6 +19,7 @@ uri.file.carga.titulosTR =/home/admonDLA/dda/cargaTitulosTR/excel/
uri.file.carga.visualizaciones = /home/admonDLA/dda/cargaTitulosVS/excel/
uri.file.reporte.baseActivosSQL= /home/admonDLA/dda/sqlReportes/sql/
uri.file.reporte.TransaccionesvistaPrevia = /home/admonDLA/dda/sqlReportes/js/vistaprevia.js
uri.file.reporte.txtcpv= /home/admonDLA/dda/sqlReportes/txt/
#servidor.rest.ws=200.57.181.10:8090
......
......@@ -7,7 +7,7 @@ error.002 = DLA-002: El usuario no tiene un perfil definido
error.003 = DLA-003: Proporcione un usuario v&aacute;lido
error.004 = DLA-004: Proporcione una contrase&ntilde;a v&aacute;lida
cooking.date=07-13-2023
cooking.date=07-19-2023
#sociedad = NT07
#centro.de.costos = 07A01US602
......
......@@ -77,8 +77,8 @@ uri.rest.reporte.amortizacion.baseActivos = http://${servidor.rest.ws}/DDA_WSB_P
uri.ws.carga.visualizaciones.procesa = http://${servidor.rest.ws}/DDA_WSB_Procesos/services/proceso/procesarCargaTitulosVS
uri.rest.titulosBroadView = http://localhost:5000/v1/broadview/titulos/
uri.rest.crnExhibicion = http://172.26.217.6:5000/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://172.26.217.6:5000/DDA_CRN_ClienteSAP/servicioEnmienda
uri.rest.crnExhibicion = http://localhost:8080/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://localhost:8080/DDA_CRN_ClienteSAP/servicioEnmienda
#*************************Propiedades para Facturacion*******************
#sociedad tambien se usa en Nota Credito
......
......@@ -76,9 +76,9 @@ uri.rest.reporte.amortizacion.baseActivos = http://${servidor.rest.ws}/DDA_WSB_P
uri.ws.carga.visualizaciones.procesa = http://${servidor.rest.ws}/DDA_WSB_Procesos/services/proceso/procesarCargaTitulosVS
uri.rest.titulosBroadView = http://172.26.217.6:5000/v1/broadview/titulos/
uri.rest.crnExhibicion = http://172.26.217.6:5000/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://172.26.217.6:5000/DDA_CRN_ClienteSAP/servicioEnmienda
uri.rest.titulosBroadView = http://localhost:5000/v1/broadview/titulos/
uri.rest.crnExhibicion = http://localhost:5000/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://localhost:5000/DDA_CRN_ClienteSAP/servicioEnmienda
#*************************Propiedades para Facturacion*******************
#sociedad tambien se usa en Nota Credito
......
......@@ -222,29 +222,32 @@ function notificarSAP(){
const str2 = $("#campoContrato option:selected").text();
if(str2.endsWith('A') || str2.endsWith('O') || str2.endsWith('V')){
$.ajax({
url: 'http://localhost:5000/DDA_CRN_Exhibicion/servicio',
url: '/DDA_CRN_Exhibicion/servicio',
type: 'GET',
dataType: "json",
success:function(response){
console.log("Servicio ejecutado correctamente ");
showMessage("Se ha ejecutado el proceso de Notificaci&oacute;n SAP");
},
error:function(jqXhr, textStatus, errorThrown){
console.error("Error: " + textStatus + " ::: " + errorThrown + " ::: " + jqXhr);
showError("Fallo en ejecuci&oacute;n de Notificaci&oacute;n SAP.");
}
});
} else {
$.ajax({
url: 'http://localhost:5000/DDA_CRN_ClienteSAP/servicioEnmienda',
url: '/DDA_CRN_ClienteSAP/servicioEnmienda',
type: 'GET',
dataType: "json",
success:function(response){
console.log("Servicio ejecutado correctamente ");
showMessage("Se ha ejecutado el proceso de Notificaci&oacute;n SAP");
},
error:function(jqXhr, textStatus, errorThrown){
console.error("Error: " + textStatus + " ::: " + errorThrown + " ::: " + jqXhr);
showError("Fallo en ejecuci&oacute;n de Notificaci&oacute;n SAP.");
}
});
}
showMessage("Se ha ejecutado el proceso de Notificaci&oacute;n SAP");
}
#Generated by Maven
#Thu Jul 13 13:01:01 CDT 2023
#Tue Jul 18 22:00:26 CDT 2023
version=1.1
groupId=com.mx.dla
artifactId=front
......@@ -19,6 +19,7 @@ uri.file.carga.titulosTR =/home/admonDLA/dda/cargaTitulosTR/excel/
uri.file.carga.visualizaciones = /home/admonDLA/dda/cargaTitulosVS/excel/
uri.file.reporte.baseActivosSQL= /home/admonDLA/dda/sqlReportes/sql/
uri.file.reporte.TransaccionesvistaPrevia = /home/admonDLA/dda/sqlReportes/js/vistaprevia.js
uri.file.reporte.txtcpv= /home/admonDLA/dda/sqlReportes/txt/
#servidor.rest.ws=200.57.181.10:8090
......
......@@ -77,8 +77,8 @@ uri.rest.reporte.amortizacion.baseActivos = http://${servidor.rest.ws}/DDA_WSB_P
uri.ws.carga.visualizaciones.procesa = http://${servidor.rest.ws}/DDA_WSB_Procesos/services/proceso/procesarCargaTitulosVS
uri.rest.titulosBroadView = http://localhost:5000/v1/broadview/titulos/
uri.rest.crnExhibicion = http://172.26.217.6:5000/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://172.26.217.6:5000/DDA_CRN_ClienteSAP/servicioEnmienda
uri.rest.crnExhibicion = http://localhost:8080/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://localhost:8080/DDA_CRN_ClienteSAP/servicioEnmienda
#*************************Propiedades para Facturacion*******************
#sociedad tambien se usa en Nota Credito
......
......@@ -76,9 +76,9 @@ uri.rest.reporte.amortizacion.baseActivos = http://${servidor.rest.ws}/DDA_WSB_P
uri.ws.carga.visualizaciones.procesa = http://${servidor.rest.ws}/DDA_WSB_Procesos/services/proceso/procesarCargaTitulosVS
uri.rest.titulosBroadView = http://172.26.217.6:5000/v1/broadview/titulos/
uri.rest.crnExhibicion = http://172.26.217.6:5000/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://172.26.217.6:5000/DDA_CRN_ClienteSAP/servicioEnmienda
uri.rest.titulosBroadView = http://localhost:5000/v1/broadview/titulos/
uri.rest.crnExhibicion = http://localhost:5000/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://localhost:5000/DDA_CRN_ClienteSAP/servicioEnmienda
#*************************Propiedades para Facturacion*******************
#sociedad tambien se usa en Nota Credito
......
DEBUG - [13 jul 2023 13:00:48,071] - [DelegatingSmartContextLoader: 75] - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@731a74c declaringClass = 'com.mx.dla.dda.common.test.BaseDaoTest', locations = '{classpath:dbms-connect-dao-test-context.xml, classpath:spring-datasource.xml}', classes = '{}', inheritLocations = true, contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
DEBUG - [13 jul 2023 13:00:48,077] - [ ContextLoaderUtils: 236] - Could not find an 'annotation declaring class' for annotation type [interface org.springframework.test.context.ActiveProfiles] and class [class com.mx.dla.dda.admin.presupuesto.PresupuestoTest]
DEBUG - [13 jul 2023 13:00:48,086] - [DelegatingSmartContextLoader: 75] - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@72b6cbcc declaringClass = 'com.mx.dla.dda.common.test.BaseDaoTest', locations = '{classpath:dbms-connect-dao-test-context.xml, classpath:spring-datasource.xml}', classes = '{}', inheritLocations = true, contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
DEBUG - [13 jul 2023 13:00:48,086] - [ ContextLoaderUtils: 236] - Could not find an 'annotation declaring class' for annotation type [interface org.springframework.test.context.ActiveProfiles] and class [class com.mx.dla.dda.carga.transaccion.test.CargaTransaccionesTest]
DEBUG - [13 jul 2023 13:00:48,088] - [DelegatingSmartContextLoader: 75] - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@4f063c0a declaringClass = 'com.mx.dla.dda.common.test.BaseDaoTest', locations = '{classpath:dbms-connect-dao-test-context.xml, classpath:spring-datasource.xml}', classes = '{}', inheritLocations = true, contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
DEBUG - [13 jul 2023 13:00:48,089] - [ ContextLoaderUtils: 236] - Could not find an 'annotation declaring class' for annotation type [interface org.springframework.test.context.ActiveProfiles] and class [class com.mx.dla.dda.contrato.amortizacion.AmortizacionTest]
DEBUG - [13 jul 2023 13:00:48,089] - [DelegatingSmartContextLoader: 75] - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@1e6d1014 declaringClass = 'com.mx.dla.dda.common.test.BaseDaoTest', locations = '{classpath:dbms-connect-dao-test-context.xml, classpath:spring-datasource.xml}', classes = '{}', inheritLocations = true, contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
DEBUG - [13 jul 2023 13:00:48,089] - [ ContextLoaderUtils: 236] - Could not find an 'annotation declaring class' for annotation type [interface org.springframework.test.context.ActiveProfiles] and class [class com.mx.dla.dda.contrato.fees.bos.FeesTest]
DEBUG - [13 jul 2023 13:00:48,090] - [DelegatingSmartContextLoader: 75] - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@614ddd49 declaringClass = 'com.mx.dla.dda.common.test.BaseDaoTest', locations = '{classpath:dbms-connect-dao-test-context.xml, classpath:spring-datasource.xml}', classes = '{}', inheritLocations = true, contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
DEBUG - [13 jul 2023 13:00:48,090] - [ ContextLoaderUtils: 236] - Could not find an 'annotation declaring class' for annotation type [interface org.springframework.test.context.ActiveProfiles] and class [class com.mx.dla.dda.contrato.generales.OpcionesContratoDAOTest]
DEBUG - [13 jul 2023 13:00:48,091] - [DelegatingSmartContextLoader: 75] - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@1f554b06 declaringClass = 'com.mx.dla.dda.common.test.BaseDaoTest', locations = '{classpath:dbms-connect-dao-test-context.xml, classpath:spring-datasource.xml}', classes = '{}', inheritLocations = true, contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
DEBUG - [13 jul 2023 13:00:48,091] - [ ContextLoaderUtils: 236] - Could not find an 'annotation declaring class' for annotation type [interface org.springframework.test.context.ActiveProfiles] and class [class com.mx.dla.dda.contrato.generales.PoblarGeneralesDAOTest]
DEBUG - [13 jul 2023 13:00:48,092] - [DelegatingSmartContextLoader: 75] - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@694e1548 declaringClass = 'com.mx.dla.dda.common.test.BaseDaoTest', locations = '{classpath:dbms-connect-dao-test-context.xml, classpath:spring-datasource.xml}', classes = '{}', inheritLocations = true, contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
DEBUG - [13 jul 2023 13:00:48,092] - [ ContextLoaderUtils: 236] - Could not find an 'annotation declaring class' for annotation type [interface org.springframework.test.context.ActiveProfiles] and class [class com.mx.dla.dda.contrato.terminos.TerminoTest]
DEBUG - [13 jul 2023 13:00:48,092] - [DelegatingSmartContextLoader: 75] - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@1c3a4799 declaringClass = 'com.mx.dla.dda.common.test.BaseDaoTest', locations = '{classpath:dbms-connect-dao-test-context.xml, classpath:spring-datasource.xml}', classes = '{}', inheritLocations = true, contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
DEBUG - [13 jul 2023 13:00:48,092] - [ ContextLoaderUtils: 236] - Could not find an 'annotation declaring class' for annotation type [interface org.springframework.test.context.ActiveProfiles] and class [class com.mx.dla.dda.contrato.titulos.bos.TituloDAOTest]
DEBUG - [13 jul 2023 13:00:48,094] - [DelegatingSmartContextLoader: 75] - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@71bbf57e declaringClass = 'com.mx.dla.dda.common.test.BaseDaoTest', locations = '{classpath:dbms-connect-dao-test-context.xml, classpath:spring-datasource.xml}', classes = '{}', inheritLocations = true, contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
DEBUG - [13 jul 2023 13:00:48,095] - [ ContextLoaderUtils: 236] - Could not find an 'annotation declaring class' for annotation type [interface org.springframework.test.context.ActiveProfiles] and class [class com.mx.dla.dda.contrato.titulos.bos.TituloTest]
DEBUG - [13 jul 2023 13:00:48,095] - [DelegatingSmartContextLoader: 75] - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@7f13d6e declaringClass = 'com.mx.dla.dda.common.test.BaseDaoTest', locations = '{classpath:dbms-connect-dao-test-context.xml, classpath:spring-datasource.xml}', classes = '{}', inheritLocations = true, contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
DEBUG - [13 jul 2023 13:00:48,095] - [ ContextLoaderUtils: 236] - Could not find an 'annotation declaring class' for annotation type [interface org.springframework.test.context.ActiveProfiles] and class [class com.mx.dla.dda.factura.FacturaGeneralTest]
DEBUG - [13 jul 2023 13:00:48,095] - [DelegatingSmartContextLoader: 75] - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@51cdd8a declaringClass = 'com.mx.dla.dda.common.test.BaseDaoTest', locations = '{classpath:dbms-connect-dao-test-context.xml, classpath:spring-datasource.xml}', classes = '{}', inheritLocations = true, contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
DEBUG - [13 jul 2023 13:00:48,095] - [ ContextLoaderUtils: 236] - Could not find an 'annotation declaring class' for annotation type [interface org.springframework.test.context.ActiveProfiles] and class [class com.mx.dla.dda.ncredito.NotaCreditoTest]
DEBUG - [18 jul 2023 22:00:13,059] - [DelegatingSmartContextLoader: 75] - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@731a74c declaringClass = 'com.mx.dla.dda.common.test.BaseDaoTest', locations = '{classpath:dbms-connect-dao-test-context.xml, classpath:spring-datasource.xml}', classes = '{}', inheritLocations = true, contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
DEBUG - [18 jul 2023 22:00:13,064] - [ ContextLoaderUtils: 236] - Could not find an 'annotation declaring class' for annotation type [interface org.springframework.test.context.ActiveProfiles] and class [class com.mx.dla.dda.admin.presupuesto.PresupuestoTest]
DEBUG - [18 jul 2023 22:00:13,073] - [DelegatingSmartContextLoader: 75] - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@72b6cbcc declaringClass = 'com.mx.dla.dda.common.test.BaseDaoTest', locations = '{classpath:dbms-connect-dao-test-context.xml, classpath:spring-datasource.xml}', classes = '{}', inheritLocations = true, contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
DEBUG - [18 jul 2023 22:00:13,074] - [ ContextLoaderUtils: 236] - Could not find an 'annotation declaring class' for annotation type [interface org.springframework.test.context.ActiveProfiles] and class [class com.mx.dla.dda.carga.transaccion.test.CargaTransaccionesTest]
DEBUG - [18 jul 2023 22:00:13,075] - [DelegatingSmartContextLoader: 75] - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@4f063c0a declaringClass = 'com.mx.dla.dda.common.test.BaseDaoTest', locations = '{classpath:dbms-connect-dao-test-context.xml, classpath:spring-datasource.xml}', classes = '{}', inheritLocations = true, contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
DEBUG - [18 jul 2023 22:00:13,076] - [ ContextLoaderUtils: 236] - Could not find an 'annotation declaring class' for annotation type [interface org.springframework.test.context.ActiveProfiles] and class [class com.mx.dla.dda.contrato.amortizacion.AmortizacionTest]
DEBUG - [18 jul 2023 22:00:13,076] - [DelegatingSmartContextLoader: 75] - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@1e6d1014 declaringClass = 'com.mx.dla.dda.common.test.BaseDaoTest', locations = '{classpath:dbms-connect-dao-test-context.xml, classpath:spring-datasource.xml}', classes = '{}', inheritLocations = true, contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
DEBUG - [18 jul 2023 22:00:13,076] - [ ContextLoaderUtils: 236] - Could not find an 'annotation declaring class' for annotation type [interface org.springframework.test.context.ActiveProfiles] and class [class com.mx.dla.dda.contrato.fees.bos.FeesTest]
DEBUG - [18 jul 2023 22:00:13,077] - [DelegatingSmartContextLoader: 75] - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@614ddd49 declaringClass = 'com.mx.dla.dda.common.test.BaseDaoTest', locations = '{classpath:dbms-connect-dao-test-context.xml, classpath:spring-datasource.xml}', classes = '{}', inheritLocations = true, contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
DEBUG - [18 jul 2023 22:00:13,078] - [ ContextLoaderUtils: 236] - Could not find an 'annotation declaring class' for annotation type [interface org.springframework.test.context.ActiveProfiles] and class [class com.mx.dla.dda.contrato.generales.OpcionesContratoDAOTest]
DEBUG - [18 jul 2023 22:00:13,078] - [DelegatingSmartContextLoader: 75] - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@1f554b06 declaringClass = 'com.mx.dla.dda.common.test.BaseDaoTest', locations = '{classpath:dbms-connect-dao-test-context.xml, classpath:spring-datasource.xml}', classes = '{}', inheritLocations = true, contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
DEBUG - [18 jul 2023 22:00:13,079] - [ ContextLoaderUtils: 236] - Could not find an 'annotation declaring class' for annotation type [interface org.springframework.test.context.ActiveProfiles] and class [class com.mx.dla.dda.contrato.generales.PoblarGeneralesDAOTest]
DEBUG - [18 jul 2023 22:00:13,080] - [DelegatingSmartContextLoader: 75] - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@694e1548 declaringClass = 'com.mx.dla.dda.common.test.BaseDaoTest', locations = '{classpath:dbms-connect-dao-test-context.xml, classpath:spring-datasource.xml}', classes = '{}', inheritLocations = true, contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
DEBUG - [18 jul 2023 22:00:13,080] - [ ContextLoaderUtils: 236] - Could not find an 'annotation declaring class' for annotation type [interface org.springframework.test.context.ActiveProfiles] and class [class com.mx.dla.dda.contrato.terminos.TerminoTest]
DEBUG - [18 jul 2023 22:00:13,080] - [DelegatingSmartContextLoader: 75] - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@1c3a4799 declaringClass = 'com.mx.dla.dda.common.test.BaseDaoTest', locations = '{classpath:dbms-connect-dao-test-context.xml, classpath:spring-datasource.xml}', classes = '{}', inheritLocations = true, contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
DEBUG - [18 jul 2023 22:00:13,081] - [ ContextLoaderUtils: 236] - Could not find an 'annotation declaring class' for annotation type [interface org.springframework.test.context.ActiveProfiles] and class [class com.mx.dla.dda.contrato.titulos.bos.TituloDAOTest]
DEBUG - [18 jul 2023 22:00:13,081] - [DelegatingSmartContextLoader: 75] - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@71bbf57e declaringClass = 'com.mx.dla.dda.common.test.BaseDaoTest', locations = '{classpath:dbms-connect-dao-test-context.xml, classpath:spring-datasource.xml}', classes = '{}', inheritLocations = true, contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
DEBUG - [18 jul 2023 22:00:13,081] - [ ContextLoaderUtils: 236] - Could not find an 'annotation declaring class' for annotation type [interface org.springframework.test.context.ActiveProfiles] and class [class com.mx.dla.dda.contrato.titulos.bos.TituloTest]
DEBUG - [18 jul 2023 22:00:13,083] - [DelegatingSmartContextLoader: 75] - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@7f13d6e declaringClass = 'com.mx.dla.dda.common.test.BaseDaoTest', locations = '{classpath:dbms-connect-dao-test-context.xml, classpath:spring-datasource.xml}', classes = '{}', inheritLocations = true, contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
DEBUG - [18 jul 2023 22:00:13,083] - [ ContextLoaderUtils: 236] - Could not find an 'annotation declaring class' for annotation type [interface org.springframework.test.context.ActiveProfiles] and class [class com.mx.dla.dda.factura.FacturaGeneralTest]
DEBUG - [18 jul 2023 22:00:13,084] - [DelegatingSmartContextLoader: 75] - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@51cdd8a declaringClass = 'com.mx.dla.dda.common.test.BaseDaoTest', locations = '{classpath:dbms-connect-dao-test-context.xml, classpath:spring-datasource.xml}', classes = '{}', inheritLocations = true, contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
DEBUG - [18 jul 2023 22:00:13,084] - [ ContextLoaderUtils: 236] - Could not find an 'annotation declaring class' for annotation type [interface org.springframework.test.context.ActiveProfiles] and class [class com.mx.dla.dda.ncredito.NotaCreditoTest]
#Generated by Maven
#Thu Jul 13 13:00:48 CDT 2023
#Tue Jul 18 22:00:13 CDT 2023
version=1.1
groupId=com.mx.dla
artifactId=persistencia
......@@ -57,9 +57,9 @@ function toggleAllBoxes() {
<tr>
<td>Tests passed/Failed/Skipped:</td><td>0/0/0</td>
</tr><tr>
<td>Started on:</td><td>Thu Jul 13 13:00:48 CDT 2023</td>
<td>Started on:</td><td>Tue Jul 18 22:00:13 CDT 2023</td>
</tr>
<tr><td>Total time:</td><td>0 seconds (1 ms)</td>
<tr><td>Total time:</td><td>0 seconds (0 ms)</td>
</tr><tr>
<td>Included groups:</td><td></td>
</tr><tr>
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by org.testng.reporters.JUnitXMLReporter -->
<testsuite hostname="LAPTOP-HHND8GT5" tests="0" failures="0" timestamp="13 Jul 2023 18:00:48 GMT" time="0.001" errors="0">
<testsuite hostname="LAPTOP-HHND8GT5" tests="0" failures="0" timestamp="19 Jul 2023 03:00:13 GMT" time="0.0" errors="0">
</testsuite>
-------------------------------------------------------------------------------
Test set: TestSuite
-------------------------------------------------------------------------------
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.459 sec
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.457 sec
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>TestNG Report</title><style type="text/css">table {margin-bottom:10px;border-collapse:collapse;empty-cells:show}th,td {border:1px solid #009;padding:.25em .5em}th {vertical-align:bottom}td {vertical-align:top}table a {font-weight:bold}.stripe td {background-color: #E6EBF9}.num {text-align:right}.passedodd td {background-color: #3F3}.passedeven td {background-color: #0A0}.skippedodd td {background-color: #DDD}.skippedeven td {background-color: #CCC}.failedodd td,.attn {background-color: #F33}.failedeven td,.stripe .attn {background-color: #D00}.stacktrace {white-space:pre;font-family:monospace}.totop {font-size:85%;text-align:center;border-bottom:2px solid #000}</style></head><body><table><tr><th>Test</th><th># Passed</th><th># Skipped</th><th># Failed</th><th>Time (ms)</th><th>Included Groups</th><th>Excluded Groups</th></tr><tr><th colspan="7">Command line suite</th></tr><tr><td><a href="#t0">Command line test</a></td><td class="num">0</td><td class="num">0</td><td class="num">0</td><td class="num">1</td><td></td><td></td></tr></table><table><thead><tr><th>Class</th><th>Method</th><th>Start</th><th>Time (ms)</th></tr></thead><tbody><tr><th colspan="4">Command line suite</th></tr></tbody><tbody id="t0"></tbody></table><h2>Command line test</h2></body></html>
\ No newline at end of file
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>TestNG Report</title><style type="text/css">table {margin-bottom:10px;border-collapse:collapse;empty-cells:show}th,td {border:1px solid #009;padding:.25em .5em}th {vertical-align:bottom}td {vertical-align:top}table a {font-weight:bold}.stripe td {background-color: #E6EBF9}.num {text-align:right}.passedodd td {background-color: #3F3}.passedeven td {background-color: #0A0}.skippedodd td {background-color: #DDD}.skippedeven td {background-color: #CCC}.failedodd td,.attn {background-color: #F33}.failedeven td,.stripe .attn {background-color: #D00}.stacktrace {white-space:pre;font-family:monospace}.totop {font-size:85%;text-align:center;border-bottom:2px solid #000}</style></head><body><table><tr><th>Test</th><th># Passed</th><th># Skipped</th><th># Failed</th><th>Time (ms)</th><th>Included Groups</th><th>Excluded Groups</th></tr><tr><th colspan="7">Command line suite</th></tr><tr><td><a href="#t0">Command line test</a></td><td class="num">0</td><td class="num">0</td><td class="num">0</td><td class="num">0</td><td></td><td></td></tr></table><table><thead><tr><th>Class</th><th>Method</th><th>Start</th><th>Time (ms)</th></tr></thead><tbody><tr><th colspan="4">Command line suite</th></tr></tbody><tbody id="t0"></tbody></table><h2>Command line test</h2></body></html>
\ No newline at end of file
......@@ -2,10 +2,10 @@
<testng-results skipped="0" failed="0" total="0" passed="0">
<reporter-output>
</reporter-output>
<suite name="Command line suite" duration-ms="1" started-at="2023-07-13T18:00:48Z" finished-at="2023-07-13T18:00:48Z">
<suite name="Command line suite" duration-ms="0" started-at="2023-07-19T03:00:13Z" finished-at="2023-07-19T03:00:13Z">
<groups>
</groups>
<test name="Command line test" duration-ms="1" started-at="2023-07-13T18:00:48Z" finished-at="2023-07-13T18:00:48Z">
<test name="Command line test" duration-ms="0" started-at="2023-07-19T03:00:13Z" finished-at="2023-07-19T03:00:13Z">
</test> <!-- Command line test -->
</suite> <!-- Command line suite -->
</testng-results>
......@@ -19,6 +19,7 @@ uri.file.carga.titulosTR =/home/admonDLA/dda/cargaTitulosTR/excel/
uri.file.carga.visualizaciones = /home/admonDLA/dda/cargaTitulosVS/excel/
uri.file.reporte.baseActivosSQL= /home/admonDLA/dda/sqlReportes/sql/
uri.file.reporte.TransaccionesvistaPrevia = /home/admonDLA/dda/sqlReportes/js/vistaprevia.js
uri.file.reporte.txtcpv= /home/admonDLA/dda/sqlReportes/txt/
#servidor.rest.ws=200.57.181.10:8090
......
# Archivo de configuraciones para ambientes de QA o Produccion (con tomcat)
#uri.file.store =/home/scm/server/dda/doctosContratos/
#uri.file.titulos =/home/scm/server/dda/titulos/error/
#uri.file.carga.fees =/home/scm/server/dda/cargaFees/excel/
#uri.file.carga.broadview =/home/scm/server/dda/actualizaIdBV/excel/
#uri.file.carga.suscriptores=/home/scm/server/dda/cargaSuscriptores/excel/
#uri.file.carga.titulos =/home/scm/server/dda/cargaTitulos/excel/
#uri.file.carga.titulosLF =/home/scm/server/dda/cargaTitulosLF/excel/
uri.file.carga.titulosLF =/home/admonDLA/dda/cargaTitulosLF/excel/
uri.file.store =/home/admonDLA/dda/doctosContratos/
uri.file.titulos =/home/admonDLA/dda/titulos/error/
uri.file.carga.fees =/home/admonDLA/dda/cargaFees/excel/
uri.file.carga.broadview =/home/admonDLA/dda/actualizaIdBV/excel/
uri.file.carga.suscriptores=/home/admonDLA/dda/cargaSuscriptores/excel/
uri.file.carga.titulos =/home/admonDLA/dda/cargaTitulos/excel/
uri.file.carga.transacciones = /home/admonDLA/dda/cargaTitulosPN/excel/
uri.file.carga.titulosTR =/home/admonDLA/dda/cargaTitulosTR/excel/
uri.file.carga.visualizaciones = /home/admonDLA/dda/cargaTitulosVS/excel/
uri.file.reporte.baseActivosSQL= /home/admonDLA/dda/sqlReportes/sql/
uri.file.reporte.TransaccionesvistaPrevia = /home/admonDLA/dda/sqlReportes/js/vistaprevia.js
#uri.file.reporte.txtcpv= /home/admonDLA/dda/sqlReportes/txt/
#servidor.rest.ws=200.57.181.10:8090
#TELMEX
#servidor.rest.ws=10.192.24.136:8006
#servidor.rest.ws=127.0.0.1:8090
servidor.rest.ws=localhost:8080
\ No newline at end of file
......@@ -77,8 +77,8 @@ uri.rest.reporte.amortizacion.baseActivos = http://${servidor.rest.ws}/DDA_WSB_P
uri.ws.carga.visualizaciones.procesa = http://${servidor.rest.ws}/DDA_WSB_Procesos/services/proceso/procesarCargaTitulosVS
uri.rest.titulosBroadView = http://localhost:5000/v1/broadview/titulos/
uri.rest.crnExhibicion = http://172.26.217.6:5000/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://172.26.217.6:5000/DDA_CRN_ClienteSAP/servicioEnmienda
uri.rest.crnExhibicion = http://localhost:8080/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://localhost:8080/DDA_CRN_ClienteSAP/servicioEnmienda
#*************************Propiedades para Facturacion*******************
#sociedad tambien se usa en Nota Credito
......
......@@ -76,9 +76,9 @@ uri.rest.reporte.amortizacion.baseActivos = http://${servidor.rest.ws}/DDA_WSB_P
uri.ws.carga.visualizaciones.procesa = http://${servidor.rest.ws}/DDA_WSB_Procesos/services/proceso/procesarCargaTitulosVS
uri.rest.titulosBroadView = http://172.26.217.6:5000/v1/broadview/titulos/
uri.rest.crnExhibicion = http://172.26.217.6:5000/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://172.26.217.6:5000/DDA_CRN_ClienteSAP/servicioEnmienda
uri.rest.titulosBroadView = http://localhost:5000/v1/broadview/titulos/
uri.rest.crnExhibicion = http://localhost:5000/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://localhost:5000/DDA_CRN_ClienteSAP/servicioEnmienda
#*************************Propiedades para Facturacion*******************
#sociedad tambien se usa en Nota Credito
......
......@@ -104,7 +104,7 @@ public class BaseActivosBO extends BaseBO{
logger.info("Archivo: [{}]", fileName);
//File file = new File("C:\\Software\\apache-tomcat-7.0.67\\" + fileName + ".sql" );
//File file = new File("D:\\Software\\paco\\" + fileName + ".sql" );
File file = new File( uriSQL + fileName + ".sql" );
FileUtils.writeLines(file, textoSQLReporte);
......
......@@ -77,7 +77,7 @@ public class DLARestClient {
template.getMessageConverters().add(new MappingJacksonHttpMessageConverter());
template.getMessageConverters().add(new StringHttpMessageConverter());
template.getInterceptors().add(new HeaderRequestInterceptor("Accept", MediaType.APPLICATION_JSON_VALUE));
//template.getInterceptors().add(new HeaderRequestInterceptor("Content-Type", MediaType.APPLICATION_JSON_VALUE));
template.getInterceptors().add(new HeaderRequestInterceptor("Content-Type", MediaType.APPLICATION_JSON_VALUE));
System.out.println("URL: " + uri.concat(request));
T r = template.getForObject(uri.concat(request), responseType);
......
......@@ -19,6 +19,7 @@ uri.file.carga.titulosTR =/home/admonDLA/dda/cargaTitulosTR/excel/
uri.file.carga.visualizaciones = /home/admonDLA/dda/cargaTitulosVS/excel/
uri.file.reporte.baseActivosSQL= /home/admonDLA/dda/sqlReportes/sql/
uri.file.reporte.TransaccionesvistaPrevia = /home/admonDLA/dda/sqlReportes/js/vistaprevia.js
uri.file.reporte.txtcpv= /home/admonDLA/dda/sqlReportes/txt/
#servidor.rest.ws=200.57.181.10:8090
......
......@@ -77,8 +77,8 @@ uri.rest.reporte.amortizacion.baseActivos = http://${servidor.rest.ws}/DDA_WSB_P
uri.ws.carga.visualizaciones.procesa = http://${servidor.rest.ws}/DDA_WSB_Procesos/services/proceso/procesarCargaTitulosVS
uri.rest.titulosBroadView = http://localhost:5000/v1/broadview/titulos/
uri.rest.crnExhibicion = http://172.26.217.6:5000/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://172.26.217.6:5000/DDA_CRN_ClienteSAP/servicioEnmienda
uri.rest.crnExhibicion = http://localhost:8080/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://localhost:8080/DDA_CRN_ClienteSAP/servicioEnmienda
#*************************Propiedades para Facturacion*******************
#sociedad tambien se usa en Nota Credito
......
......@@ -76,9 +76,9 @@ uri.rest.reporte.amortizacion.baseActivos = http://${servidor.rest.ws}/DDA_WSB_P
uri.ws.carga.visualizaciones.procesa = http://${servidor.rest.ws}/DDA_WSB_Procesos/services/proceso/procesarCargaTitulosVS
uri.rest.titulosBroadView = http://172.26.217.6:5000/v1/broadview/titulos/
uri.rest.crnExhibicion = http://172.26.217.6:5000/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://172.26.217.6:5000/DDA_CRN_ClienteSAP/servicioEnmienda
uri.rest.titulosBroadView = http://localhost:5000/v1/broadview/titulos/
uri.rest.crnExhibicion = http://localhost:5000/DDA_CRN_Exhibicion/servicio
uri.rest.crnClienteSAP = http://localhost:5000/DDA_CRN_ClienteSAP/servicioEnmienda
#*************************Propiedades para Facturacion*******************
#sociedad tambien se usa en Nota Credito
......
No preview for this file type
#Generated by Maven
#Thu Jul 13 13:00:53 CDT 2023
#Tue Jul 18 22:00:19 CDT 2023
version=1.1
groupId=com.mx.dla
artifactId=servicios
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