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

New concept not available on c11y/concepts endpoint #1061

Closed
bobvanluijt opened this issue Jan 7, 2020 · 1 comment
Closed

New concept not available on c11y/concepts endpoint #1061

bobvanluijt opened this issue Jan 7, 2020 · 1 comment
Assignees

Comments

@bobvanluijt
Copy link
Member

How to reproduce:

GET http://localhost:8080/v1/c11y/concepts/kubectl

Result (i.e., not found, we might actually want to show that):

{
    "individualWords": [
        {
            "word": "kubectl"
        }
    ]
}

then: POST http://localhost:8080/v1/c11y/extensions with data object:

{
  "concept": "kubectl",
  "definition": "The CLI tool to administer Kubernetes clusters",
  "weight": 1
}

Now, when running GET http://localhost:8080/v1/c11y/concepts/kubectl again. The result is still:

{
    "individualWords": [
        {
            "word": "kubectl"
        }
    ]
}

The expected result is to find the actual data objects related to a word that's found.

@etiennedi
Copy link
Member

fixed in 0.21.9 (74485a7)

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

No branches or pull requests

2 participants