Add ResShare file-sharing toolkit under ecosystem/tools#240
Add ResShare file-sharing toolkit under ecosystem/tools#240Bismanpal-Singh merged 4 commits intoapache:developmentfrom
Conversation
* fix ut * fix ut
|
Hi @devangb3, Please update this PR according to the latest Master, we removed quite a lot of files which were causing the licensing issue and that is being flagged in your PR since your version of the branch still has those. Once you update your branch with our new Master, we'd only be left with the new additions you are doing and would be able to merge it directly. It's already been reviewed by Junchao. |
- Created core files including `README.md`, `package.json`, and configuration for Jest testing. - Implemented main client functionality in `src/index.js` and modularized authentication, file handling, and sharing features in respective modules. - Added example scripts for basic usage and advanced scenarios. - Included a `.gitignore` file to exclude unnecessary files from version control. - Established a testing framework with initial unit tests for client functionality.
Hello @Bismanpal-Singh, I have updated the PR against the latest upstream branch and fixed the Apache license headers in the new ResShare toolkit files. The diff should now only contain the intended ResShare additions plus the README updates. Please take another look when you have a moment. |
|
This PR resolves Issue #244 |
…xed, Beacon updated, ResVault updated, ResShare added (#248) * Add Bazel configuration for C++17 and optimization; refactor JSONScalar implementation; update service configuration for replicas * ResLens Deployment from Monorepo * ResLens Vercel deployment - Workflow Test * ResLens Vercel deployment - Workflow Test * update workflow * update workflow - resolve caching * update yaml parsing in wfl * update workflow to python runners * use jq instead to parse projects config * fixed JSON parsing in workflow * Offload Project Build to Vercel * Additional Optimisations to the vercel deployment pipeline * using vercel.json instead of vercel.ts * Update deployment command in workflow to include --yes flag for automatic confirmation * Remove reslens to re-add as subtree * Squashed 'ecosystem/monitoring/reslens/' content from commit 0e4305048 git-subtree-dir: ecosystem/monitoring/reslens git-subtree-split: 0e43050486e29c18cf06e7a696b09bee42195d49 * updating build command for reslens * update project id for reslens deployment * revert project id changes. vercel deployment breaks with author validation error * remove unecessary config file * Squashed 'ecosystem/ai-tools/beacon/' content from commit a77bbe3f0 git-subtree-dir: ecosystem/ai-tools/beacon git-subtree-split: a77bbe3f0711faff5925cd224211e645ef9a6c0b * update deployment config to trigger beacon deployment * fix for author conflict outside vercel org * checking if the git config works * adding back token info * checking if deployment authorship works * adding skip config to project deployments * Squashed 'ecosystem/ai-tools/nexus/' content from commit 9148a40 git-subtree-dir: ecosystem/ai-tools/nexus git-subtree-split: 9148a40 * adding nexus for deployment check * bumping next js version for nexus and updating deployment configs * Rescontract - Development Branch PR (#226) * Create directory for MCP and get started * added MCP support for smart contract functionality * fix(rescontract): switch to JSON config for contract_tools * Add required mcp-graphql files * Automate key generation and enable it to be used at MCP tools * Fix few bugs * Analysis of the transactions * add monitoring * Integration of graphql and smart contract * Benchmarking tool integration * Integrate mcp-graphql and mcp-smartcontract in the same directory --------- Co-authored-by: Rahul Kanagaraj <getmerk786@gmail.com> Co-authored-by: Vikhas <vikhas260401@gmail.com> Co-authored-by: Vikhas <76156657+Vikhas@users.noreply.github.com> Co-authored-by: Pavan Kumar Nuthi <pavankumarnuthi@gmail.com> * update folder structure for resilientdb-mcp * GraphQ-LLM MCP server (#227) * Initial commit * Initial commit * Initial commit * Initial commit * setup * setup * Update docker-compose.dev.yml * Update docker-compose.dev.yml * setup update * setup update * fixed setup * fixed setup * Nexus integration * Nexus integration * nexus update * nexus update * setup update * setup update * feat: Dockerize MCP server and update documentation - Add separate Docker service for MCP server in docker-compose.dev.yml - MCP server runs as independent container using stdio transport - Configured with stdin_open and tty for stdio communication - Shares environment variables with backend service - Update TEAM_SETUP.md with comprehensive MCP server setup instructions - Add Step 5.1: Start MCP Server with Docker and local options - Clarify separation between HTTP API backend and MCP server - Update configuration summary and verification checklist - Add MCP server to Quick Start Commands section - Improve code clarity in src/index.ts - Update console output to distinguish HTTP API Server from MCP Server - Clarify port configuration display - Add QUERY_TUTOR_EXAMPLES.md - Comprehensive guide with GraphQL query examples - Question-based prompts for RAG testing - Recommended testing order and expected results * feat: Dockerize MCP server and update documentation - Add separate Docker service for MCP server in docker-compose.dev.yml - MCP server runs as independent container using stdio transport - Configured with stdin_open and tty for stdio communication - Shares environment variables with backend service - Update TEAM_SETUP.md with comprehensive MCP server setup instructions - Add Step 5.1: Start MCP Server with Docker and local options - Clarify separation between HTTP API backend and MCP server - Update configuration summary and verification checklist - Add MCP server to Quick Start Commands section - Improve code clarity in src/index.ts - Update console output to distinguish HTTP API Server from MCP Server - Clarify port configuration display - Add QUERY_TUTOR_EXAMPLES.md - Comprehensive guide with GraphQL query examples - Question-based prompts for RAG testing - Recommended testing order and expected results * test: Add comprehensive Docker services testing and MCP protocol verification - Add TEST_DOCKER_SERVICES.md with complete testing guide - Step-by-step verification procedures for all Docker services - Network communication tests - End-to-end flow testing - Troubleshooting tips and common issues - Add test-mcp-protocol.ts for MCP server protocol testing - Tests MCP protocol communication via JSON-RPC over stdio - Verifies all 5 core MCP operations: * Initialize protocol * List tools (9 tools verified) * Check connection tool * Execute GraphQL query tool * Introspect schema tool - All tests passing (5/5) - Confirms MCP server is responding correctly to protocol calls * test: Add comprehensive Docker services testing and MCP protocol verification - Add TEST_DOCKER_SERVICES.md with complete testing guide - Step-by-step verification procedures for all Docker services - Network communication tests - End-to-end flow testing - Troubleshooting tips and common issues - Add test-mcp-protocol.ts for MCP server protocol testing - Tests MCP protocol communication via JSON-RPC over stdio - Verifies all 5 core MCP operations: * Initialize protocol * List tools (9 tools verified) * Check connection tool * Execute GraphQL query tool * Introspect schema tool - All tests passing (5/5) - Confirms MCP server is responding correctly to protocol calls * Reslens integration * my changes * Apply changes after removing secret * Clean up unnecessary files and add Docker setup for ResLens - Removed temporary fix scripts and redundant documentation - Added Docker support for ResLens Frontend and ResLens Middleware - Updated docker-compose.dev.yml with ResLens services - Fixed middleware connection URLs for browser compatibility - Added check-docker-services.sh utility script - Kept essential setup scripts and documentation * Update README.md * Update README.md * Update README.md * Fix backend container command and GraphQL URL configuration - Fix docker-compose.dev.yml: Change backend command from 'npm run dev -- --http-api' to 'npm run http-api' for correct HTTP API mode - Fix ingest-graphql-docs.ts: Remove incorrect RESILIENTDB_GRAPHQL_URL override pointing to HTTP wrapper (port 18001) - HTTP wrapper only provides REST KV endpoints, not GraphQL server - GraphQL operations must use port 5001 - Added clarifying comments about service separation - Update environment.ts: Fix default RESILIENTDB_GRAPHQL_URL from port 18000 to 5001 with clarifying comment - Enable ResLens Middleware and Frontend services in docker-compose.dev.yml * Merge ResLens Docker setup into TEAM_SETUP.md and update TEST_DOCKER_SERVICES.md - Merged DOCKER_RESLENS_SETUP.md content into TEAM_SETUP.md Step 5.2 - Added comprehensive ResLens Docker setup instructions including: - Docker architecture details (multi-stage builds, Nginx setup) - Complete environment variables documentation - Networking configuration - Service management commands (logs, stop, remove) - Development vs Production comparison - Enhanced troubleshooting sections - Updated TEST_DOCKER_SERVICES.md to include ResLens services testing - Added ResLens Middleware and Frontend to service architecture - Added Step 5: Test ResLens Services with 6 sub-tests - Added ResLens troubleshooting sections - Updated verification checklists and success criteria - Deleted standalone DOCKER_RESLENS_SETUP.md file - Updated all documentation references * Update README.md * Update README.md * Update README.md * Update TEAM_SETUP.md to reference forked Nexus repository with GraphQ-LLM integration * Fix remaining Nexus repository URLs to point to fork * Add Nexus fork setup guide and script for team reference * Add nexus/ to .gitignore and update scripts to use forked Nexus repository * Remove nexus directory from git tracking (now using separate fork) * Update README.md with Nexus fork information and setup instructions * Add Nexus Fork Information section to README * Simplify conclusion sentence in README * Update README.md * Add ResLens fork setup guide and script * Configure ResLens to use separate fork repositories - Update docker-compose.dev.yml to use absolute paths to forks - Remove ResLens directories from git tracking (165 files) - Update TEAM_SETUP.md with fork information - Add ResLens to .gitignore - Fork URLs: - Frontend: sophiequynn/incubator-resilientdb-ResLens - Middleware: sophiequynn/incubator-resilientdb-ResLens-Middleware * Add ResLens fork clone commands to Quick Start section * Update documentation for ResLens fork setup - Add ResLens fork information to docs/README.md - Update Quick Start to include ResLens fork cloning steps - Add ResLens fork section similar to Nexus fork documentation - Update TEAM_SETUP.md with detailed ResLens fork instructions - Clarify that forks include GraphQ-LLM-specific modifications * Clarify ResLens fork modifications in TEAM_SETUP.md * Add ResLens fork cloning commands to prerequisites in Step 5.2 * Revise performance metrics section and add URLs Updated section titles and added access URLs for various services. * chore: Update docker-compose.dev.yml with local ResLens paths - Update ResLens Middleware path to /Users/CelineJohnPhilip/DDS/ResLens-Middleware/middleware - Update ResLens Frontend path to /Users/CelineJohnPhilip/DDS/ResLens - Configured for local development environment * Removed optimization related content. Updated README to improve clarity and consistency in descriptions of features and sections. * update * update * update * Update README.md * Fix ResLens frontend connection and enhance explanation quality - Fix ResLens frontend middleware URL to use localhost instead of Docker service name (browser can't resolve service names) - Increase token limits for detailed explanations (2000 for Gemini, 3000 for other models) - Enhance system and detailed explanation prompts for more comprehensive responses - Remove ResLens frontend dependency on middleware health check to allow startup * Update docs/README.md with latest features and fixes - Fix Nexus port inconsistency (3002 -> 3000) - Document query stats button feature in efficiency tab - Add note about ResLens frontend localhost configuration - Enhance performance metrics section with ResLens integration details * Fix ResLens paths to match current user setup * Document chatbot UI route in README --------- Co-authored-by: sophiequynn <39390333+sophiequynn@users.noreply.github.com> Co-authored-by: celinejp <celinejp.03@gmail.com> Co-authored-by: Theodore Pan <77665596+theopan8@users.noreply.github.com> Co-authored-by: sophiequynn <sjquynn@ucdavis.edu> Co-authored-by: Sandhya <sghanathe@ucdavis.edu> Co-authored-by: Ahadke <hadkeaayusha@gmail.com> * header fix using license-eye * test deployment after license additions * updated workflow to trigger on commits to master * deleting unrelated files * deleting the private and public certificates * added in scripts to generate certificates and public-private keys and updated readme and gitignore * checking ecosystem deployment * Added automatic document updation workflow using Pocketflow (#229) * Added Pocketflow, it's license notice and doc updation workflow * removing excess documentation - added in CC0 license * added pocketflow as third party tool * fixed license file * changelog: v1.12.0 ecosystem and contributor updates Co-authored-by: Dhruv Sangamwar <dhruvsangamwar@users.noreply.github.com> Co-authored-by: Prashansa Goel <pgoel-02@users.noreply.github.com> Co-authored-by: dharora <dharora@users.noreply.github.com> Co-authored-by: Chris Ruan <chris315654@users.noreply.github.com> Co-authored-by: Krishnanand Yadav <Kriishna1@users.noreply.github.com> Co-authored-by: Paiman Nejrabi <PNejr10@users.noreply.github.com> Co-authored-by: Haskell Macaraig <AwesomenessXP@users.noreply.github.com> Co-authored-by: Amey Gohil <AmeyGohil@users.noreply.github.com> Co-authored-by: Harish Krishnakumar <harish876@users.noreply.github.com> Co-authored-by: Bismanpal Anand <Bismanpal-Singh@users.noreply.github.com> Co-authored-by: Junchao Chen <cjcchen@users.noreply.github.com> * Update CHANGELOG.md for Apache ResilientDB v1.12.0 release, including a new release date and a summary of core feature enhancements, specifically the implementation of securing consensus against long-range attacks. * Update default configs to use localhost * Updated ResContract CLI to latest variant from the standalone repo * Updated rescontract, fixed contract service bugs, * Updated ResVault to match the Standalone repo * Fixed Resvault SC deployment issues * Fixed license issue, solc package issue and updated Readme * arch diagram added * Added execution command in rescontract, fixed sc-graphql accordingly * Add ResShare file-sharing toolkit under ecosystem/tools (#240) * Fix covery test (#246) * fix ut * fix ut * Add implementation of ResShare Toolkit - Created core files including `README.md`, `package.json`, and configuration for Jest testing. - Implemented main client functionality in `src/index.js` and modularized authentication, file handling, and sharing features in respective modules. - Added example scripts for basic usage and advanced scenarios. - Included a `.gitignore` file to exclude unnecessary files from version control. - Established a testing framework with initial unit tests for client functionality. * Document ResShare SDK in READMEs * Add Apache headers to ResShare toolkit files --------- Co-authored-by: cjcchen <ickchenjunchao@gmail.com> * Updated Resvault dependencies * Fixes for merging to master * updated license --------- Co-authored-by: harish876 <harishgokul01@gmail.com> Co-authored-by: Rahul Kanagaraj <getmerk786@gmail.com> Co-authored-by: Vikhas <vikhas260401@gmail.com> Co-authored-by: Vikhas <76156657+Vikhas@users.noreply.github.com> Co-authored-by: Pavan Kumar Nuthi <pavankumarnuthi@gmail.com> Co-authored-by: sophiequynn <39390333+sophiequynn@users.noreply.github.com> Co-authored-by: celinejp <celinejp.03@gmail.com> Co-authored-by: Theodore Pan <77665596+theopan8@users.noreply.github.com> Co-authored-by: sophiequynn <sjquynn@ucdavis.edu> Co-authored-by: Sandhya <sghanathe@ucdavis.edu> Co-authored-by: Ahadke <hadkeaayusha@gmail.com> Co-authored-by: Dhruv Sangamwar <dhruvsangamwar@users.noreply.github.com> Co-authored-by: Prashansa Goel <pgoel-02@users.noreply.github.com> Co-authored-by: dharora <dharora@users.noreply.github.com> Co-authored-by: Chris Ruan <chris315654@users.noreply.github.com> Co-authored-by: Krishnanand Yadav <Kriishna1@users.noreply.github.com> Co-authored-by: Paiman Nejrabi <PNejr10@users.noreply.github.com> Co-authored-by: Haskell Macaraig <AwesomenessXP@users.noreply.github.com> Co-authored-by: Amey Gohil <AmeyGohil@users.noreply.github.com> Co-authored-by: Harish Krishnakumar <harish876@users.noreply.github.com> Co-authored-by: Bismanpal Anand <Bismanpal-Singh@users.noreply.github.com> Co-authored-by: Junchao Chen <cjcchen@users.noreply.github.com> Co-authored-by: Devang Borkar <devangborkar3@gmail.com> Co-authored-by: cjcchen <ickchenjunchao@gmail.com>
Summary
This PR adds a ResShare file-sharing toolkit in
ecosystem/tools/reshare-lib, aligned with the existing toolkit format.What changed
ecosystem/tools/reshare-libsrc/index.jssrc/modules/{auth,files,shares}.jsexamples/{basic-usage.js,advanced-demo.js}tests/unit/client.test.jsREADME.md,package.json,.gitignore,jest.config.cjsresshare-toolkitApache-2.0README.mdecosystem/README.md