Skip to content

Instantly share code, notes, and snippets.

View t1's full-sized avatar

Rüdiger zu Dohna t1

View GitHub Profile
@t1
t1 / T1_CLA
Last active January 6, 2018 07:18 — forked from CLAassistant/SAP_CLA
Individual Contributor License Agreement
###t1 Individual Contributor License Agreement
Thank you for your interest in contributing to open source software projects (“Projects”) made available on github/t1 (“t1”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to t1 in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact opensource@sap.com.
You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.
**Copyright License.** You hereby grant, and agree to grant, to t1 a non-exclusive, perpetual, irrevocable, worldwide, fully-paid, roya

Keybase proof

I hereby claim:

  • I am t1 on github.
  • I am rdohna (https://keybase.io/rdohna) on keybase.
  • I have a public key ASBnwAnc1t-QLhMzVD48dANE6351IcGLd4K-oe5LfyupPwo

To claim this, I am signing this object:

@t1
t1 / beans.xml
Last active May 23, 2023 04:29
Empty beans.xml 3.0
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="https://jakarta.ee/xml/ns/jakartaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/beans_4_0.xsd"
bean-discovery-mode="all">
</beans>
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger - %msg%n</pattern>
</encoder>
</appender>
<root level="debug">
<appender-ref ref="STDOUT"/>
</root>
@t1
t1 / maven.yml
Created December 21, 2022 11:41
GitHub Action
name: Java CI
on:
push:
schedule: [ cron: '42 0 * * 5' ] # weekly: At 00:42 on Friday
jobs:
build:
strategy:
matrix:
# see https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
@t1
t1 / application.properties
Created March 30, 2023 15:04
standard quarkus graphql settings
quarkus.smallrye-graphql.show-runtime-exception-message = java.lang.RuntimeException
quarkus.smallrye-graphql.error-extension-fields = [exception,classification,code,description,validationErrorType,queryPath]
quarkus.hibernate-orm.database.generation = update
quarkus.datasource.devservices.port = 5432
@t1
t1 / wildfly-maven-plugin
Last active May 25, 2023 04:20
wildfly-maven-plugin configured to include GraphQL feature pack
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<version>4.1.0.Final</version>
<configuration>
<feature-packs>
<feature-pack>
<location>wildfly@maven(org.jboss.universe:community-universe):current#28.0.1.Final</location>
</feature-pack>
<feature-pack>
# suppress inspection "UnusedProperty" for whole file
mp.graphql.allowGet = true
mp.graphql.showErrorMessage = java.lang.RuntimeException
smallrye.graphql.unwrapExceptions = \
java.lang.RuntimeException,\
java.lang.IllegalStateException,\
java.util.concurrent.CompletionException,\
jakarta.ejb.EJBException,\
jakarta.ejb.EJBTransactionRolledbackException
@t1
t1 / wildfly:maven:glow
Last active April 26, 2024 12:50
wildfly-maven-plugin with glow setup for ITs
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<version>5.0.0.Final</version>
<configuration>
<discover-provisioning-info>
<suggest>true</suggest>
</discover-provisioning-info>
<debug>true</debug>
<bootable-jar>true</bootable-jar>