Skip to content

Commit

Permalink
disable upload sarif
Browse files Browse the repository at this point in the history
  • Loading branch information
fugerit79 committed Apr 15, 2024
1 parent 12a1c6c commit eca2ca9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build_maven_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ jobs:
snyk-dockertag: fj-doc-playground-quarkus
maven-additional-profiles: ',buildreact'
disable-maven-dependency-submission: ${{ vars.DISABLE_MAVEN_DEPENDENCY_SUBMISSION }}
disable-upload-sarif: ${{ vars.DISABLE_UPLOAD_SARIF }}
maven-core: '2'
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.io.Reader;
import java.util.stream.Collectors;

import jakarta.ws.rs.core.NewCookie;
import org.fugerit.java.core.io.StreamIO;
import org.fugerit.java.core.lang.helpers.StringUtils;
import org.fugerit.java.core.util.collection.OptionItem;
Expand All @@ -26,6 +27,7 @@ public class CatalogRest {
@Produces(MediaType.APPLICATION_JSON)
@Path("/list/type/{type}")
public Response catalogListFilterType( @PathParam("type") String type ) {

return RestHelper.defaultHandle( () -> Response.ok().entity(
DocCatalogSample.getInstance().getPlaygroundCoreCatalog()
.stream().filter( e -> type.equalsIgnoreCase( e.getType() ) ).map(
Expand Down

0 comments on commit eca2ca9

Please sign in to comment.