fluentd 1.17.0 → 1.17.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (259) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +46 -0
  3. data/README.md +1 -0
  4. data/SECURITY.md +2 -2
  5. data/fluent.conf +14 -14
  6. data/lib/fluent/command/cap_ctl.rb +4 -4
  7. data/lib/fluent/compat/call_super_mixin.rb +3 -3
  8. data/lib/fluent/compat/propagate_default.rb +4 -4
  9. data/lib/fluent/config/yaml_parser/parser.rb +4 -0
  10. data/lib/fluent/log/console_adapter.rb +4 -2
  11. data/lib/fluent/plugin/in_exec.rb +14 -2
  12. data/lib/fluent/plugin/in_http.rb +1 -1
  13. data/lib/fluent/plugin/in_sample.rb +13 -7
  14. data/lib/fluent/plugin/in_tail.rb +65 -23
  15. data/lib/fluent/plugin/out_copy.rb +1 -1
  16. data/lib/fluent/plugin/out_file.rb +8 -0
  17. data/lib/fluent/plugin/out_http.rb +12 -0
  18. data/lib/fluent/plugin/parser_json.rb +4 -12
  19. data/lib/fluent/plugin_helper/http_server/server.rb +1 -1
  20. data/lib/fluent/version.rb +1 -1
  21. data/templates/new_gem/fluent-plugin.gemspec.erb +6 -5
  22. metadata +25 -472
  23. data/.github/DISCUSSION_TEMPLATE/q-a-japanese.yml +0 -50
  24. data/.github/DISCUSSION_TEMPLATE/q-a.yml +0 -47
  25. data/.github/ISSUE_TEMPLATE/bug_report.yml +0 -71
  26. data/.github/ISSUE_TEMPLATE/config.yml +0 -5
  27. data/.github/ISSUE_TEMPLATE/feature_request.yml +0 -39
  28. data/.github/ISSUE_TEMPLATE.md +0 -17
  29. data/.github/PULL_REQUEST_TEMPLATE.md +0 -14
  30. data/.github/workflows/stale-actions.yml +0 -24
  31. data/.github/workflows/test-ruby-head.yml +0 -31
  32. data/.github/workflows/test.yml +0 -32
  33. data/.gitignore +0 -30
  34. data/Gemfile +0 -9
  35. data/fluentd.gemspec +0 -62
  36. data/test/command/test_binlog_reader.rb +0 -362
  37. data/test/command/test_ca_generate.rb +0 -70
  38. data/test/command/test_cap_ctl.rb +0 -100
  39. data/test/command/test_cat.rb +0 -128
  40. data/test/command/test_ctl.rb +0 -56
  41. data/test/command/test_fluentd.rb +0 -1291
  42. data/test/command/test_plugin_config_formatter.rb +0 -397
  43. data/test/command/test_plugin_generator.rb +0 -109
  44. data/test/compat/test_calls_super.rb +0 -166
  45. data/test/compat/test_parser.rb +0 -92
  46. data/test/config/assertions.rb +0 -42
  47. data/test/config/test_config_parser.rb +0 -551
  48. data/test/config/test_configurable.rb +0 -1784
  49. data/test/config/test_configure_proxy.rb +0 -604
  50. data/test/config/test_dsl.rb +0 -415
  51. data/test/config/test_element.rb +0 -518
  52. data/test/config/test_literal_parser.rb +0 -309
  53. data/test/config/test_plugin_configuration.rb +0 -56
  54. data/test/config/test_section.rb +0 -191
  55. data/test/config/test_system_config.rb +0 -195
  56. data/test/config/test_types.rb +0 -408
  57. data/test/counter/test_client.rb +0 -563
  58. data/test/counter/test_error.rb +0 -44
  59. data/test/counter/test_mutex_hash.rb +0 -179
  60. data/test/counter/test_server.rb +0 -589
  61. data/test/counter/test_store.rb +0 -258
  62. data/test/counter/test_validator.rb +0 -137
  63. data/test/helper.rb +0 -155
  64. data/test/helpers/fuzzy_assert.rb +0 -89
  65. data/test/helpers/process_extenstion.rb +0 -33
  66. data/test/log/test_console_adapter.rb +0 -117
  67. data/test/plugin/data/2010/01/20100102-030405.log +0 -0
  68. data/test/plugin/data/2010/01/20100102-030406.log +0 -0
  69. data/test/plugin/data/2010/01/20100102.log +0 -0
  70. data/test/plugin/data/log/bar +0 -0
  71. data/test/plugin/data/log/foo/bar.log +0 -0
  72. data/test/plugin/data/log/foo/bar2 +0 -0
  73. data/test/plugin/data/log/test.log +0 -0
  74. data/test/plugin/data/log_numeric/01.log +0 -0
  75. data/test/plugin/data/log_numeric/02.log +0 -0
  76. data/test/plugin/data/log_numeric/12.log +0 -0
  77. data/test/plugin/data/log_numeric/14.log +0 -0
  78. data/test/plugin/data/sd_file/config +0 -11
  79. data/test/plugin/data/sd_file/config.json +0 -17
  80. data/test/plugin/data/sd_file/config.yaml +0 -11
  81. data/test/plugin/data/sd_file/config.yml +0 -11
  82. data/test/plugin/data/sd_file/invalid_config.yml +0 -7
  83. data/test/plugin/in_tail/test_fifo.rb +0 -121
  84. data/test/plugin/in_tail/test_io_handler.rb +0 -150
  85. data/test/plugin/in_tail/test_position_file.rb +0 -346
  86. data/test/plugin/out_forward/test_ack_handler.rb +0 -140
  87. data/test/plugin/out_forward/test_connection_manager.rb +0 -145
  88. data/test/plugin/out_forward/test_handshake_protocol.rb +0 -112
  89. data/test/plugin/out_forward/test_load_balancer.rb +0 -106
  90. data/test/plugin/out_forward/test_socket_cache.rb +0 -174
  91. data/test/plugin/test_bare_output.rb +0 -131
  92. data/test/plugin/test_base.rb +0 -247
  93. data/test/plugin/test_buf_file.rb +0 -1314
  94. data/test/plugin/test_buf_file_single.rb +0 -898
  95. data/test/plugin/test_buf_memory.rb +0 -42
  96. data/test/plugin/test_buffer.rb +0 -1493
  97. data/test/plugin/test_buffer_chunk.rb +0 -209
  98. data/test/plugin/test_buffer_file_chunk.rb +0 -871
  99. data/test/plugin/test_buffer_file_single_chunk.rb +0 -611
  100. data/test/plugin/test_buffer_memory_chunk.rb +0 -339
  101. data/test/plugin/test_compressable.rb +0 -87
  102. data/test/plugin/test_file_util.rb +0 -96
  103. data/test/plugin/test_filter.rb +0 -368
  104. data/test/plugin/test_filter_grep.rb +0 -697
  105. data/test/plugin/test_filter_parser.rb +0 -731
  106. data/test/plugin/test_filter_record_transformer.rb +0 -577
  107. data/test/plugin/test_filter_stdout.rb +0 -207
  108. data/test/plugin/test_formatter_csv.rb +0 -136
  109. data/test/plugin/test_formatter_hash.rb +0 -38
  110. data/test/plugin/test_formatter_json.rb +0 -61
  111. data/test/plugin/test_formatter_ltsv.rb +0 -70
  112. data/test/plugin/test_formatter_msgpack.rb +0 -28
  113. data/test/plugin/test_formatter_out_file.rb +0 -116
  114. data/test/plugin/test_formatter_single_value.rb +0 -44
  115. data/test/plugin/test_formatter_tsv.rb +0 -76
  116. data/test/plugin/test_in_debug_agent.rb +0 -49
  117. data/test/plugin/test_in_exec.rb +0 -261
  118. data/test/plugin/test_in_forward.rb +0 -1178
  119. data/test/plugin/test_in_gc_stat.rb +0 -62
  120. data/test/plugin/test_in_http.rb +0 -1124
  121. data/test/plugin/test_in_monitor_agent.rb +0 -922
  122. data/test/plugin/test_in_object_space.rb +0 -66
  123. data/test/plugin/test_in_sample.rb +0 -190
  124. data/test/plugin/test_in_syslog.rb +0 -505
  125. data/test/plugin/test_in_tail.rb +0 -3429
  126. data/test/plugin/test_in_tcp.rb +0 -328
  127. data/test/plugin/test_in_udp.rb +0 -296
  128. data/test/plugin/test_in_unix.rb +0 -181
  129. data/test/plugin/test_input.rb +0 -137
  130. data/test/plugin/test_metadata.rb +0 -89
  131. data/test/plugin/test_metrics.rb +0 -294
  132. data/test/plugin/test_metrics_local.rb +0 -96
  133. data/test/plugin/test_multi_output.rb +0 -204
  134. data/test/plugin/test_out_copy.rb +0 -308
  135. data/test/plugin/test_out_exec.rb +0 -312
  136. data/test/plugin/test_out_exec_filter.rb +0 -606
  137. data/test/plugin/test_out_file.rb +0 -1038
  138. data/test/plugin/test_out_forward.rb +0 -1349
  139. data/test/plugin/test_out_http.rb +0 -557
  140. data/test/plugin/test_out_null.rb +0 -105
  141. data/test/plugin/test_out_relabel.rb +0 -28
  142. data/test/plugin/test_out_roundrobin.rb +0 -146
  143. data/test/plugin/test_out_secondary_file.rb +0 -458
  144. data/test/plugin/test_out_stdout.rb +0 -205
  145. data/test/plugin/test_out_stream.rb +0 -103
  146. data/test/plugin/test_output.rb +0 -1334
  147. data/test/plugin/test_output_as_buffered.rb +0 -2024
  148. data/test/plugin/test_output_as_buffered_backup.rb +0 -363
  149. data/test/plugin/test_output_as_buffered_compress.rb +0 -179
  150. data/test/plugin/test_output_as_buffered_overflow.rb +0 -250
  151. data/test/plugin/test_output_as_buffered_retries.rb +0 -966
  152. data/test/plugin/test_output_as_buffered_secondary.rb +0 -882
  153. data/test/plugin/test_output_as_standard.rb +0 -374
  154. data/test/plugin/test_owned_by.rb +0 -34
  155. data/test/plugin/test_parser.rb +0 -399
  156. data/test/plugin/test_parser_apache.rb +0 -42
  157. data/test/plugin/test_parser_apache2.rb +0 -47
  158. data/test/plugin/test_parser_apache_error.rb +0 -45
  159. data/test/plugin/test_parser_csv.rb +0 -200
  160. data/test/plugin/test_parser_json.rb +0 -244
  161. data/test/plugin/test_parser_labeled_tsv.rb +0 -160
  162. data/test/plugin/test_parser_msgpack.rb +0 -127
  163. data/test/plugin/test_parser_multiline.rb +0 -111
  164. data/test/plugin/test_parser_nginx.rb +0 -88
  165. data/test/plugin/test_parser_none.rb +0 -52
  166. data/test/plugin/test_parser_regexp.rb +0 -284
  167. data/test/plugin/test_parser_syslog.rb +0 -650
  168. data/test/plugin/test_parser_tsv.rb +0 -122
  169. data/test/plugin/test_sd_file.rb +0 -228
  170. data/test/plugin/test_sd_srv.rb +0 -230
  171. data/test/plugin/test_storage.rb +0 -166
  172. data/test/plugin/test_storage_local.rb +0 -335
  173. data/test/plugin/test_string_util.rb +0 -26
  174. data/test/plugin_helper/data/cert/cert-key.pem +0 -27
  175. data/test/plugin_helper/data/cert/cert-with-CRLF.pem +0 -19
  176. data/test/plugin_helper/data/cert/cert-with-no-newline.pem +0 -19
  177. data/test/plugin_helper/data/cert/cert.pem +0 -19
  178. data/test/plugin_helper/data/cert/cert_chains/ca-cert-key.pem +0 -27
  179. data/test/plugin_helper/data/cert/cert_chains/ca-cert.pem +0 -20
  180. data/test/plugin_helper/data/cert/cert_chains/cert-key.pem +0 -27
  181. data/test/plugin_helper/data/cert/cert_chains/cert.pem +0 -40
  182. data/test/plugin_helper/data/cert/empty.pem +0 -0
  183. data/test/plugin_helper/data/cert/generate_cert.rb +0 -125
  184. data/test/plugin_helper/data/cert/with_ca/ca-cert-key-pass.pem +0 -30
  185. data/test/plugin_helper/data/cert/with_ca/ca-cert-key.pem +0 -27
  186. data/test/plugin_helper/data/cert/with_ca/ca-cert-pass.pem +0 -20
  187. data/test/plugin_helper/data/cert/with_ca/ca-cert.pem +0 -20
  188. data/test/plugin_helper/data/cert/with_ca/cert-key-pass.pem +0 -30
  189. data/test/plugin_helper/data/cert/with_ca/cert-key.pem +0 -27
  190. data/test/plugin_helper/data/cert/with_ca/cert-pass.pem +0 -21
  191. data/test/plugin_helper/data/cert/with_ca/cert.pem +0 -21
  192. data/test/plugin_helper/data/cert/without_ca/cert-key-pass.pem +0 -30
  193. data/test/plugin_helper/data/cert/without_ca/cert-key.pem +0 -27
  194. data/test/plugin_helper/data/cert/without_ca/cert-pass.pem +0 -20
  195. data/test/plugin_helper/data/cert/without_ca/cert.pem +0 -20
  196. data/test/plugin_helper/http_server/test_app.rb +0 -65
  197. data/test/plugin_helper/http_server/test_route.rb +0 -32
  198. data/test/plugin_helper/service_discovery/test_manager.rb +0 -93
  199. data/test/plugin_helper/service_discovery/test_round_robin_balancer.rb +0 -21
  200. data/test/plugin_helper/test_cert_option.rb +0 -25
  201. data/test/plugin_helper/test_child_process.rb +0 -862
  202. data/test/plugin_helper/test_compat_parameters.rb +0 -358
  203. data/test/plugin_helper/test_event_emitter.rb +0 -80
  204. data/test/plugin_helper/test_event_loop.rb +0 -52
  205. data/test/plugin_helper/test_extract.rb +0 -194
  206. data/test/plugin_helper/test_formatter.rb +0 -255
  207. data/test/plugin_helper/test_http_server_helper.rb +0 -372
  208. data/test/plugin_helper/test_inject.rb +0 -561
  209. data/test/plugin_helper/test_metrics.rb +0 -137
  210. data/test/plugin_helper/test_parser.rb +0 -264
  211. data/test/plugin_helper/test_record_accessor.rb +0 -238
  212. data/test/plugin_helper/test_retry_state.rb +0 -1006
  213. data/test/plugin_helper/test_server.rb +0 -1895
  214. data/test/plugin_helper/test_service_discovery.rb +0 -165
  215. data/test/plugin_helper/test_socket.rb +0 -146
  216. data/test/plugin_helper/test_storage.rb +0 -542
  217. data/test/plugin_helper/test_thread.rb +0 -164
  218. data/test/plugin_helper/test_timer.rb +0 -130
  219. data/test/scripts/exec_script.rb +0 -32
  220. data/test/scripts/fluent/plugin/formatter1/formatter_test1.rb +0 -7
  221. data/test/scripts/fluent/plugin/formatter2/formatter_test2.rb +0 -7
  222. data/test/scripts/fluent/plugin/formatter_known.rb +0 -8
  223. data/test/scripts/fluent/plugin/out_test.rb +0 -81
  224. data/test/scripts/fluent/plugin/out_test2.rb +0 -80
  225. data/test/scripts/fluent/plugin/parser_known.rb +0 -4
  226. data/test/test_capability.rb +0 -74
  227. data/test/test_clock.rb +0 -164
  228. data/test/test_config.rb +0 -369
  229. data/test/test_configdsl.rb +0 -148
  230. data/test/test_daemonizer.rb +0 -91
  231. data/test/test_engine.rb +0 -203
  232. data/test/test_event.rb +0 -531
  233. data/test/test_event_router.rb +0 -348
  234. data/test/test_event_time.rb +0 -199
  235. data/test/test_file_wrapper.rb +0 -53
  236. data/test/test_filter.rb +0 -121
  237. data/test/test_fluent_log_event_router.rb +0 -99
  238. data/test/test_formatter.rb +0 -369
  239. data/test/test_input.rb +0 -31
  240. data/test/test_log.rb +0 -1076
  241. data/test/test_match.rb +0 -148
  242. data/test/test_mixin.rb +0 -351
  243. data/test/test_msgpack_factory.rb +0 -50
  244. data/test/test_oj_options.rb +0 -55
  245. data/test/test_output.rb +0 -278
  246. data/test/test_plugin.rb +0 -251
  247. data/test/test_plugin_classes.rb +0 -370
  248. data/test/test_plugin_helper.rb +0 -81
  249. data/test/test_plugin_id.rb +0 -119
  250. data/test/test_process.rb +0 -14
  251. data/test/test_root_agent.rb +0 -951
  252. data/test/test_static_config_analysis.rb +0 -177
  253. data/test/test_supervisor.rb +0 -821
  254. data/test/test_test_drivers.rb +0 -136
  255. data/test/test_time_formatter.rb +0 -301
  256. data/test/test_time_parser.rb +0 -362
  257. data/test/test_tls.rb +0 -65
  258. data/test/test_unique_id.rb +0 -47
  259. data/test/test_variable_store.rb +0 -65
@@ -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BcNNzAwMTAxMDAwMDAwWhgP
25
- MjExODEwMjcwODA2NTdaMFQxCzAJBgNVBAYTAlVTMQswCQYDVQQIDAJDQTEWMBQG
26
- A1UEBwwNTW91bnRhaW4gVmlldzEgMB4GA1UEAwwXY2EyLnRlc3RpbmcuZmx1ZW50
27
- ZC5vcmcwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC6gnGxD4RQuAA1
28
- fQNMl9mctiIvcJ0Dz5f3JtCJlKKqBDKJ17py7tjFZ2MZ5vytIl1DUU2oxHew8F/u
29
- U8s+8ljmL3seiXx2kMCOxCvSW3JYUQrzbTHKszna7Ffy94SzpRDh/4/2RGatnSqi
30
- n4fRpalrchhH6Ds6v486o7YcwEKPR2dlD+Ltd/V3lMAOAmoRoe2aQlLudOUQjHJU
31
- YWGim8XS2dNAEy4WR5DvjYEA+CwKEX7f9p0Dihs8FKBjB2TvBwUkdfILLEnwA1rs
32
- r0coUt3kwYt9TYNYv6/SZYvFtaYjM3BmLVHI3mtEchaA+Tij4V4gRZ573Ai1+Fb8
33
- rxn+oTsVAgMBAAGjEDAOMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEB
34
- AHID7VD2PS7svmCXRg4qe7MkhA0veIadZRE6WZgJo3Z64p9jUWu/Y3ZrlZuDg0qI
35
- yV65UgWrgUOiGN6RZmI5A850DH3ryjvQElPHWjRavm0GtrOxFhHYpX8N7DRFW7t0
36
- 7mld7YvbKRj0BrovU3avPC1P9w8FpegMKh48HsoRCO3NhHvYwtAf2B767UuAaqnI
37
- DW9rMPRTZv+Pv+G+kJN+updOs6HiHFxeS8Bwb8GlADcwWNGMqyJJyKmaefYVzDKt
38
- xfBiKiwev6Hm8RVTk1H3rKVZox/ZkDiZfZhmBJqO4mdDR4LLFIRIPqjUPxENsKFJ
39
- MyrDcwH+0Aq9ZSiRaVyfCkQ=
40
- -----END CERTIFICATE-----
File without changes
@@ -1,125 +0,0 @@
1
- require 'fluent/plugin_helper/cert_option'
2
- require 'fileutils'
3
-
4
- module CertUtil
5
- extend Fluent::PluginHelper::CertOption
6
- end
7
-
8
- WITHOUT_CA_DIR = './without_ca'.freeze
9
- WITH_CA_DIR = './with_ca'.freeze
10
- WITH_CERT_CHAIN_DIR = './cert_chains'.freeze
11
-
12
- CA_OPTION = {
13
- private_key_length: 2048,
14
- country: 'US',
15
- state: 'CA',
16
- locality: 'Mountain View',
17
- common_name: 'ca.testing.fluentd.org',
18
- expiration: 30 * 86400 * 12 * 100,
19
- digest: :sha256,
20
- }
21
-
22
- SERVER_OPTION = {
23
- private_key_length: 2048,
24
- country: 'US',
25
- state: 'CA',
26
- locality: 'Mountain View',
27
- common_name: 'server.testing.fluentd.org',
28
- expiration: 30 * 86400 * 12 * 100,
29
- digest: :sha256,
30
- }
31
-
32
- def write_cert_and_key(cert_path, cert, key_path, key, passphrase)
33
- File.open(cert_path, 'w') { |f| f.write(cert.to_pem) }
34
-
35
- # Write the secret key (raw or encrypted by AES256) in PEM format
36
- key_str = passphrase ? key.export(OpenSSL::Cipher.new('AES-256-CBC'), passphrase) : key.export
37
- File.open(key_path, 'w') { |f| f.write(key_str) }
38
- File.chmod(0o600, cert_path, key_path)
39
- end
40
-
41
- def create_server_pair_signed_by_self(cert_path, private_key_path, passphrase)
42
- cert, key, _ = CertUtil.cert_option_generate_server_pair_self_signed(SERVER_OPTION)
43
- write_cert_and_key(cert_path, cert, private_key_path, key, passphrase)
44
- cert
45
- end
46
-
47
- def create_ca_pair_signed_by_self(cert_path, private_key_path, passphrase)
48
- cert, key, _ = CertUtil.cert_option_generate_ca_pair_self_signed(CA_OPTION)
49
- write_cert_and_key(cert_path, cert, private_key_path, key, passphrase)
50
- cert
51
- end
52
-
53
- def create_server_pair_signed_by_ca(ca_cert_path, ca_key_path, ca_key_passphrase, cert_path, private_key_path, passphrase)
54
- cert, key, _ = CertUtil.cert_option_generate_server_pair_by_ca(ca_cert_path, ca_key_path, ca_key_passphrase, SERVER_OPTION)
55
- write_cert_and_key(cert_path, cert, private_key_path, key, passphrase)
56
- cert
57
- end
58
-
59
- def create_without_ca
60
- FileUtils.mkdir_p(WITHOUT_CA_DIR)
61
- cert_path = File.join(WITHOUT_CA_DIR, 'cert.pem')
62
- cert_key_path = File.join(WITHOUT_CA_DIR, 'cert-key.pem')
63
- cert_pass_path = File.join(WITHOUT_CA_DIR, 'cert-pass.pem')
64
- cert_key_pass_path = File.join(WITHOUT_CA_DIR, 'cert-key-pass.pem')
65
-
66
- create_server_pair_signed_by_self(cert_path, cert_key_path, nil)
67
- create_server_pair_signed_by_self(cert_pass_path, cert_key_pass_path, 'apple') # with passphrase
68
- end
69
-
70
- def create_with_ca
71
- FileUtils.mkdir_p(WITH_CA_DIR)
72
- cert_path = File.join(WITH_CA_DIR, 'cert.pem')
73
- cert_key_path = File.join(WITH_CA_DIR, 'cert-key.pem')
74
- ca_cert_path = File.join(WITH_CA_DIR, 'ca-cert.pem')
75
- ca_key_path = File.join(WITH_CA_DIR, 'ca-cert-key.pem')
76
- create_ca_pair_signed_by_self(ca_cert_path, ca_key_path, nil)
77
- create_server_pair_signed_by_ca(ca_cert_path, ca_key_path, nil, cert_path, cert_key_path, nil)
78
-
79
- cert_pass_path = File.join(WITH_CA_DIR, 'cert-pass.pem')
80
- cert_key_pass_path = File.join(WITH_CA_DIR, 'cert-key-pass.pem')
81
- ca_cert_pass_path = File.join(WITH_CA_DIR, 'ca-cert-pass.pem')
82
- ca_key_pass_path = File.join(WITH_CA_DIR, 'ca-cert-key-pass.pem')
83
- create_ca_pair_signed_by_self(ca_cert_pass_path, ca_key_pass_path, 'orange') # with passphrase
84
- create_server_pair_signed_by_ca(ca_cert_pass_path, ca_key_pass_path, 'orange', cert_pass_path, cert_key_pass_path, 'apple')
85
- end
86
-
87
- def create_cert_pair_chained_with_root_ca(ca_cert_path, ca_key_path, ca_key_passphrase, cert_path, private_key_path, passphrase)
88
- root_cert, root_key, _ = CertUtil.cert_option_generate_ca_pair_self_signed(CA_OPTION)
89
- write_cert_and_key(ca_cert_path, root_cert, ca_key_path, root_key, ca_key_passphrase)
90
-
91
- intermediate_ca_options = CA_OPTION.dup
92
- intermediate_ca_options[:common_name] = 'ca2.testing.fluentd.org'
93
- chain_cert, chain_key = CertUtil.cert_option_generate_pair(intermediate_ca_options, root_cert.subject)
94
- chain_cert.add_extension(OpenSSL::X509::Extension.new('basicConstraints', OpenSSL::ASN1.Sequence([OpenSSL::ASN1::Boolean(true)])))
95
- chain_cert.sign(root_key, 'sha256')
96
-
97
- cert, server_key, _ = CertUtil.cert_option_generate_pair(SERVER_OPTION, chain_cert.subject)
98
- cert.add_extension OpenSSL::X509::Extension.new('basicConstraints', OpenSSL::ASN1.Sequence([OpenSSL::ASN1::Boolean(false)]))
99
- cert.sign(chain_key, 'sha256')
100
-
101
- # write chained cert
102
- File.open(cert_path, 'w') do |f|
103
- f.write(cert.to_pem)
104
- f.write(chain_cert.to_pem)
105
- end
106
-
107
- key_str = passphrase ? server_key.export(OpenSSL::Cipher.new("AES-256-CBC"), passphrase) : server_key.export
108
- File.open(private_key_path, "w") { |f| f.write(key_str) }
109
- File.chmod(0600, cert_path, private_key_path)
110
- end
111
-
112
- def create_cert_chain
113
- FileUtils.mkdir_p(WITH_CERT_CHAIN_DIR)
114
- ca_cert_path = File.join(WITH_CERT_CHAIN_DIR, 'ca-cert.pem')
115
- ca_key_path = File.join(WITH_CERT_CHAIN_DIR, 'ca-cert-key.pem')
116
-
117
- cert_path = File.join(WITH_CERT_CHAIN_DIR, 'cert.pem')
118
- private_key_path = File.join(WITH_CERT_CHAIN_DIR, 'cert-key.pem')
119
-
120
- create_server_pair_chained_with_root_ca(ca_cert_path, ca_key_path, nil, cert_path, private_key_path, nil)
121
- end
122
-
123
- create_without_ca
124
- create_with_ca
125
- create_cert_chain
@@ -1,30 +0,0 @@
1
- -----BEGIN RSA PRIVATE KEY-----
2
- Proc-Type: 4,ENCRYPTED
3
- DEK-Info: AES-256-CBC,A73EC2C28AEE020735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KMKPnxcZVcS4dNhkH4JGJ7NK0W/GCXKxB/13WayCWZIpkNaF
11
- 9UYaTrw+TOt7PGK4P1sF93udluiGJgM8opehykmdXys0AGDY+twpFLeYFwsUObzf
12
- Y2Ku3T3VV6/mCzuEJQvWK/kffIlmIHGoVgCEj1hwv/TXdsEEy1rm7faPIPMmh6si
13
- DHAgqG8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEA
14
- IDGochw4cgYtK2RKgHQhsZ2aXUBo4qtM3L4HGFluagkDns4oHp0i3lwterYDYmf6
15
- nqVea3SJtk5XmVuGweOsilwIEmjUNk1kLwnjKyZYR1/vcfhriefGXmAzppRFeYh2
16
- K1OrmFZXvs8tRtMSt9YBbBeGbDdqpc9O4VkZb+hrysaaZiCE58cMGbxQEkvbyoGx
17
- EhRhIA+NbnWQ2RRoHXk76iMe2kbe3H5Bj06wJqYI2jH8yxEtDzMA96iVJuuz8l2p
18
- 1Dv1f+4aFqUHOL0GgFuzwmmSQ6DS6/7WFglL3jeL9TqCSTiyY3PQtrzBI2hCDQpn
19
- YN6ELSQUASXSVmEQ4V5I3Q==
20
- -----END CERTIFICATE-----
@@ -1,30 +0,0 @@
1
- -----BEGIN RSA PRIVATE KEY-----
2
- Proc-Type: 4,ENCRYPTED
3
- DEK-Info: AES-256-CBC,F639769C79C6B97B06C4FD86B1ABC8B0
4
-
5
- ++PSSn+v3H7i0DEZbM0Ypa718aw5CfkOleFFPn4FQNSZJckuIWblPQ6RLPdtkmlh
6
- Kil/opC4y9dLoukze8CH+cGsqfPilT2ePs23t2ejdYu6N+3/aLbd0BIWCp2UtBqh
7
- OaHu9cbyUCGV95xx404zljc+cgcnzgBPtkhoa3zRdYb1NOOJK9l7WItCugktGfEJ
8
- MymOsRl2SspF9nni0pwz+VFUIRkCVii8u4sY5aGyasNzefIIuk2ItLIgmO+t9sz+
9
- o0cfCxQndwrhEWKRTyOaP4tc6vHIToAlikjvf49K5YztNf+aM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qpmq3fBsl6+AhuzIE7Uwfpf8s2ip0J7JnaMqldH
13
- Cgs85xaJAoGBAO7v4+PbXkmMZZSyyKVMpj+KHnG0S0LqnuaxPGAHJhH3VUBFyQ99
14
- UCZdn2CiR1m57LA5ZqI6RtpqN/iSCnyr6SBod03ngZQ8vqdlSleUYKzOn906yDNA
15
- rO08vTSi4dgypgIE96TyPN0E6j0yIF+pz5xXr4HUPS61WAZ+VbziVRr3AoGBANbV
16
- HeXypaL7h4JEzxwxGo5NdTV8dL8Gncy0KynNyLvHrc+EYGOG3ggKk2X/4xKBUUyr
17
- KcVXPG+dKV8HGlnWqS1F6fnqQXxV+jfEGTPPM3npQNSavHPDAh0OpEOq9guY3yYd
18
- FvEqNlXE/hr7sAJJizbtbZBud1QA34F9mYINZ6RFAoGARVysakwXXgB8yKLx7lKG
19
- /HELD3UIWB+mC1AuN647lgGX5PWdPXriVpDdIH9beSepFytCqRuD0An/v5AdrT12
20
- iqro31uyWScdLZkQ8MWpHuFItT9IOOCwkpoMTwhtyYZCfNmWTnLnyj2QBj3T+hFg
21
- rIEj+Ot062dHa3MnTpLho9cCgYEAkBldN5s9fQgISdnLrhZFwMO15c14JZXTjLYg
22
- 6aZtiX8TV8lsOfYBwhUN73HnJsd0998rYoH0OM2LLYF/LFlvGr31hjuZ90NYVcWE
23
- PhsyZQiPAsxTsbZRGZpzliv7Y6YDr/X9KIBu97Lt2r2NvssDxTEWt7VQ9xiq0pmj
24
- uPcy2J0CgYBNuetHnG0NBFHtidyjV/kvvJ2E5vt9dBxcC4dBssi6XWyiuO/KlRIM
25
- T0tBXHS4PlkyO4O/KTugEZmLiGvVowCGx1CjhU0rTKwZNSAfyFRrngQvkHCqAaoK
26
- CM7zlXxnRedmLKD83vNlP1jnpnuLPSJNZrQy1Avy5xKSmiO1NYvm0Q==
27
- -----END RSA PRIVATE KEY-----
@@ -1,21 +0,0 @@
1
- -----BEGIN CERTIFICATE-----
2
- MIIDczCCAlugAwIBAgILALvoPZFcaSh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KBggrBgEFBQcDATANBgkqhkiG9w0BAQsF
15
- AAOCAQEAnLqulP1n8fggiY5e6WukL8MmBitpalxLkzRRL7xBihQJzsiNjpA/Lt95
16
- Syabg73nDOTl98wCQJw/PWmZjDCgKf2c1UA+L9fSkLxQf5gLTMnVz6g6tB5m2LdA
17
- QAG+B2uucye4e/uFxJ1wkXDC508ipi0NzgG1/tO8ZX0SzeMxV2nH4jjn1X3jOHcM
18
- xvB32+sZdYCk8tmZ4s3cSKLKjoP8YaTiII7MjmYNTGuuUE4QL5Q1t8u1NcGvLIc/
19
- yfjHjvifA2aoyS20H06wOxUMtqP0n5yRYv7aLSqX7ZG9Srrnraaa1lSrv9mNR6GR
20
- i4v43IXfyTa69dx2otUQpF2/NkUBNQ==
21
- -----END CERTIFICATE-----
@@ -1,30 +0,0 @@
1
- -----BEGIN RSA PRIVATE KEY-----
2
- Proc-Type: 4,ENCRYPTED
3
- DEK-Info: AES-256-CBC,FDFF12531E3F46EA8FB2AF34CF90DAB0
4
-
5
- wZAwCeW2uOYVFeZPKR9x1og5wXZl2HJiLTyG5wK5P+6naKMhr2sKtyB3QWpVUnTL
6
- TPkqn3J8C0sWDNByI6nG4xtceFi9HMoBzwfhtmThnFE1BDqCaDktkg7SCc43/w6y
7
- pw0GpJzgldGiMV1HSpFNAP/yUqV1Ybbro7wk7kRahT5ryKNqeWWgr9DvQ+O61dKK
8
- jChFmDZgbokAFYl8SicAcUt8KIZp0UonLYe8neXki/gVip10+M9pphdntO7r68hJ
9
- lDwuHoos9YNkfsaTW3Ef6e+nbnw6FwY+Yms/g/2ItkuhO+6zohhLniynB3kOsBnb
10
- 9BxtY9EdkNbFijPZpAMOLprfmuVT/MpoHxGeCdIvS2iaOKPMzDWGD6QvFd+0cyoP
11
- Dl8imzFf36FzBexdj3/0Luq/O4blxfaiUpWUTMFUxhwMI/FP60wANpBFMCLOkKZw
12
- uJCmypJ3Bq4Ay72KGOp0/SuTn6gthkR7e1zqjOrncc4feEIWNN3GvGk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uB0k6H2DgA
18
- OgGULEvcIb0dvSh/luOpIHoUsyv77aKWnC3LSwUD/M8/Lv43bcJKfDT2KjLeW8DX
19
- lCMESmm0ppShIa/fobNxq2Ale6oFxHma2t7pG8ZxCxn5ojiFQ3R6Lz0=
20
- -----END CERTIFICATE-----
@@ -1,65 +0,0 @@
1
- require_relative '../../helper'
2
- require 'flexmock/test_unit'
3
-
4
- begin
5
- require 'fluent/plugin_helper/http_server/app'
6
- skip = false
7
- rescue LoadError => _
8
- skip = true
9
- end
10
-
11
- unless skip
12
- class HttpHelperAppTest < Test::Unit::TestCase
13
- NULL_LOGGER = Logger.new(nil)
14
-
15
- class DummyRounter
16
- def initialize(table = {})
17
- @table = table
18
- end
19
-
20
- def route!(method, path, _req)
21
- r = @table.fetch(method).fetch(path)
22
- [200, {}, r]
23
- end
24
- end
25
-
26
- sub_test_case '#call' do
27
- data(
28
- 'GET request' => 'GET',
29
- 'POST request' => 'POST',
30
- 'DELETE request' => 'DELETE',
31
- 'PUT request' => 'PUT',
32
- 'PATCH request' => 'PATCH',
33
- 'OPTION request' => 'OPTIONS',
34
- 'CONNECT request' => 'CONNECT',
35
- 'TRACE request' => 'TRACE',
36
- )
37
- test 'dispatch correct path' do |method|
38
- r = DummyRounter.new(method.downcase.to_sym => { '/path/' => 'hi' })
39
- app = Fluent::PluginHelper::HttpServer::App.new(r, NULL_LOGGER)
40
- m = flexmock('request', method: method, path: '/path/')
41
- r = app.call(m)
42
- assert_equal(r.body.read, 'hi')
43
- assert_equal(r.status, 200)
44
- end
45
-
46
- test 'dispatch correct path for head' do |method|
47
- r = DummyRounter.new(head: { '/path/' => 'hi' })
48
- app = Fluent::PluginHelper::HttpServer::App.new(r, NULL_LOGGER)
49
- m = flexmock('request', method: method, path: '/path')
50
- r = app.call(m)
51
- assert_equal(r.body.read, '')
52
- assert_equal(r.status, 200)
53
- end
54
-
55
- test 'if path does not end with `/`' do |method|
56
- r = DummyRounter.new(head: { '/path/' => 'hi' })
57
- app = Fluent::PluginHelper::HttpServer::App.new(r, NULL_LOGGER)
58
- m = flexmock('request', method: method, path: '/path')
59
- r = app.call(m)
60
- assert_equal(r.body.read, '')
61
- assert_equal(r.status, 200)
62
- end
63
- end
64
- end
65
- end
@@ -1,32 +0,0 @@
1
- require_relative '../../helper'
2
- require 'flexmock/test_unit'
3
-
4
- begin
5
- require 'fluent/plugin_helper/http_server/router'
6
- skip = false
7
- rescue LoadError => _
8
- skip = true
9
- end
10
-
11
- unless skip
12
- class HttpHelperRouterTest < Test::Unit::TestCase
13
- sub_test_case '#mount' do
14
- test 'mount with method and path' do
15
- router = Fluent::PluginHelper::HttpServer::Router.new
16
- router.mount(:get, '/path/', ->(req) { req })
17
- assert_equal(router.route!(:get, '/path/', 'request'), 'request')
18
- end
19
-
20
- test 'use default app if path is not found' do
21
- router = Fluent::PluginHelper::HttpServer::Router.new
22
- req = flexmock('request', path: 'path/')
23
- assert_equal(router.route!(:get, '/path/', req), [404, { 'Content-Type' => 'text/plain' }, "404 Not Found\n"])
24
- end
25
-
26
- test 'default app is configurable' do
27
- router = Fluent::PluginHelper::HttpServer::Router.new(->(req) { req })
28
- assert_equal(router.route!(:get, '/path/', 'hello'), 'hello')
29
- end
30
- end
31
- end
32
- end