Skip to content

Update GetAudience to Append Entity Path#96

Merged
hmlam merged 1 commit into
masterfrom
util-update
May 19, 2026
Merged

Update GetAudience to Append Entity Path#96
hmlam merged 1 commit into
masterfrom
util-update

Conversation

@jbjordan
Copy link
Copy Markdown
Contributor

@jbjordan jbjordan commented May 19, 2026

HybridConnectionClient uses GetAudience when creating a token. Previously, path was not being added to audience so the token was valid on the namespace level. The bool check was updated to properly add path to audience. All tests passed locally.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates how HybridConnectionClient derives the SAS token audience by ensuring the entity path is included (instead of producing a namespace-level audience), aligning token scope with the specific Hybrid Connection entity.

Changes:

  • Flip the getAudience(URI) path check so non-empty paths are appended to the audience.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/main/java/com/microsoft/azure/relay/HybridConnectionUtil.java
Comment thread src/main/java/com/microsoft/azure/relay/HybridConnectionUtil.java
@hmlam hmlam merged commit 08429af into master May 19, 2026
5 checks passed
@hmlam hmlam deleted the util-update branch May 19, 2026 18:44
jbjordan added a commit that referenced this pull request May 21, 2026
* Merge dev branch into master for version 0.0.4 (#79)

* improve synchronization of fields (#68)

Co-authored-by: bailiu <bailiu@microsoft.com>

* make status description for HTTP response be JSON safe (#69)

* make status description for HTTP response be JSON safe

* assert response description

Co-authored-by: bailiu <bailiu@microsoft.com>

* allow empty URI query param (#67)

Co-authored-by: bailiu <bailiu@microsoft.com>

* Add new API to allow authentication with Azure Identity (#76)

* cleanup unnecessary pom configurations

* Enable authentication using Azure Identity

* add copyright headers

Co-authored-by: bailiu <bailiu@microsoft.com>

* Updating dependency according to github issues (#77)

Co-authored-by: bailiu <bailiu@microsoft.com>

* update version to 0.0.4 (#78)

Co-authored-by: bailiu <bailiu@microsoft.com>

Co-authored-by: bailiu <bailiu@microsoft.com>

* Enables text send and read operations for WebSocket connections.  (#81)

* text write/read support for websockets

* uri encode request path

* Merge state Add more commits by pushing to the fix/write-read-text branch on
giventocode/azure-relay-java.Revert "uri encode request path"

This reverts commit ee855e0. Review required At least 1 approving review
is required by reviewers with write access. # Please enter the commit message for your changes. Lines
starting All checks have passed# with '#' will be ignored, and an empty message aborts the commit. 1
successful check# @microsoft-cla# On branch fix/write-read-text license/cla — All CLA requirements met.#
Your branch is up to date with 'origin/fix/write-read-text'. Required# Details# Changes to be committed:
Merging is blocked# modified: src/main/java/com/microsoft/azure/relay/HybridHttpConnection.java Merging can
be performed automatically with 1 approving review.# modified:
src/test/java/com/microsoft/azure/relay/HybridConnectionListenerTest.java @giventocode#
 #
 #
Leave a comment No file chosen Attach files by dragging & dropping, selecting or pasting them. Remember,
contributions to this repository should follow its code of conduct.
 ProTip! Add .patch or .diff to the end of URLs for Git’s plaintext views. Reviewers No reviews Still in
progress? Assignees No one assigned Labels None yet

* added large message test, pr feedback

* import fixes, and nit

* import fix

* Hybrid HTTP connection handles URL requests with spaces.  (#83)

* encode requests url paths

* PR feedback

Co-authored-by: Bainian Liu <bainian12345@hotmail.com>

* Version Update (#90)

Removed Javadoc throws comment and updated version in pom.xml

* Microsoft mandatory file (#85)

Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
Co-authored-by: Jacob <108886350+jbjordan@users.noreply.github.com>

* Bump json from 20180813 to 20230227 (#92)

Bumps [json](https://github.com/douglascrockford/JSON-java) from 20180813 to 20230227.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jacob <108886350+jbjordan@users.noreply.github.com>

* Update pom.xml to version 0.0.6 (#93)

* Bump org.json:json from 20230227 to 20231013 (#94)

Bumps [org.json:json](https://github.com/douglascrockford/JSON-java) from 20230227 to 20231013.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump com.azure:azure-identity from 1.4.0 to 1.12.2 (#95)

Bumps [com.azure:azure-identity](https://github.com/Azure/azure-sdk-for-java) from 1.4.0 to 1.12.2.
- [Release notes](https://github.com/Azure/azure-sdk-for-java/releases)
- [Commits](Azure/azure-sdk-for-java@azure-json_1.4.0...azure-identity_1.12.2)

---
updated-dependencies:
- dependency-name: com.azure:azure-identity
  dependency-version: 1.12.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update Util (#96)

* Merge dev into master and resolve conflicts (#97)

Agent-Logs-Url: https://github.com/Azure/azure-relay-java/sessions/570c7374-cd9f-48c1-a806-3192052d742e

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jbjordan <108886350+jbjordan@users.noreply.github.com>

* Revert "Merge dev into master and resolve conflicts (#97)" (#98)

This reverts commit bc10c8c.

* merge dev into main (#100)

* improve synchronization of fields (#68)

Co-authored-by: bailiu <bailiu@microsoft.com>

* make status description for HTTP response be JSON safe (#69)

* make status description for HTTP response be JSON safe

* assert response description

Co-authored-by: bailiu <bailiu@microsoft.com>

* allow empty URI query param (#67)

Co-authored-by: bailiu <bailiu@microsoft.com>

* Add new API to allow authentication with Azure Identity (#76)

* cleanup unnecessary pom configurations

* Enable authentication using Azure Identity

* add copyright headers

Co-authored-by: bailiu <bailiu@microsoft.com>

* Updating dependency according to github issues (#77)

Co-authored-by: bailiu <bailiu@microsoft.com>

* update version to 0.0.4 (#78)

Co-authored-by: bailiu <bailiu@microsoft.com>

* Enables text send and read operations for WebSocket connections.  (#81)

* text write/read support for websockets

* uri encode request path

* Merge state Add more commits by pushing to the fix/write-read-text branch on
giventocode/azure-relay-java.Revert "uri encode request path"

This reverts commit ee855e0. Review required At least 1 approving review
is required by reviewers with write access. # Please enter the commit message for your changes. Lines
starting All checks have passed# with '#' will be ignored, and an empty message aborts the commit. 1
successful check# @microsoft-cla# On branch fix/write-read-text license/cla — All CLA requirements met.#
Your branch is up to date with 'origin/fix/write-read-text'. Required# Details# Changes to be committed:
Merging is blocked# modified: src/main/java/com/microsoft/azure/relay/HybridHttpConnection.java Merging can
be performed automatically with 1 approving review.# modified:
src/test/java/com/microsoft/azure/relay/HybridConnectionListenerTest.java @giventocode#
 #
 #
Leave a comment No file chosen Attach files by dragging & dropping, selecting or pasting them. Remember,
contributions to this repository should follow its code of conduct.
 ProTip! Add .patch or .diff to the end of URLs for Git’s plaintext views. Reviewers No reviews Still in
progress? Assignees No one assigned Labels None yet

* added large message test, pr feedback

* import fixes, and nit

* import fix

* Hybrid HTTP connection handles URL requests with spaces.  (#83)

* encode requests url paths

* PR feedback

Co-authored-by: Bainian Liu <bainian12345@hotmail.com>

* .env, logging, and updated dependencies (#88)

* Replace JSR-356 WebSocket implementation with Jetty (#89)

* .env, logging, and updated dependencies

* replace javax.websockets with jetty websockets

* Implement keep-alive via WebSocket Ping (#91)

* .env, logging, and updated dependencies

* replace javax.websockets with jetty websockets

* implement ping

* update interval and fix spacing

* fix whitespace

* formatting

* make ping interval configurable and add test

---------

Co-authored-by: Bainian Liu <bainian12345@hotmail.com>
Co-authored-by: bailiu <bailiu@microsoft.com>
Co-authored-by: Jesus Aguilar <3589801+giventocode@users.noreply.github.com>
Co-authored-by: Todd Venhaus <tvenhaus@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Bainian Liu <bainian12345@hotmail.com>
Co-authored-by: bailiu <bailiu@microsoft.com>
Co-authored-by: Jesus Aguilar <3589801+giventocode@users.noreply.github.com>
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Todd Venhaus <tvenhaus@gmail.com>
jbjordan added a commit that referenced this pull request May 21, 2026
* improve synchronization of fields (#68)

Co-authored-by: bailiu <bailiu@microsoft.com>

* make status description for HTTP response be JSON safe (#69)

* make status description for HTTP response be JSON safe

* assert response description

Co-authored-by: bailiu <bailiu@microsoft.com>

* allow empty URI query param (#67)

Co-authored-by: bailiu <bailiu@microsoft.com>

* Add new API to allow authentication with Azure Identity (#76)

* cleanup unnecessary pom configurations

* Enable authentication using Azure Identity

* add copyright headers

Co-authored-by: bailiu <bailiu@microsoft.com>

* Updating dependency according to github issues (#77)

Co-authored-by: bailiu <bailiu@microsoft.com>

* update version to 0.0.4 (#78)

Co-authored-by: bailiu <bailiu@microsoft.com>

* Enables text send and read operations for WebSocket connections.  (#81)

* text write/read support for websockets

* uri encode request path

* Merge state Add more commits by pushing to the fix/write-read-text branch on
giventocode/azure-relay-java.Revert "uri encode request path"

This reverts commit ee855e0. Review required At least 1 approving review
is required by reviewers with write access. # Please enter the commit message for your changes. Lines
starting All checks have passed# with '#' will be ignored, and an empty message aborts the commit. 1
successful check# @microsoft-cla# On branch fix/write-read-text license/cla — All CLA requirements met.#
Your branch is up to date with 'origin/fix/write-read-text'. Required# Details# Changes to be committed:
Merging is blocked# modified: src/main/java/com/microsoft/azure/relay/HybridHttpConnection.java Merging can
be performed automatically with 1 approving review.# modified:
src/test/java/com/microsoft/azure/relay/HybridConnectionListenerTest.java @giventocode#
 #
 #
Leave a comment No file chosen Attach files by dragging & dropping, selecting or pasting them. Remember,
contributions to this repository should follow its code of conduct.
 ProTip! Add .patch or .diff to the end of URLs for Git’s plaintext views. Reviewers No reviews Still in
progress? Assignees No one assigned Labels None yet

* added large message test, pr feedback

* import fixes, and nit

* import fix

* Hybrid HTTP connection handles URL requests with spaces.  (#83)

* encode requests url paths

* PR feedback

Co-authored-by: Bainian Liu <bainian12345@hotmail.com>

* .env, logging, and updated dependencies (#88)

* Replace JSR-356 WebSocket implementation with Jetty (#89)

* .env, logging, and updated dependencies

* replace javax.websockets with jetty websockets

* Implement keep-alive via WebSocket Ping (#91)

* .env, logging, and updated dependencies

* replace javax.websockets with jetty websockets

* implement ping

* update interval and fix spacing

* fix whitespace

* formatting

* make ping interval configurable and add test

* Rebase dev (#104)

* Merge dev branch into master for version 0.0.4 (#79)

* improve synchronization of fields (#68)

Co-authored-by: bailiu <bailiu@microsoft.com>

* make status description for HTTP response be JSON safe (#69)

* make status description for HTTP response be JSON safe

* assert response description

Co-authored-by: bailiu <bailiu@microsoft.com>

* allow empty URI query param (#67)

Co-authored-by: bailiu <bailiu@microsoft.com>

* Add new API to allow authentication with Azure Identity (#76)

* cleanup unnecessary pom configurations

* Enable authentication using Azure Identity

* add copyright headers

Co-authored-by: bailiu <bailiu@microsoft.com>

* Updating dependency according to github issues (#77)

Co-authored-by: bailiu <bailiu@microsoft.com>

* update version to 0.0.4 (#78)

Co-authored-by: bailiu <bailiu@microsoft.com>

Co-authored-by: bailiu <bailiu@microsoft.com>

* Enables text send and read operations for WebSocket connections.  (#81)

* text write/read support for websockets

* uri encode request path

* Merge state Add more commits by pushing to the fix/write-read-text branch on
giventocode/azure-relay-java.Revert "uri encode request path"

This reverts commit ee855e0. Review required At least 1 approving review
is required by reviewers with write access. # Please enter the commit message for your changes. Lines
starting All checks have passed# with '#' will be ignored, and an empty message aborts the commit. 1
successful check# @microsoft-cla# On branch fix/write-read-text license/cla — All CLA requirements met.#
Your branch is up to date with 'origin/fix/write-read-text'. Required# Details# Changes to be committed:
Merging is blocked# modified: src/main/java/com/microsoft/azure/relay/HybridHttpConnection.java Merging can
be performed automatically with 1 approving review.# modified:
src/test/java/com/microsoft/azure/relay/HybridConnectionListenerTest.java @giventocode#
 #
 #
Leave a comment No file chosen Attach files by dragging & dropping, selecting or pasting them. Remember,
contributions to this repository should follow its code of conduct.
 ProTip! Add .patch or .diff to the end of URLs for Git’s plaintext views. Reviewers No reviews Still in
progress? Assignees No one assigned Labels None yet

* added large message test, pr feedback

* import fixes, and nit

* import fix

* Hybrid HTTP connection handles URL requests with spaces.  (#83)

* encode requests url paths

* PR feedback

Co-authored-by: Bainian Liu <bainian12345@hotmail.com>

* Version Update (#90)

Removed Javadoc throws comment and updated version in pom.xml

* Microsoft mandatory file (#85)

Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
Co-authored-by: Jacob <108886350+jbjordan@users.noreply.github.com>

* Bump json from 20180813 to 20230227 (#92)

Bumps [json](https://github.com/douglascrockford/JSON-java) from 20180813 to 20230227.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jacob <108886350+jbjordan@users.noreply.github.com>

* Update pom.xml to version 0.0.6 (#93)

* Bump org.json:json from 20230227 to 20231013 (#94)

Bumps [org.json:json](https://github.com/douglascrockford/JSON-java) from 20230227 to 20231013.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump com.azure:azure-identity from 1.4.0 to 1.12.2 (#95)

Bumps [com.azure:azure-identity](https://github.com/Azure/azure-sdk-for-java) from 1.4.0 to 1.12.2.
- [Release notes](https://github.com/Azure/azure-sdk-for-java/releases)
- [Commits](Azure/azure-sdk-for-java@azure-json_1.4.0...azure-identity_1.12.2)

---
updated-dependencies:
- dependency-name: com.azure:azure-identity
  dependency-version: 1.12.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update Util (#96)

* Merge dev into master and resolve conflicts (#97)

Agent-Logs-Url: https://github.com/Azure/azure-relay-java/sessions/570c7374-cd9f-48c1-a806-3192052d742e

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jbjordan <108886350+jbjordan@users.noreply.github.com>

* Revert "Merge dev into master and resolve conflicts (#97)" (#98)

This reverts commit bc10c8c.

* merge dev into main (#100)

* improve synchronization of fields (#68)

Co-authored-by: bailiu <bailiu@microsoft.com>

* make status description for HTTP response be JSON safe (#69)

* make status description for HTTP response be JSON safe

* assert response description

Co-authored-by: bailiu <bailiu@microsoft.com>

* allow empty URI query param (#67)

Co-authored-by: bailiu <bailiu@microsoft.com>

* Add new API to allow authentication with Azure Identity (#76)

* cleanup unnecessary pom configurations

* Enable authentication using Azure Identity

* add copyright headers

Co-authored-by: bailiu <bailiu@microsoft.com>

* Updating dependency according to github issues (#77)

Co-authored-by: bailiu <bailiu@microsoft.com>

* update version to 0.0.4 (#78)

Co-authored-by: bailiu <bailiu@microsoft.com>

* Enables text send and read operations for WebSocket connections.  (#81)

* text write/read support for websockets

* uri encode request path

* Merge state Add more commits by pushing to the fix/write-read-text branch on
giventocode/azure-relay-java.Revert "uri encode request path"

This reverts commit ee855e0. Review required At least 1 approving review
is required by reviewers with write access. # Please enter the commit message for your changes. Lines
starting All checks have passed# with '#' will be ignored, and an empty message aborts the commit. 1
successful check# @microsoft-cla# On branch fix/write-read-text license/cla — All CLA requirements met.#
Your branch is up to date with 'origin/fix/write-read-text'. Required# Details# Changes to be committed:
Merging is blocked# modified: src/main/java/com/microsoft/azure/relay/HybridHttpConnection.java Merging can
be performed automatically with 1 approving review.# modified:
src/test/java/com/microsoft/azure/relay/HybridConnectionListenerTest.java @giventocode#
 #
 #
Leave a comment No file chosen Attach files by dragging & dropping, selecting or pasting them. Remember,
contributions to this repository should follow its code of conduct.
 ProTip! Add .patch or .diff to the end of URLs for Git’s plaintext views. Reviewers No reviews Still in
progress? Assignees No one assigned Labels None yet

* added large message test, pr feedback

* import fixes, and nit

* import fix

* Hybrid HTTP connection handles URL requests with spaces.  (#83)

* encode requests url paths

* PR feedback

Co-authored-by: Bainian Liu <bainian12345@hotmail.com>

* .env, logging, and updated dependencies (#88)

* Replace JSR-356 WebSocket implementation with Jetty (#89)

* .env, logging, and updated dependencies

* replace javax.websockets with jetty websockets

* Implement keep-alive via WebSocket Ping (#91)

* .env, logging, and updated dependencies

* replace javax.websockets with jetty websockets

* implement ping

* update interval and fix spacing

* fix whitespace

* formatting

* make ping interval configurable and add test

---------

Co-authored-by: Bainian Liu <bainian12345@hotmail.com>
Co-authored-by: bailiu <bailiu@microsoft.com>
Co-authored-by: Jesus Aguilar <3589801+giventocode@users.noreply.github.com>
Co-authored-by: Todd Venhaus <tvenhaus@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Bainian Liu <bainian12345@hotmail.com>
Co-authored-by: bailiu <bailiu@microsoft.com>
Co-authored-by: Jesus Aguilar <3589801+giventocode@users.noreply.github.com>
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Todd Venhaus <tvenhaus@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Bainian Liu <bainian12345@hotmail.com>
Co-authored-by: bailiu <bailiu@microsoft.com>
Co-authored-by: Jesus Aguilar <3589801+giventocode@users.noreply.github.com>
Co-authored-by: Todd Venhaus <tvenhaus@gmail.com>
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
jbjordan added a commit that referenced this pull request May 21, 2026
* improve synchronization of fields (#68)

Co-authored-by: bailiu <bailiu@microsoft.com>

* make status description for HTTP response be JSON safe (#69)

* make status description for HTTP response be JSON safe

* assert response description

Co-authored-by: bailiu <bailiu@microsoft.com>

* allow empty URI query param (#67)

Co-authored-by: bailiu <bailiu@microsoft.com>

* Add new API to allow authentication with Azure Identity (#76)

* cleanup unnecessary pom configurations

* Enable authentication using Azure Identity

* add copyright headers

Co-authored-by: bailiu <bailiu@microsoft.com>

* Updating dependency according to github issues (#77)

Co-authored-by: bailiu <bailiu@microsoft.com>

* update version to 0.0.4 (#78)

Co-authored-by: bailiu <bailiu@microsoft.com>

* Enables text send and read operations for WebSocket connections.  (#81)

* text write/read support for websockets

* uri encode request path

* Merge state Add more commits by pushing to the fix/write-read-text branch on
giventocode/azure-relay-java.Revert "uri encode request path"

This reverts commit ee855e0. Review required At least 1 approving review
is required by reviewers with write access. # Please enter the commit message for your changes. Lines
starting All checks have passed# with '#' will be ignored, and an empty message aborts the commit. 1
successful check# @microsoft-cla# On branch fix/write-read-text license/cla — All CLA requirements met.#
Your branch is up to date with 'origin/fix/write-read-text'. Required# Details# Changes to be committed:
Merging is blocked# modified: src/main/java/com/microsoft/azure/relay/HybridHttpConnection.java Merging can
be performed automatically with 1 approving review.# modified:
src/test/java/com/microsoft/azure/relay/HybridConnectionListenerTest.java @giventocode#
 #
 #
Leave a comment No file chosen Attach files by dragging & dropping, selecting or pasting them. Remember,
contributions to this repository should follow its code of conduct.
 ProTip! Add .patch or .diff to the end of URLs for Git’s plaintext views. Reviewers No reviews Still in
progress? Assignees No one assigned Labels None yet

* added large message test, pr feedback

* import fixes, and nit

* import fix

* Hybrid HTTP connection handles URL requests with spaces.  (#83)

* encode requests url paths

* PR feedback

Co-authored-by: Bainian Liu <bainian12345@hotmail.com>

* .env, logging, and updated dependencies (#88)

* Replace JSR-356 WebSocket implementation with Jetty (#89)

* .env, logging, and updated dependencies

* replace javax.websockets with jetty websockets

* Implement keep-alive via WebSocket Ping (#91)

* .env, logging, and updated dependencies

* replace javax.websockets with jetty websockets

* implement ping

* update interval and fix spacing

* fix whitespace

* formatting

* make ping interval configurable and add test

* Rebase dev (#104)

* Merge dev branch into master for version 0.0.4 (#79)

* improve synchronization of fields (#68)

Co-authored-by: bailiu <bailiu@microsoft.com>

* make status description for HTTP response be JSON safe (#69)

* make status description for HTTP response be JSON safe

* assert response description

Co-authored-by: bailiu <bailiu@microsoft.com>

* allow empty URI query param (#67)

Co-authored-by: bailiu <bailiu@microsoft.com>

* Add new API to allow authentication with Azure Identity (#76)

* cleanup unnecessary pom configurations

* Enable authentication using Azure Identity

* add copyright headers

Co-authored-by: bailiu <bailiu@microsoft.com>

* Updating dependency according to github issues (#77)

Co-authored-by: bailiu <bailiu@microsoft.com>

* update version to 0.0.4 (#78)

Co-authored-by: bailiu <bailiu@microsoft.com>

Co-authored-by: bailiu <bailiu@microsoft.com>

* Enables text send and read operations for WebSocket connections.  (#81)

* text write/read support for websockets

* uri encode request path

* Merge state Add more commits by pushing to the fix/write-read-text branch on
giventocode/azure-relay-java.Revert "uri encode request path"

This reverts commit ee855e0. Review required At least 1 approving review
is required by reviewers with write access. # Please enter the commit message for your changes. Lines
starting All checks have passed# with '#' will be ignored, and an empty message aborts the commit. 1
successful check# @microsoft-cla# On branch fix/write-read-text license/cla — All CLA requirements met.#
Your branch is up to date with 'origin/fix/write-read-text'. Required# Details# Changes to be committed:
Merging is blocked# modified: src/main/java/com/microsoft/azure/relay/HybridHttpConnection.java Merging can
be performed automatically with 1 approving review.# modified:
src/test/java/com/microsoft/azure/relay/HybridConnectionListenerTest.java @giventocode#
 #
 #
Leave a comment No file chosen Attach files by dragging & dropping, selecting or pasting them. Remember,
contributions to this repository should follow its code of conduct.
 ProTip! Add .patch or .diff to the end of URLs for Git’s plaintext views. Reviewers No reviews Still in
progress? Assignees No one assigned Labels None yet

* added large message test, pr feedback

* import fixes, and nit

* import fix

* Hybrid HTTP connection handles URL requests with spaces.  (#83)

* encode requests url paths

* PR feedback

Co-authored-by: Bainian Liu <bainian12345@hotmail.com>

* Version Update (#90)

Removed Javadoc throws comment and updated version in pom.xml

* Microsoft mandatory file (#85)

Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
Co-authored-by: Jacob <108886350+jbjordan@users.noreply.github.com>

* Bump json from 20180813 to 20230227 (#92)

Bumps [json](https://github.com/douglascrockford/JSON-java) from 20180813 to 20230227.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jacob <108886350+jbjordan@users.noreply.github.com>

* Update pom.xml to version 0.0.6 (#93)

* Bump org.json:json from 20230227 to 20231013 (#94)

Bumps [org.json:json](https://github.com/douglascrockford/JSON-java) from 20230227 to 20231013.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump com.azure:azure-identity from 1.4.0 to 1.12.2 (#95)

Bumps [com.azure:azure-identity](https://github.com/Azure/azure-sdk-for-java) from 1.4.0 to 1.12.2.
- [Release notes](https://github.com/Azure/azure-sdk-for-java/releases)
- [Commits](Azure/azure-sdk-for-java@azure-json_1.4.0...azure-identity_1.12.2)

---
updated-dependencies:
- dependency-name: com.azure:azure-identity
  dependency-version: 1.12.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update Util (#96)

* Merge dev into master and resolve conflicts (#97)

Agent-Logs-Url: https://github.com/Azure/azure-relay-java/sessions/570c7374-cd9f-48c1-a806-3192052d742e

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jbjordan <108886350+jbjordan@users.noreply.github.com>

* Revert "Merge dev into master and resolve conflicts (#97)" (#98)

This reverts commit bc10c8c.

* merge dev into main (#100)

* improve synchronization of fields (#68)

Co-authored-by: bailiu <bailiu@microsoft.com>

* make status description for HTTP response be JSON safe (#69)

* make status description for HTTP response be JSON safe

* assert response description

Co-authored-by: bailiu <bailiu@microsoft.com>

* allow empty URI query param (#67)

Co-authored-by: bailiu <bailiu@microsoft.com>

* Add new API to allow authentication with Azure Identity (#76)

* cleanup unnecessary pom configurations

* Enable authentication using Azure Identity

* add copyright headers

Co-authored-by: bailiu <bailiu@microsoft.com>

* Updating dependency according to github issues (#77)

Co-authored-by: bailiu <bailiu@microsoft.com>

* update version to 0.0.4 (#78)

Co-authored-by: bailiu <bailiu@microsoft.com>

* Enables text send and read operations for WebSocket connections.  (#81)

* text write/read support for websockets

* uri encode request path

* Merge state Add more commits by pushing to the fix/write-read-text branch on
giventocode/azure-relay-java.Revert "uri encode request path"

This reverts commit ee855e0. Review required At least 1 approving review
is required by reviewers with write access. # Please enter the commit message for your changes. Lines
starting All checks have passed# with '#' will be ignored, and an empty message aborts the commit. 1
successful check# @microsoft-cla# On branch fix/write-read-text license/cla — All CLA requirements met.#
Your branch is up to date with 'origin/fix/write-read-text'. Required# Details# Changes to be committed:
Merging is blocked# modified: src/main/java/com/microsoft/azure/relay/HybridHttpConnection.java Merging can
be performed automatically with 1 approving review.# modified:
src/test/java/com/microsoft/azure/relay/HybridConnectionListenerTest.java @giventocode#
 #
 #
Leave a comment No file chosen Attach files by dragging & dropping, selecting or pasting them. Remember,
contributions to this repository should follow its code of conduct.
 ProTip! Add .patch or .diff to the end of URLs for Git’s plaintext views. Reviewers No reviews Still in
progress? Assignees No one assigned Labels None yet

* added large message test, pr feedback

* import fixes, and nit

* import fix

* Hybrid HTTP connection handles URL requests with spaces.  (#83)

* encode requests url paths

* PR feedback

Co-authored-by: Bainian Liu <bainian12345@hotmail.com>

* .env, logging, and updated dependencies (#88)

* Replace JSR-356 WebSocket implementation with Jetty (#89)

* .env, logging, and updated dependencies

* replace javax.websockets with jetty websockets

* Implement keep-alive via WebSocket Ping (#91)

* .env, logging, and updated dependencies

* replace javax.websockets with jetty websockets

* implement ping

* update interval and fix spacing

* fix whitespace

* formatting

* make ping interval configurable and add test

---------

Co-authored-by: Bainian Liu <bainian12345@hotmail.com>
Co-authored-by: bailiu <bailiu@microsoft.com>
Co-authored-by: Jesus Aguilar <3589801+giventocode@users.noreply.github.com>
Co-authored-by: Todd Venhaus <tvenhaus@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Bainian Liu <bainian12345@hotmail.com>
Co-authored-by: bailiu <bailiu@microsoft.com>
Co-authored-by: Jesus Aguilar <3589801+giventocode@users.noreply.github.com>
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Todd Venhaus <tvenhaus@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Bainian Liu <bainian12345@hotmail.com>
Co-authored-by: bailiu <bailiu@microsoft.com>
Co-authored-by: Jesus Aguilar <3589801+giventocode@users.noreply.github.com>
Co-authored-by: Todd Venhaus <tvenhaus@gmail.com>
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants