liquibase / liquibase-cosmosdb

Liquibase Cosmos DB Core (SQL) API Extension
Apache License 2.0
6 stars 9 forks source link

Unable to connect to local db emulator #274

Open JakeSchoermer opened 11 months ago

JakeSchoermer commented 11 months ago

Forgive the possibly newbish question, but I am trying to setup liquibase with cosmos db for the first time. I am not generally a java developer but I have been searching for a good migration tool for cosmos and this seems like just the ticket.

I am following the documentation here as well as what I can see in this repo to setup a new project (on Windows) with a liquibase project. I have set the liquibase.properties file with the following parameters:

url: cosmosdb://localhost:C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==@localhost:8080/tda-dev-test
driver: liquibase.ext.cosmosdb.database.CosmosClientDriver
classpath: liquibase-cosmosdb-4.24.0.jar

image

I was forced to decompile the jar file to work out the driver path. Currently I am installing jars with the get_dependencies.bat file, but would like to move to maven in due course.

Can you provide a complete sample liquibase.properties file or point to some other sample for a basic boot-strap or otherwise provide some advice?

Currently I am getting the following error whenever I try to generate a changelog:

image

Thanks in advance for the assistance.

Jake