Coder Social home page Coder Social logo

fts-rest-flask's People

Contributors

chaen avatar joaopblopes avatar mpatrascoiu avatar murrayc3 avatar paulmillar avatar shubhangi-misra avatar

Watchers

 avatar  avatar  avatar  avatar

fts-rest-flask's Issues

API documentation for mkdir, rmdir and unlink incorrect

The documentation for endpoints https://fts3-docs.web.cern.ch/fts3-docs/fts-rest/docs/api.html#post-dmmkdir , https://fts3-docs.web.cern.ch/fts3-docs/fts-rest/docs/api.html#post-dmrmdir and https://fts3-docs.web.cern.ch/fts3-docs/fts-rest/docs/api.html#post-dmunlink incorrectly states that the surl parameter is a query parameter. In fact, these requests need the parameter to be passed in the body, in the form

{
    "surl": "https:///..."
}

The documentation for mkdir also says it creates a remote file, which is incorrect.

API documentation for rename incorrect

The documentation for endpoint https://fts3-docs.web.cern.ch/fts3-docs/fts-rest/docs/api.html#post-dmrename incorrectly states that this operation will stat a file. In fact it will rename a file. It also says the old and new parameters are query parameters. In fact, these parameters are to be passed in the body, in the form

{
    "old": "https:///...",
    "new": "https:///..."
}

The documentation is also incomplete, as it says this only works for files, although it works for both files and folders.

Registration of S3 host fails

I am trying to register (then configure) an S3 host in FTS. I am using the FTS instance fts3-public.cern.ch:8446. I am trying this from Postman, before doing it from code. I configured a client certificate in Postman for the above hostname:port.

  • If I try to register new S3 hostname the call does not even return (but the S3 hostname shows up in the FTS configuration).
  • If I try to register a valid S3 hostname (but which was already registered), the call returns with status code 500.

image

As a side note, if I call to configure an already registered S3 host, the call succeeds (validates that my client certificate is OK).

image

Help!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.