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

To provide example in not secure mode

オープン
#45 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
5
フォーク
12
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

quickstart_setup.py から始め、ServiceInterface、ServiceRegistrationForm、Service の定義を調べて、要求された安全でない値がどこで処理されているかを確認してください。HTTP-INSECURE-JSON の例でサービスレジストリを問い合わせられることと、要求された NOT_SECURE の登録値が受け入れられることを検証してください。Issue ではテストやその他のファイルは指定されていません。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
backend, documentation
issue の種類
機能追加
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。