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

Use async cosmos library and upgrade to 2.6.3 #1321

Merged
merged 7 commits into from
Dec 6, 2019

Conversation

ankagrawal
Copy link
Collaborator

This changes replaces the cosmos documentdb library with async cosmosdb library.

@codecov-io
Copy link

codecov-io commented Nov 25, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@6e43fda). Click here to learn what that means.
The diff coverage is 66.07%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1321   +/-   ##
=========================================
  Coverage          ?   72.16%           
  Complexity        ?     6498           
=========================================
  Files             ?      472           
  Lines             ?    37265           
  Branches          ?     4707           
=========================================
  Hits              ?    26893           
  Misses            ?     9120           
  Partials          ?     1252
Impacted Files Coverage Δ Complexity Δ
...ithub.ambry.cloud/azure/AzureCloudDestination.java 73.88% <63.15%> (ø) 39 <1> (?)
...m.github.ambry.cloud/azure/CosmosDataAccessor.java 73.84% <67.56%> (ø) 17 <7> (?)

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 6e43fda...f72d240. Read the comment docs.

Copy link
Contributor

@lightningrob lightningrob left a comment

Choose a reason for hiding this comment

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

Generally looks good. A few questions inline.

Copy link
Contributor

@lightningrob lightningrob left a comment

Choose a reason for hiding this comment

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

LGTM. Approved after addressing one remaining comment.

* @param documentList {@link List <Document>} of documents to return from mocked call.
* @param mockResponse {@link Observable} mocked response.
*/
static void mockObservableForQuery(List<Document> documentList, Observable<FeedResponse<Document>> mockResponse) {
Copy link
Contributor

@lightningrob lightningrob Dec 6, 2019

Choose a reason for hiding this comment

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

Minor: this method can create and return the mockResponse like the others. Okay to change in follow up PR.

@lightningrob lightningrob merged commit 1411228 into linkedin:master Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants