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

Crolke 918 vhost hostname #262

Closed
wants to merge 2 commits into from

Conversation

ChugR
Copy link
Contributor

@ChugR ChugR commented Feb 26, 2018

No description provided.

@ChugR
Copy link
Contributor Author

ChugR commented Feb 26, 2018

This PR adds vhost attribute 'hostname' as the name of the entity. It deprecates vhost attribute 'id'.
Policy code warns if 'id' is used and fails if neither 'id' nor 'hostname' is specified.

@@ -1273,6 +1273,10 @@
"type": "map",
"description": "A map where each key is a user group name and the value is a map of the corresponding settings for that group."
},
"hostname": {
Copy link
Contributor

Choose a reason for hiding this comment

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

Could this use the deprecationName attribute from my earlier PR - https://github.com/apache/qpid-dispatch/pull/261/files#diff-981a10a2c9cab3708f003b402e7f8be4R1060

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can't be used until you check it in...

Copy link
Contributor

Choose a reason for hiding this comment

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

yes, agreed

"hostname": {
"type": "string",
"description": "The vhost name."
},
Copy link
Contributor

Choose a reason for hiding this comment

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

In PR 255, I updated the policy attribute descriptions (including "id") to be more descriptive. For the hostname description, you could use something like this:

The hostname of the vhost. This vhost policy will be applied to any client connection that is directed to the hostname that you specify.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

will do.

@ChugR
Copy link
Contributor Author

ChugR commented Feb 28, 2018

Close this PR and create a new one using @ganeshmurthy deprecationName

@ChugR ChugR closed this Feb 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants