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

To provide example in not secure mode

Ouverte
#45 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
5
Forks
12
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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],
)
````

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Commencez par quickstart_setup.py et examinez les définitions de ServiceInterface, ServiceRegistrationForm et Service pour voir où les valeurs non sécurisées demandées sont gérées. Vérifiez que l’exemple HTTP-INSECURE-JSON peut interroger le registre des services et que la valeur d’enregistrement demandée NOT_SECURE est acceptée. Aucun test ni autre fichier n’est mentionné dans l’issue.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
backend, documentation
Type d'issue
Fonctionnalité
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.