Árbol de páginas

Config

MétodoURLParámetrosRespuestaDescripción
GET/config/time-zone

Europe/Madrid

Devuelve una cadena con el identificador de TimeZone configurado en el módulo


EmailTpl

MétodoURLParámetrosRespuestaDescripción
GET/POST/emailtpls/{name}/process

Lista[EmailParam]:  La lista de parámetros

[
    {
        "name": "GENERIC_SUBJECT",
        "value": "Asunto33"
    },
    {
        "name": "GENERIC_CONTENT_TEXT",
        "value": "Contentido"
    },
    {
        "name": "GENERIC_CONTENT_HTML",
        "value": "<b color='red'>Contenido</b>"
    }
]



ProcessedEmailTpl

{
    "subject": "Asunto33",
    "contentText": "Contentido",
    "contentHtml": "<!DOCTYPE html>\n<html>\n  <head>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n  </head>\n  <body>\n    <b color='red'>Contenido</b>\n  </body>\n</html>"
}



Realiza el procesamiento de una plantilla de Email cuyo nombre se especifica en la propia URL, aplicando los parámetros recibidos
GET/emailtpls/{name}/parametersq + s

Lista[Param]

[
    {
        "name": "GENERIC_SUBJECT",
        "description": "Asunto genérico",
        "type": "STRING"
    },
    {
        "name": "GENERIC_CONTENT_TEXT",
        "description": "Contenido textual genérico",
        "type": "STRING"
    },
    {
        "name": "GENERIC_CONTENT_HTML",
        "description": "Contenido HTML genérico",
        "type": "STRING"
    }
]
Busca/Lista los Param de la plantilla de Email (tanto de asunto como de contenido) cuyo nombre se especifica en la propia URL
GET/emailtpls/{name}/parameters/subjectq + s

Lista[Param]

[
    {
        "name": "GENERIC_SUBJECT",
        "description": "Asunto genérico",
        "type": "STRING"
    }
]
Busca/Lista los Param que requiere la plantilla del asunto del Email cuyo nombre se especifica en la propia URL
GET/emailtpls/{name}/parameters/contentq + s

Lista[Param]

[
    {
        "name": "GENERIC_CONTENT_TEXT",
        "description": "Contenido textual genérico",
        "type": "STRING"
    },
    {
        "name": "GENERIC_CONTENT_HTML",
        "description": "Contenido HTML genérico",
        "type": "STRING"
    }
]
Busca/Lista los Param que requiere la plantilla del contenido del Email cuyo nombre se especifica en la propia URL

Email

MétodoURLParámetrosRespuestaDescripción
POST/emails

EmailInput

{
    "template": "GENERIC_EMAIL_TEXT",
    "recipients": [
        {
            "name": "Ruben Suarez",
            "address": "ruben.suarez@treelogic.com"
        }
    ],
    "attachments": ["sample-pdf"],
    "params": [
        {
            "name": "GENERIC_SUBJECT",
            "value": "Subject"
        },
        {
            "name": "GENERIC_CONTENT_TEXT",
            "value": "Content"
        }
    ],
    "deferrableRecipients": {
        "type": "USR",
        "url": "/pruebas/recipients",
        "method": "GET"
    }
}

EmailOutput

{
    "template": "GENERIC_EMAIL_TEXT",
    "recipients": [
        {
            "name": "Ruben Suarez",
            "address": "ruben.suarez@treelogic.com"
        }
    ],
    "attachments": [
        "sample-pdf"
    ],
    "params": [
        {
            "name": "GENERIC_SUBJECT",
            "value": "Subject"
        },
        {
            "name": "GENERIC_CONTENT_TEXT",
            "value": "Content"
        }
    ],
    "deferrableRecipients": {
        "type": "USR",
        "url": "/pruebas/recipients",
        "method": "GET"
    },
    "deferrableAttachments": null,
    "deferrableParams": null,
    "id": 2
}
Crea un Email
PUT/emails/{id}
EmailInput


{
    "template": "GENERIC_EMAIL_TEXT",
    "recipients": [
        {
            "name": "Ruben Suarez",
            "address": "ruben.suarez@treelogic.com"
        }
    ],
    "attachments": [],
    "params": [
        {
            "name": "GENERIC_SUBJECT",
            "value": "Subject2"
        },
        {
            "name": "GENERIC_CONTENT_TEXT",
            "value": "Content2"
        }
    ],
    "deferrableRecipients": {
        "type": "USR",
        "url": "/pruebas/recipients",
        "method": "GET"
    }
}

EmailOutput

{
    "template": "GENERIC_EMAIL_TEXT",
    "recipients": [
        {
            "name": "Ruben Suarez",
            "address": "ruben.suarez@treelogic.com"
        }
    ],
    "attachments": [],
    "params": [
        {
            "name": "GENERIC_SUBJECT",
            "value": "Subject2"
        },
        {
            "name": "GENERIC_CONTENT_TEXT",
            "value": "Content2"
        }
    ],
    "deferrableRecipients": {
        "type": "USR",
        "url": "/pruebas/recipients",
        "method": "GET"
    },
    "deferrableAttachments": null,
    "deferrableParams": null,
    "id": 2
}
Actualiza el Email cuyo id se especifica en la propia URL
DELETE/emails/{id}

Elimina el Email cuyo id se especifica en la propia URL
GET/emails/{id}

EmailOutput

{
    "template": "GENERIC_EMAIL_TEXT",
    "recipients": [
        {
            "name": "Ruben Suarez",
            "address": "ruben.suarez@treelogic.com"
        }
    ],
    "attachments": [
        "sample-pdf"
    ],
    "params": [
        {
            "name": "GENERIC_SUBJECT",
            "value": "Subject"
        },
        {
            "name": "GENERIC_CONTENT_TEXT",
            "value": "Content"
        }
    ],
    "deferrableRecipients": {
        "type": "USR",
        "url": "/pruebas/recipients",
        "method": "GET"
    },
    "deferrableAttachments": null,
    "deferrableParams": null,
    "id": 2
}
Recupera el Email cuyo id se especifica en la propia URL
GET/emailsq + s

Lista[EmailOutput]

[
    {
        "template": "GENERIC_EMAIL",
        "recipients": [
            {
                "name": "Hercules",
                "address": "hercules@treelogic.info"
            }
        ],
        "attachments": [
            "sample-pdf"
        ],
        "params": [
            {
                "name": "GENERIC_SUBJECT",
                "value": "Subject"
            },
            {
                "name": "GENERIC_CONTENT_TEXT",
                "value": "Content"
            },
            {
                "name": "GENERIC_CONTENT_HTML",
                "value": "Content"
            }
        ],
        "deferrableRecipients": null,
        "deferrableAttachments": null,
        "deferrableParams": null,
        "id": 1
    },
    {
        "template": "GENERIC_EMAIL_TEXT",
        "recipients": [
            {
                "name": "Ruben Suarez",
                "address": "ruben.suarez@treelogic.com"
            }
        ],
        "attachments": [],
        "params": [
            {
                "name": "GENERIC_SUBJECT",
                "value": "Subject2"
            },
            {
                "name": "GENERIC_CONTENT_TEXT",
                "value": "Content2"
            }
        ],
        "deferrableRecipients": {
            "type": "USR",
            "url": "/pruebas/recipients",
            "method": "GET"
        },
        "deferrableAttachments": null,
        "deferrableParams": null,
        "id": 2
    }
]
Busca/Lista Email
GET/emails/{id}/send

Status

{
    "message": "SENT"
}
{
    "error": "RECIPIENT",
    "message": "org.crue.hercules.sgi.com.exceptions.RecipientException: org.springframework.web.client.ResourceAccessException: I/O error on GET request for \"http://sgi-usr-service.local.computer:4282/pruebas/recipients\": Connect to sgi-usr-service.local.computer:4282 [sgi-usr-service.local.computer/127.0.0.1] failed: Connection refused (Connection refused); nested exception is org.apache.http.conn.HttpHostConnectException: Connect to sgi-usr-service.local.computer:4282 [sgi-usr-service.local.computer/127.0.0.1] failed: Connection refused (Connection refused)\n\tat org.crue.hercules.sgi.com.service.EmailBuilderService.getRecipients(EmailBuilderService.java:142)\n\tat org.crue.hercules.sgi.com.service.EmailBuilderService.build(EmailBuilderService.java:110)\n\tat org.crue.hercules.sgi.com.service.EmailBuilderService$$FastClassBySpringCGLIB$$8547ac01.invoke(<generated>)\n\tat org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)\n\tat org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:119)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)\n\tat org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:367)\n\tat org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:118)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)\n\tat org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691)\n\tat org.crue.hercules.sgi.com.service.EmailBuilderService$$EnhancerBySpringCGLIB$$c1f0c029.build(<generated>)\n\tat org.crue.hercules.sgi.com.service.EmailService.send(EmailService.java:452)\n\tat org.crue.hercules.sgi.com.service.EmailService$$FastClassBySpringCGLIB$$cbb98b2e.invoke(<generated>)\n\tat org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)\n\tat org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:119)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)\n\tat org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:367)\n\tat org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:118)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)\n\tat org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691)\n\tat org.crue.hercules.sgi.com.service.EmailService$$EnhancerBySpringCGLIB$$9240c1d0.send(<generated>)\n\tat org.crue.hercules.sgi.com.controller.EmailController.send(EmailController.java:175)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:498)\n\tat org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)\n\tat org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)\n\tat org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878)\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792)\n\tat org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)\n\tat org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)\n\tat org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)\n\tat org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)\n\tat org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:645)\n\tat org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:750)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)\n\tat org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)\n\tat org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.oauth2.server.resource.web.BearerTokenAuthenticationFilter.doFilterInternal(BearerTokenAuthenticationFilter.java:130)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:92)\n\tat org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:77)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)\n\tat org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)\n\tat org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)\n\tat org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:93)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:887)\n\tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1684)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n\tat java.lang.Thread.run(Thread.java:750)\nCaused by: org.springframework.web.client.ResourceAccessException: I/O error on GET request for \"http://sgi-usr-service.local.computer:4282/pruebas/recipients\": Connect to sgi-usr-service.local.computer:4282 [sgi-usr-service.local.computer/127.0.0.1] failed: Connection refused (Connection refused); nested exception is org.apache.http.conn.HttpHostConnectException: Connect to sgi-usr-service.local.computer:4282 [sgi-usr-service.local.computer/127.0.0.1] failed: Connection refused (Connection refused)\n\tat org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:746)\n\tat org.springframework.web.client.RestTemplate.execute(RestTemplate.java:672)\n\tat org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:610)\n\tat org.crue.hercules.sgi.com.service.sgi.SgiApiBaseService.callEndpoint(SgiApiBaseService.java:76)\n\tat org.crue.hercules.sgi.com.service.sgi.SgiApiBaseService.callEndpoint(SgiApiBaseService.java:66)\n\tat org.crue.hercules.sgi.com.service.sgi.SgiApiInternetAddressesService.call(SgiApiInternetAddressesService.java:29)\n\tat org.crue.hercules.sgi.com.service.EmailBuilderService.getRecipients(EmailBuilderService.java:137)\n\t... 122 more\nCaused by: org.apache.http.conn.HttpHostConnectException: Connect to sgi-usr-service.local.computer:4282 [sgi-usr-service.local.computer/127.0.0.1] failed: Connection refused (Connection refused)\n\tat org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:156)\n\tat org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376)\n\tat org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)\n\tat org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)\n\tat org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)\n\tat org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)\n\tat org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)\n\tat org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)\n\tat org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)\n\tat org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)\n\tat org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87)\n\tat org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)\n\tat org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)\n\tat org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:109)\n\tat org.crue.hercules.sgi.framework.problem.spring.boot.web.client.RestTemplateProblemInterceptor.intercept(RestTemplateProblemInterceptor.java:46)\n\tat org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:93)\n\tat org.springframework.boot.actuate.metrics.web.client.MetricsClientHttpRequestInterceptor.intercept(MetricsClientHttpRequestInterceptor.java:85)\n\tat org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:93)\n\tat org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:77)\n\tat org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)\n\tat org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)\n\tat org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:737)\n\t... 128 more\nCaused by: java.net.ConnectException: Connection refused (Connection refused)\n\tat java.net.PlainSocketImpl.socketConnect(Native Method)\n\tat java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)\n\tat java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)\n\tat java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)\n\tat java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)\n\tat java.net.Socket.connect(Socket.java:607)\n\tat org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:75)\n\tat org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)\n\t... 149 more\n"
}



Realiza el envía del Email cuyo id se especifica en la propia URL
  • Sin etiquetas