-
Notifications
You must be signed in to change notification settings - Fork 9
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: Implement IOC #1010
feat: Implement IOC #1010
Conversation
24269fe
to
dd13b95
Compare
04e69ea
to
7d988e3
Compare
commit 04e69ea Author: Jeromy Cannon <[email protected]> Date: Thu Dec 26 13:22:26 2024 +0000 Squashed commit of the following: commit 5ab8bfdffd3c5d1932e7ed6a61e736d7216b4248 Author: Jeromy Cannon <[email protected]> Date: Thu Dec 26 13:15:50 2024 +0000 got `solo init` to work. Signed-off-by: Jeromy Cannon <[email protected]> commit 8bcf11c95ca5e310b177ed00be3a58a24fdbbac6 Author: Jeromy Cannon <[email protected]> Date: Mon Dec 23 22:00:08 2024 +0000 remove eslint errors Signed-off-by: Jeromy Cannon <[email protected]> commit de0046a370e14582500ce25e412cb8c8fb7158a1 Author: Jeromy Cannon <[email protected]> Date: Mon Dec 23 21:59:51 2024 +0000 removed isolated modules, it seems to be adding js files and dist folders in incorrect locations Signed-off-by: Jeromy Cannon <[email protected]> commit 4909cbdcf289ba35d68620bab88bb73815f5ecc2 Author: Jeromy Cannon <[email protected]> Date: Mon Dec 23 21:59:23 2024 +0000 change eslint back, if we need to override, we can use @ignore tags and document Signed-off-by: Jeromy Cannon <[email protected]> Signed-off-by: Jeromy Cannon <[email protected]> commit 8c16717 Author: Jeromy Cannon <[email protected]> Date: Thu Dec 26 13:24:23 2024 +0000 Squashed commit of the following: commit 294aa0a Author: Ivo Yankov <[email protected]> Date: Thu Dec 26 10:36:26 2024 +0200 chore: add build step to unit test CI Signed-off-by: Ivo Yankov <[email protected]> commit f67071c Author: Ivo Yankov <[email protected]> Date: Thu Dec 26 10:26:14 2024 +0200 fix: update mocha scripts in package.json Signed-off-by: Ivo Yankov <[email protected]> commit be6d88e Author: Ivo Yankov <[email protected]> Date: Thu Dec 26 09:54:26 2024 +0200 chore: run formatter Signed-off-by: Ivo Yankov <[email protected]> commit c0b8b16 Author: Ivo Yankov <[email protected]> Date: Thu Dec 26 09:52:14 2024 +0200 fix: various unit tests Signed-off-by: Ivo Yankov <[email protected]> commit 5a05b87 Author: Ivo Yankov <[email protected]> Date: Thu Dec 26 08:13:22 2024 +0200 fix: injections in tests Signed-off-by: Ivo Yankov <[email protected]> commit 6178ccf Merge: 24269fe c3a9691 Author: Ivo Yankov <[email protected]> Date: Tue Dec 24 15:39:32 2024 +0200 Merge remote-tracking branch 'origin/00822-implement-inversion-of-control-2' into 00822-implement-inversion-of-control-2 # Conflicts: # src/core/account_manager.ts # src/core/config/local_config.ts # src/core/config_manager.ts # src/core/lease/lease_manager.ts # src/core/profile_manager.ts # src/index.ts # test/setup.ts # test/test_container.ts # test/test_util.ts # test/unit/commands/base.test.ts # test/unit/commands/context.test.ts # test/unit/commands/network.test.ts # test/unit/core/platform_installer.test.ts # test/unit/core/profile_manager.test.ts commit c3a9691 Author: Jeromy Cannon <[email protected]> Date: Mon Dec 23 20:35:20 2024 +0000 add reflect metadata back Signed-off-by: Jeromy Cannon <[email protected]> commit dd13b95 Author: Jeromy Cannon <[email protected]> Date: Mon Dec 23 20:28:06 2024 +0000 fixed eslint errors from `npm run check` Signed-off-by: Jeromy Cannon <[email protected]> commit 6d7522c Author: Jeromy Cannon <[email protected]> Date: Mon Dec 23 20:14:08 2024 +0000 npm run format Signed-off-by: Jeromy Cannon <[email protected]> commit f323ca7 Author: Jeromy Cannon <[email protected]> Date: Mon Dec 23 19:59:26 2024 +0000 Squashed commit of the following: commit 24269fe Author: Ivo Yankov <[email protected]> Date: Fri Dec 20 11:03:26 2024 +0200 wip: attempting to fix tests Signed-off-by: Ivo Yankov <[email protected]> commit 7698f16 Author: Ivo Yankov <[email protected]> Date: Thu Dec 19 15:41:38 2024 +0200 chore: format Signed-off-by: Ivo Yankov <[email protected]> commit 507a081 Author: Ivo Yankov <[email protected]> Date: Thu Dec 19 14:53:36 2024 +0200 feat: implement IOC in core classes Signed-off-by: Ivo Yankov <[email protected]> commit c582f12 Author: Ivo Yankov <[email protected]> Date: Wed Dec 18 17:32:22 2024 +0200 wip: refactoring dependencies Signed-off-by: Ivo Yankov <[email protected]> Signed-off-by: Jeromy Cannon <[email protected]> commit 1b9b7e6 Author: Jan Milenkov <[email protected]> Date: Mon Dec 23 21:22:56 2024 +0200 feat: dynamically construct the genesis-network.json and add it to the values file to be used during network deploy (#982) Signed-off-by: Jeromy Cannon <[email protected]> Co-authored-by: Jeromy Cannon <[email protected]> commit 3c3673a Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Dec 23 08:12:58 2024 -0600 chore(deps): bump jfrog/setup-jfrog-cli from 4.5.2 to 4.5.3 (#1015) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 299cd85 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Dec 23 08:12:30 2024 -0600 chore(deps): bump helm/kind-action from 1.11.0 to 1.12.0 (#1014) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 1d57fb8 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Dec 23 07:47:07 2024 -0600 chore(deps): bump chalk from 5.4.0 to 5.4.1 (#1013) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit a4e5cd8 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Dec 23 07:26:24 2024 -0600 chore(deps): bump inquirer from 12.2.0 to 12.3.0 (#1012) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 7a69623 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun Dec 22 19:20:53 2024 +0000 chore(deps-dev): bump eslint-plugin-n from 17.15.0 to 17.15.1 (#1011) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 7bb0e99 Author: Jeromy Cannon <[email protected]> Date: Sun Dec 22 07:31:54 2024 +0000 fix: refactored Taskfiles, fixed bugs with taskfile, lease interval, sdk node client connection, and commands missing quiet flag (#978) Signed-off-by: Jeromy Cannon <[email protected]> commit 861c579 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu Dec 19 11:06:35 2024 -0600 chore(deps-dev): bump globals from 15.13.0 to 15.14.0 (#1007) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit e80bda8 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu Dec 19 11:06:22 2024 -0600 chore(deps): bump chalk from 5.3.0 to 5.4.0 (#1008) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit f4b49aa Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu Dec 19 10:47:50 2024 -0600 chore(deps): bump @hashgraph/sdk from 2.55.1 to 2.56.0 (#1009) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit c9711c5 Author: Ivo Yankov <[email protected]> Date: Thu Dec 19 18:47:03 2024 +0200 feat: update `solo context connect` to connect to single remote cluster (#993) Signed-off-by: Ivo Yankov <[email protected]> commit 043efcf Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Dec 18 16:56:19 2024 -0600 chore(deps): bump actions/upload-artifact from 4.4.3 to 4.5.0 (#1002) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 8115945 Author: Pranali Deshmukh <[email protected]> Date: Thu Dec 19 00:55:58 2024 +0200 docs(README): Updated the "Install Solo" section. (#1004) Signed-off-by: Pranali Deshmukh <[email protected]> commit 01ed969 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Dec 18 11:19:09 2024 -0600 chore(deps): bump actions/setup-java from 4.5.0 to 4.6.0 (#1003) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Jeromy Cannon <[email protected]> commit 24269fe Author: Ivo Yankov <[email protected]> Date: Fri Dec 20 11:03:26 2024 +0200 wip: attempting to fix tests Signed-off-by: Ivo Yankov <[email protected]> commit 7698f16 Author: Ivo Yankov <[email protected]> Date: Thu Dec 19 15:41:38 2024 +0200 chore: format Signed-off-by: Ivo Yankov <[email protected]> commit 507a081 Author: Ivo Yankov <[email protected]> Date: Thu Dec 19 14:53:36 2024 +0200 feat: implement IOC in core classes Signed-off-by: Ivo Yankov <[email protected]> commit c582f12 Author: Ivo Yankov <[email protected]> Date: Wed Dec 18 17:32:22 2024 +0200 wip: refactoring dependencies Signed-off-by: Ivo Yankov <[email protected]> Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
38a51d1
to
3434f71
Compare
Signed-off-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
E2E Test Report 16 files ±0 121 suites ±0 1h 21m 19s ⏱️ + 1m 13s Results for commit 7b56326. ± Comparison against base commit 813a4ab. This pull request removes 3 and adds 3 tests. Note that renamed tests count towards both.
|
1 similar comment
E2E Test Report 16 files ±0 121 suites ±0 1h 21m 19s ⏱️ + 1m 13s Results for commit 7b56326. ± Comparison against base commit 813a4ab. This pull request removes 3 and adds 3 tests. Note that renamed tests count towards both.
|
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1010 +/- ##
==========================================
+ Coverage 84.58% 84.79% +0.21%
==========================================
Files 74 76 +2
Lines 19716 19918 +202
Branches 1403 1187 -216
==========================================
+ Hits 16676 16890 +214
+ Misses 3013 3011 -2
+ Partials 27 17 -10
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I can't approve it since the PR is opened by me
## [0.32.0](v0.31.1...v0.32.0) (2024-12-31) ### ⚠ BREAKING CHANGES * update readme with warning about BREAKING CHANGE in this next release (#730) ### Features * add ci test flow to test task command to launch solo ([#811](#811)) ([356f341](356f341)) * add example for using javascript SDK ([#832](#832)) ([1d9452e](1d9452e)) * add extended math utils and duration support ([#923](#923)) ([f5a69e7](f5a69e7)) * add separate commands for update ([#735](#735)) ([44c3132](44c3132)) * add solo smoke test to test flow ([#905](#905)) ([79410f0](79410f0)) * add support for flexible lease acquisition and production readiness ([#830](#830)) ([7fa86ad](7fa86ad)) * Add the ability to inject a ca certificate for use in gRPC and gRPC Web ([#753](#753)) ([2cd8a38](2cd8a38)) * add timeout flag to network destroy command ([#821](#821)) ([0fb570b](0fb570b)) * allow settings a reserved static IP address for the consensus nodes HAProxy and Envoy Proxy though the cli with flags ([#937](#937)) ([de9ec2e](de9ec2e)) * change mirror node and explorer from subchart to individual chart ([#743](#743)) ([58f0496](58f0496)) * Create a local config for storing configurations on the users machine ([#803](#803)) ([0a4382d](0a4382d)) * Create remote config ([#862](#862)) ([e8fe739](e8fe739)) * dynamically construct the genesis-network.json and add it to the values file to be used during network deploy ([#982](#982)) ([1b9b7e6](1b9b7e6)) * expose pod check attempts and delays as environment controlled variables ([#812](#812)) ([a7b3279](a7b3279)) * Implement IOC ([#1010](#1010)) ([ed23a7b](ed23a7b)) * Implement solo context connect ([#863](#863)) ([782b3ec](782b3ec)) * Increase helm chart version and switch to use oci registry ([#788](#788)) ([1973275](1973275)) * **k8s:** introduce Kubernetes lease lock mechanism ([#707](#707)) ([f1b8089](f1b8089)) * new command to save state files and upload state files ([#849](#849)) ([d5a9a18](d5a9a18)) * removed caching of ConfigManager and its flags ([#713](#713)) ([76a61e3](76a61e3)) * Setup mirror node monitor pinger service ([#893](#893)) ([f4c4320](f4c4320)) * update `solo context connect` to connect to single remote cluster ([#993](#993)) ([c9711c5](c9711c5)) * Update document ([#956](#956)) ([b378937](b378937)) * update readme and hugo workflow ([#930](#930)) ([0e08abc](0e08abc)) * Validate a remote config ([#922](#922)) ([a7bbae0](a7bbae0)) ### Bug Fixes * add delay before calling script ([#955](#955)) ([76f4b81](76f4b81)) * allow expired leases to be overwritten ([#828](#828)) ([1fa1d78](1fa1d78)) * bump chart and hedera version, re-enable node add ([#985](#985)) ([9cae011](9cae011)) * check if setup chart installed or not before network deploy ([#799](#799)) ([6930dab](6930dab)) * document typo ([#988](#988)) ([8e4fe04](8e4fe04)) * Error in `node update` separate commands when new admin key is not supplied ([#854](#854)) ([6e472b5](6e472b5)) * Examples of performance configs for HashSphere and Latitude ([#926](#926)) ([#957](#957)) ([928148b](928148b)) * fix missing file issues when running solo from npm install -g ([#736](#736)) ([2a5cfc1](2a5cfc1)) * fixed genesis-network.json file lock issue ([#1074](#1074)) ([e590516](e590516)) * flag check of node logs command and incorrect download source ([#848](#848)) ([03051f0](03051f0)) * inconsistent failures ([#866](#866)) ([13ea46d](13ea46d)) * local chart directory not being taken correctly ([#983](#983)) ([58e96e1](58e96e1)) * nextNode ID for release version > 0.56.0 ([#765](#765)) ([3b98dd6](3b98dd6)) * node id should start from `1` ([#884](#884)) ([d90c9b5](d90c9b5)) * node update with single node ([#981](#981)) ([74285bf](74285bf)) * patch issue with dist folder not showing up ([#733](#733)) ([077f989](077f989)) * performance improvements for node stop ([#986](#986)) ([437bbc6](437bbc6)) * refactored Taskfiles, fixed bugs with taskfile, lease interval, sdk node client connection, and commands missing quiet flag ([#978](#978)) ([7bb0e99](7bb0e99)) * remote config validation not working ([#967](#967)) ([88c2506](88c2506)) * resolve node update test failures ([#856](#856)) ([5e1c652](5e1c652)) * Revised example configs for Latitude deployment, automation friendly ([#1038](#1038)) ([434daf3](434daf3)) * undefined log output of namespace ([#764](#764)) ([ac15957](ac15957)) ### Documentation * update readme with warning about BREAKING CHANGE in this next release ([#730](#730)) ([06295f6](06295f6))
🎉 This PR is included in version 0.32.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
This pull request changes the following:
tsyringe-neo
with managers and common instances used in command constructorsRelated Issues