SPI catalogue
The SPI catalogue is a read-only list of the places where Karyo can be extended, with the classes plugged into each one. An SPI is a service provider interface: a named point in the code where an implementer can supply a different behaviour. The page is written for the implementer who builds or maintains an extension. Warehouse staff do not need it. It changes nothing in the warehouse, and nothing on it can be edited.
Switch it on
A Company administrator who holds settings.manage at the Company switches it on at
Admin > Capabilities, on the row named SPI catalogue. The panel previews what appears and
asks you to confirm. The capability needs no setting, no data and no connected service.
To open the page you need the extensions.read action. Of the standard profiles only
Administrator holds it, and it can be granted only at the Company or at a Business Unit.
What appears when it is on
- Extensions (SPI) in the Admin sidebar, in the Configure group. A number sits beside it. It is the count of interfaces in the live registry. When the live registry cannot be read, no number shows.
There is no setting, column or floor-app entry. The Core Strategies page, where you manage the order and storage strategies of a warehouse, is a different page. It stays on every installation.
Using it
The page asks the running application which SPI interfaces it declares and which classes implement each one. The answer is read when you open the page, so it shows what this build contains. A Live marker shows that the answer came from the application.
At the top are four figures: Strategy seams, Lookups and ports, Loaded implementations
and Modules. The interfaces are grouped by module, for example karyo-fulfillment or karyo-layout.
Each interface shows:
- the interface name and its kind: Strategy seam, Lookup or Port;
- its full Java name, unless you hide it in the workspace settings;
- whether it is open for implementation;
- the number of classes that implement it;
- the names of those classes, or "No implementation currently loaded".
An interface with nothing plugged in is still listed. That is information too.
If the live registry cannot be read, the page shows "The extension registry could not be loaded" and a Reload the registry button. The console keeps no list of its own, so it shows nothing else until the application answers. If the registry answers with no interfaces, the page says that it is empty.
How to read the list:
- Only a Strategy seam is for implementation. A Lookup is a read-only contract between modules, and a Port is a command contract between modules. Karyo's own modules implement it, there is no chain of alternatives, and an implementation from an extension is not supported. The page says "Not for implementation" on each of them. Check the interface in the implementer guide before you build on it.
- An extension is compiled into the build and the image is rebuilt. A file placed beside a running application is not picked up.
- The page ends with a note about the reference extension
karyo-inventory-ext-example. It is in the application only when the build is run with-PkaryoInventoryExample=true. ThereHeldLotStockFilteris active andHazmatStockFilterstays inactive. - Extensions run inside the application with the same trust as Karyo's own code.
For a real carrier or ERP connection, the seam to look at is CarrierAdapter under
karyo-fulfillment. ManualCarrierAdapter is the shipped fallback. It uses the tracking number
the operator enters, or makes one.
When you switch it off
The sidebar entry and the page disappear, and the address shows the not-found page. Nothing is
removed from the application. The route GET /api/v1/admin/extensions stays callable for a
caller with extensions.read. Extensions already built into the application keep working,
because this page only reports them and never controlled them. There is no rule that lets open
work finish for this capability.
Next
- Extension SPIs and how one is installed
- Implementer guide: extend the application
- Administer Karyo for the Core Strategies page
- Core and Extended for the capability's reference