athena-registry
Command that that manages registry metadata.
Usage
athena-registry [OPTIONS] COMMAND [ARGS]...
Option | Description |
---|---|
-h, –help | Show built-in help documentation. |
-v, –verbose | Enable verbose output. |
Commands
Cleanup
Cleanup registry metadata.
athena-registry cleanup [OPTIONS]
Option | Description |
---|---|
–not-in-catalog | Remove service records for services not found in catalog. |
Update
Updates metadata for all registered services.
athena-registry update [OPTIONS] <service_tags>
Arguments
<service_tags>
- Comma separated list of service tags to update catalog metadata for.
Extending
To modify registry operations edit registry-cleanup.yml
in environment playbook directory.
Examples
To cleanup registry metadata:
athena-registry cleanup
To cleanup registry metadata and remove all service records that are not found in catalog.:
athena-registry cleanup --not-in-catalog
To update registry metadata for all services:
athena-registry update
To update registry metadata for freeipa:
athena-registry update freeipa