fluent-plugin-mattermost 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +2 -0
- data/lib/fluent/plugin/out_mattermost.rb +5 -0
- data/lib/release/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 630290ebea4e6616f66e6a563c555d539e2e158e3e76586c9b81261f14f879e4
|
4
|
+
data.tar.gz: d7400ecdfb29dee1af6c351f09310493d4a29ed69647acfe9ab9d056db46aa4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5ae7e48b3990735336ebc856812bc60a76bd5035e0da78f41c478e83e1c31a3f840d84f87c8040eaf5e6c19a2fe06f51682c6de756b6454fd992a816affbb5e
|
7
|
+
data.tar.gz: e35383422cf50d50bad30d4566a56f35e08d3b92b3a7a7a7aa7552e7bf09dab5822c7735c4e377131e2f1ac923376a033c7e204133c1be6f5bda7f9a84607a3b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
### [0.2.2](https://github.com/levigo-systems/fluent-plugin-mattermost/compare/v0.2.1...v0.2.2) (2022-02-23)
|
4
|
+
|
5
|
+
|
6
|
+
### Features
|
7
|
+
|
8
|
+
* added a new option to set ca_path manually ([aabd610](https://github.com/levigo-systems/fluent-plugin-mattermost/commit/aabd6101c811ac6a6d78f2c2105e83b10833779f))
|
9
|
+
|
3
10
|
### [0.2.1](https://github.com/levigo-systems/fluent-plugin-mattermost/compare/v0.2.0...v0.2.1) (2022-02-11)
|
4
11
|
|
5
12
|
|
data/README.md
CHANGED
@@ -30,6 +30,7 @@ Link for
|
|
30
30
|
message_title mattermost
|
31
31
|
message %s
|
32
32
|
enable_tls true
|
33
|
+
ca_path /etc/ssl/certs/
|
33
34
|
</match>
|
34
35
|
```
|
35
36
|
|
@@ -43,6 +44,7 @@ Link for
|
|
43
44
|
|message_title|title you want to add to the message|string|fluent_title_default
|
44
45
|
|message|The message you want to send, can be a static message, which you add at this point, or you can receive the fluent infos with the %s|string|nil
|
45
46
|
|enable_tls|you can set the communication channel if it uses tls|bool|true|
|
47
|
+
|ca_path|you can set the path of the certificates|string|nil|
|
46
48
|
|
47
49
|
## Copyright
|
48
50
|
|
@@ -24,6 +24,8 @@ module Fluent
|
|
24
24
|
|
25
25
|
config_param :enable_tls, :bool, default: true
|
26
26
|
|
27
|
+
config_param :ca_path, :string, default: nil
|
28
|
+
|
27
29
|
def configure(conf)
|
28
30
|
super
|
29
31
|
end
|
@@ -53,6 +55,9 @@ module Fluent
|
|
53
55
|
|
54
56
|
https = Net::HTTP.new(url.host, url.port)
|
55
57
|
https.use_ssl = @enable_tls
|
58
|
+
if !@ca_path.nil? and @enable_tls == true
|
59
|
+
https.ca_path = @ca_path
|
60
|
+
end
|
56
61
|
|
57
62
|
request = Net::HTTP::Post.new(url)
|
58
63
|
request["Content-Type"] = "application/json"
|
data/lib/release/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-mattermost
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pierluigi Minardi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|