Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect to local db emulator #274

Open
JakeSchoermer opened this issue Nov 17, 2023 · 0 comments
Open

Unable to connect to local db emulator #274

JakeSchoermer opened this issue Nov 17, 2023 · 0 comments

Comments

@JakeSchoermer
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant