Commit Graph

259 Commits

Author SHA1 Message Date
Yaron Schneider edaae6e199
add pubsub component name to publish command (#435) 2020-08-14 09:36:25 -07:00
Yaron Schneider 294fa19a20
Add root cert expiry check command (#434)
* add root cert expiry check command

* fix helm repo url
2020-08-13 18:08:34 -07:00
Will Smith ac1d1b7a94
Adding dashboard version command (#433)
* fix dapr latest version check for dapr init -k

* adding dashboard --version command

* printing result of version call

* updated reference doc for dashboard version command

* cleaning up commit
2020-08-13 15:32:40 -07:00
Yaron Schneider 2dfe958269
Refactor init on kubernetes to use Helm (#432)
* refactor init on kubernetes to use Helm

* linter

* linter 2

* update README

* change repo url
2020-08-13 12:59:47 -07:00
Yaron Schneider 155db36c7a
Add certificate export command (#431)
* add certificate export command

* fix linter

* remove redundant binary

* added break

* added comment
2020-08-12 17:19:41 -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
Will Smith 48f9e64520
fixed duplicate init message on linux (#428) 2020-08-06 15:07:21 -07:00
Will Smith 5c3eb03030
Adding self-hosted integration to Dashboard command (#427)
* added function to install dashboard binaries

* added to waitgroup

* updated installBinary method to support non-dapr repositories

* adding dashboard binaries

* binary install working for daprd and dashboard on linux

* added dashboard command for standalone

* updated dashboard documentation

* changed linux home directory to be outside of root

* fixing version issue

* moved location of extracted web folder

* fixing path issues on linux

* changed dashboard to take latest version

* updated documentation for dashboard standalone

* fixed issue where binary name was unknown in non-default path dapr install

* added user error message for dashboard not found error

* fixing linting issues

* adding dashboard compatibility changes

* mark dashboard flag as required

* syncing compatibility branch and master

* fixing uninstall error

* removing unnecessary check

* removing unused constants

* changed standalone untar method openfile mode

* added missing error message

* removed windows binary check in untar method

* updating unzip method to support multiple files in archive

* adding sanitizeExtractPath method and limiting archive copy bytes

* changed max file size to 100MB

* removing max file size limit

* removing debug statement

* Adding dashboard command to allow for standalone dashboard launch

* removed -rc tag downloads for dashboard

* removing extra alias

* adding function moveDashboardFiles to simplify installBinary function

* moving dashboard command logic to standalone/dashboard.go

* removing error channel from moveDashboardFiles

* removing error channel from moveDashboardFiles

Co-authored-by: Shalabh Mohan Shrivastava <shalabhs@microsoft.com>
2020-08-06 14:11:55 -07:00
Will Smith 12b0651c94
Setup for addition of dashboard self-hosted command (#417)
* added function to install dashboard binaries

* added to waitgroup

* updated installBinary method to support non-dapr repositories

* adding dashboard binaries

* binary install working for daprd and dashboard on linux

* added dashboard command for standalone

* updated dashboard documentation

* changed linux home directory to be outside of root

* fixing version issue

* moved location of extracted web folder

* fixing path issues on linux

* changed dashboard to take latest version

* updated documentation for dashboard standalone

* fixed issue where binary name was unknown in non-default path dapr install

* added user error message for dashboard not found error

* fixing linting issues

* adding dashboard compatibility changes

* mark dashboard flag as required

* syncing compatibility branch and master

* fixing uninstall error

* removing unnecessary check

* removing unused constants

* changed standalone untar method openfile mode

* added missing error message

* removed windows binary check in untar method

* updating unzip method to support multiple files in archive

* adding sanitizeExtractPath method and limiting archive copy bytes

* changed max file size to 100MB

* removing max file size limit

* removing debug statement

* removing tabs in cmd/dashboard.go

* fixing whitespace issues

Co-authored-by: Shalabh Mohan Shrivastava <shalabhs@microsoft.com>
2020-08-04 11:48:45 -07:00
Yaron Schneider 06d64bf7ac
make version flags consistent for init/uninstall (#425) 2020-07-30 08:41:35 -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
Artur Souza 94396d6bfe
Notify dapr/homebrew-tap on new release. (#408) 2020-07-21 19:04:18 -07:00
Mukundan Sundararajan 8814c74d75
add readme note for uninstall in linux (#400)
* add readme note for uninstall in linux

* Update README.md

Co-authored-by: Young Bu Park <youngp@microsoft.com>
2020-07-14 14:14:02 -07:00
Will Smith da5e4ce7b8
Fixed uninstall command to take the version in kubernetes mode to uninstall (#398)
* fixed versioning issue

* updated readme

* updated uninstall section in docs

* moved uninstall flag information in readme

* Updated docs for runtime version flag

* added documentation to CLI flag
2020-07-14 13:19:52 -07:00
Young Bu Park a45842ce62
Fix operator pod crash (#397) 2020-07-14 10:14:15 -07:00
Mukundan Sundararajan 5f9cb755a8
Fix/windows cli issue (#394)
* Close ZipReader properly

* Do not remove bin file on extraction
2020-07-13 20:18:57 -07:00
Haya Kawamitsu 89b7516cac
Added command completion feature to Dapr CLI (#369)
* Added command completion feature to dapr cli

* Add command completion for powershell

* Add missing license

Co-authored-by: Young Bu Park <youngp@microsoft.com>
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
2020-07-13 17:31:06 -07:00
Mukundan Sundararajan 5ba8e9ab39
Fix messages on init and uninstall (#392) 2020-07-13 16:50:51 -07:00
Mukundan Sundararajan ff2d5dd482
Initialize dapr without docker dependency (#386)
* Initialize dapr without docker dependency

* Create default empty components dir

* Remove --slim flag from uninstall command

* Changed phrasing

* Updated Readme

* Clarify slim init use case

* language corrections

Co-authored-by: Mark Chmarny <mchmarny@users.noreply.github.com>
Co-authored-by: Ori Zohar <orzohar@microsoft.com>
2020-07-10 16:32:45 -07:00
Will Smith 8b58e2cba3
Dashboard integration: Updating user requirements and port-forwarding correct namespace (#390)
* removed prerequisite for dapr dashboard command

* updated dashboard command to accept namespace

* removed -n flag to set namespace

* fixing linting issues

* dapr dashboard command now supports -n namespace argument

* fixing format issue

* printing error on failed k8s config load

* added defaultNamespace constant, fixed duplication bug

* changed to tell user which namespace dashboard is found in

* removed extra comment
2020-07-09 17:41:38 -07:00
Haya Kawamitsu e7346db8e1
Update CLI reference (#375) (#378)
Co-authored-by: Aman Bhardwaj <amanbha@users.noreply.github.com>
2020-07-08 19:43:49 -07:00
Gurpreet Singh 0da3c555d5
Added documentation for dapr dashboard (#387)
* Added docs for dapr dashboard

* updated cli docs
2020-07-01 22:18:02 -07:00
Mukundan Sundararajan 0b76467280
Fix Standalone dapr init behavior. (#384)
* Remove uninstall all from init path. Add install path arg to uninstall cmd. Cleanup binaries, archive correctly.

* Addressed review comments

* Change readme

* update readme
2020-06-29 15:27:59 -07:00
Gurpreet Singh 0a1a0bdf2e
Added new CLI command dapr dashboard (#383)
* Added files for new command, added cobra command line code for dapr dashboard

* Janky first implementation

* WIP: added default host, port for dashboard

* implemented port-forwarding for dashboard

* fixed lint errors

* removed dashboard deployment, fixed PR comments
2020-06-29 10:16:14 -07:00
Mukundan Sundararajan 15726263f2
Add timeout for linter (#382) 2020-06-22 09:59:52 -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
Young Bu Park a73e74526b
Merge pull request #374 from dapr/merge-back
Merge back to master
2020-06-09 22:35:49 -07:00
Young Bu Park 17c236ca8e Merge branch 'release-0.8' into merge-back 2020-06-09 22:22:34 -07:00
vinayada1 fc38052493
Merge pull request #370 from vinayada1/windowsPathTruncate
Use powershell command instead of setx to modify path
2020-06-09 12:47:53 -07:00
Young Bu Park 916f465763
Merge branch 'master' into windowsPathTruncate 2020-06-09 12:02:31 -07:00
Aman Bhardwaj b6e11c3f2c
Fix components path help message. (#364) (#372)
(cherry picked from commit c37118166b)

# Conflicts:
#	cmd/run.go
2020-06-08 17:53:46 -07:00
Vinaya Damle ba70b52cdc Use powershell command instead of setx to modify path 2020-06-08 10:31:02 -07:00
Aman Bhardwaj 3c7c0fc733
passing components folder to daprd (#367) (#368)
(cherry picked from commit a9a8bc3ac2)
2020-06-05 22:15:59 -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
vinayada1 9e106e8de4
Merge pull request #365 from vinayada1/components-rc-fix
Components rc fix
2020-06-05 18:12:02 -07:00
vinayada1 1c5a86b213 Change permissions on .dapr folder 2020-06-05 17:31:01 -07:00
vinayada1 e6e0c7e0dd Change permissions on components folder so that dapr run can insert files in it 2020-06-05 17:03:57 -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
vinayada1 3f78f3f2ee
Merge pull request #354 from vinayada1/components
Default Components folder will be created at init time (#340)
2020-06-03 21:42:53 -07:00
vinayada1 69b5896f44 fix doc 2020-06-03 16:32:02 -07:00
vinayada1 f86dd3af0a fix review comments 2020-06-03 16:11:14 -07:00
Aman Bhardwaj 67edf3ae17
Merge branch 'master' into components 2020-06-03 14:07:32 -07:00
vinayada1 525e996b6f add documentation for components path 2020-06-03 13:55:01 -07:00
vinayada1 9da489ba6e fix review comments 2020-06-03 09:54:03 -07:00
Chin Zhi Wei 51b99a988c
Enable Dapr to stop multiple apps (#355)
* Add dapr stop multiple apps

* Update documentation
2020-06-02 13:51:32 -07:00
vinayada1 d53dc63da8 Remove tests for init and uninstall 2020-05-29 16:39:23 -07:00
vinayada1 362a12f6f8 fix linter errors 2020-05-29 16:33:57 -07:00