feat(ui+backend): complete Bulk Import implementation (200 cap)#798
Merged
crivetimihai merged 3 commits intoIBM:mainfrom Aug 21, 2025
Merged
feat(ui+backend): complete Bulk Import implementation (200 cap)#798crivetimihai merged 3 commits intoIBM:mainfrom
crivetimihai merged 3 commits intoIBM:mainfrom
Conversation
Signed-off-by: Vicky Kuo <vicky.kuo.contact@gmail.com>
Member
|
Review and rebase in progress, please do not make further changes. |
rakdutta
reviewed
Aug 21, 2025
Collaborator
There was a problem hiding this comment.
PR Testing Summary
- make serve – ✅ Pass
- make test – ✅ Pass (75%,
2135 passed,15 skipped,599 warningsin 194.55s) - make autoflake isort black flake8 – ✅ No errors
- make pylint – ✅ Pass (
Your code has been rated at 10.00/10) - make smoketest – ✅ Pass (
Smoketest passed!) - make doctest – ✅ Pass (45%,
491 passed,6 skipped,68 warningsin 29.17s)
✅ Bulk Import functionality is working fine.
Tests Performed
- Paste JSON option – Verified with example JSON input.
- Upload file option – Verified with example JSON file.
- Existing tool name – Tested handling of duplicate tool names.
- Invalid tool names – Tested cases where the tool name starts with a number, contains only numbers, or includes special characters.
Example JSON contained 10 tools, but only 8 tools were successfully registered.
Observations
- Missing Tools – Tools such as
Tool_CandTool_Hwere not registered, and no error message was displayed. - Error Handling – Integrity errors (e.g., duplicate
name) are not surfaced in the UI. - Validation Errors – Validation issues are not consistently shown in the UI or backend logs.
- Registration Summary – UI does not display the number of tools successfully registered.
- Unregistered Tool Details – Tools that fail to register should provide error details (both in UI and logs) so users can identify which tools failed and why, and developers can analyze the root cause later.
- Add Server, Add Gateway, and Add Tool – All functionalities are working as expected.
vk-playground
added a commit
to vk-playground/mcp-context-forge
that referenced
this pull request
Sep 14, 2025
) * fix(ui/bulk-import): align UI with bulk import API Signed-off-by: Vicky Kuo <vicky.kuo.contact@gmail.com> * Rebase Signed-off-by: Mihai Criveti <crivetimihai@gmail.com> * Fix HTML Signed-off-by: Mihai Criveti <crivetimihai@gmail.com> --------- Signed-off-by: Vicky Kuo <vicky.kuo.contact@gmail.com> Signed-off-by: Mihai Criveti <crivetimihai@gmail.com> Co-authored-by: Vicky <vicky.kuo.contact@gmail.com> Co-authored-by: Mihai Criveti <crivetimihai@gmail.com>
vk-playground
added a commit
to vk-playground/mcp-context-forge
that referenced
this pull request
Sep 14, 2025
) * fix(ui/bulk-import): align UI with bulk import API Signed-off-by: Vicky Kuo <vicky.kuo.contact@gmail.com> * Rebase Signed-off-by: Mihai Criveti <crivetimihai@gmail.com> * Fix HTML Signed-off-by: Mihai Criveti <crivetimihai@gmail.com> --------- Signed-off-by: Vicky Kuo <vicky.kuo.contact@gmail.com> Signed-off-by: Mihai Criveti <crivetimihai@gmail.com> Co-authored-by: Vicky <vicky.kuo.contact@gmail.com> Co-authored-by: Mihai Criveti <crivetimihai@gmail.com>
vk-playground
added a commit
to vk-playground/mcp-context-forge
that referenced
this pull request
Sep 16, 2025
) * fix(ui/bulk-import): align UI with bulk import API Signed-off-by: Vicky Kuo <vicky.kuo.contact@gmail.com> * Rebase Signed-off-by: Mihai Criveti <crivetimihai@gmail.com> * Fix HTML Signed-off-by: Mihai Criveti <crivetimihai@gmail.com> --------- Signed-off-by: Vicky Kuo <vicky.kuo.contact@gmail.com> Signed-off-by: Mihai Criveti <crivetimihai@gmail.com> Co-authored-by: Vicky <vicky.kuo.contact@gmail.com> Co-authored-by: Mihai Criveti <crivetimihai@gmail.com>
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.
Original ticket PR #739 only delivered modal wiring and documented a draft schema; this PR completes the UI to match the finalized backend. It delivers end-to-end support for importing multiple tools via JSON file upload or paste, enforcing validation rules, and handling partial success cases.
Key Changes
Frontend (admin.html / JS)
Added Bulk Import modal with:
Backend
POST /admin/tools/importConfiguration
Environment variables required:
Validation Rules
Testing Scenarios