Open Alexey-Tsarev opened 4 years ago
I'm also facing the same issue, did any one got the solution for this.
@SarthazShaik, I'd like to add, that I received a response from Robert. Shortly, this extension does not work via liquibase CLI. Only Java call should work (I did not check).
Some quotes:
Do you have any ETA, related to:
We’re working on implementing the extension via CLI
We do not have an ETA on it. But, I would measure it in weeks, not months. Thanks!
Alexey Tsarev , I am getting the same issue (Unsupported database: Mongodb) with java call.
Thanks & Regards,
Shaik Sarthaz,
Software Engineer,
Coeurdata Software Pvt ltd.
From: Alexey Tsarev notifications@github.com Sent: Wednesday, August 5, 2020 6:03 PM To: liquibase/liquibase-mongodb liquibase-mongodb@noreply.github.com Cc: Sarthaz Shaik sarthaz.shaik@coeurdata.com; Mention mention@noreply.github.com Subject: Re: [liquibase/liquibase-mongodb] WARNING: Unknown database: MongoDB (#28)
@SarthazShaikhttps://github.com/SarthazShaik, I'd like to add, that I received a response from Robert. Shortly, this extension does not work via liquibase CLI. Only Java call should work (I did not check).
Some quotas:
Do you have any ETA, related to:
We’re working on implementing the extension via CLI
We do not have an ETA on it. But, I would measure it in weeks, not months. Thanks!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/liquibase/liquibase-mongodb/issues/28#issuecomment-669166268, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKVZVJDBVJHQFEWUIXCAV73R7FGRLANCNFSM4PISVEBQ.
@SarthazShaik, pls contact to Robert (for instance, use git log
to get his email)
I created a proof of concept, where I hacked together enough to get the CLI to work here: https://github.com/liquibase/liquibase-mongodb/pull/31
If you follow the README.md instructions it will guide you through getting it to work, and the included Dockerfile and Docker entrypoint download liquibase and run the included change logs.
It does require using the 4.0 version of liquibase and the runWith attribute.
I also don't think that PR will be merged as it's probably not the real way to implement it. But it was enough for me to get things running, so I thought I'd post it here.
I am following the
README.md
. The commandmvn clean install -Prun-its
failed on tests:The message
is from liquibase-core https://github.com/liquibase/liquibase/blob/master/liquibase-core/src/main/java/liquibase/database/DatabaseFactory.java#L107
Before running the Maven, I ran Mongo and it showed connections:
Pls point me how to pass tests. Thanks.
┆Issue is synchronized with this Jira Bug by Unito