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

Relay: Fixed issue #8775 : #9900

Merged
merged 6 commits into from
Jul 10, 2019
Merged

Relay: Fixed issue #8775 : #9900

merged 6 commits into from
Jul 10, 2019

Conversation

v-Ajnava
Copy link
Member

Fixed issue #8775 : Cannot create hybrid connection with disabled client authroization


This checklist is used to make sure that common guidelines for a pull request are followed.

  • The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

  • I adhere to the Command Guidelines.

@v-Ajnava v-Ajnava changed the title Fixed issue #8775 : Relay: Fixed issue #8775 : Jul 10, 2019
@@ -3,6 +3,11 @@
Release History
===============

**Relay**
Copy link
Member

Choose a reason for hiding this comment

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

This needs to be alphabetical in the list.

Copy link
Member Author

Choose a reason for hiding this comment

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

sur, will make change

c.argument('user_metadata', help='Endpoint metadata')

with self.argument_context('relay wcfrelay update') as c:
c.argument('relay_name', arg_type=name_type, id_part='child_name_1', help='Name of WCF Relay')
c.argument('status', arg_type=get_enum_type(['Active', 'Disabled', 'SendDisabled', 'ReceiveDisabled']), help='Enumerates the possible values for the status of a messaging entity.')
c.argument('relay_type', arg_type=get_enum_type(['Http', 'NetTcp']), default='NetTcp', help='Relay type')
c.argument('requires_client_authorization', arg_type=get_three_state_flag(), help='Indicates whether client authorization is required')
c.argument('requires_transport_security', arg_type=get_three_state_flag(), help='Indicates whether transport security is required')
Copy link
Member

Choose a reason for hiding this comment

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

You don't need this duplication. This should just be registered under a scope of 'relay wcfrelay'.

Copy link
Member Author

Choose a reason for hiding this comment

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

Let me check with PM, as 'requires_client_authorization' and 'requires_transport_security' can be set only at create wcfrelay and can not be changed. I think its should be removed from update command.

@tjprescott tjprescott added this to the Sprint 65 milestone Jul 10, 2019
@tjprescott tjprescott merged commit 2c54f65 into Azure:dev Jul 10, 2019
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.

None yet

2 participants