Skip to content

Commit

Permalink
Merge branch 'primary' into rabbitmq_queue
Browse files Browse the repository at this point in the history
  • Loading branch information
KristianLyng authored Aug 8, 2023
2 parents 94e1d06 + 975cdcb commit 9c8d4f9
Show file tree
Hide file tree
Showing 75 changed files with 61,124 additions and 17,229 deletions.
90 changes: 0 additions & 90 deletions .drone.yml-disabled

This file was deleted.

42 changes: 42 additions & 0 deletions docs/NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,45 @@
v0.23.0
=======

Release date: 2023-06-06

Bump Juniper telemetry protocolbuffers from Junos 21.3R1 to 23.2R1.

Adds a small fix to the influx sender, preventing it from sending
empty tag strings to Influx. Fixes #294.

Adds support for renaming metadata and data fields using the "rename"
key to the metadata/data transformer. Example::

"transformers": {
"ok": {
"type": "data",
"rename": [
{ "source": "old_key_name", "destination": "new_key_name" }
]
}



v0.22.0
=======

Release date: 2023-05-09

Add JSON unmarshalling to SQL receiver, add unflatten to metadata
transformer as well, and allow banning with ban transformer by path.

v0.21.1
=======

Release date: 2023-02-27

Add SIGHUP-handling to file-sender.

Add JSON-casting to cast transformer.

Upgrade to Go 1.20, and bump various libs past security lol.

v0.21.0
=======
Release date: 2023-02-10
Expand Down
1 change: 0 additions & 1 deletion encoder/auto.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,4 @@ func init() {
Alloc: func() interface{} { return &AVRO{} },
Help: "Encodes the avro format.",
})

}
6 changes: 3 additions & 3 deletions gen/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
package gen

//go:generate /bin/bash -c "rm -f junos/telemetry/*pb.go; mkdir -p junos/telemetry"
//go:generate /bin/bash -c "tar xzf tar-balls/junos-telemetry-interface-21.3R1.tar.gz"
//go:generate /bin/bash -c "tar xzf tar-balls/junos-telemetry-interface-23.2R1.tar.gz"
//go:generate /bin/bash -c "for a in junos-telemetry-interface/*.proto; do if echo $DOLLAR{a} | egrep -qv '/(gnmi|sr_|Gnmi)'; then protoc --gogo_out=junos/telemetry --gogo_opt=M=$DOLLAR{PWD}junos-telemetry-interface/ -Ijunos-telemetry-interface/ $DOLLAR{a}; else echo skipping $DOLLAR{a}; fi; done"
//go:generate /bin/bash -c "sed -i 's/^package.*/package telemetry/g' junos/telemetry/*.go"

//go:generate /bin/bash -c "rm -f usp/*pb.go; mkdir usp"
//go:generate /bin/bash -c "tar xzf tar-balls/usp-interface-1-1.tar.gz"
//go:generate /bin/bash -c "rm -f usp/*pb.go; mkdir -p usp"
//go:generate /bin/bash -c "tar xf tar-balls/usp-interface-1-1.tar.gz"
//go:generate /bin/bash -c "protoc --gogo_out=usp --gogo_opt=M=${PWD}/usp usp-record-1-1.proto"
//go:generate /bin/bash -c "protoc --gogo_out=usp --gogo_opt=M=${PWD}/usp usp-msg-1-1.proto"
Loading

0 comments on commit 9c8d4f9

Please sign in to comment.