Please enable JavaScript.
Coggle requires JavaScript to display documents.
Thoth HTML2PDF (Source File (Mime/Content Type (application/xml (Edit…
Thoth HTML2PDF
Source File
File Type
Non HTML
expect some non-human error for now, check microservice.log
One of the following file extensions must be used: css, bmp, gif, csv, rptdesign, xsl, wsdl, xml, ics, pgp, jpeg, html, jpg, zip, xlsx, svg, png, docx, txt, tiff, pdf, xlsm, xlm, xpdl, doc, xslt, properties, xls
HTML :<3:
File Size
Limit: 500 MB
1048576 bytes
Bug JIRA
PAPER-7518
Bug JIRA
PAPER-7547
Encoding Format
UTF-8
Base64
ASCII
ANSI
8859
Mime/Content Type
application/xml
Edit instance after WATS run
change the file content type via terminal type
text/html :<3:
text/plain
Question: :question: Any difference between Content Type, 4$1002 and Repository Document.has Mime Type, 3$8052
Common MIME Type
application/pdf
Failed as expected
Languages
Latin
Chinese/Japanese/Korean
English
others
Arabic
- right to left wrintten language
Images
URI (web image)
Out of Scope :red_cross:
Embeded Image
Based 64 encoded :check:
corrupted image data :red_cross:
Token Image :red_cross
Image files in Shared Resources :red_cross:
Dynamic Image :red_cross:
URL link
Out of Scope
grid/tables
Success
Special character
File permission - R/W
N/A
(file is stored in Blobitory as an instance)
Testing
Functional Testing
Multiple Tanents
super/super2 on same SUV instance
Launch concurrency on both tenant at the same time by using session box.. or run wats togther
Copy the branch and modify the user sign on to have super2 user - use existing Printables
Restart html2pdf-microservice mid-print :star:
send the restart command via terminal, login SUV - docker restart html2pdfmicroservice
Test launch Printable with the HTML Printing Run
Launch a html files have everything
HTML file contains Image
Different types of images
Image encoding format only supports Base64
Corrupted data
Restart Print-microservice
Restart other microservices
I.e birt microservices
Password Protection - N/A
Html file requires password to open?
try it - file - get info - permission/sharing
data protection in html file? e.g. can not view some of the xml tag?
In SUV - Enable password protection
Test with other use to see if the user has the permission to download/view the file
Create OMS repository document test - assign a user to this file
use non html files as source file to launch printable
xml
txt
HTML online editor
Language Testing
one html file contains all the different language
Cancel Html2pdf-microservice mid-print
Upload 2 html files at the same time when creating the oms repository document
not possible
Stress Testing (super)
sent >1k html prints to the suv through a loop of the wats
Create WATS loop
counter = 400 first then 1000
Concurrency Testing while Automation is in runnning
use above loop - multiple 10 times and concurrent action
Toggle Off testing
Automation
Add WATS into WPC pipeline :red_flag:
PAPER-7528
PAPER-7428
Manual Testing Steps
Create OMS Repository Document Test, 2998$7784
Create Test HTML Printing Run+TG, 2998$40413
Test Launch Printable
Deploy service
Bitbucket
Bamboo Plan
Deployment/Logging/Upgrade/Manage API/Version
Environment
Thoth SUV + Print-microservice + Birt-microservice nodes
Pooled SUV + THOTH + HTML2PDF
Phase 2
Validations
File name
File content
PAPER-7433
More Details
Output PDF file
Output File Name
without .pdf/.PDF
with .pdf/.PDF
with other file type I.E. .txt
Special characters in filename I.E. *, . -
Max Length
255 chars?
Size
Limit 500MB
Microservices
html2pdf-microservice
XO Toggle
PAPER-7225
Feature Flag
thoth.ff.enable.html.to.pdf=prod
APIs