@@ -276,6 +276,10 @@ initWorkflow <- function(file, dir = ".", jobDirPath = NULL, handleMetadata = TR
276
276
x $ source , x $ handler ))
277
277
278
278
md_dict_handler <- loadMetadataHandler(config , x , type = " dictionary" )
279
+ if (md_dict_handler $ status == " deprecated" ){
280
+ config $ logger.warn(sprintf(" Dictionary handler '%s' is deprecated. Notes: %s" ,
281
+ md_dict_handler $ id , ifelse(nzchar(md_dict_handler $ notes ), md_dict_handler $ notes , " -" )))
282
+ }
279
283
config $ logger.info(" Execute handler to load dictionary data structures..." )
280
284
dict <- md_dict_handler $ fun(
281
285
handler = md_dict_handler ,
@@ -395,6 +399,10 @@ initWorkflow <- function(file, dir = ".", jobDirPath = NULL, handleMetadata = TR
395
399
config $ logger.info(sprintf(" Loading metadata contacts from '%s' [with '%s' handler]..." ,
396
400
x $ source , x $ handler ))
397
401
md_contact_handler <- loadMetadataHandler(config , x , type = " contacts" )
402
+ if (md_contact_handler $ status == " deprecated" ){
403
+ config $ logger.warn(sprintf(" Contact handler '%s' is deprecated. Notes: %s" ,
404
+ md_contact_handler $ id , ifelse(nzchar(md_contact_handler $ notes ), md_contact_handler $ notes , " -" )))
405
+ }
398
406
config $ logger.info(" Execute contact handler to load contacts..." )
399
407
contacts <- md_contact_handler $ fun(
400
408
handler = md_contact_handler ,
@@ -434,6 +442,10 @@ initWorkflow <- function(file, dir = ".", jobDirPath = NULL, handleMetadata = TR
434
442
config $ logger.info(sprintf(" Loading metadata entities from '%s' [with '%s' handler]..." ,
435
443
x $ source , x $ handler ))
436
444
md_entity_handler <- loadMetadataHandler(config , x , type = " entities" )
445
+ if (md_entity_handler $ status == " deprecated" ){
446
+ config $ logger.warn(sprintf(" Entity handler '%s' is deprecated. Notes: %s" ,
447
+ md_entity_handler $ id , ifelse(nzchar(md_entity_handler $ notes ), md_entity_handler $ notes , " -" )))
448
+ }
437
449
config $ logger.info(" Execute handler to load entities..." )
438
450
entities <- md_entity_handler $ fun(
439
451
handler = md_entity_handler ,
0 commit comments