Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Edited quick start sample to use V3 sdk #6

Open
wants to merge 1 commit into
base: v3
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions azure-cosmosdb-get-started/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
<dependencies>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-cosmosdb</artifactId>
<version>2.2.0</version>
<artifactId>azure-cosmos</artifactId>
<version>3.0.0</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

public class Families {

public static Family getAndersenFamilyDocument() {
public static Family getAndersenFamilyItem() {
Family andersenFamily = new Family();
andersenFamily.setId("Andersen-" + System.currentTimeMillis());
andersenFamily.setLastName("Andersen");
Expand Down Expand Up @@ -59,7 +59,7 @@ public static Family getAndersenFamilyDocument() {
return andersenFamily;
}

public static Family getWakefieldFamilyDocument() {
public static Family getWakefieldFamilyItem() {
Family wakefieldFamily = new Family();
wakefieldFamily.setId("Wakefield-" + System.currentTimeMillis());
wakefieldFamily.setLastName("Wakefield");
Expand Down Expand Up @@ -106,7 +106,7 @@ public static Family getWakefieldFamilyDocument() {
return wakefieldFamily;
}

public static Family getJohnsonFamilyDocument() {
public static Family getJohnsonFamilyItem() {
Family andersenFamily = new Family();
andersenFamily.setId("Johnson-" + System.currentTimeMillis());
andersenFamily.setLastName("Johnson");
Expand All @@ -120,7 +120,7 @@ public static Family getJohnsonFamilyDocument() {
return andersenFamily;
}

public static Family getSmithFamilyDocument() {
public static Family getSmithFamilyItem() {
Family andersenFamily = new Family();
andersenFamily.setId("Smith-" + System.currentTimeMillis());
andersenFamily.setLastName("Smith");
Expand Down
Loading