In the world of IBM Sterling Order Management (OMS), developer velocity is often throttled by "The Wait." Traditionally, testing a Custom API, User Exit, or Property Provider requires a full rebuild and deployment to an Agent or Application Server.
To bypass this cycle entirely configure IntelliJ IDEA to simulate the Sterling runtime, you can execute and debug your code locally. Here is how to set up your environment.
📋 Pre-Requisites
You will need a local copy of the Foundation directory. (Either installation/ copy of the Foundation Folder from your development environment ) (e.g., <INSTALL_DIR>/FoundationV10).
Step 1: Configuring the Project Structure (Classpath)
We need to ensure IntelliJ recognizes the Sterling engine and your custom logic.
-
Open Project Structure (Ctrl+Alt+Shift+S) > Modules > Dependencies.
-
Add Sterling Jars: Add all necessary OOB and Custom Jars from your codebase.
-
Map Properties: Add your <INSTALL_DIR>/properties folder as a dependency.
-
Map Foundation: Add the <INSTALL_DIR> directory itself.
-
Prioritize Resources: > Crucial Step: Move resources.jar to the very top of the dependencies list. This ensures that the engine picks up the correct configuration files during initialization.
Step 2: Create Run/Debug Configuration In IntelliJ
------------------------------
Sudheer Chadalavada
------------------------------