How solarwinds/orionsdk works
Orion SDK provides three user-facing tools: SWQL Studio, a PowerShell module, and the shared Information Service contract/client. The central Studio workflow is to connect to an Orion server, submit SWQL through a query tab, and inspect or export results; separate branches support metadata exploration, object operations, subscriptions, and playback. Edges are limited to relationships shown in the sampled source or SOURCE INDEX; the README identifies the tools but does not document their detailed runtime wiring.
Main entry points: InfoServiceProxy.cs Service proxy · ConnectionInfo.cs Server connection · SubscriptionManager.cs Subscriptions · QueryTab.cs Query and results
Components 23
SWQL Studio
- Studio application
Src/SwqlStudio/Program.cs - Connection manager
Src/SwqlStudio/ConnectionsManager.cs - Server connection
Src/SwqlStudio/ConnectionInfo.cs - Query and results
Src/SwqlStudio/QueryTab.cs - Schema metadata
Src/SwqlStudio/Metadata - Object explorer
Src/SwqlStudio/ObjectExplorer - Object and verb tabs
Src/SwqlStudio - Subscriptions
Src/SwqlStudio/Subscriptions/SubscriptionManager.cs - Notification listener
Src/SwqlStudio/Subscriptions/SubscriptionServiceHost.cs - Query playback
Src/SwqlStudio/Playback/PlaybackManager.cs
Information Service Contract
- Service contract
Src/Contract/IInformationService.cs - Service proxy
Src/Contract/InfoServiceProxy.cs - Query context
Src/Contract/InformationServiceContext.cs - Typed query
Src/Contract/InformationServiceQueryOfT.cs - ADO connection
Src/Contract/InformationServiceClient/InformationServiceConnection.cs - ADO command
Src/Contract/InformationServiceClient/InformationServiceCommand.cs - OAuth token manager
Src/Contract/OAuthTokenManager.cs - Notification contract
Src/Contract/PubSub/INotificationSubscriber.cs
PowerShell Module
- SWIS cmdlets
Src/SwisPowerShell
Logging
- Logging facade
Src/Logging/Log.cs
Other components
- Studio user
- PowerShell user
- Orion platform
Connections 24
- Studio user → Studio application: uses
README.md - Studio application → Connection manager: manages connections
Src/SwqlStudio/Program.cs - Connection manager → Server connection: resolves
Src/SwqlStudio/ConnectionsManager.cs - Query and results → Server connection: queries through
Src/SwqlStudio/QueryTab.cs - Server connection → Service proxy: creates proxy
Src/SwqlStudio/ConnectionInfo.cs - Server connection → Query context: creates query context
Src/SwqlStudio/ConnectionInfo.cs - Query context → Service proxy: uses
Src/Contract/InformationServiceContext.cs - Typed query → Query context: executes in
Src/Contract/InformationServiceQueryOfT.cs - Query and results → Subscriptions: starts subscriptions
Src/SwqlStudio/QueryTab.cs - Subscriptions → Server connection: creates subscription
Src/SwqlStudio/Subscriptions/SubscriptionManager.cs - Subscriptions → Notification listener: opens listener
Src/SwqlStudio/Subscriptions/SubscriptionManager.cs - Subscriptions → Notification contract: implements subscriber
Src/SwqlStudio/Subscriptions/SubscriptionManager.cs - Query and results → Query playback: starts playback
Src/SwqlStudio/Playback/PlaybackManager.cs - Studio user → Schema metadata: explores schema
README.md - Studio user → Object explorer: browses objects
README.md - Studio user → Object and verb tabs: runs object actions
README.md - PowerShell user → SWIS cmdlets: uses
README.md - SWIS cmdlets → Service proxy: connects through
Src/SwisPowerShell/ConnectSwis.cs - SWIS cmdlets → OAuth token manager: acquires OAuth token
Src/SwisPowerShell/ConnectSwisOAuth.cs - ADO command → ADO connection: executes on
Src/Contract/InformationServiceClient/InformationServiceCommand.cs - ADO connection → Service proxy: initializes proxy
Src/Contract/InformationServiceClient/InformationServiceConnection.cs - Service proxy → Service contract: calls service
Src/Contract/InfoServiceProxy.cs - Service proxy → Logging facade: logs activity
Src/Contract/InfoServiceProxy.cs - Orion platform → Service proxy: serves requests