diff --git a/examples/fdc3-trade-simulator/js-order-book/src/app/components/market-watch/market-watch.component.ts b/examples/fdc3-trade-simulator/js-order-book/src/app/components/market-watch/market-watch.component.ts index 9e57512e6..58a592973 100644 --- a/examples/fdc3-trade-simulator/js-order-book/src/app/components/market-watch/market-watch.component.ts +++ b/examples/fdc3-trade-simulator/js-order-book/src/app/components/market-watch/market-watch.component.ts @@ -241,8 +241,6 @@ export class MarketWatchComponent implements OnInit, OnDestroy{ if (data.action === 'BUY') { const sumQuantity = symbols.reduce((sum, current) => { - console.log(current); - console.log(sum); if (current.Children && current.Children.length > 0) { let s: number = current.Children.reduce((t, currentSymbol) => { if(currentSymbol.AskSize) { @@ -256,7 +254,6 @@ export class MarketWatchComponent implements OnInit, OnDestroy{ return sum + 0; }, 0); - console.log("Sum of the available symbols on the market:", sumQuantity); if (sumQuantity < data.quantity) { await this.channel!.broadcast( diff --git a/src/fdc3/dotnet/DesktopAgent/src/MorganStanley.ComposeUI.DesktopAgent/Fdc3DesktopAgent.cs b/src/fdc3/dotnet/DesktopAgent/src/MorganStanley.ComposeUI.DesktopAgent/Fdc3DesktopAgent.cs index dd1245b87..98ad2832e 100644 --- a/src/fdc3/dotnet/DesktopAgent/src/MorganStanley.ComposeUI.DesktopAgent/Fdc3DesktopAgent.cs +++ b/src/fdc3/dotnet/DesktopAgent/src/MorganStanley.ComposeUI.DesktopAgent/Fdc3DesktopAgent.cs @@ -1122,62 +1122,6 @@ void FilterAppIntents(Fdc3App app) return result; } - private Dictionary GetAppIntentsFromRunningModules( - Func, IEnumerable>?> selector, - IAppIdentifier? targetAppIdentifier, - Dictionary appIntents) - { - foreach (var app in _runningModules) - { - if (targetAppIdentifier?.InstanceId != null - && Guid.TryParse(targetAppIdentifier.InstanceId, out var instanceId) - && instanceId != app.Key) - { - continue; - } - - var intentMetadataCollection = selector(app.Value, appIntents); - - if (intentMetadataCollection == null) - { - continue; - } - - appIntents = GetAppIntentsFromIntentMetadataCollection( - app.Value, - app.Key.ToString(), - intentMetadataCollection, - appIntents); - } - - return appIntents; - } - - private async Task> GetAppIntentsFromAppDirectory( - Func, IEnumerable>?> selector, - IAppIdentifier? targetAppIdentifier, - Dictionary appIntents) - { - foreach (var app in await _appDirectory.GetApps()) - { - if (targetAppIdentifier != null && targetAppIdentifier.AppId != app.AppId) - { - continue; - } - - var intentMetadataCollection = selector(app, appIntents); - - if (intentMetadataCollection == null) - { - continue; - } - - appIntents = GetAppIntentsFromIntentMetadataCollection(app, null, intentMetadataCollection, appIntents); - } - - return appIntents; - } - private Dictionary GetAppIntentsFromIntentMetadataCollection( Fdc3App app, string? instanceId, @@ -1221,38 +1165,6 @@ private Dictionary GetAppIntentsFromIntentMetadataCollection( return appIntents; } - private async Task GetAppIntentsFromAppDirectory( - Action selector, - IAppIdentifier? targetAppIdentifier) - { - foreach (var app in await _appDirectory.GetApps()) - { - if (targetAppIdentifier != null && targetAppIdentifier.AppId != app.AppId) - { - continue; - } - - selector(app, null); - } - } - - private void GetAppIntentsFromRunningModules( - Action selector, - IAppIdentifier? targetAppIdentifier) - { - foreach (var app in _runningModules) - { - if (targetAppIdentifier?.InstanceId != null - && Guid.TryParse(targetAppIdentifier.InstanceId, out var instanceId) - && instanceId != app.Key) - { - continue; - } - - selector(app.Value, app.Key.ToString()); - } - } - private ValueTask GetAppInfo(IAppIdentifier appIdentifier) { if (!Guid.TryParse(appIdentifier.InstanceId!, out var instanceId)) diff --git a/src/fdc3/js/composeui-fdc3/src/infrastructure/ComposeUIChannel.ts b/src/fdc3/js/composeui-fdc3/src/infrastructure/ComposeUIChannel.ts index e8bd0e6ad..fe2dbfbcf 100644 --- a/src/fdc3/js/composeui-fdc3/src/infrastructure/ComposeUIChannel.ts +++ b/src/fdc3/js/composeui-fdc3/src/infrastructure/ComposeUIChannel.ts @@ -40,7 +40,6 @@ export class ComposeUIChannel implements Channel { this.lastContexts.set(context.type, context); this.lastContext = context; const topic = ComposeUITopic.broadcast(this.id, this.type); - console.log("Broadcast from channel: ", this.id, this.type, topic, context); await this.messageRouterClient.publish(topic, JSON.stringify(context)); } @@ -80,7 +79,6 @@ export class ComposeUIChannel implements Channel { const listener = new ComposeUIContextListener(this.messageRouterClient, handler, this.id, this.type, contextType); await listener.subscribe(); - console.log("ContextListener has been added through channel:", contextType); return listener; } } \ No newline at end of file diff --git a/src/fdc3/js/composeui-fdc3/src/infrastructure/ComposeUIContextListener.ts b/src/fdc3/js/composeui-fdc3/src/infrastructure/ComposeUIContextListener.ts index 2a1dbccd1..8e7a38c67 100644 --- a/src/fdc3/js/composeui-fdc3/src/infrastructure/ComposeUIContextListener.ts +++ b/src/fdc3/js/composeui-fdc3/src/infrastructure/ComposeUIContextListener.ts @@ -44,7 +44,6 @@ export class ComposeUIContextListener implements Listener { //TODO: integration test const context = JSON.parse(topicMessage.payload!); if (!this.contextType || this.contextType == context!.type) { - console.log("ContextListener received context to handle: ", context); this.handler!(context!); } }); diff --git a/src/fdc3/js/composeui-fdc3/src/infrastructure/ComposeUIIntentListener.ts b/src/fdc3/js/composeui-fdc3/src/infrastructure/ComposeUIIntentListener.ts index b2593dcf4..70f8df194 100644 --- a/src/fdc3/js/composeui-fdc3/src/infrastructure/ComposeUIIntentListener.ts +++ b/src/fdc3/js/composeui-fdc3/src/infrastructure/ComposeUIIntentListener.ts @@ -67,7 +67,6 @@ export class ComposeUIIntentListener implements Listener { request = new Fdc3StoreIntentResultRequest(message.messageId, this.intent, this.instanceId, message.contextMetadata.source.instanceId!, undefined, undefined, undefined, false, ResultError.IntentHandlerRejected); } - console.log("STORE INTENT RESULT REQUEST:", request); const result = await this.messageRouterClient.invoke(ComposeUITopic.sendIntentResult(), JSON.stringify(request)); if (!result) { return;