View Revisions: Issue #5963

Summary 0005963: License key command line operations
Revision 2023-08-25 12:44 by elong
Description Add symconsole subcommands for operations around the license key. The "license-info" subcommand should output same information as the Configure -> License screen. The "license-install" subcommand should take a license key file to install the license, or allow user to paste it in the standard input. The "license-usage" subcommand should output same information as the Usage panel of the Help -> Statistics screen.

symconsole license-info
License Info: SymmetricDS Enterprise Subscription
Holder: JumpMind
Effective Date: 2022-01-03 08:12:12 AM
Expiration Date: 2024-01-05 12:00:00 AM
Max Maintentance: 2024-01-05 12:00:00 AM
Max Nodes: 25
Max Tables: Unlimited
Max Rows: Unlimited
Mobile Multiplier: 1
Instance ID: (d7d339a3-fad8-4a9a-aeb7-123456789012)

symconsole license-install [file]
Installed license key for holder JumpMind which is valid from 2022-01-03 08:12:12 AM to 2024-01-05 12:00:00 AM

symconsole license-usage
Rows: 987 of 1000000 (0%)
Tables: 123 of 500 (25%)
Nodes: 2 of 5 (40%)

Revision 2023-08-25 12:52 by elong
Description Add symconsole subcommands for operations around the license key. The "license-info" subcommand should output same information as the Configure -> License screen. The "license-import" subcommand should take a license key file to install the license, or allow user to paste it in the standard input. The "license-export" subcommand writes the current license key to a file or standard output. The "license-usage" subcommand should output same information as the Usage panel of the Help -> Statistics screen.

symconsole license-info
License Info: SymmetricDS Enterprise Subscription
Holder: JumpMind
Effective Date: 2022-01-03 08:12:12 AM
Expiration Date: 2024-01-05 12:00:00 AM
Max Maintentance: 2024-01-05 12:00:00 AM
Max Nodes: 25
Max Tables: Unlimited
Max Rows: Unlimited
Mobile Multiplier: 1
Instance ID: (d7d339a3-fad8-4a9a-aeb7-123456789012)

symconsole license-import [file]
Installed license key for holder JumpMind which is valid from 2022-01-03 08:12:12 AM to 2024-01-05 12:00:00 AM

symconsole license-export [file]

symconsole license-usage
Rows: 987 of 1000000 (0%)
Tables: 123 of 500 (25%)
Nodes: 2 of 5 (40%)