Pochatkin commented on code in PR #6625:
URL: https://github.com/apache/ignite-3/pull/6625#discussion_r2376098703


##########
modules/code-deployment/src/integrationTest/java/org/apache/ignite/internal/deployment/ItDeploymentUnitTest.java:
##########
@@ -281,4 +281,18 @@ public void testAbaValidation() {
 
         smallUnit.waitUnitClean(igniteImpl(2));
     }
+
+    @Test
+    public void testZipDeploy() {
+        String id = "test";
+        Unit unit = files.deployAndVerifyFlatZip(id, 
Version.parseVersion("1.1.0"), igniteImpl(1));
+
+        Unit unit2 = files.deployAndVerifyTreeZip(id, 
Version.parseVersion("1.1.1"), igniteImpl(1));
+
+        UnitStatuses status = buildStatus(id, unit, unit2);
+
+        await().timeout(2, SECONDS)
+                .pollDelay(500, MILLISECONDS)
+                .until(() -> 
igniteImpl(2).deployment().clusterStatusesAsync(), willBe(List.of(status)));

Review Comment:
   Done



##########
modules/rest-api/src/main/java/org/apache/ignite/internal/rest/api/deployment/DeploymentCodeApi.java:
##########
@@ -77,7 +80,14 @@ CompletableFuture<Boolean> deploy(
             Optional<InitialDeployMode> deployMode,
             @QueryValue
             @Schema(name = "initialNodes", requiredMode = REQUIRED, 
description = "List of node identifiers to deploy to.")
-            Optional<List<String>> initialNodes
+            Optional<List<String>> initialNodes,
+            @Parameter(
+                    name = "X-Unzip-Units",

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to