diff --git a/RFXtoRP_HfGrade.ftl b/RFXtoRP_HfGrade.ftl index b23f046..ee9990d 100644 --- a/RFXtoRP_HfGrade.ftl +++ b/RFXtoRP_HfGrade.ftl @@ -6,23 +6,14 @@ <#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_HfGrade.ftl --> - <#--<#include "RFXtoRP_RfxConfigurationRp.ftl"> --> - - <#break> - - <#case "D"> - <#-- *********************************************** Action = DELETE ******************** --> - <#stop "en attente de FTL"> - <#break> + <#case "C"> + <#case "U"> + <#case "D"> + <#stop "no generic FTL file available yet for Grades"> + <#break> - <#default> - <#stop> + <#default> + <#stop "event not supported"> diff --git a/RFXtoRP_HfLvTypeList.ftl b/RFXtoRP_HfLvTypeList.ftl index 1f98762..2f03386 100644 --- a/RFXtoRP_HfLvTypeList.ftl +++ b/RFXtoRP_HfLvTypeList.ftl @@ -6,23 +6,14 @@ <#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> + <#case "C"> + <#case "U"> + <#case "D"> + <#stop "no generic FTL file available yet for LV types"> + <#break> - <#default> - <#stop> + <#default> + <#stop "event not supported"> diff --git a/RFXtoRP_HfOwner.ftl b/RFXtoRP_HfOwner.ftl index b9c7bc7..571248a 100644 --- a/RFXtoRP_HfOwner.ftl +++ b/RFXtoRP_HfOwner.ftl @@ -6,23 +6,14 @@ <#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_HfOwner.ftl --> - <#--<#include "RFXtoRP_RfxConfigurationRp.ftl"> --> - - <#break> - - <#case "D"> - <#-- *********************************************** Action = DELETE ******************** --> - <#stop "en attente de FTL"> - <#break> + <#case "C"> + <#case "U"> + <#case "D"> + <#stop "no generic FTL file available yet for Owners"> + <#break> - <#default> - <#stop> + <#default> + <#stop "event not supported">