Skip to content

Support ApiServer to enforce POST requests for state changing APIs and requests with timestamps#10899

Merged
DaanHoogland merged 10 commits into
apache:mainfrom
shapeblue:support-apiserver-to-enforce-post-requests-with-timestamps
Jul 5, 2025
Merged

Support ApiServer to enforce POST requests for state changing APIs and requests with timestamps#10899
DaanHoogland merged 10 commits into
apache:mainfrom
shapeblue:support-apiserver-to-enforce-post-requests-with-timestamps

UI changes for new api calls in CreateKubernetesCluster, KubernetesSe…

a1f2604
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Jul 4, 2025 in 0s

11.11% of diff hit (target 16.58%)

View this Pull Request on Codecov

11.11% of diff hit (target 16.58%)

Annotations

Check warning on line 452 in server/src/main/java/com/cloud/api/ApiServer.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServer.java#L452

Added line #L452 was not covered by tests

Check warning on line 735 in server/src/main/java/com/cloud/api/ApiServer.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServer.java#L733-L735

Added lines #L733 - L735 were not covered by tests

Check warning on line 1035 in server/src/main/java/com/cloud/api/ApiServer.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServer.java#L1035

Added line #L1035 was not covered by tests

Check warning on line 1045 in server/src/main/java/com/cloud/api/ApiServer.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServer.java#L1042-L1045

Added lines #L1042 - L1045 were not covered by tests

Check warning on line 1050 in server/src/main/java/com/cloud/api/ApiServer.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServer.java#L1049-L1050

Added lines #L1049 - L1050 were not covered by tests

Check warning on line 243 in server/src/main/java/com/cloud/api/ApiServlet.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServlet.java#L243

Added line #L243 was not covered by tests

Check warning on line 245 in server/src/main/java/com/cloud/api/ApiServlet.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServlet.java#L245

Added line #L245 was not covered by tests

Check warning on line 248 in server/src/main/java/com/cloud/api/ApiServlet.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServlet.java#L247-L248

Added lines #L247 - L248 were not covered by tests

Check warning on line 369 in server/src/main/java/com/cloud/api/ApiServlet.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServlet.java#L369

Added line #L369 was not covered by tests

Check warning on line 371 in server/src/main/java/com/cloud/api/ApiServlet.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServlet.java#L371

Added line #L371 was not covered by tests

Check warning on line 375 in server/src/main/java/com/cloud/api/ApiServlet.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServlet.java#L373-L375

Added lines #L373 - L375 were not covered by tests

Check warning on line 378 in server/src/main/java/com/cloud/api/ApiServlet.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServlet.java#L377-L378

Added lines #L377 - L378 were not covered by tests

Check warning on line 471 in server/src/main/java/com/cloud/api/ApiServlet.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServlet.java#L471

Added line #L471 was not covered by tests

Check warning on line 474 in server/src/main/java/com/cloud/api/ApiServlet.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServlet.java#L474

Added line #L474 was not covered by tests

Check warning on line 478 in server/src/main/java/com/cloud/api/ApiServlet.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServlet.java#L478

Added line #L478 was not covered by tests

Check warning on line 718 in server/src/main/java/com/cloud/api/ApiServlet.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServlet.java#L718

Added line #L718 was not covered by tests

Check warning on line 720 in server/src/main/java/com/cloud/api/ApiServlet.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServlet.java#L720

Added line #L720 was not covered by tests

Check warning on line 723 in server/src/main/java/com/cloud/api/ApiServlet.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServlet.java#L723

Added line #L723 was not covered by tests

Check warning on line 726 in server/src/main/java/com/cloud/api/ApiServlet.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServlet.java#L726

Added line #L726 was not covered by tests

Check warning on line 730 in server/src/main/java/com/cloud/api/ApiServlet.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServlet.java#L729-L730

Added lines #L729 - L730 were not covered by tests

Check warning on line 737 in server/src/main/java/com/cloud/api/ApiServlet.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServlet.java#L736-L737

Added lines #L736 - L737 were not covered by tests

Check warning on line 742 in server/src/main/java/com/cloud/api/ApiServlet.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServlet.java#L741-L742

Added lines #L741 - L742 were not covered by tests

Check warning on line 747 in server/src/main/java/com/cloud/api/ApiServlet.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServlet.java#L747

Added line #L747 was not covered by tests

Check warning on line 751 in server/src/main/java/com/cloud/api/ApiServlet.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServlet.java#L749-L751

Added lines #L749 - L751 were not covered by tests

Check warning on line 754 in server/src/main/java/com/cloud/api/ApiServlet.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/com/cloud/api/ApiServlet.java#L753-L754

Added lines #L753 - L754 were not covered by tests