Skip to content

Artifact search returns incorrect artifacts #6298

Open
@jonsnowseven

Description

@jonsnowseven

SDK client returns an artifact incorrectly if the artifact name is contained in an existing one.

Description

Registry
Version
: 3.0.9
Persistence type: sql

Environment

Steps to Reproduce

  1. Register an AVRO artifact with group id group and name name-test
  2. Run
     client.search().artifacts().get(
                getRequestConfiguration -> {
                  checkNotNull(getRequestConfiguration.queryParameters);
                  getRequestConfiguration.queryParameters.name = "name";
                  getRequestConfiguration.queryParameters.groupId = "group";
                });
  3. It returns the artifact with group id group and name name-test

Expected vs Actual Behaviour

The SDK should not return any result but returns an artifact.

Logs

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions