Commit Graph

52 Commits

Author SHA1 Message Date
Paweł Żak 9415d8e7e9
chore(linters): Enable `import-alias-naming` and `redundant-import-alias` rules for revive (#15836) 2024-10-01 13:49:53 -05:00
Paweł Żak e6d82bd996
chore: Fix linter findings for `revive:enforce-repeated-arg-type-style` in `plugins/inputs/[a-g]*` (#15849) 2024-09-16 10:56:55 -05:00
Sven Rebhan 1b849ebf92
fix(inputs.gnmi): Handle YANG namespaces in paths correctly (#15565) 2024-06-28 10:11:53 -05:00
Joshua Powers 71718fba7d
chore: Update removal dates to either v1.35.0 or v1.40.0 (#15452) 2024-06-05 15:19:47 -05:00
Sven Rebhan 4aa288b25f
feat(inputs.gnmi): Add yang-model decoding of JSON IETF payloads (#15201) 2024-05-23 14:09:11 -05:00
Sven Rebhan 079f6a901e
chore(inputs.gnmi): Add more response information for easier debugging (#15297) 2024-05-07 11:03:47 -05:00
Sven Rebhan 46fb0af4e7
feat(inputs.gnmi): Allow to pass accepted cipher suites (#15256) 2024-05-06 20:19:10 +02:00
Sven Rebhan 7966827530
feat(inputs.gnmi): Add option to create more descriptive tags (#15278) 2024-05-03 14:09:00 -05:00
Joshua Powers 96e7b2b7e7
feat(inputs.gnmi): Add secret store support for username and password (#15173) 2024-04-17 18:26:29 +02:00
Joshua Powers c443b762b2
feat(inputs.gnmi): Add keepalive settings (#15171)
Co-authored-by: Hunter Kelly <retnuh@gmail.com>
2024-04-17 09:41:23 +02:00
Sven Rebhan eb5407a210
fix(inputs.gnmi): Add option to guess path tag from subscription (#14951) 2024-03-11 06:16:13 -06:00
Paweł Żak ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible (#14698) 2024-02-08 11:32:30 -06:00
Sven Rebhan c6f1c66bf8
feat(inputs.gnmi): Rework plugin (#14091) 2023-10-31 17:51:05 +01:00
Sven Rebhan cec60dbfa9
fix(inputs.gnmi): Add option to explicitly trim field-names (#13517) 2023-07-06 11:20:11 +02:00
Sven Rebhan 187902ecd4
chore(inputs.gnmi): Test plugin and subscription options (#13384) 2023-06-05 13:56:09 -06:00
Sven Rebhan 8f07761cba
feat(inputs.gnmi): Allow canonical field names (#13326) 2023-05-24 08:14:06 -06:00
Sven Rebhan fb3cd61579
fix(inputs.gnmi): Allow optional origin for update path (#13304) 2023-05-23 07:06:02 -06:00
David Roy a868add749
feat(inputs.gnmi): Support Juniper GNMI Extension Header (#13116) 2023-04-27 17:30:21 +02:00
Paweł Żak 5b2346dfa0
chore: Fix linter findings for errorlint (part5) (#12731)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-01 22:18:35 +01:00
Sven Rebhan 58a01e1daf
fix(inputs.gnmi): Handle both new-style `tag_subscription` and old-style `tag_only` (#12512) 2023-02-08 19:30:05 +01:00
Joshua Powers d3e1f95b87
feat(inputs.gnmi): Set max gRPC message size (#12495) 2023-01-27 10:11:29 +01:00
Sven Rebhan 11228ee8ad
fix(inputs.gnmi): update configuration documentation (#12415) 2023-01-09 12:35:13 -07:00
Paweł Żak c6663aca4f
chore: fix linter findings for makezero (part3) (#12371) 2022-12-12 07:05:33 -07:00
Sven Rebhan d10ab3a417
chore(inputs.gnmi): Degrade empty-name error to a warning and add instructions. (#12305) 2022-11-30 12:09:31 +01:00
Sven Rebhan 54f4a3a38b
fix(inputs.gnmi): Do not provide empty prefix for subscription request. (#12275) 2022-11-28 20:58:43 +01:00
Sven Rebhan 65200dba2a
fix(inputs.gnmi): Fix empty name for Sonic device (#12258) 2022-11-21 20:59:26 +01:00
Paweł Żak 6816aefcd5
chore: fix linter findings for unparam and revive.unused-parameter (#12150) 2022-11-08 12:04:12 -07:00
Paweł Żak 497297a92a
chore: Ignore usages of deprecated fields from gnmi lib (#12154)
Co-authored-by: Pawel Zak <Pawel Zak>
2022-11-03 08:41:20 -05:00
richu shaji abraham 415cfa8548
fix: inputs.gnmi add support for decimal_val as per gnmi v0.8.0 (#12140)
* fix: run make fmt

* change gnmiLib version from 0.7.0 to 0.8.0

* fix: add support for decimalVal as per gnmi v0.8.0

* fix: run go mod tidy

* fix: run make fmt

Co-authored-by: richu abraham <ricabrah@cisco.com>
2022-11-02 14:20:24 -05:00
Paweł Żak 9d9eb403a6
chore: Review of //nolint comments (#12088) 2022-10-26 12:06:08 +02:00
Sebastian Spaink f38c9f2a45
chore: Resolve deprecated linter issues (#12051) 2022-10-19 18:32:53 +02:00
Sebastian Spaink d67f75e557
docs: Remove warning not to remove go:embed (#11797)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2022-09-13 12:47:58 -05:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
Sven Rebhan e2578462a5
fix(inputs): Linter issues (#11576) 2022-08-02 13:52:17 +02:00
bewing f29f7b28f2
fix(gnmi): refactor tag-only subs for complex keys (#11011) 2022-07-07 12:50:40 -06:00
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00
Sven Rebhan 56eb914998
chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00
Eng Zer Jun 81090be35d
refactor: replace strings.Replace with strings.ReplaceAll (#11079) 2022-05-11 09:53:34 -06:00
bewing a6f278a5ea
fix: use external xpath parser for gnmi (#11024) 2022-04-26 07:38:02 -06:00
bewing 72997edf7b
fix: add mutex to gnmi lookup map (#11008) 2022-04-22 07:40:20 -06:00
bewing dc95d22272
fix: use sprint to cast to strings in gnmi (#11010) 2022-04-21 07:45:37 -06:00
Sebastian Spaink 8e2b4988fe
feat: migrate input plugins to new sample config format (A-L) (#10924) 2022-04-07 16:01:21 -06:00
bewing 7e769d738a
feat: add dynamic tagging to gnmi plugin (#7484) 2022-02-07 08:18:53 -07:00
Paweł Żak 87c94e4ac3
Linter fixes for plugins/inputs/[fg]* (#9387) 2021-07-27 15:28:26 -06:00
Sven Rebhan 03b2daeb1b
Linter fixes (unhandled errors) -- Part 2 (#9122) 2021-04-22 16:08:03 -05:00
Sven Rebhan 9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} (#8969) 2021-04-09 13:15:04 -04:00
Paweł Żak 38c61c07ef
Revive fixes - part 4: (#8981)
empty-lines

Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-12 14:21:51 -06:00
David Bennett fbd54e84a2
GNMI plugin should not take off the first character of field keys when no 'alias path' exists. (#8659)
* GNMI plugin should not take off the first character of field keys when no 'alias path' exists.

* fix test method name

* fix test file formatting

* fix test file formatting

* Remove my unnecessary failing test
2021-01-13 15:48:21 -05:00
Mike Dalrymple 6be3bd8c9c
Log SubscribeResponse_Error message and code. #8482 (#8483) 2020-11-30 12:12:10 -05:00
Roman Dodin 68a4f18e3d
added support for bytes encoding (#7938) 2020-11-02 11:11:28 -05:00