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

[fiware-stackoverflow] Wirecloud, IDM Object Storage GE - MultiTenancy

    Details

      Description

      Created question in FIWARE Q/A platform on 17-07-2014 at 14:07
      Please, ANSWER this question AT https://stackoverflow.com/questions/24803328/wirecloud-idm-object-storage-ge-multitenancy

      Question:
      Wirecloud, IDM Object Storage GE - MultiTenancy

      Description:
      The question pertains to the level of integration of Wirecloud into IDM and Object Storage, when it comes to getting access to shared Containers. Specifically, from a private WC instance running on FI-LAB and having integrated with FI-LAB IDM using the url http://cloud.lab.fi-ware.org/keystone/v2.0 as a keystone endpoint, I seem to be unable to retrieve all the available tenants from IDM (i just get a single one, being the user logged into from WC - say TENANT-B):

      {"tenants":[

      {"enabled":true,"id":"0000000000000000000000000000EFGH","name":"TENANT-B"}

      ]}

      Of course, i can see that when logging into FI-LAB from the portal, the answer i get when calling http://cloud.lab.fi-ware.org/keystone/v2.0/tenants is correct:

      {"tenants":[

      {"enabled":true,"id":"0000000000000000000000000000ABCD","name":"TENANT-A"}

      ,

      {"enabled":true,"id":"0000000000000000000000000000EFGH","name":"TENANT-B"}

      ]}

      I am trying to get the tenants using the keystone.getTenant(

      {... options ...}

      ) call:

      keystone = new KeystoneAPI(keystone_url, {
      use_user_fiware_token : true
      });
      keystone.getTenants({
      onSuccess : onGetTenants,
      onFailure : function()

      { alert("Could not get a valid tenant list"); }

      });

      Is multitenancy not supported natively on WC or am I missing something?

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        1h 14m 1 José Ignacio Carretero Guarde 29/May/17 1:18 PM
        In Progress In Progress Answered Answered
        2s 1 José Ignacio Carretero Guarde 29/May/17 1:18 PM
        Answered Answered Closed Closed
        1s 1 José Ignacio Carretero Guarde 29/May/17 1:18 PM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        fla Fernando Lopez made changes -
        HD-Enabler Wirecloud [ 10857 ]
        HD-Chapter Apps [ 10836 ]
        jicg José Ignacio Carretero Guarde made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        jicg José Ignacio Carretero Guarde made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        jicg José Ignacio Carretero Guarde made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        jicg José Ignacio Carretero Guarde made changes -
        Assignee Álvaro Arranz [ aarranz ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-29 12:05|CREATED monitor | # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-29 12:05|CREATED monitor | # answers= 1, accepted answer= False
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            aarranz Álvaro Arranz
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: