-
Notifications
You must be signed in to change notification settings - Fork 0
30-Day Pro Trial Support (client-side) #75
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Story 5.9: 30-Day Pro Trial Support (elasticsql)
As a new user evaluating SoftClient4ES,
I want to activate a 30-day Pro trial via API key,
So that I can experience full Pro capabilities before purchasing.
Scope (elasticsql only)
- Add
isTrialconvenience method toLicenseKeyandLicenseManagertrait - Add
daysRemainingcomputed property toLicenseKey - Update
SHOW LICENSEoutput to surface trial status ("Pro (trial)",trialboolean column,days_remainingcolumn) - Unit tests for
isTrialanddaysRemaining
Acceptance Criteria
- Given a JWT with
"trial": trueandtier: "pro"When validated ThenLicenseKey.isTrialreturnstrueand full Pro quotas are active - Given
SHOW LICENSEon a trial license Thenlicense_typeshows"Pro (trial)",trialcolumn istrue,days_remainingshows days left - Trial is a metadata flag on Pro — not a separate
LicenseType
Files
| File | Action |
|---|---|
licensing/src/main/scala/app/softnetwork/elastic/licensing/package.scala |
Add isTrial, daysRemaining to LicenseKey; add isTrial to LicenseManager |
licensing/src/test/scala/app/softnetwork/elastic/licensing/LicenseKeySpec.scala |
Add tests |
core/src/main/scala/app/softnetwork/elastic/client/GatewayApi.scala |
Update executeShowLicense() |
Dependencies
- Depends on: Story 5.8 (Refresh Scheduler & Telemetry #68)
- Related: softclient4es-extensions companion issue (trial logging, per-request warnings, test helpers)
Implementation Artifact
See _bmad-output/implementation-artifacts/5-9-30-day-pro-trial-support.md (Tasks 1–2)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request