Skip to content

Commit

Permalink
Update Copyright header (Azure#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremymeng authored and ramya-rao-a committed Feb 13, 2019
1 parent 4477e52 commit 71e7991
Show file tree
Hide file tree
Showing 67 changed files with 103 additions and 103 deletions.
2 changes: 1 addition & 1 deletion client/examples/batchReceive.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion client/examples/batchSendReceive.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion client/examples/createEpochReceiver.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion client/examples/getHubRuntimeInfo.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion client/examples/iotGetHubRuntimeInfo.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion client/examples/sendReceiveWithInteractiveAuth.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion client/examples/sendReceiveWithSPAuth.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion client/examples/simpleSendReceive.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion client/examples/simpleSender.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion client/examples/streamingReceive.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion client/lib/batchingReceiver.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion client/lib/connectionContext.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion client/lib/eventData.ts
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion client/lib/eventHubClient.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion client/lib/eventHubReceiver.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion client/lib/eventHubSender.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion client/lib/eventPosition.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion client/lib/index.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion client/lib/iothub/iothubClient.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion client/lib/linkEntity.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion client/lib/log.ts
Original file line number Diff line number Diff line change
@@ -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";
/**
Expand Down
2 changes: 1 addition & 1 deletion client/lib/managementClient.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion client/lib/streamingReceiver.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion client/lib/util/constants.ts
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions client/tests/client.spec.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 2 additions & 2 deletions client/tests/eventPosition.spec.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 2 additions & 2 deletions client/tests/eventdata.spec.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 2 additions & 2 deletions client/tests/hubruntime.spec.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 2 additions & 2 deletions client/tests/iothub.spec.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 2 additions & 2 deletions client/tests/misc.spec.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 2 additions & 2 deletions client/tests/receiver.spec.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 2 additions & 2 deletions client/tests/sender.spec.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion processor/examples/iothubEph.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion processor/examples/multiEph.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion processor/examples/sendBatch.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion processor/examples/singleEph.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions processor/lib/azureBlob.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 2 additions & 2 deletions processor/lib/azureBlobLease.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 2 additions & 2 deletions processor/lib/azureStorageCheckpointLeaseManager.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 2 additions & 2 deletions processor/lib/baseLease.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions processor/lib/blobService.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 2 additions & 2 deletions processor/lib/checkpointInfo.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 2 additions & 2 deletions processor/lib/checkpointManager.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 2 additions & 2 deletions processor/lib/completeLease.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 2 additions & 2 deletions processor/lib/eventProcessorHost.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions processor/lib/hostContext.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions processor/lib/index.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 2 additions & 2 deletions processor/lib/leaseManager.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion processor/lib/log.ts
Original file line number Diff line number Diff line change
@@ -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";
/**
Expand Down
4 changes: 2 additions & 2 deletions processor/lib/modelTypes.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions processor/lib/partitionContext.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 2 additions & 2 deletions processor/lib/partitionManager.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 2 additions & 2 deletions processor/lib/partitionPump.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
Loading

0 comments on commit 71e7991

Please sign in to comment.