Commit Graph

25 Commits

Author SHA1 Message Date
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
Shubham Sharma 6d3026b0cc
Add --metadata flag to dapr publish (#1033)
* Add --metadata flag

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Add e2e test

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Revert test comments

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update go-sdk version for e2e test

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Fix tests

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* 💄

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Run go mod tidy

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-07-29 19:10:32 +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
Dmitry Shmulevich 0f9d0d3a89
replaced license headers (#855)
Signed-off-by: Dmitry Shmulevich <dmitry.shmulevich@gmail.com>
2021-12-10 08:09:09 +05:30
amulyavarote c2ff74370f Added a warning message for unix domain socket (#822)
* Added a warning message for unix domain socket

* Added socket warning message to invoke and publish

* Corrected socket name in publish cmd

* Corrected the variable names for invoke and publish

* Removed unused variables port and grpcPort from invoke and publish

* Cleaned up the error of warning messages

* Cleaned up the wording of warning messages

* Cleaned up the wording of warning messages

* Cleaned up the wording of warning messages on run, invoke and publish

* Modified the warning message

Co-authored-by: Amulya Varote <amulyavarote@Amulyas-MacBook-Pro.local>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2021-11-12 12:40:42 -08:00
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
Long Dai 909b989128
log error info to stderr (#750)
Signed-off-by: Long Dai <long0dai@foxmail.com>

Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-08-24 23:32:19 -07:00
Charlie Stanley ff73dabd02 Add some negative tests for invoke and publish 2021-04-09 12:46:53 -07:00
Charlie Stanley 3dbaed0d3d Add publish --from-file option and e2e tests 2021-04-07 13:54:39 -07:00
Yaron Schneider 3ee9e53338
add renewed headers (#588) 2021-02-10 08:37:08 -08:00
Artur Souza c5b2e11775
Adds publish-app-id to publish command (#548) 2020-12-10 21:59:46 -08:00
Mukundan Sundararajan 51bbd0a171
updated help messages. provide example for commands. (#544) 2020-12-08 12:04:11 -08:00
Mukundan Sundararajan 2495648629
Make flags consistent across commands. (#541)
update help messages
2020-12-03 14:32:39 -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
Mukundan Sundararajan e2e592943f
Add UTs for publish and invoke (#477)
* Refactor publish, invoke and add tests

* remove process from interface

* address review comments

* rename invoke methods.
2020-10-09 19:03:39 -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
Yaron Schneider edaae6e199
add pubsub component name to publish command (#435) 2020-08-14 09:36:25 -07:00
Yaron Schneider e498de9f7d
change payload to data for pub/sub (#350) 2020-05-28 16:40:36 -07: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
shaggygi 7f5fdf176c Cleaned up a few comments and strings 2019-11-30 19:05:33 -05:00
Aman Bhardwaj 6debcf2610 Adding license header and updating to MIT license. 2019-10-08 16:36:31 -07:00
Yaron Schneider 36973dca2f
name change (#109) 2019-10-02 16:40:04 -07:00
Yaron Schneider 2f7e11b286
remove redundant app-id from publish cmd (#43) 2019-08-17 21:05:15 -07:00
yaron2 8564568ba3 initial commit 2019-06-20 15:28:52 -07:00