Skip to content

Commit 15c1527

Browse files
authored
Merge pull request #59 from microsoft/release/update/201002070046
Fixed a few bugs with Clone connection not picking up Session Info correctly
2 parents 3b961c7 + f7ef092 commit 15c1527

6 files changed

+26
-3
lines changed

src/Build.Shared.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<PropertyGroup>
44
<PackageVersion_AppInsights>2.9.1</PackageVersion_AppInsights>
55
<PackageVersion_Adal>3.19.8</PackageVersion_Adal>
6-
<PackageVersion_CdsSdk>4.5.2071</PackageVersion_CdsSdk>
7-
<PackageVersion_CDSServerNuget>4.5.3122</PackageVersion_CDSServerNuget>
6+
<PackageVersion_CdsSdk>4.5.4487</PackageVersion_CdsSdk>
7+
<PackageVersion_CDSServerNuget>4.5.4487</PackageVersion_CDSServerNuget>
88
<PackageVersion_Newtonsoft>10.0.3</PackageVersion_Newtonsoft>
99
<PackageVersion_RestClientRuntime>2.3.20</PackageVersion_RestClientRuntime>
1010
<PackageVersion_XrmSdk>9.0.2.25</PackageVersion_XrmSdk>

src/GeneralTools/CDSClient/Client/CdsConnectionService.cs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,8 @@ internal CdsConnectionService(OrganizationWebProxyClient externalOrgWebProxyClie
542542

543543
if (_externalWebClientProxy != null)
544544
{
545+
AttachWebProxyHander(_externalWebClientProxy);
546+
545547
// Set timeouts.
546548
_externalWebClientProxy.InnerChannel.OperationTimeout = _MaxConnectionTimeout;
547549
_externalWebClientProxy.Endpoint.Binding.SendTimeout = _MaxConnectionTimeout;
@@ -2579,7 +2581,7 @@ private async Task<IOrganizationService> ConnectAndInitCdsOrgService(Organizatio
25792581
}
25802582
_ActualCdsOrgUri = targetServiceUrl;
25812583
svcWebClientProxy = new OrganizationWebProxyClient(targetServiceUrl, true);
2582-
svcWebClientProxy.ChannelFactory.Opening += WebProxyChannelFactory_Opening;
2584+
AttachWebProxyHander(svcWebClientProxy);
25832585
svcWebClientProxy.HeaderToken = authToken;
25842586

25852587
if (svcWebClientProxy != null)
@@ -2597,6 +2599,16 @@ private async Task<IOrganizationService> ConnectAndInitCdsOrgService(Organizatio
25972599
return svcWebClientProxy;
25982600
}
25992601

2602+
/// <summary>
2603+
/// This method us used to wire up the telemetry behaviors to the webProxy connection
2604+
/// </summary>
2605+
/// <param name="proxy">Connection proxy to attach telemetry too</param>
2606+
internal void AttachWebProxyHander (OrganizationWebProxyClient proxy )
2607+
{
2608+
proxy.ChannelFactory.Opening += WebProxyChannelFactory_Opening;
2609+
}
2610+
2611+
26002612
/// <summary>
26012613
/// Grab the Channel factory Open event and add the CrmHook Service behaviors.
26022614
/// </summary>

src/GeneralTools/CDSClient/Client/Model/CdsOnlineDiscoveryServers.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public CdsDiscoveryServers()
5656
_OSDPServers.Add(new CdsDiscoveryServer() { DiscoveryServer = new Uri("https://disco.crm6.dynamics.com/XRMServices/2011/Discovery.svc"), DisplayName = "Oceania", ShortName = "Oceania" , GeoCode="OCE" });
5757
_OSDPServers.Add(new CdsDiscoveryServer() { DiscoveryServer = new Uri("https://disco.crm14.dynamics.com/XRMServices/2011/Discovery.svc"), DisplayName = "South Africa", ShortName = "ZAF" , GeoCode= "ZAF" });
5858
_OSDPServers.Add(new CdsDiscoveryServer() { DiscoveryServer = new Uri("https://disco.crm2.dynamics.com/XRMServices/2011/Discovery.svc"), DisplayName = "South America", ShortName = "SouthAmerica" , GeoCode="LATAM" });
59+
_OSDPServers.Add(new CdsDiscoveryServer() { DiscoveryServer = new Uri("https://disco.crm17.dynamics.com/XRMServices/2011/Discovery.svc"), DisplayName = "Switzerland", ShortName = "Switzerland", GeoCode = "CHE" });
5960
_OSDPServers.Add(new CdsDiscoveryServer() { DiscoveryServer = new Uri("https://disco.crm15.dynamics.com/XRMServices/2011/Discovery.svc"), DisplayName = "United Arab Emirates", ShortName = "UAE" , GeoCode="UAE" });
6061
_OSDPServers.Add(new CdsDiscoveryServer() { DiscoveryServer = new Uri("https://disco.crm11.dynamics.com/XRMServices/2011/Discovery.svc"), DisplayName = "United Kingdom", ShortName = "GBR" , GeoCode = "GBR" });
6162
_OSDPServers.Add(new CdsDiscoveryServer() { DiscoveryServer = new Uri("https://disco.crm.appsplatform.us/XRMServices/2011/Discovery.svc"), DisplayName = "US Gov DoD", ShortName = "DoD", GeoCode= "DOD", RequiresRegionalDiscovery = true, RegionalGlobalDiscoveryServer = new Uri("https://globaldisco.crm.appsplatform.us")});

src/nuspecs/Microsoft.Dynamics.Sdk.Messages.ReleaseNotes.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ Notice:
1010
++CURRENTRELEASEID++
1111
No updates here.
1212

13+
0.2.23-Alpha:
14+
No updates here.
15+
1316
0.2.17-Alpha:
1417
No Updates here.
1518

src/nuspecs/Microsoft.Powerplatform.Cds.Client.Dynamics.ReleaseNotes.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ Notice:
77
++CURRENTRELEASEID++
88
No updates here.
99

10+
0.2.23-Alpha:
11+
No updates here.
12+
1013
0.2.17-Alpha:
1114
Added IntelliSense Doc Support
1215
Added support for bypassing custom Plug-in Execution during SDK Operation.

src/nuspecs/Microsoft.Powerplatform.Cds.Client.ReleaseNotes.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ Notice:
99
Note: that only OAuth, Certificate, ClientSecret Authentication types are supported at this time.
1010

1111
++CURRENTRELEASEID++
12+
Fixed an issue with .Clone not correctly supporting adding telemetry handlers to cloned connections
13+
14+
0.2.23-Alpha:
15+
Adding Switzerland Geo to Regions List.
1216
Added support for Alternate key use on entity references as part of Create Update Delete Operations running over the webAPI.
1317
Added concurrency support to Create Update Delete Operations running over the webAPI.
1418

0 commit comments

Comments
 (0)