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

To provide example in not secure mode

Open
#45 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
5
Forks
12
PR merge metrics
No merged PRs in 30d

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.