We use proprietary and third party´s cookies to improve your experience and our services, identifying your Internet Browsing preferences on our website; develop analytic activities and display advertising based on your preferences. If you keep browsing, you accept its use. You can get more information on our Cookie Policy
Cookies Policy
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Fiware-Biz end to end testing help needed

I am attempting to set up a docker deployment of the FIWARE-BIZ ecosystem as shown in guide as well as do the end-to-end testing as shown at the end of the installation and administration document

The first problem I think I've run into was the fact that the docker deployment guide specifies no idm and the end to end testing guide states that an idm and a seller role account are necessary. To that end I have added a fiware/idm:7.6.0 container to the end of the biz ecosystem docker-compose.yml

keyrock:
image: fiware/idm:7.6.0
containername: fiware-keyrock
hostname: keyrock
networks:
main:
aliases:
- idm.docker
ipv4
address: 172.18.0.9
dependson:
- mysql
ports:
- "3000:3000"
- "443:443"
environment:
- DEBUG=idm:*
- IDM
DBHOST=mysql
- IDM
HOST=http://localhost:3000
- IDMPORT=3000
# Development use only
# Use Docker Secrets for Sensitive Data
- IDM
DBPASS=my-secret-pw
- IDM
DBUSER=root
- IDM
ADMINUSER=admin
- IDM
ADMINEMAIL=admin@test.com
- IDM
ADMINPASS=1234
mysql:
image: mysql:5.7
restart: always
volumes:
- ./mysql-data:/var/lib/mysql
networks:
main:
environment:
- MYSQL
ROOTPASSWORD=my-secret-pw
- MYSQL
DATABASE=RSS

as well as changed the proxy setting - BAELPOAUTH2SERVER=http://idm.docker:8000 to - BAELPOAUTH2SERVER=http://localhost:3000

Now when I click sign-in on the fiware tmforum marketplace (proxy) page, I am taken to the keyrock sign-in where I can log in with the credentials specified in the docker-compose.yml but I am at a loss on how to make it take me back to the tmforum marketplace (proxy) page despite the fact that I think I've sucessfully made a seller account.

In case it wasn't bountifully clear I am a complete beginner with fiware and I apologise if I've broken any rules with this post or asked a dumb question.

Fiware-Biz end to end testing help needed

I am attempting to set up a docker deployment of the FIWARE-BIZ ecosystem as shown in guide as well as do the end-to-end testing as shown at the end of the installation and administration document

The first problem I think I've run into was the fact that the docker deployment guide specifies no idm and the end to end testing guide states that an idm and a seller role account are necessary. To that end I have added a fiware/idm:7.6.0 container to the end of the biz ecosystem docker-compose.yml

keyrock:
image: fiware/idm:7.6.0
containername: fiware-keyrock
hostname: keyrock
networks:
main:
aliases:
- idm.docker
ipv4
address: 172.18.0.9
dependson:
- mysql
ports:
- "3000:3000"
- "443:443"
environment:
- DEBUG=idm:*
- IDM
DBHOST=mysql
- IDM
HOST=http://localhost:3000
- IDMPORT=3000
# Development use only
# Use Docker Secrets for Sensitive Data
- IDM
DBPASS=my-secret-pw
- IDM
DBUSER=root
- IDM
ADMINUSER=admin
- IDM
ADMINEMAIL=admin@test.com
- IDM
ADMINPASS=1234
mysql:
image: mysql:5.7
restart: always
volumes:
- ./mysql-data:/var/lib/mysql
networks:
main:
environment:
- MYSQL
ROOTPASSWORD=my-secret-pw
- MYSQL
DATABASE=RSS

as well as changed the proxy setting - BAELPOAUTH2SERVER=http://idm.docker:8000 to - BAELPOAUTH2SERVER=http://localhost:3000

Now when I click sign-in on the fiware tmforum marketplace (proxy) page, I am taken to the keyrock sign-in where I can log in with the credentials specified in the docker-compose.yml but I am at a loss on how to make it take me back to the tmforum marketplace (proxy) page despite the fact that I think I've sucessfully made a seller account.

EDIT : I've also changed the :
- BAELPOAUTH2CLIENTID=71644c8b-c413-440e-9699-6d2f44db5623
- BAELPOAUTH2CLIENTSECRET=c15d82aa-b217-4148-a6da-1eacf3d3a989
- BAELPOAUTH2_CALLBACK=http://localhost:8004/auth/fiware/callback

The client ID and secret are now identical to the ones in the example app I made in keyrock with the help of the built in tutorial, and the callback is now on localhost. I am now after logging in taken to a Authorization page for "First App" but after I click authorize I I get status code 400 "invalid client".

Is there any way to set up a biz ecosystem instance in docker and do the end to end testing as described in the guide above ?

In case it wasn't bountifully clear I am a complete beginner with fiware and I apologise if I've broken any rules with this post or asked a dumb question.