You've already forked reflex-wms-connector
SCPN1-10671
This commit is contained in:
@@ -1,42 +1,42 @@
|
|||||||
<#include "HfRpConfig.ftl">
|
<#include "HfRpConfig.ftl">
|
||||||
[
|
[
|
||||||
<#assign UUID = UUID.randomUUID()>
|
<#assign UUID = UUID.randomUUID()>
|
||||||
<#assign strJsonBody = JsonUtil.espaceQuoteInJsonString(restResponseBody)>
|
<#assign strJsonBody = JsonUtil.espaceQuoteInJsonString(restResponseBody)>
|
||||||
{
|
{
|
||||||
"Header": {
|
"Header": {
|
||||||
"ProjectID": "${projectRP}"
|
"ProjectID": "${projectRP}"
|
||||||
},
|
},
|
||||||
"ID": {
|
"ID": {
|
||||||
"RefID": "${UUID}",
|
"RefID": "${UUID}",
|
||||||
"RefDate": {
|
"RefDate": {
|
||||||
"DateTime": "${aDateTime?iso_utc}",
|
"DateTime": "${aDateTime?iso_utc}",
|
||||||
"AuthorTimeZone": "${time_zone_rfx}"
|
"AuthorTimeZone": "${time_zone_rfx}"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Payload": {
|
"Payload": {
|
||||||
<#assign severity = SeverityLevel.ERROR>
|
<#assign severity = SeverityLevel.ERROR>
|
||||||
"Severity": "${severity}",
|
"Severity": "${severity}",
|
||||||
"Namespace": "ReflexIntegration",
|
"Namespace": "ReflexIntegration",
|
||||||
"DateTime": {
|
"DateTime": {
|
||||||
"DateTime": "${aDateTime?iso_utc}",
|
"DateTime": "${aDateTime?iso_utc}",
|
||||||
"AuthorTimeZone": "${time_zone_rfx}"
|
"AuthorTimeZone": "${time_zone_rfx}"
|
||||||
},
|
},
|
||||||
"TechMessage": {
|
"TechMessage": {
|
||||||
"Code": "${restResponsetMsg.status!"no Code"}",
|
"Code": "${restResponsetMsg.status!"no Code"}",
|
||||||
"Label": ${strJsonBody?truncate(32000,'...')}
|
"Label": ${strJsonBody?truncate(32000,'...')}
|
||||||
},
|
},
|
||||||
"UserMessage": {
|
"UserMessage": {
|
||||||
"Code": "${restResponsetMsg.status!"no Code"}",
|
"Code": "${restResponsetMsg.status!"no Code"}",
|
||||||
"Label": ${strJsonBody?truncate(32000,'...'),
|
"Label": ${strJsonBody?truncate(32000,'...')},
|
||||||
"Params": []
|
"Params": []
|
||||||
},
|
},
|
||||||
"DetailElements": [],
|
"DetailElements": [],
|
||||||
"CorrelationID": "${id.correlationid!"no Correlationid"}",
|
"CorrelationID": "${id.correlationid!"no Correlationid"}",
|
||||||
"ContextPayload": ${strJsonBody?truncate(32000,'...')},
|
"ContextPayload": ${strJsonBody?truncate(32000,'...')},
|
||||||
"Type": "${event}",
|
"Type": "${event}",
|
||||||
"Task": "${id.apiRestReflexID!"no Task"}",
|
"Task": "${id.apiRestReflexID!"no Task"}",
|
||||||
"OriginalID": "${id.refid!"no OriginalID"?trim?json_string}",
|
"OriginalID": "${id.refid!"no OriginalID"?trim?json_string}",
|
||||||
"StackTrace": ""
|
"StackTrace": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
Reference in New Issue
Block a user