Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-16873

[fiware-askbot] Fiware-Biz end to end testing help needed

    Details

    • Type: Monitor
    • Status: Answered
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Created question in FIWARE Q/A platform on 03-08-2020 at 13:08
      Please, ANSWER this question AT https://ask.fiware.org/question/1183/fiware-biz-end-to-end-testing-help-needed/

      Question:
      Fiware-Biz end to end testing help needed

      Description:
      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
        ipv4address: 172.18.0.9
        dependson:
      • mysql
        ports:
      • "3000:3000"
      • "443:443"
        environment:
      • DEBUG=idm:*
      • IDMDBHOST=mysql
      • IDMHOST=http://localhost:3000
      • IDMPORT=3000
      1. Development use only
      2. Use Docker Secrets for Sensitive Data
      • IDMDBPASS=my-secret-pw
      • IDMDBUSER=root
      • IDMADMINUSER=admin
      • IDMADMINEMAIL=admin@test.com
      • IDMADMINPASS=1234
        mysql:
        image: mysql:5.7
        restart: always
        volumes:
      • ./mysql-data:/var/lib/mysql
        networks:
        main:
        environment:
      • MYSQLROOTPASSWORD=my-secret-pw
      • MYSQLDATABASE=RSS

      as well as changed the proxy setting

      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 :

      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.

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2020-08-10 07:35|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2020-08-10 07:35|CREATED monitor | # answers= 0, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2020-08-24 08:27|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2020-08-24 08:27|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2020-08-31 08:03|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2020-08-31 08:03|UPDATED status: transition Answered| # answers= 1, accepted answer= False

          People

          • Assignee:
            fdelavega Francisco de la Vega
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: