You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Refactor: shared Java-forge helpers, one skeleton-forge pipeline, counters instead of text parsing (before #3618) #3657
Observations (tech debt accumulating across #3613 to #3617).
Shared helpers live in the wrong module. The call and repository forges import java_type, _status and _java_field_name from the transaction / spring forges, including private names. Move the shared pieces (type mapping, status text, identifier sanitising, DTO rendering, the extras merge) into cobol_to_java_common.py.
DTO naming. DTOs are named by class-name heuristics in two forges. Centralise the registry so a name collision across forges (a COMMAREA DTO vs an entity key class) is impossible by construction.
Do it before #3618 adds the next forge. Keep behaviour byte-identical: the compile matrix --scan plus snapshot tests guard it.
Observations (tech debt accumulating across #3613 to #3617).
java_type,_statusand_java_field_namefrom the transaction / spring forges, including private names. Move the shared pieces (type mapping, status text, identifier sanitising, DTO rendering, the extras merge) intocobol_to_java_common.py.cobol_to_java_controller.main()now wires three skeleton forges (transaction, call, repository), more are coming (Java conversion: embedded DB2 (table access + DCLGEN) -> repositories, dialect per config #3618 to Java conversion: JCL job flow -> Spring Batch jobs #3622), andfeatures.services/rest_controllersgate them. Introduce oneSkeletonForgespipeline object: plan all, write DTOs / entities / clients, hand each service its merged extras." link"/" call"substrings in generated method lines, which is fragile. Each forge should expose counters (and, with the traceability manifest Java conversion: machine-readable traceability manifest (every generated artifact -> its source facts) #3650, its records).Do it before #3618 adds the next forge. Keep behaviour byte-identical: the compile matrix
--scanplus snapshot tests guard it.Part of #3625.
🤖 Generated with Claude Code