Use this file to discover all available pages before exploring further.
msvc-usuarios is a Spring Boot REST API running on port 8001 that manages user accounts persisted in MySQL 8. It acts as an OAuth2 Resource Server — all write endpoints and most read endpoints require a valid JWT bearer token issued by msvc-auth. Passwords are hashed with BCrypt before storage and never returned in plain text.
List all users (includes pod info and config text)
read or write
GET
/{id}
Get a single user by ID
read or write
POST
/
Create a new user (password BCrypt-encoded automatically)
write
PUT
/{id}
Update an existing user
write
DELETE
/{id}
Delete a user by ID
write
GET
/usuarios-por-curso
Fetch multiple users by a list of IDs (query param: ids)
read or write
GET
/login
Look up user by email (query param: email) — used by msvc-auth
Public
The /login endpoint is intentionally public. It is only called internally by msvc-auth during the OAuth2 login flow and returns the BCrypt-hashed password so that the authorization server can verify credentials.
All of the above plus POST /, PUT /{id}, DELETE /{id}
A BCryptPasswordEncoder bean is declared in SecurityConfig and auto-wired into UsuarioController for encoding passwords on create and update operations.
msvc-usuarios-config — a Kubernetes ConfigMap in the default namespace. The key config.texto is exposed via env.getProperty("config.texto") and included in the GET / response body.
MY_POD_NAME / MY_POD_IP — injected from the Pod’s fieldRef spec in the Kubernetes Deployment manifest and surfaced in every GET / response as pod_info. This makes it easy to verify which replica served a given request during load-testing.
Bind MY_POD_NAME and MY_POD_IP in your Deployment using the Kubernetes Downward API: