Guest User

Untitled

a guest
Dec 11th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.47 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2. <template encoding-version="1.2">
  3. <description></description>
  4. <groupId>992019c0-0167-1000-5065-1285796950c5</groupId>
  5. <name>transfojolt</name>
  6. <snippet>
  7. <processors>
  8. <id>7e9a4d88-46c2-31bb-0000-000000000000</id>
  9. <parentGroupId>121d74af-ba97-3ed6-0000-000000000000</parentGroupId>
  10. <position>
  11. <x>0.0</x>
  12. <y>0.0</y>
  13. </position>
  14. <bundle>
  15. <artifact>nifi-standard-nar</artifact>
  16. <group>org.apache.nifi</group>
  17. <version>1.8.0</version>
  18. </bundle>
  19. <config>
  20. <bulletinLevel>WARN</bulletinLevel>
  21. <comments></comments>
  22. <concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount>
  23. <descriptors>
  24. <entry>
  25. <key>jolt-transform</key>
  26. <value>
  27. <name>jolt-transform</name>
  28. </value>
  29. </entry>
  30. <entry>
  31. <key>jolt-custom-class</key>
  32. <value>
  33. <name>jolt-custom-class</name>
  34. </value>
  35. </entry>
  36. <entry>
  37. <key>jolt-custom-modules</key>
  38. <value>
  39. <name>jolt-custom-modules</name>
  40. </value>
  41. </entry>
  42. <entry>
  43. <key>jolt-spec</key>
  44. <value>
  45. <name>jolt-spec</name>
  46. </value>
  47. </entry>
  48. <entry>
  49. <key>Transform Cache Size</key>
  50. <value>
  51. <name>Transform Cache Size</name>
  52. </value>
  53. </entry>
  54. <entry>
  55. <key>pretty_print</key>
  56. <value>
  57. <name>pretty_print</name>
  58. </value>
  59. </entry>
  60. </descriptors>
  61. <executionNode>ALL</executionNode>
  62. <lossTolerant>false</lossTolerant>
  63. <penaltyDuration>30 sec</penaltyDuration>
  64. <properties>
  65. <entry>
  66. <key>jolt-transform</key>
  67. <value>jolt-transform-chain</value>
  68. </entry>
  69. <entry>
  70. <key>jolt-custom-class</key>
  71. </entry>
  72. <entry>
  73. <key>jolt-custom-modules</key>
  74. </entry>
  75. <entry>
  76. <key>jolt-spec</key>
  77. <value>[
  78. {
  79. "operation": "shift",
  80. "spec": {
  81. "email.headers.from.*": "from",
  82. "email.headers.to.*": "to",
  83. "email.headers.cc.*": "cc",
  84. "email.headers.bcc.*": "bcc",
  85. "email.headers.sent_date": "sent_date",
  86. "email.headers.subject": "subject",
  87. "email.body": "body"
  88. }
  89. }
  90. ]</value>
  91. </entry>
  92. <entry>
  93. <key>Transform Cache Size</key>
  94. <value>1</value>
  95. </entry>
  96. <entry>
  97. <key>pretty_print</key>
  98. <value>false</value>
  99. </entry>
  100. </properties>
  101. <runDurationMillis>0</runDurationMillis>
  102. <schedulingPeriod>0 sec</schedulingPeriod>
  103. <schedulingStrategy>TIMER_DRIVEN</schedulingStrategy>
  104. <yieldDuration>1 sec</yieldDuration>
  105. </config>
  106. <executionNodeRestricted>false</executionNodeRestricted>
  107. <name>JoltTransformJSON</name>
  108. <relationships>
  109. <autoTerminate>false</autoTerminate>
  110. <name>failure</name>
  111. </relationships>
  112. <relationships>
  113. <autoTerminate>false</autoTerminate>
  114. <name>success</name>
  115. </relationships>
  116. <state>STOPPED</state>
  117. <style/>
  118. <type>org.apache.nifi.processors.standard.JoltTransformJSON</type>
  119. </processors>
  120. </snippet>
  121. <timestamp>12/11/2018 10:51:06 UTC</timestamp>
  122. </template>
Add Comment
Please, Sign In to add comment