Skip to content

slepera/fds_back_end

Repository files navigation

Ports, endpoints and methods:
- Gateway: 8443 (HTTPS to be used)
    - GET users/all: get all registered users (auth token required);
    - POST auth/login: sign in a user (requires email and password in JSON body);
    - POST auth/register: register a new user (requires email and password in JSON body);
OLD    - GET ecs/sftp_client/get/{file_name}: retrieve a file through sftp protocol (auth token required);
OLD    - PUT ecs/sftp_client/put/{file_name}: send a file through sftp protocol (auth token required);

Direct access to specific service (do not need auth token, HTTP to be used):
gateway --> 8443
discovery --> 8761
users --> 9002
auth --> 9004
ecs --> 9003
log --> 9001

Stubs Application:
- GET http://localhost:9010/test/sftp_get?path={path} : gets a file from the "path" on the sftp external server and stores it
    in a dedicated folder (data/sftp)
- PUT http://localhost:9010/test/sftp_put?path={path} : puts the file from the local "path" into the sftp external server
- PUT http://localhost:9010/test/http_post_file_server (with file in body): puts a file in /data/stub/http/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages