Skip to content

Conversation

@mbhaskar
Copy link
Member

@mbhaskar mbhaskar commented Dec 4, 2019

  • Fixing checkstyle issues in cosmos package
  • Donot contain fixes for benchmark and examples
  • Added excludes for implementation and tests packages and BridgeInternal and CosmosBridgeInternal classes in pom
  • Changed logger from sl4j logger to azure.core.util.logging.ClientLogger in JsonSerializable

Public surface changes

  • Renamed the method builder() in CosmosClient and CosmosAsyncClient to cosmosClientBuilder()
  • Renamed PartitionKey.None to ParitionKey.NONE

New codesnippet model –
Going forward for any multiple line, substantial code documentation please follow the way I used in IndexPolicyCodeSnippet, it will avoid any outdated code in the documentation

==
Reverted logger and exception checkstyle recommendations and disabled checkstyle failOnError for now. Will have to reenable after fixing the above

mbhaskar and others added 5 commits November 20, 2019 12:05
…-changes

# Conflicts:
#	sdk/cosmos/azure-cosmos-examples/src/main/java/com/azure/cosmos/examples/BasicDemo.java
#	sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/BridgeInternal.java
#	sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/ConflictResolutionMode.java
#	sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/ConflictResolutionPolicy.java
#	sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosAsyncContainer.java
#	sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosContainer.java
#	sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosItemProperties.java
#	sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/JsonSerializable.java
#	sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/query/DocumentQueryExecutionContextFactory.java
#	sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/CosmosPartitionKeyTests.java
@mbhaskar mbhaskar added the Cosmos label Dec 9, 2019
Removing throwing check exceptions from sync wrapper
…-changes

# Conflicts:
#	sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/ClientSideRequestStatistics.java
#	sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosClientException.java
#	sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/InternalServerErrorException.java
…tion

Moving back to Slf4j logger from azure core logger
Moving back checkstyle fails to false. This has to enabled after
deciding on the logger
@mbhaskar
Copy link
Member Author

/azp run java - cosmos - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@moderakh moderakh self-requested a review December 12, 2019 07:03
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.

Few suggestions. Please review them.

enabling checkstyle violations in the right place (eng/exceptions)
- Implementing PR comments
@mbhaskar
Copy link
Member Author

/azp run java - cosmos - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mbhaskar
Copy link
Member Author

/azp run java - cosmos - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mbhaskar mbhaskar merged commit c295e4d into Azure:feature/cosmos/v4 Dec 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