Commit Graph

187 Commits

Author SHA1 Message Date
Mark Chmarny 433dbb87b1
consistent pubsub event handling codes, retry logic (#70)
* codified pubsub event response code behavior

* consistent pubsub response code. retry logic

* removes nil event data check

* updates comments/tests to v1.0 cloud event
2020-09-10 08:53:46 -07:00
Mark Chmarny 6cd82fa17e
dep cache in test/release actions (#69)
* dep cache in test/release actions

* more descriptive action names
2020-09-10 08:53:00 -07:00
AbserAri a8216178e6
A Pub/Sub Sample (#61)
* pubsub sample

* change according to review

* update for environment

* as review: make the name of  pubsub component as an environment variable

* edit the redis config as demo purposes , format the documents  in example/pubsub/README.md

* solved main redeclared by moving Pub. go and Sub. go to in separate folders

Co-authored-by: Mark Chmarny <mchmarny@users.noreply.github.com>
2020-09-04 04:55:03 -07:00
li1234yun 0429a01836
Update Readme.md (#63)
Correct client GetBulkItems doc

Co-authored-by: Mark Chmarny <mchmarny@users.noreply.github.com>
2020-08-30 08:01:20 -07:00
li1234yun b72aa26cf0
Update README Doc (#64)
* Update Readme.md

Correct readme error

* Update Readme.md

Correct readme error
2020-08-30 08:00:27 -07:00
Mark Chmarny c7a0fabf13
Revert "pubsub sample (#58)" (#60)
This reverts commit 14e7b5eb13.
2020-08-26 13:17:02 -07:00
AbserAri 14e7b5eb13
pubsub sample (#58)
* pubsub sample

* change according to review

* update for environment

* as review: make the name of  pubsub component as an environment variable

* edit the redis config as demo purposes , format the documents  in example/pubsub/README.md

Co-authored-by: Mark Chmarny <mchmarny@users.noreply.github.com>
2020-08-26 10:45:32 -07:00
Mark Chmarny 3acd5aa729
Lint on push (#59)
* clean example log entries

* adds lint to test on push

* adds lint to release on tag
2020-08-26 10:18:17 -07:00
Mark Chmarny bfa8a82cad
updates template location to dapr org (#57)
* clean example log entries

* link updates to dapr org
2020-08-20 16:24:06 -07:00
Mark Chmarny f771e4e8c7
clean example log entries (#55) 2020-08-18 14:11:49 -07:00
Mark Chmarny d9d7785509
updated docs for GetBulkItems (#54) 2020-08-18 09:42:22 -07:00
Mark Chmarny 44077b5b71
readme examples, templates (#53) 2020-08-18 07:00:03 -07:00
Mark Chmarny 79e0f554b0
new service with existing http mux (#52) 2020-08-18 05:49:38 -07:00
Mark Chmarny d6de57c71a
HTTP serving implementation (#45)
* http service implementation

* http coverage

* common serving interface

* multi pubsub support

* multi-pubsub serving

* ensures unique componennt/topic

* cleaned samples in docs

* cleaned up examples in callback docs

* removes Parallel from callback tests

* multi-pupsub support

* updated tests for empty pubsub data

* cleaned up example client

* header parsing in HTTP per  issue 1894 in dapr

* refactored client binding

* refactored service invoke

* updated client and serving docs

* removed v0.9 from makefile action descr

* renamed based on PR review

* updated names globally
2020-08-17 17:14:55 -07:00
Mark Chmarny 74a1ab5682
multi pub/sub support (#50)
* multi pubsub support

* multi-pubsub serving

* ensures unique componennt/topic

* cleaned samples in docs

* cleaned up examples in callback docs

* removes Parallel from callback tests

* clarified the comments on ListTopicSubscriptions

* clarified validation error messages

* removed in data requirement
2020-08-17 13:14:07 -07:00
Mark Chmarny 3b57737ad8
bulk get, transaction exec support (#47)
* bulk get #46, transaction exrc

* updated examples

* ntis from PR review

* fixes lint errors

* mod tidied
2020-08-17 08:08:05 -07:00
Mark Chmarny eddc378eb0
gRPC serving implementation addressing #26 (#27)
* WIP: server

* gRPC server implementaiton

* http serving

* grpc ports as string vs int

* bump tag

* adds ctx, fixes linting errors

* v0.8.2 bump

* fixes serving options

* cleans up cloud events in gttp serving

* v0.8.4 version bump

* uses http method constant

* adds grpc serving tests

* pubsub evnet as bytes

* adds tests, seperate payload between http, grpc

* refactored names, tests

* fixes release names

* fixes versoin number

* http invoke test, grpc invoke params

* makefile updates

* readme updates, fixes grpc to http invocations

* readme updates

* comments, refactored http service

* more serving tests

* more client tests

* test verbocity

* fixes grpc error serializtion error

* adds serving to readme

* code formatting

* adds support for TypeUrl in case of a proto conten

* added binding in http service

* cron in grpc example

* single interface for grpc and http sdks

* normalized serving interfaces across http and grpc

* unit, rest api tests for grpc, html serving

* updated tests

* resolved master conflicts

* changes from @youngbupark review

* overloaded AddTopicEventHandler for ease of use

* updated to go 1.15, dependancies

* updated actions to go 1.15

* service test coverage

* readme and release version updates

* makefile flag options for dapr v0.9

* serving to grpc package for ease of http imp
2020-08-12 13:00:32 -07:00
Mark Chmarny 3bd9a9afde
Removes retry options from state apis (#39) 2020-08-11 06:28:17 -07:00
Pruthvidhar R Dhodda b42eec0ba3
Replace deprecated annotations (#41)
* protocol --> app-protocol
2020-08-10 15:44:50 -07:00
Mark Chmarny e261d3773d
integer (#37)
Better etag default to avoid error related to errors from Dapr HTTP API on a non-integer value (https://github.com/dapr/dapr/issues/1869)
2020-08-04 16:32:58 -07:00
Mark Chmarny 08c05ad522
adds only once for default cleint constructor (#35) 2020-07-23 13:41:48 -07:00
Mark Chmarny 335a86ac3e
TestMain, test coverage (#24) 2020-06-24 09:39:26 -07:00
Mark Chmarny 51f6786159
Update Readme.md (#25) 2020-06-24 09:38:52 -07:00
Mark Chmarny ee8d67871a
Merge pull request #18 from mchmarny/master
Custom go SDK (aka bespoke client proposal)
2020-06-24 05:28:07 -07:00
Mark Chmarny 3349abcc39 test formatting cleanup 2020-06-22 08:17:21 -07:00
Mark Chmarny 515c5218fb lint err cleanup 2020-06-22 08:11:02 -07:00
Mark Chmarny c9110e404a client interface, test client errs 2020-06-22 07:54:32 -07:00
Mark Chmarny 5c2c2d4618 qualified client types in readme example 2020-06-20 06:07:31 -07:00
Mark Chmarny f2b25184dc moved proto gen to makefile 2020-06-20 06:04:02 -07:00
Mark Chmarny a1f90fdd41 readme formatting 2020-06-19 17:18:24 -07:00
Mark Chmarny 7ca6c9c75c comments, examples in readme, end readme for example 2020-06-19 17:15:20 -07:00
Mark Chmarny 63d675f6d0 added secret and secret tests 2020-06-19 09:58:52 -07:00
Mark Chmarny 71008c5541 initial docs 2020-06-18 14:53:56 -07:00
Mark Chmarny 105973d508 testing fix for the automated test action 2020-06-18 10:49:53 -07:00
Mark Chmarny 50d6694582 removed super linter 2020-06-18 10:42:12 -07:00
Mark Chmarny 5bb259d7ad super-linter, log for test client errors 2020-06-18 10:39:00 -07:00
Mark Chmarny a0346cda18 added super linter 2020-06-18 10:21:09 -07:00
Mark Chmarny 39af2eba1e tests infra, naive tests implemented 2020-06-18 06:29:04 -07:00
Mark Chmarny 2fdd8a9fc6 removed dup proto gen and fixed example 2020-06-17 13:14:51 -07:00
Mark Chmarny 91cdf1285d etag on save with data 2020-06-17 13:10:22 -07:00
Mark Chmarny 92c2f3d177 removed JSON methods, standarized method naming 2020-06-17 12:12:52 -07:00
Mark Chmarny 71d6a94f70 reconciled merge issues 2020-06-17 07:26:31 -07:00
Mark Chmarny 7b3c706ac2 merged upstream 2020-06-17 07:21:30 -07:00
Mark Chmarny 4f9f4dd3d7 mergin mod 2020-06-17 07:20:13 -07:00
Mark Chmarny 992a0d43ba sys and text mod upgrades 2020-06-17 07:12:58 -07:00
Mark Chmarny 0b8f3014f1 updated contrib doc for sdk vs dapr 2020-06-17 07:11:47 -07:00
Mark Chmarny 4ed987ab1e initial tests, test on push, makefile 2020-06-17 07:07:14 -07:00
Mark Chmarny 2435f0b342 json content type 2020-06-16 17:49:50 -07:00
Mark Chmarny 3054d1c346 renamed delete 2020-06-16 17:48:18 -07:00
Mark Chmarny fee04fad27 etag output on get state 2020-06-16 17:37:20 -07:00