feat(opsce): integrate Stellar SDK for asset tokenization and impleme…#867
Merged
yusuftomilola merged 3 commits intoJun 1, 2026
Merged
Conversation
…nt export features
|
@feyishola is attempting to deploy a commit to the naijabuz's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@feyishola Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
yusuftomilola
approved these changes
Jun 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…nt export features
Summary
This PR implements four major OpsCE module features enabling asset tokenization on Stellar Soroban, PDF reporting, bulk export capabilities, and QR code generation for physical asset tagging.
Changes Included
Files:
backend/src/opsce/stellar/stellar.service.ts
backend/src/opsce/assets/assets.controller.ts
backend/src/opsce/assets/assets.module.ts
tests/opsce/stellar/stellar.service.test.ts
Files:
backend/src/opsce/exports/pdf.service.ts
backend/src/opsce/exports/exports.controller.ts
tests/opsce/exports/pdf.service.test.ts
Endpoint: GET /api/assets/:id/report
Features:
Generates professional PDF with asset metadata
Includes maintenance history table (last 10 records)
Embeds QR code image (reuses QrService)
Multi-page support for long maintenance histories
PDF Sections:
Header: Asset name, ID, QR code
Details Table: Serial number, status, condition, purchase info
Location: Department, location, assigned user
Financial: Purchase date, purchase value, current value
Maintenance History: Date, type, description, cost, technician
Files:
backend/src/opsce/exports/exports.service.ts
backend/src/opsce/exports/exports.controller.ts
tests/opsce/exports/exports.service.test.ts
Endpoint: GET /api/assets/export?format=csv|xlsx
Files:
backend/src/opsce/assets/qr.service.ts
backend/src/opsce/assets/assets.controller.ts
tests/opsce/assets/qr.service.test.ts
Endpoint: GET /api/assets/:id/qr
closes #747
closes #748
closes #749
closes #750