From 49b42263e57c73b40c8c53b356bbb338516c74c7 Mon Sep 17 00:00:00 2001 From: Mateusz Czeladka Date: Tue, 3 Feb 2026 15:10:36 +0100 Subject: [PATCH] feat(yaci-indexer): add admin UI with Rosetta branding - Add yaci-store-admin-ui dependency to enable web-based administration - Configure admin UI with "Cardano Rosetta Java Admin - Powered by Yaci Store" header - Enable admin UI by default with sync controls disabled for safety - Fix module version to inherit ${revision} from parent POM Admin UI accessible at http://ip:port/admin-ui/ --- yaci-indexer/pom.xml | 6 ++++++ .../src/main/resources/application.properties | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/yaci-indexer/pom.xml b/yaci-indexer/pom.xml index 3d437f132..ec1a04812 100644 --- a/yaci-indexer/pom.xml +++ b/yaci-indexer/pom.xml @@ -98,6 +98,12 @@ yaci-store-admin-spring-boot-starter ${yaci-store.version} + + + com.bloxbean.cardano + yaci-store-admin-ui + ${yaci-store.version} + com.bloxbean.cardano diff --git a/yaci-indexer/src/main/resources/application.properties b/yaci-indexer/src/main/resources/application.properties index 852c2baaa..046aa0e9b 100644 --- a/yaci-indexer/src/main/resources/application.properties +++ b/yaci-indexer/src/main/resources/application.properties @@ -105,6 +105,18 @@ logging.level.com.bloxbean.cardano.yaci.core.protocol.keepalive=debug store.admin.auto-recovery-enabled=true store.admin.health-check-interval=20 +##################################### +# Admin UI Configuration +# Admin UI can be accessed at http://ip:port/admin-ui/ +##################################### +store.admin.ui.enabled=true +# Enable/disable sync control operations (start/stop/restart) in Admin UI. +# When disabled, sync control buttons are hidden and API endpoints return 403. +# Also disabled automatically when store.read-only-mode=true +store.admin.ui.sync-control-enabled=true +# Header text displayed in Admin UI +store.admin.ui.header-text="Cardano Rosetta Java Admin - Powered by Yaci Store" + store.utxo.pruning-enabled=${REMOVE_SPENT_UTXOS:true} store.utxo.pruning-safe-blocks=${REMOVE_SPENT_UTXOS_LAST_BLOCKS_GRACE_COUNT:129600} store.utxo.pruning-interval=10800