Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
928de5e
IGNITE-28207 IgniteClassPath creation
nizhikov Mar 14, 2026
fae5368
IGNITE-28207 IgniteClassPath creation
nizhikov Mar 14, 2026
78a61f5
IGNITE-28207 IgniteClassPath creation
nizhikov Mar 14, 2026
9c3f016
IGNITE-28207 IgniteClassPath creation
nizhikov Mar 16, 2026
177714b
Merge branch 'master' into IGNITE-28207
nizhikov Apr 27, 2026
6fd1dec
IGNITE-28207 WIP
nizhikov Apr 29, 2026
f0b6a57
IGNITE-28207 WIP
nizhikov Apr 29, 2026
0cc4875
IGNITE-28207 WIP
nizhikov Apr 29, 2026
0e02270
IGNITE-28207 WIP
nizhikov Apr 29, 2026
81f2f12
Merge branch 'master' into IGNITE-28207
nizhikov Apr 29, 2026
e3c22b8
Merge branch 'master' into IGNITE-28207
nizhikov May 20, 2026
fc810dd
WIP
nizhikov May 20, 2026
4eebcf3
WIP
nizhikov May 22, 2026
0cd0292
Merge branch 'master' into IGNITE-28207
nizhikov Jun 3, 2026
5ba63b7
Merge branch 'master' into IGNITE-28207
nizhikov Jun 8, 2026
448dffd
IGNITE-28596 Code review fixes
nizhikov Jun 8, 2026
85ca0f0
IGNITE-28207 Classpath creation process
nizhikov Jun 8, 2026
bcfe771
IGNITE-28207 Classpath creation process
nizhikov Jun 11, 2026
8084dde
Merge branch 'master' into IGNITE-28207
nizhikov Jun 11, 2026
28a3beb
IGNITE-28207 Classpath creation process
nizhikov Jun 11, 2026
1796281
IGNITE-28207 Classpath creation process
nizhikov Jun 12, 2026
3337742
IGNITE-28207 Classpath creation process
nizhikov Jun 15, 2026
86be903
IGNITE-28207 Classpath creation process
nizhikov Jun 15, 2026
f5afa84
Merge branch 'master' into IGNITE-28207
nizhikov Jun 15, 2026
8f3e81b
IGNITE-28207 Classpath creation process
nizhikov Jun 15, 2026
c87bfce
IGNITE-28207 Classpath creation process
nizhikov Jun 15, 2026
5b6e722
IGNITE-28207 Classpath creation process
nizhikov Jun 15, 2026
732fe91
IGNITE-28207 Classpath creation process
nizhikov Jun 16, 2026
0c02408
IGNITE-28207 Classpath creation process
nizhikov Jun 16, 2026
bb60791
IGNITE-28207 Classpath creation process
nizhikov Jun 16, 2026
1c3307a
IGNITE-28207 Classpath creation process
nizhikov Jun 17, 2026
de1be84
IGNITE-28207 Classpath creation process
nizhikov Jun 19, 2026
d28f441
IGNITE-28207 Classpath creation process
nizhikov Jun 19, 2026
8d77e19
IGNITE-28207 Classpath creation process
nizhikov Jun 19, 2026
9fead79
IGNITE-28207 Classpath creation process
nizhikov Jun 19, 2026
5021265
IGNITE-28207 Classpath creation process
nizhikov Jun 19, 2026
d676a80
IGNITE-28207 Classpath creation process
nizhikov Jun 19, 2026
bccd3a3
Merge branch 'master' into IGNITE-28207
nizhikov Jun 19, 2026
dc1c2b8
IGNITE-28207 Move logic to metastorage listener instead of Distribute…
nizhikov Jun 21, 2026
b7db97c
IGNITE-28207 Move logic to metastorage listener instead of Distribute…
nizhikov Jun 21, 2026
2a9f760
IGNITE-28207 Move logic to metastorage listener instead of Distribute…
nizhikov Jun 22, 2026
3249cf9
IGNITE-28207 Move logic to metastorage listener instead of Distribute…
nizhikov Jun 22, 2026
4e8ee69
IGNITE-28207 Move logic to metastorage listener instead of Distribute…
nizhikov Jun 22, 2026
114405a
IGNITE-28207 Move logic to metastorage listener instead of Distribute…
nizhikov Jun 22, 2026
1de4f95
IGNITE-28207 Move logic to metastorage listener instead of Distribute…
nizhikov Jun 22, 2026
bc4e1e5
IGNITE-28207 Move logic to metastorage listener instead of Distribute…
nizhikov Jun 22, 2026
b73e53a
IGNITE-28207 Move logic to metastorage listener instead of Distribute…
nizhikov Jun 22, 2026
d83a080
IGNITE-28207 Move logic to metastorage listener instead of Distribute…
nizhikov Jun 22, 2026
4e97e1d
IGNITE-28207 Move logic to metastorage listener instead of Distribute…
nizhikov Jun 23, 2026
0905614
Merge branch 'master' into IGNITE-28207
nizhikov Jun 23, 2026
a26ce2c
IGNITE-28809 Logic for new node to catch up with cluster state.
nizhikov Jun 24, 2026
4a8440b
IGNITE-28809 Logic for new node to catch up with cluster state.
nizhikov Jun 24, 2026
a972232
IGNITE-28809 Logic for new node to catch up with cluster state.
nizhikov Jun 24, 2026
215a858
IGNITE-28809 Test and changes to move from LOST to READY, again.
nizhikov Jun 25, 2026
d9c5396
Merge branch 'master' into IGNITE-28207
nizhikov Jun 25, 2026
c70764f
IGNITE-28207 Remove implementation WIP
nizhikov Jul 8, 2026
35e8893
IGNITE-28207 Remove implementation WIP
nizhikov Jul 9, 2026
48ce702
Merge branch 'master' into IGNITE-28207
nizhikov Jul 9, 2026
52966b9
IGNITE-28207 Remove implementation WIP
nizhikov Jul 9, 2026
157bf3a
Merge branch 'master' into IGNITE-28207
nizhikov Jul 11, 2026
2b481f2
IGNITE-28207 Remove implementation
nizhikov Jul 13, 2026
5ea2646
IGNITE-28207 Remove implementation
nizhikov Jul 13, 2026
c36d692
Merge branch 'master' into IGNITE-28207
nizhikov Jul 13, 2026
ecd775e
IGNITE-28207 Remove implementation
nizhikov Jul 14, 2026
8a12301
Merge branch 'master' into IGNITE-28207
nizhikov Jul 14, 2026
c0de571
Merge (#13368)
nizhikov Jul 14, 2026
35d954d
Merge branch 'ignite-class-path' into IGNITE-28207
nizhikov Jul 14, 2026
0c3362e
Merge branch 'master' into IGNITE-28207
nizhikov Jul 17, 2026
92408c2
Merge branch 'master' into IGNITE-28207
nizhikov Jul 20, 2026
4a59f44
Merge branch 'master' into IGNITE-28207
nizhikov Jul 21, 2026
aa72faf
Merge branch 'master' into IGNITE-28207
nizhikov Jul 22, 2026
c343fd1
[MINOR] Remove ClassCache interface
nizhikov Jul 22, 2026
4eb3f08
Merge branch 'remove-class-cache-interface' into IGNITE-28207
nizhikov Jul 22, 2026
74d4d32
Merge branch 'master' into IGNITE-28207
nizhikov Jul 22, 2026
db155d2
Merge branch 'master' into IGNITE-28207
nizhikov Jul 28, 2026
1838b5c
Merge branch 'master' into IGNITE-28207
nizhikov Jul 30, 2026
c55e3dc
Merge branch 'master' into IGNITE-28207
nizhikov Jul 30, 2026
bb8d129
Merge branch 'master' into IGNITE-28207
nizhikov Jul 31, 2026
2205e25
Merge branch 'master' into IGNITE-28207
nizhikov Aug 14, 2026
f9f9941
Merge branch 'master' into IGNITE-28207
nizhikov Sep 14, 2026
005c33f
[MINOR] Fix test after IGNITE-28088
nizhikov Sep 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,14 @@ public interface BinaryRawWriter {
*/
public void writeByteArray(@Nullable byte[] val) throws BinaryObjectException;

/**
* @param val Value to write.
* @param off Offset to start write from.
* @param len Count of bytes to write.
* @throws BinaryObjectException In case of error.
*/
public void writeByteArray(@Nullable byte[] val, int off, int len) throws BinaryObjectException;

/**
* @param val Value to write.
* @throws BinaryObjectException In case of error.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -899,6 +899,21 @@ else if (ZERO_COPY)
}
}

/** {@inheritDoc} */
@Override public void writeByteArray(@Nullable byte[] val, int pos, int len) throws BinaryObjectException {
if (val == null)
out.writeByte(GridBinaryMarshaller.NULL);
else {
if (len > val.length)
throw new IllegalArgumentException("len must be less then val.length");

out.unsafeEnsure(1 + 4);
out.unsafeWriteByte(GridBinaryMarshaller.BYTE_ARR);
out.unsafeWriteInt(len);
out.writeByteArray(val, pos, len);
}
}

/** {@inheritDoc} */
@Override public void writeShortArray(String fieldName, @Nullable short[] val) throws BinaryObjectException {
writeFieldId(fieldName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2153,4 +2153,18 @@ public static <T> Collection<T> emptyIfNull(@Nullable Collection<T> col) {
public static <K, V> Map<K, V> emptyIfNull(@Nullable Map<K, V> map) {
return map == null ? Collections.emptyMap() : map;
}

/**
* @param arr Array.
* @param el Element.
* @return Element index or {@code -1} if not found.
*/
public static <T> int indexOf(T[] arr, T el) {
for (int i = 0; i < arr.length; i++) {
if (Objects.equals(arr[i], el))
return i;
}

return -1;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import org.apache.ignite.compute.ComputeTaskFuture;
import org.apache.ignite.configuration.IgniteConfiguration;
import org.apache.ignite.internal.IgniteEx;
import org.apache.ignite.internal.classpath.ClassPathTestUtils;
import org.apache.ignite.internal.client.thin.ServicesTest;
import org.apache.ignite.internal.managers.systemview.GridSystemViewManager;
import org.apache.ignite.internal.processors.security.impl.TestSecurityData;
Expand Down Expand Up @@ -67,6 +68,7 @@
import static org.apache.ignite.internal.processors.job.GridJobProcessor.JOBS_VIEW;
import static org.apache.ignite.internal.processors.task.GridTaskProcessor.TASKS_VIEW;
import static org.apache.ignite.internal.util.IgniteUtils.resolveIgnitePath;
import static org.apache.ignite.plugin.security.SecurityPermission.ADMIN_OPS;
import static org.apache.ignite.plugin.security.SecurityPermission.CACHE_CREATE;
import static org.apache.ignite.plugin.security.SecurityPermission.CACHE_DESTROY;
import static org.apache.ignite.plugin.security.SecurityPermission.CACHE_READ;
Expand Down Expand Up @@ -150,6 +152,17 @@ public void testCacheClear() throws Exception {
checkCommandPermissions(asList("--cache", "clear", "--caches", DEFAULT_CACHE_NAME), cachePermission(CACHE_REMOVE));
}

/** */
@Test
public void testClassPathCreate() throws Exception {
String files = String.join(",", ClassPathTestUtils.fileArg(ClassPathTestUtils.files()));

checkCommandPermissions(
asList("--class-path", "create", "--name", "secured_app", "--files", files),
systemPermissions(ADMIN_OPS)
);
}

/** */
@Test
public void testCacheCreate() throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import org.apache.ignite.util.CacheMetricsCommandTest;
import org.apache.ignite.util.CdcCommandTest;
import org.apache.ignite.util.CdcResendCommandTest;
import org.apache.ignite.util.GridCommandHandlerClassPathTest;
import org.apache.ignite.util.GridCommandHandlerConsistencyBinaryTest;
import org.apache.ignite.util.GridCommandHandlerConsistencySensitiveTest;
import org.apache.ignite.util.GridCommandHandlerConsistencyTest;
Expand Down Expand Up @@ -73,7 +74,8 @@

SecurityCommandHandlerPermissionsTest.class,

IdleVerifyDumpTest.class
IdleVerifyDumpTest.class,
GridCommandHandlerClassPathTest.class
})
public class IgniteControlUtilityTestSuite2 {
}
Loading
Loading