Uploaded image for project: 'onedata'
  1. onedata
  2. VFS-7523

Handle error when adding storage failed with new response API

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 21.02.0-alpha7
    • None
    • onepanel, webgui
    • None
    • 2

      new response api:
      feature/VFS-6716-add-storageid-in-http-response-after-adding-new-storage

      expected error response:

      #{<<"p">> =>
                   #{<<"error">> =>
                         #{<<"description">> =>
                               <<"Bad value: Name must be 2-50 characters long and composed only of UTF-8 letters, digits, brackets and underscores. Dashes, spaces and dots are allowed (but not at the beginning or the end).">>,
                           <<"id">> => <<"badValueName">>}},
               <<"posix-11">> =>
                   #{<<"id">> => <<"1b18b9aef0ec44343a16bcfeff1963f7cha132">>},
               <<"posix-12">> =>
                   #{<<"id">> => <<"cabda5882b16950cdbdc335231eee470ch34d6">>},
               <<"posix-15">> =>
                   #{<<"id">> => <<"00a411c96e9b40ec68304ef5ce127821ch2b5d">>},
               <<"posix-16">> =>
                   #{<<"id">> => <<"5d185c24c4e047b7f17fb2cd95c58d4ech24a6">>}}
      

            plgjliput Jakub Liput
            plgjliput Jakub Liput
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: