File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11using System . IO ;
2+ using System . Text . Json . Serialization ;
23
34namespace CobolToQuarkusMigration . Models ;
45
56/// <summary>
67/// Represents the target language for code conversion.
78/// </summary>
9+ [ JsonConverter ( typeof ( JsonStringEnumConverter ) ) ]
810public enum TargetLanguage
911{
1012 /// <summary>
Original file line number Diff line number Diff line change @@ -486,9 +486,9 @@ generate_migration_report() {
486486 sqlite3 " $db_path " << SQL
487487.mode markdown
488488.headers off
489- SELECT '- **Total COBOL Files:** ' || COUNT(DISTINCT source_file ) FROM cobol_files WHERE run_id = $run_id ;
490- SELECT '- **Programs (.cbl):** ' || COUNT(DISTINCT source_file ) FROM cobol_files WHERE run_id = $run_id AND source_file LIKE '%.cbl';
491- SELECT '- **Copybooks (.cpy):** ' || COUNT(DISTINCT source_file ) FROM cobol_files WHERE run_id = $run_id AND source_file LIKE '%.cpy';
489+ SELECT '- **Total COBOL Files:** ' || COUNT(DISTINCT file_name ) FROM cobol_files WHERE run_id = $run_id ;
490+ SELECT '- **Programs (.cbl):** ' || COUNT(DISTINCT file_name ) FROM cobol_files WHERE run_id = $run_id AND file_name LIKE '%.cbl';
491+ SELECT '- **Copybooks (.cpy):** ' || COUNT(DISTINCT file_name ) FROM cobol_files WHERE run_id = $run_id AND file_name LIKE '%.cpy';
492492SQL
493493
494494 echo " "
517517 sqlite3 " $db_path " << SQL
518518.mode markdown
519519.headers on
520- SELECT file_name AS 'File Name', file_path AS 'Path', line_count AS 'Lines '
520+ SELECT file_name AS 'File Name', file_path AS 'Path', is_copybook AS 'Is Copybook '
521521FROM cobol_files
522522WHERE run_id = $run_id
523523ORDER BY file_name;
You can’t perform that action at this time.
0 commit comments