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

Azure-Samples/azure-spring-data-cosmos-java-sql-api-getting-started

Repository files navigation

Project Name

Azure Spring Data Cosmos getting started tutorial.

Features

This tutorial provides getting started features for azure-spring-data-cosmos Java SQL API modules.

Getting Started

Prerequisites

  • Java Development Kit 8 or JDK 11 if you run the azure-spring-data-cosmos-java-11-getting-started.
  • An active Azure account. If you don't have one, you can sign up for a free account. Alternatively, you can use the Azure Cosmos DB Emulator for development and testing. As emulator https certificate is self signed, you need to import its certificate to java trusted cert store, explained here
  • (Optional) SLF4J is a logging facade.
  • (Optional) SLF4J binding is used to associate a specific logging framework with SLF4J.
  • (Optional) Maven.

SLF4J is only needed if you plan to use logging, please also download an SLF4J binding which will link the SLF4J API with the logging implementation of your choice. See the SLF4J user manual for more information.

Installation

mvn clean install

Quickstart

  1. git clone https://github.com/Azure-Samples/azure-spring-data-cosmos-java-sql-api-getting-started.git
  2. cd azure-spring-data-cosmos-java-sql-api-getting-started
  3. cd azure-spring-data-cosmos-java-getting-started (for Java8) or azure-spring-data-cosmos-java-11-getting-started (for Java11)
  4. mvn spring-boot:run

Resources

Please refer to azure spring data cosmos java sql api source code for more information.

About

Spring Data Azure Cosmos DB quickstart guide sample repo

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages