When you attempt to apply the Tanzu Spring SDK advice using the Cloud Foundry (cf) CLI or Spring Application Advisor, the command fails with the following error message:
The specified name is not available for this repository. Please, run "advisor advice list" to check available projects.You encounter this when running :
cf repo apply-advice --name=tanzu-spring-sdkor
advisor advice apply --name=tanzu-spring-sdk
The advice name tanzu-spring-sdk is no longer valid. The name of the advice changed to tanzu-spring-starter. Current documentation still refers to the legacy name, leading to this mismatch during execution.
To resolve this error, you must use the updated advice name in your command. This is
cf repo apply-advice --name=tanzu-spring-starteror
advisor advice apply --name=tanzu-spring-starter
(Optional) To verify all available advice names in your specific repository, run the following commands:
Application Advisor CLI:
advisor advice list
Tanzu cf CLI:
cf repo adviceBroadcom Spring R&D is currently updating the official documentation to reflect this name change.