Create a Sentry module in <jboss-path>/modules/io/sentry/main/module.xml:
<?xml version='1.0' encoding='UTF-8'?>
<module xmlns="urn:jboss:module:1.1" name="io.sentry">
<resources>
<resource-root path="sentry-4.3.0.jar"/>
| SELECT | |
| tablename, | |
| indexname, | |
| indexdef | |
| FROM | |
| pg_indexes | |
| WHERE | |
| schemaname = 'public' | |
| ORDER BY | |
| tablename, |
| ./mvnw com.github.ferstl:depgraph-maven-plugin:3.0.1:aggregate -DcustomStyleConfiguration=./styles.json -DcreateImage=true -Dscope=compile "-Dincludes=org.springframework.boot:*" |
| import org.jetbrains.annotations.Nullable; | |
| import org.jetbrains.annotations.TestOnly; | |
| import java.util.ArrayList; | |
| import java.util.Collections; | |
| import java.util.List; | |
| import io.sentry.protocol.SentryStackFrame; | |
| /** class responsible for converting Java StackTraceElements to SentryStackFrames */ |
| public class VatChecker { | |
| static VatCheckResponse checkVat(String vat) { | |
| return null; | |
| } | |
| } | |
| class VatCheckResponse { | |
| private VatCheckResponse() {} | |
| boolean isValid() { |
| // https://bugs.openjdk.java.net/browse/JDK-8141508 | |
| package com.maciejwalkowiak; | |
| import java.util.Optional; | |
| import org.junit.jupiter.api.Test; | |
| public class FooTest { | |
| @Test |
| package com.example.custombodyannotation; | |
| import java.lang.annotation.ElementType; | |
| import java.lang.annotation.Retention; | |
| import java.lang.annotation.RetentionPolicy; | |
| import java.lang.annotation.Target; | |
| import java.util.List; | |
| import javax.servlet.http.HttpServletRequest; |
| package io.awspring.cloud.s3.crossregion; | |
| import java.util.concurrent.ConcurrentHashMap; | |
| import java.util.concurrent.ConcurrentLinkedDeque; | |
| import java.util.concurrent.locks.ReadWriteLock; | |
| import java.util.concurrent.locks.ReentrantReadWriteLock; | |
| import org.springframework.lang.Nullable; | |
| import org.springframework.util.Assert; |
| import java.util.Arrays; | |
| import java.util.List; | |
| import java.util.Map; | |
| import org.apache.commons.logging.Log; | |
| import org.apache.commons.logging.LogFactory; | |
| import reactor.core.publisher.Mono; | |
| import org.springframework.context.i18n.LocaleContextHolder; | |
| import org.springframework.graphql.server.WebGraphQlHandler; |
| START=$(date +%s.%N) | |
| while [ "$(curl -s -o /dev/null -L -w ''%{http_code}'' http://localhost:8080/hello)" != "200" ]; | |
| do sleep 0.001; | |
| done | |
| END=$(date +%s.%N) | |
| DIFF=$(echo "($END - $START) * 1000" | bc) | |
| echo "Measured" | |
| echo $DIFF |