- 07 8月, 2023 1 次提交
-
-
由 joshvanl 提交于
Signed-off-by: Njoshvanl <me@joshvanl.dev>
-
- 06 8月, 2023 3 次提交
-
-
由 Alessandro (Ale) Segala 提交于
Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> Co-authored-by: NDapr Bot <56698301+dapr-bot@users.noreply.github.com> Co-authored-by: NMukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
-
由 Alessandro (Ale) Segala 提交于
* Flaky unit tests: fix many race conditions Also increases the timeout on resiliency tests which seem to sometimes take longer on our Actions runners Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Use RWMutex Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> --------- Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> Co-authored-by: NDapr Bot <56698301+dapr-bot@users.noreply.github.com>
-
由 Alessandro (Ale) Segala 提交于
* Fix: AKS tests not working due to invalid K8s version * Fixed AKS SKU Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> --------- Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
-
- 05 8月, 2023 5 次提交
-
-
由 Alessandro (Ale) Segala 提交于
* Updated pinned contrib Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Updated contrib Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Updated pinned contrib Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> --------- Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> Co-authored-by: NDapr Bot <56698301+dapr-bot@users.noreply.github.com>
-
由 Yaron Schneider 提交于
* fix connection leak with app channel Signed-off-by: Nyaron2 <schneider.yaron@live.com> * remove unused var Signed-off-by: Nyaron2 <schneider.yaron@live.com> --------- Signed-off-by: Nyaron2 <schneider.yaron@live.com>
-
由 Alessandro (Ale) Segala 提交于
Removes a 3rd-party dependency which is unmaintained Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> Co-authored-by: NYaron Schneider <schneider.yaron@live.com> Co-authored-by: NDapr Bot <56698301+dapr-bot@users.noreply.github.com>
-
由 Yaron Schneider 提交于
* return error on failing grpc app health probe Signed-off-by: Nyaron2 <schneider.yaron@live.com> * add setResult=false to error condition Signed-off-by: Nyaron2 <schneider.yaron@live.com> * remove comment Signed-off-by: Nyaron2 <schneider.yaron@live.com> --------- Signed-off-by: Nyaron2 <schneider.yaron@live.com>
-
由 Josh van Leeuwen 提交于
* Use eventuallys in outbox integration tests Signed-off-by: Njoshvanl <me@joshvanl.dev> * Linting Signed-off-by: Njoshvanl <me@joshvanl.dev> --------- Signed-off-by: Njoshvanl <me@joshvanl.dev>
-
- 04 8月, 2023 3 次提交
-
-
由 Alessandro (Ale) Segala 提交于
On my dev box, these tests were failing over 50% of times, due to race conditions in the tests (not in the code) Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
-
由 Yaron Schneider 提交于
* add outbox Signed-off-by: Nyaron2 <schneider.yaron@live.com> * linter part 1 Signed-off-by: Nyaron2 <schneider.yaron@live.com> * slice linter Signed-off-by: Nyaron2 <schneider.yaron@live.com> * linter Signed-off-by: Nyaron2 <schneider.yaron@live.com> * use ordinance for encryption slice Signed-off-by: Nyaron2 <schneider.yaron@live.com> * change policy return value and uuid Signed-off-by: Nyaron2 <schneider.yaron@live.com> * add resiliency for delete Signed-off-by: Nyaron2 <schneider.yaron@live.com> * add lint ignore Signed-off-by: Nyaron2 <schneider.yaron@live.com> * export extractCloudEventProperty --------- Signed-off-by: Nyaron2 <schneider.yaron@live.com> Co-authored-by: NArtur Souza <asouza.pro@gmail.com>
-
由 Alessandro (Ale) Segala 提交于
To prevent E2E tests failing when charts are upgraded (like they are today). Also makes sure that Postgres is installed always. Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
-
- 03 8月, 2023 3 次提交
-
-
由 Josh van Leeuwen 提交于
Signed-off-by: Njoshvanl <me@joshvanl.dev> Co-authored-by: NDapr Bot <56698301+dapr-bot@users.noreply.github.com>
-
由 Mike 提交于
* fix spellings and whitespace Signed-off-by: Nmikeee <hey@mike.ee> * fix capitalizations Signed-off-by: Nmikeee <hey@mike.ee> * remove extraneous url description Signed-off-by: Nmikeee <hey@mike.ee> * add missing uri Signed-off-by: Nmikeee <hey@mike.ee> * remove invalid properties defined Signed-off-by: Nmikeee <hey@mike.ee> * force test rerun Signed-off-by: Nmikeee <hey@mike.ee> --------- Signed-off-by: Nmikeee <hey@mike.ee>
-
由 Alessandro (Ale) Segala 提交于
* Fixed: container logs missing in E2E tests Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * No more warning `spec.template.spec.imagePullSecrets[0].name: invalid empty name ""` Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Reduce noise in logs by better component scoping Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Scoping inmemory state store Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Fixed reminders perf tests Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * More tight scoping for messagebus components Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> *
💄 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Fixes Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Allow enabling debug logging per-app Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> *💄 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * External service invocation test: add healthchecks Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Should fix perf tests Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Improved logs * Added missing method Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Various fixes Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * More test fixes Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Fixes Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Appeasing the linter overloards Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> --------- Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
-
- 02 8月, 2023 1 次提交
-
-
由 Taction 提交于
Signed-off-by: Nzhangchao <zchao9100@gmail.com> Co-authored-by: NArtur Souza <asouza.pro@gmail.com>
-
- 01 8月, 2023 3 次提交
-
-
由 Josh van Leeuwen 提交于
* Rewrite sentry to correctly authenticate clients based on their actor ID. Signed-off-by: Njoshvanl <me@joshvanl.dev> * Fix sentry ca selfhosted tests for windows Signed-off-by: Njoshvanl <me@joshvanl.dev> * Linting Signed-off-by: Njoshvanl <me@joshvanl.dev> * Use correct expected file perm in tests according to host OS Signed-off-by: Njoshvanl <me@joshvanl.dev> * Linting Signed-off-by: Njoshvanl <me@joshvanl.dev> * Include `cluster.local` to DNS of workload certificates Signed-off-by: Njoshvanl <me@joshvanl.dev> * Fix sentry ca test after `cluster.local` changes Signed-off-by: Njoshvanl <me@joshvanl.dev> * Always set DNS of workload identities with the app ID and namespace, special casing injector and operator Signed-off-by: Njoshvanl <me@joshvanl.dev> * Linting Signed-off-by: Njoshvanl <me@joshvanl.dev> * Use `cluster.local` for TLD of workload DNS names Signed-off-by: Njoshvanl <me@joshvanl.dev> *
💄 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Use only `"github.com/golang-jwt/jwt/v4"`, and add all older versions to block list in CI. Signed-off-by: Njoshvanl <me@joshvanl.dev> * Use `github.com/lestrrat-go/jwx/v2/jwt` for kubernetes sentry validator package Signed-off-by: Njoshvanl <me@joshvanl.dev> * Linting Signed-off-by: Njoshvanl <me@joshvanl.dev> * Remove noDefaultTokenAudience from sentry Signed-off-by: Njoshvanl <me@joshvanl.dev> * Use `pkg/validation` in sentry request validation Signed-off-by: Njoshvanl <me@joshvanl.dev> * Use errors.Join for common validation checks Signed-off-by: Njoshvanl <me@joshvanl.dev> * Use PKCS#8 for private keys Signed-off-by: Njoshvanl <me@joshvanl.dev> * Change sentry root CA liftime to 1 year Signed-off-by: Njoshvanl <me@joshvanl.dev> * Remove old deprecated no audience token. Add TODO for myself about adding doc link to CLI flag. Signed-off-by: Njoshvanl <me@joshvanl.dev> * Update token tests now that kube token has been removed Signed-off-by: Njoshvanl <me@joshvanl.dev> * Rename `validator.Interface` to `validator.Interface` Signed-off-by: Njoshvanl <me@joshvanl.dev> * Rename `Test_` to `Test` Signed-off-by: Njoshvanl <me@joshvanl.dev> * Make sure test names have capital after `Test` Signed-off-by: Njoshvanl <me@joshvanl.dev> * Expose `GenerateCABundle` Signed-off-by: Njoshvanl <me@joshvanl.dev> * Rename security.Interface to security.Handler Signed-off-by: Njoshvanl <me@joshvanl.dev> * Rename `ca.Interface` to `ca.Signer` Signed-off-by: Njoshvanl <me@joshvanl.dev> * Export CABundle fields Signed-off-by: Njoshvanl <me@joshvanl.dev> * Re-add lost sentry options to set custom certificate/key/ca PEM fields Signed-off-by: Njoshvanl <me@joshvanl.dev> * Go modules Signed-off-by: Njoshvanl <me@joshvanl.dev> * New Sentry: add JWKS validator Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Use enum from protobuf Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Added enum to CRD Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Use enums in pkg/runtime/sentry too Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Update pkg/runtime/security/auth.go Co-authored-by: NJosh van Leeuwen <me@joshvanl.dev> Signed-off-by: NAlessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com> * First round of reviews Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Remove support for env var DAPR_SENTRY_TOKEN Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * JWKS: Enforce subject to be a SPIFFE ID to validate also trust domain and namespace Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Use spiffeid library to construct SPIFFE ID Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Using SPIFFE ID when making request to Sentry Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Fixes Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Use RunnerManager Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> *💄 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Added base for integration tests Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Comment Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Update pkg/sentry/server/validator/jwks/jwks.go Co-authored-by: NJosh van Leeuwen <me@joshvanl.dev> Signed-off-by: NAlessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com> * First test Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Added IT for insecure validator Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * First tests for JWKS validator Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Working on tests for JWKS token validator Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Fixed tests Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Completed tests Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: NJosh van Leeuwen <me@joshvanl.dev> Signed-off-by: NAlessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com> * Updated per review feedback Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Updated per review feedback Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Updated per review feedback Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Split tests into two structs Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> *💄 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Added more tests Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> *💄 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * More validations Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Don't log a warning when signing non-special case sentry client. `Spiffe` -> `SPIFFE` Signed-off-by: Njoshvanl <me@joshvanl.dev> * Restructure sentry validator integration tests to a new subpackage Signed-off-by: Njoshvanl <me@joshvanl.dev> * go mod tidy Signed-off-by: Njoshvanl <me@joshvanl.dev> * Use correct credentials file path for sentry trust bundle Signed-off-by: Njoshvanl <me@joshvanl.dev> * Deduplicate code between pkg/runtime/security and pkg/security Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Use a single function to get Sentry token Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Fixed: restore support for Dapr <= 1.11 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Check sentry config for nil pointers to prevent panic Signed-off-by: Njoshvanl <me@joshvanl.dev> * Set pointers for config specs Signed-off-by: Njoshvanl <me@joshvanl.dev> * Sentry: kubernetes validator: check access control spec is nil to prevent panic Signed-off-by: Njoshvanl <me@joshvanl.dev> * Return `public` trust domain if access control spec is nil or is empty Signed-off-by: Njoshvanl <me@joshvanl.dev> * Make token validators optional and use correct jwks enum in configuration crd Signed-off-by: Njoshvanl <me@joshvanl.dev> * Linting Signed-off-by: Njoshvanl <me@joshvanl.dev> * go mod tidy Signed-off-by: Njoshvanl <me@joshvanl.dev> --------- Signed-off-by: Njoshvanl <me@joshvanl.dev> Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> Signed-off-by: NAlessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com> Co-authored-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> Co-authored-by: NArtur Souza <asouza.pro@gmail.com> -
由 Alessandro (Ale) Segala 提交于
* [fix #6739] Do not send duplicate querystring on HTTP invocation Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Added unit tests Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> --------- Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> Co-authored-by: NYaron Schneider <schneider.yaron@live.com>
-
由 Josh van Leeuwen 提交于
* Use `wait` rather than `lsof` to wait for the sidecar process to shutdown. Default variables used in script. Make curl silent. Use `/usr/bin/env bash` rather than `/bin/bash` as this path is not available on all systems. Signed-off-by: Njoshvanl <me@joshvanl.dev> * Echo all issues found in the sidecar resources, and exit 1 if any of them are found. Signed-off-by: Njoshvanl <me@joshvanl.dev> * Remove env var declarations in workflow where the value matches the script default Signed-off-by: Njoshvanl <me@joshvanl.dev> --------- Signed-off-by: Njoshvanl <me@joshvanl.dev>
-
- 28 7月, 2023 2 次提交
-
-
由 Loong Dai 提交于
Remove unwanted Actor Reminder log line
-
由 Deepanshu Agarwal 提交于
Signed-off-by: NDeepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
-
- 27 7月, 2023 4 次提交
-
-
由 Alessandro (Ale) Segala 提交于
* Moved injector service into sub-folder Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> *
💄 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * More💄 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * More💄 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Breaking some stuff Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * More WIP Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * More WIP Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * More WIP Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Starting to look right Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * More WIP Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Looking much better already Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Moved some UTs Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Working on tests Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * More changes for tests Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Unit tests now passing Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Multiple fixes Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> *💄 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> *💄 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * 🧹 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Add test for annotation completeness Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> *💄 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Added a bunch more unit tests Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Lots more unit tests Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> *💄 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Changes per code review Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Fixes per code review Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Simplified tests Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Fixes Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Fixed support for UDS Fixes #6705 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Added unit tests Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Added gRPC tests to metadata E2E test Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Added E2E tests Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> --------- Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> Co-authored-by: NDapr Bot <56698301+dapr-bot@users.noreply.github.com> Co-authored-by: NMukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> -
由 Alessandro (Ale) Segala 提交于
* Updated pinned components-contrib Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Add MultiMaxSize Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Updated actors.executeStateStoreTransaction too Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Fixes Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> --------- Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> Co-authored-by: NDapr Bot <56698301+dapr-bot@users.noreply.github.com>
-
由 Josh van Leeuwen 提交于
-> `1000` Signed-off-by: Njoshvanl <me@joshvanl.dev> Co-authored-by: NAlessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com> Co-authored-by: NYaron Schneider <schneider.yaron@live.com>
-
由 Josh van Leeuwen 提交于
Signed-off-by: Njoshvanl <me@joshvanl.dev>
-
- 26 7月, 2023 2 次提交
-
-
由 Ryan Lettieri 提交于
* Updating batch size for workflow Signed-off-by: NRyan Lettieri <ryanLettieri@microsoft.com> * Creating dockerfile for windows workflow Signed-off-by: NRyan Lettieri <ryanLettieri@microsoft.com> * Reverting mis-added file Signed-off-by: NRyan Lettieri <ryanLettieri@microsoft.com> --------- Signed-off-by: NRyan Lettieri <ryanLettieri@microsoft.com>
-
由 Josh van Leeuwen 提交于
* Refactor runtime.go so more lifecycle is managed by the runtime processor. Signed-off-by: Njoshvanl <me@joshvanl.dev> * Linting Signed-off-by: Njoshvanl <me@joshvanl.dev> * Close all components concurrently, and fatal after graceful shutdown timeout Signed-off-by: Njoshvanl <me@joshvanl.dev> * Linting Signed-off-by: Njoshvanl <me@joshvanl.dev> * linting Signed-off-by: Njoshvanl <me@joshvanl.dev> * Revert returning error when publish returns io.EOF Signed-off-by: Njoshvanl <me@joshvanl.dev> * Use channels appHTTPClient for actors Signed-off-by: Njoshvanl <me@joshvanl.dev> * Use correct input binding type when checking component in init Signed-off-by: Njoshvanl <me@joshvanl.dev> * Add info log line when runtime has successfully shutdown Signed-off-by: Njoshvanl <me@joshvanl.dev> * Linting Signed-off-by: Njoshvanl <me@joshvanl.dev> * Initialise channels after loading HTTP endpoints Signed-off-by: Njoshvanl <me@joshvanl.dev> * Update new pubsub tests for new pubsub processor Signed-off-by: Njoshvanl <me@joshvanl.dev> --------- Signed-off-by: Njoshvanl <me@joshvanl.dev> Co-authored-by: NYaron Schneider <schneider.yaron@live.com>
-
- 25 7月, 2023 5 次提交
-
-
由 Deepanshu Agarwal 提交于
* Fix race conditions in actor timer deletion/replacement Also separate timers into an interface Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Rename internal to placement Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Move to internal package Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Added interrace for reminders Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Expose ErrReminderCanceled Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Rewire reminders Signed-off-by: NDeepanshu Agarwal <deepanshu.agarwal1984@gmail.com> * Continue refactoring Signed-off-by: NDeepanshu Agarwal <deepanshu.agarwal1984@gmail.com> * Remove commented Signed-off-by: NDeepanshu Agarwal <deepanshu.agarwal1984@gmail.com> * Removed actors/utils Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> *
💄 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Update few tests Signed-off-by: NDeepanshu Agarwal <deepanshu.agarwal1984@gmail.com> * UT update Signed-off-by: NDeepanshu Agarwal <deepanshu.agarwal1984@gmail.com> * Update UTs 2 Signed-off-by: NDeepanshu Agarwal <deepanshu.agarwal1984@gmail.com> * Reminders UTs working state Signed-off-by: NDeepanshu Agarwal <deepanshu.agarwal1984@gmail.com> * Lint Signed-off-by: NDeepanshu Agarwal <deepanshu.agarwal1984@gmail.com> * UTs should be working now Signed-off-by: NDeepanshu Agarwal <deepanshu.agarwal1984@gmail.com> * Add License Signed-off-by: NDeepanshu Agarwal <deepanshu.agarwal1984@gmail.com> * Incorporate review comments Signed-off-by: NDeepanshu Agarwal <deepanshu.agarwal1984@gmail.com> * UT updation Signed-off-by: NDeepanshu Agarwal <deepanshu.agarwal1984@gmail.com> * Some fixes Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Fixed race conditions in tests and other improvements Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * More tests for goroutine leaks Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * More test fixes Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Moved timer metrics test Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> *💄 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Trasfer timers Unit tests Signed-off-by: NDeepanshu Agarwal <deepanshu.agarwal1984@gmail.com> * Lint Signed-off-by: NDeepanshu Agarwal <deepanshu.agarwal1984@gmail.com> * Tweak to make tests more stable Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Three changes: 1. Fixed: do not invoke Init() on reminders multiple times. Use a separate callback for when the placement tables have been updated 2. Remove the need for a TTL timer in reminders and timers 3. Ensure timer and reminders both have Init() and Close() methods with the right syntax Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Fixed some tests Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Reminders: use more atomic operations on activeReminders Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Moved placement interface to internal package and added errors to Start/Close Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> *💄 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> *💄 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Address review feedback Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> --------- Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> Signed-off-by: NDeepanshu Agarwal <deepanshu.agarwal1984@gmail.com> Co-authored-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> Co-authored-by: NYaron Schneider <schneider.yaron@live.com> Co-authored-by: NDapr Bot <56698301+dapr-bot@users.noreply.github.com> -
由 Josh van Leeuwen 提交于
* Remove `continue-on-error` from Windows integration test step Signed-off-by: Njoshvanl <me@joshvanl.dev> * tests/integration/suite/daprd/state/http/fuzz: wrap component name in single quotes Signed-off-by: Njoshvanl <me@joshvanl.dev> --------- Signed-off-by: Njoshvanl <me@joshvanl.dev> Co-authored-by: NMukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
-
由 Ryan Lettieri 提交于
* Cherry-picking #6659 (wf fix) Signed-off-by: NRyan Lettieri <ryanLettieri@microsoft.com> * New branch for workflow e2e Signed-off-by: NRyan Lettieri <ryanLettieri@microsoft.com> * Reformated workflow test to be more modular Signed-off-by: NRyan Lettieri <ryanLettieri@microsoft.com> * Cleaning up the wf test a bit more and removing sleep from controller Signed-off-by: NRyan Lettieri <ryanLettieri@microsoft.com> * Fixed instanceID for resumed workflow check Signed-off-by: NRyan Lettieri <ryanLettieri@microsoft.com> * Fixing comparison string in pause resume test Signed-off-by: NRyan Lettieri <ryanLettieri@microsoft.com> * Addressing some review comments Signed-off-by: NRyan Lettieri <ryanLettieri@microsoft.com> * Addressing more review comments Signed-off-by: NRyan Lettieri <ryanLettieri@microsoft.com> --------- Signed-off-by: NRyan Lettieri <ryanLettieri@microsoft.com>
-
由 kovalromank 提交于
* added protected topics to pub/sub Pub/sub topics can be marked as protected. Apps without explicit publish/subscribe scopes for a protected topic will not be able to publish/subscribe to it. Previous behaviour of scopes was maintained. Updated tests to include all protected scope functionality. Closes #5843. Signed-off-by: NRoman Koval <romankoval10@gmail.com> * make pub/sub topic metadata match case-insensitive Signed-off-by: NRoman Koval <romankoval10@gmail.com> --------- Signed-off-by: NRoman Koval <romankoval10@gmail.com> Co-authored-by: NYaron Schneider <schneider.yaron@live.com>
-
由 Shivam Kumar Singh 提交于
* Added azure openai component. Signed-off-by: NShivam Kumar Singh <shivamhere247@gmail.com> * Resolve Comments Signed-off-by: NShivam Kumar Singh <shivamhere247@gmail.com> * Updated pinned contrib Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * Update versions Signed-off-by: NShivam Kumar Singh <shivamhere247@gmail.com> --------- Signed-off-by: NShivam Kumar Singh <shivamhere247@gmail.com> Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> Co-authored-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> Co-authored-by: NDapr Bot <56698301+dapr-bot@users.noreply.github.com>
-
- 22 7月, 2023 3 次提交
-
-
由 Alessandro (Ale) Segala 提交于
Fixed: operations on reminders should not be allowed if the sidecar isn't hosting actors of that type (#6493) Fixes #6150 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> Co-authored-by: NDapr Bot <56698301+dapr-bot@users.noreply.github.com>
-
由 Josh van Leeuwen 提交于
* tests/integration: Create framework util for creating filenames compatible with the operating system Signed-off-by: Njoshvanl <me@joshvanl.dev> * Refactor FreePort into framework/util Signed-off-by: Njoshvanl <me@joshvanl.dev> * Use `string` slice rather than `rune`. Signed-off-by: Njoshvanl <me@joshvanl.dev> * Disallow file names with space as prefix Signed-off-by: Njoshvanl <me@joshvanl.dev> * Ensure file names are valid path names Signed-off-by: Njoshvanl <me@joshvanl.dev> * Use file util in daprd/secret/http/fuzz test Signed-off-by: Njoshvanl <me@joshvanl.dev> * Ensure filename doesn't have a space as a prefix Signed-off-by: Njoshvanl <me@joshvanl.dev> --------- Signed-off-by: Njoshvanl <me@joshvanl.dev> Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> Co-authored-by: NDapr Bot <56698301+dapr-bot@users.noreply.github.com> Co-authored-by: NAlessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
-
由 Artur Souza 提交于
[DO NOT SQUASH] Merge release-1.11 into master
-
- 21 7月, 2023 5 次提交
-
-
https://github.com/dapr/dapr由 ItalyPaleAle 提交于
Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
-
由 Josh van Leeuwen 提交于
constraint related flakes in CI. Signed-off-by: Njoshvanl <me@joshvanl.dev> Co-authored-by: NAlessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
-
由 Josh van Leeuwen 提交于
-
由 Alessandro (Ale) Segala 提交于
The APITokenAuthMiddleware allowed bypassing the check if the path included `/healthz`. An attacker only needed to include `/healthz` in the URL, even the querystring, to bypass the API token check, for example `/v1.0/invoke/myapp/method/something?foo=/healthz`. Additionally, this was not checking the method of the request, so requests to `POST /healthz` would cause a service invocation to happen. This fixes the issue by making the check a lot more strict. The API token check can be bypassed only if: - The path is exactly `/v1.0/healthz` or `/v1.0/healthz/outbound` (slashes are trimmed on each side) - The method is `GET` Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
-
由 Alessandro (Ale) Segala 提交于
* E2E: Run upgrade test with Dapr 1.10 and 1.11 Changes upgrade tests to use Dapr 1.10.x (upcoming N-2) and 1.11.x. (upcoming N-1), instead of 1.9.x only (upcoming N-3) Upgrade tests (from 1.11) now work on Windows too Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> * 🧹 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> *
💄 Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> --------- Signed-off-by: NItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> Co-authored-by: NDapr Bot <56698301+dapr-bot@users.noreply.github.com> Co-authored-by: NMukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
-