Skip to content

Commit 4813f09

Browse files
committed
Add C# output support and enhanced features
- Add dual-language support: Java Quarkus or C# .NET conversion - Add CSharpConverterAgent for C# code generation - Add enhanced dependency tracking (CALL, COPY, PERFORM, EXEC, READ, WRITE, OPEN, CLOSE) - Add migration report generation with comprehensive details - Add Mermaid diagram support in documentation - Add collapsible UI components for cleaner dashboard - Update GPT-5 Mini as default AI model configuration - Fix C# file extension bug (.cs.java -> .cs) - Fix portal auto-start in dev container - Update all architecture diagrams for dual-language support - Add helper scripts: open-portal.sh, status.sh - Add local GIF for portal demonstration - Update CHANGELOG.md with version 2.1.0 - Add sample COBOL files for testing
1 parent a66ab65 commit 4813f09

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+4108
-648
lines changed

.devcontainer/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ nano Config/ai-config.local.env
9393
Required values:
9494
- `AZURE_OPENAI_ENDPOINT` - Your Azure OpenAI endpoint URL
9595
- `AZURE_OPENAI_API_KEY` - Your API key
96-
- `AZURE_OPENAI_DEPLOYMENT_NAME` - Your deployment name (must be "gpt-4.1")
96+
- `AZURE_OPENAI_DEPLOYMENT_NAME` - Your deployment name (e.g., "gpt-5-mini-2" or "gpt-4o")
9797

9898
### 5. Run Demo
9999

.devcontainer/devcontainer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "COBOL to Quarkus Migration with Neo4j",
2+
"name": "COBOL Migration with Neo4j & Enhanced Portal",
33
"dockerFile": "Dockerfile",
44
"forwardPorts": [
55
5028,
@@ -8,12 +8,12 @@
88
],
99
"portsAttributes": {
1010
"5028": {
11-
"label": "Migration Portal (McpChatWeb)",
11+
"label": "Migration Portal (Enhanced UI with Reports & Mermaid)",
1212
"onAutoForward": "openBrowser",
1313
"protocol": "http"
1414
},
1515
"7474": {
16-
"label": "Neo4j Browser",
16+
"label": "Neo4j Browser (Dependency Graphs)",
1717
"onAutoForward": "notify",
1818
"protocol": "http"
1919
},
@@ -72,8 +72,8 @@
7272
"version": "lts"
7373
}
7474
},
75-
"postCreateCommand": "dotnet restore Legacy-Modernization-Agents.sln && dotnet build Legacy-Modernization-Agents.sln",
76-
"postStartCommand": "sudo chmod 666 /var/run/docker.sock && echo 'Dev container ready'",
75+
"postCreateCommand": "dotnet restore Legacy-Modernization-Agents.sln && dotnet build Legacy-Modernization-Agents.sln && echo '\n✅ Dev Container Ready!\n\nKey Features:\n- Enhanced Portal UI with collapsible sections\n- Migration report generation (per run)\n- Mermaid diagram support in docs\n- Extended dependency tracking (CALL, COPY, PERFORM, EXEC, READ, WRITE, OPEN, CLOSE)\n- Interactive dependency graph with filtering\n- Line-level context for all dependencies\n\nQuick Start:\n ./doctor.sh run # Start migration with report generation\n ./helper-scripts/demo.sh # Run demo with sample COBOL\n Portal: http://localhost:5028\n Neo4j: http://localhost:7474 (neo4j/cobol-migration-2025)\n'",
76+
"postStartCommand": "bash -c 'sudo chmod 666 /var/run/docker.sock && docker-compose up -d neo4j 2>/dev/null || true && echo \"🚀 Starting services...\" && sleep 3 && cd McpChatWeb && nohup dotnet run --urls \"http://localhost:5028\" > /tmp/cobol-portal.log 2>&1 & echo \"✅ Portal starting on http://localhost:5028\" && echo \"📝 Logs: tail -f /tmp/cobol-portal.log\"'",
7777
"mounts": [
7878
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
7979
],

.gitignore

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,21 @@ Config/appsettings.secrets.json
8181
# =============================================================================
8282

8383
# COBOL Source Files (Contains proprietary business logic)
84+
# Note: Sample files in cobol-source/ are kept for demo purposes
8485
cobol-source/*
8586
!cobol-source/.gitkeep
87+
!cobol-source/*.cbl
88+
!cobol-source/*.cpy
8689
source/*
8790
!source/.gitkeep
88-
cobol-files/
91+
92+
# Ignore COBOL files everywhere else (but not in cobol-source/)
8993
*.cbl
9094
*.cpy
9195
*.cob
96+
# Re-allow sample files in cobol-source
97+
!cobol-source/*.cbl
98+
!cobol-source/*.cpy
9299

93100
# Generated Output (Contains converted business logic and reverse engineering results)
94101
output/*

0 commit comments

Comments
 (0)