cazfletch / fabric-vscode-extension

Apache License 2.0
0 stars 3 forks source link

Add Fabric runtime configuration and registry #10

Closed sstone1 closed 6 years ago

sstone1 commented 6 years ago

Start of delivery of work to integrate a managed Fabric runtime into the Visual Studio Code extension.

Existing extension code manages connection information by using the Visual Studio Code global configuration section to store an array of connection information.

This same approach can be used to manage runtime information.

This pull request introduces a BaseFabricRegistry class, which is extended by FabricConnectionRegistry and FabricRuntimeRegistry. These registry classes manage the interactions with the Visual Studio Code global configuration, and provide type information around registry entries.

This pull request does not update existing extension code to use the new FabricConnectionRegistry, will deliver that in a subsequent pull request.

Signed-off-by: Simon Stone sstone1@uk.ibm.com