Commit Graph

6 Commits

Author SHA1 Message Date
a47af979b8 Reorganize testing infrastructure and fix Oracle cursor loop syntax
Major changes:
- Fix cursor loop syntax in 04_import_comenzi.sql using BULK COLLECT pattern
- Remove obsolete test scripts (apply_fix.py, check_*.py, debug_functions.py, test_*.py)
- Add comprehensive README.md files for api/ and api/tests/ directories
- Keep only essential testing scripts (final_validation.py, test_syntax.py)
- Update PRD.md with latest project status

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 13:09:32 +03:00
23f03670c8 Update documentation with P1-004 completion status
- Update PRD with Phase 1 completion (95%)
- Document test results and external dependency issue
- Ready for Phase 2 VFP integration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 01:25:38 +03:00
0b9814114d Implement error handling system for PACK_IMPORT_COMENZI similar to PACK_JSON
- Add g_last_error package variable for VFP orchestrator integration
- Replace immediate pINFO logging with error storage for deferred logging
- Implement get_last_error() and clear_error() functions matching PACK_JSON pattern
- Update Oracle 10g compatibility for PACK_JSON regex patterns
- Enhance PACK_COMENZI with OUT parameter version for ID_COMANDA return

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 23:57:26 +03:00
461b26e8a7 Actualizare documentatie si plan pentru VFP Orchestrator
- CLAUDE.md: Actualizare completa cu architecture multi-tier si status project
- PRD.md: Adaugat plan detaliat pentru sync-comenzi-web.prg cu:
  * Flux complet de procesare (input/output/logging)
  * Helper functions necesare (CleanGoMagText, BuildArticlesJSON, etc.)
  * Cod complet pentru procesarea articolelor GoMag → Oracle
  * Gestionare cazuri speciale (shipping/billing/discounts)
  * Mapare detaliata Phase 2 cu P2-001 prin P2-004
- LLM_PROJECT_MANAGER_PROMPT.md: Update comenzi disponibile

Phase 1 Database Foundation: 75% complete, ready for P1-004 testing
Phase 2 VFP Integration: Fully planned, ready for implementation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 20:33:31 +03:00
3a234b5240 Remove FXP files from tracking and update gitignore
- Remove nfjson/nfjsonread.FXP from git tracking
- Add Python cache patterns (__pycache__/, *.py[cod], *$py.class)
- Add environment file patterns (.env, .env.local, .env.*.local)
- Reorganize project structure with VFP files moved to vfp/ directory
- Add comprehensive database scripts and documentation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 19:38:31 +03:00
3e92456c59 Setup Docker infrastructure for GoMag vending import system
- Add Flask admin interface with Oracle connection pool
- Create ARTICOLE_TERTI table for SKU mappings
- Configure Docker container with Oracle Instant Client
- Setup project documentation and requirements

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-08 22:48:33 +03:00