Mike Nguyen
0cd0585b64
fix: arguments accept units ( #1490 )
...
* fix: arguments accept units
`max-body-size` and `read-buffer-size` now accept units as defined in the docs.
Fixes #1489
Signed-off-by: Mike Nguyen <hey@mike.ee>
* chore: gofumpt
Signed-off-by: Mike Nguyen <hey@mike.ee>
* refactor: modify logic to comply with vetting
Signed-off-by: Mike Nguyen <hey@mike.ee>
* chore: gofumpt -w .
Signed-off-by: Mike Nguyen <hey@mike.ee>
* refactor: set defaults
`max-body-size` is defaulted to 4Mi
`request-buffer-size` is defaulted to 4Ki
This is inline with the runtime.
Signed-off-by: Mike Nguyen <hey@mike.ee>
* fix: set defaults in run and annotate
Signed-off-by: Mike Nguyen <hey@mike.ee>
* chore: gofumpt
Signed-off-by: Mike Nguyen <hey@mike.ee>
* refactor: exit with error rather than panic
Co-authored-by: Anton Troshin <troll.sic@gmail.com>
Signed-off-by: Mike Nguyen <hey@mike.ee>
---------
Signed-off-by: Mike Nguyen <hey@mike.ee>
Co-authored-by: Anton Troshin <troll.sic@gmail.com>
2025-02-21 08:11:11 -08:00
Yaron Schneider
ac6822ea69
Remove deprecated flags ( #1482 )
...
* remove deprecated flags
Signed-off-by: yaron2 <schneider.yaron@live.com>
* update Dapr version in tests
Signed-off-by: yaron2 <schneider.yaron@live.com>
---------
Signed-off-by: yaron2 <schneider.yaron@live.com>
2025-02-03 13:27:22 -08:00
Anton Troshin
17f4785906
Update dependencies, Go version and address CVEs ( #1474 )
...
* Update dependencies, Go version and address CVEs
Signed-off-by: Anton Troshin <anton@diagrid.io>
* update golangci-lint version and list of disabled linters form dapr/dapr
Signed-off-by: Anton Troshin <anton@diagrid.io>
* adjust golangci-lint settings and fix lint issues
Signed-off-by: Anton Troshin <anton@diagrid.io>
* fix test
Signed-off-by: Anton Troshin <anton@diagrid.io>
---------
Signed-off-by: Anton Troshin <anton@diagrid.io>
2025-01-09 14:16:44 -08:00
Josh van Leeuwen
e08443b9b3
Remove Docker client dependency from standalone run ( #1443 )
...
Signed-off-by: joshvanl <me@joshvanl.dev>
2024-08-15 13:53:26 -07:00
Mike Nguyen
ed0d3af2d0
fix: scheduler host address passed to runtime ( #1421 )
...
* fix: scheduler host address passed to runtime
Signed-off-by: mikeee <hey@mike.ee>
* fix: scheduler client stream initialised for 1.14<
Signed-off-by: mikeee <hey@mike.ee>
* fix: modify scheduler host address validation
if the scheduler container is not active, the scheduler flag will
not be passed to the runtime
Signed-off-by: mikeee <hey@mike.ee>
* fix: lint and refactor
Signed-off-by: mikeee <hey@mike.ee>
---------
Signed-off-by: mikeee <hey@mike.ee>
2024-07-10 09:37:34 -07:00
Cassie Coyle
fd1d8e85bf
Distributed Scheduler CLI Changes ( #1405 )
...
* wip
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
* rm scheduleJob logic. keep only init/uninstall logic
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
* Fixes install and uninstall of scheduler in standalone mode.
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* Fixing path for Go tools in Darwin.
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* Fix Go bin location for MacOS.
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* Fix min scheduler version to be 1.14.x
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* Use env var to pass scheduler host.
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* Fix CLI build to work with latest MacOS runners from GH
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
---------
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Co-authored-by: Artur Souza <asouza.pro@gmail.com>
2024-07-03 14:58:55 -07:00
Josh van Leeuwen
619cd9cd84
Update dependencies for v1.13.0-rc.6 release ( #1383 )
...
* Update dependencies for v1.13.0-rc.1 release
Signed-off-by: joshvanl <me@joshvanl.dev>
* Update tests/e2e/upgrade/upgrade_test.go
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* Update github.com/dapr/go-sdk to v1.9.1
Signed-off-by: joshvanl <me@joshvanl.dev>
* Ping go-sdk to joshvanl main fork
Signed-off-by: joshvanl <me@joshvanl.dev>
* Update and fix e2e tests in standalone mode
Signed-off-by: joshvanl <me@joshvanl.dev>
* Set correct rc version
Signed-off-by: joshvanl <me@joshvanl.dev>
* Revert go.mod to keep requires for kube & docker auth
Signed-off-by: joshvanl <me@joshvanl.dev>
* Update dapr/dapr to v1.13.0-rc.2
Signed-off-by: joshvanl <me@joshvanl.dev>
* Update to use rc to 2
Signed-off-by: joshvanl <me@joshvanl.dev>
* Update github.com/dapr/go-sdk to main
Signed-off-by: joshvanl <me@joshvanl.dev>
* Update to 1.13.0-rc.6
Signed-off-by: joshvanl <me@joshvanl.dev>
* Fix func name call
Signed-off-by: joshvanl <me@joshvanl.dev>
---------
Signed-off-by: joshvanl <me@joshvanl.dev>
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2024-02-16 11:37:37 -08:00
Mukundan Sundararajan
a15a3eb856
Initial implementation of multi app run for Kubernetes Dev ( #1333 )
...
* initial commit for multi-app run k8s impl
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix import
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* move runfileconfig
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* add protobuf conflict warn env
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* Add pubsub component. Check before component creation.
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix e2e
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix e2e
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix e2e
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* address review comments.
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
---------
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-09-04 08:42:58 +05:30
Alessandro (Ale) Segala
650fd6fe8d
Add APP_PROTOCOL env ( #1318 )
...
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Shubham Sharma <shubhash@microsoft.com>
2023-08-07 12:37:34 +05:30
Mukundan Sundararajan
c3f08b0679
add app channel address flag for run ( #1283 )
...
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-05-31 05:21:02 -07:00
Pravin Pushkar
c65d816612
Move logdestination flag to sharedRunConfig ( #1294 )
...
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-05-30 21:00:34 -07:00
Pravin Pushkar
af9030a383
Change for multiple resources paths ( #1276 )
...
* Initial change for multiple resources paths for normal run
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* multi app run changes for multiple resource paths
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* correct file paths for windows
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* remove checking duplicates
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* addressed review comments
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* Fix tests
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
---------
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-05-25 07:54:20 -07:00
Pravin Pushkar
a59826c0a2
Pinning runtime to 1.11.0-rc.4 ( #1284 )
...
* Pinning runtime to 1.11.0-rc.1
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* dashboard release fix
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* Fix few more E2E tests failures
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* dashboard version fix on init
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* Handle upgrade with dashboard.
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* fixing modtidy
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* export IsDashboardIncluded to be used in E2E
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* update to use rc.4 version of runtime
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
---------
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Artur Souza <asouza.pro@gmail.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-05-25 15:23:28 +05:30
Mukundan Sundararajan
a7f06c3b1b
Fix runtime custom path installation logic ( #1203 )
...
* fix dapr path version, custom installation path logic, e2e
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix linter errors
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix paths for windows
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* rename daprPath to daprRuntimePath
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
---------
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-02-05 21:57:23 -08:00
Mukundan Sundararajan
1a9029ce71
change snake_case run template yaml to camelCase ( #1183 )
...
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-26 21:06:44 -08:00
Mukundan Sundararajan
36893d9483
Add capability to run to support `-f` flag ( #1161 )
...
* refactor run into functions
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* renamed Apps struct as App
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* redirect logs to files. set informational logs. set command dirs
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix linter errors
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix e2e test on non-existent resources-path
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* more fixes
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix merge conflict
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* set default ports for zero values
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix linter errors
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* add more details in error, fix logs in run -f
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* address review comments
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* address review comments
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* add more fixes in template run based on e2e tests
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-20 08:17:34 -08:00
Pravin Pushkar
44d8dcb752
Precedence rule for resources directory, config file and envs ( #1158 )
...
* precedence order for resources path and config path
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* env precedence set
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* pass daprInstallPath
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* test dir structure
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* remove hard coded directory structures
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* UT refactor
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* few fixes w.r.t daprPathCmdFlag
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* switching to pre-created test data folder structure
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* Move Env to SharedRunConfig struct
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* fix bug
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* lint fix
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* review comments
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* fix review comments
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* some refactoring
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* review comments
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-19 22:10:16 +05:30
Pravin Pushkar
37c2b34df5
set default fields via struct default tag ( #1162 )
...
* set default fields via struct default tag
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* review comments
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* change const name
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* app protocol default
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-11 22:45:42 -08:00
Pravin Pushkar
c1f9627ed6
Apps run config template parsing ( #1152 )
...
* initial commit for run template parsing
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* some code refactor.
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* add some UTs
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* call validate
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* add tests and correct err message
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* refactor Runconfig into 2 structs
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* Fix Arg parsing
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* fix UTs. make app-id be inferred from app-dir if empty
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* fix tests
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* put config reltd code into separate folder
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* merge logic for common and apps section of flags.
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* adding tests and few refactoring
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* fix tests
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* file close
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* review comments
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* fix review comments
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* refactor file names
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* resolve path to abs and add more e2e for path resolving
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* address review comments
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* remove getAppskeysmapping
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* add tests, and fix issue for setitng app id when empty.
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* fix tests
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-03 17:19:59 +05:30
mikeb26
53dff409b4
Support environments with broken $HOME ( #1057 )
...
* Support environments with broken $HOME
Currently in standalone mode dapr cli will install the dapr runtime
binaries into $HOME/.dapr. However, in some environments $HOME is
readonly or os.UserHomeDir() can fail (e.g. AWS Lambda). To support
dapr in these environments this change does 2 things:
1. Allows the user to set DAPR_PATH environment variable to indicate
the location of the dapr runtime binaries.
2. Allows the user to optionally specify --dapr-path cli flag to
indicate the location of the dapr runtime binaries. When both
DAPR_PATH environment variable and --dapr-path CLI flag are present,
the cli flag has higher precedence.
When neither DAPR_PATH nor the --dapr-path CLI flag are present, we
fallback to existing behavior of defaulting to $HOME/.dapr.
Signed-off-by: Mike Brown <github@torvosoft.com>
* Address comments
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Address comments
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Address comments
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Fix unit test
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Fix e2e test
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Fix lint
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
Signed-off-by: Mike Brown <github@torvosoft.com>
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
Co-authored-by: Shubham Sharma <shubhash@microsoft.com>
2023-01-03 15:40:06 +05:30
Huei Feng
6c1bc5357c
support resources-path ( #1012 )
...
* support spec-resources-path
Signed-off-by: HueiFeng <695979933@qq.com>
* Update resource-path
Signed-off-by: hueifeng <695979933@qq.com>
* Update resource-path
Signed-off-by: hueifeng <695979933@qq.com>
* fix
Signed-off-by: hueifeng <695979933@qq.com>
* added deprecation message and e2e tests
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* added messages in readme for deprecation and use of resource-path
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* fix lint and failing test case
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Signed-off-by: HueiFeng <695979933@qq.com>
Signed-off-by: hueifeng <695979933@qq.com>
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Shubham Sharma <shubhash@microsoft.com>
Co-authored-by: Pravin Pushkar <ppushkar@microsoft.com>
2022-12-08 01:21:13 -08:00
Shubham Sharma
e926a0f739
Convert string to lower case ( #1137 )
...
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-11-25 10:09:20 +05:30
Albert
13eed0eaf3
Support -dapr-listen-address option to daprd ( #1129 )
2022-11-18 20:49:31 +05:30
Shubham Sharma
8d79ef13ec
Nit: appHealthEnabled => enableAppHealth ( #1087 )
...
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-10-09 23:21:34 -07:00
Alessandro (Ale) Segala
657310541a
Add flags for app health checks ( #1083 )
...
* Add flags for app health checks
Fixes #1082
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* Added tests
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* 💄
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* Update pkg/standalone/run_test.go
Co-authored-by: Shubham Sharma <shubhash@microsoft.com>
Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
* Update pkg/standalone/run_test.go
Co-authored-by: Shubham Sharma <shubhash@microsoft.com>
Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
* fix go version to 1.19.2
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Co-authored-by: Shubham Sharma <shubhash@microsoft.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-10-09 21:59:18 -07:00
Mukundan Sundararajan
65855d5aa0
Upgrade linter to 1.49.0 ( #1051 )
...
* Upgrade linter to 1.49.0
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix linter error
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-08-25 16:58:54 +05:30
Shubham Sharma
f7e2b5f7ef
Make internal-grpc-port option configurable ( #1040 )
...
* Added internal-grpc-port to standalone run options
Signed-off-by: Jigar R Gandhi <jigarr.gandhi@gmail.com>
* Use lib for freeport and accept cmdline args
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Add validate logic for port
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Add e2e test
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
Co-authored-by: Jigar R Gandhi <jigarr.gandhi@gmail.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-08-09 13:47:11 +05:30
qiangmzsx
f8b48c2a8a
Removing the use of the ioutil package ( #1037 )
...
Signed-off-by: qiangmzsx <qiangmzsx@gmail.com>
2022-08-07 17:30:20 +05:30
Huei Feng
b85eee44d5
adding dapr-http-read-buffer-size parameter to cli ( #993 )
...
* Modify path DaprRoot add the SystemDrive environment variable
Signed-off-by: HueiFeng <695979933@qq.com>
* Script for docker install instead of actions-setup-docker (#986 )
* Script for docker install instead of actions-setup-docker
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* trigger pr checks
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Signed-off-by: HueiFeng <695979933@qq.com>
* Format output of dapr --version as JSON. (#878 )
* Format output of dapr --version as JSON.
Signed-off-by: fanfanbj <fanfanbj@outlook.com>
* Format output of dapr --version as JSON.
Signed-off-by: fanfanbj <fanfanbj@outlook.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Signed-off-by: HueiFeng <695979933@qq.com>
* Fix for panic during upgrade of edge version dapr (#983 )
* Fix for panic during upgrade of edge version dapr
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* change console log message
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Signed-off-by: HueiFeng <695979933@qq.com>
* Add dapr annotate command (#873 )
* Add dapr inject command
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
* Add additional opts
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
* Update comment regarding injection
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
* fix some linting issues (more to go)
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
* use existing const in tests
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
* fix some more linting
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
* fix some more linting
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
* udpate tests
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
* udpate tests
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
* add option to run against a URL
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
* refactor cmd/inject.go slightly
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
* update example text
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
* autogenerate appid if not present
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
* Update comment
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
* Add support for target namespace
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
* Update comment
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
* Add warning about app id generation to usage
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
* fix linting issues
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
* rename inject to annotate
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
* go mod tidy
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
* fix lint
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
* update --help URL
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
* add README.md seciton
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Signed-off-by: HueiFeng <695979933@qq.com>
* Update go version to 1.18 (#982 )
* Update go version to 1.18
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
* Bumping golangci-lint
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Signed-off-by: HueiFeng <695979933@qq.com>
* adding dapr-http-read-buffer-size parameter to cli
Signed-off-by: HueiFeng <695979933@qq.com>
Co-authored-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: FanBin <fanfanbj@outlook.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Joni Collinge <jonathancollinge@live.com>
2022-06-09 10:29:43 +05:30
amulyavarote
3684654834
Changed API logging feature on CLI ( #936 )
...
* Changed API logging feature on CLI
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
* Chnaged based on the review comments
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
* Changes based on the review comments in test
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
* change to 1.7.0-rc.2
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix linter errors
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* fix method name
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-03-30 12:27:32 +05:30
amulyavarote
db56a250bc
Added api-log-level flag to log api calls ( #903 )
...
* Added api-log-level flag to log api calls
Signed-off-by: Amulya Varote <amulyavarote@QTM-SWATHIKIL-1.redmond.corp.microsoft.com>
Signed-off-by: Amulya Varote <amulyavarote@Amulyas-MacBook-Pro.local>
* Added api-log-level to README
Signed-off-by: Amulya Varote <amulyavarote@QTM-SWATHIKIL-1.redmond.corp.microsoft.com>
Signed-off-by: Amulya Varote <amulyavarote@Amulyas-MacBook-Pro.local>
* Removed the test case for api-log-level
Signed-off-by: Amulya Varote <amulyavarote@Amulyas-MacBook-Pro.local>
* Removed Readme changes
Signed-off-by: Amulya Varote <amulyavarote@Amulyas-MacBook-Pro.local>
* Added back all the changes
Signed-off-by: Amulya Varote <amulyavarote@Amulyas-MacBook-Pro.local>
* Updated dapr RC version
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
* kind e2e changes
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
* Changed README file
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
* Changed dashboard version
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
* Fixing Go mod tidy.
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
* Reverted dashboard version
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
* Reverted dashboard version
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
* Changed dapr dashboard link
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
* Changed dapr dashboard link
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
* Changed version extract link for kind
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
* Changed version extract link for self hosted
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
* defined variable in kind
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
* stadalone e2e test for api log level
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Amulya Varote <amulyavarote@Amulyas-MacBook-Pro.local>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Pravin Pushkar <ppushkar@microsoft.com>
2022-03-29 17:34:58 +05:30
Shubham Sharma
9472e6d977
Make CLI exit with error code if dapr run or invoke fails ( #905 )
...
* Make CLI exit with error code if dapr or app run fail
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Fail when run command returns error
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Fix test run e2e test
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Fix e2e test cases
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Add exit code for invoke
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Add exit with error code for process kill failure
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Add e2e test for invoke failure
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Invoke invalid app id
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Add another error message in e2e test
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-03-09 19:29:21 +05:30
Mukundan Sundararajan
f7232ee02a
fix log as json flag ( #901 )
...
Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com>
2022-03-09 18:37:44 +05:30
tanvigour
050eb553f2
Go linter upgrade to 1.44.2 ( #908 )
...
* Go linter upgrade to 1.44
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
* remove old excludes and address new ones
Signed-off-by: tanvigour <tanvi.gour@gmail.com>
2022-03-07 13:18:48 +05:30
Anh Le (Andy)
092b93df57
Run: pass missing env variables ( #860 )
...
- In the past, I openned this PR: https://github.com/dapr/cli/pull/770
- DCO had some complaints.
- I incorrectly rebased.
- This PR is made by forking the master branch, modifying related files
Signed-off-by: Andy Le <anhldbk@gmail.com>
2022-01-03 09:27:02 -08:00
Dmitry Shmulevich
0f9d0d3a89
replaced license headers ( #855 )
...
Signed-off-by: Dmitry Shmulevich <dmitry.shmulevich@gmail.com>
2021-12-10 08:09:09 +05:30
Long Dai
4ccf10f9e4
ci: standard linter config ( #793 )
...
Signed-off-by: Long <long0dai@foxmail.com>
Signed-off-by: Long <long.dai@intel.com>
2021-11-01 19:01:51 +05:30
Long Dai
4d75238be8
runtime: support unix domain socket ( #788 )
...
* runtime: support unix domain socket
Signed-off-by: Long <long.dai@intel.com>
* feedback
Signed-off-by: Long <long.dai@intel.com>
* update example
Signed-off-by: Long <long.dai@intel.com>
2021-10-27 13:45:34 -07:00
Anh Le (Andy)
b3cfa05176
Run command: fix bool args passed to daprd ( #768 )
2021-07-20 12:09:35 -04:00
Dmitry Shmulevich
0a37376658
Allow to specify port in placement-host-address ( #746 )
...
* Allow to specify port in placement-host-address
* Update cmd/run.go
Co-authored-by: Charlie Stanley <charlie.stanley@microsoft.com>
Co-authored-by: Charlie Stanley <charlie.stanley@microsoft.com>
2021-06-29 09:22:15 -07:00
Anatoliy
f22233b0da
adding dapr-http-max-request-size parameter to cli ( #703 )
...
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-05-14 07:43:28 -07:00
Yaron Schneider
3ee9e53338
add renewed headers ( #588 )
2021-02-10 08:37:08 -08:00
landlord
fdcae84837
feat: add metrics_port flag ( #555 )
...
Co-authored-by: 李锐 <lirui@meican.com>
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2021-01-06 11:50:10 -08:00
Yaron Schneider
3968200ca9
Update deprecated commands ( #502 )
...
* update deprecated commands
* update tests
2020-11-02 10:21:54 -08:00
Yaron Schneider
1da60115e2
Add ssl command to dapr run ( #498 )
...
* add ssl command to dapr run
* update docs
* update docs
2020-10-22 13:44:45 -07:00
Mukundan Sundararajan
24ca35d78b
Upgrade to linter v1.31.0 ( #447 )
...
* Upgrade to linter v1.30.0
* Remove --fix from lint
* Fix linter issues
* use golang-ci lint action
* Fix linter version
* add linter patch version
* remove linter patch version
2020-10-07 17:24:12 -07:00
Aman Bhardwaj
2a4123efaf
Change init and uninstall behavior for self hosted mode ( #413 )
...
* remove install-path option for dapr init copy bianries under $HOME/.dapr/bin
2020-07-22 14:47:57 -07:00
Mukundan Sundararajan
a82a7487b5
Add Zipkin on dapr init. Add tracing config, zipkin component on init. ( #377 )
...
* Add Zipkin on dapr init. Add tracing config, zipkin component on initial run.
* Fix uninstallAll check
* Move zipkin config to init
* Default run parameter for config
* Updated Readme and dapr run reference
* Address review comments.
* Updated Readme, cli reference
* Address review comments
* Change uninstall cli ref doc
2020-06-22 09:25:10 -07:00
vinayada1
0afc366697
init creates the default component files #371 ( #373 )
...
* init creates the default component files #371
* fix review comments
* fix review comments - 2
* Upgrade to linter version 1.26.0 (#381 )
* init creates the default component files #371
* fix review comments
* fix review comments - 2
* Fix linter error
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
2020-06-16 10:18:53 -07:00
Mukundan Sundararajan
51e208c826
Upgrade to linter version 1.26.0 ( #381 )
2020-06-13 13:03:45 -07:00