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

Can Nacos support query instances using keyword? #1319

Closed
lexburner opened this issue Jun 4, 2019 · 2 comments
Closed

Can Nacos support query instances using keyword? #1319

lexburner opened this issue Jun 4, 2019 · 2 comments
Assignees
Labels
Milestone

Comments

@lexburner
Copy link
Contributor

lexburner commented Jun 4, 2019

Currently, Naocs support query services using the keyword, like this:

http://ip:8848/nacos/v1/ns/catalog/services?withInstances=false&pageNo=1&pageSize=10000000&keyword=providers:com.alibaba.middleware.sp.dubbo.samples.DemoApi&namespaceId=

in above API, the param withInstances decides the return result whether carry instances information, but in my test, the problem is that when I set withInstances=true, the pageNo and keyword will be ignored. This means Nacos only support query services without instances information using keywords, not support query services with instances information using keywords and pageable param

Can Nacos support thus query API?

http://ip:8848/nacos/v1/ns/catalog/services?withInstances=true&pageNo=1&pageSize=10&keyword=providers:com.alibaba.middleware.sp.dubbo.samples.DemoApi&namespaceId=
@nkorange nkorange mentioned this issue Jun 4, 2019
5 tasks
@nkorange nkorange added this to the 1.0.1 milestone Jun 4, 2019
nkorange added a commit that referenced this issue Jun 4, 2019
@nkorange nkorange self-assigned this Jun 4, 2019
@chuntaojun
Copy link
Collaborator

I will try to solve

@nkorange
Copy link
Collaborator

nkorange commented Jun 4, 2019

I will try to solve

This is already done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants