Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<concord.version>2.1.0</concord.version>
<concord.version>2.25.0</concord.version>
<testcontainers.version>1.19.7</testcontainers.version>
<jetbrains.annotations.version>19.0.0</jetbrains.annotations.version>
<junit5.version>5.8.2</junit5.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import java.io.*;
import java.util.*;
import java.util.function.Predicate;
import java.util.stream.Collectors;

public class ConcordProcess {

Expand Down Expand Up @@ -213,16 +212,12 @@ public List<String> getLogLines() throws ApiException {
}

public List<String> getLogLines(Predicate<String> lineFilter) throws ApiException {
try {
return IOUtils.readLines(
new InputStreamReader(
new ByteArrayInputStream(getLog())))
.stream()
.filter(lineFilter)
.collect(Collectors.toList());
} catch (IOException ioex) {
throw new RuntimeException("Failed to read log lines", ioex);
}
return IOUtils.readLines(
new InputStreamReader(
new ByteArrayInputStream(getLog())))
.stream()
.filter(lineFilter)
.toList();
}

public byte[] getLog() throws ApiException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public ProjectOperationResponse create(String orgName, String projectName) throw
ProjectEntry projectEntry = new ProjectEntry()
.name(projectName)
.orgName(orgName)
.acceptsRawPayload(Boolean.TRUE)
.rawPayloadMode(ProjectEntry.RawPayloadModeEnum.EVERYONE)
.visibility(ProjectEntry.VisibilityEnum.PUBLIC);

Expand Down