Skip to content

feat(translator): JsonPath in PatchPolicy

Codecov / codecov/patch succeeded Aug 8, 2024 in 0s

57.95% of diff hit (within 5.00% threshold of 60.00%)

View this Pull Request on Codecov

57.95% of diff hit (within 5.00% threshold of 60.00%)

Annotations

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ir/xds.go#L1742-L1743

Added lines #L1742 - L1743 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ir/xds.go#L1746-L1747

Added lines #L1746 - L1747 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 41 in internal/xds/translator/jsonpathtopointer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/xds/translator/jsonpathtopointer.go#L41

Added line #L41 was not covered by tests