-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️✨adding nodeports support to dynamic-sidecar (#2509)
* there seems to be an issue elsewere * fixed issue when booting * enabling debug boot * injecting pahts to all containers * all declared volumes are removed as well * fixing dy-sidecar unit tests * dv2 added volume creation and removal for dy sidecar * forarding pgsettings to dybamic-sidecar * setting refactoring * volumes are properly mounted on the spec * adding additional setup elements * starting direcotry watcher * adding module to properly manage volumes * fixed some tests * created new directory * using correct password * better error message * codestyle * extended tests for the API * refactor renames * attached nodeports pulling * adding permissin changes * semplified interface for saving and restoring the service state * using new api interface * is no longer set to fail * refactored * raising error now * fixing tests * added data_manager integration * added tests for mounted_fs * added missing env var and refactor * fixed API call to save and restore state * pylint * fixing tests * fix mounted_fs and volumes generated * refactored volume resolve and mounting * added missing env paths * fixed an issue with initialization * fixed issues with permission changing * added more comments * rename refactor * changed debug message * minor refactor * added utility to run on threadppols * using not blocking calls * adds API for nodeports push and pull * fix codestyle * updated opeanpi specs for new entrypoint * updated webserver ospeanpi spec * always return size in bytes of the trasnferred data * updated openapi.json * exposed retrieve to frontend * ensures clean shutdown in call cases * split nodeports from state saving * fixing codestyle * refactor * codeclimate * codestyle * fixed version parsing * Feature/dynamic retrieve (#8) * minor * refactoring * bumped version * bumped service version * composing correct url * version bumped * revert change * computeServiceV2RetrieveUrl (#9) * computeServiceV2RetrieveUrl * minor * updated openaipi specs * updated requirements * added new webserver entrypoint * added retrieve api to director-v2 * fixed director-v2 tests * fix bug * inverted oder * sending in the correct format * faster booting of dy-sidecar * removed todos * update policy timeout * fixed depenencies after merge * using appropriate images for testing * pylint * storage is now connected for this test * fix status url * fixed port forwarding issues * fixed broken test * removed dangerous code * updated openapi.json * minor refactor * further refactoring * refactor * further refactoring * shared functions refactored * refactor * added save_to option to datamanager.pull * refactor * added dependencies for testing * aded nodeports integration test * removed unsued plugin * trying to fix test in CI * refactor API interface * updated API inteface after change * moving to fixure * added more information * using nodeports execption * rename function * mocked api removed, no requests are fowarded here * refactor * renaming function * updated docstring * updated description * update comment * fix comment * updated _meta.py * revert to old version * adding watchdog * added missing requirement * added missing requirement * removed test uncertanty * enhanced test slightly * fixed broken endpoint * adding some debug messages * updated openapi specification * expadning fixture to support multiple versions * added better description * typing * removed comment * added timeouts * using ByteSize * renamed * renmed save_state to can_save * reverting change * more renaming * renaming restore * renamed endpoints * updated openapi.json * @sanderegg fixing in all Dockerfiles * migrated to dataclass * better debug messages * fixed docstring * [skip ci] no ci when pushing * making it easier to debug * trying to give nodeports more time * put back missing parameter * putting back option * restored missing API * fixed typing * replaced with 3.8 version * typo * using statues from starlette * making it run in development * fixed import issue * only log keys * aded status retrying * ading retries on status and retrieve * refactor * renaming and refactoring * renamed again * removing dependency bump * reverting * added minio * added extra comments * added more assersions * added more debug prints * adding more infomation in logs * more explicit debug message * added sleep to make sure data is available * adding more information to make it easier to debug * tring to trigger CI again * reafactoring * refactor * used for testing, leaving it in * added new container logs dump for simpler debugging * dumping logs twice * adding logs debug * updated return type * logs from containers on fail * using version with more debug options * bumped expected version in workbench * better error message and explaniation * even more debug information * put back original check * added separators * removed space * trigger CI again * bumping timeout * prining data for all containers * fix issue * bumping dy_static_file_server version * updated versions in workbench * fixing python-lining CI * reverted changes * debug help * addresses an issue with stopping * fix error * replaced logging. with logger. * adding more debug messages * adding healthcheck to traefik * enabling logs from traefik * adding more logging * adding more logs * raising attempts 15 minute timeout * adding better debug messages * changed the dafults to something else * added logging when data is not found to be upoaded * updating logs on function * fixes a race condition when saving ports in parallel * reverting changes * changed endpoint to make it more readable * removed client-sdk references * migrated nodeports implementaiton * archiving folders is now done in parallel * fix import issue * some missing types * typing * fix pylint * checking how much the test lasts * fixing timeout for test * added faster bailout * making bigger case start first * adding debug flags to detect hangs * reduced timeout to a reasonable value * added port forward for proxy to test * making tests more reliable * extended logging * pylint Co-authored-by: Andrei Neagu <[email protected]> Co-authored-by: Odei Maiz <[email protected]>
- Loading branch information
1 parent
5ef4cd9
commit c6246c3
Showing
96 changed files
with
5,236 additions
and
1,319 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ pytest-mock | |
pytest-runner | ||
pytest-sugar | ||
pytest-xdist | ||
pytest-lazy-fixture | ||
|
||
# mockups/fixtures | ||
alembic | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.