Azure / azure-event-hubs-node

Node client library for Azure Event Hubs https://azure.microsoft.com/services/event-hubs
MIT License
50 stars 44 forks source link

Move common parts to amqp-common and use rhea-promise #163

Closed amarzavery closed 6 years ago

amarzavery commented 6 years ago

Description

Brief description of the changes made in the PR. This helps in making better changelog

amarzavery commented 6 years ago

:white_check_mark: Validation status: passed

File Status Preview URL Details
client/examples/streamingReceive.ts :white_check_mark:Succeeded
client/lib/amqp-common/auth/aad.ts :white_check_mark:Succeeded
client/lib/amqp-common/auth/sas.ts :white_check_mark:Succeeded
client/lib/amqp-common/auth/token.ts :white_check_mark:Succeeded
client/lib/amqp-common/cbs.ts :white_check_mark:Succeeded
client/lib/amqp-common/connectionConfig.ts :white_check_mark:Succeeded
client/lib/amqp-common/dataTransformer.ts :white_check_mark:Succeeded
client/lib/amqp-common/errors.ts :white_check_mark:Succeeded
client/lib/amqp-common/index.ts :white_check_mark:Succeeded
client/lib/amqp-common/log.ts :white_check_mark:Succeeded
client/lib/amqp-common/messageHeader.ts :white_check_mark:Succeeded
client/lib/amqp-common/messageProperties.ts :white_check_mark:Succeeded
client/lib/amqp-common/requestResponseLink.ts :white_check_mark:Succeeded
client/lib/amqp-common/retry.ts :white_check_mark:Succeeded
client/lib/amqp-common/util/constants.ts :white_check_mark:Succeeded
client/lib/amqp-common/util/utils.ts :white_check_mark:Succeeded
client/lib/batchingReceiver.ts :white_check_mark:Succeeded
client/lib/connectionContext.ts :white_check_mark:Succeeded
client/lib/eventData.ts :white_check_mark:Succeeded
client/lib/eventHubClient.ts :white_check_mark:Succeeded
client/lib/eventHubReceiver.ts :white_check_mark:Succeeded
client/lib/eventHubSender.ts :white_check_mark:Succeeded
client/lib/eventPosition.ts :white_check_mark:Succeeded
client/lib/index.ts :white_check_mark:Succeeded
client/lib/iothub/iotHubConnectionConfig.ts :white_check_mark:Succeeded
client/lib/iothub/iotSas.ts :white_check_mark:Succeeded
client/lib/iothub/iothubClient.ts :white_check_mark:Succeeded
client/lib/linkEntity.ts :white_check_mark:Succeeded
client/lib/managementClient.ts :white_check_mark:Succeeded
client/lib/rhea-promise/connection.ts :white_check_mark:Succeeded
client/lib/rhea-promise/index.ts :white_check_mark:Succeeded
client/lib/rhea-promise/log.ts :white_check_mark:Succeeded
client/lib/rhea-promise/receiver.ts :white_check_mark:Succeeded
client/lib/rhea-promise/sender.ts :white_check_mark:Succeeded
client/lib/rhea-promise/session.ts :white_check_mark:Succeeded
client/lib/rhea-promise/util/constants.ts :white_check_mark:Succeeded
client/lib/streamingReceiver.ts :white_check_mark:Succeeded
client/lib/util/constants.ts :white_check_mark:Succeeded
client/package-lock.json :white_check_mark:Succeeded
client/package.json :white_check_mark:Succeeded
client/tests/config.spec.ts :white_check_mark:Succeeded
client/tests/dataTransformer.spec.ts :white_check_mark:Succeeded
client/tests/errors.spec.ts :white_check_mark:Succeeded
client/tests/retry.spec.ts :white_check_mark:Succeeded

For more details, please refer to the build report.

Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

amarzavery commented 6 years ago

:white_check_mark: Validation status: passed

File Status Preview URL Details
client/examples/streamingReceive.ts :white_check_mark:Succeeded
client/lib/amqp-common/auth/aad.ts :white_check_mark:Succeeded
client/lib/amqp-common/auth/sas.ts :white_check_mark:Succeeded
client/lib/amqp-common/auth/token.ts :white_check_mark:Succeeded
client/lib/amqp-common/cbs.ts :white_check_mark:Succeeded
client/lib/amqp-common/connectionConfig.ts :white_check_mark:Succeeded
client/lib/amqp-common/dataTransformer.ts :white_check_mark:Succeeded
client/lib/amqp-common/errors.ts :white_check_mark:Succeeded
client/lib/amqp-common/index.ts :white_check_mark:Succeeded
client/lib/amqp-common/log.ts :white_check_mark:Succeeded
client/lib/amqp-common/messageHeader.ts :white_check_mark:Succeeded
client/lib/amqp-common/messageProperties.ts :white_check_mark:Succeeded
client/lib/amqp-common/requestResponseLink.ts :white_check_mark:Succeeded
client/lib/amqp-common/retry.ts :white_check_mark:Succeeded
client/lib/amqp-common/util/constants.ts :white_check_mark:Succeeded
client/lib/amqp-common/util/utils.ts :white_check_mark:Succeeded
client/lib/batchingReceiver.ts :white_check_mark:Succeeded
client/lib/connectionContext.ts :white_check_mark:Succeeded
client/lib/eventData.ts :white_check_mark:Succeeded
client/lib/eventHubClient.ts :white_check_mark:Succeeded
client/lib/eventHubReceiver.ts :white_check_mark:Succeeded
client/lib/eventHubSender.ts :white_check_mark:Succeeded
client/lib/eventPosition.ts :white_check_mark:Succeeded
client/lib/index.ts :white_check_mark:Succeeded
client/lib/iothub/iotHubConnectionConfig.ts :white_check_mark:Succeeded
client/lib/iothub/iotSas.ts :white_check_mark:Succeeded
client/lib/iothub/iothubClient.ts :white_check_mark:Succeeded
client/lib/linkEntity.ts :white_check_mark:Succeeded
client/lib/managementClient.ts :white_check_mark:Succeeded
client/lib/rhea-promise/connection.ts :white_check_mark:Succeeded
client/lib/rhea-promise/index.ts :white_check_mark:Succeeded
client/lib/rhea-promise/log.ts :white_check_mark:Succeeded
client/lib/rhea-promise/receiver.ts :white_check_mark:Succeeded
client/lib/rhea-promise/sender.ts :white_check_mark:Succeeded
client/lib/rhea-promise/session.ts :white_check_mark:Succeeded
client/lib/rhea-promise/util/constants.ts :white_check_mark:Succeeded
client/lib/streamingReceiver.ts :white_check_mark:Succeeded
client/lib/util/constants.ts :white_check_mark:Succeeded
client/package-lock.json :white_check_mark:Succeeded
client/package.json :white_check_mark:Succeeded
client/tests/config.spec.ts :white_check_mark:Succeeded
client/tests/dataTransformer.spec.ts :white_check_mark:Succeeded
client/tests/errors.spec.ts :white_check_mark:Succeeded
client/tests/retry.spec.ts :white_check_mark:Succeeded

For more details, please refer to the build report.

Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

amarzavery commented 6 years ago

:white_check_mark: Validation status: passed

File Status Preview URL Details
client/examples/streamingReceive.ts :white_check_mark:Succeeded
client/lib/amqp-common/auth/aad.ts :white_check_mark:Succeeded
client/lib/amqp-common/auth/sas.ts :white_check_mark:Succeeded
client/lib/amqp-common/auth/token.ts :white_check_mark:Succeeded
client/lib/amqp-common/cbs.ts :white_check_mark:Succeeded
client/lib/amqp-common/connectionConfig.ts :white_check_mark:Succeeded
client/lib/amqp-common/dataTransformer.ts :white_check_mark:Succeeded
client/lib/amqp-common/errors.ts :white_check_mark:Succeeded
client/lib/amqp-common/index.ts :white_check_mark:Succeeded
client/lib/amqp-common/log.ts :white_check_mark:Succeeded
client/lib/amqp-common/messageHeader.ts :white_check_mark:Succeeded
client/lib/amqp-common/messageProperties.ts :white_check_mark:Succeeded
client/lib/amqp-common/requestResponseLink.ts :white_check_mark:Succeeded
client/lib/amqp-common/retry.ts :white_check_mark:Succeeded
client/lib/amqp-common/util/constants.ts :white_check_mark:Succeeded
client/lib/amqp-common/util/utils.ts :white_check_mark:Succeeded
client/lib/batchingReceiver.ts :white_check_mark:Succeeded
client/lib/connectionContext.ts :white_check_mark:Succeeded
client/lib/eventData.ts :white_check_mark:Succeeded
client/lib/eventHubClient.ts :white_check_mark:Succeeded
client/lib/eventHubReceiver.ts :white_check_mark:Succeeded
client/lib/eventHubSender.ts :white_check_mark:Succeeded
client/lib/eventPosition.ts :white_check_mark:Succeeded
client/lib/index.ts :white_check_mark:Succeeded
client/lib/iothub/iotHubConnectionConfig.ts :white_check_mark:Succeeded
client/lib/iothub/iotSas.ts :white_check_mark:Succeeded
client/lib/iothub/iothubClient.ts :white_check_mark:Succeeded
client/lib/linkEntity.ts :white_check_mark:Succeeded
client/lib/managementClient.ts :white_check_mark:Succeeded
client/lib/rhea-promise/connection.ts :white_check_mark:Succeeded
client/lib/rhea-promise/index.ts :white_check_mark:Succeeded
client/lib/rhea-promise/log.ts :white_check_mark:Succeeded
client/lib/rhea-promise/receiver.ts :white_check_mark:Succeeded
client/lib/rhea-promise/sender.ts :white_check_mark:Succeeded
client/lib/rhea-promise/session.ts :white_check_mark:Succeeded
client/lib/rhea-promise/util/constants.ts :white_check_mark:Succeeded
client/lib/streamingReceiver.ts :white_check_mark:Succeeded
client/lib/util/constants.ts :white_check_mark:Succeeded
client/package-lock.json :white_check_mark:Succeeded
client/package.json :white_check_mark:Succeeded
client/tests/config.spec.ts :white_check_mark:Succeeded
client/tests/dataTransformer.spec.ts :white_check_mark:Succeeded
client/tests/errors.spec.ts :white_check_mark:Succeeded
client/tests/retry.spec.ts :white_check_mark:Succeeded
processor/lib/azureBlob.ts :white_check_mark:Succeeded
processor/lib/blobService.ts :white_check_mark:Succeeded
processor/lib/hostContext.ts :white_check_mark:Succeeded
processor/lib/partitionContext.ts :white_check_mark:Succeeded
processor/lib/partitionScanner.ts :white_check_mark:Succeeded
processor/lib/util/constants.ts :white_check_mark:Succeeded

This comment lists only the first 50 files in the pull request. For more details, please refer to the build report.

Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

amarzavery commented 6 years ago

:white_check_mark: Validation status: passed

File Status Preview URL Details
client/examples/streamingReceive.ts :white_check_mark:Succeeded
client/lib/amqp-common/auth/aad.ts :white_check_mark:Succeeded
client/lib/amqp-common/auth/sas.ts :white_check_mark:Succeeded
client/lib/amqp-common/auth/token.ts :white_check_mark:Succeeded
client/lib/amqp-common/cbs.ts :white_check_mark:Succeeded
client/lib/amqp-common/connectionConfig.ts :white_check_mark:Succeeded
client/lib/amqp-common/dataTransformer.ts :white_check_mark:Succeeded
client/lib/amqp-common/errors.ts :white_check_mark:Succeeded
client/lib/amqp-common/index.ts :white_check_mark:Succeeded
client/lib/amqp-common/log.ts :white_check_mark:Succeeded
client/lib/amqp-common/messageHeader.ts :white_check_mark:Succeeded
client/lib/amqp-common/messageProperties.ts :white_check_mark:Succeeded
client/lib/amqp-common/requestResponseLink.ts :white_check_mark:Succeeded
client/lib/amqp-common/retry.ts :white_check_mark:Succeeded
client/lib/amqp-common/util/constants.ts :white_check_mark:Succeeded
client/lib/amqp-common/util/utils.ts :white_check_mark:Succeeded
client/lib/batchingReceiver.ts :white_check_mark:Succeeded
client/lib/connectionContext.ts :white_check_mark:Succeeded
client/lib/eventData.ts :white_check_mark:Succeeded
client/lib/eventHubClient.ts :white_check_mark:Succeeded
client/lib/eventHubReceiver.ts :white_check_mark:Succeeded
client/lib/eventHubSender.ts :white_check_mark:Succeeded
client/lib/eventPosition.ts :white_check_mark:Succeeded
client/lib/index.ts :white_check_mark:Succeeded
client/lib/iothub/iotHubConnectionConfig.ts :white_check_mark:Succeeded
client/lib/iothub/iotSas.ts :white_check_mark:Succeeded
client/lib/iothub/iothubClient.ts :white_check_mark:Succeeded
client/lib/linkEntity.ts :white_check_mark:Succeeded
client/lib/managementClient.ts :white_check_mark:Succeeded
client/lib/rhea-promise/connection.ts :white_check_mark:Succeeded
client/lib/rhea-promise/index.ts :white_check_mark:Succeeded
client/lib/rhea-promise/log.ts :white_check_mark:Succeeded
client/lib/rhea-promise/receiver.ts :white_check_mark:Succeeded
client/lib/rhea-promise/sender.ts :white_check_mark:Succeeded
client/lib/rhea-promise/session.ts :white_check_mark:Succeeded
client/lib/rhea-promise/util/constants.ts :white_check_mark:Succeeded
client/lib/streamingReceiver.ts :white_check_mark:Succeeded
client/lib/util/constants.ts :white_check_mark:Succeeded
client/package-lock.json :white_check_mark:Succeeded
client/package.json :white_check_mark:Succeeded
client/tests/config.spec.ts :white_check_mark:Succeeded
client/tests/dataTransformer.spec.ts :white_check_mark:Succeeded
client/tests/errors.spec.ts :white_check_mark:Succeeded
client/tests/retry.spec.ts :white_check_mark:Succeeded
processor/lib/azureBlob.ts :white_check_mark:Succeeded
processor/lib/blobService.ts :white_check_mark:Succeeded
processor/lib/hostContext.ts :white_check_mark:Succeeded
processor/lib/partitionContext.ts :white_check_mark:Succeeded
processor/lib/partitionScanner.ts :white_check_mark:Succeeded
processor/lib/util/constants.ts :white_check_mark:Succeeded

This comment lists only the first 50 files in the pull request. For more details, please refer to the build report.

Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

amarzavery commented 6 years ago

:white_check_mark: Validation status: passed

File Status Preview URL Details
client/examples/streamingReceive.ts :white_check_mark:Succeeded
client/lib/amqp-common/auth/aad.ts :white_check_mark:Succeeded
client/lib/amqp-common/auth/sas.ts :white_check_mark:Succeeded
client/lib/amqp-common/auth/token.ts :white_check_mark:Succeeded
client/lib/amqp-common/cbs.ts :white_check_mark:Succeeded
client/lib/amqp-common/connectionConfig.ts :white_check_mark:Succeeded
client/lib/amqp-common/dataTransformer.ts :white_check_mark:Succeeded
client/lib/amqp-common/errors.ts :white_check_mark:Succeeded
client/lib/amqp-common/index.ts :white_check_mark:Succeeded
client/lib/amqp-common/log.ts :white_check_mark:Succeeded
client/lib/amqp-common/messageHeader.ts :white_check_mark:Succeeded
client/lib/amqp-common/messageProperties.ts :white_check_mark:Succeeded
client/lib/amqp-common/requestResponseLink.ts :white_check_mark:Succeeded
client/lib/amqp-common/retry.ts :white_check_mark:Succeeded
client/lib/amqp-common/util/constants.ts :white_check_mark:Succeeded
client/lib/amqp-common/util/utils.ts :white_check_mark:Succeeded
client/lib/batchingReceiver.ts :white_check_mark:Succeeded
client/lib/connectionContext.ts :white_check_mark:Succeeded
client/lib/eventData.ts :white_check_mark:Succeeded
client/lib/eventHubClient.ts :white_check_mark:Succeeded
client/lib/eventHubReceiver.ts :white_check_mark:Succeeded
client/lib/eventHubSender.ts :white_check_mark:Succeeded
client/lib/eventPosition.ts :white_check_mark:Succeeded
client/lib/index.ts :white_check_mark:Succeeded
client/lib/iothub/iotHubConnectionConfig.ts :white_check_mark:Succeeded
client/lib/iothub/iotSas.ts :white_check_mark:Succeeded
client/lib/iothub/iothubClient.ts :white_check_mark:Succeeded
client/lib/linkEntity.ts :white_check_mark:Succeeded
client/lib/managementClient.ts :white_check_mark:Succeeded
client/lib/rhea-promise/connection.ts :white_check_mark:Succeeded
client/lib/rhea-promise/index.ts :white_check_mark:Succeeded
client/lib/rhea-promise/log.ts :white_check_mark:Succeeded
client/lib/rhea-promise/receiver.ts :white_check_mark:Succeeded
client/lib/rhea-promise/sender.ts :white_check_mark:Succeeded
client/lib/rhea-promise/session.ts :white_check_mark:Succeeded
client/lib/rhea-promise/util/constants.ts :white_check_mark:Succeeded
client/lib/streamingReceiver.ts :white_check_mark:Succeeded
client/lib/util/constants.ts :white_check_mark:Succeeded
client/package-lock.json :white_check_mark:Succeeded
client/package.json :white_check_mark:Succeeded
client/tests/config.spec.ts :white_check_mark:Succeeded
client/tests/dataTransformer.spec.ts :white_check_mark:Succeeded
client/tests/errors.spec.ts :white_check_mark:Succeeded
client/tests/retry.spec.ts :white_check_mark:Succeeded
processor/lib/azureBlob.ts :white_check_mark:Succeeded
processor/lib/blobService.ts :white_check_mark:Succeeded
processor/lib/hostContext.ts :white_check_mark:Succeeded
processor/lib/partitionContext.ts :white_check_mark:Succeeded
processor/lib/partitionScanner.ts :white_check_mark:Succeeded
processor/lib/util/constants.ts :white_check_mark:Succeeded

This comment lists only the first 50 files in the pull request. For more details, please refer to the build report.

Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

amarzavery commented 6 years ago

:white_check_mark: Validation status: passed

File Status Preview URL Details
client/examples/streamingReceive.ts :white_check_mark:Succeeded
client/lib/amqp-common/auth/aad.ts :white_check_mark:Succeeded
client/lib/amqp-common/auth/sas.ts :white_check_mark:Succeeded
client/lib/amqp-common/auth/token.ts :white_check_mark:Succeeded
client/lib/amqp-common/cbs.ts :white_check_mark:Succeeded
client/lib/amqp-common/connectionConfig.ts :white_check_mark:Succeeded
client/lib/amqp-common/dataTransformer.ts :white_check_mark:Succeeded
client/lib/amqp-common/errors.ts :white_check_mark:Succeeded
client/lib/amqp-common/index.ts :white_check_mark:Succeeded
client/lib/amqp-common/log.ts :white_check_mark:Succeeded
client/lib/amqp-common/messageHeader.ts :white_check_mark:Succeeded
client/lib/amqp-common/messageProperties.ts :white_check_mark:Succeeded
client/lib/amqp-common/requestResponseLink.ts :white_check_mark:Succeeded
client/lib/amqp-common/retry.ts :white_check_mark:Succeeded
client/lib/amqp-common/util/constants.ts :white_check_mark:Succeeded
client/lib/amqp-common/util/utils.ts :white_check_mark:Succeeded
client/lib/batchingReceiver.ts :white_check_mark:Succeeded
client/lib/connectionContext.ts :white_check_mark:Succeeded
client/lib/eventData.ts :white_check_mark:Succeeded
client/lib/eventHubClient.ts :white_check_mark:Succeeded
client/lib/eventHubReceiver.ts :white_check_mark:Succeeded
client/lib/eventHubSender.ts :white_check_mark:Succeeded
client/lib/eventPosition.ts :white_check_mark:Succeeded
client/lib/index.ts :white_check_mark:Succeeded
client/lib/iothub/iotHubConnectionConfig.ts :white_check_mark:Succeeded
client/lib/iothub/iotSas.ts :white_check_mark:Succeeded
client/lib/iothub/iothubClient.ts :white_check_mark:Succeeded
client/lib/linkEntity.ts :white_check_mark:Succeeded
client/lib/managementClient.ts :white_check_mark:Succeeded
client/lib/rhea-promise/connection.ts :white_check_mark:Succeeded
client/lib/rhea-promise/index.ts :white_check_mark:Succeeded
client/lib/rhea-promise/log.ts :white_check_mark:Succeeded
client/lib/rhea-promise/receiver.ts :white_check_mark:Succeeded
client/lib/rhea-promise/sender.ts :white_check_mark:Succeeded
client/lib/rhea-promise/session.ts :white_check_mark:Succeeded
client/lib/rhea-promise/util/constants.ts :white_check_mark:Succeeded
client/lib/streamingReceiver.ts :white_check_mark:Succeeded
client/lib/util/constants.ts :white_check_mark:Succeeded
client/package-lock.json :white_check_mark:Succeeded
client/package.json :white_check_mark:Succeeded
client/tests/config.spec.ts :white_check_mark:Succeeded
client/tests/dataTransformer.spec.ts :white_check_mark:Succeeded
client/tests/errors.spec.ts :white_check_mark:Succeeded
client/tests/retry.spec.ts :white_check_mark:Succeeded
processor/lib/azureBlob.ts :white_check_mark:Succeeded
processor/lib/blobService.ts :white_check_mark:Succeeded
processor/lib/hostContext.ts :white_check_mark:Succeeded
processor/lib/partitionContext.ts :white_check_mark:Succeeded
processor/lib/partitionScanner.ts :white_check_mark:Succeeded
processor/lib/util/constants.ts :white_check_mark:Succeeded

This comment lists only the first 50 files in the pull request. For more details, please refer to the build report.

Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.