Skip to content

Commit

Permalink
Refactor token manager
Browse files Browse the repository at this point in the history
  • Loading branch information
fisuda committed Jul 18, 2021
1 parent 47c7d12 commit f9c3680
Show file tree
Hide file tree
Showing 31 changed files with 2,117 additions and 502 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## NGSI Go v0.8.4-next

- Improve: Refactor token manager (#181)
- Improve: Set default FIWARE Service Path to "/" in cp command (#180)
- Improve: Set default FIWARE Service Path to "/" in rm command (#179)
- Hardening: Support Kong (#178)
Expand Down
2 changes: 1 addition & 1 deletion docs/management/broker.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ Orion with Kong (client credentials)
ngsi broker add \
--host kong \
--ngsiType v2 \
--brokerHost http://localhost:8000/ngsi \
--brokerHost http://localhost:8443/ngsi \
--idmType kong \
--idmHost "https://localhost:8443/ngsi/oauth2/token,http://localhost:8001/" \
--clientId orion \
Expand Down
14 changes: 7 additions & 7 deletions e2e/cases/3000_management/0105_broker_update.test
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ ngsi broker delete --host orion-v2
# 0006 Add broker
#
ngsi broker add \
--host idm \
--host orion-with-keyrock \
--brokerHost https://orion-ld \
--ngsiType ld \
--ngsiType ld

```
```
Expand All @@ -112,8 +112,8 @@ ngsi broker add \
# 0007 Update broker with keyrock
#
ngsi broker update \
--host idm \
--idmType idm \
--host orion-with-keyrock \
--idmType keyrock \
--idmHost https://keyrock \
--username keyrock001@letsfiware.jp \
--password 0123456789 \
Expand All @@ -126,13 +126,13 @@ ngsi broker update \
#
# 0008 Check broker info
#
ngsi broker get --host idm --clearText
ngsi broker get --host orion-with-keyrock --clearText

```
brokerHost https://orion-ld
ngsiType ld
brokerType orion-ld
IdmType idm
IdmType keyrock
IdmHost https://keyrock
Username keyrock001@letsfiware.jp
Password 0123456789
Expand All @@ -143,7 +143,7 @@ ClientSecret 55555555-6666-7777-8888-999999999999
#
# 0009 Delete broker
#
ngsi broker delete --host idm
ngsi broker delete --host orion-with-keyrock

```
```
Expand Down

0 comments on commit f9c3680

Please sign in to comment.