fluent-plugin-input-opensearch 1.2.4 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/fluent/plugin/in_opensearch.rb +3 -3
  4. data/lib/fluent/plugin/out_opensearch.rb +5 -1
  5. metadata +5 -55
  6. data/.coveralls.yml +0 -1
  7. data/.editorconfig +0 -9
  8. data/.github/ISSUE_TEMPLATE/bug_report.md +0 -29
  9. data/.github/ISSUE_TEMPLATE/feature_request.md +0 -24
  10. data/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +0 -9
  11. data/.github/workflows/coverage.yaml +0 -22
  12. data/.github/workflows/issue-auto-closer.yml +0 -12
  13. data/.github/workflows/linux.yml +0 -26
  14. data/.github/workflows/macos.yml +0 -26
  15. data/.github/workflows/windows.yml +0 -26
  16. data/.gitignore +0 -18
  17. data/CONTRIBUTING.md +0 -24
  18. data/Gemfile +0 -10
  19. data/History.md +0 -67
  20. data/README.OpenSearchGenID.md +0 -116
  21. data/README.OpenSearchInput.md +0 -396
  22. data/README.Troubleshooting.md +0 -482
  23. data/Rakefile +0 -37
  24. data/fluent-plugin-opensearch.gemspec +0 -39
  25. data/gemfiles/Gemfile.elasticsearch.v6 +0 -12
  26. data/test/helper.rb +0 -60
  27. data/test/plugin/datastream_template.json +0 -4
  28. data/test/plugin/test_alias_template.json +0 -9
  29. data/test/plugin/test_filter_opensearch_genid.rb +0 -241
  30. data/test/plugin/test_in_opensearch.rb +0 -500
  31. data/test/plugin/test_index_alias_template.json +0 -11
  32. data/test/plugin/test_index_template.json +0 -25
  33. data/test/plugin/test_oj_serializer.rb +0 -45
  34. data/test/plugin/test_opensearch_error_handler.rb +0 -770
  35. data/test/plugin/test_opensearch_fallback_selector.rb +0 -100
  36. data/test/plugin/test_opensearch_tls.rb +0 -171
  37. data/test/plugin/test_out_opensearch.rb +0 -3980
  38. data/test/plugin/test_out_opensearch_data_stream.rb +0 -746
  39. data/test/plugin/test_template.json +0 -23
  40. data/test/test_log-ext.rb +0 -61
@@ -1,23 +0,0 @@
1
- {
2
- "template": "te*",
3
- "settings": {
4
- "number_of_shards": 1
5
- },
6
- "mappings": {
7
- "type1": {
8
- "_source": {
9
- "enabled": false
10
- },
11
- "properties": {
12
- "host_name": {
13
- "type": "string",
14
- "index": "not_analyzed"
15
- },
16
- "created_at": {
17
- "type": "date",
18
- "format": "EEE MMM dd HH:mm:ss Z YYYY"
19
- }
20
- }
21
- }
22
- }
23
- }
data/test/test_log-ext.rb DELETED
@@ -1,61 +0,0 @@
1
- # SPDX-License-Identifier: Apache-2.0
2
- #
3
- # The fluent-plugin-opensearch Contributors require contributions made to
4
- # this file be licensed under the Apache-2.0 license or a
5
- # compatible open source license.
6
- #
7
- # Modifications Copyright fluent-plugin-opensearch Contributors. See
8
- # GitHub history for details.
9
- #
10
- # Licensed to Uken Inc. under one or more contributor
11
- # license agreements. See the NOTICE file distributed with
12
- # this work for additional information regarding copyright
13
- # ownership. Uken Inc. licenses this file to you under
14
- # the Apache License, Version 2.0 (the "License"); you may
15
- # not use this file except in compliance with the License.
16
- # You may obtain a copy of the License at
17
- #
18
- # http://www.apache.org/licenses/LICENSE-2.0
19
- #
20
- # Unless required by applicable law or agreed to in writing,
21
- # software distributed under the License is distributed on an
22
- # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
23
- # KIND, either express or implied. See the License for the
24
- # specific language governing permissions and limitations
25
- # under the License.
26
-
27
- require 'helper'
28
- require 'fluent/log-ext'
29
-
30
- class TestFluentLogExtHandler < Test::Unit::TestCase
31
- def setup
32
- @log_device = Fluent::Test::DummyLogDevice.new
33
- dl_opts = {:log_level => ServerEngine::DaemonLogger::INFO}
34
- logger = ServerEngine::DaemonLogger.new(@log_device, dl_opts)
35
- @log = Fluent::Log.new(logger)
36
- end
37
-
38
- def test_trace?
39
- assert_false @log.respond_to?(:trace?)
40
- end
41
-
42
- def test_debug?
43
- assert_true @log.respond_to?(:debug?)
44
- end
45
-
46
- def test_info?
47
- assert_true @log.respond_to?(:info?)
48
- end
49
-
50
- def test_warn?
51
- assert_true @log.respond_to?(:warn?)
52
- end
53
-
54
- def test_error?
55
- assert_true @log.respond_to?(:error?)
56
- end
57
-
58
- def test_fatal?
59
- assert_true @log.respond_to?(:fatal?)
60
- end
61
- end