Skip to content

azure-core-amqp: Consolidate getEndpointStates and naming changes.#6523

Merged
conniey merged 30 commits into
Azure:masterfrom
conniey:azure-core-fixes
Nov 25, 2019
Merged

azure-core-amqp: Consolidate getEndpointStates and naming changes.#6523
conniey merged 30 commits into
Azure:masterfrom
conniey:azure-core-fixes

Conversation

@conniey

@conniey conniey commented Nov 22, 2019

Copy link
Copy Markdown
Member

This is the last of the azure-core-amqp API review changes.

  • getEndpointStates() is the way we figure out the connection state of an AMQP link, session or connection. If the Flux closes or errors, that implies that the link itself is closed.
    • We had duplicated this work using getErrors() and getShutdownSignals().
  • Classes now use AutoCloseable

@conniey conniey added Event Hubs Client This issue points to a problem in the data-plane of the library. labels Nov 22, 2019
@conniey conniey self-assigned this Nov 22, 2019

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to expand CBS here just like we have done for other types?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CbsAuthorizationType is used in the ClaimsBasedSecurityNode class, I thought it would be overkill.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename this to endpointStates

@conniey
conniey merged commit 3cd81d5 into Azure:master Nov 25, 2019
@conniey
conniey deleted the azure-core-fixes branch November 25, 2019 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Client This issue points to a problem in the data-plane of the library. Event Hubs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants