Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable transport type in service properties #22604

Merged

Conversation

zhichengliu12581
Copy link
Contributor

relate issue: #22445

  1. add property in service properties.
  2. set transport type in factory
  3. add test for added property

@ghost ghost added the azure-spring All azure-spring related issues label Jun 28, 2021
@stliu
Copy link
Member

stliu commented Jun 28, 2021

I don't think this is the only missing config property, probably we should add all the missing config here?

@zhichengliu12581
Copy link
Contributor Author

zhichengliu12581 commented Jun 29, 2021

@stliu In order not to block the current issue, I revert the code related to other properties. I will create other tasks to support the properties in the SDK.

@@ -87,6 +89,14 @@ public void testConnectionStringProvided() {
});
}

@Test
public void testTransportTypeWithAmqpWebSockets() {
this.contextRunner.withPropertyValues(SERVICE_BUS_PROPERTY_PREFIX + "transport-type=AmqpWebSockets")
Copy link
Member

Choose a reason for hiding this comment

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

the tested value need to be updated as well.

Copy link
Member

@yiliuTo yiliuTo left a comment

Choose a reason for hiding this comment

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

LGTM

@yiliuTo
Copy link
Member

yiliuTo commented Jun 30, 2021

/azp run java - spring - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yiliuTo
Copy link
Member

yiliuTo commented Jun 30, 2021

/check-enforcer override

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
azure-spring All azure-spring related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants