From 8eb89d186d518eeb97028e771607acf06d5760bc Mon Sep 17 00:00:00 2001 From: Jeremy Meng Date: Wed, 13 Feb 2019 11:25:54 -0800 Subject: [PATCH] Update Copyright header (#197) --- client/examples/batchReceive.ts | 2 +- client/examples/batchSendReceive.ts | 2 +- client/examples/createEpochReceiver.ts | 2 +- client/examples/getHubRuntimeInfo.ts | 2 +- client/examples/iotGetHubRuntimeInfo.ts | 2 +- client/examples/sendReceiveWithInteractiveAuth.ts | 2 +- client/examples/sendReceiveWithSPAuth.ts | 2 +- client/examples/simpleSendReceive.ts | 2 +- client/examples/simpleSender.ts | 2 +- client/examples/streamingReceive.ts | 2 +- client/lib/batchingReceiver.ts | 2 +- client/lib/connectionContext.ts | 2 +- client/lib/eventData.ts | 2 +- client/lib/eventHubClient.ts | 2 +- client/lib/eventHubReceiver.ts | 2 +- client/lib/eventHubSender.ts | 2 +- client/lib/eventPosition.ts | 2 +- client/lib/index.ts | 2 +- client/lib/iothub/iothubClient.ts | 2 +- client/lib/linkEntity.ts | 2 +- client/lib/log.ts | 2 +- client/lib/managementClient.ts | 2 +- client/lib/streamingReceiver.ts | 2 +- client/lib/util/constants.ts | 2 +- client/tests/client.spec.ts | 4 ++-- client/tests/eventPosition.spec.ts | 4 ++-- client/tests/eventdata.spec.ts | 4 ++-- client/tests/hubruntime.spec.ts | 4 ++-- client/tests/iothub.spec.ts | 4 ++-- client/tests/misc.spec.ts | 4 ++-- client/tests/receiver.spec.ts | 4 ++-- client/tests/sender.spec.ts | 4 ++-- processor/examples/iothubEph.ts | 2 +- processor/examples/multiEph.ts | 2 +- processor/examples/sendBatch.ts | 2 +- processor/examples/singleEph.ts | 2 +- processor/lib/azureBlob.ts | 4 ++-- processor/lib/azureBlobLease.ts | 4 ++-- processor/lib/azureStorageCheckpointLeaseManager.ts | 4 ++-- processor/lib/baseLease.ts | 4 ++-- processor/lib/blobService.ts | 4 ++-- processor/lib/checkpointInfo.ts | 4 ++-- processor/lib/checkpointManager.ts | 4 ++-- processor/lib/completeLease.ts | 4 ++-- processor/lib/eventProcessorHost.ts | 4 ++-- processor/lib/hostContext.ts | 4 ++-- processor/lib/index.ts | 4 ++-- processor/lib/leaseManager.ts | 4 ++-- processor/lib/log.ts | 2 +- processor/lib/modelTypes.ts | 4 ++-- processor/lib/partitionContext.ts | 4 ++-- processor/lib/partitionManager.ts | 4 ++-- processor/lib/partitionPump.ts | 4 ++-- processor/lib/partitionScanner.ts | 4 ++-- processor/lib/pumpManager.ts | 4 ++-- processor/lib/util/constants.ts | 2 +- processor/lib/util/utils.ts | 2 +- processor/tests/eph.spec.ts | 4 ++-- processor/tests/iothub.spec.ts | 4 ++-- processor/tests/negative.spec.ts | 4 ++-- processor/tests/retry.spec.ts | 4 ++-- testhub/cli.ts | 4 ++-- testhub/commands/eph.ts | 4 ++-- testhub/commands/receive.ts | 4 ++-- testhub/commands/send.ts | 4 ++-- testhub/commands/sendReceive.ts | 4 ++-- testhub/utils/util.ts | 4 ++-- 67 files changed, 103 insertions(+), 103 deletions(-) diff --git a/client/examples/batchReceive.ts b/client/examples/batchReceive.ts index 6378bd005cbb..1e98ce5149e5 100644 --- a/client/examples/batchReceive.ts +++ b/client/examples/batchReceive.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import { EventHubClient, EventData, EventPosition } from "../lib"; import * as dotenv from "dotenv"; diff --git a/client/examples/batchSendReceive.ts b/client/examples/batchSendReceive.ts index b59ae8fe2aac..c970dd7e78bd 100644 --- a/client/examples/batchSendReceive.ts +++ b/client/examples/batchSendReceive.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import { EventHubClient, EventData, EventPosition, OnMessage, OnError, MessagingError } from "../lib"; import * as dotenv from "dotenv"; diff --git a/client/examples/createEpochReceiver.ts b/client/examples/createEpochReceiver.ts index 9178a867cb58..8dc8786a02f3 100644 --- a/client/examples/createEpochReceiver.ts +++ b/client/examples/createEpochReceiver.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import { EventHubClient, OnError, MessagingError, OnMessage, delay } from "../lib"; import * as dotenv from "dotenv"; diff --git a/client/examples/getHubRuntimeInfo.ts b/client/examples/getHubRuntimeInfo.ts index 986af1dc4884..3f81ec6b5793 100644 --- a/client/examples/getHubRuntimeInfo.ts +++ b/client/examples/getHubRuntimeInfo.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import { EventHubClient } from "../lib"; import * as dotenv from "dotenv"; diff --git a/client/examples/iotGetHubRuntimeInfo.ts b/client/examples/iotGetHubRuntimeInfo.ts index f85d5e5491b8..138c200eeac2 100644 --- a/client/examples/iotGetHubRuntimeInfo.ts +++ b/client/examples/iotGetHubRuntimeInfo.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import { EventHubClient } from "../lib"; import * as dotenv from "dotenv"; diff --git a/client/examples/sendReceiveWithInteractiveAuth.ts b/client/examples/sendReceiveWithInteractiveAuth.ts index a963512bdcfe..c48a973dfd23 100644 --- a/client/examples/sendReceiveWithInteractiveAuth.ts +++ b/client/examples/sendReceiveWithInteractiveAuth.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import { EventHubClient, aadEventHubsAudience, EventPosition } from "../lib"; import * as msrestAzure from "ms-rest-azure"; diff --git a/client/examples/sendReceiveWithSPAuth.ts b/client/examples/sendReceiveWithSPAuth.ts index 6eacbd6eca3b..46d11505afc1 100644 --- a/client/examples/sendReceiveWithSPAuth.ts +++ b/client/examples/sendReceiveWithSPAuth.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import { EventHubClient, aadEventHubsAudience, EventPosition } from "../lib"; import * as msrestAzure from "ms-rest-azure"; diff --git a/client/examples/simpleSendReceive.ts b/client/examples/simpleSendReceive.ts index 04d73df97c0a..daad02b9c545 100644 --- a/client/examples/simpleSendReceive.ts +++ b/client/examples/simpleSendReceive.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import { EventHubClient, EventPosition, OnMessage, OnError, MessagingError, delay } from "../lib"; import * as dotenv from "dotenv"; diff --git a/client/examples/simpleSender.ts b/client/examples/simpleSender.ts index 34666e3010b3..e6f63813ee74 100644 --- a/client/examples/simpleSender.ts +++ b/client/examples/simpleSender.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import { EventHubClient, EventData } from "../lib"; import * as dotenv from "dotenv"; diff --git a/client/examples/streamingReceive.ts b/client/examples/streamingReceive.ts index 06e66b285b49..46d81ad759d7 100644 --- a/client/examples/streamingReceive.ts +++ b/client/examples/streamingReceive.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import { EventHubClient, EventPosition, OnMessage, OnError, MessagingError, ReceiveOptions, delay diff --git a/client/lib/batchingReceiver.ts b/client/lib/batchingReceiver.ts index 841183a655a8..7a3422f7f0e1 100644 --- a/client/lib/batchingReceiver.ts +++ b/client/lib/batchingReceiver.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import { ReceiverEvents, EventContext, OnAmqpEvent, SessionEvents } from "rhea-promise"; import { translate, Func, Constants, MessagingError } from "@azure/amqp-common"; diff --git a/client/lib/connectionContext.ts b/client/lib/connectionContext.ts index c3d1a921fbd7..1c42f7a4b61c 100644 --- a/client/lib/connectionContext.ts +++ b/client/lib/connectionContext.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import * as log from "./log"; import { packageJsonInfo } from "./util/constants"; diff --git a/client/lib/eventData.ts b/client/lib/eventData.ts index 449e62392b14..edb653e1f982 100644 --- a/client/lib/eventData.ts +++ b/client/lib/eventData.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import { Message, MessageProperties, MessageHeader, Dictionary, messageHeader, messageProperties, diff --git a/client/lib/eventHubClient.ts b/client/lib/eventHubClient.ts index 2620d16ad9be..24e024af8826 100644 --- a/client/lib/eventHubClient.ts +++ b/client/lib/eventHubClient.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import * as log from "./log"; import { Delivery } from "rhea-promise"; diff --git a/client/lib/eventHubReceiver.ts b/client/lib/eventHubReceiver.ts index c043d9a17fbc..26448edd98d9 100644 --- a/client/lib/eventHubReceiver.ts +++ b/client/lib/eventHubReceiver.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import * as uuid from "uuid/v4"; import * as log from "./log"; diff --git a/client/lib/eventHubSender.ts b/client/lib/eventHubSender.ts index 277c83ac0ce2..d18d00b9c351 100644 --- a/client/lib/eventHubSender.ts +++ b/client/lib/eventHubSender.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import * as uuid from "uuid/v4"; import * as log from "./log"; diff --git a/client/lib/eventPosition.ts b/client/lib/eventPosition.ts index ee2410e50bdc..a5de4817b27f 100644 --- a/client/lib/eventPosition.ts +++ b/client/lib/eventPosition.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import { translate, Constants, ErrorNameConditionMapper } from "@azure/amqp-common"; diff --git a/client/lib/index.ts b/client/lib/index.ts index efff53e5ac2f..a9370d10e42c 100644 --- a/client/lib/index.ts +++ b/client/lib/index.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. export { EventData, EventHubDeliveryAnnotations, EventHubMessageAnnotations } from "./eventData"; export { diff --git a/client/lib/iothub/iothubClient.ts b/client/lib/iothub/iothubClient.ts index 39f557d2081a..82e2a144e426 100644 --- a/client/lib/iothub/iothubClient.ts +++ b/client/lib/iothub/iothubClient.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import { translate, MessagingError, IotSasTokenProvider } from "@azure/amqp-common"; import { IotHubConnectionConfig } from "@azure/amqp-common"; diff --git a/client/lib/linkEntity.ts b/client/lib/linkEntity.ts index 14e6b2209c3c..f31b498cf007 100644 --- a/client/lib/linkEntity.ts +++ b/client/lib/linkEntity.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import * as uuid from "uuid/v4"; import { defaultLock } from "@azure/amqp-common"; diff --git a/client/lib/log.ts b/client/lib/log.ts index cf0796549893..9fe5c1dd057c 100644 --- a/client/lib/log.ts +++ b/client/lib/log.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import * as debugModule from "debug"; /** diff --git a/client/lib/managementClient.ts b/client/lib/managementClient.ts index ed479fcbd779..2bf209f642f5 100644 --- a/client/lib/managementClient.ts +++ b/client/lib/managementClient.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import * as uuid from "uuid/v4"; import { diff --git a/client/lib/streamingReceiver.ts b/client/lib/streamingReceiver.ts index dbb743a959fa..c3a7b5b82996 100644 --- a/client/lib/streamingReceiver.ts +++ b/client/lib/streamingReceiver.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import { Constants } from "@azure/amqp-common"; import { ReceiverEvents } from "rhea-promise"; diff --git a/client/lib/util/constants.ts b/client/lib/util/constants.ts index d3ee2ced5a8b..4f776d1f04df 100644 --- a/client/lib/util/constants.ts +++ b/client/lib/util/constants.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. export const packageJsonInfo = { name: "@azure/event-hubs", diff --git a/client/tests/client.spec.ts b/client/tests/client.spec.ts index 22ea67193610..899b44021266 100755 --- a/client/tests/client.spec.ts +++ b/client/tests/client.spec.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import "mocha"; import * as chai from "chai"; diff --git a/client/tests/eventPosition.spec.ts b/client/tests/eventPosition.spec.ts index fdef68f8d32a..5eaf00e70c5e 100644 --- a/client/tests/eventPosition.spec.ts +++ b/client/tests/eventPosition.spec.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import "mocha"; import * as chai from "chai"; diff --git a/client/tests/eventdata.spec.ts b/client/tests/eventdata.spec.ts index ca4f9c547262..1ec68559b0eb 100644 --- a/client/tests/eventdata.spec.ts +++ b/client/tests/eventdata.spec.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import "mocha"; import * as chai from "chai"; diff --git a/client/tests/hubruntime.spec.ts b/client/tests/hubruntime.spec.ts index 97bddb15a98e..50e164fe7ca7 100644 --- a/client/tests/hubruntime.spec.ts +++ b/client/tests/hubruntime.spec.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import "mocha"; import * as chai from "chai"; diff --git a/client/tests/iothub.spec.ts b/client/tests/iothub.spec.ts index 3b5939ca7702..91cf5e15b033 100644 --- a/client/tests/iothub.spec.ts +++ b/client/tests/iothub.spec.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import "mocha"; import * as dotenv from "dotenv"; diff --git a/client/tests/misc.spec.ts b/client/tests/misc.spec.ts index c4b7d9148490..2ed81b98e849 100644 --- a/client/tests/misc.spec.ts +++ b/client/tests/misc.spec.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import "mocha"; import * as uuid from "uuid/v4"; diff --git a/client/tests/receiver.spec.ts b/client/tests/receiver.spec.ts index 60287bb3c04b..3581f65f5ceb 100644 --- a/client/tests/receiver.spec.ts +++ b/client/tests/receiver.spec.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import "mocha"; import * as chai from "chai"; diff --git a/client/tests/sender.spec.ts b/client/tests/sender.spec.ts index a69c34931a5b..d1edc60d76d7 100644 --- a/client/tests/sender.spec.ts +++ b/client/tests/sender.spec.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import "mocha"; import * as chai from "chai"; diff --git a/processor/examples/iothubEph.ts b/processor/examples/iothubEph.ts index 162b12970a9e..9f3b7b79c5b5 100644 --- a/processor/examples/iothubEph.ts +++ b/processor/examples/iothubEph.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import { EventProcessorHost, OnReceivedError, OnReceivedMessage, EventData, PartitionContext, delay diff --git a/processor/examples/multiEph.ts b/processor/examples/multiEph.ts index 49bef3d0cbe3..e4bc4a6a3459 100644 --- a/processor/examples/multiEph.ts +++ b/processor/examples/multiEph.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import { EventProcessorHost, OnReceivedError, OnReceivedMessage, EventData, PartitionContext, delay diff --git a/processor/examples/sendBatch.ts b/processor/examples/sendBatch.ts index 44014f2f2b6b..d7d368d23539 100644 --- a/processor/examples/sendBatch.ts +++ b/processor/examples/sendBatch.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import { EventHubClient, EventData, delay } from "@azure/event-hubs"; import * as dotenv from "dotenv"; diff --git a/processor/examples/singleEph.ts b/processor/examples/singleEph.ts index f146915e707b..14be6a3c53f9 100644 --- a/processor/examples/singleEph.ts +++ b/processor/examples/singleEph.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import { EventProcessorHost, OnReceivedError, OnReceivedMessage, EventData, PartitionContext, delay diff --git a/processor/lib/azureBlob.ts b/processor/lib/azureBlob.ts index 2360f199e203..8bf95e5de1f1 100644 --- a/processor/lib/azureBlob.ts +++ b/processor/lib/azureBlob.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import { BlobService, CreateContainerResult } from "./blobService"; import { BlobService as StorageBlobService } from "azure-storage"; diff --git a/processor/lib/azureBlobLease.ts b/processor/lib/azureBlobLease.ts index 8229329417d7..dba1d2f81e11 100644 --- a/processor/lib/azureBlobLease.ts +++ b/processor/lib/azureBlobLease.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import { CompleteLeaseInfo, CompleteLease } from "./completeLease"; import { AzureBlob } from "./azureBlob"; diff --git a/processor/lib/azureStorageCheckpointLeaseManager.ts b/processor/lib/azureStorageCheckpointLeaseManager.ts index 66eb4fbc0368..433a0f25770d 100644 --- a/processor/lib/azureStorageCheckpointLeaseManager.ts +++ b/processor/lib/azureStorageCheckpointLeaseManager.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import * as uuid from "uuid/v4"; import { CheckpointInfo } from "./checkpointInfo"; diff --git a/processor/lib/baseLease.ts b/processor/lib/baseLease.ts index f47de7249671..8f26c7d5e4c3 100644 --- a/processor/lib/baseLease.ts +++ b/processor/lib/baseLease.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. /** * Describes the basic information required in a lease. diff --git a/processor/lib/blobService.ts b/processor/lib/blobService.ts index 84defddb0a31..28be5e74253c 100644 --- a/processor/lib/blobService.ts +++ b/processor/lib/blobService.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import { Dictionary } from "@azure/event-hubs"; import { createBlobService, BlobService as StorageBlobService, ServiceResponse } from "azure-storage"; diff --git a/processor/lib/checkpointInfo.ts b/processor/lib/checkpointInfo.ts index bb5716677505..abff8b9a565b 100644 --- a/processor/lib/checkpointInfo.ts +++ b/processor/lib/checkpointInfo.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import * as log from "./log"; import { EventData } from "@azure/event-hubs"; diff --git a/processor/lib/checkpointManager.ts b/processor/lib/checkpointManager.ts index 1d444893a2cc..78e71568d9a6 100644 --- a/processor/lib/checkpointManager.ts +++ b/processor/lib/checkpointManager.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import { CheckpointInfo } from "./checkpointInfo"; import { CompleteLease } from "./completeLease"; diff --git a/processor/lib/completeLease.ts b/processor/lib/completeLease.ts index dae028141620..659724bb061d 100644 --- a/processor/lib/completeLease.ts +++ b/processor/lib/completeLease.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import * as log from "./log"; import { BaseLease, BaseLeaseInfo } from "./baseLease"; diff --git a/processor/lib/eventProcessorHost.ts b/processor/lib/eventProcessorHost.ts index e58099c61ccd..eb433ee7188e 100644 --- a/processor/lib/eventProcessorHost.ts +++ b/processor/lib/eventProcessorHost.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import * as uuid from "uuid/v4"; import { diff --git a/processor/lib/hostContext.ts b/processor/lib/hostContext.ts index a0362f472d22..ba1976cc0ac6 100644 --- a/processor/lib/hostContext.ts +++ b/processor/lib/hostContext.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import * as uuid from "uuid/v4"; import { diff --git a/processor/lib/index.ts b/processor/lib/index.ts index 822c6290938a..51859826078c 100644 --- a/processor/lib/index.ts +++ b/processor/lib/index.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. export { EventProcessorHost } from "./eventProcessorHost"; export { PartitionContext } from "./partitionContext"; diff --git a/processor/lib/leaseManager.ts b/processor/lib/leaseManager.ts index 90cf66534093..0940a039df9b 100644 --- a/processor/lib/leaseManager.ts +++ b/processor/lib/leaseManager.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import { CompleteLease } from "./completeLease"; import { BaseLease } from "./baseLease"; diff --git a/processor/lib/log.ts b/processor/lib/log.ts index c91722d99ebc..09f6999484ef 100644 --- a/processor/lib/log.ts +++ b/processor/lib/log.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import * as debugModule from "debug"; /** diff --git a/processor/lib/modelTypes.ts b/processor/lib/modelTypes.ts index 3ec7f1032f78..529be32bf489 100644 --- a/processor/lib/modelTypes.ts +++ b/processor/lib/modelTypes.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import { PartitionContext } from "./partitionContext"; import { diff --git a/processor/lib/partitionContext.ts b/processor/lib/partitionContext.ts index 460e4179851a..c310b62d1256 100644 --- a/processor/lib/partitionContext.ts +++ b/processor/lib/partitionContext.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import { EventData, EventPosition } from "@azure/event-hubs"; import { CompleteLease } from "./completeLease"; diff --git a/processor/lib/partitionManager.ts b/processor/lib/partitionManager.ts index 66bb47f8e805..15ee939bdc33 100644 --- a/processor/lib/partitionManager.ts +++ b/processor/lib/partitionManager.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import { HostContextWithPumpManager } from "./hostContext"; import { validateType, RetryConfig, retry, EPHActionStrings } from "./util/utils"; diff --git a/processor/lib/partitionPump.ts b/processor/lib/partitionPump.ts index 35b963404365..d8142eaf6130 100644 --- a/processor/lib/partitionPump.ts +++ b/processor/lib/partitionPump.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import * as log from "./log"; import { HostContextWithCheckpointLeaseManager } from "./hostContext"; diff --git a/processor/lib/partitionScanner.ts b/processor/lib/partitionScanner.ts index f9ba30fb5ff7..7c5aefaaa42e 100644 --- a/processor/lib/partitionScanner.ts +++ b/processor/lib/partitionScanner.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import { randomNumberFromInterval } from "./util/utils"; import { HostContextWithPumpManager } from "./hostContext"; diff --git a/processor/lib/pumpManager.ts b/processor/lib/pumpManager.ts index 551ea445956f..ad341bedcc9c 100644 --- a/processor/lib/pumpManager.ts +++ b/processor/lib/pumpManager.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import * as log from "./log"; import { HostContextWithCheckpointLeaseManager } from "./hostContext"; diff --git a/processor/lib/util/constants.ts b/processor/lib/util/constants.ts index 51d48ad1d607..164066deaf37 100644 --- a/processor/lib/util/constants.ts +++ b/processor/lib/util/constants.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. export const minLeaseDurationInSeconds = 15; export const maxLeaseDurationInSeconds = 60; diff --git a/processor/lib/util/utils.ts b/processor/lib/util/utils.ts index f15f4686b2b3..e6d8182ebe7e 100644 --- a/processor/lib/util/utils.ts +++ b/processor/lib/util/utils.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. +// Licensed under the MIT License. import * as log from "../log"; import { StorageError } from "azure-storage"; diff --git a/processor/tests/eph.spec.ts b/processor/tests/eph.spec.ts index 6ee1062ffc7c..442cc897a09c 100644 --- a/processor/tests/eph.spec.ts +++ b/processor/tests/eph.spec.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import "mocha"; import * as chai from "chai"; diff --git a/processor/tests/iothub.spec.ts b/processor/tests/iothub.spec.ts index cf342853d7bf..9ac6416b5f68 100644 --- a/processor/tests/iothub.spec.ts +++ b/processor/tests/iothub.spec.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import "mocha"; import * as dotenv from "dotenv"; diff --git a/processor/tests/negative.spec.ts b/processor/tests/negative.spec.ts index 5be28436d16d..6f14eefa039a 100644 --- a/processor/tests/negative.spec.ts +++ b/processor/tests/negative.spec.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import "mocha"; import * as chai from "chai"; diff --git a/processor/tests/retry.spec.ts b/processor/tests/retry.spec.ts index 0630dd29365a..c89d8d305e99 100644 --- a/processor/tests/retry.spec.ts +++ b/processor/tests/retry.spec.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import "mocha"; import * as chai from "chai"; diff --git a/testhub/cli.ts b/testhub/cli.ts index 0cd9a921167f..8a8708cb8f5a 100644 --- a/testhub/cli.ts +++ b/testhub/cli.ts @@ -1,7 +1,7 @@ #!/usr/bin/env node -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. /* tslint:disable */ import * as yargs from "yargs"; diff --git a/testhub/commands/eph.ts b/testhub/commands/eph.ts index 0062824ea5f9..7b0d0d1aae63 100644 --- a/testhub/commands/eph.ts +++ b/testhub/commands/eph.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import { CommandBuilder } from "yargs"; import { EventProcessorHost, OnReceivedMessage, PartitionContext, OnReceivedError diff --git a/testhub/commands/receive.ts b/testhub/commands/receive.ts index b344167c2dd4..d766275f194c 100644 --- a/testhub/commands/receive.ts +++ b/testhub/commands/receive.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import { CommandBuilder } from "yargs"; import { EventHubClient, EventPosition, EventData } from "@azure/event-hubs"; import { log, setCurrentCommand } from "../utils/util"; diff --git a/testhub/commands/send.ts b/testhub/commands/send.ts index acafd3267ce6..a8969d788255 100644 --- a/testhub/commands/send.ts +++ b/testhub/commands/send.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import { CommandBuilder } from "yargs"; import { EventHubClient, EventData, delay } from "@azure/event-hubs"; diff --git a/testhub/commands/sendReceive.ts b/testhub/commands/sendReceive.ts index 3f059453440b..2c42b1b48029 100644 --- a/testhub/commands/sendReceive.ts +++ b/testhub/commands/sendReceive.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. import { CommandBuilder } from "yargs"; import { EventHubClient, EventPosition, EventData, delay } from "@azure/event-hubs"; import { log, setCurrentCommand, randomNumberFromInterval } from "../utils/util"; diff --git a/testhub/utils/util.ts b/testhub/utils/util.ts index 03c368cd3e0c..66842b2c84ac 100644 --- a/testhub/utils/util.ts +++ b/testhub/utils/util.ts @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. export function log(message: string, ...args: any[]): void { console.log(`%s ${message}`, new Date().toISOString(), ...args);