-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathConstants.cs
More file actions
103 lines (81 loc) · 5.95 KB
/
Copy pathConstants.cs
File metadata and controls
103 lines (81 loc) · 5.95 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
namespace Azure.Functions.Java.Tests.E2E
{
public static class Constants
{
public static string FunctionsHostUrl = Environment.GetEnvironmentVariable("FunctionAppUrl") ?? "http://localhost:7071";
public static string StorageConnectionStringSetting = Environment.GetEnvironmentVariable("AzureWebJobsStorage");
//Queue tests
public static string OutputBindingQueueName = "test-output-java";
public static string InputBindingQueueName = "test-input-java";
public static string OutputBindingQueueNamePOJO = "test-output-java-pojo";
public static string InputBindingQueueNamePOJO = "test-input-java-pojo";
public static string InputBindingQueueNameMetadata = "test-input-java-metadata";
public static string OutputBindingQueueNameMetadata = "test-output-java-metadata";
public static string TestQueueMessage = "Hello, World";
//Blob tests
public static string TriggerInputBindingBlobContainer = "test-triggerinput-java-new";
public static string InputBindingBlobContainer = "test-input-java-new";
public static string OutputBindingBlobContainer = "test-output-java-new";
// CosmosDB tests
public static string CosmosDBConnectionStringSetting = Environment.GetEnvironmentVariable("AzureWebJobsCosmosDBConnectionString");
public static string DocDbDatabaseName = "ItemDb";
public static string InputDocDbCollectionName = "ItemCollectionIn";
public static string OutputDocDbCollectionName = "ItemCollectionOut";
public static string DocDbLeaseCollectionName = "leases";
public static string InputItemsCollectionName = "ItemsCollectionIn";
public static string OutputItemsCollectionName = "ItemsCollectionOut";
public static string LeaseItemsCollectionName = "Itemsleases";
// EventHubs
public static string OutputEventHubQueueName = "test-eventhuboutput-java";
public static string InputEventHubName = "test-input-java";
public static string OutputEventHubName = "test-output-java";
public static string OutputJsonEventHubQueueName = "test-eventhuboutputjson-java";
public static string InputJsonEventHubName = "test-inputjson-java";
public static string OutputJsonEventHubName = "test-outputjson-java";
public static string OutputOneEventHubQueueName = "test-eventhuboutputone-java";
public static string InputCardinalityOneEventHubName = "test-inputOne-java";
public static string OutputCardinalityOneEventHubName = "test-outputone-java";
public static string OutputBinaryOneQueueName = "test-binary-output-cardinality-one-java";
public static string InputBinaryOneEventHubQueueName = "test-binary-input-cardinality-one-java";
public static string OutputBinaryManyQueueName = "test-binary-output-cardinality-many-list-java";
public static string InputBinaryManyEventHubQueueName = "test-binary-input-cardinality-many-list-java";
public static string OutputBinaryArrayManyQueueName = "test-binary-output-cardinality-many-array-java";
public static string InputBinaryManyArrayEventHubQueueName = "test-binary-input-cardinality-many-array-java";
// EventHubs retry
public static string FixedDelayRetry = "fixed-retry";
public static string ExponentialBackoffRetry = "exponential-retry";
public static string RetryCount = "retry-count";
public static string MaxRetryCount = "max-retry-count";
// Kafka
public static string OutputStringOneKafkaQueueName = "test-kafka-output-cardinality-one-java";
// EventGrid
public static string EventGridStorageOutputBindingQueueName = "test-eventgrid-output-binding-queue-java";
//ServiceBusQueue
public static string ServiceBusQueueTriggerQueueName = "test-servicebusqueuesingle-java";
public static string ServiceBusQueueTriggerServiceBusName = "SBQueueNameSingle";
public static string serviceBusTopicBatchTriggerQueueName = "test-servicebusqueuebatch-java";
public static string serviceBusTopicBatchTriggerServiceBusName = "SBQueueNameBatch";
//ServiceBusTopic
public static string ServiceBusQueueTriggerTopicQueueName = "test-servicebusqueuesingle-java";
public static string ServiceBusQueueTriggerServiceBusTopicName = "SBQueueNameSingle";
public static string serviceBusTopicBatchTriggerQueueTopicName = "test-servicebusqueuebatch-java";
public static string serviceBusTopicBatchTriggerServiceBusTopicName = "SBQueueNameBatch";
// Settings
public static string EventHubsConnectionStringSenderSetting = Environment.GetEnvironmentVariable("AzureWebJobsEventHubSender");
public static string EventHubsConnectionStringSenderSetting2 = Environment.GetEnvironmentVariable("AzureWebJobsEventHubSender_2");
public static string ServiceBusConnectionStringSetting = Environment.GetEnvironmentVariable("AzureWebJobsServiceBus");
// Xunit Fixtures and Collections
public const string FunctionAppCollectionName = "FunctionAppCollection";
// Application Insights
public static string ApplicationInsightAPIKey = Environment.GetEnvironmentVariable("ApplicationInsightAPIKey");
public static string ApplicationInsightAPPID = Environment.GetEnvironmentVariable("ApplicationInsightAPPID");
public static string ApplicationInsightAgentVersion = Environment.GetEnvironmentVariable("ApplicationInsightAgentVersion");
// SQL Binding tests
public static string SqlConnectionStringSetting = Environment.GetEnvironmentVariable("AzureWebJobsSqlConnectionString");
// MySql tests
public static string MySqlConnectionStringSetting = Environment.GetEnvironmentVariable("AzureWebJobsMySqlConnectionString");
}
}