Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace all out of date links, and remove locale segment #8604

Merged
merged 1 commit into from
Sep 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ AS $function$
-- If the version number explicitly returned is still the same, Orleans interprets it so the update did not succeed
-- and throws an InconsistentStateException.
--
-- See further information at https://docs.microsoft.com/dotnet/orleans/grains/grain-persistence.
-- See further information at https://learn.microsoft.com/dotnet/orleans/grains/grain-persistence.
IF _GrainStateVersion IS NOT NULL
THEN
UPDATE OrleansStorage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ BEGIN
-- If the version number explicitly returned is still the same, Orleans interprets it so the update did not succeed
-- and throws an InconsistentStateException.
--
-- See further information at https://docs.microsoft.com/dotnet/orleans/grains/grain-persistence.
-- See further information at https://learn.microsoft.com/dotnet/orleans/grains/grain-persistence.
IF _GrainStateVersion IS NOT NULL
THEN
UPDATE OrleansStorage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ CREATE OR REPLACE FUNCTION WriteToStorage(PARAM_GRAINIDHASH IN NUMBER, PARAM_GRA
-- If the version number explicitly returned is still the same, Orleans interprets it so the update did not succeed
-- and throws an InconsistentStateException.
--
-- See further information at https://docs.microsoft.com/dotnet/orleans/grains/grain-persistence.
-- See further information at https://learn.microsoft.com/dotnet/orleans/grains/grain-persistence.


-- If the @GrainStateVersion is not zero, this branch assumes it exists in this database.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ AS $function$
-- If the version number explicitly returned is still the same, Orleans interprets it so the update did not succeed
-- and throws an InconsistentStateException.
--
-- See further information at https://docs.microsoft.com/dotnet/orleans/grains/grain-persistence.
-- See further information at https://learn.microsoft.com/dotnet/orleans/grains/grain-persistence.
IF _GrainStateVersion IS NOT NULL
THEN
UPDATE OrleansStorage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ VALUES
-- If the version number explicitly returned is still the same, Orleans interprets it so the update did not succeed
-- and throws an InconsistentStateException.
--
-- See further information at https://docs.microsoft.com/dotnet/orleans/grains/grain-persistence.
-- See further information at https://learn.microsoft.com/dotnet/orleans/grains/grain-persistence.
BEGIN TRANSACTION;
SET XACT_ABORT, NOCOUNT ON;

Expand Down
2 changes: 1 addition & 1 deletion src/AdoNet/Orleans.Reminders.AdoNet/MySQL-Reminders.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- Orleans Reminders table - https://docs.microsoft.com/dotnet/orleans/grains/timers-and-reminders
-- Orleans Reminders table - https://learn.microsoft.com/dotnet/orleans/grains/timers-and-reminders
CREATE TABLE OrleansRemindersTable
(
ServiceId NVARCHAR(150) NOT NULL,
Expand Down
2 changes: 1 addition & 1 deletion src/AdoNet/Orleans.Reminders.AdoNet/Oracle-Reminders.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- Orleans Reminders table - https://docs.microsoft.com/dotnet/orleans/grains/timers-and-reminders
-- Orleans Reminders table - https://learn.microsoft.com/dotnet/orleans/grains/timers-and-reminders
CREATE TABLE "ORLEANSREMINDERSTABLE"
(
"SERVICEID" NVARCHAR2(150) NOT NULL ENABLE,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- Orleans Reminders table - https://docs.microsoft.com/dotnet/orleans/grains/timers-and-reminders
-- Orleans Reminders table - https://learn.microsoft.com/dotnet/orleans/grains/timers-and-reminders
CREATE TABLE OrleansRemindersTable
(
ServiceId varchar(150) NOT NULL,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- Orleans Reminders table - https://docs.microsoft.com/dotnet/orleans/grains/timers-and-reminders
-- Orleans Reminders table - https://learn.microsoft.com/dotnet/orleans/grains/timers-and-reminders
CREATE TABLE OrleansRemindersTable
(
ServiceId NVARCHAR(150) NOT NULL,
Expand Down
2 changes: 1 addition & 1 deletion src/AdoNet/Shared/MySQL-Main.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Implementation notes:
Orleans handles exception as a failure and will retry.

7) The implementation follows the Extended Orleans membership protocol. For more information, see at:
https://docs.microsoft.com/dotnet/orleans/implementation/cluster-management
https://learn.microsoft.com/dotnet/orleans/implementation/cluster-management
https://github.com/dotnet/orleans/blob/main/src/Orleans.Core/SystemTargetInterfaces/IMembershipTable.cs
*/
-- This table defines Orleans operational queries. Orleans uses these to manage its operations,
Expand Down
2 changes: 1 addition & 1 deletion src/AdoNet/Shared/Oracle-Main.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Implementation notes:
Orleans handles exception as a failure and will retry.

7) The implementation follows the Extended Orleans membership protocol. For more information, see at:
https://docs.microsoft.com/dotnet/orleans/implementation/cluster-management
https://learn.microsoft.com/dotnet/orleans/implementation/cluster-management
https://github.com/dotnet/orleans/blob/main/src/Orleans.Core/SystemTargetInterfaces/IMembershipTable.cs
*/

Expand Down
2 changes: 1 addition & 1 deletion src/AdoNet/Shared/PostgreSQL-Main.sql
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Implementation notes:
Orleans handles exception as a failure and will retry.

7) The implementation follows the Extended Orleans membership protocol. For more information, see at:
https://docs.microsoft.com/dotnet/orleans/implementation/cluster-management
https://learn.microsoft.com/dotnet/orleans/implementation/cluster-management
https://github.com/dotnet/orleans/blob/main/src/Orleans.Core/SystemTargetInterfaces/IMembershipTable.cs
*/

Expand Down
2 changes: 1 addition & 1 deletion src/AdoNet/Shared/SQLServer-Main.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Implementation notes:
Orleans handles exception as a failure and will retry.

7) The implementation follows the Extended Orleans membership protocol. For more information, see at:
https://docs.microsoft.com/dotnet/orleans/implementation/cluster-management
https://learn.microsoft.com/dotnet/orleans/implementation/cluster-management
https://github.com/dotnet/orleans/blob/main/src/Orleans.Core/SystemTargetInterfaces/IMembershipTable.cs
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ private async Task<AcquireLeaseResult> Acquire(string category, LeaseRequest lea
catch (RequestFailedException e)
{
ResponseCode statusCode;
//This mapping is based on references : https://docs.microsoft.com/en-us/rest/api/storageservices/blob-service-error-codes
// https://docs.microsoft.com/en-us/rest/api/storageservices/Lease-Blob?redirectedfrom=MSDN
//This mapping is based on references : https://learn.microsoft.com/rest/api/storageservices/blob-service-error-codes
// https://learn.microsoft.com/rest/api/storageservices/Lease-Blob?redirectedfrom=MSDN
switch (e.Status)
{
case 404:
Expand Down Expand Up @@ -122,8 +122,8 @@ private async Task<AcquireLeaseResult> Renew(string category, AcquiredLease acqu
catch (RequestFailedException e)
{
ResponseCode statusCode;
//This mapping is based on references : https://docs.microsoft.com/en-us/rest/api/storageservices/blob-service-error-codes
// https://docs.microsoft.com/en-us/rest/api/storageservices/Lease-Blob?redirectedfrom=MSDN
//This mapping is based on references : https://learn.microsoft.com/rest/api/storageservices/blob-service-error-codes
// https://learn.microsoft.com/rest/api/storageservices/Lease-Blob?redirectedfrom=MSDN
switch (e.Status)
{
case 404:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ private async Task<QueueClient> GetCloudQueueClient(AzureQueueOptions options, I
private string SanitizeQueueName(string queueName)
{
var tmp = queueName;
//Azure queue naming rules : https://docs.microsoft.com/en-us/rest/api/storageservices/Naming-Queues-and-Metadata?redirectedfrom=MSDN
//Azure queue naming rules : https://learn.microsoft.com/rest/api/storageservices/Naming-Queues-and-Metadata?redirectedfrom=MSDN
tmp = tmp.ToLowerInvariant();
tmp = tmp
.Replace('/', '-') // Forward slash
Expand Down
10 changes: 5 additions & 5 deletions src/Azure/Shared/Cosmos/CosmosOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public abstract class CosmosOptions
/// <summary>
/// Database configured throughput. If set to <see langword="null"/>, which is the default value, it will not be configured.
/// </summary>
/// <seealso href="https://docs.microsoft.com/en-us/azure/cosmos-db/set-throughput"/>
/// <seealso href="https://learn.microsoft.com/azure/cosmos-db/set-throughput"/>
public int? DatabaseThroughput { get; set; }

/// <summary>
Expand All @@ -46,7 +46,7 @@ public abstract class CosmosOptions
/// <summary>
/// Throughput properties for containers. The default value is <see langword="null"/>, which indicates that the serverless throughput mode will be used.
/// </summary>
/// <seealso href="https://docs.microsoft.com/en-us/azure/cosmos-db/set-throughput"/>
/// <seealso href="https://learn.microsoft.com/azure/cosmos-db/set-throughput"/>
public ThroughputProperties? ContainerThroughputProperties { get; set; }

/// <summary>
Expand All @@ -73,7 +73,7 @@ public void ConfigureCosmosClient(string connectionString)
/// <summary>
/// Configures the Cosmos DB client.
/// </summary>
/// <param name="accountEndpoint">The account endpoint. In the form of <code>https://{databaseaccount}.documents.azure.com:443/</code>, <see href="https://docs.microsoft.com/en-us/rest/api/cosmos-db/cosmosdb-resource-uri-syntax-for-rest"/></param>
/// <param name="accountEndpoint">The account endpoint. In the form of <code>https://{databaseaccount}.documents.azure.com:443/</code>, <see href="https://learn.microsoft.com/rest/api/cosmos-db/cosmosdb-resource-uri-syntax-for-rest"/></param>
/// <param name="authKeyOrResourceTokenCredential"><see cref="AzureKeyCredential"/> with master-key or resource token.</param>
/// <see cref="CosmosClient(string, AzureKeyCredential, CosmosClientOptions)"/>
public void ConfigureCosmosClient(string accountEndpoint, AzureKeyCredential authKeyOrResourceTokenCredential)
Expand All @@ -84,7 +84,7 @@ public void ConfigureCosmosClient(string accountEndpoint, AzureKeyCredential aut
/// <summary>
/// Configures the Cosmos DB client.
/// </summary>
/// <param name="accountEndpoint">The account endpoint. In the form of <code>https://{databaseaccount}.documents.azure.com:443/</code>, <see href="https://docs.microsoft.com/en-us/rest/api/cosmos-db/cosmosdb-resource-uri-syntax-for-rest"/></param>
/// <param name="accountEndpoint">The account endpoint. In the form of <code>https://{databaseaccount}.documents.azure.com:443/</code>, <see href="https://learn.microsoft.com/rest/api/cosmos-db/cosmosdb-resource-uri-syntax-for-rest"/></param>
/// <param name="tokenCredential">The token to provide AAD for authorization.</param>
/// <see cref="CosmosClient(string, TokenCredential, CosmosClientOptions)"/>
public void ConfigureCosmosClient(string accountEndpoint, TokenCredential tokenCredential)
Expand All @@ -95,7 +95,7 @@ public void ConfigureCosmosClient(string accountEndpoint, TokenCredential tokenC
/// <summary>
/// Configures the Cosmos DB client.
/// </summary>
/// <param name="accountEndpoint">The account endpoint. In the form of <code>https://{databaseaccount}.documents.azure.com:443/</code>, <see href="https://docs.microsoft.com/en-us/rest/api/cosmos-db/cosmosdb-resource-uri-syntax-for-rest"/></param>
/// <param name="accountEndpoint">The account endpoint. In the form of <code>https://{databaseaccount}.documents.azure.com:443/</code>, <see href="https://learn.microsoft.com/rest/api/cosmos-db/cosmosdb-resource-uri-syntax-for-rest"/></param>
/// <param name="authKeyOrResourceToken">The Cosmos account key or resource token to use to create the client.</param>
/// <see cref="CosmosClient(string, TokenCredential, CosmosClientOptions)"/>
public void ConfigureCosmosClient(string accountEndpoint, string authKeyOrResourceToken)
Expand Down
2 changes: 1 addition & 1 deletion src/Azure/Shared/Storage/AzureTableUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public static bool IsNotFoundError(HttpStatusCode httpStatusCode)

internal static void ValidateTableName(string tableName)
{
// Regular expression from documentation: https://docs.microsoft.com/rest/api/storageservices/understanding-the-table-service-data-model#table-names
// Regular expression from documentation: https://learn.microsoft.com/rest/api/storageservices/understanding-the-table-service-data-model#table-names
if (!TableNameRegex().IsMatch(tableName))
{
throw new ArgumentException($"Table name \"{tableName}\" is invalid according to the following rules:"
Expand Down
4 changes: 2 additions & 2 deletions test/Grains/TestGrains/SimpleObserverableGrain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public async Task SetA(int a)

//If this were run with Task.Run there were no need for the added Unwrap call.
//However, Task.Run runs in ThreadPool and not in Orleans TaskScheduler, unlike Task.Factory.StartNew.
//See more at https://docs.microsoft.com/dotnet/orleans/grains/external-tasks-and-grains.
//See more at https://learn.microsoft.com/dotnet/orleans/grains/external-tasks-and-grains.
//The extra task comes from the internal asynchronous lambda due to Task.Delay. For deeper
//insight, see at http://blogs.msdn.com/b/pfxteam/archive/2012/02/08/10265476.aspx.
await Task.Factory.StartNew(async () =>
Expand All @@ -52,7 +52,7 @@ public async Task SetB(int b)

//If this were run with Task.Run there were no need for the added Unwrap call.
//However, Task.Run runs in ThreadPool and not in Orleans TaskScheduler, unlike Task.Factory.StartNew.
//See more at https://docs.microsoft.com/dotnet/orleans/grains/external-tasks-and-grains.
//See more at https://learn.microsoft.com/dotnet/orleans/grains/external-tasks-and-grains.
//The extra task comes from the internal asynchronous lambda due to Task.Delay. For deeper
//insight, see at http://blogs.msdn.com/b/pfxteam/archive/2012/02/08/10265476.aspx.
await Task.Factory.StartNew(async () =>
Expand Down
Loading