Details
-
Story
-
Status: Closed
-
Minor
-
Resolution: Completed
-
None
-
LIMA | #31 | DEV | Jan26-Feb16, LIMA | #30 | Jan13-Jan26, LIMA | #32 | DEV | Feb16-Mar09
Description
Make the tensorflow module downloadable only when needed so the bundle is lighter
Acceptance criteria
Given a Liferay instance
When an admin enables the tensorflow auto-tagging for images
Then the model is downloaded
Given a Liferay instance
When an admin enables the tensorflow auto-tagging for images
Then the user is warned that it will wait for tags to be added
Given a Liferay instance with tensorflow enabled
When a user uploads an image
Then tags are added to the image
Test Scenarios
ID | Test Priority | Test Scenarios | Covered by Backend (Unit/Integration)? | Test to add |
---|---|---|---|---|
1.1 | 5 | TensorFlow model and libtensorflow_jni are not bundled by default | NO | Manual |
1.2 | 4 | An info message will be shown to remind the user the model needs to download before enabling the tensorflow auto-tagging | NO | Existing test DMAutoTagging#Smoke |
1.3 | 4 | An info message will be shown to remind the user the model is downloading during the download | NO | Existing test DMAutoTagging#Smoke |
1.4 | 4 | No info message shows after the download is successful | NO | Existing test DMAutoTagging#Smoke |
1.5 | 4 | An error message will be shown when the download fails | NO | Manual |
1.6 | 5 | TensorFlow model and libtensorflow_jni file are downloaded after enabling the tensorflow auto-tagging | YES | Manual |
1.7 | 5 | Tags are added to the image when uploading an image after enabling the tensorflow auto-tagging | YES | Existing test DMAutoTagging#Smoke |
1.8 | 4 | Tags are added to the images when they are uploaded on both nodes with tensorflow enabled on a clustered configuration | NO | DMAutoTagging#AutoTaggingImagesOnSeparateNodes |
Attachments
Issue Links
- demands
-
LPS-128538 Run the upgrade only when needed
-
- Closed
-
- Is blocked by
-
LPS-128068 Fail to auto tag an image
- Closed
- relates
-
LPS-126778 Make OpenNLP auto-tagging model downloadable when needed
-
- Open
-
- Testing discovered
-
LPS-128068 Fail to auto tag an image
- Closed
-
LPS-128235 The download failed message is always displayed even if reset default values
- Closed