Comments (3)
Finishing up for the day, all API endpoints now work with the backend and files are persistently stored in the database. However, MySQL's size limit on strings either truncates the file contents (as seen below) or throws an error.
The way around this is to possibly declare the field as a BLOB instead of a string? I will need to do further research. Once this is taken care of, the endpoints will fully work as intended and all that's left is fixing the API unit tests.
from sbom-in-a-box.
Unit tests completed in 0359b6e
from sbom-in-a-box.
Finishing up for the day, all API endpoints now work with the backend and files are persistently stored in the database. However, MySQL's size limit on strings either truncates the file contents (as seen below) or throws an error.
The way around this is to possibly declare the field as a BLOB instead of a string? I will need to do further research. Once this is taken care of, the endpoints will fully work as intended and all that's left is fixing the API unit tests.
Fixed in 376da0a by changing the attribute type of contents
to LONGTEXT
(about 4GB of text worth)
from sbom-in-a-box.
Related Issues (20)
- Repair: EmptyOrNullFixes Testing / QA
- Repair: HashFixes Testing / QA
- Repair: LicenseFix Testing / QA (Extension)
- Unable to use an SBOM greater than 4,194,304 bytes in Compare, Convert, and Grade features HOT 1
- Vex: Unable to generate any data HOT 1
- EmptyOrNull Copyright - More Package Managers
- QualityReport Double Nesting & Duplicates
- VEX fails on null key
- Repair: Investigate Improving HashFixes HOT 2
- Merge: merged SPDX Tag Value SBOM has incorrect comment header
- SBOM Compare doesn't do Components
- Additional OSI Tools HOT 1
- Enable SBOMFileServiceTest.merge_two_sboms() test after dev-deserializers is merged with dev
- OSI input project path standardization
- OSI input project path standardization
- Add tools to drop down HOT 2
- Rebranding HOT 1
- Certain Valid SBOMs fail on Conversion.
- SBOM Generation does not completely work on Mac OS. HOT 1
- Components not being detected during Deserialization for certain SPDX SBOMs.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sbom-in-a-box.