Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
243064b
DXP-2486 Add streamx run, stream and batch commands for StreamX 2.0 (…
stan-r-ds Dec 29, 2025
eb63811
mockito
stan-r-ds Dec 29, 2025
288ccf8
java 21
stan-r-ds Dec 29, 2025
e8ac81a
add missing validation
stan-r-ds Dec 29, 2025
9761683
Remove Resource class
stan-r-ds Dec 29, 2025
46a6874
Restore banner
stan-r-ds Dec 29, 2025
74f6c6d
Remove unnecessary plugin
stan-r-ds Dec 29, 2025
cad43e5
Use cli source
stan-r-ds Dec 29, 2025
c8ca778
Increase test coverage
stan-r-ds Dec 29, 2025
9776c77
Use jvm
stan-r-ds Dec 29, 2025
dca7a18
Use temurin
stan-r-ds Dec 30, 2025
18fdda4
Move test file, add test for default values
stan-r-ds Dec 30, 2025
f08a25d
Better newline diff comparison
stan-r-ds Dec 30, 2025
16501c8
Use native
stan-r-ds Dec 30, 2025
dd8a24b
restore {}
stan-r-ds Dec 30, 2025
0b9fcd3
Improve handling of ByteBuffer fields
stan-r-ds Dec 31, 2025
2145fc8
CloudEventBuilder fixes
stan-r-ds Dec 31, 2025
403fd23
fixes
stan-r-ds Dec 31, 2025
d3f7eae
fix codestyle
stan-r-ds Dec 31, 2025
1f13cc6
Small fix
stan-r-ds Dec 31, 2025
811cab5
Use new streamx-service-mesh version
stan-r-ds Jan 5, 2026
6b6e62d
Don't use native
stan-r-ds Jan 5, 2026
ec213a6
Minor fixes
stan-r-ds Jan 5, 2026
c6eba11
add debug logging
stan-r-ds Jan 5, 2026
cd8b684
Remove repository volume
stan-r-ds Jan 5, 2026
976a3d6
Volumes cleanup
stan-r-ds Jan 5, 2026
0158222
Temporarily allow releasing preview on demand
stan-r-ds Jan 5, 2026
58337de
Temporarily embed releasing preview on demand into PR CI
stan-r-ds Jan 5, 2026
8e1100e
Make release preview to use specific branch
stan-r-ds Jan 5, 2026
3ba20b4
Restore recent changes regarding preview releasing
stan-r-ds Jan 5, 2026
ee83d91
Rename json.paths.to.encode.to.base64 to json.fields.as-base64
stan-r-ds Jan 12, 2026
a0b9cc6
Formatting agnostic verification
stan-r-ds Jan 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
@@ -1,6 +1,7 @@
package dev.streamx.cli;

import java.io.File;
import java.nio.file.Path;
import java.util.regex.Pattern;
import java.util.stream.Stream;

Expand Down Expand Up @@ -39,7 +40,10 @@ private String findStreamxJar() {
.filter(File::exists)
.map(File::listFiles)
.flatMap(Stream::of)
.map(File::getAbsolutePath)
.map(File::toPath)
.map(Path::toAbsolutePath)
.map(Path::normalize)
.map(Path::toString)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove any "/../" from the logged path

.filter(p -> pattern.matcher(p.replace("\\", "/")).matches())
.findFirst()
.orElseThrow(() -> new RuntimeException("Could not find streamx Jar"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ public OsTerminalCommandRunner() {
}

public ShellProcess run(String command) {
logger.info("Running terminal command: " + command);
ProcessBuilder processBuilder = osCommand.create(command);
try {
ShellProcess shellProcess = ShellProcess.run(processBuilder);
logger.info("Terminal command: '" + command + "' started");
processes.add(shellProcess);
return shellProcess;
} catch (IOException e) {
logger.info("Error running terminal command: " + command);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deduplicate log messages for success

throw new RuntimeException(e);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import java.nio.file.Path;
import java.time.Duration;
import org.eclipse.microprofile.config.inject.ConfigProperty;
import org.jetbrains.annotations.NotNull;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance;
Expand Down
Loading