Commit Graph

12 Commits

Author SHA1 Message Date
Alessandro (Ale) Segala b60341fe3e
Add jwkscache package (#46)
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-04-17 22:50:30 -07:00
Alessandro (Ale) Segala eadb01f64f
Updates crypto libraries, incl. security fixes (#41)
Updates github.com/lestrrat-go/jwx/v2 and golang.org/x/crypto, which also includes security fixes

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-03-26 16:01:36 +05:30
Alessandro (Ale) Segala 39814af4c7
Add Dapr crypto library to dapr/kit (#38)
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-03-07 11:22:05 -08:00
Alessandro (Ale) Segala 73be7928f6
Updates: (#36)
1. Removed `github.com/pkg/errors` and replaced with the standard library (linter now rejects the old package)
2. Cron test: fixed race conditions and linting
3. Renamed `logger/default.go` to `logger/nop_logger.go` to match the name of the struct inside

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-01-05 12:12:21 -08:00
Sarthak Sharma cba48a6fe2
add cron fork (#31) 2022-12-01 12:22:46 -08:00
Alessandro (Ale) Segala 76dbc2afea
Upgraded backoff dependency to remove replace (#30)
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-11-19 13:27:53 -08:00
Alessandro (Ale) Segala c4648551c9
Add NotifyRecoverWithData that returns data too (#29)
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-11-18 14:42:24 -08:00
Alessandro (Ale) Segala 5a284d0d92
Bring in fswatcher from runtime (#26)
* Bring in fswatcher from dapr/dapr

Also improved batching and error handling, and added unit tests

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Fixed resetting batchCh and added test

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Added missing copyright header

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-10-31 11:04:07 -07:00
Alessandro (Ale) Segala 272e358ba6
Added `WithFields` to Dapr logger (#22)
Allows adding structured fields to logs, for example:

```go
log.WithFields(map[string]any{"hello": "world"}).Info("my log")
```

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-09-30 11:26:01 -07:00
Alessandro (Ale) Segala 247f04d375
Added to package to convert to pointers (#18)
* Added to package to convert to pointers
Also updated deps and removed agrea/ptr

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-07-26 14:30:19 -04:00
Phil Kedy 1dda80ff3c
Moving the retry and config packages from components-contrib to kit. (#3) 2021-06-02 14:41:42 -04:00
Phil Kedy 6f1fbfeb04
Moved logger from dapr/dapr (#1)
* Moved logger from dapr/dapr

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
Co-authored-by: Young Bu Park <youngp@microsoft.com>
Co-authored-by: Sky/敖小剑 <aoxiaojian@gmail.com>
Co-authored-by: Joni Collinge
Co-authored-by: Jigar <jigarr.gandhi@gmail.com>
Co-authored-by: Ben Wells
Co-authored-by: yellow chicks <cdh_cjx@163.com>
2021-04-10 14:50:34 -04:00