From d366d85fd4a2936d8146e4597f8a9ea897116b76 Mon Sep 17 00:00:00 2001 From: Matthew Howard Date: Tue, 10 Mar 2020 10:39:02 -0700 Subject: [PATCH] change compliance to policy --- ...ecordingBot.sln => PolicyRecordingBot.sln} | 6 ++--- .../FrontEnd/Bot/Bot.cs | 6 ++--- .../FrontEnd/Bot/BotMediaStream.cs | 8 +++---- .../FrontEnd/Bot/CallHandler.cs | 2 +- .../FrontEnd/Bot/ExceptionExtensions.cs | 2 +- .../FrontEnd/CRFrontEnd.csproj | 4 ++-- .../Http/Controllers/DemoController.cs | 4 ++-- .../Http/Controllers/HttpRouteConstants.cs | 2 +- .../Controllers/PlatformCallController.cs | 4 ++-- .../FrontEnd/Http/ExceptionLogger.cs | 2 +- .../Http/HttpConfigurationInitializer.cs | 2 +- .../FrontEnd/Http/LoggingMessageHandler.cs | 2 +- .../FrontEnd/IConfiguration.cs | 2 +- .../FrontEnd/LRUCache.cs | 2 +- .../FrontEnd/Properties/AssemblyInfo.cs | 0 .../FrontEnd/SampleConstants.cs | 2 +- .../FrontEnd/Service.cs | 4 ++-- .../FrontEnd/Utilities.cs | 2 +- .../Images/TestMeeting1.png | Bin .../Images/TestMeeting2.png | Bin .../PolicyRecordingBot.ccproj} | 9 ++++--- .../README.md | 22 +++++++++++------- .../ServiceConfiguration.Cloud.cscfg | 2 +- .../ServiceConfiguration.Local.cscfg | 2 +- .../ServiceDefinition.csdef | 2 +- .../WorkerRole/AzureConfiguration.cs | 6 ++--- .../WorkerRole/CRWorkerRole.csproj | 4 ++-- .../WorkerRole/ConfigurationException.cs | 2 +- .../WorkerRole/Properties/AssemblyInfo.cs | 0 .../WorkerRole/WorkerRole.cs | 4 ++-- .../WorkerRole/app.config | 0 .../WorkerRole/startup.cmd | 0 .../WorkerRoleContent/diagnostics.wadcfgx | 0 33 files changed, 58 insertions(+), 51 deletions(-) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot.sln => PolicyRecordingBot.sln} (87%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/FrontEnd/Bot/Bot.cs (98%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/FrontEnd/Bot/BotMediaStream.cs (97%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/FrontEnd/Bot/CallHandler.cs (99%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/FrontEnd/Bot/ExceptionExtensions.cs (97%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/FrontEnd/CRFrontEnd.csproj (96%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/FrontEnd/Http/Controllers/DemoController.cs (98%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/FrontEnd/Http/Controllers/HttpRouteConstants.cs (96%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/FrontEnd/Http/Controllers/PlatformCallController.cs (99%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/FrontEnd/Http/ExceptionLogger.cs (96%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/FrontEnd/Http/HttpConfigurationInitializer.cs (97%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/FrontEnd/Http/LoggingMessageHandler.cs (99%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/FrontEnd/IConfiguration.cs (98%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/FrontEnd/LRUCache.cs (99%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/FrontEnd/Properties/AssemblyInfo.cs (100%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/FrontEnd/SampleConstants.cs (93%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/FrontEnd/Service.cs (97%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/FrontEnd/Utilities.cs (95%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/Images/TestMeeting1.png (100%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/Images/TestMeeting2.png (100%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot/ComplianceRecordingBot.ccproj => PolicyRecordingBot/PolicyRecordingBot.ccproj} (91%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/README.md (76%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/ServiceConfiguration.Cloud.cscfg (85%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/ServiceConfiguration.Local.cscfg (85%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/ServiceDefinition.csdef (94%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/WorkerRole/AzureConfiguration.cs (99%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/WorkerRole/CRWorkerRole.csproj (95%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/WorkerRole/ConfigurationException.cs (97%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/WorkerRole/Properties/AssemblyInfo.cs (100%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/WorkerRole/WorkerRole.cs (97%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/WorkerRole/app.config (100%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/WorkerRole/startup.cmd (100%) rename Samples/BetaSamples/LocalMediaSamples/{ComplianceRecordingBot => PolicyRecordingBot}/WorkerRoleContent/diagnostics.wadcfgx (100%) diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot.sln b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot.sln similarity index 87% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot.sln rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot.sln index 536cdecd..c5573f99 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot.sln +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot.sln @@ -12,11 +12,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sample.Common.Beta", "..\..\Common\Sample.Common.Beta\Sample.Common.Beta.csproj", "{3268E59C-90DC-4D7B-97EA-A1DBB2716DF3}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CRFrontEnd", "ComplianceRecordingBot\FrontEnd\CRFrontEnd.csproj", "{739D09C4-47E8-42B7-9B89-94DCB890AC0F}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CRFrontEnd", "PolicyRecordingBot\FrontEnd\CRFrontEnd.csproj", "{739D09C4-47E8-42B7-9B89-94DCB890AC0F}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CRWorkerRole", "ComplianceRecordingBot\WorkerRole\CRWorkerRole.csproj", "{EAF11F22-C267-4C02-820D-12B622FEBFC1}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CRWorkerRole", "PolicyRecordingBot\WorkerRole\CRWorkerRole.csproj", "{EAF11F22-C267-4C02-820D-12B622FEBFC1}" EndProject -Project("{CC5FD16D-436D-48AD-A40C-5A424C6E3E79}") = "ComplianceRecordingBot", "ComplianceRecordingBot\ComplianceRecordingBot.ccproj", "{69051056-B313-432E-8CE3-D7164CD82DC9}" +Project("{CC5FD16D-436D-48AD-A40C-5A424C6E3E79}") = "PolicyRecordingBot", "PolicyRecordingBot\PolicyRecordingBot.ccproj", "{69051056-B313-432E-8CE3-D7164CD82DC9}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Bot/Bot.cs b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Bot/Bot.cs similarity index 98% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Bot/Bot.cs rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Bot/Bot.cs index f8e21e01..f40d33c3 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Bot/Bot.cs +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Bot/Bot.cs @@ -3,7 +3,7 @@ // Licensed under the MIT license. // -namespace Sample.ComplianceRecordingBot.FrontEnd.Bot +namespace Sample.PolicyRecordingBot.FrontEnd.Bot { using System; using System.Collections.Concurrent; @@ -21,7 +21,7 @@ namespace Sample.ComplianceRecordingBot.FrontEnd.Bot using Sample.Common; using Sample.Common.Authentication; using Sample.Common.Logging; - using Sample.ComplianceRecordingBot.FrontEnd; + using Sample.PolicyRecordingBot.FrontEnd; /// /// The core bot logic. @@ -177,7 +177,7 @@ private void CallsOnIncoming(ICallCollection sender, CollectionEventArgs { args.AddedResources.ForEach(call => { - // Get the compliance recording parameters. + // Get the policy recording parameters. // The context associated with the incoming call. IncomingContext incomingContext = diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Bot/BotMediaStream.cs b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Bot/BotMediaStream.cs similarity index 97% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Bot/BotMediaStream.cs rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Bot/BotMediaStream.cs index 4d72330a..cef3c1ee 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Bot/BotMediaStream.cs +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Bot/BotMediaStream.cs @@ -8,7 +8,7 @@ // // -------------------------------------------------------------------------------------------------------------------- -namespace Sample.ComplianceRecordingBot.FrontEnd.Bot +namespace Sample.PolicyRecordingBot.FrontEnd.Bot { using System; using System.Collections.Generic; @@ -182,7 +182,7 @@ private void OnAudioMediaReceived(object sender, AudioMediaReceivedEventArgs e) { this.GraphLogger.Info($"Received Audio: [VideoMediaReceivedEventArgs(Data=<{e.Buffer.Data.ToString()}>, Length={e.Buffer.Length}, Timestamp={e.Buffer.Timestamp})]"); - // TBD: Compliance Recording bots can record the Audio here + // TBD: Policy Recording bots can record the Audio here e.Buffer.Dispose(); } @@ -199,7 +199,7 @@ private void OnVideoMediaReceived(object sender, VideoMediaReceivedEventArgs e) { this.GraphLogger.Info($"[{e.SocketId}]: Received Video: [VideoMediaReceivedEventArgs(Data=<{e.Buffer.Data.ToString()}>, Length={e.Buffer.Length}, Timestamp={e.Buffer.Timestamp}, Width={e.Buffer.VideoFormat.Width}, Height={e.Buffer.VideoFormat.Height}, ColorFormat={e.Buffer.VideoFormat.VideoColorFormat}, FrameRate={e.Buffer.VideoFormat.FrameRate})]"); - // TBD: Compliance Recording bots can record the Video here + // TBD: Policy Recording bots can record the Video here e.Buffer.Dispose(); } @@ -216,7 +216,7 @@ private void OnVbssMediaReceived(object sender, VideoMediaReceivedEventArgs e) { this.GraphLogger.Info($"[{e.SocketId}]: Received VBSS: [VideoMediaReceivedEventArgs(Data=<{e.Buffer.Data.ToString()}>, Length={e.Buffer.Length}, Timestamp={e.Buffer.Timestamp}, Width={e.Buffer.VideoFormat.Width}, Height={e.Buffer.VideoFormat.Height}, ColorFormat={e.Buffer.VideoFormat.VideoColorFormat}, FrameRate={e.Buffer.VideoFormat.FrameRate})]"); - // TBD: Compliance Recording bots can record the VBSS here + // TBD: Policy Recording bots can record the VBSS here e.Buffer.Dispose(); } } diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Bot/CallHandler.cs b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Bot/CallHandler.cs similarity index 99% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Bot/CallHandler.cs rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Bot/CallHandler.cs index cef16f8d..dd39bc20 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Bot/CallHandler.cs +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Bot/CallHandler.cs @@ -3,7 +3,7 @@ // Licensed under the MIT license. // -namespace Sample.ComplianceRecordingBot.FrontEnd.Bot +namespace Sample.PolicyRecordingBot.FrontEnd.Bot { using System; using System.Collections.Concurrent; diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Bot/ExceptionExtensions.cs b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Bot/ExceptionExtensions.cs similarity index 97% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Bot/ExceptionExtensions.cs rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Bot/ExceptionExtensions.cs index 2971d313..20cd8f6f 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Bot/ExceptionExtensions.cs +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Bot/ExceptionExtensions.cs @@ -8,7 +8,7 @@ // // -------------------------------------------------------------------------------------------------------------------- -namespace Sample.ComplianceRecordingBot.FrontEnd.Bot +namespace Sample.PolicyRecordingBot.FrontEnd.Bot { using System; using System.Net; diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/CRFrontEnd.csproj b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/CRFrontEnd.csproj similarity index 96% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/CRFrontEnd.csproj rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/CRFrontEnd.csproj index 11f62819..0df9e7a4 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/CRFrontEnd.csproj +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/CRFrontEnd.csproj @@ -8,8 +8,8 @@ {739D09C4-47E8-42B7-9B89-94DCB890AC0F} Library Properties - Sample.ComplianceRecordingBot.FrontEnd - Sample.ComplianceRecordingBot.FrontEnd + Sample.PolicyRecordingBot.FrontEnd + Sample.PolicyRecordingBot.FrontEnd v4.6.2 512 diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Http/Controllers/DemoController.cs b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Http/Controllers/DemoController.cs similarity index 98% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Http/Controllers/DemoController.cs rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Http/Controllers/DemoController.cs index 050db6c7..85217267 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Http/Controllers/DemoController.cs +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Http/Controllers/DemoController.cs @@ -8,7 +8,7 @@ // // -------------------------------------------------------------------------------------------------------------------- -namespace Sample.ComplianceRecordingBot.FrontEnd.Http +namespace Sample.PolicyRecordingBot.FrontEnd.Http { using System; using System.Collections.Generic; @@ -20,7 +20,7 @@ namespace Sample.ComplianceRecordingBot.FrontEnd.Http using Microsoft.Graph.Communications.Common.Telemetry; using Microsoft.Graph.Communications.Core.Serialization; using Sample.Common.Logging; - using Sample.ComplianceRecordingBot.FrontEnd.Bot; + using Sample.PolicyRecordingBot.FrontEnd.Bot; /// /// DemoController serves as the gateway to explore the bot. diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Http/Controllers/HttpRouteConstants.cs b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Http/Controllers/HttpRouteConstants.cs similarity index 96% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Http/Controllers/HttpRouteConstants.cs rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Http/Controllers/HttpRouteConstants.cs index a911111e..4e0c9ddf 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Http/Controllers/HttpRouteConstants.cs +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Http/Controllers/HttpRouteConstants.cs @@ -8,7 +8,7 @@ // // -------------------------------------------------------------------------------------------------------------------- -namespace Sample.ComplianceRecordingBot.FrontEnd.Http +namespace Sample.PolicyRecordingBot.FrontEnd.Http { /// /// HTTP route constants for routing requests to CallController methods. diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Http/Controllers/PlatformCallController.cs b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Http/Controllers/PlatformCallController.cs similarity index 99% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Http/Controllers/PlatformCallController.cs rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Http/Controllers/PlatformCallController.cs index b56d5236..1a0db081 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Http/Controllers/PlatformCallController.cs +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Http/Controllers/PlatformCallController.cs @@ -3,7 +3,7 @@ // Licensed under the MIT license. // -namespace Sample.ComplianceRecordingBot.FrontEnd.Http +namespace Sample.PolicyRecordingBot.FrontEnd.Http { using System; using System.Diagnostics; @@ -19,7 +19,7 @@ namespace Sample.ComplianceRecordingBot.FrontEnd.Http using Microsoft.Graph.Communications.Common.Telemetry; using Microsoft.Graph.Communications.Common.Transport; using Microsoft.Graph.Communications.Core.Notifications; - using Sample.ComplianceRecordingBot.FrontEnd.Bot; + using Sample.PolicyRecordingBot.FrontEnd.Bot; using ErrorConstants = Microsoft.Graph.Communications.Core.Exceptions.ErrorConstants; /// diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Http/ExceptionLogger.cs b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Http/ExceptionLogger.cs similarity index 96% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Http/ExceptionLogger.cs rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Http/ExceptionLogger.cs index 2ecb489f..5537e255 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Http/ExceptionLogger.cs +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Http/ExceptionLogger.cs @@ -8,7 +8,7 @@ // // -------------------------------------------------------------------------------------------------------------------- -namespace Sample.ComplianceRecordingBot.FrontEnd.Http +namespace Sample.PolicyRecordingBot.FrontEnd.Http { using System.Threading; using System.Threading.Tasks; diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Http/HttpConfigurationInitializer.cs b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Http/HttpConfigurationInitializer.cs similarity index 97% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Http/HttpConfigurationInitializer.cs rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Http/HttpConfigurationInitializer.cs index 8f60c433..c9c184c7 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Http/HttpConfigurationInitializer.cs +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Http/HttpConfigurationInitializer.cs @@ -8,7 +8,7 @@ // // -------------------------------------------------------------------------------------------------------------------- -namespace Sample.ComplianceRecordingBot.FrontEnd.Http +namespace Sample.PolicyRecordingBot.FrontEnd.Http { using System.Web.Http; using System.Web.Http.ExceptionHandling; diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Http/LoggingMessageHandler.cs b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Http/LoggingMessageHandler.cs similarity index 99% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Http/LoggingMessageHandler.cs rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Http/LoggingMessageHandler.cs index 65f02fa3..2ab7aaf4 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Http/LoggingMessageHandler.cs +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Http/LoggingMessageHandler.cs @@ -9,7 +9,7 @@ // // -------------------------------------------------------------------------------------------------------------------- -namespace Sample.ComplianceRecordingBot.FrontEnd.Http +namespace Sample.PolicyRecordingBot.FrontEnd.Http { using System; using System.Collections.Generic; diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/IConfiguration.cs b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/IConfiguration.cs similarity index 98% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/IConfiguration.cs rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/IConfiguration.cs index 3131981a..0264a5a2 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/IConfiguration.cs +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/IConfiguration.cs @@ -13,7 +13,7 @@ // // -------------------------------------------------------------------------------------------------------------------- -namespace Sample.ComplianceRecordingBot.FrontEnd +namespace Sample.PolicyRecordingBot.FrontEnd { using System; using System.Collections.Generic; diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/LRUCache.cs b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/LRUCache.cs similarity index 99% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/LRUCache.cs rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/LRUCache.cs index 30e09bb0..e2780ce4 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/LRUCache.cs +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/LRUCache.cs @@ -8,7 +8,7 @@ // // -------------------------------------------------------------------------------------------------------------------- -namespace Sample.ComplianceRecordingBot.FrontEnd +namespace Sample.PolicyRecordingBot.FrontEnd { using System; diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Properties/AssemblyInfo.cs b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Properties/AssemblyInfo.cs similarity index 100% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Properties/AssemblyInfo.cs rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Properties/AssemblyInfo.cs diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/SampleConstants.cs b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/SampleConstants.cs similarity index 93% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/SampleConstants.cs rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/SampleConstants.cs index fcc0d771..9a8cbdfa 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/SampleConstants.cs +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/SampleConstants.cs @@ -8,7 +8,7 @@ // // -------------------------------------------------------------------------------------------------------------------- -namespace Sample.ComplianceRecordingBot.FrontEnd +namespace Sample.PolicyRecordingBot.FrontEnd { /// /// Contants used by the bot. diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Service.cs b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Service.cs similarity index 97% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Service.cs rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Service.cs index 3f346f59..3676c32a 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Service.cs +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Service.cs @@ -10,12 +10,12 @@ // // -------------------------------------------------------------------------------------------------------------------- -namespace Sample.ComplianceRecordingBot.FrontEnd +namespace Sample.PolicyRecordingBot.FrontEnd { using System; using Microsoft.Graph.Communications.Common.Telemetry; using Microsoft.Owin.Hosting; - using Sample.ComplianceRecordingBot.FrontEnd.Http; + using Sample.PolicyRecordingBot.FrontEnd.Http; /// /// Service is the main entry point independent of Azure. Anyone instantiating Service needs to first diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Utilities.cs b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Utilities.cs similarity index 95% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Utilities.cs rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Utilities.cs index aac8514c..2e5bfa9b 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Utilities.cs +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Utilities.cs @@ -8,7 +8,7 @@ // // -------------------------------------------------------------------------------------------------------------------- -namespace Sample.ComplianceRecordingBot.FrontEnd +namespace Sample.PolicyRecordingBot.FrontEnd { using Microsoft.Skype.Bots.Media; diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/Images/TestMeeting1.png b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/Images/TestMeeting1.png similarity index 100% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/Images/TestMeeting1.png rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/Images/TestMeeting1.png diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/Images/TestMeeting2.png b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/Images/TestMeeting2.png similarity index 100% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/Images/TestMeeting2.png rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/Images/TestMeeting2.png diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/ComplianceRecordingBot.ccproj b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/PolicyRecordingBot.ccproj similarity index 91% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/ComplianceRecordingBot.ccproj rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/PolicyRecordingBot.ccproj index f6bbb91a..3a1ab753 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/ComplianceRecordingBot.ccproj +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/PolicyRecordingBot.ccproj @@ -8,10 +8,10 @@ {69051056-b313-432e-8ce3-d7164cd82dc9} Library Properties - ComplianceRecordingBot - ComplianceRecordingBot + PolicyRecordingBot + PolicyRecordingBot True - ComplianceRecordingBot + PolicyRecordingBot true @@ -48,6 +48,9 @@ CRWorkerRole + + + 10.0 diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/README.md b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/README.md similarity index 76% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/README.md rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/README.md index a013d953..c2566879 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/README.md +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/README.md @@ -1,8 +1,12 @@ # Introduction +## Note + +The system will load the bot and join it to appropriate calls and meetings in order for the bot to enforce compliance with the administrative set policy. + ## About -The Compliance Recording bot sample guides you through building, deploying and testing a bot. This sample demonstrates how a bot can receive media streams for recording. Please note that the sample does not actually record. This logic is left up to the developer. +The Policy Recording bot sample guides you through building, deploying and testing a bot. This sample demonstrates how a bot can receive media streams for recording. Please note that the sample does not actually record. This logic is left up to the developer. ## Getting Started @@ -11,8 +15,8 @@ This section walks you through the process of deploying and testing the sample b ### Bot Registration 1. Follow the steps in [Register Calling Bot](https://microsoftgraph.github.io/microsoft-graph-comms-samples/docs/articles/calls/register-calling-bot.html). Save the bot name, bot app id and bot secret for configuration. - * For the calling webhook, by default the notification will go to https://{your domain}/api/calling. This is configured with the `CallSignalingRoutePrefix` in [HttpRouteConstants.cs](https://github.com/microsoftgraph/microsoft-graph-comms-samples/blob/master/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/FrontEnd/Http/Controllers/HttpRouteConstants.cs). - * Ignore the "Register bot in Microsoft Teams" section as the Compliance Recording bot won't be called directly. These bots are related to the policies discussed below, and are "attached" to users, and will be automatically invited to the call. + * For the calling webhook, by default the notification will go to https://{your domain}/api/calling. This is configured with the `CallSignalingRoutePrefix` in [HttpRouteConstants.cs](https://github.com/microsoftgraph/microsoft-graph-comms-samples/blob/master/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/FrontEnd/Http/Controllers/HttpRouteConstants.cs). + * Ignore the "Register bot in Microsoft Teams" section as the Policy Recording bot won't be called directly. These bots are related to the policies discussed below, and are "attached" to users, and will be automatically invited to the call. 1. Add the following Application Permissions to the bot: @@ -31,7 +35,7 @@ Open powershell (in admin mode) and run the following commands. When prompted fo * `> New-CsOnlineApplicationInstance -UserPrincipalName -DisplayName -ApplicationId ` * `> Sync-CsOnlineApplicationInstance -ObjectId ` -### Create a Compliance Recording Policy +### Create a Recording Policy Requires the application instance ID created above. Continue your powershell session and run the following commands. * `> New-CsTeamsComplianceRecordingPolicy -Enabled $true -Description "Test policy created by " ` * ```> Set-CsTeamsComplianceRecordingPolicy -Identity -ComplianceRecordingApplications ` @(New-CsTeamsComplianceRecordingApplication -Parent -Id )``` @@ -39,12 +43,12 @@ Requires the application instance ID created above. Continue your powershell ses After 30-60 seconds, the policy should show up. To verify your policy was created correctly: * `> Get-CsTeamsComplianceRecordingPolicy ` -### Assign the Compliance Recording Policy +### Assign the Recording Policy Requries the policy identity created above. Contine your powershell session and run the following commands. - * `> Grant-CsTeamsComplianceRecordingPolicy -Identity -PolicyName ` + * `> Grant-CsTeamsComplianceRecordingPolicy -Identity -PolicyName ` To verify your policy was assigned correctly: - * `> Get-CsOnlineUser | ft sipaddress, tenantid, TeamsComplianceRecordingPolicy` + * `> Get-CsOnlineUser | ft sipaddress, tenantid, TeamsComplianceRecordingPolicy` ### Prerequisites @@ -64,10 +68,10 @@ To verify your policy was assigned correctly: 1. Set up cloud service configuration 1. Open powershell, go to the folder that contains file `configure_cloud.ps1`. The file is in the `Samples` directory. 2. Run the powershell script with parameters: - * `> .\configure_cloud.ps1 -p .\BetaSamples\LocalMediaSamples\ComplianceRecordingBot\ -dns {your DNS name} -cn {your CN name, should be the same as your DNS name} -thumb {your certificate thumbprint} -bid {your bot name} -aid {your bot app id} -as {your bot secret}`, for example `.\configure_cloud.ps1 -p .\BetaSamples\LocalMediaSamples\ComplianceRecordingBot\ -dns bot.contoso.com -cn bot.contoso.com -thumb ABC0000000000000000000000000000000000CBA -bid bot -aid 3853f935-2c6f-43d7-859d-6e8f83b519ae -as 123456!@#$%^` + * `> .\configure_cloud.ps1 -p .\BetaSamples\LocalMediaSamples\PolicyRecordingBot\ -dns {your DNS name} -cn {your CN name, should be the same as your DNS name} -thumb {your certificate thumbprint} -bid {your bot name} -aid {your bot app id} -as {your bot secret}`, for example `.\configure_cloud.ps1 -p .\BetaSamples\LocalMediaSamples\PolicyRecordingBot\ -dns bot.contoso.com -cn bot.contoso.com -thumb ABC0000000000000000000000000000000000CBA -bid bot -aid 3853f935-2c6f-43d7-859d-6e8f83b519ae -as 123456!@#$%^` 1. Publish the bot from VS: - 1. Right click ComplianceRecordingBot, then click `Publish...`. Publish it to the cloud service you created earlier. + 1. Right click PolicyRecordingBot, then click `Publish...`. Publish it to the cloud service you created earlier. ### Test diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/ServiceConfiguration.Cloud.cscfg b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/ServiceConfiguration.Cloud.cscfg similarity index 85% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/ServiceConfiguration.Cloud.cscfg rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/ServiceConfiguration.Cloud.cscfg index d254f063..ce90e65a 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/ServiceConfiguration.Cloud.cscfg +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/ServiceConfiguration.Cloud.cscfg @@ -1,5 +1,5 @@ - + diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/ServiceConfiguration.Local.cscfg b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/ServiceConfiguration.Local.cscfg similarity index 85% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/ServiceConfiguration.Local.cscfg rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/ServiceConfiguration.Local.cscfg index c740a0b4..6827010f 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/ServiceConfiguration.Local.cscfg +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/ServiceConfiguration.Local.cscfg @@ -1,5 +1,5 @@ - + diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/ServiceDefinition.csdef b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/ServiceDefinition.csdef similarity index 94% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/ServiceDefinition.csdef rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/ServiceDefinition.csdef index e7341953..ede4b53d 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/ServiceDefinition.csdef +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/ServiceDefinition.csdef @@ -1,5 +1,5 @@  - + diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/WorkerRole/AzureConfiguration.cs b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/WorkerRole/AzureConfiguration.cs similarity index 99% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/WorkerRole/AzureConfiguration.cs rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/WorkerRole/AzureConfiguration.cs index 59a97391..94718086 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/WorkerRole/AzureConfiguration.cs +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/WorkerRole/AzureConfiguration.cs @@ -8,7 +8,7 @@ // // -------------------------------------------------------------------------------------------------------------------- -namespace Sample.ComplianceRecordingBot.WorkerRole +namespace Sample.PolicyRecordingBot.WorkerRole { using System; using System.Collections.Generic; @@ -21,8 +21,8 @@ namespace Sample.ComplianceRecordingBot.WorkerRole using Microsoft.Graph.Communications.Common.Telemetry; using Microsoft.Skype.Bots.Media; using Microsoft.WindowsAzure.ServiceRuntime; - using Sample.ComplianceRecordingBot.FrontEnd; - using Sample.ComplianceRecordingBot.FrontEnd.Http; + using Sample.PolicyRecordingBot.FrontEnd; + using Sample.PolicyRecordingBot.FrontEnd.Http; /// /// Reads the Configuration from service Configuration. diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/WorkerRole/CRWorkerRole.csproj b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/WorkerRole/CRWorkerRole.csproj similarity index 95% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/WorkerRole/CRWorkerRole.csproj rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/WorkerRole/CRWorkerRole.csproj index 24d69831..8e3ad32e 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/WorkerRole/CRWorkerRole.csproj +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/WorkerRole/CRWorkerRole.csproj @@ -9,8 +9,8 @@ {EAF11F22-C267-4C02-820D-12B622FEBFC1} Library Properties - Sample.ComplianceRecordingBot.WorkerRole - Sample.ComplianceRecordingBot.WorkerRole + Sample.PolicyRecordingBot.WorkerRole + Sample.PolicyRecordingBot.WorkerRole v4.6.2 512 diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/WorkerRole/ConfigurationException.cs b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/WorkerRole/ConfigurationException.cs similarity index 97% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/WorkerRole/ConfigurationException.cs rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/WorkerRole/ConfigurationException.cs index 77bf83c5..f0536d34 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/WorkerRole/ConfigurationException.cs +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/WorkerRole/ConfigurationException.cs @@ -8,7 +8,7 @@ // // -------------------------------------------------------------------------------------------------------------------- -namespace Sample.ComplianceRecordingBot.WorkerRole +namespace Sample.PolicyRecordingBot.WorkerRole { using System; diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/WorkerRole/Properties/AssemblyInfo.cs b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/WorkerRole/Properties/AssemblyInfo.cs similarity index 100% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/WorkerRole/Properties/AssemblyInfo.cs rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/WorkerRole/Properties/AssemblyInfo.cs diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/WorkerRole/WorkerRole.cs b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/WorkerRole/WorkerRole.cs similarity index 97% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/WorkerRole/WorkerRole.cs rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/WorkerRole/WorkerRole.cs index a3459652..a5be2701 100644 --- a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/WorkerRole/WorkerRole.cs +++ b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/WorkerRole/WorkerRole.cs @@ -8,7 +8,7 @@ // // -------------------------------------------------------------------------------------------------------------------- -namespace Sample.ComplianceRecordingBot.WorkerRole +namespace Sample.PolicyRecordingBot.WorkerRole { using System; using System.Net; @@ -16,7 +16,7 @@ namespace Sample.ComplianceRecordingBot.WorkerRole using System.Threading.Tasks; using Microsoft.Graph.Communications.Common.Telemetry; using Microsoft.WindowsAzure.ServiceRuntime; - using Sample.ComplianceRecordingBot.FrontEnd; + using Sample.PolicyRecordingBot.FrontEnd; /// /// The worker role. diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/WorkerRole/app.config b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/WorkerRole/app.config similarity index 100% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/WorkerRole/app.config rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/WorkerRole/app.config diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/WorkerRole/startup.cmd b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/WorkerRole/startup.cmd similarity index 100% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/WorkerRole/startup.cmd rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/WorkerRole/startup.cmd diff --git a/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/WorkerRoleContent/diagnostics.wadcfgx b/Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/WorkerRoleContent/diagnostics.wadcfgx similarity index 100% rename from Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot/WorkerRoleContent/diagnostics.wadcfgx rename to Samples/BetaSamples/LocalMediaSamples/PolicyRecordingBot/WorkerRoleContent/diagnostics.wadcfgx