|
6 | 6 |
|
7 | 7 | ## Context
|
8 | 8 |
|
9 |
| -Decouple the data sources from the SDK into their own nuget packages and create a mechanism to allow auto discovery and dynamic registration. This will allow for new data sources to be plugged in with minimum configuration and dependency on the existing code base. |
| 9 | +Decouple the data sources from the SDK into their own NuGet packages and create a mechanism to allow auto discovery and dynamic registration. This will allow for new data sources to be plugged in with minimum configuration and dependency on the existing code base. |
10 | 10 |
|
11 | 11 | ## Decision
|
12 | 12 |
|
@@ -43,13 +43,13 @@ To modify this interaction and to make it more dynamic, these are things that re
|
43 | 43 |
|
44 | 44 | - Packaging
|
45 | 45 |
|
46 |
| - Current Data Source project is not allowed to be packaged (nuget package), which would require how this is going to be done in terms of, what the package contains, versioning and where to publish it. |
| 46 | + Current Data Source project is not allowed to be packaged (NuGet package, see `<IsPackable>` property on one of the Data Source projects), which would require how this is going to be done in terms of, what the package contains, versioning and where to publish it. |
47 | 47 |
|
48 | 48 | Effort Level: **Medium**
|
49 | 49 |
|
50 | 50 | - Load, Register and Instantiate
|
51 | 51 |
|
52 |
| - Using technics like **Reflection** and **Assembly Discovery**, it would be possible to load Data Sources assemblies and instantiate classes that implements the interfaces that are available. |
| 52 | + Using techniques like **Reflection** and **Assembly Discovery**, it would be possible to load Data Sources assemblies and instantiate classes that implements the interfaces that are available. |
53 | 53 | As an example, this could be done via a Data Source class loader
|
54 | 54 |
|
55 | 55 | ```c#
|
@@ -83,7 +83,7 @@ To modify this interaction and to make it more dynamic, these are things that re
|
83 | 83 |
|
84 | 84 | - GSF Enhancements
|
85 | 85 |
|
86 |
| - Given the fact the current registration is done using D.I., GSF library would require to be changed and enhanced to accommodate discovery, how to load the assemblies that are available and that implement Data Sources interfaces. Also understand the configuration that comes from the manifest, in such a way that all the required properties are available. |
| 86 | + Given the fact the current registration is done using Dependency Injection, GSF library would require to be changed and enhanced to accommodate discovery, how to load the assemblies that are available and that implement Data Sources interfaces. Also understand the configuration that comes from the manifest, in such a way that all the required properties are available. |
87 | 87 |
|
88 | 88 | Effort Level: **Medium**
|
89 | 89 |
|
|
0 commit comments