From af2ae917e3756c983d54cefdc2a265ba66848805 Mon Sep 17 00:00:00 2001 From: Chris Tremblay <62187826+chtrembl@users.noreply.github.com> Date: Fri, 18 Oct 2024 17:48:43 -0400 Subject: [PATCH 1/2] Update CosmosDB.java --- .../java/com/chtrembl/petstoreassistant/service/CosmosDB.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/petstore/petstoreassistant/src/main/java/com/chtrembl/petstoreassistant/service/CosmosDB.java b/petstore/petstoreassistant/src/main/java/com/chtrembl/petstoreassistant/service/CosmosDB.java index bb72b0f2..81c100e9 100644 --- a/petstore/petstoreassistant/src/main/java/com/chtrembl/petstoreassistant/service/CosmosDB.java +++ b/petstore/petstoreassistant/src/main/java/com/chtrembl/petstoreassistant/service/CosmosDB.java @@ -24,7 +24,7 @@ public class CosmosDB implements ICosmosDB { private static final Logger LOGGER = LoggerFactory.getLogger(CosmosDB.class); //needs to be injected not hardcoded - private static final String ENDPOINT = "https://azurepetstoreme.documents.azure.com:443/"; + private static final String ENDPOINT = "https://azurepetstoremev2.documents.azure.com:443/"; @Value("${cosmos.key}") private String cosmosKey; From b9242cd9039e53a87fe4a05116c2497d29fe144b Mon Sep 17 00:00:00 2001 From: Chris Tremblay <62187826+chtrembl@users.noreply.github.com> Date: Fri, 18 Oct 2024 17:49:20 -0400 Subject: [PATCH 2/2] Update petstoreapp_ci_cd_to_appservice.yml --- .github/workflows/petstoreapp_ci_cd_to_appservice.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/petstoreapp_ci_cd_to_appservice.yml b/.github/workflows/petstoreapp_ci_cd_to_appservice.yml index 93d2041c..89f7e2c1 100644 --- a/.github/workflows/petstoreapp_ci_cd_to_appservice.yml +++ b/.github/workflows/petstoreapp_ci_cd_to_appservice.yml @@ -40,7 +40,7 @@ jobs: - name: Run Maven build run: mvn -f petstore/petstoreapp/pom.xml --batch-mode --update-snapshots verify - name: Upload Maven build artifact - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: artifact path: petstore/petstoreapp/target/petstoreapp-0.0.1-SNAPSHOT.jar