$ ls .
Dockerfile module.xml ojdbc11.jar
$ cat module.xml
<module xmlns="urn:jboss:module:1.9" name="com.oracle">
<resources>
<resource-root path="ojdbc11.jar"/>
</resources>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
REPO="wildfly/wildfly-glow" | |
if [ -n "${GLOW_VERSION}" ]; then | |
echo "🔍 Fetching ${GLOW_VERSION} release from GitHub..." | |
url="https://github.com/$REPO/releases/download/$GLOW_VERSION/wildfly-glow-$GLOW_VERSION.zip" | |
else | |
echo "🔍 Fetching latest release from GitHub..." | |
url=$(curl -s https://api.github.com/repos/$REPO/releases/latest \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- version: "29.0.0.Final" | |
techPreview: false | |
space: "default" | |
featurePacks: | |
- id: "org.wildfly:wildfly-galleon-pack:29.0.0.Final" | |
layers: | |
- name: "metrics" | |
rules: {} | |
- name: "ee-integration" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///usr/bin/env jbang "$0" "$@" ; exit $? | |
//DEPS org.wildfly.bom:wildfly-expansion:35.0.1.Final@pom | |
//DEPS org.wildfly.glow:wildfly-glow:1.3.2.Final | |
//DEPS jakarta.ws.rs:jakarta.ws.rs-api | |
//DEPS jakarta.enterprise:jakarta.enterprise.cdi-api | |
//DEPS dev.langchain4j:langchain4j:1.0.0-beta1 | |
//GLOW --spaces=incubating | |
import dev.langchain4j.data.message.*; | |
import dev.langchain4j.model.chat.ChatLanguageModel; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///usr/bin/env jbang "$0" "$@" ; exit $? | |
//DEPS org.wildfly.bom:wildfly-expansion:35.0.1.Final@pom | |
//DEPS org.wildfly.glow:wildfly-glow:1.3.2.Final | |
//DEPS jakarta.ws.rs:jakarta.ws.rs-api | |
//DEPS jakarta.enterprise:jakarta.enterprise.cdi-api | |
//DEPS dev.langchain4j:langchain4j-bom:1.0.0-beta2@pom | |
//DEPS dev.langchain4j:langchain4j | |
//GLOW --spaces=incubating | |
// Do not forget to first pull the Ollama model with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///usr/bin/env jbang "$0" "$@" ; exit $? | |
//DEPS com.github.lalyos:jfiglet:0.0.8 | |
//DEPS org.wildfly.bom:wildfly-expansion:35.0.1.Final@pom | |
//DEPS jakarta.ws.rs:jakarta.ws.rs-api | |
//DEPS jakarta.enterprise:jakarta.enterprise.cdi-api | |
//DEPS org.eclipse.microprofile.config:microprofile-config-api | |
//DEPS org.wildfly.glow:wildfly-glow:1.3.2.Final | |
import jakarta.enterprise.context.ApplicationScoped; | |
import jakarta.ws.rs.*; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///usr/bin/env jbang "$0" "$@" ; exit $? | |
//DEPS com.github.lalyos:jfiglet:0.0.8 | |
//DEPS org.wildfly.bom:wildfly-expansion:35.0.1.Final@pom | |
//DEPS jakarta.ws.rs:jakarta.ws.rs-api | |
//DEPS jakarta.enterprise:jakarta.enterprise.cdi-api | |
//DEPS org.wildfly.glow:wildfly-glow:1.3.2.Final | |
import jakarta.enterprise.context.ApplicationScoped; | |
import jakarta.ws.rs.*; | |
import jakarta.ws.rs.core.*; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///usr/bin/env jbang "$0" "$@" ; exit $? | |
//DEPS com.github.lalyos:jfiglet:0.0.8 | |
import com.github.lalyos.jfiglet.FigletFont; | |
class myapp { | |
public static void main(String[] args) throws Exception { | |
String name = args.length==0 ? "World" : args[0]; | |
String hello = String.format("Hello, %s!", name); | |
System.out.println(FigletFont.convertOneLine(hello)); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///usr/bin/env jbang "$0" "$@" ; exit $? | |
//JAVA 17+ | |
//DEPS org.wildfly.bom:wildfly-expansion:35.0.1.Final@pom | |
//DEPS org.wildfly.glow:wildfly-glow:1.3.2.Final | |
//DEPS jakarta.ws.rs:jakarta.ws.rs-api | |
//DEPS jakarta.enterprise:jakarta.enterprise.cdi-api | |
//DEPS org.eclipse.microprofile.config:microprofile-config-api | |
import jakarta.enterprise.context.ApplicationScoped; | |
import jakarta.inject.Inject; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12:16:24,610 INFO [org.wildfly.security] ELY00001: WildFly Elytron version 2.6.0.Final | |
12:16:24,715 DEBUG [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:3c9eb1fc89f733d3, Subject:CN=JCE Code Signing CA, OU=Java Software Code Signing, O=Oracle Corporation, Issuer:CN=JCE Code Signing CA, OU=Java Software Code Signing, O=Oracle Corporation, Key type:RSA, Length:2048, Cert Id:3044386973, Valid from:7/6/16, 11:48 PM, Valid until:12/31/30, 12:00 AM | |
12:16:24,718 DEBUG [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:8874f23f4bbf63bd806a7aeb0a12cf4672bba2a, Subject:CN=Legion of the Bouncy Castle Inc., OU=Java Software Code Signing, O=Oracle Corporation, Issuer:CN=JCE Code Signing CA, OU=Java Software Code Signing, O=Oracle Corporation, Key type:DSA, Length:2048, Cert Id:2266411741, Valid from:1/25/22, 12:58 AM, Valid until:1/25/27, 12:58 AM | |
12:16:24,724 DEBUG [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:544aff3949d0839a6bfdb3f5fe56116, Subject:CN=DigiCert Timestamp |
NewerOlder