Skip to content

feat: support to fetch route_id and service_id via ctx.var#2326

Merged
membphis merged 10 commits intoapache:masterfrom
Firstsawyou:var-service_id-route_id
Sep 27, 2020
Merged

feat: support to fetch route_id and service_id via ctx.var#2326
membphis merged 10 commits intoapache:masterfrom
Firstsawyou:var-service_id-route_id

Conversation

@Firstsawyou
Copy link
Contributor

@Firstsawyou Firstsawyou commented Sep 26, 2020

What this PR does / why we need it:

fix #2275
Add support to fetch consumer_name via ctx.var, the way of consumer_name is added by the next PR, because waiting for #2270 PR merge.

Pre-submission checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible?

Copy link
Member

@membphis membphis left a comment

Choose a reason for hiding this comment

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

and we need a test case for server_id is nil. eg: the route object not bind any service object.

@membphis membphis merged commit b1770d4 into apache:master Sep 27, 2020
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.

feat: support to fetch consumer_name, route_id and service_id via ctx.var

3 participants