mirror of
https://github.com/The-Low-Code-Foundation/OpenNoodl.git
synced 2026-01-11 14:52:55 +01:00
1.6 KiB
1.6 KiB
TASK-001 Changelog
2025-01-08 - Cline
Summary
Phase 1 implementation - Core HTTP Node created with declarative configuration support.
Files Created
packages/noodl-runtime/src/nodes/std-library/data/httpnode.js- Main HTTP node implementation with:- URL with path parameter support ({param} syntax)
- HTTP methods: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
- Dynamic port generation for headers, query params, body fields
- Authentication presets: None, Bearer, Basic, API Key
- Response mapping with JSONPath-like extraction
- Timeout and cancel support
- Inspector integration
Files Modified
packages/noodl-runtime/noodl-runtime.js- Added HTTP node registration
Features Implemented
- URL Path Parameters:
/users/{userId}automatically createsuserIdinput port - Headers: Visual configuration creates input ports per header
- Query Parameters: Visual configuration creates input ports per param
- Body Types: JSON, Form Data, URL Encoded, Raw
- Body Fields: Visual configuration creates input ports per field
- Authentication: Bearer, Basic Auth, API Key (header or query)
- Response Mapping: Extract data using JSONPath syntax
- Outputs: Response, Status Code, Response Headers, Success/Failure signals
Testing Notes
- Need to run
npm run devto verify node appears in Node Picker - Need to test basic GET request
- Need to test POST with JSON body
Known Issues
- Uses
stringlisttype for headers/queryParams/bodyFields - may need custom visual editors in Phase 3