-
Notifications
You must be signed in to change notification settings - Fork 209
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
Use a separate orchestrator for each namespace #855
Commits on Jun 3, 2022
-
Reorganize ns manager and orchestrator
Update namespace manager to contain an orchestrator per namespace. Now, namespace manager will validate & get all plugins, validate all namespaces defined in configuration, and instantiate an orchestrator for each namespace. Orchestrator now receives the defined plugins for that orchestrator's namespace and instantiates the managers. This is a first pass - some items are still broken and need further work. Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for d616fa8 - Browse repository at this point
Copy the full SHA d616fa8View commit details -
Instantiate Namespace Manager as the root object
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for 056e8b1 - Browse repository at this point
Copy the full SHA 056e8b1View commit details -
Some of these may come back in a different form, but they need to be removed for the moment because they exist outside of the namespaced orchestrators. Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for 494e897 - Browse repository at this point
Copy the full SHA 494e897View commit details -
Temporarily disable many of the tests that are no longer relevant. Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for fceb2ee - Browse repository at this point
Copy the full SHA fceb2eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30bc9e6 - Browse repository at this point
Copy the full SHA 30bc9e6View commit details -
Resolve circular dependencies in new tree
Most of the orchestrator and namespace manager tests are disabled, but the rest of the tests now pass. Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for 3a15d6c - Browse repository at this point
Copy the full SHA 3a15d6cView commit details -
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for a843638 - Browse repository at this point
Copy the full SHA a843638View commit details -
Move this out of /status (since it's just a collection query), and put it under namespaces like most of the other routes. Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for 5aaccaa - Browse repository at this point
Copy the full SHA 5aaccaaView commit details -
Add mutex around prometheus singletons
Avoid setting these twice. Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for 865b919 - Browse repository at this point
Copy the full SHA 865b919View commit details -
Add back /status/batchmanager route
Now under /namespaces. Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for 2678910 - Browse repository at this point
Copy the full SHA 2678910View commit details -
Remove the "/status" prefix, since this is a global route and no longer grouped with the other "status" routes. Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for 6c01acb - Browse repository at this point
Copy the full SHA 6c01acbView commit details
Commits on Jun 6, 2022
-
Group orchestrator config into a struct
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for 9635e2b - Browse repository at this point
Copy the full SHA 9635e2bView commit details -
Complete orchestrator unit tests
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for cd6c5dd - Browse repository at this point
Copy the full SHA cd6c5ddView commit details -
Complete namespace manager tests
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for 0f3facb - Browse repository at this point
Copy the full SHA 0f3facbView commit details -
Implement GetNamespaces on namespace manager
Returns very basic information about all available namespaces. Note that there is no "GetNamespaces" query on orchestrator or the database layer now, as these details may be spread across multiple databases. Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for ccc87cb - Browse repository at this point
Copy the full SHA ccc87cbView commit details
Commits on Jun 7, 2022
-
Organize plugins onto child structs
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for 4cd08bb - Browse repository at this point
Copy the full SHA 4cd08bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f24541 - Browse repository at this point
Copy the full SHA 0f24541View commit details -
Fix SPI routes to use proper namespaces
Only the "get many" route for operations is broken now. Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for a07bd87 - Browse repository at this point
Copy the full SHA a07bd87View commit details
Commits on Jun 8, 2022
-
Initialize ff_system for legacy networks
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for 45881b5 - Browse repository at this point
Copy the full SHA 45881b5View commit details -
Factor out base PluginConfig struct
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for e6dcaff - Browse repository at this point
Copy the full SHA e6dcaffView commit details -
Split out plugin RegisterListener from Init
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for 161b6ef - Browse repository at this point
Copy the full SHA 161b6efView commit details -
Move plugin init to namespace manager
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for 9f6be18 - Browse repository at this point
Copy the full SHA 9f6be18View commit details
Commits on Jun 9, 2022
-
Add separate plugin types in namespace manager
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for 15ddcd5 - Browse repository at this point
Copy the full SHA 15ddcd5View commit details -
Blockchain plugin can track multiple listeners
Each listener will ignore events outside its namespace. Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for de9ad86 - Browse repository at this point
Copy the full SHA de9ad86View commit details -
Data Exchange plugin can track multiple listeners
Each listener will ignore events outside its namespace. Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for 492193a - Browse repository at this point
Copy the full SHA 492193aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 382cb3e - Browse repository at this point
Copy the full SHA 382cb3eView commit details -
Database plugin can track multiple listeners
Each listener will ignore events outside its namespace. Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for 588c8f8 - Browse repository at this point
Copy the full SHA 588c8f8View commit details -
Tokens plugin can track multiple listeners
Each listener will ignore events outside its namespace. Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for dc11215 - Browse repository at this point
Copy the full SHA dc11215View commit details -
Tweak namespace parsing from dx
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for e19f2a4 - Browse repository at this point
Copy the full SHA e19f2a4View commit details -
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for 6e9cce6 - Browse repository at this point
Copy the full SHA 6e9cce6View commit details -
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for 7aed6c7 - Browse repository at this point
Copy the full SHA 7aed6c7View commit details
Commits on Jun 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f684b6a - Browse repository at this point
Copy the full SHA f684b6aView commit details -
Always include namespace when querying pins
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for 82467b4 - Browse repository at this point
Copy the full SHA 82467b4View commit details -
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for dd4adf9 - Browse repository at this point
Copy the full SHA dd4adf9View commit details -
Return empty list for identity plugins
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for f7559c9 - Browse repository at this point
Copy the full SHA f7559c9View commit details
Commits on Jun 14, 2022
-
Use "different namespace" instead of "wrong namespace" in log
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for 140567d - Browse repository at this point
Copy the full SHA 140567dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6091326 - Browse repository at this point
Copy the full SHA 6091326View commit details -
Replace "/spi/v1/operations" with "/spi/v1/namespaces/{ns}/operations"
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Configuration menu - View commit details
-
Copy full SHA for f96daef - Browse repository at this point
Copy the full SHA f96daefView commit details