Repository navigation
v1.2.0
OIE Cache Manager now runs in the OIE web administrator, with role-based permissions of its own.
As with the other Diridium plugins, the web capability stands on work by Chris Gibson (@gibson9583): he built the OIE web administrator and the plugin framework this UI runs on.
Known issue: SQL Server caches need the Microsoft SQL Server driver
A cache whose source database is SQL Server does not work with the SQL Server/Sybase (jTDS) driver. Test Connection fails with java.lang.AbstractMethodError, and every lookup fails, so a channel that looks values up from the cache fails to deploy. The jTDS driver doesn't support the connection check the plugin and its connection pool use.
Workaround: in the cache definition, pick Microsoft SQL Server in the driver list (jdbc:sqlserver://host:port;databaseName=dbname). The engine ships that driver, and lookups work with it. The engine's own database can stay on jTDS: this affects only the database a cache reads from.
What's New
- Web administrator support. The full Cache Manager in the browser, with parity to the Swing client: the definitions table with live statistics and sortable columns, the definition editor (driver picker, URL templates, SQL editor, Test Connection / Test Query), and the Cache Inspector — server-side search (literal or Java regex), sorting, 1000-per-page pagination, entry detail with word-wrap toggle, and clipboard support including Ctrl+C full-value copy. (#6)
- Role-based permissions. The plugin now publishes View Caches and Manage Caches to role-based authorization controllers, gating its operations and its settings tab. Previously the operations named core Server Settings permissions, which extension operations cannot actually match. (#7)
- CI. The repo now builds and tests every push and PR, with a guard that fails the build if the test suite silently does not run.
Upgrading
Install this version directly over your existing installation and restart the server. Do not uninstall first.
On servers running a role-based authorization controller: after upgrading, grant View Caches / Manage Caches to each role that should have them — cache access no longer follows the Server Settings permissions.
Compatibility
- OIE 4.6.0+ (Java 17+)
- Safe to install with or without the web administrator; the Swing panel works exactly as before.
- Web UI: OIE web administrator 4.6+ plus the Web Support plugin (v1.0.0 as of this writing) installed on the engine.
Verification
- The jars in the ZIP are code-signed and timestamped;
jarsigner -verifyreports "jar verified" on each. - Verify the download with
shasum -a 256 -c oie-cache-manager-1.2.0.zip.sha256.