apache / apache/openwhisk-cli

Inconsistent entity name printed in CLI for invoke/fire versus other commands

Abierto
#166 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
109
Forks
98
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

@underwoodb-sd-ibm commented on [Wed Aug 09 2017](https://github.com/apache/incubator-openwhisk/issues/2597)

The confirmation messages for `wsk action invoke` and `wsk trigger fire` list the entity by its full qualified name (including a namespace), while all other confirmation messages list the entity without the namespace.

For example:

```
$ wsk action invoke testPack/testAction
ok: invoked /guest/testPack/testAction with id 4edd1e1efafe439bb2a43656859943b3

$ wsk trigger fire testTrigger
ok: triggered /guest/testTrigger with id 849e5a8773c64e8c8af4c35567f18492
```

Compared to:

```
$ wsk action create testPack/testAction test.js
ok: created action testPack/testAction

$ wsk action get testPack/testAction
ok: got action testPack/testAction
...

$ wsk trigger create testTrigger
ok: created trigger testTrigger

etc...
```

I propose an update which will make these confirmations uniform in how they display entity names, either all including the namespace, or none including the namespace. Which direction to go would be up for discussion here.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Inspecciona las rutas de los mensajes de confirmación de la CLI para action invoke y trigger fire, y compáralas después con los mensajes para create y get mostrados en el issue. Elige y aplica una política coherente para mostrar los namespaces, y verifica que las confirmaciones de ejemplo sean uniformes.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
go
Área
cli
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.