Apicurio / srs-fleet-manager

Implementation of the Managed Service Registry Service API (aka control plane API).
Apache License 2.0
4 stars 13 forks source link

Search for list Service registries is not implemented #43

Open wtrocki opened 3 years ago

wtrocki commented 3 years ago

Search for list Service registries is not implemented

Originally posted by @wtrocki in https://github.com/bf2fc6cc711aee1a0c2a/srs-fleet-manager/pull/42#r651891884

wtrocki commented 3 years ago

@jsenko Do you mind if we implement very simplistic way to search now that accepts only name="test" and then add other arguments. We need that to complete some of the work in the CLI

wtrocki commented 3 years ago

To do it properly we would need java equivalent to https://github.com/yaacov/tree-search-language/

Example: https://github.com/bf2fc6cc711aee1a0c2a/kas-fleet-manager/blob/11716560ed5baa185c8e656d668195a0e9f60a18/pkg/db/sql_helpers.go#L241

wtrocki commented 3 years ago

There is no solution for Java. I will adapt antrl file and walker to hibernate/quarkus

wtrocki commented 3 years ago

Simple search #65 Advanced WIP version #67

wtrocki commented 3 years ago

Search currently does work only for name=? we should support name = ? later and other fields/LIKE etc. Created ANTRL seems overkill for that purpose but it will guarantee 100% compatibility with other services and generic search that we would want to have for all API objects.