forked from OrleansContrib/OrleansV2.Fork.Indexing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIndexingTestConstants.cs
34 lines (29 loc) · 1.55 KB
/
IndexingTestConstants.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using Orleans.Indexing.Tests.MultiInterface;
namespace Orleans.Indexing.Tests
{
public static class IndexingTestConstants
{
// storage providers
public const string GrainStore = "GrainStore";
public const string CosmosDBGrainStorage = "CosmosDBGrainStorage";
public const string Seattle = "Seattle";
public const string SanFrancisco = "San Francisco";
public const string SanJose = "SanJose";
public const string Bellevue = "Bellevue";
public const string Redmond = "Redmond";
public const string Kirkland = "Kirkland";
public const string Tehran = "Tehran";
public const string Yazd = "Yazd";
public const string LocationProperty = nameof(IPlayerProperties.Location);
public const string NameProperty = nameof(IPersonProperties.Name);
public const string AgeProperty = nameof(IPersonProperties.Age);
public const string TitleProperty = nameof(IJobProperties.Title);
public const string DepartmentProperty = nameof(IJobProperties.Department);
public const string EmployeeIdProperty = nameof(IEmployeeProperties.EmployeeId);
public const string UniqueIntProperty = "UniqueInt";
public const string UniqueStringProperty = "UniqueString";
public const string NonUniqueIntProperty = "NonUniqueInt";
public const string NonUniqueStringProperty = "NonUniqueString";
public const int DelayUntilIndexesAreUpdatedLazily = 1000; // One-second delay for writes to the in-memory indexes should be enough
}
}