Skip to content

Is309/storage api specs #366

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

Merged
merged 65 commits into from
Nov 27, 2018

Conversation

pcrespov
Copy link
Member

@pcrespov pcrespov commented Nov 23, 2018

What do these changes do?

Moves storage service openapi specs into api/specs

Related issue number

connected to #309
It is the last service, so closes #309

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes
  • Runs in the swarm
  • If you design a new module, add your user to .github/CODEOWNERS

Pedro Crespo and others added 30 commits July 6, 2018 14:34
Pedro Crespo added 10 commits November 21, 2018 11:58
Removed reference to oas3 in setup.py
Added config rest section to set the remote or local location of apispecs repo
rest.py loads oas doc, validates and proceeds with setup as before
Oas3 is not anymore a resource. Removed all references as a resource
Cleanup
 - removed cyclic dependency in settings
 - renamed settings_config as config_schema
- Adds workspace variables in config-files
- Update config files with new section
- Adds APIHUB_HOST, _PORT in storage docker-compose
- Fixes duplication of docker-compose storage service
Copied changes in storage files from PR ITISFoundation#355 - commit ff814d9
adapting tests:
 - Adds new environ variables in tests fixtures
 - adds new config section
@ghost ghost assigned pcrespov Nov 23, 2018
@ghost ghost added the review label Nov 23, 2018
@ghost ghost assigned odeimaiz Nov 23, 2018
pcrespov pushed a commit to pcrespov/osparc-simcore that referenced this pull request Nov 26, 2018
pcrespov and others added 2 commits November 27, 2018 00:54
- Added loop dependency (might help in windows version)
- cleanup tests_registry_proxy.py
@pcrespov pcrespov merged commit 0b92c75 into ITISFoundation:master Nov 27, 2018
@ghost ghost removed the review label Nov 27, 2018
@pcrespov pcrespov deleted the is309/storage-api-specs branch November 27, 2018 08:47
pcrespov added a commit that referenced this pull request Nov 30, 2018
* storage can access the user's datcore tokens info
 -  storage service retrieves user token's key and secret when it needs to operate on external services
 -  finishes implementation calls to list datcore from wrapper
 -  fixes on front-end (@odeimaiz )

* closes #369

* merged squashed is309/storage-api-spec from PR #366 (pending review but tests passing)

* Removed session from storage. not needed.

* Cleanup storage submodule in web-server
 - adds body in request

* Injected datcore tokens into dsm

* renamed:    db_helpers.py -> db_tokens.py


* Fixed dev-config in storage (does not have entire root folder inside of the container!)
Added acces stdin_open and tty to attach for debuggin


* Fixes pytest warning
 "cannot collect test class 'TestClient' because it has a __init__ constructor"

Pytest tries to collect TestClient as its name matches the naming conventions for test classes. However it finds a __init__ method, which it cannot understand.

* Modified storage config schemas on datcore test tokens

* Does not update dsm.datcore_tokens if not not available

* Fixes case of empty token match

* Injects dummy tokens table to init postgres fixture
userid is an integer but not a string
removed deprecated @pytest.mark.asyncio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move all openapi specs to api/specs
4 participants