modif
This commit is contained in:
parent
76c17efbec
commit
7eee45993e
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<#include "HfRpConfig.ftl">
|
<#include "HfRpConfig.ftl">
|
||||||
|
|
||||||
<#assign cloudEventMsg = JsonUtil.jsonToMap(input)>
|
<#assign cloudEventMsg = JsonUtil.jsonToMap(input)>
|
||||||
<#assign projectRP = project>
|
<#assign projectRP = project>
|
||||||
<#assign organisationRP = organisation>
|
<#assign organisationRP = organisation>
|
||||||
|
|
||||||
@ -16,44 +16,44 @@
|
|||||||
<#-- *********************************************** Action = CREATE or UPDATE ******************** -->
|
<#-- *********************************************** Action = CREATE or UPDATE ******************** -->
|
||||||
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
|
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
|
||||||
<#assign reflexStockPicturesInterface = JsonUtil.jsonToMap(dataRfx)>
|
<#assign reflexStockPicturesInterface = JsonUtil.jsonToMap(dataRfx)>
|
||||||
|
|
||||||
<#-- idSnapshot MUST BE UNIQUE regardless of the number of messages in the stock image -->
|
<#-- idSnapshot MUST BE UNIQUE regardless of the number of messages in the stock image -->
|
||||||
<#if cloudEventMsg.messageSet??>
|
<#if cloudEventMsg.messageSet??>
|
||||||
<#assign idSnapshot = cloudEventMsg.messageSet />
|
<#assign idSnapshot = cloudEventMsg.messageSet />
|
||||||
<#else>
|
<#else>
|
||||||
<#assign idSnapshot = cloudEventMsg.id />
|
<#assign idSnapshot = cloudEventMsg.id />
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#list reflexStockPicturesInterface.detailled_stock_list as stock>
|
<#list reflexStockPicturesInterface.detailled_stock_list as stock>
|
||||||
<#if stock.stock_type_code != "200">
|
<#if stock.stock_type_code != "200">
|
||||||
<#stop "stock type different from 200">
|
<#stop>
|
||||||
<#break>
|
<#break>
|
||||||
</#if>
|
</#if>
|
||||||
</#list>
|
</#list>
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
<#if sum_elt??>
|
<#if sum_elt??>
|
||||||
<#assign apiReflexPlatformID = ApiReflexPlatformID.ActorSnapshotCompleted>
|
<#assign apiReflexPlatformID = ApiReflexPlatformID.ActorSnapshotCompleted>
|
||||||
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
||||||
"datas" :
|
"datas" :
|
||||||
<#include "RFXtoRP_HfDtlStockLs_ActorSnapshotCompleted.ftl">
|
<#include "RFXtoRP_HfDtlStockLs_ActorSnapshotCompleted.ftl">
|
||||||
<#else>
|
<#else>
|
||||||
<#assign apiReflexPlatformID = ApiReflexPlatformID.StockSnapshotted>
|
<#assign apiReflexPlatformID = ApiReflexPlatformID.StockSnapshotted>
|
||||||
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
||||||
"datas" :
|
"datas" :
|
||||||
<#include "RFXtoRP_HfDtlStockLs_StockSnapshotted.ftl">
|
<#include "RFXtoRP_HfDtlStockLs_StockSnapshotted.ftl">
|
||||||
</#if>
|
</#if>
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
<#break>
|
<#break>
|
||||||
|
|
||||||
<#case "D">
|
<#case "D">
|
||||||
<#-- *********************************************** Action = DELETE ******************** -->
|
<#-- *********************************************** Action = DELETE ******************** -->
|
||||||
<#stop "event not supported">
|
<#stop "event not supported">
|
||||||
<#break>
|
<#break>
|
||||||
|
|
||||||
|
|
||||||
<#default>
|
<#default>
|
||||||
<#stop "event not supported">
|
<#stop "event not supported">
|
||||||
</#switch>
|
</#switch>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user