You've already forked reflex-wms-connector
Compare commits
42 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 74da16c15a | |||
| a4dd0a5dec | |||
| 7c6aad3d5b | |||
| 999ab0ebb6 | |||
| 00188449b0 | |||
| 11b08fdb6d | |||
| f2b2994b0e | |||
| b677fc0cfa | |||
| 7bf0d63d71 | |||
| 1aea681783 | |||
| f8b0538588 | |||
| b594dc3f7e | |||
| 8721201385 | |||
| 21f622dfa2 | |||
| c472b1f7f5 | |||
| c91019ce8c | |||
| e0e2cf1c7a | |||
| 31345b7911 | |||
| 12c27f5a66 | |||
| dc52629304 | |||
| 7ed6f794a6 | |||
| d544571d1d | |||
| eaa14b614a | |||
| 8205905ddd | |||
| 915fae567d | |||
| 677abd1d2d | |||
| ae07548499 | |||
| 42fbefc365 | |||
| dfdf51657b | |||
| 3ec2f8f9bf | |||
| 639bbdbff5 | |||
| 3304d944e5 | |||
| d63a3d7a50 | |||
| c779d5305c | |||
| 0f7990b20e | |||
| 1df16adb0a | |||
| a939e6067e | |||
| b66ec8c589 | |||
| 42c5b2943d | |||
| ac5f5d1b88 | |||
| cd1cc00f78 | |||
| 703ad28c19 |
@@ -77,6 +77,7 @@
|
||||
<#include "RFXtoRP_HsrReceiptList_ExecutionflowReceiptCompleted.ftl">
|
||||
}
|
||||
<#else>
|
||||
<#if receipt.line_list ?? && receipt.line_list[0]??>
|
||||
{
|
||||
<#assign apiReflexPlatformID = ApiReflexPlatformID.ExecutionflowDetected>
|
||||
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
||||
@@ -89,6 +90,10 @@
|
||||
"datas" :
|
||||
<#include "RFXtoRP_HsrReceiptList_ExecutionflowReceiptCompleted.ftl">
|
||||
}
|
||||
<#else>
|
||||
<#-- No line-->
|
||||
<#stop>
|
||||
</#if>
|
||||
</#if>
|
||||
<#else>
|
||||
<#if receipt.receipt_type == "030">
|
||||
|
||||
@@ -1,7 +1,16 @@
|
||||
<#include "HfRpConfig.ftl">
|
||||
[
|
||||
<#assign UUID = UUID.randomUUID()>
|
||||
<#assign strJsonBody = JsonUtil.espaceQuoteInJsonString(restResponseBody)>
|
||||
<#assign strJsonBody = JsonUtil.espaceQuoteInJsonString(restResponseBody)?replace("\n", "")?replace("\r", "")>
|
||||
<#assign maxLen = 32000>
|
||||
<#if strJsonBody?length gt maxLen>
|
||||
<#assign strJsonBody = JsonUtil.espaceQuoteInJsonString(restResponseBody)?replace("\n", "")?replace("\r", "")?replace('"logical_key_list"\\s*:\\s*\\[[^\\]]*\\]', '"logical_key_list": []', 'r')>
|
||||
</#if>
|
||||
<#if strJsonBody?length gt maxLen>
|
||||
<#assign safeJsonBody = "{\"truncated\": true, \"original_size\": " + strJsonBody?length + "}">
|
||||
<#else>
|
||||
<#assign safeJsonBody = strJsonBody>
|
||||
</#if>
|
||||
{
|
||||
"Header": {
|
||||
"ProjectID": "${projectRP}"
|
||||
@@ -23,16 +32,16 @@
|
||||
},
|
||||
"TechMessage": {
|
||||
"Code": "${restResponsetMsg.status!"no Code"}",
|
||||
"Label": ${strJsonBody?truncate(32000,'...')}
|
||||
"Label": "${safeJsonBody?json_string}"
|
||||
},
|
||||
"UserMessage": {
|
||||
"Code": "${restResponsetMsg.status!"no Code"}",
|
||||
"Label": ${strJsonBody?truncate(32000,'...')},
|
||||
"Label": "${safeJsonBody?json_string}",
|
||||
"Params": []
|
||||
},
|
||||
"DetailElements": [],
|
||||
"CorrelationID": "${id.correlationid!"no Correlationid"}",
|
||||
"ContextPayload": ${strJsonBody?truncate(32000,'...')},
|
||||
"ContextPayload": "${safeJsonBody?json_string}",
|
||||
"Type": "${event}",
|
||||
"Task": "${id.apiRestReflexID!"no Task"}",
|
||||
"OriginalID": "${id.refid!"no OriginalID"?trim?json_string}",
|
||||
|
||||
Reference in New Issue
Block a user