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

Implement ngt property get API #2584

Merged
merged 20 commits into from
Aug 22, 2024

add unit test

438b4a8
Select commit
Loading
Failed to load commit list.
Merged

Implement ngt property get API #2584

add unit test
438b4a8
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Aug 21, 2024 in 1s

19.37% of diff hit (target 17.37%)

View this Pull Request on Codecov

19.37% of diff hit (target 17.37%)

Annotations

Check warning on line 837 in internal/client/v1/client/vald/vald.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/client/v1/client/vald/vald.go#L833-L837

Added lines #L833 - L837 were not covered by tests

Check warning on line 848 in internal/client/v1/client/vald/vald.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/client/v1/client/vald/vald.go#L840-L848

Added lines #L840 - L848 were not covered by tests

Check warning on line 850 in internal/client/v1/client/vald/vald.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/client/v1/client/vald/vald.go#L850

Added line #L850 was not covered by tests

Check warning on line 1301 in internal/client/v1/client/vald/vald.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/client/v1/client/vald/vald.go#L1297-L1301

Added lines #L1297 - L1301 were not covered by tests

Check warning on line 1304 in internal/client/v1/client/vald/vald.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/client/v1/client/vald/vald.go#L1304

Added line #L1304 was not covered by tests

Check warning on line 404 in internal/core/algorithm/ngt/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/algorithm/ngt/ngt.go#L399-L404

Added lines #L399 - L404 were not covered by tests

Check warning on line 406 in internal/core/algorithm/ngt/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/algorithm/ngt/ngt.go#L406

Added line #L406 was not covered by tests

Check warning on line 414 in internal/core/algorithm/ngt/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/algorithm/ngt/ngt.go#L409-L414

Added lines #L409 - L414 were not covered by tests

Check warning on line 416 in internal/core/algorithm/ngt/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/algorithm/ngt/ngt.go#L416

Added line #L416 was not covered by tests

Check warning on line 424 in internal/core/algorithm/ngt/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/algorithm/ngt/ngt.go#L419-L424

Added lines #L419 - L424 were not covered by tests

Check warning on line 426 in internal/core/algorithm/ngt/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/algorithm/ngt/ngt.go#L426

Added line #L426 was not covered by tests

Check warning on line 438 in internal/core/algorithm/ngt/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/algorithm/ngt/ngt.go#L429-L438

Added lines #L429 - L438 were not covered by tests

Check warning on line 440 in internal/core/algorithm/ngt/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/algorithm/ngt/ngt.go#L440

Added line #L440 was not covered by tests

Check warning on line 460 in internal/core/algorithm/ngt/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/algorithm/ngt/ngt.go#L443-L460

Added lines #L443 - L460 were not covered by tests

Check warning on line 462 in internal/core/algorithm/ngt/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/algorithm/ngt/ngt.go#L462

Added line #L462 was not covered by tests

Check warning on line 250 in pkg/agent/core/ngt/handler/grpc/index.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/agent/core/ngt/handler/grpc/index.go#L250

Added line #L250 was not covered by tests

Check warning on line 255 in pkg/agent/core/ngt/handler/grpc/index.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/agent/core/ngt/handler/grpc/index.go#L255

Added line #L255 was not covered by tests

Check warning on line 2051 in pkg/agent/core/ngt/service/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/agent/core/ngt/service/ngt.go#L2048-L2051

Added lines #L2048 - L2051 were not covered by tests

Check warning on line 2088 in pkg/agent/core/ngt/service/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/agent/core/ngt/service/ngt.go#L2053-L2088

Added lines #L2053 - L2088 were not covered by tests

Check warning on line 4071 in pkg/gateway/lb/handler/grpc/handler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/lb/handler/grpc/handler.go#L4067-L4071

Added lines #L4067 - L4071 were not covered by tests

Check warning on line 4077 in pkg/gateway/lb/handler/grpc/handler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/lb/handler/grpc/handler.go#L4074-L4077

Added lines #L4074 - L4077 were not covered by tests

Check warning on line 4086 in pkg/gateway/lb/handler/grpc/handler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/lb/handler/grpc/handler.go#L4080-L4086

Added lines #L4080 - L4086 were not covered by tests

Check warning on line 4116 in pkg/gateway/lb/handler/grpc/handler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/lb/handler/grpc/handler.go#L4089-L4116

Added lines #L4089 - L4116 were not covered by tests

Check warning on line 4118 in pkg/gateway/lb/handler/grpc/handler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/lb/handler/grpc/handler.go#L4118

Added line #L4118 was not covered by tests

Check warning on line 4123 in pkg/gateway/lb/handler/grpc/handler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/lb/handler/grpc/handler.go#L4120-L4123

Added lines #L4120 - L4123 were not covered by tests