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

FIWARE.Request.Tech.Apps.DataViz-SpagoBI.Apps.DataViz-SpagoBI.Problem with Basic Authentication and IdM

    Details

      Description

      Hello Marco!

      We want to run the SpagoBI solution. Deploying a dedicated GE instance based on an image in FIWARE Cloud Portal.

      We log all queries and our wish is to send data through the API to SpagoBI and start to visualise data.

      Problem is, that in documentation: http://spagobilabs.github.io/SpagoBI/rest-api/spagobi.html <http://spagobilabs.github.io/SpagoBI/rest-api/spagobi.html> there stands that “You can do that through basic authentication.”

      We authenticate thought API with user and pass to http://130.206.123.146:8080/SpagoBI <http://130.206.123.146:8080/SpagoBI> And get error 401 - unauthorised

      How we can get SpagoBI API to work?

      Best regards
      Ragmar Saksing
      Partner & CTO

      Mobile: +372 5254 265
      Skype: ragmar.saksing
      www.shipitwise.com <http://www.shipitwise.com/>

      Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
      Please, send your messages using the new domain (Fiware-ceedtech-coaching@lists.fiware.org) instead of the old one.
      _______________________________________________
      Fiware-ceedtech-coaching mailing list
      Fiware-ceedtech-coaching@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-ceedtech-coaching
      [Created via e-mail received from: Ragmar Saksing <ragmar.saksing@shipitwise.com>]

        Issue Links

          Activity

          Hide
          consoft_coach Marco Terrinoni added a comment -

          Hi Davide,
          Can you please provide an answer to this user?
          Thank you very much for your cooperation.
          Best regards,
          Marco

          Show
          consoft_coach Marco Terrinoni added a comment - Hi Davide, Can you please provide an answer to this user? Thank you very much for your cooperation. Best regards, Marco
          Hide
          zerbetto Davide Zerbetto added a comment -

          Hi
          I was able to replicate the 401 error, it fails when sending credentials to IdM in order to authenticate the user. Maybe the IdM APIs changed a little bit.
          I'll open a bug issue on JIRA for this.
          In the meanwhile, could you please try using SpagoBI without FIWARE IdM? you should create your own SpagoBI instance.
          Please take into account as follows:
          1. before using the SpagoBI REST API, I suggest users to get familiarity with its standard usage through the web GUI and datasets/documents types;
          2. the REST APIs were conceived for those analyses that do not provide user interaraction (i.e. static reports). They do not apply to analyses such as ad-hoc reports and cockpits, and even charts. For those kind of documents, you should use the JavaScript APIs (http://spagobi.readthedocs.org/en/latest/user/JS/README/index.html).
          Hope this helps
          Regards
          Davide

          Show
          zerbetto Davide Zerbetto added a comment - Hi I was able to replicate the 401 error, it fails when sending credentials to IdM in order to authenticate the user. Maybe the IdM APIs changed a little bit. I'll open a bug issue on JIRA for this. In the meanwhile, could you please try using SpagoBI without FIWARE IdM? you should create your own SpagoBI instance. Please take into account as follows: 1. before using the SpagoBI REST API, I suggest users to get familiarity with its standard usage through the web GUI and datasets/documents types; 2. the REST APIs were conceived for those analyses that do not provide user interaraction (i.e. static reports). They do not apply to analyses such as ad-hoc reports and cockpits, and even charts. For those kind of documents, you should use the JavaScript APIs ( http://spagobi.readthedocs.org/en/latest/user/JS/README/index.html ). Hope this helps Regards Davide
          Hide
          consoft_coach Marco Terrinoni added a comment -

          Thank you very much for your answer Davide; I'm going to forward it to the user and see how the bug report will evolve.
          Thank you very much for your support.
          Best regards,
          Marco

          Show
          consoft_coach Marco Terrinoni added a comment - Thank you very much for your answer Davide; I'm going to forward it to the user and see how the bug report will evolve. Thank you very much for your support. Best regards, Marco
          Hide
          zerbetto Davide Zerbetto added a comment -

          I closed this issue, please look at https://jira.fiware.org/browse/APP-1069 for updates.
          Regards
          Davide

          Show
          zerbetto Davide Zerbetto added a comment - I closed this issue, please look at https://jira.fiware.org/browse/APP-1069 for updates. Regards Davide

            People

            • Assignee:
              zerbetto Davide Zerbetto
              Reporter:
              fw.ext.user FW External User
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: