Commit Graph

86 Commits

Author SHA1 Message Date
akhilac1 5a06d2d980 fixed review comments
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-22 15:04:50 +05:30
Mukundan Sundararajan 2817724483
Merge branch 'master' into postgresql_config_store 2022-09-22 13:41:16 +05:30
akhilac1 1243970b63 fixed init comment
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-21 21:26:40 +05:30
akhilac1 fff6c5c061 closing review comments on error message text and loop optimization in unsubscribe method
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-21 21:16:56 +05:30
akhilac1 b03c77f2d6 check for maxTimeout to be positive
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-21 14:10:04 +05:30
akhilac1 3408067248 fixed assertion in postgres_test.go
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-20 23:11:20 +05:30
akhilac1 b8574c0ce9 correcting name from trigger to channel to match with standard postgres terminology
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-20 22:54:45 +05:30
akhilac1 37fffb8f89 renamed trigger to channel
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-20 20:28:57 +05:30
Pravin Pushkar 3b19b16d77 fix lint error
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2022-09-20 18:11:29 +05:30
Pravin Pushkar 1aebaeaa9b Fix getAll configuration Api for azure app config
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2022-09-20 17:41:55 +05:30
akhilac1 6746680568 fixing review comments
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-20 17:16:03 +05:30
akhilac1 367ed0fb89 fixing review comments
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-20 15:30:54 +05:30
akhilac1 6ddc42d3bd fixed review comments
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-20 15:20:25 +05:30
akhilac1 b14100eb4e change sync.Map to map
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-19 23:25:05 +05:30
akhilac1 bebe2c63e0 removed dead code
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-19 23:03:28 +05:30
akhilac1 724e529b95 Fixing Commits
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-19 16:44:01 +05:30
akhilac1 c3d9e844a7 fixed SQL injection review comments
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-16 14:08:15 +05:30
akhilac1 3935f058db fixed errors identified during functional testing
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-16 14:08:15 +05:30
akhilac1 1e5c5a4ba8 fixed errors identified during functional testing
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-16 14:08:15 +05:30
akhilac1 584c80a667 fixing lint errors
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-16 14:08:15 +05:30
akhilac1 cf413bf8fc updating review comments
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-16 14:08:15 +05:30
akhilac1 ddc130640e Support for Postgres configuration store
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-16 14:08:15 +05:30
akhilac1 cb22194e69 Support Postgres as configuration store #4551
Signed-off-by: akhilac1 <chetlapalle.akhila@gmail.com>
2022-09-16 14:08:15 +05:30
Carlos Mendible 42fc9ae0f2
Implements getLabelFromMetadata Fixing #2062 (#2064)
Signed-off-by: cmendible <266546+cmendible@users.noreply.github.com>

Signed-off-by: cmendible <266546+cmendible@users.noreply.github.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2022-09-15 17:31:08 -07:00
Crypt Keeper b379f80b75
middleware: changes wasm basic to use waPC (#1833)
Updates wasm basic middleware and simplifies some code inside of it,
notably by using [waPC](https://github.com/wapc/wapc-go).

This changes the entrypoint function to be named "rewrite" and
uses a pool because known memory allocators are not goroutine
safe.

Signed-off-by: Adrian Cole <adrian@tetrate.io>

Signed-off-by: Adrian Cole <adrian@tetrate.io>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2022-09-13 17:12:59 -07:00
Ian Luo b4ac2406c0
fix: Converting configuration API response from an array to dictionary (#1771)
* fix: Converting configuration API response from an array to dictionary #1770

Signed-off-by: Ian Luo <ian.luo@gmail.com>

* fix compilation error in unit test

Signed-off-by: Ian Luo <ian.luo@gmail.com>

* fix lint issue

Signed-off-by: Ian Luo <ian.luo@gmail.com>

* Also update appconfig configuration store to return dict

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* temporarily pin custom dapr/dapr

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* modtidy-all

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* remove embedded stream request body option

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* pin custom go-sdk with config dict change

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Signed-off-by: Ian Luo <ian.luo@gmail.com>
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Loong Dai <long.dai@intel.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-08-25 13:35:02 -07:00
Marcos Candeia 8964d8bf41
Define common metadata across components (#1994)
* Add base metadata for all components

Signed-off-by: Marcos Candeia <marrcooos@gmail.com>

* Fix lint issues on consul and mysql tests

Signed-off-by: Marcos Candeia <marrcooos@gmail.com>

* Pin candeia/dapr runtime version

Signed-off-by: Marcos Candeia <marrcooos@gmail.com>

* Add replace directive to use mcandeia/dapr on all go submodules

Signed-off-by: Marcos Candeia <marrcooos@gmail.com>

* Fixed runtime config instantiation

Signed-off-by: Marcos Candeia <marrcooos@gmail.com>

Signed-off-by: Marcos Candeia <marrcooos@gmail.com>
2022-08-25 10:10:53 -07:00
Carlos Mendible 8bb6ef7ed1
Implemented get all keys (#1920)
Signed-off-by: cmendible <cmendible@gmail.com>

Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-08-05 14:28:52 -07:00
Carlos Mendible 20e987b778
azure appconfig configuration store (#1874)
* azure appconfig configuration store

Signed-off-by: cmendible <cmendible@gmail.com>

* added retry options

Signed-off-by: cmendible <cmendible@gmail.com>

* removed unused property

Signed-off-by: cmendible <cmendible@gmail.com>

* fixed error msgs, typos and test names

Signed-off-by: cmendible <cmendible@gmail.com>

* resource documenation

Signed-off-by: cmendible <cmendible@gmail.com>

* return err from not implemented functions

Signed-off-by: cmendible <cmendible@gmail.com>

Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Loong Dai <long.dai@intel.com>
2022-07-20 09:14:13 -07:00
Alessandro (Ale) Segala 4bf6cc4ca6
Updated development docs (#1835)
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2022-06-30 22:23:41 -07:00
Laurence e0ea27f2c1
Fix 4529: Ignore Subscribe/Get wrong redis configuration type keys. (#1693)
* fix: 4529

Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

* Fix: add test does not throw error for wrong type during get all test case of redis configuration

Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Ian Luo <ian.luo@gmail.com>
2022-05-07 14:15:07 -07:00
Laurence 41a5a08894
Fix: unsubscribe by id (#1483)
* Fix: unsubscribe by id

Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

* fix: linter

Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

* fix: UnSubscribe to Unsubscribe

Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

* fix: mod tidy all

Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

* Fix: change uuid repo

Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

* Fix: mod tidy

Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

Co-authored-by: Looong Dai <long.dai@intel.com>
2022-02-17 06:41:36 -08:00
Laurence 2bf7f68e0c
Fix: add configuration unsubscribe api (#1440)
Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

Co-authored-by: Looong Dai <long.dai@intel.com>
2022-01-20 22:18:57 -08:00
Dmitry Shmulevich c7adb917f3
update license to Apache v2.0 (#1406) 2022-01-04 19:53:31 -08:00
Laurence 53c6ed7636
fix: add config subscription gr done (#1315)
* fix: add config subscription gr done

* unexpected comments

* fix comment

Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
2021-11-29 11:54:00 -08:00
Laurence a21897bc81
add config api (#1113)
* add config api

* fix: add ut

* fix: linter

* fix

* fix: some pr comments

* fix: go mod tidy

* fix: ut

* Update redis_value.go

* Update redis_value_test.go

* Update redis_test.go

* Update requests.go

* Update responses.go

* Update redis_value.go

* Update redis_value_test.go

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Long Dai <long.dai@intel.com>
2021-10-19 13:55:38 -07:00