Skip to content

Conversation

@theonefx
Copy link
Contributor

@theonefx theonefx commented Sep 2, 2021

Description

A state component which implemented by Alibaba Cloud TableStore.

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #914

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

@CodeMonkeyLeet
Copy link
Contributor

@theonefx Can you fix the linter issues in this PR? See inline in the "Files changed" tab.

@artursouza & @daixiang0 FYI, since you reviewed a previous version of this PR before.

@theonefx
Copy link
Contributor Author

theonefx commented Sep 3, 2021

@CodeMonkeyLeet no problem

@theonefx
Copy link
Contributor Author

theonefx commented Sep 3, 2021

@CodeMonkeyLeet Done

Copy link
Member

@daixiang0 daixiang0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution, some nits here and please try to add tests for all functions.


"github.com/golang/mock/gomock"

"github.com/agrea/ptr"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@theonefx can you run goimports to fix this linter issue?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no problem

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Contributor

@CodeMonkeyLeet CodeMonkeyLeet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

FYI @artursouza seems fine for alpha component, but looks like it will not pass conformance tests for Etag/concurrency handling as it moves into beta. Candidate for multicloud testing.

@codecov
Copy link

codecov bot commented Sep 28, 2021

Codecov Report

Merging #1116 (5b206e1) into master (905cbc0) will increase coverage by 0.68%.
The diff coverage is 71.22%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1116      +/-   ##
==========================================
+ Coverage   33.77%   34.45%   +0.68%     
==========================================
  Files         138      140       +2     
  Lines       11686    11890     +204     
==========================================
+ Hits         3947     4097     +150     
- Misses       7329     7375      +46     
- Partials      410      418       +8     
Impacted Files Coverage Δ
bindings/azure/blobstorage/blobstorage.go 14.61% <0.00%> (-0.21%) ⬇️
bindings/azure/eventgrid/eventgrid.go 3.84% <0.00%> (-0.10%) ⬇️
bindings/azure/eventhubs/eventhubs.go 16.66% <0.00%> (-0.66%) ⬇️
...indings/azure/servicebusqueues/servicebusqueues.go 14.66% <0.00%> (-0.41%) ⬇️
bindings/azure/storagequeues/storagequeues.go 37.61% <0.00%> (-1.81%) ⬇️
pubsub/azure/eventhubs/eventhubs.go 23.40% <0.00%> (-0.51%) ⬇️
pubsub/azure/servicebus/servicebus.go 30.19% <0.00%> (-0.30%) ⬇️
state/azure/tablestorage/tablestorage.go 11.86% <0.00%> (-0.21%) ⬇️
state/mongodb/mongodb.go 16.29% <0.00%> (-0.48%) ⬇️
state/alicloud/tablestore/tablestore.go 78.72% <78.72%> (ø)
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ac85ba2...5b206e1. Read the comment docs.

@dapr-bot dapr-bot merged commit e41acc4 into dapr:master Sep 28, 2021
Taction added a commit to Taction/components-contrib that referenced this pull request Oct 6, 2021
* master:
  fix 'durable' setting in RabbitMQ (dapr#1183)
  Support setting up Azure IoT Hub for integration testing with EventHubs components (dapr#1174)
  gcp bucket update  (dapr#1128)
  ok-to-test changes for components-contrib (dapr#1091)
  version stored procedure due to previous changes made (dapr#1176)
  Fix existing integration tests (dapr#1173)
  Add state alicloud.tablestore (dapr#1116)
  Add dapr user agent for Azure Components (dapr#1152)
  Support using setup-azure-conf-test.sh with existing Service Principal (dapr#1158)
  Add Event Hubs conformance tests to conformance.yml workflow (dapr#1164)
  restructure code and add comments per code review
  cover all concurrency + etag cases
  Fix EOF linebreaks
  Adds first-write conformance test
  update metadata key
  fix linter warnings
  TableStorage conformance tests pass
  TableStore config
  tablestorage conformance WIP
  ci: standard linter config (dapr#1102)

# Conflicts:
#	secretstores/hashicorp/vault/vault.go
amimimor pushed a commit to amimimor/components-contrib that referenced this pull request Dec 9, 2021
* state alicloud.tablestore

* some bug fix

* gofumpt

* add unit test

* gofumpt

* golangci-lint

* code refactor

* goimports

* goimports

Co-authored-by: Simon Leet <31784195+CodeMonkeyLeet@users.noreply.github.com>
Co-authored-by: Long Dai <long0dai@foxmail.com>
Co-authored-by: Long Dai <long.dai@intel.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Alibaba Cloud TableStore state

5 participants