Skip to content

feat(translator): JsonPath in PatchPolicy

Codecov / codecov/patch failed Aug 8, 2024 in 1s

52.84% of diff hit (target 60.00%)

View this Pull Request on Codecov

52.84% of diff hit (target 60.00%)

Annotations

Check warning on line 1714 in internal/ir/xds.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ir/xds.go#L1713-L1714

Added lines #L1713 - L1714 were not covered by tests

Check warning on line 1718 in internal/ir/xds.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ir/xds.go#L1717-L1718

Added lines #L1717 - L1718 were not covered by tests

Check warning on line 251 in internal/xds/translator/jsonpatch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpatch.go#L251

Added line #L251 was not covered by tests

Check warning on line 271 in internal/xds/translator/jsonpatch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpatch.go#L271

Added line #L271 was not covered by tests

Check warning on line 277 in internal/xds/translator/jsonpatch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpatch.go#L277

Added line #L277 was not covered by tests

Check warning on line 283 in internal/xds/translator/jsonpatch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpatch.go#L283

Added line #L283 was not covered by tests

Check warning on line 293 in internal/xds/translator/jsonpatch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpatch.go#L293

Added line #L293 was not covered by tests

Check warning on line 312 in internal/xds/translator/jsonpatch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpatch.go#L310-L312

Added lines #L310 - L312 were not covered by tests

Check warning on line 317 in internal/xds/translator/jsonpatch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpatch.go#L315-L317

Added lines #L315 - L317 were not covered by tests

Check warning on line 324 in internal/xds/translator/jsonpatch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpatch.go#L322-L324

Added lines #L322 - L324 were not covered by tests

Check warning on line 329 in internal/xds/translator/jsonpatch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpatch.go#L327-L329

Added lines #L327 - L329 were not covered by tests

Check warning on line 334 in internal/xds/translator/jsonpatch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpatch.go#L332-L334

Added lines #L332 - L334 were not covered by tests

Check warning on line 341 in internal/xds/translator/jsonpatch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpatch.go#L336-L341

Added lines #L336 - L341 were not covered by tests

Check warning on line 346 in internal/xds/translator/jsonpatch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpatch.go#L343-L346

Added lines #L343 - L346 were not covered by tests

Check warning on line 351 in internal/xds/translator/jsonpatch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpatch.go#L348-L351

Added lines #L348 - L351 were not covered by tests

Check warning on line 358 in internal/xds/translator/jsonpatch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpatch.go#L356-L358

Added lines #L356 - L358 were not covered by tests

Check warning on line 363 in internal/xds/translator/jsonpatch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpatch.go#L361-L363

Added lines #L361 - L363 were not covered by tests

Check warning on line 368 in internal/xds/translator/jsonpatch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpatch.go#L366-L368

Added lines #L366 - L368 were not covered by tests

Check warning on line 375 in internal/xds/translator/jsonpatch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpatch.go#L373-L375

Added lines #L373 - L375 were not covered by tests

Check warning on line 380 in internal/xds/translator/jsonpatch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpatch.go#L378-L380

Added lines #L378 - L380 were not covered by tests

Check warning on line 385 in internal/xds/translator/jsonpatch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpatch.go#L383-L385

Added lines #L383 - L385 were not covered by tests

Check warning on line 17 in internal/xds/translator/jsonpathtopointer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpathtopointer.go#L17

Added line #L17 was not covered by tests

Check warning on line 36 in internal/xds/translator/jsonpathtopointer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpathtopointer.go#L36

Added line #L36 was not covered by tests

Check warning on line 60 in internal/xds/translator/jsonpathtopointer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpathtopointer.go#L60

Added line #L60 was not covered by tests

Check warning on line 81 in internal/xds/translator/jsonpathtopointer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpathtopointer.go#L80-L81

Added lines #L80 - L81 were not covered by tests