Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot import collection in Postman and cannot start Northport example #18

Open
zeldalegends opened this issue Jul 22, 2022 · 1 comment

Comments

@zeldalegends
Copy link

zeldalegends commented Jul 22, 2022

Hi,
I have noticed two main issues:

  • All *postman_collection.json cannot be imported in Postman ("Error while importing : format not recognized"), neither uploading the file nor pasting it as raw content. The version of Postman used is:

Postman for Web
Version 9.25.3-220722-0800
Chrome 103 / Windows 10

  • Northport cannot be tested. Steps to reproduce the error:

https://gitpod.io/#https://github.com/FIWARE/tutorials.PEP-Proxy/tree/NGSI-LD

gitpod /workspace/tutorials.PEP-Proxy (NGSI-LD) $ ,/services create
Pulling docker images
[...]
   ⠿ ad3ec1ab4180 Pull complete                                                                                                                          21.9s
gitpod /workspace/tutorials.PEP-Proxy (NGSI-LD) $ ./services northport
Stopping containers
Warning: No resource found to remove for project "fiware".
Starting seven containers Orion, IoT-Agent, Keyrock, Wilma, Tutorial and MongoDB and MySQL databases.
- Orion is the context broker
- IoT-Agent is configured for the UltraLight Protocol
- Tutorial acts as a series of dummy IoT Sensors over HTTP
- Keyrock is an Identity Management Front-End
- Wilma as a PEP Proxy between Orion and the IoT-Agent

[+] Running 3/1
 ⠿ Network fiware_default    Created                                                                                                                      0.1s
 ⠿ Volume "fiware_mongo-db"  Created                                                                                                                      0.0s
 ⠿ Volume "fiware_mysql-db"  Created                                                                                                                      0.0s
cycle found: tutorial -> iot-agent -> iot-agent
gitpod /workspace/tutorials.PEP-Proxy (NGSI-LD) $ docker ps
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
gitpod /workspace/tutorials.PEP-Proxy (NGSI-LD) $ 


gitpod /workspace/tutorials.PEP-Proxy (NGSI-LD) $ ./services northport
Stopping containers
[+] Running 3/3
 ⠿ Volume fiware_mongo-db  Removed                                                                                                                        0.0s
 ⠿ Network fiware_default  Removed                                                                                                                        0.2s
 ⠿ Volume fiware_mysql-db  Removed                                                                                                                        0.0s
Starting seven containers Orion, IoT-Agent, Keyrock, Wilma, Tutorial and MongoDB and MySQL databases.
- Orion is the context broker
- IoT-Agent is configured for the UltraLight Protocol
- Tutorial acts as a series of dummy IoT Sensors over HTTP
- Keyrock is an Identity Management Front-End
- Wilma as a PEP Proxy between Orion and the IoT-Agent

[+] Running 3/0
 ⠿ Network fiware_default    Created                                                                                                                      0.1s
 ⠿ Volume "fiware_mysql-db"  Created                                                                                                                      0.0s
 ⠿ Volume "fiware_mongo-db"  Created                                                                                                                      0.0s
cycle found: tutorial -> iot-agent -> iot-agent
gitpod /workspace/tutorials.PEP-Proxy (NGSI-LD) $ docker ps
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
gitpod /workspace/tutorials.PEP-Proxy (NGSI-LD) $ 
@jason-fox
Copy link
Member

Not all of the security tutorials have been fully ported over to NGSI-LD yet. This NGSI-LD tutorial is incomplete and has not been added to ngsi-ld-tutorials.readthedocs.io yet. The principles of securing FIWARE are orthogonal to the version used, so for the moment you should use the NGSI-v2 PEP-Proxy tutorial which is the master branch.

cycle found: tutorial -> iot-agent -> iot-agent has now been fixed 24d32cf but other parts of the tutorial are still incomplete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants