diff --git a/backend/controller/leases/testdata/java/leases/pom.xml b/backend/controller/leases/testdata/java/leases/pom.xml index ff9711ab38..dd938866c6 100644 --- a/backend/controller/leases/testdata/java/leases/pom.xml +++ b/backend/controller/leases/testdata/java/leases/pom.xml @@ -3,7 +3,7 @@ 4.0.0 xyz.block.ftl.examples leases - 1.0.0-SNAPSHOT + 1.0-SNAPSHOT 1.0-SNAPSHOT @@ -35,7 +35,7 @@ xyz.block ftl-java-runtime - 1.0.0-SNAPSHOT + 1.0-SNAPSHOT io.quarkus diff --git a/examples/kotlin/echo/pom.xml b/examples/kotlin/echo/pom.xml index f4a3a46581..9fee587a75 100644 --- a/examples/kotlin/echo/pom.xml +++ b/examples/kotlin/echo/pom.xml @@ -3,7 +3,7 @@ 4.0.0 xyz.block.ftl.examples echo - 1.0.0-SNAPSHOT + 1.0-SNAPSHOT 1.0-SNAPSHOT @@ -35,7 +35,7 @@ xyz.block ftl-java-runtime - 1.0.0-SNAPSHOT + 1.0-SNAPSHOT io.quarkus diff --git a/examples/kotlin/time/pom.xml b/examples/kotlin/time/pom.xml index 92190cd367..a249eddc10 100644 --- a/examples/kotlin/time/pom.xml +++ b/examples/kotlin/time/pom.xml @@ -3,7 +3,7 @@ 4.0.0 xyz.block.ftl.examples time - 1.0.0-SNAPSHOT + 1.0-SNAPSHOT 1.0-SNAPSHOT @@ -35,7 +35,7 @@ xyz.block ftl-java-runtime - 1.0.0-SNAPSHOT + 1.0-SNAPSHOT io.quarkus diff --git a/java-runtime/ftl-runtime/deployment/pom.xml b/java-runtime/ftl-runtime/deployment/pom.xml index db056f496e..e0cf812d51 100644 --- a/java-runtime/ftl-runtime/deployment/pom.xml +++ b/java-runtime/ftl-runtime/deployment/pom.xml @@ -5,7 +5,7 @@ xyz.block ftl-java-runtime-parent - 1.0.0-SNAPSHOT + 1.0-SNAPSHOT ftl-java-runtime-deployment Ftl Java Runtime - Deployment diff --git a/java-runtime/ftl-runtime/deployment/src/main/java/xyz/block/ftl/deployment/TopicsProcessor.java b/java-runtime/ftl-runtime/deployment/src/main/java/xyz/block/ftl/deployment/TopicsProcessor.java index 367393890a..5459411459 100644 --- a/java-runtime/ftl-runtime/deployment/src/main/java/xyz/block/ftl/deployment/TopicsProcessor.java +++ b/java-runtime/ftl-runtime/deployment/src/main/java/xyz/block/ftl/deployment/TopicsProcessor.java @@ -51,7 +51,7 @@ TopicsBuildItem handleTopics(CombinedIndexBuildItem index, BuildProducer xyz.block ftl-java-runtime-parent - 1.0.0-SNAPSHOT + 1.0-SNAPSHOT ftl-java-runtime-integration-tests Ftl Java Runtime - Integration Tests diff --git a/java-runtime/ftl-runtime/integration-tests/src/main/java/xyz/block/ftl/java/runtime/it/MyTopic.java b/java-runtime/ftl-runtime/integration-tests/src/main/java/xyz/block/ftl/java/runtime/it/MyTopic.java index f5b381f0da..0e5ef1e996 100644 --- a/java-runtime/ftl-runtime/integration-tests/src/main/java/xyz/block/ftl/java/runtime/it/MyTopic.java +++ b/java-runtime/ftl-runtime/integration-tests/src/main/java/xyz/block/ftl/java/runtime/it/MyTopic.java @@ -5,6 +5,6 @@ import xyz.block.ftl.TopicDefinition; @Export -@TopicDefinition(name = "testTopic") +@TopicDefinition(value = "testTopic") public interface MyTopic extends Topic { } diff --git a/java-runtime/ftl-runtime/pom.xml b/java-runtime/ftl-runtime/pom.xml index 4ff40b3f4f..b4b63c22cc 100644 --- a/java-runtime/ftl-runtime/pom.xml +++ b/java-runtime/ftl-runtime/pom.xml @@ -4,7 +4,7 @@ 4.0.0 xyz.block ftl-java-runtime-parent - 1.0.0-SNAPSHOT + 1.0-SNAPSHOT pom Ftl Java Runtime - Parent diff --git a/java-runtime/ftl-runtime/runtime/pom.xml b/java-runtime/ftl-runtime/runtime/pom.xml index 9ea5ec0c64..63b71e7c15 100644 --- a/java-runtime/ftl-runtime/runtime/pom.xml +++ b/java-runtime/ftl-runtime/runtime/pom.xml @@ -6,7 +6,7 @@ xyz.block ftl-java-runtime-parent - 1.0.0-SNAPSHOT + 1.0-SNAPSHOT ftl-java-runtime Ftl Java Runtime - Runtime diff --git a/java-runtime/ftl-runtime/runtime/src/main/java/xyz/block/ftl/TopicDefinition.java b/java-runtime/ftl-runtime/runtime/src/main/java/xyz/block/ftl/TopicDefinition.java index a6482006d6..7647133cc0 100644 --- a/java-runtime/ftl-runtime/runtime/src/main/java/xyz/block/ftl/TopicDefinition.java +++ b/java-runtime/ftl-runtime/runtime/src/main/java/xyz/block/ftl/TopicDefinition.java @@ -12,6 +12,6 @@ * * @return The name of the topic */ - String name(); + String value(); } diff --git a/java-runtime/ftl-runtime/runtime/src/main/java/xyz/block/ftl/runtime/FTLRecorder.java b/java-runtime/ftl-runtime/runtime/src/main/java/xyz/block/ftl/runtime/FTLRecorder.java index 5ee6413076..9b4b03f7b1 100644 --- a/java-runtime/ftl-runtime/runtime/src/main/java/xyz/block/ftl/runtime/FTLRecorder.java +++ b/java-runtime/ftl-runtime/runtime/src/main/java/xyz/block/ftl/runtime/FTLRecorder.java @@ -26,6 +26,7 @@ public void registerVerb(String module, String verbName, String methodName, List //TODO: this sucks try { var method = verbHandlerClass.getDeclaredMethod(methodName, parameterTypes.toArray(new Class[0])); + method.setAccessible(true); var handlerInstance = Arc.container().instance(verbHandlerClass); Arc.container().instance(VerbRegistry.class).get().register(module, verbName, handlerInstance, method, paramMappers, allowNullReturn); diff --git a/java-runtime/ftl-runtime/test-framework/pom.xml b/java-runtime/ftl-runtime/test-framework/pom.xml index c66028219f..df940f2032 100644 --- a/java-runtime/ftl-runtime/test-framework/pom.xml +++ b/java-runtime/ftl-runtime/test-framework/pom.xml @@ -5,7 +5,7 @@ xyz.block ftl-java-runtime-parent - 1.0.0-SNAPSHOT + 1.0-SNAPSHOT ftl-java-test-framework Ftl Java Runtime - Test Framework diff --git a/java-runtime/testdata/java/javamodule/pom.xml b/java-runtime/testdata/java/javamodule/pom.xml index 43d234296e..4027c0007e 100644 --- a/java-runtime/testdata/java/javamodule/pom.xml +++ b/java-runtime/testdata/java/javamodule/pom.xml @@ -3,7 +3,7 @@ 4.0.0 xyz.block.ftl.examples javamodule - 1.0.0-SNAPSHOT + 1.0-SNAPSHOT 1.0-SNAPSHOT @@ -35,7 +35,7 @@ xyz.block ftl-java-runtime - 1.0.0-SNAPSHOT + 1.0-SNAPSHOT io.quarkus