From 8cdcafd70eec9152d33353f66d13ba386bdce2fa Mon Sep 17 00:00:00 2001 From: frea Date: Tue, 5 Sep 2023 11:57:24 +0200 Subject: [PATCH] ajout du fichier FTL --- RFXtoRP_HfLvTypeList.ftl | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 RFXtoRP_HfLvTypeList.ftl diff --git a/RFXtoRP_HfLvTypeList.ftl b/RFXtoRP_HfLvTypeList.ftl new file mode 100644 index 0000000..1f98762 --- /dev/null +++ b/RFXtoRP_HfLvTypeList.ftl @@ -0,0 +1,28 @@ +<#-- *********************************************** Parameter global ******************** --> +<#assign cloudEventMsg = JsonUtil.jsonToMap(input)> +<#assign projectRP = project> +<#assign organisationRP = organisation> + +<#assign aDateTime = .now> + +<#switch cloudEventMsg.action> + <#case "C"> + <#case "U"> + <#-- *********************************************** Action = CREATE or UPDATE ******************** --> + <#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) /> + <#assign file = JsonUtil.jsonToMap(dataRfx)> + <#noparse><#--TODO RFXtoRP_HfLvTypeList.ftl --> + <#--<#include "RFXtoRP_RfxConfigurationRp.ftl"> --> + + <#break> + + <#case "D"> + <#-- *********************************************** Action = DELETE ******************** --> + <#stop "en attente de FTL"> + <#break> + + + <#default> + <#stop> + +