Dependency Routing
Routing manages cross-app dependencies through AtomIQ Gateway.
Modernization rules
The Modernization Rules Engine analyzes app structure and dependency patterns to suggest decomposition and decoupling strategies, for example how to slice LOGIC / DB / FILES / BATCH domains and which cross-app calls should become gateway routes. Use the rules together with operations and domain classification and the route lifecycle below to move from a monolith to governed, independently deployable apps.
Route lifecycle
- Unrouted: default state; the dependency exists but is not managed through the gateway.
- Registered (routed): the dependency is registered with the gateway through Route Dependencies.
- Published: the route is available through the gateway (via Publish) for active traffic.
- Unpublished: registration remains but traffic is disabled; the route can be re-published.
- Removed: the registration is deleted and must be re-registered.
Resolving dependencies
In the Dependencies Control Panel, enable the app pairs you want to inspect and select Route Dependencies (or Resolve Dependencies...). Each dependency between two apps is resolved in one of three ways in the Resolve Dependencies dialog:
- Register: calls to a program (from a program or a screen program) are the program-to-program dependencies routed through the AtomIQ Gateway. Register Dependencies (N) registers all N listed ones.
- Approve: program-to-database and screen-to-database dependencies. Approving marks them for modernization (the calling resource is in scope to modernize or decouple; the table stays on the host). Approved dependencies are resolved, not registered.
- Skip or Create Task: every other dependency, such as screen-to-screen transfers between CICS screen programs. These are not registered as routes.
Resolve Dependencies... is disabled once every dependency between apps is routed, skipped, or approved. Register Dependencies is disabled when the dialog lists no program-to-program dependency, for example when every dependency is screen-to-screen (typical of a CICS application whose online programs are all screens) or to a database. Resolve those with Approve, Skip, or Create Task.
Use Registered Routes to publish or unpublish. You must unpublish a route before removing it.
Viewing dependencies
Hover a resource to see a tooltip with its resource ID, name, all its dependencies (connections from it), and the routed status of each. Hover a connection arrow to see the from → to relationship.
Uploading an OpenAPI spec
A modernized LOGIC app with no endpoints yet shows an Upload OpenAPI button in its box. The file picker accepts .json, .yaml, or .yml, but the server currently parses JSON only: a YAML file is accepted by the picker and then rejected with "Invalid OpenAPI spec format. Only JSON format is supported."
On a valid spec, AtomIQ reads every paths entry and adds one resource per HTTP method and path pair to the app (existing resources are not duplicated). The App Viewer then reloads and redraws connections. The action is available only for apps that are both modernized and category LOGIC. Uploading to any other app is rejected with a specific error message.
Return to Monolith
Right-click one or more selected resources that belong to a decoupled app to see a Return to Monolith: submenu listing each monolith app in the workspace. Choosing one moves the selected resources back into that monolith app after a confirmation prompt.
- If the decoupled app still has an associated modernized app, the action is blocked with an explanation to delete the modernized app first.
- If moving the resources leaves their original app with zero resources, that app, and any connections referencing it, is deleted automatically.
Rules, route lifecycle, resolving dependencies, OpenAPI upload, and returning to the monolith.