-
Notifications
You must be signed in to change notification settings - Fork 47
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
DAT-18810: app naming updated, it contains now versions of core/pro liquibase and extension version also. #595
Conversation
…iquibase and extension version also.
boolean isCommercial = model.getArtifactId().contains("commercial"); | ||
String buildVersion = LiquibaseUtil.getBuildVersion(); | ||
String extVersion = model.getVersion(); | ||
String appType = isCommercial ? "PRO" : "OSS"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think appType
should depend on a license check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
license check added on commercial extension side as:
driverProperties.put("appName", getAppName(driverProperties, LicenseServiceUtils.isProLicenseValid()));
related pro PR (fails as waiting for master-SNAPSHOT artifact) https://github.com/liquibase/liquibase-commercial-mongodb/pull/296/files |
src/main/java/liquibase/ext/mongodb/database/MongoConnection.java
Outdated
Show resolved
Hide resolved
…on() used for core version
src/main/java/liquibase/ext/mongodb/database/MongoConnection.java
Dismissed
Show dismissed
Hide dismissed
|
Tested on Built Jar-s with different core and pro JAR-s stored in
liquibase/lib
.Only OSS Jar is present:

Commercial Jar is present and Pro license is valid:
