home/categories/nosql-databases/lucasmalessa-thering-dev-team-skills-dev-service-discovery-skill-md
nosql-databasesdatabases

ringdev-service-discovery

Scans the current Go project and identifies the Service → Module → Resource hierarchy for tenant-manager registration. Detects service name and type, modules (via WithModule or component structure), resources per module (PostgreSQL, MongoDB, RabbitMQ), and database names for each resource. Redis is excluded (managed via key prefixing). Produces a visual HTML report for human decision-making. Additionally detects MongoDB index definitions (both in-code EnsureIndexes and scripts/mongodb/*.js files), generates index creation scripts for any gaps, and uploads them to S3 for use during dedicated tenant database provisioning. Also detects database names per module, cross-references them across modules to find shared databases, and flags them for single-provision in tenant-manager.

LucasMalessa
maintainer
LucasMalessa
更新于 3/11/2026
星标
0
分支
0
quick start

Installation and usage

Scans the current Go project and identifies the Service → Module → Resource hierarchy for tenant-manager registration. Detects service name and type, modules (via WithModule or component structure), resources per module (PostgreSQL, MongoDB, RabbitMQ), and database names for each resource. Redis is excluded (managed via key prefixing). Produces a visual HTML report for human decision-making. Additionally detects MongoDB index definitions (both in-code EnsureIndexes and scripts/mongodb/*.js files), generates index creation scripts for any gaps, and uploads them to S3 for use during dedicated tenant database provisioning. Also detects database names per module, cross-references them across modules to find shared databases, and flags them for single-provision in tenant-manager.

安装
$ install --globalskills.sh
使用

安装后,您可以通过在终端运行以下命令来使用此技能:

skills use ringdev-service-discovery