File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed
src/main/java/org/trellisldp/ext/quarkus Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ plugins {
1111ext {
1212
1313 // Trellis core
14- trellisVersion = " 0.14.1 "
14+ trellisVersion = " 0.15.0 "
1515
1616 // JavaEE
1717 activationApiVersion = " 1.2.2"
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ dependencies {
1818 // Trellis Application
1919 implementation " org.trellisldp:trellis-app"
2020 implementation " org.trellisldp:trellis-cdi"
21+ implementation " org.trellisldp:trellis-http"
2122
2223 // Trellis authN/authZ
2324 implementation " org.trellisldp:trellis-jwt"
Original file line number Diff line number Diff line change 1717
1818import static org .trellisldp .app .AppUtils .printBanner ;
1919
20+ import io .quarkus .arc .DefaultBean ;
21+
2022import java .io .IOException ;
2123
2224import javax .annotation .PostConstruct ;
2325import javax .enterprise .context .ApplicationScoped ;
26+ import javax .enterprise .inject .Produces ;
2427import javax .ws .rs .ApplicationPath ;
2528import javax .ws .rs .core .Application ;
2629
30+ import org .trellisldp .common .DefaultTimemapGenerator ;
31+ import org .trellisldp .common .TimemapGenerator ;
32+
2733/**
2834 * Web Application wrapper.
2935 */
3036@ ApplicationPath ("/" )
3137@ ApplicationScoped
3238public class TrellisApplication extends Application {
3339
40+ private TimemapGenerator timemapGenerator = new DefaultTimemapGenerator ();
41+
3442 @ PostConstruct
3543 void init () throws IOException {
3644 printBanner ("Trellis Database Application" , "org/trellisldp/app/banner.txt" );
3745 }
46+
47+ @ Produces
48+ @ DefaultBean
49+ TimemapGenerator getTimemapGenerator () {
50+ return timemapGenerator ;
51+ }
3852}
You can’t perform that action at this time.
0 commit comments