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

FIWARE.Request.Tech.Cloud.ObjectStorage.JavaScriptAPIlistContainerNotWorkingProperly

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Blocker
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      I'm trying to implement a WireCloud widget which communicates with
      ObjectStorage via JS ObjectStorageAPI. After some troubles with enabling
      ObjectStorageAPI i've manages to run command os_api.listContainer() and
      in response I've got 409 error, with message attached *"The requested name
      already exists as a different type"*. I've managed to figure out what is
      causing this error. In order to list a container, cdmi request url must end
      with "/" character. When I use os_api.listContainer() it generates url
      without it. If I manually append '/' character to request url, valid
      response is returned with container's contents. First idea of fixing it -
      to append "/" to container's name within function call doesn't work. "/"
      character is replaced by escape sequence "%2F".

      _______________________________________________
      Fiware-tech-help mailing list
      Fiware-tech-help@lists.fi-ware.org
      https://lists.fi-ware.org/listinfo/fiware-tech-help

      [Created via e-mail received from: =?UTF-8?Q?Micha=C5=82_Michalski?= <buyuk.dev@gmail.com>]

        Activity

        Hide
        meth Kalman Meth added a comment -

        Good to hear that you found a work-around.
        Since we are fazing out the cdmi interface, there are no plans to make such changes.
        For future development, we recommend that users begin using the native Swift API.

        Show
        meth Kalman Meth added a comment - Good to hear that you found a work-around. Since we are fazing out the cdmi interface, there are no plans to make such changes. For future development, we recommend that users begin using the native Swift API.

          People

          • Assignee:
            meth Kalman Meth
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: