arrowhead-f / arrowhead-f/client-library-python

To provide example in not secure mode

Abierto
#45 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
5
Forks
12
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I found it useful to have an example of insecure server-client example.

E.g., to check the running services (e.g., orchestration, serviceregistry, authentication)
```
import requests
r=requests.get('http://127.0.0.1:8443/serviceregistry/echo')
```
and in quickstart_setup.py, change the ServiceInterface to be:
```
ServiceInterface('HTTP', 'INSECURE', 'JSON'),
```
Inaddition, add 'NOT_SECURE' instead of 'CERTIFICATE'
```
hello_form = ServiceRegistrationForm.make(
Service(
'hello-arrowhead',
'hello',
ServiceInterface.from_str('HTTP-INSECURE-JSON'),
'NOT_SECURE',
),
systems['provider'][0],
)
````

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Comienza con quickstart_setup.py e inspecciona las definiciones de ServiceInterface, ServiceRegistrationForm y Service para ver dónde se gestionan los valores inseguros solicitados. Verifica que el ejemplo HTTP-INSECURE-JSON pueda consultar el registro de servicios y que se acepte el valor de registro solicitado NOT_SECURE. En el issue no se mencionan pruebas ni otros archivos.

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

Evaluación

Stack tecnológico
python
Área
backend, documentation
Tipo de issue
Nueva funcionalidad
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.