Commit Graph

98 Commits

Author SHA1 Message Date
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
Phil Kedy 05c39b97eb Removing `\n` because a newline is printed by Println 2021-04-22 12:26:07 -04:00
Charlie Stanley 328a6f99f1 CLI run should detect that either daprd or the app has exited and clean up 2021-04-02 14:54:02 -07:00
meijin ced4c64d80
when start app error try to stop daprd process (#646)
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
2021-04-02 09:10:59 -07:00
Charlie Stanley 4ad42fffbc
Use a named event for dapr stop on Windows (#631) (#638) 2021-03-22 15:46:41 -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 3ae4ae2acf
preserve daprd log output (#559) 2020-12-15 13:47:58 -08:00
Mukundan Sundararajan 8581493ce8 Add dotnet run example 2020-12-11 16:13:20 -08:00
Mukundan Sundararajan 51bbd0a171
updated help messages. provide example for commands. (#544) 2020-12-08 12:04:11 -08:00
Mukundan Sundararajan d4e8c54456
remove image flag from run command. (#543) 2020-12-07 16:32:34 -08:00
Mukundan Sundararajan 2495648629
Make flags consistent across commands. (#541)
update help messages
2020-12-03 14:32:39 -08:00
Yaron Schneider 3968200ca9
Update deprecated commands (#502)
* update deprecated commands

* update tests
2020-11-02 10:21:54 -08:00
Artur Souza 6a303e71f7
Rewording of help messages. (#501)
* Delete reference docs, since docs website has those now.

* Rewording of help messages.
2020-10-29 16:08:21 -07: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
Yaron Schneider 71c4525b2c
Refactor invoke and remove deprecated commands (#492)
* refactor invoke and remove deprecated commands

* fix lint

* fix lint

* add delete and put tests
2020-10-16 10:49:13 -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
Artur Souza 604c968af1
Waits for dapr sidecar before running app without port. (#461) 2020-09-15 19:11:24 -07:00
Mukundan Sundararajan 4e167f03e6
Fix logs on error (#448) 2020-08-27 11:01:56 -07:00
Pruthvidhar R Dhodda 35b9a824d2
Normalize "dapr run" flags (#420)
* Normalize flags
* deprecate port, grpc-port, placement-host

* Fix build

* Add short hands for protocols

Co-authored-by: Aman Bhardwaj <amanbha@users.noreply.github.com>
2020-08-10 11:49:04 -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
Aman Bhardwaj a9a8bc3ac2
passing components folder to daprd (#367)
* passing components folder to daprd

* fixing tests

* fixing tests

* using cli flag to set default value for components path

* fixing build

* linter

* linter

* fixing tests
2020-06-05 21:33:57 -07:00
Artur Souza c37118166b
Fix components path help message. (#364) 2020-06-05 18:32:55 -07:00
Aman Bhardwaj 15a3ffa1d7
Revert usage of enableJSONSecretStore flag. (#358)
* Revert "Implementing #344 (#347)"

This reverts commit 98f8818260.

* Fixing linter issue.
2020-06-04 15:55:26 -07:00
Carlos Mendible 98f8818260
Implementing #344 (#347)
* Implementing #344

* renamed flag to enable-json-secretstore
2020-05-27 20:51:09 -07:00
Sashi Kumar 4cec1ba714
Add flag to provide custom components directory path for dapr run (#326)
Add default to usage description
2020-05-11 14:50:29 -07:00
Ben Coleman 2e607cb6de
minor fix to log-level help text for `dapr run` (#320) 2020-04-25 04:58:17 -07:00
Artur Souza 422094a59c
Fix 'dapr list' to include cli PID and info (#298) 2020-03-10 19:24:12 -07:00
Artur Souza eb76cbf220
Stateless version of `dapr list`. (#289) 2020-03-09 16:19:05 -07:00
Artur Souza e70f84b03e
Allows run without app and daemon mode for Unix-based OS. (#276) 2020-02-24 14:30:40 -08:00
Young Bu Park f84566fb2b
Enable linter and fix all linter errors (#241)
* Enable golangci linter

* remove gomnd

* upgrade golang lint

* upgrade go to 1.13.7

* fix messages

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
2020-02-03 09:07:32 -08:00
Greg Ingram e759a815ed Capitalized Dapr and uppercase CLI (#215)
* Capitalized Dapr

* Fixed wording

* Uppercase CLI

* Missed capitalized Dapr

* Fix uninstall description
2019-11-25 09:37:45 -08:00
Phillip Hoff 65555f5cb8 Allow setting flags via environment variables (#210)
* Use viper to pull flags from environment variable.

* Allow Docker network be specified via environment variable.

* Sketch Dapr init/run CLI command reference.

* Sketch remainder of Dapr CLI command docs.

* Add note re: environment variables.
2019-11-20 10:29:53 -08:00
Phillip Hoff 997ab8ce38 Allow installation of Dapr runtime into a specific Docker network (#192)
* Allow option to specify Docker network for containers.

* Add network aliases when on a specific network

* Allow Redis and placement server hosts be specified

* Don't expose container ports when on explicit network

* Use a network-specific container name.

* Update docs.

* Update per PR feedback.
2019-11-06 10:17:55 -08:00
Leon Mai 9d1b84578a Remove --kubernetes option from dapr run (#196)
* Remove --kubernetes option from dapr run

* Remove comment
2019-11-06 10:11:41 -08:00
Aman Bhardwaj 6debcf2610 Adding license header and updating to MIT license. 2019-10-08 16:36:31 -07:00
Luke Kim 9b0e911f37 Fix spelling (#122) 2019-10-08 11:26:22 -07:00
Yaron Schneider 00aa0babef
add grpc support (#118) 2019-10-07 16:56:03 -07:00
Yaron Schneider 36973dca2f
name change (#109) 2019-10-02 16:40:04 -07:00
Yaron Schneider 1d3a687043
support runtime's max concurrency setting (#108) 2019-10-01 11:14:13 -07:00
Yaron Schneider c41a9d1985
added configurable log level (#82)
* added configurable log level

* added readme instruction
2019-09-17 10:09:45 -07:00
Yaron Schneider 8093a7fbca add profiling to run command (#62) 2019-09-10 12:58:08 -07:00
Haishi2016 427981528a add config switch (#46) 2019-08-26 14:43:33 -07:00
Yaron Schneider ce7a31b8f6
Add stop command (#45)
* added stop command

* readme update
2019-08-20 12:27:56 -07:00
Yaron Schneider d977e676d5
adjust CLI to runtime 0.2.0-alpha (#21)
* adjust CLI to runtime 0.2.0-alpha

* fix typo

* change to :latest image

* fix action-id to actions-id

* make runtime api version injectible

* remove redundant print
2019-07-25 11:13:04 -07:00
yaron2 8564568ba3 initial commit 2019-06-20 15:28:52 -07:00