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

Simplify pro license checks to support running through maven (DAT-10003) #2815

Merged
merged 19 commits into from
May 5, 2022

Conversation

StevenMassaro
Copy link
Contributor

Environment

Liquibase Version: N/A

Liquibase Integration & Version: maven

Liquibase Extension(s) & Version: N/A

Database Vendor & Version: N/A

Operating System Type & Version: N/A

Pull Request Type

  • Bug fix (non-breaking change which fixes an issue.)
  • Enhancement/New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

Previously, the maven integration handled its own verification of the pro license key. This meant that specifying the key through the liquibase.properties file was not supported in maven. Now, instead of having maven do the license check, the license checks occur in the command step, and additionally, unneeded license check code from the Main.java class has been removed.

Steps To Reproduce

Run a pro only command through the maven integration and specify the pro key in liquibase.properties key.

Actual Behavior

Command fails because pro key cannot be found.

Expected/Desired Behavior

Command succeeds because pro key is read from properties file.

Screenshots (if appropriate)

Additional Context

Fast Track PR Acceptance Checklist:

Need Help?

Come chat with us in the Liquibase Forum.

@github-actions
Copy link

github-actions bot commented May 2, 2022

Unit Test Results

  4 512 files  ±0    4 512 suites  ±0   31m 19s ⏱️ - 1m 43s
  4 386 tests ±0    4 168 ✔️  - 4     218 💤 +4  0 ±0 
51 912 runs  ±0  46 900 ✔️  - 4  5 012 💤 +4  0 ±0 

Results for commit 92d4857. ± Comparison against base commit 64e7987.

♻️ This comment has been updated with latest results.

This allows the license key to visible to downstream operations when they check for license keys.
@kataggart kataggart added this to To Do in Conditioning++ via automation May 3, 2022
Base automatically changed from DAT-9623 to DAT-9298 May 5, 2022 17:19
# Conflicts:
#	liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/LiquibaseChecksRunMojo.java
#	liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/LiquibaseChecksShowMojo.java
@StevenMassaro StevenMassaro merged commit 3b0cf61 into DAT-9298 May 5, 2022
Conditioning++ automation moved this from To Do to Done May 5, 2022
@StevenMassaro StevenMassaro deleted the DAT-10003 branch May 5, 2022 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants