GeezerVison is showing github.com — Update codacy configuration by mziccard · Pull Request #823 · googleapis/google-cloud-java
Conversation
After some (actually too much) time spent tuning PMD configuration I believe I managed to disable underscore naming rule to test methods. This PR also:
- Disables "Avoid excessively long variable names like" test
- Disables "JUnit tests should include assert() or fail()" test
This configuration is already in place.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
- Disable "Avoid excessively long variable names like" test
- Disable "JUnit tests should include assert() or fail()" test
- Avoid applying underscore naming rule to test methods
|

Coverage remained the same at 85.579% when pulling acacd1d on mziccard:codacy-conf into 45c4665 on GoogleCloudPlatform:master.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
github-actions Bot
pushed a commit
to yoshi-code-bot/google-cloud-java
that referenced
this pull request
Nov 8, 2022
…s#1687) (googleapis#823)
* chore(java): add a note in README for migrated split repos
Disable renovate bot and flaky bot for split repositories
that have moved to the Java monorepo.
The Java monorepo will pass the "monorepo=True" parameter
to java.common_templates method in its owlbot.py files so that
the migration note will not appear in the README in the monorepo.
Co-authored-by: Jeff Ching <[email protected]>
Source-Link: https://togithub.com/googleapis/synthtool/commit/d4b291604f148cde065838c498bc8aa79b8dc10e
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:edae91ccdd2dded2f572ec341a768ad180305a3e8fbfd93064b28e237d35920a
chingor13
pushed a commit
that referenced
this pull request
Jan 22, 2026
…lity (#876)
This change introduces a component called ProtoPreparer which will be used to populate the protos from the domain objects. In the upcoming count aggregation feature, aggregation query will be acting upon StructuredQuery and GqlQuery and hence need to populate the protos of those queries **again**. For that reason _ProtoPreparer_ component will have the responsibility to populate the protos and be reused in multiple usecases.
_Note: This PR is intended to trim down the changes done as part of #823 ._
chingor13
pushed a commit
that referenced
this pull request
Jan 22, 2026
* Add method in Datastore client to invoke rpc for aggregation query
* Creating count aggregation and using it to populate Aggregation proto
* Moving aggregation builder method to root level aggregation class
* Introducing RecordQuery to represent queries which returns entity records when executed
* Updating gitignore with patch extension
* Setting up structure of Aggregation query and its builder
* Introducing ProtoPreparer to populate the request protos
* Delegating responsibility of preparing query proto to QueryPreparer
* Populating aggregation query with nested structured query
* Delegating responsibility of preparing query proto in GqlQuery to QueryPreparer
* Removing RecordQuery from the query hierarchy and making it a standalone interface for now
* Populating aggregation query with nested gql query
* Removing deprecation warning by using assertThrows instead of ExpectedException rule
* Making DatastoreRpc call aggregation query method on client
* Creating response transformer to transform aggregation query response into domain objects
* Implementing aggregation query executor to execute AggergationQuery
* Adding missing assertion statements
* Creating RetryExecutor to inject it as a dependency in other components
* Making RetryExecutor accept RetrySettings when creating it
* Revert "Making RetryExecutor accept RetrySettings when creating it"
This reverts commit 1dfafb7f8adcdd4ec566ac6fc712d2233623d33b.
* Revert "Creating RetryExecutor to inject it as a dependency in other components"
This reverts commit 8872a55cd1b1e22643222aa62a17049169dee71f.
* Introducing RetryAndTraceDatastoreRpcDecorator to have retry and traceability logic on top of another DatastoreRpc
* Extracting out the responsibility of preparing ReadOption in it's own ProtoPreparer
* Making QueryExecutor to execute query with provided ReadOptions
* Exposing readTime to the user
* Ignoring runAggregationQuery method from clirr check
* Making readTime final
* Allowing namespace to be optional in AggregationQuery
* Add capability to fetch aggregation result by passing alias
* Implementing User facing datastore.runAggrgation method to run aggregation query
* Add integration test for count aggregation
* Add transaction Id support in ReadOptionsProtoPreparer
* Supporting aggregation query with transactions
* Allowing user to create Aggregation directly without involving its builder
* Preventing creating duplicated aggregation when creating an aggregation query
* Marking RecordQuery implemented method as InternalApi
* Writing comments and JavaDoc for aggregation query related class
* Adding a default implementation in the public interfaces to avoid compile time failures
* covering a scenario to maintain consistent snapshot when executing aggregation query in a transaction
* Creating emulator proxy to simulate AggregationQuery response from emulator
* Integration test to execute an aggregation query in a read only transaction
* Getting rid off limit operation on count aggregation as same behaviour can be achieved by using 'limit' operation on the underlying query
* Removing import statement from javadoc and undo changes in .gitignore file
* Using Optional instead of returning null from ReadOptionsProtoPreparer
* using assertThat from Truth library
* fixing unit test
* Getting rid off Double braces initialization syntax
* Fixing lint
* Getting rid off emulator proxy and using easy mock to check the aggregationQuery triggered
* Deleting a entity created locally in other test which is causing failure in other test
* Deleting all keys in datastore in integration test so that new test can start fresh
* Executing two read write transaction simultaneously and verifying their behaviour
* Removing tests to verify serializability as it's an underlying implementation detail
* Fixing lint
* Adding runAggregationQuery method to reflect config so that it's available and accessible in native image through reflection
* Fixing equals of CountAggregation
* Fixing lint
* Adding an integration test of using limit option with aggregation query
* Adding BetaApi annotation to public surface to indicate that aggregation query / count is in preview
* Fixing lint
* Removing unused functiona and fixing javadoc
* fixing variable name
suztomo
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Mar 11, 2026
suztomo
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Mar 11, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
cla: yes
This human has signed the Contributor License Agreement.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|