Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Upload File, Tests, Restructure #42

Merged
merged 59 commits into from
Sep 28, 2023
Merged

feat: Upload File, Tests, Restructure #42

merged 59 commits into from
Sep 28, 2023

Conversation

Woynert
Copy link
Member

@Woynert Woynert commented Sep 26, 2023

Includes

  • Upload File implementation
  • Soap field validation with Jakarta
  • Reorganize SOAP controllers
  • Tests covering files related to Upload File > 80%
  • Updated Open API Specification
  • Added further testing commands in README

How to try

  1. Start the docker compose which will start the following services:
docker-compose up
Authentication 127.0.0.1:8081
Metadata 127.0.0.1:8082
Worker 127.0.0.1:1099
Postgres-db 127.0.0.1:5432
adminer 127.0.0.1:5050 <- recommended for viewing tables
  1. Then run gateway tests: All test should pass.
./gradlew cleanTest testCodeCoverageReport
  1. Check there are files uploaded in the worker service. (You can check the worker id with docker ps):
docker exec <WORKER CONTAINER ID> sh -c 'find /var/capy/ | sed -e "s/[^-][^\/]*\//   │/g" -e "s/│\([^ ]\)/├── \1/"'
   │   │
   │   ├── store
   │   │   ├── backups
   │   │   │   ├── volume3
   │   │   │   ├── volume2
   │   │   │   │   ├── 0edf2712-67df-4f06-aa0c-f130ef8adf15
   │   │   │   │   ├── 8427b18d-fec7-4e69-88be-226a88754ef9
   │   │   │   ├── volume1
   │   │   ├── files
   │   │   │   ├── volume3
   │   │   │   ├── volume2
   │   │   │   │   ├── 0edf2712-67df-4f06-aa0c-f130ef8adf15
   │   │   │   │   ├── 8427b18d-fec7-4e69-88be-226a88754ef9
   │   │   │   ├── volume1
  1. Also, check the metadata tables with adminer http://127.0.0.1:5050.

@Woynert Woynert added the feature Feature label Sep 26, 2023
@Woynert Woynert self-assigned this Sep 26, 2023
@Woynert Woynert linked an issue Sep 26, 2023 that may be closed by this pull request
@shoriwe shoriwe self-requested a review September 27, 2023 12:28
docker-compose.yml Outdated Show resolved Hide resolved
soap-python-client.py Show resolved Hide resolved
Copy link
Member

@shoriwe shoriwe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Squash & Merge

@Woynert Woynert marked this pull request as ready for review September 27, 2023 18:20
@Woynert Woynert merged commit 5a80939 into dev Sep 28, 2023
@Woynert Woynert deleted the feat/upload-file branch September 28, 2023 00:51
Woynert added a commit that referenced this pull request Oct 3, 2023
* chore(release): 0.0.13

* feat: Normalize method responses (#36)

* chore(release): 0.0.14

* chore: JSON library (#37)

* chore: Add org.json dependency

* chore: Add JSON usage example

* chore(release): 0.0.15

* feat: Config from env vars (#38)

* feat: Get conf from env vars

* docs: Add CLI.md document

* docs: Link docs in README

* feat: Add default ENV vars to Dockerfile for convenience

* fix: Change worker RMI default port

* chore(release): 0.0.16

* feat: adding register implementation and some changes in .gitignore (#35)

* feat: adding register implementation and some changes in .gitignore

* fix: fixing format inconsistencies

* feat: changing and upgrading res in success

* fix: upgrading requests and responses

* fix: changing parameter from pass to password

* fix: changing url format

* fix: clang format

* fix: True on success

* fix: Use Config class for env vars

---------

Co-authored-by: woynert

* chore(release): 0.0.17

* Feat login (#40)

* Feat login without tests

* Apply formatting

* chore(release): 0.0.18

* docs: SOAP OpenAPI specification (#41)

* docs: Add open api specification

* docs: Add API definition to README.md

* docs: Improve CLI.md examples

* refactor: Redesign request / response types

* chore: Update python sample client

* chore: Update submodule

* chore: Use error instead of success

* chore: Apply requested changes

* chore(release): 0.0.19

* feat: Upload File, Tests, Restructure (#42)

* feat: createFile handler

* fix: Use byte primitive

* chore: Remove RMI demo from App.java

* chore: apply clang-format

* feat: Abstract rmi connection

* chore: Update rmi lib

* chore: Utils package

* feat: Auth abstraction

* feat: Authenticate jwt on upload file

* feat: Get user's UUID

* feat: Get file mimetype from bytes

* fix: Make metadata & auth services use a single postgres instance

* feat: Pre declare userUUID

* fix: Get userUUID from token

* docs: Update env vars default values

* feat(upload-file): save metadata

* fix: ManagerRMI interface import

* chore: Remove debug msgs

* refactor: Switch SOAP data types sufix to prefix

* chore: Remove debug msgs

* chore: Update RMI submodule

* refactor: Redesign request / response types

* fix: Adapt current service implementation with new interface design

* docs: Add open api specification

* docs: Add API definition to README.md

* docs: Improve CLI.md examples

* refactor: Redesign request / response types

* chore: Update python sample client

* chore: Update submodule

* chore: update submodule

* fix: Typo in request type

* feat(upload-file): Add file size limits

* chore: Use error instead of success

* fix: Simplify http requests

* refactor: External services: Managers to Services

* refactor: Separate SOAP request handlers as controllers

* chore: Add http codes to auth method

* feat: Add http codes to Metadata save file

* feat: Better http code handling

* feat: Add ResStatus generic downcast support

* feat: Validate field types

* feat: Adapt getUserUUID method to a ResStatus response

* test: Test util to tweak configurations

* fix: controller exit codes

* test: Authorization service abstraction

* test: FileIO upload-file

* docs: Update README & API spec

* test: show realtime std, err on tests execution

* feat: update python client demo

* chore: Update docker compose with worker service & adminer

* docs: Update default MetadataURI env var

* chore: Use worker release image

* ci: Fix workflows: testing, coverage

* fix: Do not assume api sufix

* fix: Exclude tests on Dockerfile build

* chore(release): 0.0.20

* Update login and Add tests (#47)

* Updeate return code and test

* Fixes Implemented

* fix: Update RMI module

* Fix Format

* Fix

* Test: update message

---------

Co-authored-by: woynert <[email protected]>

* chore(release): 0.0.21

* feat: download file (#46)

* feat: createFile handler

* fix: Use byte primitive

* chore: Remove RMI demo from App.java

* chore: apply clang-format

* feat: Abstract rmi connection

* chore: Update rmi lib

* chore: Utils package

* feat: Auth abstraction

* feat: Authenticate jwt on upload file

* feat: Get user's UUID

* feat: Get file mimetype from bytes

* fix: Make metadata & auth services use a single postgres instance

* feat: Pre declare userUUID

* fix: Get userUUID from token

* docs: Update env vars default values

* feat(upload-file): save metadata

* fix: ManagerRMI interface import

* chore: Remove debug msgs

* refactor: Switch SOAP data types sufix to prefix

* chore: Remove debug msgs

* chore: Update RMI submodule

* refactor: Redesign request / response types

* fix: Adapt current service implementation with new interface design

* docs: Add open api specification

* docs: Add API definition to README.md

* docs: Improve CLI.md examples

* refactor: Redesign request / response types

* chore: Update python sample client

* chore: Update submodule

* chore: update submodule

* fix: Typo in request type

* feat(upload-file): Add file size limits

* chore: Use error instead of success

* fix: Simplify http requests

* refactor: External services: Managers to Services

* refactor: Separate SOAP request handlers as controllers

* chore: Add http codes to auth method

* feat: Add http codes to Metadata save file

* feat: Better http code handling

* feat: Add ResStatus generic downcast support

* feat: Validate field types

* feat: Adapt getUserUUID method to a ResStatus response

* test: Test util to tweak configurations

* fix: controller exit codes

* test: Authorization service abstraction

* test: FileIO upload-file

* docs: Update README & API spec

* test: show realtime std, err on tests execution

* feat: update python client demo

* chore: Update docker compose with worker service & adminer

* docs: Update default MetadataURI env var

* chore: Use worker release image

* ci: Fix workflows: testing, coverage

* fix: Do not assume api sufix

* fix: Exclude tests on Dockerfile build

* chore: Update RMI types to use UUID

* feat(ServiceMetadata): canRead wrapper added

* feat(ServiceMetadata): getFileMetadata wrapper added

* chore: update fileDownload res/req types

* feat: fileDownload service implementation

* chore: Add RMI Streaming library

* feat(fileDownload): Add 404 code case

* fix: Login return code

* test: Add new ASCII generator

* test: Update uploadFile test to save relevant data for other tests

* test: Add fileDownload tests

* chore: Remove debug messages & unclutter test output

* fix: Add workaround issue Metadata#74

* chore: increase buffer size for data streaming

* chore: update submodule

* feat: Update demo python SOAP client

* fix: Nullable extension result

* fix: Give time for file to finish uploading before next test

* ci: run test workflows on PRs against main

* chore: Improve cli client (#55)

* refactor: Make cli client reusable
---------

Co-authored-by: woynert <[email protected]>

---------

Co-authored-by: Pedro Andrés Chaparro Quintero <[email protected]>

* chore(release): 0.0.22

* chore(release): 0.0.23

* feat: file check ready (#57)

* fix: Remove duplicated uri chained method

* feat: add file check controller implementation

* test: add file_check tests

* feat: make format script default to write

* feat: use serviceMetadata existing implementation for fileCheck

* test(file check): add tests for case 400 and 401

* style: apply clang-format

* chore(release): 0.0.24

---------

Co-authored-by: Antonio Donis <[email protected]>
Co-authored-by: Silvia Pabón <[email protected]>
Co-authored-by: Andres David Bonilla Higuera <[email protected]>
Co-authored-by: Pedro Andrés Chaparro Quintero <[email protected]>
SilviaPabon added a commit that referenced this pull request Oct 8, 2023
* [ci skip] chore(release): 0.0.13

* feat: Normalize method responses (#36)

* [ci skip] chore(release): 0.0.14

* chore: JSON library (#37)

* chore: Add org.json dependency

* chore: Add JSON usage example

* [ci skip] chore(release): 0.0.15

* feat: Config from env vars (#38)

* feat: Get conf from env vars

* docs: Add CLI.md document

* docs: Link docs in README

* feat: Add default ENV vars to Dockerfile for convenience

* fix: Change worker RMI default port

* [ci skip] chore(release): 0.0.16

* feat: adding register implementation and some changes in .gitignore (#35)

* feat: adding register implementation and some changes in .gitignore

* fix: fixing format inconsistencies

* feat: changing and upgrading res in success

* fix: upgrading requests and responses

* fix: changing parameter from pass to password

* fix: changing url format

* fix: clang format

* fix: True on success

* fix: Use Config class for env vars

---------

Co-authored-by: woynert

* [ci skip] chore(release): 0.0.17

* Feat login (#40)

* Feat login without tests

* Apply formatting

* [ci skip] chore(release): 0.0.18

* docs: SOAP OpenAPI specification (#41)

* docs: Add open api specification

* docs: Add API definition to README.md

* docs: Improve CLI.md examples

* refactor: Redesign request / response types

* chore: Update python sample client

* chore: Update submodule

* chore: Use error instead of success

* chore: Apply requested changes

* [ci skip] chore(release): 0.0.19

* feat: Upload File, Tests, Restructure (#42)

* feat: createFile handler

* fix: Use byte primitive

* chore: Remove RMI demo from App.java

* chore: apply clang-format

* feat: Abstract rmi connection

* chore: Update rmi lib

* chore: Utils package

* feat: Auth abstraction

* feat: Authenticate jwt on upload file

* feat: Get user's UUID

* feat: Get file mimetype from bytes

* fix: Make metadata & auth services use a single postgres instance

* feat: Pre declare userUUID

* fix: Get userUUID from token

* docs: Update env vars default values

* feat(upload-file): save metadata

* fix: ManagerRMI interface import

* chore: Remove debug msgs

* refactor: Switch SOAP data types sufix to prefix

* chore: Remove debug msgs

* chore: Update RMI submodule

* refactor: Redesign request / response types

* fix: Adapt current service implementation with new interface design

* docs: Add open api specification

* docs: Add API definition to README.md

* docs: Improve CLI.md examples

* refactor: Redesign request / response types

* chore: Update python sample client

* chore: Update submodule

* chore: update submodule

* fix: Typo in request type

* feat(upload-file): Add file size limits

* chore: Use error instead of success

* fix: Simplify http requests

* refactor: External services: Managers to Services

* refactor: Separate SOAP request handlers as controllers

* chore: Add http codes to auth method

* feat: Add http codes to Metadata save file

* feat: Better http code handling

* feat: Add ResStatus generic downcast support

* feat: Validate field types

* feat: Adapt getUserUUID method to a ResStatus response

* test: Test util to tweak configurations

* fix: controller exit codes

* test: Authorization service abstraction

* test: FileIO upload-file

* docs: Update README & API spec

* test: show realtime std, err on tests execution

* feat: update python client demo

* chore: Update docker compose with worker service & adminer

* docs: Update default MetadataURI env var

* chore: Use worker release image

* ci: Fix workflows: testing, coverage

* fix: Do not assume api sufix

* fix: Exclude tests on Dockerfile build

* [ci skip] chore(release): 0.0.20

* Update login and Add tests (#47)

* Updeate return code and test

* Fixes Implemented

* fix: Update RMI module

* Fix Format

* Fix

* Test: update message

---------

Co-authored-by: woynert <[email protected]>

* [ci skip] chore(release): 0.0.21

* feat: download file (#46)

* feat: createFile handler

* fix: Use byte primitive

* chore: Remove RMI demo from App.java

* chore: apply clang-format

* feat: Abstract rmi connection

* chore: Update rmi lib

* chore: Utils package

* feat: Auth abstraction

* feat: Authenticate jwt on upload file

* feat: Get user's UUID

* feat: Get file mimetype from bytes

* fix: Make metadata & auth services use a single postgres instance

* feat: Pre declare userUUID

* fix: Get userUUID from token

* docs: Update env vars default values

* feat(upload-file): save metadata

* fix: ManagerRMI interface import

* chore: Remove debug msgs

* refactor: Switch SOAP data types sufix to prefix

* chore: Remove debug msgs

* chore: Update RMI submodule

* refactor: Redesign request / response types

* fix: Adapt current service implementation with new interface design

* docs: Add open api specification

* docs: Add API definition to README.md

* docs: Improve CLI.md examples

* refactor: Redesign request / response types

* chore: Update python sample client

* chore: Update submodule

* chore: update submodule

* fix: Typo in request type

* feat(upload-file): Add file size limits

* chore: Use error instead of success

* fix: Simplify http requests

* refactor: External services: Managers to Services

* refactor: Separate SOAP request handlers as controllers

* chore: Add http codes to auth method

* feat: Add http codes to Metadata save file

* feat: Better http code handling

* feat: Add ResStatus generic downcast support

* feat: Validate field types

* feat: Adapt getUserUUID method to a ResStatus response

* test: Test util to tweak configurations

* fix: controller exit codes

* test: Authorization service abstraction

* test: FileIO upload-file

* docs: Update README & API spec

* test: show realtime std, err on tests execution

* feat: update python client demo

* chore: Update docker compose with worker service & adminer

* docs: Update default MetadataURI env var

* chore: Use worker release image

* ci: Fix workflows: testing, coverage

* fix: Do not assume api sufix

* fix: Exclude tests on Dockerfile build

* chore: Update RMI types to use UUID

* feat(ServiceMetadata): canRead wrapper added

* feat(ServiceMetadata): getFileMetadata wrapper added

* chore: update fileDownload res/req types

* feat: fileDownload service implementation

* chore: Add RMI Streaming library

* feat(fileDownload): Add 404 code case

* fix: Login return code

* test: Add new ASCII generator

* test: Update uploadFile test to save relevant data for other tests

* test: Add fileDownload tests

* chore: Remove debug messages & unclutter test output

* fix: Add workaround issue Metadata#74

* chore: increase buffer size for data streaming

* chore: update submodule

* feat: Update demo python SOAP client

* fix: Nullable extension result

* fix: Give time for file to finish uploading before next test

* ci: run test workflows on PRs against main

* chore: Improve cli client (#55)

* refactor: Make cli client reusable
---------

Co-authored-by: woynert <[email protected]>

---------

Co-authored-by: Pedro Andrés Chaparro Quintero <[email protected]>

* [ci skip] chore(release): 0.0.22

* [ci skip] chore(release): 0.0.23

* feat: file check ready (#57)

* fix: Remove duplicated uri chained method

* feat: add file check controller implementation

* test: add file_check tests

* feat: make format script default to write

* feat: use serviceMetadata existing implementation for fileCheck

* test(file check): add tests for case 400 and 401

* style: apply clang-format

* [ci skip] chore(release): 0.0.24

* chore: Rename soap endpoint (#59)

* chore: update python-cli soap endpoint

* chore: Update endpoint from /service to /gw/service

* [ci skip] chore(release): 0.0.25

* feat: challenge endpoint (#56)

* feat: Auth refresh service implementation

* feat: Auth refresh query implementation

* fix: Additional property attach not allowed on postgres-admin service

* docs: Auth refresh update on api specification

* feat: Auth refresh test implementaion

* fix: Fix typos on controller

* docs: Update response schema on auth refresh

* feat: Update soap python client for auth refresh

* Fix: Code formatting

* style: adjust spaces

---------

Co-authored-by: woynert <[email protected]>

* [ci skip] chore(release): 0.0.26

* Fix: Delete Unnecesary resFileNew (#63)

* [ci skip] chore(release): 0.0.27

* test: Add tests for register method (#60)

* feat: init test to register and fixing format issues in CtrlAccountRegister

* fix: changing location of register test

* fix: adding requested changes in code and tests

* fix: validating format in code

* [ci skip] chore(release): 0.0.28

* Feat: share file feature (#61)

* fix: deleting attach from docker

* feat: starting share-file feat changes

* feat: init of adding error and msg according with statuscode

* feat: some last adjustments for share file feat

* feat: share file feat concluded and test of it added

* fix: deleting repeated code and adding a check for errors after request otherUserUUID

* fix: deleting unnecessary checkFile action in test

* chore: remove unused import

---------

Co-authored-by: woynert <[email protected]>

* [ci skip] chore(release): 0.0.29

* [ci skip] chore(release): 0.0.30

---------

Co-authored-by: Antonio Donis <[email protected]>
Co-authored-by: Woynert <[email protected]>
Co-authored-by: Andres David Bonilla Higuera <[email protected]>
Co-authored-by: woynert <[email protected]>
Co-authored-by: Pedro Andrés Chaparro Quintero <[email protected]>
Co-authored-by: Cristian Julian Muñoz Buenahora <[email protected]>
Co-authored-by: woynert <[email protected]>
Woynert added a commit that referenced this pull request Oct 12, 2023
* chore(release): 0.0.13

* feat: Normalize method responses (#36)

* chore(release): 0.0.14

* chore: JSON library (#37)

* chore: Add org.json dependency

* chore: Add JSON usage example

* chore(release): 0.0.15

* feat: Config from env vars (#38)

* feat: Get conf from env vars

* docs: Add CLI.md document

* docs: Link docs in README

* feat: Add default ENV vars to Dockerfile for convenience

* fix: Change worker RMI default port

* chore(release): 0.0.16

* feat: adding register implementation and some changes in .gitignore (#35)

* feat: adding register implementation and some changes in .gitignore

* fix: fixing format inconsistencies

* feat: changing and upgrading res in success

* fix: upgrading requests and responses

* fix: changing parameter from pass to password

* fix: changing url format

* fix: clang format

* fix: True on success

* fix: Use Config class for env vars

---------

Co-authored-by: woynert

* chore(release): 0.0.17

* Feat login (#40)

* Feat login without tests

* Apply formatting

* chore(release): 0.0.18

* docs: SOAP OpenAPI specification (#41)

* docs: Add open api specification

* docs: Add API definition to README.md

* docs: Improve CLI.md examples

* refactor: Redesign request / response types

* chore: Update python sample client

* chore: Update submodule

* chore: Use error instead of success

* chore: Apply requested changes

* chore(release): 0.0.19

* feat: Upload File, Tests, Restructure (#42)

* feat: createFile handler

* fix: Use byte primitive

* chore: Remove RMI demo from App.java

* chore: apply clang-format

* feat: Abstract rmi connection

* chore: Update rmi lib

* chore: Utils package

* feat: Auth abstraction

* feat: Authenticate jwt on upload file

* feat: Get user's UUID

* feat: Get file mimetype from bytes

* fix: Make metadata & auth services use a single postgres instance

* feat: Pre declare userUUID

* fix: Get userUUID from token

* docs: Update env vars default values

* feat(upload-file): save metadata

* fix: ManagerRMI interface import

* chore: Remove debug msgs

* refactor: Switch SOAP data types sufix to prefix

* chore: Remove debug msgs

* chore: Update RMI submodule

* refactor: Redesign request / response types

* fix: Adapt current service implementation with new interface design

* docs: Add open api specification

* docs: Add API definition to README.md

* docs: Improve CLI.md examples

* refactor: Redesign request / response types

* chore: Update python sample client

* chore: Update submodule

* chore: update submodule

* fix: Typo in request type

* feat(upload-file): Add file size limits

* chore: Use error instead of success

* fix: Simplify http requests

* refactor: External services: Managers to Services

* refactor: Separate SOAP request handlers as controllers

* chore: Add http codes to auth method

* feat: Add http codes to Metadata save file

* feat: Better http code handling

* feat: Add ResStatus generic downcast support

* feat: Validate field types

* feat: Adapt getUserUUID method to a ResStatus response

* test: Test util to tweak configurations

* fix: controller exit codes

* test: Authorization service abstraction

* test: FileIO upload-file

* docs: Update README & API spec

* test: show realtime std, err on tests execution

* feat: update python client demo

* chore: Update docker compose with worker service & adminer

* docs: Update default MetadataURI env var

* chore: Use worker release image

* ci: Fix workflows: testing, coverage

* fix: Do not assume api sufix

* fix: Exclude tests on Dockerfile build

* chore(release): 0.0.20

* Update login and Add tests (#47)

* Updeate return code and test

* Fixes Implemented

* fix: Update RMI module

* Fix Format

* Fix

* Test: update message

---------

Co-authored-by: woynert <[email protected]>

* chore(release): 0.0.21

* feat: download file (#46)

* feat: createFile handler

* fix: Use byte primitive

* chore: Remove RMI demo from App.java

* chore: apply clang-format

* feat: Abstract rmi connection

* chore: Update rmi lib

* chore: Utils package

* feat: Auth abstraction

* feat: Authenticate jwt on upload file

* feat: Get user's UUID

* feat: Get file mimetype from bytes

* fix: Make metadata & auth services use a single postgres instance

* feat: Pre declare userUUID

* fix: Get userUUID from token

* docs: Update env vars default values

* feat(upload-file): save metadata

* fix: ManagerRMI interface import

* chore: Remove debug msgs

* refactor: Switch SOAP data types sufix to prefix

* chore: Remove debug msgs

* chore: Update RMI submodule

* refactor: Redesign request / response types

* fix: Adapt current service implementation with new interface design

* docs: Add open api specification

* docs: Add API definition to README.md

* docs: Improve CLI.md examples

* refactor: Redesign request / response types

* chore: Update python sample client

* chore: Update submodule

* chore: update submodule

* fix: Typo in request type

* feat(upload-file): Add file size limits

* chore: Use error instead of success

* fix: Simplify http requests

* refactor: External services: Managers to Services

* refactor: Separate SOAP request handlers as controllers

* chore: Add http codes to auth method

* feat: Add http codes to Metadata save file

* feat: Better http code handling

* feat: Add ResStatus generic downcast support

* feat: Validate field types

* feat: Adapt getUserUUID method to a ResStatus response

* test: Test util to tweak configurations

* fix: controller exit codes

* test: Authorization service abstraction

* test: FileIO upload-file

* docs: Update README & API spec

* test: show realtime std, err on tests execution

* feat: update python client demo

* chore: Update docker compose with worker service & adminer

* docs: Update default MetadataURI env var

* chore: Use worker release image

* ci: Fix workflows: testing, coverage

* fix: Do not assume api sufix

* fix: Exclude tests on Dockerfile build

* chore: Update RMI types to use UUID

* feat(ServiceMetadata): canRead wrapper added

* feat(ServiceMetadata): getFileMetadata wrapper added

* chore: update fileDownload res/req types

* feat: fileDownload service implementation

* chore: Add RMI Streaming library

* feat(fileDownload): Add 404 code case

* fix: Login return code

* test: Add new ASCII generator

* test: Update uploadFile test to save relevant data for other tests

* test: Add fileDownload tests

* chore: Remove debug messages & unclutter test output

* fix: Add workaround issue Metadata#74

* chore: increase buffer size for data streaming

* chore: update submodule

* feat: Update demo python SOAP client

* fix: Nullable extension result

* fix: Give time for file to finish uploading before next test

* ci: run test workflows on PRs against main

* chore: Improve cli client (#55)

* refactor: Make cli client reusable
---------

Co-authored-by: woynert <[email protected]>

---------

Co-authored-by: Pedro Andrés Chaparro Quintero <[email protected]>

* chore(release): 0.0.22

* chore(release): 0.0.23

* feat: file check ready (#57)

* fix: Remove duplicated uri chained method

* feat: add file check controller implementation

* test: add file_check tests

* feat: make format script default to write

* feat: use serviceMetadata existing implementation for fileCheck

* test(file check): add tests for case 400 and 401

* style: apply clang-format

* chore(release): 0.0.24

* chore: Rename soap endpoint (#59)

* chore: update python-cli soap endpoint

* chore: Update endpoint from /service to /gw/service

* chore(release): 0.0.25

* feat: challenge endpoint (#56)

* feat: Auth refresh service implementation

* feat: Auth refresh query implementation

* fix: Additional property attach not allowed on postgres-admin service

* docs: Auth refresh update on api specification

* feat: Auth refresh test implementaion

* fix: Fix typos on controller

* docs: Update response schema on auth refresh

* feat: Update soap python client for auth refresh

* Fix: Code formatting

* style: adjust spaces

---------

Co-authored-by: woynert <[email protected]>

* chore(release): 0.0.26

* Fix: Delete Unnecesary resFileNew (#63)

* chore(release): 0.0.27

* test: Add tests for register method (#60)

* feat: init test to register and fixing format issues in CtrlAccountRegister

* fix: changing location of register test

* fix: adding requested changes in code and tests

* fix: validating format in code

* chore(release): 0.0.28

* Feat: share file feature (#61)

* fix: deleting attach from docker

* feat: starting share-file feat changes

* feat: init of adding error and msg according with statuscode

* feat: some last adjustments for share file feat

* feat: share file feat concluded and test of it added

* fix: deleting repeated code and adding a check for errors after request otherUserUUID

* fix: deleting unnecessary checkFile action in test

* chore: remove unused import

---------

Co-authored-by: woynert <[email protected]>

* chore(release): 0.0.29

* chore(release): 0.0.30

* fix: Move /api/version base path

* chore(release): 0.0.31

* feat: File rename (#69)

* docs: Split move / rename functionality

* refactor(file-rename): Redefine request type

* feat(file-rename): File rename soap controller implementation

* test(file-rename): Add tests for file-rename

* feat(file-rename): Update simple python client

* chore: Remove unused properties

* chore(release): 0.0.32

* Update password (#68)

* Advance

* Finished Update Password

* Fix: Format

* Fix: Format sh

* Fixs from CtrlUpdatePassword

* chore(release): 0.0.33

* feat: create new directory (#71)

* feat: Adapt saveFile so that it can save directories

* docs: Update types and return code

* feat: Create new dir SOAP controller

* test(create-new-dir): Add various tests cases

* docs: Fix create dir "endpoint" (remote method name)

* feat: Add file_new_dir demo to python cli

* style: Rename saveFile fileExtension argument

* test: further test response codes

* chore(release): 0.0.34

* chore(release): 0.0.35

---------

Co-authored-by: Antonio Donis <[email protected]>
Co-authored-by: Silvia Pabón <[email protected]>
Co-authored-by: Andres David Bonilla Higuera <[email protected]>
Co-authored-by: Pedro Andrés Chaparro Quintero <[email protected]>
Co-authored-by: Cristian Julian Muñoz Buenahora <[email protected]>
Co-authored-by: SilviaPabon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation feature Feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: upload file (file_upload)
2 participants