CONFIG4.yaml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # CONFIG 4: CORNER CASE - Deep Nesting dan Complex Structures
  2. # Test: 5+ level deep nesting, arrays dalam arrays (list item dengan nested properties kompleks)
  3. deepNested:
  4. level1:
  5. level2:
  6. level3:
  7. level4:
  8. level5:
  9. finalValue: reached_bottom
  10. deepArray:
  11. - item1
  12. - item2
  13. complexMapping:
  14. rules:
  15. - condition: status == SUCCESS
  16. action: PROCEED
  17. mapping:
  18. sourceField: response.data.id
  19. targetField: output.transactionId
  20. transformation: UPPERCASE
  21. fallback:
  22. - condition: status == FAILED
  23. action: RETRY
  24. mapping:
  25. sourceField: response.error.code
  26. targetField: output.errorCode
  27. retryConfig:
  28. maxAttempts: 3
  29. backoffMs: 1000
  30. - condition: status == TIMEOUT
  31. action: CANCEL
  32. notification:
  33. - email
  34. - sms
  35. - webhook
  36. metadata:
  37. version: 2.1.0
  38. author: ACE Team
  39. tags:
  40. - production
  41. - critical
  42. - payment