Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
chtrembl committed Jul 19, 2024
2 parents 79a03e9 + 51cf603 commit ea5e3f3
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@
public class CosmosDB implements ICosmosDB {
private static final Logger LOGGER = LoggerFactory.getLogger(CosmosDB.class);

private static final String ENDPOINT = "https://azurepetstoreweb.documents.azure.com:443/";
//needs to be injected not hardcoded
private static final String ENDPOINT = "https://azurepetstoreme.documents.azure.com:443/";

@Value("${cosmos.key}")
private String cosmosKey;

private static final String DATABASE_ID = "E-Commerce";

private static final String PRODUCTS_CONTAINER_ID = "ProductsV2";
private static final String PRODUCTS_CONTAINER_ID = "Products";
private static final String PROMPTS_CONTAINER_ID = "Prompts";

private CosmosClient client = null;
Expand Down

0 comments on commit ea5e3f3

Please sign in to comment.