Skip to content

Conversation

@mbhaskar
Copy link
Member

Contains synchronous operations for

  • Database
  • Container
  • Item operations
    Scripts, Users, Conflicts etc will be part of subsequent PR

Contains synchronous operations for
 - Database
 - Container
 - Item operations
Scripts, Users, Conflicts etc will be part of subsequent PR
@christopheranderson
Copy link
Contributor

/azp run java - cosmos - tests

@azure-pipelines
Copy link

Pull request contains merge conflicts.

# Conflicts:
#	sdk/cosmos/sdk/src/main/java/com/azure/data/cosmos/CosmosClientBuilder.java
#	sdk/cosmos/sdk/src/test/java/com/azure/data/cosmos/rx/TestSuiteBase.java
@moderakh moderakh self-requested a review August 8, 2019 21:30
Copy link
Contributor

@moderakh moderakh left a comment

Choose a reason for hiding this comment

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

great job Bhaskar I added some minor comments.

Copy link
Member

@kushagraThapar kushagraThapar left a comment

Choose a reason for hiding this comment

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

Minor comments, please implement them.

* Provides a client-side logical representation of the Azure Cosmos database service.
* SyncClient is used to perform operations in a synchronous way
*/
public class CosmosSyncClient {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
public class CosmosSyncClient {
public final class CosmosSyncClient {

Based on guidelines, this should be final

Copy link
Contributor

Choose a reason for hiding this comment

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

if we make this final, then the neither the end user nor us can mock this for testing.

* Instantiate the cosmos client builder to build cosmos client
* @return {@link CosmosClientBuilder}
*/
public static CosmosClientBuilder builder(){
Copy link
Contributor

Choose a reason for hiding this comment

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

(note for ADP folks: This doesn't match the guidelines, but it matches our existing pattern which we've gotten an exception for.)

@christopheranderson christopheranderson merged commit dd2e9a4 into Azure:master Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants