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

FIWARE.Question.Tech.Apps.ApplicationMashup.ObjectStorageMultiTenancy

    Details

      Description

      Created in FIWARE Q/A platform on 17-07-2014 at 14:07
      Answer this issue at http://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

        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-27 12:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-27 12:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-27 15:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-27 15:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

          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: