[TXTREC-15] Disable features when license is invalid Created: 17/Apr/19  Updated: 19/Jun/19  Resolved: 11/Jun/19

Status: Closed
Project: Text Classification
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Story Priority: Neutral
Reporter: Laura Delnevo Assignee: Le Hai Thanh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 1h
Time Spent: 2.25d
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:
Epic Link: Txt Classification integration
Sprint: Add-Ons 13
Story Points: 2

 Description   

Acceptance Criteria:

  • Test the modules for each license String (pack vs individual)
  • Disable Txt Rec. feature when license is expired or invalid
  • Send notification to superuser(-s) group + user who invokes the action
    * Log the warning message once, for the system start-up



 Comments   
Comment by Le Hai Thanh [ 05/Jun/19 ]
  • Test the modules for each license String (pack vs individual)
    • DONE. Using "ecommerce" module name for temporary check. Need to replace by appropriate module later.
  • Disable Txt Rec. feature when licence is expired or invalid
    • DONE. There is no UI so that need to re-test later
  • Send notification to superuser(-s) group + user who invokes the action
    * Log the warning message once, for the system start-up

    • DONE.
Comment by Le Hai Thanh [ 05/Jun/19 ]

For Testing:

Only able to test the modules for each license String (pack vs individual)

  • With invalid license, log will has
2019-06-05 10:03:26,163 ERROR info.magnolia.ai.text.TextRecognitionModule : Text recognition functionality was blocked due to invalid license.
  • With valid license, log will has
2019-06-05 10:08:44,302 INFO info.magnolia.ai.text.TextRecognitionModule : Text recognition might take some time, please do not shut down your instance.
Generated at Mon Feb 12 11:04:37 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.