cleanup: Remove last vestiges of spark proto config from DataStreamCore
This commit is contained in:
1 parent
8f3fa18bca
commit
c4a6b4591d
8 files changed
+5
-39
No files matched your search
@@ -1,9 +1,5 @@
|
||||
using bts;
|
||||
|
||||
using Bts.DataStream;
|
||||
|
||||
using mbts.config;
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
@@ -16,7 +12,7 @@ namespace BCG
|
||||
public class DataStream
|
||||
{
|
||||
internal static event EventHandler onFireStart;
|
||||
protected bool myTestMode = Configuration.get<DataStreamConfig>().IsTestMode;
|
||||
protected bool myTestMode = false;
|
||||
protected bool myFirstSubImplemented = true,
|
||||
myLastSubImplemented = true;
|
||||
protected IDictionary myDelMap = new Hashtable ();
|
||||
|
||||
@@ -17,10 +17,4 @@
|
||||
<ProjectReference Include="..\PubSub\PubSub.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Proto Include="../../lib_spark/spark/config/protos/data_stream_config.proto" CSName="DataStreamConfig">
|
||||
<OutDir>$(ProtoOutputPath)/lib_spark/spark/config/protos</OutDir>
|
||||
</Proto>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -1,9 +1,6 @@
|
||||
namespace BCG {
|
||||
using Bts.DataStream;
|
||||
using bts;
|
||||
|
||||
using mbts.config;
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Reflection;
|
||||
@@ -25,9 +22,7 @@ namespace BCG {
|
||||
currentDomain.AssemblyResolve += new ResolveEventHandler(myAssemblyResolver);
|
||||
loadAssembly(this.GetType().Assembly.FullName);
|
||||
var assemblies = new string[] { "DataStream.dll", "SharedStreams.dll" };
|
||||
var config_assemblies = Configuration.get<DataStreamConfig>().Assemblies;
|
||||
bts.Log.Gen.info($"PrimitiveManager.myLoadAllTypes config_assemblies: {config_assemblies}");
|
||||
foreach (string assemblyName in assemblies/*config_assemblies*/) {
|
||||
foreach (string assemblyName in assemblies) {
|
||||
bts.Log.Gen.info($"PrimitiveManager.myLoadAllTypes assemblyName: {assemblyName}");
|
||||
string resolvedAssemblyPath = assemblyName;
|
||||
if (!System.IO.Path.IsPathRooted(assemblyName)) {
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
using Bts.DataStream;
|
||||
|
||||
using mbts.config;
|
||||
|
||||
using System;
|
||||
|
||||
namespace BCG
|
||||
|
||||
Reference in new issue
Block a user