Dynamic error messages
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 18/100
Línea de trabajo
The issue proposes extending ACS exceptions such as CloudRuntimeException with optional multi-message constructors, then choosing the message in API responses by the caller's Role type. Start by reading how CloudRuntimeException is defined and how API error responses are built from it, and note that the role check has no defined design yet. Done means maintainers have agreed on the exception and role-based message design, and only then should code change.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The required feature described as a wish
As a Admin I would like to have more informative error messages. Meanwhile, I do not want the end-users to receive too much information about the system or infrastructure. It would be interesting to have a way so that the APIs return different errors depending on my Role type.
Without putting too much thought into it, we could extend the ACS exceptions, like the CloudRuntimeException, to have optional constructors with multiple messages, and when returning those messages in the API response we would check for the Role type and send the correct message.
- Lenguaje dominante
- Java
- Estrellas
- 3.1k
- Forks
- 1.4k
- Merge medio
- 7 d 16 h
- PR fusionados (30 d)
- 15
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/cloudstack
-
resizeVolume of a running system VM's volume is accepted but the VM never sees the new sizePosiblemente ocupada @bhouse-nexthop la tomó hace 3 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
apache/cloudstack#14645 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
VR reports a load balancer change as applied when haproxy.cfg cannot be replacedPosiblemente ocupada @bhouse-nexthop la tomó hace 3 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
apache/cloudstack#14633 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
restartNetwork reports a ResourceUnavailableException as an unexpected error (530), unlike restartVPC (534)Posiblemente ocupada @bhouse-nexthop la tomó hace 3 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
apache/cloudstack#14631 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
apache/cloudstack#14625 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Remote access VPN users are disconnected on every LB, ACL, port forward or firewall change (xl2tpd restarted on every iptables pass)Posiblemente ocupada @willbennett-devops la tomó hace 12 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
apache/cloudstack#14545 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de apache/cloudstack
Issues similares
-
[Bug]: Nullable implicit operator on string extensible enums still throws for a null stringPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug emitter:client:csharp
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
microsoft/typespec#12572 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
[BUG]: Java SDK MountRequest always sends update-optional fields, resetting stored mount settingsAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
GCC 15.2: -Wcast-qual warning - cast discards const qualifier from pointer target type (H5trace.c)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 1 día
-
[Bug] RemotingHelper.connect swaps the socket send and receive buffer configurationPosiblemente ocupada @amalsaidov la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
needs-area-label
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días