OGL AssetService Addon (development branch)
This directory defines an independently deployable asset-service plugin for OpenGenesisLINK.
Components
- OGL AssetService: a ROBUST-side
IAssetServiceimplementation, loaded through the existing[AssetService] LocalServiceModuleconfiguration. - OGL Storage Agent: an optional simulator-host process exposing authenticated object storage operations.
- OGL Asset Directory: maps asset UUIDs to immutable content hashes and verified storage replicas.
- Legacy FSAssets adapter: reads existing
fsassetswithout changing their layout, UUIDs, metadata or payload bytes.
Non-negotiable compatibility rules
- The original FSAssets repository remains authoritative until an operator explicitly switches the storage mode.
- No migration operation deletes or overwrites an original asset.
- A local cache is disposable; a durable object replica is not.
- An object is committed only after checksum verification and the configured minimum number of durable replicas acknowledge persistence.
- A simulator node may leave the grid without orphaning its objects: replica health and relocation are required before decommissioning.
- Existing OpenSim asset API and Hypergrid interfaces remain intact.
- JPEG2000 validation must never silently rewrite an original asset; decoding and optional derived previews are separate operations.
Planned configuration
[AssetService]
; Existing provider remains enabled until the addon has passed integration tests.
; LocalServiceModule = "OpenSim.Services.OGLAssetService.dll:OGLAssetConnector"
[OGLAssetService]
Enabled = false
Mode = "shadow"
LegacyBaseDirectory = "./fsassets/data"
CacheDirectory = "./ogl-asset-cache"
CacheMaxGiB = 20
MinimumDurableReplicas = 2
ValidateJ2K = true
The above is a design contract, not an operational configuration yet. Do not enable the module until its implementation, dependency registration, and tests have been completed.
Milestones
- Implement and test the compatibility adapter and read-through cache.
- Add a separately compiled
IAssetServiceconnector with a safe feature flag. - Implement authenticated node registration, content-addressed object storage and replica verification.
- Implement background migration, JPEG2000 diagnostics, metrics and failure recovery.
- Run integration tests against existing FSAssets, HG asset flows and a multi-node outage scenario.
InventoryGuard is explicitly out of scope.