Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: [Datastore] Upgrade to V2 #7179

Open
wants to merge 55 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
0baef28
feat!: [Datastore] Upgrade to PHP v2
yash30201 Mar 26, 2024
7215b2e
Enable Gapic Client support for Request Handler.
yash30201 Mar 26, 2024
237531f
Add credentials wrapper support in DatastoreClient
yash30201 Mar 26, 2024
cac76f1
Add request handler and serializer in DatastoreClient
yash30201 Mar 26, 2024
f39189f
Update Resource classes to add serializer and requesthandler in their…
yash30201 Mar 26, 2024
be2533c
Update snippet and unit tests to add request handler and serializer.
yash30201 Mar 26, 2024
d06abf7
Update beginTransaction and allocateIds rpc + unit + snippet tests
yash30201 Mar 31, 2024
cee1539
Update lookup rpc + unit + snippet tests
yash30201 Apr 1, 2024
927d510
Update RunQuery rpc + unit + snippet tests
yash30201 Apr 3, 2024
c9d2186
Update RunAggregationQuery rpc + unit + snippet tests
yash30201 Apr 3, 2024
82716bd
Update Commit rpc + unit + snippet tests
yash30201 Apr 3, 2024
fcdcf9b
Update Rollback rpc + unit + snippet tests
yash30201 Apr 3, 2024
4c32fc9
Remove all connection classes and references
yash30201 Apr 3, 2024
0596f27
Remove old gapic files and class aliases
yash30201 Apr 4, 2024
fa9e30a
Fix unit test failures
yash30201 Apr 4, 2024
e6fa30a
Fix PHP style checks
yash30201 Apr 4, 2024
2d01ea6
Fix aggregation query snippet test
yash30201 Apr 4, 2024
e098d66
Add MIGRATION.md
yash30201 Apr 4, 2024
2196aa2
Update documentation for DatastoreClient
yash30201 Apr 4, 2024
bf2c50b
Increase minimum core version to 1.55
yash30201 Apr 4, 2024
d6e2823
Mark `Operation` as internal
yash30201 Apr 4, 2024
6a03125
Merge branch 'main' into datastore-php-v2
yash30201 Apr 4, 2024
af549dd
Increase minimum core version to 1.57 (to be version)
yash30201 Apr 4, 2024
170d590
Fix emulator tests
yash30201 Apr 5, 2024
8e43aab
Self iteration
yash30201 Apr 5, 2024
9cf8493
Merge branch 'main' into datastore-php-v2
yash30201 May 6, 2024
fad4022
Iteration 1
yash30201 May 6, 2024
d45178c
fix(Spanner):Properly remove redundant keys from request options
yash30201 May 7, 2024
14fc795
pr iteration
yash30201 May 7, 2024
b9f0661
Add comments
yash30201 May 7, 2024
c6275bd
fix(Datastore):Properly remove redundant keys from request options
yash30201 May 7, 2024
81655e1
chore(Datastore): Update Composer version to use the upcoming latest.
yash30201 May 7, 2024
7e1dfa3
chore(Datastore): Update Composer version to use the upcoming latest.
yash30201 May 7, 2024
8c5a721
Merge branch 'main' into datastore-tryout-1
yash30201 May 7, 2024
b49d34e
Merge branch 'main' into datastore-php-v2
yash30201 May 7, 2024
2f33be4
Merge branch 'datastore-php-v2' of https://github.com/yash30201/googl…
yash30201 May 7, 2024
4c29341
chore(Datastore): Enhance readability of RunQuery and RunAggregationQ…
yash30201 May 7, 2024
dd24b76
Merge branch 'datastore-php-v2' into datastore-tryout-1
yash30201 May 7, 2024
d9b1b0b
Merge pull request #6 from yash30201/datastore-tryout-1
yash30201 May 7, 2024
2de6d58
Enhance Commit API readability
yash30201 May 7, 2024
b49f2db
Enhance Commit API readability
yash30201 May 7, 2024
0ab053d
Remove all nester level conversions
yash30201 May 7, 2024
4040d1c
Remove all nested level `decodeMessage` calls
yash30201 May 7, 2024
7d6ba8d
fix multidb tests
yash30201 May 7, 2024
9546293
Merge branch 'datastore-php-v2' of https://github.com/yash30201/googl…
yash30201 May 7, 2024
38a9e7d
Remove old GAPIC files
yash30201 May 9, 2024
8f5db18
Refactor SnippetTest::DatastoreClientTest
yash30201 May 9, 2024
2e9a749
Refactor Snippet::DatastoreSessionHandlerTest
yash30201 May 9, 2024
c0e2644
Update snippet tests part 1
yash30201 May 9, 2024
87ff887
Refactor all the remaining unit and snippets tests
yash30201 May 10, 2024
1e3e27f
php-cs-fix
yash30201 May 10, 2024
15747c8
Merge pull request #9 from googleapis/datastore-php-v2-patch
yash30201 May 10, 2024
df7ca4f
Merge branch 'main' into datastore-php-v2
yash30201 May 13, 2024
b2b0754
nit: Pr feedback
yash30201 May 13, 2024
b6130fc
nit: Remove GAPIC_KEYS const
yash30201 May 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix multidb tests
  • Loading branch information
yash30201 committed May 7, 2024
commit 7d6ba8dc33adddffa4223f4818eb5a9641312801
2 changes: 1 addition & 1 deletion Datastore/tests/System/DatastoreMultipleDbTestCase.php
Original file line number Diff line number Diff line change
@@ -86,7 +86,7 @@ public function multiDbClientProvider()
$clients = ['multiDbGrpcClient' => [self::$grpcMultiDbClient]];
// Emulators don't work well in ReGapic mode
if (!getenv("DATASTORE_EMULATOR_HOST")) {
$clients['multiDbRestClient'] = [self::$restClient];
$clients['multiDbRestClient'] = [self::$restMultiDbClient];
}

return $clients;