diff --git a/.gitignore b/.gitignore index 4a6dd07d54..a9c741c727 100644 --- a/.gitignore +++ b/.gitignore @@ -43,8 +43,8 @@ packages/ts/*/types/** scripts/generator/results/ packages/java/hilla/*.json packages/java/hilla-react/*.json -packages/java/hilla/src/main/java/dev/hilla/theme/ -packages/java/hilla-react/src/main/java/dev/hilla/theme/ +packages/java/hilla/src/main/java/com/vaadin/hilla/theme/ +packages/java/hilla-react/src/main/java/com/vaadin/hilla/theme/ # npm pack packages/ts/*/*.tgz diff --git a/README.md b/README.md index b9f62ac26d..fb6789b99c 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Hilla helps you access the backend easily with type-safe endpoints. ```ts // Type info is automatically generated based on Java -import Person from 'Frontend/generated/dev/hilla/demo/entity/Person'; +import Person from 'Frontend/generated/com/vaadin/hilla/demo/entity/Person'; import { PersonEndpoint } from 'Frontend/generated/endpoints'; async function getPeopleWithPhoneNumber() { diff --git a/packages/java/endpoint/pom.xml b/packages/java/endpoint/pom.xml index 99bc456709..667579c704 100644 --- a/packages/java/endpoint/pom.xml +++ b/packages/java/endpoint/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml @@ -40,7 +40,7 @@ ${flow.version} - dev.hilla + com.vaadin.hilla engine-core ${project.version} @@ -209,12 +209,12 @@ provided - dev.hilla + com.vaadin.hilla parser-jvm-utils ${project.version} - dev.hilla + com.vaadin.hilla runtime-plugin-transfertypes ${project.version} diff --git a/packages/java/endpoint/src/main/java/dev/hilla/ApplicationContextProvider.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/ApplicationContextProvider.java similarity index 96% rename from packages/java/endpoint/src/main/java/dev/hilla/ApplicationContextProvider.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/ApplicationContextProvider.java index e4fef76e62..3e139d2b6b 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/ApplicationContextProvider.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/ApplicationContextProvider.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/AuthenticationUtil.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/AuthenticationUtil.java similarity index 98% rename from packages/java/endpoint/src/main/java/dev/hilla/AuthenticationUtil.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/AuthenticationUtil.java index 600dbf19f0..614289d711 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/AuthenticationUtil.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/AuthenticationUtil.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; import java.util.function.Function; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/BrowserCallable.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/BrowserCallable.java similarity index 97% rename from packages/java/endpoint/src/main/java/dev/hilla/BrowserCallable.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/BrowserCallable.java index bb917eb5bd..d9d94a51b4 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/BrowserCallable.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/BrowserCallable.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla; +package com.vaadin.hilla; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/ConditionalOnFeatureFlag.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/ConditionalOnFeatureFlag.java similarity index 96% rename from packages/java/endpoint/src/main/java/dev/hilla/ConditionalOnFeatureFlag.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/ConditionalOnFeatureFlag.java index d99db27598..82784257b0 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/ConditionalOnFeatureFlag.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/ConditionalOnFeatureFlag.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/Endpoint.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/Endpoint.java similarity index 98% rename from packages/java/endpoint/src/main/java/dev/hilla/Endpoint.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/Endpoint.java index 03ff65e37b..58c2475812 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/Endpoint.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/Endpoint.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla; +package com.vaadin.hilla; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/EndpointCodeGenerator.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointCodeGenerator.java similarity index 95% rename from packages/java/endpoint/src/main/java/dev/hilla/EndpointCodeGenerator.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointCodeGenerator.java index e6248385ab..e07de95418 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/EndpointCodeGenerator.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointCodeGenerator.java @@ -13,15 +13,15 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla; +package com.vaadin.hilla; import java.io.IOException; import java.nio.file.Path; import java.util.Set; -import dev.hilla.engine.EngineConfiguration; -import dev.hilla.engine.GeneratorProcessor; -import dev.hilla.engine.ParserProcessor; +import com.vaadin.hilla.engine.EngineConfiguration; +import com.vaadin.hilla.engine.GeneratorProcessor; +import com.vaadin.hilla.engine.ParserProcessor; import org.springframework.stereotype.Component; import com.vaadin.flow.server.VaadinContext; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/EndpointController.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointController.java similarity index 95% rename from packages/java/endpoint/src/main/java/dev/hilla/EndpointController.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointController.java index 0f3b81ec3a..8f3880a215 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/EndpointController.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointController.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla; +package com.vaadin.hilla; import java.io.IOException; import java.util.Map; @@ -45,14 +45,14 @@ import com.vaadin.flow.server.VaadinServletRequest; import com.vaadin.flow.server.VaadinServletService; -import dev.hilla.EndpointInvocationException.EndpointAccessDeniedException; -import dev.hilla.EndpointInvocationException.EndpointBadRequestException; -import dev.hilla.EndpointInvocationException.EndpointInternalException; -import dev.hilla.EndpointInvocationException.EndpointNotFoundException; -import dev.hilla.auth.CsrfChecker; -import dev.hilla.auth.EndpointAccessChecker; -import dev.hilla.engine.EngineConfiguration; -import dev.hilla.exception.EndpointException; +import com.vaadin.hilla.EndpointInvocationException.EndpointAccessDeniedException; +import com.vaadin.hilla.EndpointInvocationException.EndpointBadRequestException; +import com.vaadin.hilla.EndpointInvocationException.EndpointInternalException; +import com.vaadin.hilla.EndpointInvocationException.EndpointNotFoundException; +import com.vaadin.hilla.auth.CsrfChecker; +import com.vaadin.hilla.auth.EndpointAccessChecker; +import com.vaadin.hilla.engine.EngineConfiguration; +import com.vaadin.hilla.exception.EndpointException; import jakarta.annotation.PostConstruct; import jakarta.servlet.http.HttpServletRequest; @@ -123,7 +123,7 @@ public EndpointController(ApplicationContext context, /** * Sets the name of the OpenAPI definition resource. *

- * The default value is {@code /dev/hilla/openapi.json}. + * The default value is {@code /com/vaadin/hilla/openapi.json}. * * @param openApiResourceName * the name of the OpenAPI definition resource diff --git a/packages/java/endpoint/src/main/java/dev/hilla/EndpointControllerConfiguration.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointControllerConfiguration.java similarity index 98% rename from packages/java/endpoint/src/main/java/dev/hilla/EndpointControllerConfiguration.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointControllerConfiguration.java index 749f981a40..287f93afd5 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/EndpointControllerConfiguration.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointControllerConfiguration.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla; +package com.vaadin.hilla; import java.lang.reflect.Method; @@ -32,9 +32,9 @@ import com.vaadin.flow.server.VaadinServletContext; import com.vaadin.flow.server.auth.AccessAnnotationChecker; -import dev.hilla.auth.CsrfChecker; -import dev.hilla.auth.EndpointAccessChecker; -import dev.hilla.parser.jackson.JacksonObjectMapperFactory; +import com.vaadin.hilla.auth.CsrfChecker; +import com.vaadin.hilla.auth.EndpointAccessChecker; +import com.vaadin.hilla.parser.jackson.JacksonObjectMapperFactory; import jakarta.servlet.ServletContext; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/EndpointExposed.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointExposed.java similarity index 97% rename from packages/java/endpoint/src/main/java/dev/hilla/EndpointExposed.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointExposed.java index 2f3f116e60..a1d88a761f 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/EndpointExposed.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointExposed.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla; +package com.vaadin.hilla; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/EndpointInitializationAotProcessor.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointInitializationAotProcessor.java similarity index 98% rename from packages/java/endpoint/src/main/java/dev/hilla/EndpointInitializationAotProcessor.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointInitializationAotProcessor.java index cd51a51bb4..2fc100d24b 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/EndpointInitializationAotProcessor.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointInitializationAotProcessor.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; import java.util.HashSet; import java.util.Set; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/EndpointInvocationException.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointInvocationException.java similarity index 98% rename from packages/java/endpoint/src/main/java/dev/hilla/EndpointInvocationException.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointInvocationException.java index c50b84943a..eb334a31e9 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/EndpointInvocationException.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointInvocationException.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; /** * Exception thrown by EndpointInvoker when invocation fails. diff --git a/packages/java/endpoint/src/main/java/dev/hilla/EndpointInvoker.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointInvoker.java similarity index 96% rename from packages/java/endpoint/src/main/java/dev/hilla/EndpointInvoker.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointInvoker.java index 91367ea355..e3ed1766bd 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/EndpointInvoker.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointInvoker.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla; +package com.vaadin.hilla; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonNode; @@ -21,17 +21,17 @@ import com.fasterxml.jackson.databind.node.ObjectNode; import com.googlecode.gentyref.GenericTypeReflector; import com.vaadin.flow.server.VaadinServletContext; -import dev.hilla.EndpointInvocationException.EndpointAccessDeniedException; -import dev.hilla.EndpointInvocationException.EndpointBadRequestException; -import dev.hilla.EndpointInvocationException.EndpointInternalException; -import dev.hilla.EndpointInvocationException.EndpointNotFoundException; -import dev.hilla.EndpointRegistry.VaadinEndpointData; -import dev.hilla.auth.EndpointAccessChecker; -import dev.hilla.endpointransfermapper.EndpointTransferMapper; -import dev.hilla.exception.EndpointException; -import dev.hilla.exception.EndpointValidationException; -import dev.hilla.exception.EndpointValidationException.ValidationErrorData; -import dev.hilla.parser.jackson.JacksonObjectMapperFactory; +import com.vaadin.hilla.EndpointInvocationException.EndpointAccessDeniedException; +import com.vaadin.hilla.EndpointInvocationException.EndpointBadRequestException; +import com.vaadin.hilla.EndpointInvocationException.EndpointInternalException; +import com.vaadin.hilla.EndpointInvocationException.EndpointNotFoundException; +import com.vaadin.hilla.EndpointRegistry.VaadinEndpointData; +import com.vaadin.hilla.auth.EndpointAccessChecker; +import com.vaadin.hilla.endpointransfermapper.EndpointTransferMapper; +import com.vaadin.hilla.exception.EndpointException; +import com.vaadin.hilla.exception.EndpointValidationException; +import com.vaadin.hilla.exception.EndpointValidationException.ValidationErrorData; +import com.vaadin.hilla.parser.jackson.JacksonObjectMapperFactory; import jakarta.servlet.ServletContext; import jakarta.validation.ConstraintViolation; import jakarta.validation.Validation; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/EndpointNameChecker.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointNameChecker.java similarity index 99% rename from packages/java/endpoint/src/main/java/dev/hilla/EndpointNameChecker.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointNameChecker.java index e267b2d63f..f995f9f60b 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/EndpointNameChecker.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointNameChecker.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla; +package com.vaadin.hilla; import java.util.Arrays; import java.util.Collections; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/EndpointProperties.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointProperties.java similarity index 98% rename from packages/java/endpoint/src/main/java/dev/hilla/EndpointProperties.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointProperties.java index eb17f82b71..4412b8d546 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/EndpointProperties.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointProperties.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla; +package com.vaadin.hilla; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.context.properties.ConfigurationProperties; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/EndpointRegistry.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointRegistry.java similarity index 99% rename from packages/java/endpoint/src/main/java/dev/hilla/EndpointRegistry.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointRegistry.java index 8598fbe83b..ccbc60e20d 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/EndpointRegistry.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointRegistry.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla; +package com.vaadin.hilla; import java.lang.reflect.AccessibleObject; import java.lang.reflect.Method; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/EndpointSubscription.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointSubscription.java similarity index 98% rename from packages/java/endpoint/src/main/java/dev/hilla/EndpointSubscription.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointSubscription.java index 5223da1f5a..99392ece5d 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/EndpointSubscription.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointSubscription.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; import reactor.core.publisher.Flux; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/EndpointUtil.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointUtil.java similarity index 98% rename from packages/java/endpoint/src/main/java/dev/hilla/EndpointUtil.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointUtil.java index 174b756ee8..63db77415c 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/EndpointUtil.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointUtil.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla; +package com.vaadin.hilla; import jakarta.servlet.http.HttpServletRequest; import java.lang.reflect.Method; @@ -21,7 +21,7 @@ import java.util.Optional; import com.vaadin.flow.internal.hilla.EndpointRequestUtil; -import dev.hilla.auth.EndpointAccessChecker; +import com.vaadin.hilla.auth.EndpointAccessChecker; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.server.PathContainer; import org.springframework.http.server.RequestPath; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/ExplicitNullableTypeChecker.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/ExplicitNullableTypeChecker.java similarity index 99% rename from packages/java/endpoint/src/main/java/dev/hilla/ExplicitNullableTypeChecker.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/ExplicitNullableTypeChecker.java index 82d78e58d4..8b546004a7 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/ExplicitNullableTypeChecker.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/ExplicitNullableTypeChecker.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla; +package com.vaadin.hilla; import java.lang.annotation.Annotation; import java.lang.reflect.AnnotatedElement; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/ExplicitNullableTypeCheckerHelper.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/ExplicitNullableTypeCheckerHelper.java similarity index 98% rename from packages/java/endpoint/src/main/java/dev/hilla/ExplicitNullableTypeCheckerHelper.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/ExplicitNullableTypeCheckerHelper.java index e9669d97ba..dd1de8be8f 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/ExplicitNullableTypeCheckerHelper.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/ExplicitNullableTypeCheckerHelper.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla; +package com.vaadin.hilla; import java.beans.IntrospectionException; import java.beans.Introspector; @@ -38,7 +38,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import static dev.hilla.ExplicitNullableTypeChecker.isRequired; +import static com.vaadin.hilla.ExplicitNullableTypeChecker.isRequired; /** * A helper class for ExplicitNullableTypeChecker. diff --git a/packages/java/endpoint/src/main/java/dev/hilla/FeatureFlagCondition.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/FeatureFlagCondition.java similarity index 99% rename from packages/java/endpoint/src/main/java/dev/hilla/FeatureFlagCondition.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/FeatureFlagCondition.java index 793bf0deb2..ae49f8a6f0 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/FeatureFlagCondition.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/FeatureFlagCondition.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; import java.io.IOException; import java.io.InputStream; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/HillaStats.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/HillaStats.java similarity index 91% rename from packages/java/endpoint/src/main/java/dev/hilla/HillaStats.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/HillaStats.java index 156e6ccd0c..f5af942290 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/HillaStats.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/HillaStats.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla; +package com.vaadin.hilla; import com.vaadin.flow.internal.UsageStatistics; import com.vaadin.flow.server.Platform; @@ -34,7 +34,7 @@ class HillaStats { private static Optional getHillaReactVersion() { try (final InputStream pomProperties = Thread.currentThread() .getContextClassLoader().getResourceAsStream( - "META-INF/maven/dev.hilla/hilla-react/pom.properties")) { + "META-INF/maven/com.vaadin.hilla/hilla-react/pom.properties")) { if (pomProperties != null) { final Properties properties = new Properties(); properties.load(pomProperties); @@ -43,7 +43,8 @@ private static Optional getHillaReactVersion() { return Optional.empty(); } } catch (Exception e) { - LOGGER.error("Unable to determine dev.hilla/hilla-react version", + LOGGER.error( + "Unable to determine com.vaadin.hilla/hilla-react version", e); } return Optional.of("?"); diff --git a/packages/java/endpoint/src/main/java/dev/hilla/Hotswapper.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/Hotswapper.java similarity index 96% rename from packages/java/endpoint/src/main/java/dev/hilla/Hotswapper.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/Hotswapper.java index d5feaa5d23..3336de306a 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/Hotswapper.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/Hotswapper.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; import java.io.IOException; import java.util.List; @@ -64,8 +64,8 @@ private static boolean isIgnoredClass(String changedClass) { || changedClass.startsWith("javax.") || changedClass.startsWith("sun.") || changedClass.startsWith("com.sun.") - || changedClass.startsWith("dev.hilla.parser.") - || changedClass.startsWith("dev.hilla.engine.") + || changedClass.startsWith("com.vaadin.hilla.parser.") + || changedClass.startsWith("com.vaadin.hilla.engine.") || changedClass.startsWith("com.vaadin.flow.") || changedClass.startsWith("com.vaadin.base.") || changedClass.startsWith("org.jsoup.") diff --git a/packages/java/endpoint/src/main/java/dev/hilla/Nonnull.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/Nonnull.java similarity index 97% rename from packages/java/endpoint/src/main/java/dev/hilla/Nonnull.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/Nonnull.java index 7a3167055e..24d9c099b4 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/Nonnull.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/Nonnull.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla; +package com.vaadin.hilla; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/Nullable.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/Nullable.java similarity index 97% rename from packages/java/endpoint/src/main/java/dev/hilla/Nullable.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/Nullable.java index 108479e3de..8e8f1a51c9 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/Nullable.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/Nullable.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla; +package com.vaadin.hilla; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/OpenAPIUtil.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/OpenAPIUtil.java similarity index 95% rename from packages/java/endpoint/src/main/java/dev/hilla/OpenAPIUtil.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/OpenAPIUtil.java index 0d9f1aeb06..0892334f1c 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/OpenAPIUtil.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/OpenAPIUtil.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; import java.io.IOException; import java.nio.file.Files; @@ -11,8 +11,8 @@ import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ArrayNode; import com.fasterxml.jackson.databind.node.ObjectNode; -import dev.hilla.engine.EngineConfiguration; -import dev.hilla.engine.ParserProcessor; +import com.vaadin.hilla.engine.EngineConfiguration; +import com.vaadin.hilla.engine.ParserProcessor; /** * Utilities for interacting with the generated openapi.json. diff --git a/packages/java/endpoint/src/main/java/dev/hilla/auth/CsrfChecker.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/auth/CsrfChecker.java similarity index 99% rename from packages/java/endpoint/src/main/java/dev/hilla/auth/CsrfChecker.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/auth/CsrfChecker.java index 43611d450c..78e9a247f9 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/auth/CsrfChecker.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/auth/CsrfChecker.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.auth; +package com.vaadin.hilla.auth; import java.nio.charset.StandardCharsets; import java.security.MessageDigest; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/auth/CsrfIndexHtmlRequestListener.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/auth/CsrfIndexHtmlRequestListener.java similarity index 99% rename from packages/java/endpoint/src/main/java/dev/hilla/auth/CsrfIndexHtmlRequestListener.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/auth/CsrfIndexHtmlRequestListener.java index d1ad75845b..affb408fb4 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/auth/CsrfIndexHtmlRequestListener.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/auth/CsrfIndexHtmlRequestListener.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.auth; +package com.vaadin.hilla.auth; import jakarta.servlet.http.Cookie; import java.util.Arrays; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/auth/EndpointAccessChecker.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/auth/EndpointAccessChecker.java similarity index 99% rename from packages/java/endpoint/src/main/java/dev/hilla/auth/EndpointAccessChecker.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/auth/EndpointAccessChecker.java index 70c12ed1be..92fdabefc7 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/auth/EndpointAccessChecker.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/auth/EndpointAccessChecker.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.auth; +package com.vaadin.hilla.auth; import java.lang.reflect.Method; import java.security.Principal; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/crud/CountService.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/CountService.java similarity index 77% rename from packages/java/endpoint/src/main/java/dev/hilla/crud/CountService.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/CountService.java index 9eb5143e75..953861ee6a 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/crud/CountService.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/CountService.java @@ -1,7 +1,7 @@ -package dev.hilla.crud; +package com.vaadin.hilla.crud; -import dev.hilla.Nullable; -import dev.hilla.crud.filter.Filter; +import com.vaadin.hilla.Nullable; +import com.vaadin.hilla.crud.filter.Filter; /** * A browser-callable service that can count the given type of objects with a diff --git a/packages/java/endpoint/src/main/java/dev/hilla/crud/CrudConfiguration.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/CrudConfiguration.java similarity index 93% rename from packages/java/endpoint/src/main/java/dev/hilla/crud/CrudConfiguration.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/CrudConfiguration.java index 3e626a91bc..b67a3adff0 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/crud/CrudConfiguration.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/CrudConfiguration.java @@ -1,4 +1,4 @@ -package dev.hilla.crud; +package com.vaadin.hilla.crud; import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; import org.springframework.context.annotation.Bean; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/crud/CrudRepositoryService.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/CrudRepositoryService.java similarity index 92% rename from packages/java/endpoint/src/main/java/dev/hilla/crud/CrudRepositoryService.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/CrudRepositoryService.java index 7312e77b24..cc9dcd8c1e 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/crud/CrudRepositoryService.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/CrudRepositoryService.java @@ -1,11 +1,11 @@ -package dev.hilla.crud; +package com.vaadin.hilla.crud; import java.util.ArrayList; import java.util.List; -import dev.hilla.EndpointExposed; -import dev.hilla.Nullable; -import dev.hilla.crud.filter.Filter; +import com.vaadin.hilla.EndpointExposed; +import com.vaadin.hilla.Nullable; +import com.vaadin.hilla.crud.filter.Filter; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org.springframework.data.repository.CrudRepository; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/crud/CrudService.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/CrudService.java similarity index 86% rename from packages/java/endpoint/src/main/java/dev/hilla/crud/CrudService.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/CrudService.java index c21e612402..06ac2dc99c 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/crud/CrudService.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/CrudService.java @@ -1,4 +1,4 @@ -package dev.hilla.crud; +package com.vaadin.hilla.crud; /** * A browser-callable service that can create, read, update, and delete a given diff --git a/packages/java/endpoint/src/main/java/dev/hilla/crud/FormService.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/FormService.java similarity index 91% rename from packages/java/endpoint/src/main/java/dev/hilla/crud/FormService.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/FormService.java index 58c513f327..1b1947c5ee 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/crud/FormService.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/FormService.java @@ -1,6 +1,6 @@ -package dev.hilla.crud; +package com.vaadin.hilla.crud; -import dev.hilla.Nullable; +import com.vaadin.hilla.Nullable; /** * A browser-callable service that can create, update, and delete a given type diff --git a/packages/java/endpoint/src/main/java/dev/hilla/crud/GetService.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/GetService.java similarity index 95% rename from packages/java/endpoint/src/main/java/dev/hilla/crud/GetService.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/GetService.java index e11d998e07..540e801826 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/crud/GetService.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/GetService.java @@ -1,4 +1,4 @@ -package dev.hilla.crud; +package com.vaadin.hilla.crud; import java.util.Optional; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/crud/JpaFilterConverter.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/JpaFilterConverter.java similarity index 93% rename from packages/java/endpoint/src/main/java/dev/hilla/crud/JpaFilterConverter.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/JpaFilterConverter.java index 6f840caa0b..2a343fc856 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/crud/JpaFilterConverter.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/JpaFilterConverter.java @@ -1,11 +1,11 @@ -package dev.hilla.crud; +package com.vaadin.hilla.crud; import jakarta.persistence.EntityManager; -import dev.hilla.crud.filter.AndFilter; -import dev.hilla.crud.filter.Filter; -import dev.hilla.crud.filter.OrFilter; -import dev.hilla.crud.filter.PropertyStringFilter; +import com.vaadin.hilla.crud.filter.AndFilter; +import com.vaadin.hilla.crud.filter.Filter; +import com.vaadin.hilla.crud.filter.OrFilter; +import com.vaadin.hilla.crud.filter.PropertyStringFilter; import jakarta.persistence.criteria.Path; import jakarta.persistence.criteria.Root; import org.springframework.beans.factory.annotation.Autowired; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/crud/ListRepositoryService.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/ListRepositoryService.java similarity index 96% rename from packages/java/endpoint/src/main/java/dev/hilla/crud/ListRepositoryService.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/ListRepositoryService.java index 1f2c4c118a..1e2ae42e34 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/crud/ListRepositoryService.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/ListRepositoryService.java @@ -1,4 +1,4 @@ -package dev.hilla.crud; +package com.vaadin.hilla.crud; import jakarta.annotation.PostConstruct; @@ -7,9 +7,9 @@ import java.util.Optional; import com.googlecode.gentyref.GenericTypeReflector; -import dev.hilla.EndpointExposed; -import dev.hilla.Nullable; -import dev.hilla.crud.filter.Filter; +import com.vaadin.hilla.EndpointExposed; +import com.vaadin.hilla.Nullable; +import com.vaadin.hilla.crud.filter.Filter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; import org.springframework.data.domain.Pageable; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/crud/ListService.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/ListService.java similarity index 82% rename from packages/java/endpoint/src/main/java/dev/hilla/crud/ListService.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/ListService.java index 63c9b12b7c..84e2bbdf73 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/crud/ListService.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/ListService.java @@ -1,10 +1,10 @@ -package dev.hilla.crud; +package com.vaadin.hilla.crud; import java.util.List; -import dev.hilla.Nonnull; -import dev.hilla.Nullable; -import dev.hilla.crud.filter.Filter; +import com.vaadin.hilla.Nonnull; +import com.vaadin.hilla.Nullable; +import com.vaadin.hilla.crud.filter.Filter; import org.springframework.data.domain.Pageable; /** diff --git a/packages/java/endpoint/src/main/java/dev/hilla/crud/PropertyStringFilterSpecification.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/PropertyStringFilterSpecification.java similarity index 98% rename from packages/java/endpoint/src/main/java/dev/hilla/crud/PropertyStringFilterSpecification.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/PropertyStringFilterSpecification.java index ebcec6a538..103a3b4fcf 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/crud/PropertyStringFilterSpecification.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/PropertyStringFilterSpecification.java @@ -1,4 +1,4 @@ -package dev.hilla.crud; +package com.vaadin.hilla.crud; import java.time.LocalDate; import java.time.LocalDateTime; @@ -11,7 +11,7 @@ import jakarta.persistence.criteria.Predicate; import jakarta.persistence.criteria.Root; -import dev.hilla.crud.filter.PropertyStringFilter; +import com.vaadin.hilla.crud.filter.PropertyStringFilter; import org.springframework.data.jpa.domain.Specification; public class PropertyStringFilterSpecification implements Specification { diff --git a/packages/java/endpoint/src/main/java/dev/hilla/crud/filter/AndFilter.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/AndFilter.java similarity index 93% rename from packages/java/endpoint/src/main/java/dev/hilla/crud/filter/AndFilter.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/AndFilter.java index a04098aac4..bd1b1a2bc6 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/crud/filter/AndFilter.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/AndFilter.java @@ -1,4 +1,4 @@ -package dev.hilla.crud.filter; +package com.vaadin.hilla.crud.filter; import java.util.List; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/crud/filter/Filter.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/Filter.java similarity index 96% rename from packages/java/endpoint/src/main/java/dev/hilla/crud/filter/Filter.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/Filter.java index e966c8feb2..20a2353ca7 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/crud/filter/Filter.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/Filter.java @@ -1,4 +1,4 @@ -package dev.hilla.crud.filter; +package com.vaadin.hilla.crud.filter; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonSubTypes.Type; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/crud/filter/OrFilter.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/OrFilter.java similarity index 93% rename from packages/java/endpoint/src/main/java/dev/hilla/crud/filter/OrFilter.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/OrFilter.java index 22e3e795cb..ddd53231e5 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/crud/filter/OrFilter.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/OrFilter.java @@ -1,4 +1,4 @@ -package dev.hilla.crud.filter; +package com.vaadin.hilla.crud.filter; import java.util.List; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/crud/filter/PropertyStringFilter.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/PropertyStringFilter.java similarity index 98% rename from packages/java/endpoint/src/main/java/dev/hilla/crud/filter/PropertyStringFilter.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/PropertyStringFilter.java index c6427ef949..b66a523279 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/crud/filter/PropertyStringFilter.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/PropertyStringFilter.java @@ -1,4 +1,4 @@ -package dev.hilla.crud.filter; +package com.vaadin.hilla.crud.filter; /** * A filter that matches a given property, or nested property path, against a diff --git a/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/package-info.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/package-info.java new file mode 100644 index 0000000000..ad5db1e68d --- /dev/null +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/package-info.java @@ -0,0 +1,2 @@ +@org.springframework.lang.NonNullApi +package com.vaadin.hilla.crud.filter; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/crud/filter/package-info.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/package-info.java similarity index 54% rename from packages/java/endpoint/src/main/java/dev/hilla/crud/filter/package-info.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/package-info.java index 0f40244279..385d5e640c 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/crud/filter/package-info.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/package-info.java @@ -1,2 +1,2 @@ @org.springframework.lang.NonNullApi -package dev.hilla.crud.filter; +package com.vaadin.hilla.crud; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/endpointransfermapper/EndpointTransferMapper.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/endpointransfermapper/EndpointTransferMapper.java similarity index 98% rename from packages/java/endpoint/src/main/java/dev/hilla/endpointransfermapper/EndpointTransferMapper.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/endpointransfermapper/EndpointTransferMapper.java index 9c41fd1b2f..631b131632 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/endpointransfermapper/EndpointTransferMapper.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/endpointransfermapper/EndpointTransferMapper.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.endpointransfermapper; +package com.vaadin.hilla.endpointransfermapper; import java.util.HashMap; import java.util.Map; @@ -55,7 +55,7 @@ * generates a TypeScript and converts data as if the method was defined as *

* - * public List<Person> list(dev.hilla.mappedtypes.Pageable pageable) { + * public List<Person> list(com.vaadin.hilla.mappedtypes.Pageable pageable) { * } * * diff --git a/packages/java/endpoint/src/main/java/dev/hilla/endpointransfermapper/PageMapper.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/endpointransfermapper/PageMapper.java similarity index 91% rename from packages/java/endpoint/src/main/java/dev/hilla/endpointransfermapper/PageMapper.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/endpointransfermapper/PageMapper.java index b437ea7a96..811635aa6c 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/endpointransfermapper/PageMapper.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/endpointransfermapper/PageMapper.java @@ -13,11 +13,11 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.endpointransfermapper; +package com.vaadin.hilla.endpointransfermapper; import java.util.List; -import dev.hilla.endpointransfermapper.EndpointTransferMapper.Mapper; +import com.vaadin.hilla.endpointransfermapper.EndpointTransferMapper.Mapper; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageImpl; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/endpointransfermapper/PageableMapper.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/endpointransfermapper/PageableMapper.java similarity index 95% rename from packages/java/endpoint/src/main/java/dev/hilla/endpointransfermapper/PageableMapper.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/endpointransfermapper/PageableMapper.java index ed0bcfbc46..fcfd27de00 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/endpointransfermapper/PageableMapper.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/endpointransfermapper/PageableMapper.java @@ -13,9 +13,9 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.endpointransfermapper; +package com.vaadin.hilla.endpointransfermapper; -import dev.hilla.mappedtypes.Pageable; +import com.vaadin.hilla.mappedtypes.Pageable; import org.springframework.data.domain.PageRequest; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/endpointransfermapper/SortMapper.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/endpointransfermapper/SortMapper.java similarity index 92% rename from packages/java/endpoint/src/main/java/dev/hilla/endpointransfermapper/SortMapper.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/endpointransfermapper/SortMapper.java index af5b3343d5..f7cd90b11c 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/endpointransfermapper/SortMapper.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/endpointransfermapper/SortMapper.java @@ -13,14 +13,14 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.endpointransfermapper; +package com.vaadin.hilla.endpointransfermapper; import java.util.ArrayList; import java.util.List; -import dev.hilla.endpointransfermapper.EndpointTransferMapper.Mapper; -import dev.hilla.mappedtypes.Order; -import dev.hilla.mappedtypes.Sort; +import com.vaadin.hilla.endpointransfermapper.EndpointTransferMapper.Mapper; +import com.vaadin.hilla.mappedtypes.Order; +import com.vaadin.hilla.mappedtypes.Sort; /** * A mapper between {@link org.springframework.data.domain.Sort} and diff --git a/packages/java/endpoint/src/main/java/dev/hilla/endpointransfermapper/UUIDMapper.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/endpointransfermapper/UUIDMapper.java similarity index 96% rename from packages/java/endpoint/src/main/java/dev/hilla/endpointransfermapper/UUIDMapper.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/endpointransfermapper/UUIDMapper.java index 40b2568628..4f1c42e197 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/endpointransfermapper/UUIDMapper.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/endpointransfermapper/UUIDMapper.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.endpointransfermapper; +package com.vaadin.hilla.endpointransfermapper; import java.util.UUID; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/exception/EndpointException.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/exception/EndpointException.java similarity index 98% rename from packages/java/endpoint/src/main/java/dev/hilla/exception/EndpointException.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/exception/EndpointException.java index 83c9d94cb1..9f0f5bd568 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/exception/EndpointException.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/exception/EndpointException.java @@ -14,13 +14,13 @@ * the License. */ -package dev.hilla.exception; +package com.vaadin.hilla.exception; import java.util.HashMap; import java.util.Map; import java.util.Optional; -import dev.hilla.EndpointController; +import com.vaadin.hilla.EndpointController; /** * An exception that is intended to be thrown by any Vaadin endpoint method to diff --git a/packages/java/endpoint/src/main/java/dev/hilla/exception/EndpointValidationException.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/exception/EndpointValidationException.java similarity index 99% rename from packages/java/endpoint/src/main/java/dev/hilla/exception/EndpointValidationException.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/exception/EndpointValidationException.java index 2aee412311..f376b25a37 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/exception/EndpointValidationException.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/exception/EndpointValidationException.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.exception; +package com.vaadin.hilla.exception; import java.util.Collections; import java.util.HashMap; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/internal/hotswap/EndpointHotSwapListener.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/internal/hotswap/EndpointHotSwapListener.java similarity index 95% rename from packages/java/endpoint/src/main/java/dev/hilla/internal/hotswap/EndpointHotSwapListener.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/internal/hotswap/EndpointHotSwapListener.java index 74f7712e8c..153e7bb43e 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/internal/hotswap/EndpointHotSwapListener.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/internal/hotswap/EndpointHotSwapListener.java @@ -14,14 +14,14 @@ * the License. */ -package dev.hilla.internal.hotswap; +package com.vaadin.hilla.internal.hotswap; import jakarta.annotation.PostConstruct; import java.io.IOException; import java.util.Optional; -import dev.hilla.EndpointCodeGenerator; +import com.vaadin.hilla.EndpointCodeGenerator; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/internal/hotswap/EndpointHotSwapService.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/internal/hotswap/EndpointHotSwapService.java similarity index 98% rename from packages/java/endpoint/src/main/java/dev/hilla/internal/hotswap/EndpointHotSwapService.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/internal/hotswap/EndpointHotSwapService.java index ec63a093fa..a81fc640b1 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/internal/hotswap/EndpointHotSwapService.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/internal/hotswap/EndpointHotSwapService.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.internal.hotswap; +package com.vaadin.hilla.internal.hotswap; import com.vaadin.flow.internal.BrowserLiveReload; import com.vaadin.flow.shared.Registration; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/internal/hotswap/HotSwapConfiguration.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/internal/hotswap/HotSwapConfiguration.java similarity index 93% rename from packages/java/endpoint/src/main/java/dev/hilla/internal/hotswap/HotSwapConfiguration.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/internal/hotswap/HotSwapConfiguration.java index b366db5f4a..e3952c2e92 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/internal/hotswap/HotSwapConfiguration.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/internal/hotswap/HotSwapConfiguration.java @@ -14,10 +14,10 @@ * the License. */ -package dev.hilla.internal.hotswap; +package com.vaadin.hilla.internal.hotswap; -import dev.hilla.EndpointCodeGenerator; -import dev.hilla.Hotswapper; +import com.vaadin.hilla.EndpointCodeGenerator; +import com.vaadin.hilla.Hotswapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.Bean; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/internal/hotswap/HotSwapConfigurationProperties.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/internal/hotswap/HotSwapConfigurationProperties.java similarity index 93% rename from packages/java/endpoint/src/main/java/dev/hilla/internal/hotswap/HotSwapConfigurationProperties.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/internal/hotswap/HotSwapConfigurationProperties.java index bb9345801b..dbca5ae25e 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/internal/hotswap/HotSwapConfigurationProperties.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/internal/hotswap/HotSwapConfigurationProperties.java @@ -1,4 +1,4 @@ -package dev.hilla.internal.hotswap; +package com.vaadin.hilla.internal.hotswap; public class HotSwapConfigurationProperties { /** diff --git a/packages/java/endpoint/src/main/java/dev/hilla/internal/hotswap/HotSwapListener.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/internal/hotswap/HotSwapListener.java similarity index 96% rename from packages/java/endpoint/src/main/java/dev/hilla/internal/hotswap/HotSwapListener.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/internal/hotswap/HotSwapListener.java index f1cf042c31..ab8b24ad33 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/internal/hotswap/HotSwapListener.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/internal/hotswap/HotSwapListener.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.internal.hotswap; +package com.vaadin.hilla.internal.hotswap; import com.vaadin.flow.internal.BrowserLiveReload; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/internal/hotswap/HotSwapServiceInitializer.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/internal/hotswap/HotSwapServiceInitializer.java similarity index 98% rename from packages/java/endpoint/src/main/java/dev/hilla/internal/hotswap/HotSwapServiceInitializer.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/internal/hotswap/HotSwapServiceInitializer.java index 5323992800..a7360965a6 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/internal/hotswap/HotSwapServiceInitializer.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/internal/hotswap/HotSwapServiceInitializer.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.internal.hotswap; +package com.vaadin.hilla.internal.hotswap; import com.vaadin.flow.internal.BrowserLiveReload; import com.vaadin.flow.internal.BrowserLiveReloadAccessor; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/internal/hotswap/PollChangedEndpointsHotSwapService.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/internal/hotswap/PollChangedEndpointsHotSwapService.java similarity index 97% rename from packages/java/endpoint/src/main/java/dev/hilla/internal/hotswap/PollChangedEndpointsHotSwapService.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/internal/hotswap/PollChangedEndpointsHotSwapService.java index ad38bdaeda..4c56ec407b 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/internal/hotswap/PollChangedEndpointsHotSwapService.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/internal/hotswap/PollChangedEndpointsHotSwapService.java @@ -14,12 +14,12 @@ * the License. */ -package dev.hilla.internal.hotswap; +package com.vaadin.hilla.internal.hotswap; import com.vaadin.flow.internal.BrowserLiveReload; import com.vaadin.flow.shared.Registration; -import dev.hilla.engine.EngineConfiguration; -import dev.hilla.engine.ParserProcessor; +import com.vaadin.hilla.engine.EngineConfiguration; +import com.vaadin.hilla.engine.ParserProcessor; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/push/PushConfigurer.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/push/PushConfigurer.java similarity index 95% rename from packages/java/endpoint/src/main/java/dev/hilla/push/PushConfigurer.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/push/PushConfigurer.java index ad47ce1fad..fb9bacb4f8 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/push/PushConfigurer.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/push/PushConfigurer.java @@ -1,10 +1,10 @@ -package dev.hilla.push; +package com.vaadin.hilla.push; import java.util.Arrays; import java.util.Collections; import java.util.List; -import dev.hilla.EndpointProperties; +import com.vaadin.hilla.EndpointProperties; import org.atmosphere.client.TrackMessageSizeInterceptor; import org.atmosphere.cpr.ApplicationConfig; import org.atmosphere.cpr.AtmosphereFramework; @@ -20,8 +20,8 @@ import org.springframework.context.annotation.Configuration; import org.springframework.core.Ordered; -import dev.hilla.ConditionalOnFeatureFlag; -import dev.hilla.EndpointInvoker; +import com.vaadin.hilla.ConditionalOnFeatureFlag; +import com.vaadin.hilla.EndpointInvoker; import jakarta.servlet.ServletContext; import jakarta.servlet.ServletException; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/push/PushEndpoint.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/push/PushEndpoint.java similarity index 97% rename from packages/java/endpoint/src/main/java/dev/hilla/push/PushEndpoint.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/push/PushEndpoint.java index 0346946431..60de0a4d96 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/push/PushEndpoint.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/push/PushEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.push; +package com.vaadin.hilla.push; import java.io.IOException; import java.security.Principal; @@ -20,8 +20,8 @@ import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; -import dev.hilla.push.messages.fromclient.AbstractServerMessage; -import dev.hilla.push.messages.toclient.AbstractClientMessage; +import com.vaadin.hilla.push.messages.fromclient.AbstractServerMessage; +import com.vaadin.hilla.push.messages.toclient.AbstractClientMessage; /** * Sets up and configures the push channel. diff --git a/packages/java/endpoint/src/main/java/dev/hilla/push/PushMessageHandler.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/push/PushMessageHandler.java similarity index 91% rename from packages/java/endpoint/src/main/java/dev/hilla/push/PushMessageHandler.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/push/PushMessageHandler.java index 38e598c753..d3e5c6a1e5 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/push/PushMessageHandler.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/push/PushMessageHandler.java @@ -1,4 +1,4 @@ -package dev.hilla.push; +package com.vaadin.hilla.push; import java.security.Principal; import java.util.concurrent.CompletableFuture; @@ -18,21 +18,21 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; -import dev.hilla.AuthenticationUtil; -import dev.hilla.ConditionalOnFeatureFlag; -import dev.hilla.EndpointInvocationException.EndpointAccessDeniedException; -import dev.hilla.EndpointInvocationException.EndpointBadRequestException; -import dev.hilla.EndpointInvocationException.EndpointInternalException; -import dev.hilla.EndpointInvocationException.EndpointNotFoundException; -import dev.hilla.EndpointInvoker; -import dev.hilla.EndpointSubscription; -import dev.hilla.push.messages.fromclient.AbstractServerMessage; -import dev.hilla.push.messages.fromclient.SubscribeMessage; -import dev.hilla.push.messages.fromclient.UnsubscribeMessage; -import dev.hilla.push.messages.toclient.AbstractClientMessage; -import dev.hilla.push.messages.toclient.ClientMessageComplete; -import dev.hilla.push.messages.toclient.ClientMessageError; -import dev.hilla.push.messages.toclient.ClientMessageUpdate; +import com.vaadin.hilla.AuthenticationUtil; +import com.vaadin.hilla.ConditionalOnFeatureFlag; +import com.vaadin.hilla.EndpointInvocationException.EndpointAccessDeniedException; +import com.vaadin.hilla.EndpointInvocationException.EndpointBadRequestException; +import com.vaadin.hilla.EndpointInvocationException.EndpointInternalException; +import com.vaadin.hilla.EndpointInvocationException.EndpointNotFoundException; +import com.vaadin.hilla.EndpointInvoker; +import com.vaadin.hilla.EndpointSubscription; +import com.vaadin.hilla.push.messages.fromclient.AbstractServerMessage; +import com.vaadin.hilla.push.messages.fromclient.SubscribeMessage; +import com.vaadin.hilla.push.messages.fromclient.UnsubscribeMessage; +import com.vaadin.hilla.push.messages.toclient.AbstractClientMessage; +import com.vaadin.hilla.push.messages.toclient.ClientMessageComplete; +import com.vaadin.hilla.push.messages.toclient.ClientMessageError; +import com.vaadin.hilla.push.messages.toclient.ClientMessageUpdate; import reactor.core.Disposable; import reactor.core.publisher.Flux; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/push/messages/fromclient/AbstractServerMessage.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/push/messages/fromclient/AbstractServerMessage.java similarity index 91% rename from packages/java/endpoint/src/main/java/dev/hilla/push/messages/fromclient/AbstractServerMessage.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/push/messages/fromclient/AbstractServerMessage.java index 3542a61c63..92ea122905 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/push/messages/fromclient/AbstractServerMessage.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/push/messages/fromclient/AbstractServerMessage.java @@ -1,4 +1,4 @@ -package dev.hilla.push.messages.fromclient; +package com.vaadin.hilla.push.messages.fromclient; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/push/messages/fromclient/SubscribeMessage.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/push/messages/fromclient/SubscribeMessage.java similarity index 93% rename from packages/java/endpoint/src/main/java/dev/hilla/push/messages/fromclient/SubscribeMessage.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/push/messages/fromclient/SubscribeMessage.java index 67e3818160..0423b87ab0 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/push/messages/fromclient/SubscribeMessage.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/push/messages/fromclient/SubscribeMessage.java @@ -1,4 +1,4 @@ -package dev.hilla.push.messages.fromclient; +package com.vaadin.hilla.push.messages.fromclient; import com.fasterxml.jackson.databind.node.ArrayNode; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/push/messages/fromclient/UnsubscribeMessage.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/push/messages/fromclient/UnsubscribeMessage.java similarity index 57% rename from packages/java/endpoint/src/main/java/dev/hilla/push/messages/fromclient/UnsubscribeMessage.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/push/messages/fromclient/UnsubscribeMessage.java index 7e0ce7cb1e..0414721f98 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/push/messages/fromclient/UnsubscribeMessage.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/push/messages/fromclient/UnsubscribeMessage.java @@ -1,4 +1,4 @@ -package dev.hilla.push.messages.fromclient; +package com.vaadin.hilla.push.messages.fromclient; public class UnsubscribeMessage extends AbstractServerMessage { diff --git a/packages/java/endpoint/src/main/java/dev/hilla/push/messages/toclient/AbstractClientMessage.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/push/messages/toclient/AbstractClientMessage.java similarity index 93% rename from packages/java/endpoint/src/main/java/dev/hilla/push/messages/toclient/AbstractClientMessage.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/push/messages/toclient/AbstractClientMessage.java index 70baf8f2c5..1ca47660a3 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/push/messages/toclient/AbstractClientMessage.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/push/messages/toclient/AbstractClientMessage.java @@ -1,4 +1,4 @@ -package dev.hilla.push.messages.toclient; +package com.vaadin.hilla.push.messages.toclient; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/push/messages/toclient/ClientMessageComplete.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/push/messages/toclient/ClientMessageComplete.java similarity index 85% rename from packages/java/endpoint/src/main/java/dev/hilla/push/messages/toclient/ClientMessageComplete.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/push/messages/toclient/ClientMessageComplete.java index 38f85815c4..27c1e87a40 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/push/messages/toclient/ClientMessageComplete.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/push/messages/toclient/ClientMessageComplete.java @@ -1,4 +1,4 @@ -package dev.hilla.push.messages.toclient; +package com.vaadin.hilla.push.messages.toclient; public class ClientMessageComplete extends AbstractClientMessage { public ClientMessageComplete() { diff --git a/packages/java/endpoint/src/main/java/dev/hilla/push/messages/toclient/ClientMessageError.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/push/messages/toclient/ClientMessageError.java similarity index 90% rename from packages/java/endpoint/src/main/java/dev/hilla/push/messages/toclient/ClientMessageError.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/push/messages/toclient/ClientMessageError.java index b025bd5f83..73bb5f9afa 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/push/messages/toclient/ClientMessageError.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/push/messages/toclient/ClientMessageError.java @@ -1,4 +1,4 @@ -package dev.hilla.push.messages.toclient; +package com.vaadin.hilla.push.messages.toclient; public class ClientMessageError extends AbstractClientMessage { diff --git a/packages/java/endpoint/src/main/java/dev/hilla/push/messages/toclient/ClientMessageUpdate.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/push/messages/toclient/ClientMessageUpdate.java similarity index 91% rename from packages/java/endpoint/src/main/java/dev/hilla/push/messages/toclient/ClientMessageUpdate.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/push/messages/toclient/ClientMessageUpdate.java index 94b0be3742..59fa4bdbb9 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/push/messages/toclient/ClientMessageUpdate.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/push/messages/toclient/ClientMessageUpdate.java @@ -1,4 +1,4 @@ -package dev.hilla.push.messages.toclient; +package com.vaadin.hilla.push.messages.toclient; public class ClientMessageUpdate extends AbstractClientMessage { private Object item; diff --git a/packages/java/endpoint/src/main/java/dev/hilla/springnative/HillaHintsRegistrar.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/springnative/HillaHintsRegistrar.java similarity index 89% rename from packages/java/endpoint/src/main/java/dev/hilla/springnative/HillaHintsRegistrar.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/springnative/HillaHintsRegistrar.java index 005c4b9e0c..ecc1552444 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/springnative/HillaHintsRegistrar.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/springnative/HillaHintsRegistrar.java @@ -1,4 +1,4 @@ -package dev.hilla.springnative; +package com.vaadin.hilla.springnative; import java.io.BufferedReader; import java.io.IOException; @@ -22,12 +22,12 @@ import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ObjectNode; -import dev.hilla.EndpointCodeGenerator; -import dev.hilla.OpenAPIUtil; -import dev.hilla.engine.EngineConfiguration; -import dev.hilla.push.PushEndpoint; -import dev.hilla.push.messages.fromclient.AbstractServerMessage; -import dev.hilla.push.messages.toclient.AbstractClientMessage; +import com.vaadin.hilla.EndpointCodeGenerator; +import com.vaadin.hilla.OpenAPIUtil; +import com.vaadin.hilla.engine.EngineConfiguration; +import com.vaadin.hilla.push.PushEndpoint; +import com.vaadin.hilla.push.messages.fromclient.AbstractServerMessage; +import com.vaadin.hilla.push.messages.toclient.AbstractClientMessage; /** * Registers runtime hints for Spring 3 native support for Hilla. diff --git a/packages/java/endpoint/src/main/java/dev/hilla/startup/CsrfServiceInitListener.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/startup/CsrfServiceInitListener.java similarity index 91% rename from packages/java/endpoint/src/main/java/dev/hilla/startup/CsrfServiceInitListener.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/startup/CsrfServiceInitListener.java index 7443ce9b9b..41ce5bbd08 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/startup/CsrfServiceInitListener.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/startup/CsrfServiceInitListener.java @@ -14,11 +14,11 @@ * the License. */ -package dev.hilla.startup; +package com.vaadin.hilla.startup; import com.vaadin.flow.server.ServiceInitEvent; import com.vaadin.flow.server.VaadinServiceInitListener; -import dev.hilla.auth.CsrfIndexHtmlRequestListener; +import com.vaadin.hilla.auth.CsrfIndexHtmlRequestListener; /** * A listener that creates and registers a {@link CsrfIndexHtmlRequestListener}. diff --git a/packages/java/endpoint/src/main/java/dev/hilla/startup/EndpointsValidator.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/startup/EndpointsValidator.java similarity index 96% rename from packages/java/endpoint/src/main/java/dev/hilla/startup/EndpointsValidator.java rename to packages/java/endpoint/src/main/java/com/vaadin/hilla/startup/EndpointsValidator.java index f8d5704040..d553d043e2 100644 --- a/packages/java/endpoint/src/main/java/dev/hilla/startup/EndpointsValidator.java +++ b/packages/java/endpoint/src/main/java/com/vaadin/hilla/startup/EndpointsValidator.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.startup; +package com.vaadin.hilla.startup; import jakarta.servlet.ServletContext; import jakarta.servlet.ServletException; @@ -26,8 +26,8 @@ import com.vaadin.flow.server.frontend.scanner.ClassFinder.DefaultClassFinder; import com.vaadin.flow.server.startup.ClassLoaderAwareServletContainerInitializer; -import dev.hilla.BrowserCallable; -import dev.hilla.Endpoint; +import com.vaadin.hilla.BrowserCallable; +import com.vaadin.hilla.Endpoint; /** * Validation class that is run during servlet container initialization which diff --git a/packages/java/endpoint/src/main/java/dev/hilla/crud/package-info.java b/packages/java/endpoint/src/main/java/dev/hilla/crud/package-info.java deleted file mode 100644 index 5b5b4b812e..0000000000 --- a/packages/java/endpoint/src/main/java/dev/hilla/crud/package-info.java +++ /dev/null @@ -1,2 +0,0 @@ -@org.springframework.lang.NonNullApi -package dev.hilla.crud; diff --git a/packages/java/endpoint/src/main/resources/META-INF/services/com.vaadin.flow.server.VaadinServiceInitListener b/packages/java/endpoint/src/main/resources/META-INF/services/com.vaadin.flow.server.VaadinServiceInitListener index 339e1d1c09..f1a7984473 100644 --- a/packages/java/endpoint/src/main/resources/META-INF/services/com.vaadin.flow.server.VaadinServiceInitListener +++ b/packages/java/endpoint/src/main/resources/META-INF/services/com.vaadin.flow.server.VaadinServiceInitListener @@ -1 +1 @@ -dev.hilla.startup.CsrfServiceInitListener +com.vaadin.hilla.startup.CsrfServiceInitListener diff --git a/packages/java/endpoint/src/main/resources/META-INF/services/javax.servlet.ServletContainerInitializer b/packages/java/endpoint/src/main/resources/META-INF/services/javax.servlet.ServletContainerInitializer index a648c7f877..0e92a7f98c 100644 --- a/packages/java/endpoint/src/main/resources/META-INF/services/javax.servlet.ServletContainerInitializer +++ b/packages/java/endpoint/src/main/resources/META-INF/services/javax.servlet.ServletContainerInitializer @@ -1,2 +1,2 @@ -dev.hilla.startup.EndpointsValidator +com.vaadin.hilla.startup.EndpointsValidator diff --git a/packages/java/endpoint/src/main/resources/META-INF/spring/aot.factories b/packages/java/endpoint/src/main/resources/META-INF/spring/aot.factories index b13c18b7dc..fd368ed356 100644 --- a/packages/java/endpoint/src/main/resources/META-INF/spring/aot.factories +++ b/packages/java/endpoint/src/main/resources/META-INF/spring/aot.factories @@ -1 +1 @@ -org.springframework.aot.hint.RuntimeHintsRegistrar=dev.hilla.springnative.HillaHintsRegistrar +org.springframework.aot.hint.RuntimeHintsRegistrar=com.vaadin.hilla.springnative.HillaHintsRegistrar diff --git a/packages/java/endpoint/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports b/packages/java/endpoint/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports index c7442743e0..651c1e1053 100644 --- a/packages/java/endpoint/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports +++ b/packages/java/endpoint/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports @@ -1,5 +1,5 @@ -dev.hilla.EndpointController -dev.hilla.push.PushConfigurer -dev.hilla.ApplicationContextProvider -dev.hilla.internal.hotswap.HotSwapConfiguration -dev.hilla.crud.CrudConfiguration +com.vaadin.hilla.EndpointController +com.vaadin.hilla.push.PushConfigurer +com.vaadin.hilla.ApplicationContextProvider +com.vaadin.hilla.internal.hotswap.HotSwapConfiguration +com.vaadin.hilla.crud.CrudConfiguration diff --git a/packages/java/endpoint/src/test/java/dev/hilla/AccessControlTestClasses.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/AccessControlTestClasses.java similarity index 99% rename from packages/java/endpoint/src/test/java/dev/hilla/AccessControlTestClasses.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/AccessControlTestClasses.java index 35b19e4b35..f204edfb22 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/AccessControlTestClasses.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/AccessControlTestClasses.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; import jakarta.annotation.security.DenyAll; import jakarta.annotation.security.PermitAll; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/EndpointControllerConfigurationTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/EndpointControllerConfigurationTest.java similarity index 93% rename from packages/java/endpoint/src/test/java/dev/hilla/EndpointControllerConfigurationTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/EndpointControllerConfigurationTest.java index 31d8a1aea5..0bc4ebc6c5 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/EndpointControllerConfigurationTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/EndpointControllerConfigurationTest.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; import org.junit.Assert; import org.junit.Test; @@ -10,7 +10,7 @@ import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringRunner; -import dev.hilla.auth.EndpointAccessChecker; +import com.vaadin.hilla.auth.EndpointAccessChecker; @SpringBootTest(classes = { ServletContextTestSetup.class, EndpointProperties.class, Jackson2ObjectMapperBuilder.class, diff --git a/packages/java/endpoint/src/test/java/dev/hilla/EndpointControllerMockBuilder.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/EndpointControllerMockBuilder.java similarity index 92% rename from packages/java/endpoint/src/test/java/dev/hilla/EndpointControllerMockBuilder.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/EndpointControllerMockBuilder.java index 5c50fc402f..f212937c6d 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/EndpointControllerMockBuilder.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/EndpointControllerMockBuilder.java @@ -1,13 +1,13 @@ -package dev.hilla; +package com.vaadin.hilla; import static org.mockito.Mockito.mock; import org.mockito.Mockito; import org.springframework.context.ApplicationContext; -import dev.hilla.auth.CsrfChecker; -import dev.hilla.auth.EndpointAccessChecker; -import dev.hilla.parser.jackson.JacksonObjectMapperFactory; +import com.vaadin.hilla.auth.CsrfChecker; +import com.vaadin.hilla.auth.EndpointAccessChecker; +import com.vaadin.hilla.parser.jackson.JacksonObjectMapperFactory; import jakarta.servlet.ServletContext; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/EndpointControllerTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/EndpointControllerTest.java similarity index 98% rename from packages/java/endpoint/src/test/java/dev/hilla/EndpointControllerTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/EndpointControllerTest.java index e34a3c6570..b05d00956e 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/EndpointControllerTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/EndpointControllerTest.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; @@ -55,16 +55,16 @@ import com.vaadin.flow.server.startup.ApplicationConfiguration; import com.vaadin.flow.shared.ApplicationConstants; -import dev.hilla.auth.CsrfChecker; -import dev.hilla.auth.EndpointAccessChecker; -import dev.hilla.endpoints.IterableEndpoint; -import dev.hilla.endpoints.PersonEndpoint; -import dev.hilla.exception.EndpointException; -import dev.hilla.exception.EndpointValidationException; -import dev.hilla.packages.application.ApplicationComponent; -import dev.hilla.packages.application.ApplicationEndpoint; -import dev.hilla.parser.jackson.JacksonObjectMapperFactory; -import dev.hilla.testendpoint.BridgeMethodTestEndpoint; +import com.vaadin.hilla.auth.CsrfChecker; +import com.vaadin.hilla.auth.EndpointAccessChecker; +import com.vaadin.hilla.endpoints.IterableEndpoint; +import com.vaadin.hilla.endpoints.PersonEndpoint; +import com.vaadin.hilla.exception.EndpointException; +import com.vaadin.hilla.exception.EndpointValidationException; +import com.vaadin.hilla.packages.application.ApplicationComponent; +import com.vaadin.hilla.packages.application.ApplicationEndpoint; +import com.vaadin.hilla.parser.jackson.JacksonObjectMapperFactory; +import com.vaadin.hilla.testendpoint.BridgeMethodTestEndpoint; import jakarta.annotation.security.DenyAll; import jakarta.annotation.security.PermitAll; @@ -1029,7 +1029,7 @@ public void should_AllowAccessToPackagePrivateEndpoint_PublicMethods() IllegalAccessException, InvocationTargetException, InstantiationException { var packagePrivateEndpoint = Class - .forName("dev.hilla.endpoints.PackagePrivateEndpoint"); + .forName("com.vaadin.hilla.endpoints.PackagePrivateEndpoint"); var packagePrivateEndpointConstructor = packagePrivateEndpoint .getConstructor(); packagePrivateEndpointConstructor.setAccessible(true); @@ -1138,7 +1138,7 @@ private EndpointRegistry registerEndpoints(String openApiFilename) { .getBeansWithAnnotation(Endpoint.class); var controller = createVaadinControllerWithApplicationContext(context); controller.setOpenApiResourceName( - "/dev/hilla/packages/" + openApiFilename); + "/com/vaadin/hilla/packages/" + openApiFilename); controller.registerEndpoints(); return controller.endpointRegistry; } diff --git a/packages/java/endpoint/src/test/java/dev/hilla/EndpointInvokerTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/EndpointInvokerTest.java similarity index 98% rename from packages/java/endpoint/src/test/java/dev/hilla/EndpointInvokerTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/EndpointInvokerTest.java index 33b5ee6fdd..643e5bbb3c 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/EndpointInvokerTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/EndpointInvokerTest.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; import jakarta.servlet.ServletContext; import jakarta.servlet.http.HttpServletRequest; @@ -7,7 +7,7 @@ import java.security.Principal; import com.fasterxml.jackson.databind.node.ObjectNode; -import dev.hilla.auth.EndpointAccessChecker; +import com.vaadin.hilla.auth.EndpointAccessChecker; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/EndpointNameCheckerTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/EndpointNameCheckerTest.java similarity index 99% rename from packages/java/endpoint/src/test/java/dev/hilla/EndpointNameCheckerTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/EndpointNameCheckerTest.java index a74923f2c5..9075c6976f 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/EndpointNameCheckerTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/EndpointNameCheckerTest.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla; +package com.vaadin.hilla; import java.util.Arrays; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/EndpointUtilTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/EndpointUtilTest.java similarity index 97% rename from packages/java/endpoint/src/test/java/dev/hilla/EndpointUtilTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/EndpointUtilTest.java index 129fac161f..6988f6633c 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/EndpointUtilTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/EndpointUtilTest.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; import java.util.Arrays; import java.util.List; @@ -16,8 +16,8 @@ import org.springframework.mock.web.MockHttpServletRequest; import org.springframework.test.context.junit4.SpringRunner; -import dev.hilla.auth.CsrfChecker; -import dev.hilla.auth.EndpointAccessChecker; +import com.vaadin.hilla.auth.CsrfChecker; +import com.vaadin.hilla.auth.EndpointAccessChecker; @SpringBootTest(classes = { ServletContextTestSetup.class, EndpointUtil.class, EndpointProperties.class, EndpointRegistry.class, diff --git a/packages/java/endpoint/src/test/java/dev/hilla/ExplicitNullableTypeCheckerTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/ExplicitNullableTypeCheckerTest.java similarity index 99% rename from packages/java/endpoint/src/test/java/dev/hilla/ExplicitNullableTypeCheckerTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/ExplicitNullableTypeCheckerTest.java index 4adedb18a8..1a5706b5ce 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/ExplicitNullableTypeCheckerTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/ExplicitNullableTypeCheckerTest.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla; +package com.vaadin.hilla; import static org.mockito.Mockito.never; import static org.mockito.Mockito.spy; @@ -40,7 +40,7 @@ import com.fasterxml.jackson.annotation.JsonIgnore; -import dev.hilla.endpoints.Id; +import com.vaadin.hilla.endpoints.Id; public class ExplicitNullableTypeCheckerTest { private ExplicitNullableTypeChecker explicitNullableTypeChecker; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/HillaStatsTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/HillaStatsTest.java similarity index 95% rename from packages/java/endpoint/src/test/java/dev/hilla/HillaStatsTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/HillaStatsTest.java index abfc9751ff..f7df43dbbe 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/HillaStatsTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/HillaStatsTest.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla; +package com.vaadin.hilla; import com.vaadin.flow.internal.UsageStatistics; import com.vaadin.flow.server.Platform; @@ -67,8 +67,9 @@ public void restoreContextClassLoader() { private URL fakeJar(String artifactId, String version) throws IOException { final Path jar = temporary.newFolder().toPath(); - final Path pomProperties = jar.resolve( - "META-INF/maven/dev.hilla/" + artifactId + "/pom.properties"); + final Path pomProperties = jar + .resolve("META-INF/maven/com.vaadin.hilla/" + artifactId + + "/pom.properties"); Files.createDirectories(pomProperties.getParent()); Files.writeString(pomProperties, "version=" + version); return jar.toUri().toURL(); diff --git a/packages/java/endpoint/src/test/java/dev/hilla/NonnullEntity.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/NonnullEntity.java similarity index 93% rename from packages/java/endpoint/src/test/java/dev/hilla/NonnullEntity.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/NonnullEntity.java index 94106a3fc7..b593b25775 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/NonnullEntity.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/NonnullEntity.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; import java.util.ArrayList; import java.util.List; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/NonnullParserTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/NonnullParserTest.java similarity index 97% rename from packages/java/endpoint/src/test/java/dev/hilla/NonnullParserTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/NonnullParserTest.java index 0b1ce895a1..e2e077e8d6 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/NonnullParserTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/NonnullParserTest.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; import java.io.File; import java.io.FileNotFoundException; @@ -12,7 +12,7 @@ import org.junit.Before; import org.junit.Test; -import dev.hilla.utils.TestUtils; +import com.vaadin.hilla.utils.TestUtils; import static org.junit.Assert.assertTrue; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/NonnullReflectionTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/NonnullReflectionTest.java similarity index 98% rename from packages/java/endpoint/src/test/java/dev/hilla/NonnullReflectionTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/NonnullReflectionTest.java index 2e39ef392e..fed280c5bc 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/NonnullReflectionTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/NonnullReflectionTest.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; import java.lang.reflect.AnnotatedParameterizedType; import java.lang.reflect.AnnotatedType; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/OpenAPIUtilTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/OpenAPIUtilTest.java similarity index 98% rename from packages/java/endpoint/src/test/java/dev/hilla/OpenAPIUtilTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/OpenAPIUtilTest.java index f27ebde223..172f720da7 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/OpenAPIUtilTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/OpenAPIUtilTest.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; import java.io.IOException; import java.nio.charset.StandardCharsets; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/ServletContextTestSetup.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/ServletContextTestSetup.java similarity index 98% rename from packages/java/endpoint/src/test/java/dev/hilla/ServletContextTestSetup.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/ServletContextTestSetup.java index b4752d5f6b..a97d787068 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/ServletContextTestSetup.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/ServletContextTestSetup.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; import jakarta.servlet.ServletContext; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/auth/CsrfCheckerTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/auth/CsrfCheckerTest.java similarity index 98% rename from packages/java/endpoint/src/test/java/dev/hilla/auth/CsrfCheckerTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/auth/CsrfCheckerTest.java index ba178c032f..e463161a2c 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/auth/CsrfCheckerTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/auth/CsrfCheckerTest.java @@ -1,4 +1,4 @@ -package dev.hilla.auth; +package com.vaadin.hilla.auth; import jakarta.servlet.ServletContext; import jakarta.servlet.http.HttpServletRequest; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/auth/CsrfIndexHtmlRequestListenerTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/auth/CsrfIndexHtmlRequestListenerTest.java similarity index 99% rename from packages/java/endpoint/src/test/java/dev/hilla/auth/CsrfIndexHtmlRequestListenerTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/auth/CsrfIndexHtmlRequestListenerTest.java index 8e66aec68e..add9fe4072 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/auth/CsrfIndexHtmlRequestListenerTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/auth/CsrfIndexHtmlRequestListenerTest.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.auth; +package com.vaadin.hilla.auth; import jakarta.servlet.http.Cookie; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/auth/EndpointAccessCheckerTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/auth/EndpointAccessCheckerTest.java similarity index 99% rename from packages/java/endpoint/src/test/java/dev/hilla/auth/EndpointAccessCheckerTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/auth/EndpointAccessCheckerTest.java index 82cc9faf68..ff8dfcb72a 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/auth/EndpointAccessCheckerTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/auth/EndpointAccessCheckerTest.java @@ -1,4 +1,4 @@ -package dev.hilla.auth; +package com.vaadin.hilla.auth; import jakarta.annotation.security.DenyAll; import jakarta.annotation.security.PermitAll; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/crud/CrudRepositoryServiceJpaTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/CrudRepositoryServiceJpaTest.java similarity index 95% rename from packages/java/endpoint/src/test/java/dev/hilla/crud/CrudRepositoryServiceJpaTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/CrudRepositoryServiceJpaTest.java index f9ff1c5e78..87d7b7ad4c 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/crud/CrudRepositoryServiceJpaTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/CrudRepositoryServiceJpaTest.java @@ -1,10 +1,10 @@ -package dev.hilla.crud; +package com.vaadin.hilla.crud; import java.util.ArrayList; import java.util.List; -import dev.hilla.crud.filter.PropertyStringFilter; -import dev.hilla.crud.filter.PropertyStringFilter.Matcher; +import com.vaadin.hilla.crud.filter.PropertyStringFilter; +import com.vaadin.hilla.crud.filter.PropertyStringFilter.Matcher; import org.junit.Assert; import org.junit.Before; import org.junit.Test; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/crud/CrudRepositoryServiceTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/CrudRepositoryServiceTest.java similarity index 99% rename from packages/java/endpoint/src/test/java/dev/hilla/crud/CrudRepositoryServiceTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/CrudRepositoryServiceTest.java index d2894a6b9e..ea0621e42d 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/crud/CrudRepositoryServiceTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/CrudRepositoryServiceTest.java @@ -1,6 +1,6 @@ -package dev.hilla.crud; +package com.vaadin.hilla.crud; -import dev.hilla.BrowserCallable; +import com.vaadin.hilla.BrowserCallable; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/crud/FilterTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/FilterTest.java similarity index 98% rename from packages/java/endpoint/src/test/java/dev/hilla/crud/FilterTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/FilterTest.java index 60da3d227f..034750dbe3 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/crud/FilterTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/FilterTest.java @@ -1,13 +1,13 @@ -package dev.hilla.crud; +package com.vaadin.hilla.crud; import java.util.ArrayList; import java.util.List; -import dev.hilla.crud.filter.AndFilter; -import dev.hilla.crud.filter.Filter; -import dev.hilla.crud.filter.OrFilter; -import dev.hilla.crud.filter.PropertyStringFilter; -import dev.hilla.crud.filter.PropertyStringFilter.Matcher; +import com.vaadin.hilla.crud.filter.AndFilter; +import com.vaadin.hilla.crud.filter.Filter; +import com.vaadin.hilla.crud.filter.OrFilter; +import com.vaadin.hilla.crud.filter.PropertyStringFilter; +import com.vaadin.hilla.crud.filter.PropertyStringFilter.Matcher; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/crud/NestedObject.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/NestedObject.java similarity index 97% rename from packages/java/endpoint/src/test/java/dev/hilla/crud/NestedObject.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/NestedObject.java index a2a2ba1b38..5edb9c5582 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/crud/NestedObject.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/NestedObject.java @@ -1,4 +1,4 @@ -package dev.hilla.crud; +package com.vaadin.hilla.crud; import jakarta.persistence.Entity; import jakarta.persistence.GeneratedValue; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/crud/SecondLevelNestedObject.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/SecondLevelNestedObject.java similarity index 96% rename from packages/java/endpoint/src/test/java/dev/hilla/crud/SecondLevelNestedObject.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/SecondLevelNestedObject.java index 5a20ab224f..b79d2bd37c 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/crud/SecondLevelNestedObject.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/SecondLevelNestedObject.java @@ -1,4 +1,4 @@ -package dev.hilla.crud; +package com.vaadin.hilla.crud; import jakarta.persistence.Entity; import jakarta.persistence.GeneratedValue; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/crud/TestApplication.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/TestApplication.java similarity index 89% rename from packages/java/endpoint/src/test/java/dev/hilla/crud/TestApplication.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/TestApplication.java index 5fd89b3df5..36bb2bbf6b 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/crud/TestApplication.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/TestApplication.java @@ -1,4 +1,4 @@ -package dev.hilla.crud; +package com.vaadin.hilla.crud; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Import; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/crud/TestCrudRepositoryService.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/TestCrudRepositoryService.java similarity index 85% rename from packages/java/endpoint/src/test/java/dev/hilla/crud/TestCrudRepositoryService.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/TestCrudRepositoryService.java index f39ca57551..18fb11ff86 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/crud/TestCrudRepositoryService.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/TestCrudRepositoryService.java @@ -1,4 +1,4 @@ -package dev.hilla.crud; +package com.vaadin.hilla.crud; import org.springframework.stereotype.Service; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/crud/TestEnum.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/TestEnum.java similarity index 61% rename from packages/java/endpoint/src/test/java/dev/hilla/crud/TestEnum.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/TestEnum.java index 6887c9f256..3d5891f905 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/crud/TestEnum.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/TestEnum.java @@ -1,4 +1,4 @@ -package dev.hilla.crud; +package com.vaadin.hilla.crud; public enum TestEnum { TEST1, TEST2, TEST3 diff --git a/packages/java/endpoint/src/test/java/dev/hilla/crud/TestObject.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/TestObject.java similarity index 99% rename from packages/java/endpoint/src/test/java/dev/hilla/crud/TestObject.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/TestObject.java index bd414093ec..e80dc97520 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/crud/TestObject.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/TestObject.java @@ -1,4 +1,4 @@ -package dev.hilla.crud; +package com.vaadin.hilla.crud; import jakarta.persistence.Entity; import jakarta.persistence.GeneratedValue; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/crud/TestRepository.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/TestRepository.java similarity index 89% rename from packages/java/endpoint/src/test/java/dev/hilla/crud/TestRepository.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/TestRepository.java index 4ffc734215..177c3c51e6 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/crud/TestRepository.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/crud/TestRepository.java @@ -1,4 +1,4 @@ -package dev.hilla.crud; +package com.vaadin.hilla.crud; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/endpointransfermapper/EndpointTransferMapperTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/endpointransfermapper/EndpointTransferMapperTest.java similarity index 97% rename from packages/java/endpoint/src/test/java/dev/hilla/endpointransfermapper/EndpointTransferMapperTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/endpointransfermapper/EndpointTransferMapperTest.java index 85fb9dd398..c2ced52ff6 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/endpointransfermapper/EndpointTransferMapperTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/endpointransfermapper/EndpointTransferMapperTest.java @@ -1,11 +1,11 @@ -package dev.hilla.endpointransfermapper; +package com.vaadin.hilla.endpointransfermapper; import java.util.ArrayList; import java.util.List; import java.util.UUID; -import dev.hilla.mappedtypes.Order; -import dev.hilla.mappedtypes.Pageable; +import com.vaadin.hilla.mappedtypes.Order; +import com.vaadin.hilla.mappedtypes.Pageable; import org.junit.Assert; import org.junit.Test; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/endpoints/CrudEndpoint.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/CrudEndpoint.java similarity index 77% rename from packages/java/endpoint/src/test/java/dev/hilla/endpoints/CrudEndpoint.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/CrudEndpoint.java index d3b9a37096..6948751c81 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/endpoints/CrudEndpoint.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/CrudEndpoint.java @@ -1,8 +1,8 @@ -package dev.hilla.endpoints; +package com.vaadin.hilla.endpoints; import com.vaadin.flow.server.auth.AnonymousAllowed; -import dev.hilla.EndpointExposed; +import com.vaadin.hilla.EndpointExposed; @EndpointExposed @AnonymousAllowed diff --git a/packages/java/endpoint/src/test/java/dev/hilla/endpoints/Id.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/Id.java similarity index 80% rename from packages/java/endpoint/src/test/java/dev/hilla/endpoints/Id.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/Id.java index b77dbf6169..ade29d7e4c 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/endpoints/Id.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/Id.java @@ -1,4 +1,4 @@ -package dev.hilla.endpoints; +package com.vaadin.hilla.endpoints; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/endpoints/IterableEndpoint.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/IterableEndpoint.java similarity index 92% rename from packages/java/endpoint/src/test/java/dev/hilla/endpoints/IterableEndpoint.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/IterableEndpoint.java index 3da287b9ab..a330922223 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/endpoints/IterableEndpoint.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/IterableEndpoint.java @@ -13,13 +13,13 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.endpoints; +package com.vaadin.hilla.endpoints; import java.util.Arrays; import com.vaadin.flow.server.auth.AnonymousAllowed; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; @Endpoint @AnonymousAllowed diff --git a/packages/java/endpoint/src/test/java/dev/hilla/endpoints/NonEndpoint.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/NonEndpoint.java similarity index 94% rename from packages/java/endpoint/src/test/java/dev/hilla/endpoints/NonEndpoint.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/NonEndpoint.java index 71478b2973..8ffb36cda4 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/endpoints/NonEndpoint.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/NonEndpoint.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.endpoints; +package com.vaadin.hilla.endpoints; public interface NonEndpoint { default void nonEndpointMethod() { diff --git a/packages/java/endpoint/src/test/java/dev/hilla/endpoints/NonEndpointImpl.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/NonEndpointImpl.java similarity index 95% rename from packages/java/endpoint/src/test/java/dev/hilla/endpoints/NonEndpointImpl.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/NonEndpointImpl.java index 22854ec873..a7a461e6ac 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/endpoints/NonEndpointImpl.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/NonEndpointImpl.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.endpoints; +package com.vaadin.hilla.endpoints; public class NonEndpointImpl implements NonEndpoint { public void nonEndpointImplMethod() { diff --git a/packages/java/endpoint/src/test/java/dev/hilla/endpoints/PackagePrivateEndpoint.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/PackagePrivateEndpoint.java similarity index 82% rename from packages/java/endpoint/src/test/java/dev/hilla/endpoints/PackagePrivateEndpoint.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/PackagePrivateEndpoint.java index 57efb10374..5defc961cf 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/endpoints/PackagePrivateEndpoint.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/PackagePrivateEndpoint.java @@ -1,8 +1,8 @@ -package dev.hilla.endpoints; +package com.vaadin.hilla.endpoints; import com.vaadin.flow.server.auth.AnonymousAllowed; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; /** * PackagePrivateEndpoint, created on 03/12/2020 18.22 diff --git a/packages/java/endpoint/src/test/java/dev/hilla/endpoints/PagedData.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/PagedData.java similarity index 93% rename from packages/java/endpoint/src/test/java/dev/hilla/endpoints/PagedData.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/PagedData.java index 24953b22fb..e0ad5c1eff 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/endpoints/PagedData.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/PagedData.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.endpoints; +package com.vaadin.hilla.endpoints; import java.util.Collections; import java.util.List; @@ -21,7 +21,7 @@ import org.checkerframework.checker.nullness.qual.NonNull; -import dev.hilla.EndpointExposed; +import com.vaadin.hilla.EndpointExposed; @EndpointExposed public interface PagedData { diff --git a/packages/java/endpoint/src/test/java/dev/hilla/endpoints/PersonEndpoint.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/PersonEndpoint.java similarity index 72% rename from packages/java/endpoint/src/test/java/dev/hilla/endpoints/PersonEndpoint.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/PersonEndpoint.java index 92749cd37c..a755a85766 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/endpoints/PersonEndpoint.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/PersonEndpoint.java @@ -1,7 +1,7 @@ -package dev.hilla.endpoints; +package com.vaadin.hilla.endpoints; -import dev.hilla.Endpoint; -import dev.hilla.endpoints.PersonEndpoint.Person; +import com.vaadin.hilla.Endpoint; +import com.vaadin.hilla.endpoints.PersonEndpoint.Person; @Endpoint public class PersonEndpoint extends CrudEndpoint diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/ReadOnlyEndpoint.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/ReadOnlyEndpoint.java similarity index 91% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/ReadOnlyEndpoint.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/ReadOnlyEndpoint.java index 9e6e8cf29b..5b33f8d026 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/ReadOnlyEndpoint.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/endpoints/ReadOnlyEndpoint.java @@ -13,11 +13,12 @@ * License for the specific language governing permissions and limitations under * the License. */ - -package dev.hilla.parser.plugins.backbone.superclassmethods; +package com.vaadin.hilla.endpoints; import java.util.Optional; +import com.vaadin.hilla.EndpointExposed; + @EndpointExposed public class ReadOnlyEndpoint extends NonEndpointImpl implements NonEndpoint { diff --git a/packages/java/endpoint/src/test/java/dev/hilla/internal/hotswap/EndpointHotSwapListenerTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/internal/hotswap/EndpointHotSwapListenerTest.java similarity index 83% rename from packages/java/endpoint/src/test/java/dev/hilla/internal/hotswap/EndpointHotSwapListenerTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/internal/hotswap/EndpointHotSwapListenerTest.java index 5a2d7fc027..c82935d18e 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/internal/hotswap/EndpointHotSwapListenerTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/internal/hotswap/EndpointHotSwapListenerTest.java @@ -1,16 +1,16 @@ -package dev.hilla.internal.hotswap; +package com.vaadin.hilla.internal.hotswap; import java.io.IOException; import java.nio.file.Path; -import dev.hilla.ApplicationContextProvider; -import dev.hilla.EndpointController; -import dev.hilla.EndpointControllerConfiguration; -import dev.hilla.EndpointProperties; -import dev.hilla.ServletContextTestSetup; -import dev.hilla.engine.EngineConfiguration; -import dev.hilla.engine.GeneratorProcessor; -import dev.hilla.engine.ParserProcessor; +import com.vaadin.hilla.ApplicationContextProvider; +import com.vaadin.hilla.EndpointController; +import com.vaadin.hilla.EndpointControllerConfiguration; +import com.vaadin.hilla.EndpointProperties; +import com.vaadin.hilla.ServletContextTestSetup; +import com.vaadin.hilla.engine.EngineConfiguration; +import com.vaadin.hilla.engine.GeneratorProcessor; +import com.vaadin.hilla.engine.ParserProcessor; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mockito; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/internal/hotswap/HotSwapServiceInitializerTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/internal/hotswap/HotSwapServiceInitializerTest.java similarity index 99% rename from packages/java/endpoint/src/test/java/dev/hilla/internal/hotswap/HotSwapServiceInitializerTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/internal/hotswap/HotSwapServiceInitializerTest.java index 7ecaf085ef..da55610bdc 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/internal/hotswap/HotSwapServiceInitializerTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/internal/hotswap/HotSwapServiceInitializerTest.java @@ -1,4 +1,4 @@ -package dev.hilla.internal.hotswap; +package com.vaadin.hilla.internal.hotswap; import com.vaadin.flow.function.DeploymentConfiguration; import com.vaadin.flow.internal.BrowserLiveReload; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/packages/application/ApplicationComponent.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/packages/application/ApplicationComponent.java similarity index 78% rename from packages/java/endpoint/src/test/java/dev/hilla/packages/application/ApplicationComponent.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/packages/application/ApplicationComponent.java index 68f309cc4d..534cbae893 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/packages/application/ApplicationComponent.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/packages/application/ApplicationComponent.java @@ -1,4 +1,4 @@ -package dev.hilla.packages.application; +package com.vaadin.hilla.packages.application; import org.springframework.stereotype.Component; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/packages/application/ApplicationEndpoint.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/packages/application/ApplicationEndpoint.java similarity index 80% rename from packages/java/endpoint/src/test/java/dev/hilla/packages/application/ApplicationEndpoint.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/packages/application/ApplicationEndpoint.java index 964c46e705..fd9b736435 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/packages/application/ApplicationEndpoint.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/packages/application/ApplicationEndpoint.java @@ -1,6 +1,6 @@ -package dev.hilla.packages.application; +package com.vaadin.hilla.packages.application; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; @Endpoint public class ApplicationEndpoint { diff --git a/packages/java/endpoint/src/test/java/com/vaadin/hilla/packages/library/LibraryEndpoint.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/packages/library/LibraryEndpoint.java new file mode 100644 index 0000000000..d8603e3a56 --- /dev/null +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/packages/library/LibraryEndpoint.java @@ -0,0 +1,8 @@ +package com.vaadin.hilla.packages.library; + +import com.vaadin.hilla.Endpoint; + +@Endpoint +public class LibraryEndpoint { + +} diff --git a/packages/java/endpoint/src/test/java/dev/hilla/packages/library/LibraryEndpointWithConstructor.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/packages/library/LibraryEndpointWithConstructor.java similarity index 61% rename from packages/java/endpoint/src/test/java/dev/hilla/packages/library/LibraryEndpointWithConstructor.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/packages/library/LibraryEndpointWithConstructor.java index 74fa51b449..c0005d5378 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/packages/library/LibraryEndpointWithConstructor.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/packages/library/LibraryEndpointWithConstructor.java @@ -1,6 +1,6 @@ -package dev.hilla.packages.library; +package com.vaadin.hilla.packages.library; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; @Endpoint public class LibraryEndpointWithConstructor { diff --git a/packages/java/endpoint/src/test/java/dev/hilla/push/PushMessageHandlerTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/push/PushMessageHandlerTest.java similarity index 94% rename from packages/java/endpoint/src/test/java/dev/hilla/push/PushMessageHandlerTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/push/PushMessageHandlerTest.java index 890bc4352b..a93794f8c7 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/push/PushMessageHandlerTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/push/PushMessageHandlerTest.java @@ -1,4 +1,4 @@ -package dev.hilla.push; +package com.vaadin.hilla.push; import java.time.Duration; import java.util.ArrayList; @@ -11,23 +11,23 @@ import java.util.function.Consumer; import com.fasterxml.jackson.databind.ObjectMapper; -import dev.hilla.EndpointController; -import dev.hilla.EndpointControllerConfiguration; -import dev.hilla.EndpointInvocationException.EndpointAccessDeniedException; -import dev.hilla.EndpointInvocationException.EndpointBadRequestException; -import dev.hilla.EndpointInvocationException.EndpointInternalException; -import dev.hilla.EndpointInvocationException.EndpointNotFoundException; -import dev.hilla.EndpointInvoker; -import dev.hilla.EndpointProperties; -import dev.hilla.EndpointSubscription; -import dev.hilla.ServletContextTestSetup; -import dev.hilla.push.PushMessageHandler.SubscriptionInfo; -import dev.hilla.push.messages.fromclient.SubscribeMessage; -import dev.hilla.push.messages.fromclient.UnsubscribeMessage; -import dev.hilla.push.messages.toclient.AbstractClientMessage; -import dev.hilla.push.messages.toclient.ClientMessageComplete; -import dev.hilla.push.messages.toclient.ClientMessageError; -import dev.hilla.push.messages.toclient.ClientMessageUpdate; +import com.vaadin.hilla.EndpointController; +import com.vaadin.hilla.EndpointControllerConfiguration; +import com.vaadin.hilla.EndpointInvocationException.EndpointAccessDeniedException; +import com.vaadin.hilla.EndpointInvocationException.EndpointBadRequestException; +import com.vaadin.hilla.EndpointInvocationException.EndpointInternalException; +import com.vaadin.hilla.EndpointInvocationException.EndpointNotFoundException; +import com.vaadin.hilla.EndpointInvoker; +import com.vaadin.hilla.EndpointProperties; +import com.vaadin.hilla.EndpointSubscription; +import com.vaadin.hilla.ServletContextTestSetup; +import com.vaadin.hilla.push.PushMessageHandler.SubscriptionInfo; +import com.vaadin.hilla.push.messages.fromclient.SubscribeMessage; +import com.vaadin.hilla.push.messages.fromclient.UnsubscribeMessage; +import com.vaadin.hilla.push.messages.toclient.AbstractClientMessage; +import com.vaadin.hilla.push.messages.toclient.ClientMessageComplete; +import com.vaadin.hilla.push.messages.toclient.ClientMessageError; +import com.vaadin.hilla.push.messages.toclient.ClientMessageUpdate; import net.jcip.annotations.NotThreadSafe; import org.junit.After; import org.junit.Assert; @@ -52,7 +52,7 @@ EndpointController.class }) @ContextConfiguration(classes = { EndpointControllerConfiguration.class }) @RunWith(SpringRunner.class) -@TestPropertySource(properties = "dev.hilla.FeatureFlagCondition.alwaysEnable=true") +@TestPropertySource(properties = "com.vaadin.hilla.FeatureFlagCondition.alwaysEnable=true") @NotThreadSafe public class PushMessageHandlerTest { diff --git a/packages/java/endpoint/src/test/java/dev/hilla/rest/BeanWithJacksonAnnotation.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/rest/BeanWithJacksonAnnotation.java similarity index 97% rename from packages/java/endpoint/src/test/java/dev/hilla/rest/BeanWithJacksonAnnotation.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/rest/BeanWithJacksonAnnotation.java index 6b890a5c7d..e2fd657941 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/rest/BeanWithJacksonAnnotation.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/rest/BeanWithJacksonAnnotation.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.rest; +package com.vaadin.hilla.rest; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/rest/BeanWithPrivateFields.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/rest/BeanWithPrivateFields.java similarity index 97% rename from packages/java/endpoint/src/test/java/dev/hilla/rest/BeanWithPrivateFields.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/rest/BeanWithPrivateFields.java index 4ada113ab2..8f65da766f 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/rest/BeanWithPrivateFields.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/rest/BeanWithPrivateFields.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.rest; +package com.vaadin.hilla.rest; public class BeanWithPrivateFields { @SuppressWarnings("unused") diff --git a/packages/java/endpoint/src/test/java/dev/hilla/rest/EndpointWithRestControllerTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/rest/EndpointWithRestControllerTest.java similarity index 98% rename from packages/java/endpoint/src/test/java/dev/hilla/rest/EndpointWithRestControllerTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/rest/EndpointWithRestControllerTest.java index ba91adf7f4..a3c3f0f02b 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/rest/EndpointWithRestControllerTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/rest/EndpointWithRestControllerTest.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.rest; +package com.vaadin.hilla.rest; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; @@ -41,8 +41,8 @@ import com.vaadin.flow.server.startup.ApplicationConfiguration; -import dev.hilla.EndpointController; -import dev.hilla.EndpointControllerMockBuilder; +import com.vaadin.hilla.EndpointController; +import com.vaadin.hilla.EndpointControllerMockBuilder; import jakarta.servlet.ServletContext; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/rest/MixedRestAndEndpointApplication.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/rest/MixedRestAndEndpointApplication.java similarity index 96% rename from packages/java/endpoint/src/test/java/dev/hilla/rest/MixedRestAndEndpointApplication.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/rest/MixedRestAndEndpointApplication.java index c6ff2b34e1..652914f86c 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/rest/MixedRestAndEndpointApplication.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/rest/MixedRestAndEndpointApplication.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.rest; +package com.vaadin.hilla.rest; import org.springframework.boot.autoconfigure.SpringBootApplication; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/rest/MyRestController.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/rest/MyRestController.java similarity index 96% rename from packages/java/endpoint/src/test/java/dev/hilla/rest/MyRestController.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/rest/MyRestController.java index 590d49c164..8b6672a601 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/rest/MyRestController.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/rest/MyRestController.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.rest; +package com.vaadin.hilla.rest; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/rest/TestEndpoints.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/rest/TestEndpoints.java similarity index 96% rename from packages/java/endpoint/src/test/java/dev/hilla/rest/TestEndpoints.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/rest/TestEndpoints.java index fd9a346caa..3a2bc7797a 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/rest/TestEndpoints.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/rest/TestEndpoints.java @@ -13,12 +13,12 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.rest; +package com.vaadin.hilla.rest; import java.time.LocalTime; import java.time.ZonedDateTime; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; @Endpoint public class TestEndpoints { diff --git a/packages/java/endpoint/src/test/java/dev/hilla/startup/CsrfServiceInitListenerTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/startup/CsrfServiceInitListenerTest.java similarity index 96% rename from packages/java/endpoint/src/test/java/dev/hilla/startup/CsrfServiceInitListenerTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/startup/CsrfServiceInitListenerTest.java index f2f7ef590f..0039f287a9 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/startup/CsrfServiceInitListenerTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/startup/CsrfServiceInitListenerTest.java @@ -14,12 +14,12 @@ * the License. */ -package dev.hilla.startup; +package com.vaadin.hilla.startup; import java.util.ServiceLoader; import java.util.stream.StreamSupport; -import dev.hilla.auth.CsrfIndexHtmlRequestListener; +import com.vaadin.hilla.auth.CsrfIndexHtmlRequestListener; import org.junit.Assert; import org.junit.Before; import org.junit.Test; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/startup/EndpointsValidatorTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/startup/EndpointsValidatorTest.java similarity index 96% rename from packages/java/endpoint/src/test/java/dev/hilla/startup/EndpointsValidatorTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/startup/EndpointsValidatorTest.java index a4709408e0..b28ea4a71f 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/startup/EndpointsValidatorTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/startup/EndpointsValidatorTest.java @@ -1,4 +1,4 @@ -package dev.hilla.startup; +package com.vaadin.hilla.startup; import jakarta.servlet.ServletContext; import jakarta.servlet.ServletException; @@ -6,7 +6,7 @@ import java.util.HashSet; import java.util.Set; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; import org.junit.Before; import org.junit.Rule; import org.junit.Test; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/testendpoint/BridgeMethodTestEndpoint.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/testendpoint/BridgeMethodTestEndpoint.java similarity index 96% rename from packages/java/endpoint/src/test/java/dev/hilla/testendpoint/BridgeMethodTestEndpoint.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/testendpoint/BridgeMethodTestEndpoint.java index a1894f1da5..e09c892ea8 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/testendpoint/BridgeMethodTestEndpoint.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/testendpoint/BridgeMethodTestEndpoint.java @@ -13,9 +13,9 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.testendpoint; +package com.vaadin.hilla.testendpoint; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; /** * Test case for https://github.com/vaadin/vaadin-connect/issues/162 diff --git a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/ArrayConversionTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/ArrayConversionTest.java similarity index 98% rename from packages/java/endpoint/src/test/java/dev/hilla/typeconversion/ArrayConversionTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/ArrayConversionTest.java index e1d6b43917..285f1d67ff 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/ArrayConversionTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/ArrayConversionTest.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.typeconversion; +package com.vaadin.hilla.typeconversion; import org.junit.Test; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/BaseTypeConversionTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/BaseTypeConversionTest.java similarity index 96% rename from packages/java/endpoint/src/test/java/dev/hilla/typeconversion/BaseTypeConversionTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/BaseTypeConversionTest.java index 370205111e..9bf70cd7b7 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/BaseTypeConversionTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/BaseTypeConversionTest.java @@ -13,10 +13,10 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.typeconversion; +package com.vaadin.hilla.typeconversion; -import dev.hilla.EndpointController; -import dev.hilla.EndpointControllerMockBuilder; +import com.vaadin.hilla.EndpointController; +import com.vaadin.hilla.EndpointControllerMockBuilder; import org.junit.Assert; import org.junit.Before; import org.junit.runner.RunWith; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/BeanConversionTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/BeanConversionTest.java similarity index 97% rename from packages/java/endpoint/src/test/java/dev/hilla/typeconversion/BeanConversionTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/BeanConversionTest.java index 35e4f05b6d..3b73ed0eb7 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/BeanConversionTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/BeanConversionTest.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.typeconversion; +package com.vaadin.hilla.typeconversion; import org.junit.Test; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/BooleanConversionTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/BooleanConversionTest.java similarity index 99% rename from packages/java/endpoint/src/test/java/dev/hilla/typeconversion/BooleanConversionTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/BooleanConversionTest.java index 6da7918f11..432791765f 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/BooleanConversionTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/BooleanConversionTest.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.typeconversion; +package com.vaadin.hilla.typeconversion; import org.junit.Test; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/ByteConversionTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/ByteConversionTest.java similarity index 99% rename from packages/java/endpoint/src/test/java/dev/hilla/typeconversion/ByteConversionTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/ByteConversionTest.java index 21879659be..07bae278f7 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/ByteConversionTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/ByteConversionTest.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.typeconversion; +package com.vaadin.hilla.typeconversion; import org.junit.Test; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/CharacterConversionTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/CharacterConversionTest.java similarity index 98% rename from packages/java/endpoint/src/test/java/dev/hilla/typeconversion/CharacterConversionTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/CharacterConversionTest.java index 756079727e..7fdaba7d0a 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/CharacterConversionTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/CharacterConversionTest.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.typeconversion; +package com.vaadin.hilla.typeconversion; import org.junit.Assert; import org.junit.Test; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/CollectionConversionTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/CollectionConversionTest.java similarity index 99% rename from packages/java/endpoint/src/test/java/dev/hilla/typeconversion/CollectionConversionTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/CollectionConversionTest.java index c117a094dc..63df87a2fe 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/CollectionConversionTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/CollectionConversionTest.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.typeconversion; +package com.vaadin.hilla.typeconversion; import org.junit.Test; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/DateTimeConversionTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/DateTimeConversionTest.java similarity index 98% rename from packages/java/endpoint/src/test/java/dev/hilla/typeconversion/DateTimeConversionTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/DateTimeConversionTest.java index c5d0790ac1..5ec009a770 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/DateTimeConversionTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/DateTimeConversionTest.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.typeconversion; +package com.vaadin.hilla.typeconversion; import org.junit.Test; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/DoubleConversionTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/DoubleConversionTest.java similarity index 99% rename from packages/java/endpoint/src/test/java/dev/hilla/typeconversion/DoubleConversionTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/DoubleConversionTest.java index 492772421e..64e16ef672 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/DoubleConversionTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/DoubleConversionTest.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.typeconversion; +package com.vaadin.hilla.typeconversion; import org.junit.Assert; import org.junit.Test; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/EndpointTestBean.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/EndpointTestBean.java similarity index 96% rename from packages/java/endpoint/src/test/java/dev/hilla/typeconversion/EndpointTestBean.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/EndpointTestBean.java index 56b73413a7..3e5fb0590d 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/EndpointTestBean.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/EndpointTestBean.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.typeconversion; +package com.vaadin.hilla.typeconversion; import java.util.Collection; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/EnumConversionTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/EnumConversionTest.java similarity index 97% rename from packages/java/endpoint/src/test/java/dev/hilla/typeconversion/EnumConversionTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/EnumConversionTest.java index 849feab067..d92c3cc6ab 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/EnumConversionTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/EnumConversionTest.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.typeconversion; +package com.vaadin.hilla.typeconversion; import org.junit.Test; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/FloatConversionTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/FloatConversionTest.java similarity index 99% rename from packages/java/endpoint/src/test/java/dev/hilla/typeconversion/FloatConversionTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/FloatConversionTest.java index 1c4a02e890..8a41e4bfa9 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/FloatConversionTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/FloatConversionTest.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.typeconversion; +package com.vaadin.hilla.typeconversion; import org.junit.Test; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/IntegerConversionTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/IntegerConversionTest.java similarity index 99% rename from packages/java/endpoint/src/test/java/dev/hilla/typeconversion/IntegerConversionTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/IntegerConversionTest.java index 0508cc11f6..253362f70d 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/IntegerConversionTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/IntegerConversionTest.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.typeconversion; +package com.vaadin.hilla.typeconversion; import org.junit.Test; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/LongConversionTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/LongConversionTest.java similarity index 99% rename from packages/java/endpoint/src/test/java/dev/hilla/typeconversion/LongConversionTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/LongConversionTest.java index 8d84570ade..266534b0aa 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/LongConversionTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/LongConversionTest.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.typeconversion; +package com.vaadin.hilla.typeconversion; import org.junit.Test; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/MapConversionTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/MapConversionTest.java similarity index 98% rename from packages/java/endpoint/src/test/java/dev/hilla/typeconversion/MapConversionTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/MapConversionTest.java index 8633aaa109..6648b4973c 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/MapConversionTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/MapConversionTest.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.typeconversion; +package com.vaadin.hilla.typeconversion; import org.junit.Test; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/ShortConversionTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/ShortConversionTest.java similarity index 98% rename from packages/java/endpoint/src/test/java/dev/hilla/typeconversion/ShortConversionTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/ShortConversionTest.java index 5eed4db97a..006c9f86b7 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/ShortConversionTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/ShortConversionTest.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.typeconversion; +package com.vaadin.hilla.typeconversion; import org.junit.Test; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/StringConversionTest.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/StringConversionTest.java similarity index 96% rename from packages/java/endpoint/src/test/java/dev/hilla/typeconversion/StringConversionTest.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/StringConversionTest.java index fe19fa5d8c..90425ea518 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/StringConversionTest.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/StringConversionTest.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.typeconversion; +package com.vaadin.hilla.typeconversion; import org.junit.Test; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/TestApplication.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/TestApplication.java similarity index 95% rename from packages/java/endpoint/src/test/java/dev/hilla/typeconversion/TestApplication.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/TestApplication.java index f66914f72e..b441bd038e 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/TestApplication.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/TestApplication.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.typeconversion; +package com.vaadin.hilla.typeconversion; import org.springframework.boot.autoconfigure.SpringBootApplication; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/TestTypeConversionEndpoints.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/TestTypeConversionEndpoints.java similarity index 99% rename from packages/java/endpoint/src/test/java/dev/hilla/typeconversion/TestTypeConversionEndpoints.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/TestTypeConversionEndpoints.java index 0c0543b5b0..86a3ef453e 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/typeconversion/TestTypeConversionEndpoints.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/typeconversion/TestTypeConversionEndpoints.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.typeconversion; +package com.vaadin.hilla.typeconversion; import java.time.Instant; import java.time.LocalDate; @@ -33,7 +33,7 @@ import java.util.TreeSet; import java.util.stream.Collectors; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; @Endpoint public class TestTypeConversionEndpoints { diff --git a/packages/java/endpoint/src/test/java/dev/hilla/utils/TestUtils.java b/packages/java/endpoint/src/test/java/com/vaadin/hilla/utils/TestUtils.java similarity index 98% rename from packages/java/endpoint/src/test/java/dev/hilla/utils/TestUtils.java rename to packages/java/endpoint/src/test/java/com/vaadin/hilla/utils/TestUtils.java index 22a517c08b..97529aaefa 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/utils/TestUtils.java +++ b/packages/java/endpoint/src/test/java/com/vaadin/hilla/utils/TestUtils.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.utils; +package com.vaadin.hilla.utils; import java.io.BufferedReader; import java.io.File; diff --git a/packages/java/endpoint/src/test/java/dev/hilla/packages/library/LibraryEndpoint.java b/packages/java/endpoint/src/test/java/dev/hilla/packages/library/LibraryEndpoint.java deleted file mode 100644 index 15c73c52f8..0000000000 --- a/packages/java/endpoint/src/test/java/dev/hilla/packages/library/LibraryEndpoint.java +++ /dev/null @@ -1,8 +0,0 @@ -package dev.hilla.packages.library; - -import dev.hilla.Endpoint; - -@Endpoint -public class LibraryEndpoint { - -} diff --git a/packages/java/endpoint/src/test/resources/dev/hilla/openapi-customtype.json b/packages/java/endpoint/src/test/resources/com/vaadin/hilla/openapi-customtype.json similarity index 100% rename from packages/java/endpoint/src/test/resources/dev/hilla/openapi-customtype.json rename to packages/java/endpoint/src/test/resources/com/vaadin/hilla/openapi-customtype.json diff --git a/packages/java/endpoint/src/test/resources/dev/hilla/openapi-innertype.json b/packages/java/endpoint/src/test/resources/com/vaadin/hilla/openapi-innertype.json similarity index 100% rename from packages/java/endpoint/src/test/resources/dev/hilla/openapi-innertype.json rename to packages/java/endpoint/src/test/resources/com/vaadin/hilla/openapi-innertype.json diff --git a/packages/java/endpoint/src/test/resources/dev/hilla/openapi-nocustomtypes.json b/packages/java/endpoint/src/test/resources/com/vaadin/hilla/openapi-nocustomtypes.json similarity index 100% rename from packages/java/endpoint/src/test/resources/dev/hilla/openapi-nocustomtypes.json rename to packages/java/endpoint/src/test/resources/com/vaadin/hilla/openapi-nocustomtypes.json diff --git a/packages/java/endpoint/src/test/resources/dev/hilla/openapi-referring-customtypes.json b/packages/java/endpoint/src/test/resources/com/vaadin/hilla/openapi-referring-customtypes.json similarity index 100% rename from packages/java/endpoint/src/test/resources/dev/hilla/openapi-referring-customtypes.json rename to packages/java/endpoint/src/test/resources/com/vaadin/hilla/openapi-referring-customtypes.json diff --git a/packages/java/endpoint/src/test/resources/dev/hilla/packages/openapi-noendpoints.json b/packages/java/endpoint/src/test/resources/com/vaadin/hilla/packages/openapi-noendpoints.json similarity index 100% rename from packages/java/endpoint/src/test/resources/dev/hilla/packages/openapi-noendpoints.json rename to packages/java/endpoint/src/test/resources/com/vaadin/hilla/packages/openapi-noendpoints.json diff --git a/packages/java/endpoint/src/test/resources/com/vaadin/hilla/packages/openapi.json b/packages/java/endpoint/src/test/resources/com/vaadin/hilla/packages/openapi.json new file mode 100644 index 0000000000..4bc2caaefe --- /dev/null +++ b/packages/java/endpoint/src/test/resources/com/vaadin/hilla/packages/openapi.json @@ -0,0 +1,16 @@ +{ + "tags": [ + { + "name": "ApplicationEndpoint", + "x-class-name": "com.vaadin.hilla.packages.application.ApplicationEndpoint" + }, + { + "name": "LibraryEndpoint", + "x-class-name": "com.vaadin.hilla.packages.library.LibraryEndpoint" + }, + { + "name": "LibraryEndpointWithConstructor", + "x-class-name": "com.vaadin.hilla.packages.library.LibraryEndpointWithConstructor" + } + ] +} diff --git a/packages/java/endpoint/src/test/resources/dev/hilla/packages/openapi.json b/packages/java/endpoint/src/test/resources/dev/hilla/packages/openapi.json deleted file mode 100644 index 2eaecf665d..0000000000 --- a/packages/java/endpoint/src/test/resources/dev/hilla/packages/openapi.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "tags": [ - { - "name": "ApplicationEndpoint", - "x-class-name": "dev.hilla.packages.application.ApplicationEndpoint" - }, - { - "name": "LibraryEndpoint", - "x-class-name": "dev.hilla.packages.library.LibraryEndpoint" - }, - { - "name": "LibraryEndpointWithConstructor", - "x-class-name": "dev.hilla.packages.library.LibraryEndpointWithConstructor" - } - ] -} diff --git a/packages/java/endpoint/src/test/resources/java/CustomEndpoint.java b/packages/java/endpoint/src/test/resources/java/CustomEndpoint.java index ce6ddd129e..396757373c 100644 --- a/packages/java/endpoint/src/test/resources/java/CustomEndpoint.java +++ b/packages/java/endpoint/src/test/resources/java/CustomEndpoint.java @@ -1,4 +1,4 @@ -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; /** * A test class. diff --git a/packages/java/endpoint/src/test/resources/java/EndpointNoValue.java b/packages/java/endpoint/src/test/resources/java/EndpointNoValue.java index d362da88b9..62dcfd5120 100644 --- a/packages/java/endpoint/src/test/resources/java/EndpointNoValue.java +++ b/packages/java/endpoint/src/test/resources/java/EndpointNoValue.java @@ -1,4 +1,4 @@ -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; /** * A test class. diff --git a/packages/java/endpoint/src/test/resources/java/MyEndpoint.java b/packages/java/endpoint/src/test/resources/java/MyEndpoint.java index 7368bfef76..ee8c8752db 100644 --- a/packages/java/endpoint/src/test/resources/java/MyEndpoint.java +++ b/packages/java/endpoint/src/test/resources/java/MyEndpoint.java @@ -1,4 +1,4 @@ -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; /** * A test class. diff --git a/packages/java/engine-core/pom.xml b/packages/java/engine-core/pom.xml index 72384e9ce7..6cb21ce4b6 100644 --- a/packages/java/engine-core/pom.xml +++ b/packages/java/engine-core/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml @@ -45,7 +45,7 @@ - dev.hilla + com.vaadin.hilla parser-jvm-core ${project.version} @@ -59,32 +59,32 @@ test - dev.hilla + com.vaadin.hilla parser-jvm-plugin-backbone ${project.version} - dev.hilla + com.vaadin.hilla parser-jvm-utils ${project.version} - dev.hilla + com.vaadin.hilla parser-jvm-plugin-nonnull ${project.version} - dev.hilla + com.vaadin.hilla parser-jvm-plugin-subtypes ${project.version} - dev.hilla + com.vaadin.hilla parser-jvm-plugin-model ${project.version} - dev.hilla + com.vaadin.hilla parser-jvm-plugin-transfertypes ${project.version} @@ -99,7 +99,7 @@ test - dev.hilla + com.vaadin.hilla parser-jvm-test-utils ${project.version} test diff --git a/packages/java/engine-core/src/main/java/dev/hilla/engine/ConfigurationException.java b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/ConfigurationException.java similarity index 81% rename from packages/java/engine-core/src/main/java/dev/hilla/engine/ConfigurationException.java rename to packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/ConfigurationException.java index 6c06ce3ab9..da87af1eb7 100644 --- a/packages/java/engine-core/src/main/java/dev/hilla/engine/ConfigurationException.java +++ b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/ConfigurationException.java @@ -1,4 +1,4 @@ -package dev.hilla.engine; +package com.vaadin.hilla.engine; public final class ConfigurationException extends RuntimeException { ConfigurationException(Throwable cause) { diff --git a/packages/java/engine-core/src/main/java/dev/hilla/engine/EngineConfiguration.java b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/EngineConfiguration.java similarity index 98% rename from packages/java/engine-core/src/main/java/dev/hilla/engine/EngineConfiguration.java rename to packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/EngineConfiguration.java index 59cb5506be..1f644dbe01 100644 --- a/packages/java/engine-core/src/main/java/dev/hilla/engine/EngineConfiguration.java +++ b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/EngineConfiguration.java @@ -1,4 +1,4 @@ -package dev.hilla.engine; +package com.vaadin.hilla.engine; import java.io.File; import java.io.IOException; @@ -17,7 +17,7 @@ public class EngineConfiguration { public static final String DEFAULT_CONFIG_FILE_NAME = "hilla-engine-configuration.json"; - public static final String OPEN_API_PATH = "dev/hilla/openapi.json"; + public static final String OPEN_API_PATH = "com/vaadin/hilla/openapi.json"; static final ObjectMapper MAPPER = new ObjectMapper() .setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.NONE) .setVisibility(PropertyAccessor.FIELD, diff --git a/packages/java/engine-core/src/main/java/dev/hilla/engine/GeneratorConfiguration.java b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/GeneratorConfiguration.java similarity index 98% rename from packages/java/engine-core/src/main/java/dev/hilla/engine/GeneratorConfiguration.java rename to packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/GeneratorConfiguration.java index 9a5a22d475..d2a619d401 100644 --- a/packages/java/engine-core/src/main/java/dev/hilla/engine/GeneratorConfiguration.java +++ b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/GeneratorConfiguration.java @@ -1,4 +1,4 @@ -package dev.hilla.engine; +package com.vaadin.hilla.engine; import javax.annotation.Nonnull; import java.util.ArrayList; @@ -7,7 +7,7 @@ import java.util.Objects; import java.util.Optional; -import dev.hilla.parser.utils.ConfigList; +import com.vaadin.hilla.parser.utils.ConfigList; public final class GeneratorConfiguration { private Plugins plugins; diff --git a/packages/java/engine-core/src/main/java/dev/hilla/engine/GeneratorException.java b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/GeneratorException.java similarity index 90% rename from packages/java/engine-core/src/main/java/dev/hilla/engine/GeneratorException.java rename to packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/GeneratorException.java index 091d174c3d..d99b3f0189 100644 --- a/packages/java/engine-core/src/main/java/dev/hilla/engine/GeneratorException.java +++ b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/GeneratorException.java @@ -1,4 +1,4 @@ -package dev.hilla.engine; +package com.vaadin.hilla.engine; public final class GeneratorException extends RuntimeException { GeneratorException(String message) { diff --git a/packages/java/engine-core/src/main/java/dev/hilla/engine/GeneratorProcessor.java b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/GeneratorProcessor.java similarity index 96% rename from packages/java/engine-core/src/main/java/dev/hilla/engine/GeneratorProcessor.java rename to packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/GeneratorProcessor.java index dae3e54e43..1059bf0876 100644 --- a/packages/java/engine-core/src/main/java/dev/hilla/engine/GeneratorProcessor.java +++ b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/GeneratorProcessor.java @@ -1,4 +1,4 @@ -package dev.hilla.engine; +package com.vaadin.hilla.engine; import java.io.IOException; import java.nio.file.Files; @@ -10,8 +10,8 @@ import javax.annotation.Nonnull; -import dev.hilla.engine.commandrunner.CommandNotFoundException; -import dev.hilla.engine.commandrunner.CommandRunnerException; +import com.vaadin.hilla.engine.commandrunner.CommandNotFoundException; +import com.vaadin.hilla.engine.commandrunner.CommandRunnerException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/packages/java/engine-core/src/main/java/dev/hilla/engine/GeneratorShellRunner.java b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/GeneratorShellRunner.java similarity index 93% rename from packages/java/engine-core/src/main/java/dev/hilla/engine/GeneratorShellRunner.java rename to packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/GeneratorShellRunner.java index 7b56e28005..0e97767170 100644 --- a/packages/java/engine-core/src/main/java/dev/hilla/engine/GeneratorShellRunner.java +++ b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/GeneratorShellRunner.java @@ -1,6 +1,6 @@ -package dev.hilla.engine; +package com.vaadin.hilla.engine; -import dev.hilla.engine.commandrunner.CommandRunner; +import com.vaadin.hilla.engine.commandrunner.CommandRunner; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/packages/java/engine-core/src/main/java/dev/hilla/engine/ParserConfiguration.java b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/ParserConfiguration.java similarity index 92% rename from packages/java/engine-core/src/main/java/dev/hilla/engine/ParserConfiguration.java rename to packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/ParserConfiguration.java index c2d9f0ff70..d0fd282829 100644 --- a/packages/java/engine-core/src/main/java/dev/hilla/engine/ParserConfiguration.java +++ b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/ParserConfiguration.java @@ -1,4 +1,4 @@ -package dev.hilla.engine; +package com.vaadin.hilla.engine; import java.util.ArrayList; import java.util.Collection; @@ -8,13 +8,13 @@ import javax.annotation.Nonnull; -import dev.hilla.parser.core.PluginConfiguration; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.model.ModelPlugin; -import dev.hilla.parser.plugins.nonnull.NonnullPlugin; -import dev.hilla.parser.plugins.subtypes.SubTypesPlugin; -import dev.hilla.parser.plugins.transfertypes.TransferTypesPlugin; -import dev.hilla.parser.utils.ConfigList; +import com.vaadin.hilla.parser.core.PluginConfiguration; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.model.ModelPlugin; +import com.vaadin.hilla.parser.plugins.nonnull.NonnullPlugin; +import com.vaadin.hilla.parser.plugins.subtypes.SubTypesPlugin; +import com.vaadin.hilla.parser.plugins.transfertypes.TransferTypesPlugin; +import com.vaadin.hilla.parser.utils.ConfigList; public final class ParserConfiguration { private String endpointAnnotation; diff --git a/packages/java/engine-core/src/main/java/dev/hilla/engine/ParserException.java b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/ParserException.java similarity index 90% rename from packages/java/engine-core/src/main/java/dev/hilla/engine/ParserException.java rename to packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/ParserException.java index 2263456efc..36c3cd7614 100644 --- a/packages/java/engine-core/src/main/java/dev/hilla/engine/ParserException.java +++ b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/ParserException.java @@ -1,4 +1,4 @@ -package dev.hilla.engine; +package com.vaadin.hilla.engine; public final class ParserException extends RuntimeException { ParserException(String message) { diff --git a/packages/java/engine-core/src/main/java/dev/hilla/engine/ParserProcessor.java b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/ParserProcessor.java similarity index 93% rename from packages/java/engine-core/src/main/java/dev/hilla/engine/ParserProcessor.java rename to packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/ParserProcessor.java index 357adc9fd7..33be71f0dc 100644 --- a/packages/java/engine-core/src/main/java/dev/hilla/engine/ParserProcessor.java +++ b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/ParserProcessor.java @@ -1,4 +1,4 @@ -package dev.hilla.engine; +package com.vaadin.hilla.engine; import java.io.IOException; import java.nio.file.Files; @@ -15,10 +15,10 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import dev.hilla.parser.core.OpenAPIFileType; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.core.PluginManager; -import dev.hilla.parser.utils.JsonPrinter; +import com.vaadin.hilla.parser.core.OpenAPIFileType; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.core.PluginManager; +import com.vaadin.hilla.parser.utils.JsonPrinter; public final class ParserProcessor { private static final Logger logger = LoggerFactory @@ -28,8 +28,8 @@ public final class ParserProcessor { private final Set classPath; private final Path openAPIFile; private final ParserConfiguration.PluginsProcessor pluginsProcessor = new ParserConfiguration.PluginsProcessor(); - private String endpointAnnotationName = "dev.hilla.Endpoint"; - private String endpointExposedAnnotationName = "dev.hilla.EndpointExposed"; + private String endpointAnnotationName = "com.vaadin.hilla.Endpoint"; + private String endpointExposedAnnotationName = "com.vaadin.hilla.EndpointExposed"; private Collection exposedPackages = List.of(); private String openAPIBasePath; diff --git a/packages/java/engine-core/src/main/java/dev/hilla/engine/commandrunner/CommandNotFoundException.java b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/commandrunner/CommandNotFoundException.java similarity index 87% rename from packages/java/engine-core/src/main/java/dev/hilla/engine/commandrunner/CommandNotFoundException.java rename to packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/commandrunner/CommandNotFoundException.java index b2fe28fd92..d773b9d4a7 100644 --- a/packages/java/engine-core/src/main/java/dev/hilla/engine/commandrunner/CommandNotFoundException.java +++ b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/commandrunner/CommandNotFoundException.java @@ -1,4 +1,4 @@ -package dev.hilla.engine.commandrunner; +package com.vaadin.hilla.engine.commandrunner; /** * Thrown by {@link CommandRunner} when a command is not available. diff --git a/packages/java/engine-core/src/main/java/dev/hilla/engine/commandrunner/CommandRunner.java b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/commandrunner/CommandRunner.java similarity index 99% rename from packages/java/engine-core/src/main/java/dev/hilla/engine/commandrunner/CommandRunner.java rename to packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/commandrunner/CommandRunner.java index b85b79a781..12705c6470 100644 --- a/packages/java/engine-core/src/main/java/dev/hilla/engine/commandrunner/CommandRunner.java +++ b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/commandrunner/CommandRunner.java @@ -1,4 +1,4 @@ -package dev.hilla.engine.commandrunner; +package com.vaadin.hilla.engine.commandrunner; import com.vaadin.flow.server.frontend.FrontendUtils; import org.slf4j.Logger; diff --git a/packages/java/engine-core/src/main/java/dev/hilla/engine/commandrunner/CommandRunnerException.java b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/commandrunner/CommandRunnerException.java similarity index 87% rename from packages/java/engine-core/src/main/java/dev/hilla/engine/commandrunner/CommandRunnerException.java rename to packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/commandrunner/CommandRunnerException.java index 4d7fb80fe8..0752045588 100644 --- a/packages/java/engine-core/src/main/java/dev/hilla/engine/commandrunner/CommandRunnerException.java +++ b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/commandrunner/CommandRunnerException.java @@ -1,4 +1,4 @@ -package dev.hilla.engine.commandrunner; +package com.vaadin.hilla.engine.commandrunner; /** * A generic exception thrown by a {@link CommandRunner}. diff --git a/packages/java/engine-core/src/main/java/dev/hilla/engine/commandrunner/GradleRunner.java b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/commandrunner/GradleRunner.java similarity index 98% rename from packages/java/engine-core/src/main/java/dev/hilla/engine/commandrunner/GradleRunner.java rename to packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/commandrunner/GradleRunner.java index a53fcbfe76..7c32f85368 100644 --- a/packages/java/engine-core/src/main/java/dev/hilla/engine/commandrunner/GradleRunner.java +++ b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/commandrunner/GradleRunner.java @@ -1,4 +1,4 @@ -package dev.hilla.engine.commandrunner; +package com.vaadin.hilla.engine.commandrunner; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/packages/java/engine-core/src/main/java/dev/hilla/engine/commandrunner/MavenRunner.java b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/commandrunner/MavenRunner.java similarity index 98% rename from packages/java/engine-core/src/main/java/dev/hilla/engine/commandrunner/MavenRunner.java rename to packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/commandrunner/MavenRunner.java index 6ecb6cfe2c..7af1256320 100644 --- a/packages/java/engine-core/src/main/java/dev/hilla/engine/commandrunner/MavenRunner.java +++ b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/commandrunner/MavenRunner.java @@ -1,4 +1,4 @@ -package dev.hilla.engine.commandrunner; +package com.vaadin.hilla.engine.commandrunner; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/packages/java/engine-core/src/test/java/dev/hilla/engine/EngineConfigurationTest.java b/packages/java/engine-core/src/test/java/com/vaadin/hilla/engine/EngineConfigurationTest.java similarity index 90% rename from packages/java/engine-core/src/test/java/dev/hilla/engine/EngineConfigurationTest.java rename to packages/java/engine-core/src/test/java/com/vaadin/hilla/engine/EngineConfigurationTest.java index ec040291be..66c618e34d 100644 --- a/packages/java/engine-core/src/test/java/dev/hilla/engine/EngineConfigurationTest.java +++ b/packages/java/engine-core/src/test/java/com/vaadin/hilla/engine/EngineConfigurationTest.java @@ -1,4 +1,4 @@ -package dev.hilla.engine; +package com.vaadin.hilla.engine; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; @@ -13,14 +13,14 @@ import java.util.LinkedHashSet; import java.util.List; -import dev.hilla.parser.plugins.nonnull.AnnotationMatcher; -import dev.hilla.parser.plugins.nonnull.NonnullPluginConfig; +import com.vaadin.hilla.parser.plugins.nonnull.AnnotationMatcher; +import com.vaadin.hilla.parser.plugins.nonnull.NonnullPluginConfig; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import dev.hilla.parser.testutils.JsonAssertions; -import dev.hilla.parser.testutils.TestEngineConfigurationPathResolver; +import com.vaadin.hilla.parser.testutils.JsonAssertions; +import com.vaadin.hilla.parser.testutils.TestEngineConfigurationPathResolver; public class EngineConfigurationTest { private static final String CONFIG_FILE_NAME = "hilla-engine-configuration.json"; @@ -41,9 +41,10 @@ public void setUp() throws IOException { this.baseDirectory = this.temporaryDirectory.resolve("base"); var parserConfiguration = new ParserConfiguration(); - parserConfiguration.setEndpointAnnotation("dev.hilla.test.Endpoint"); parserConfiguration - .setEndpointExposedAnnotation("dev.hilla.test.EndpointExposed"); + .setEndpointAnnotation("com.vaadin.hilla.test.Endpoint"); + parserConfiguration.setEndpointExposedAnnotation( + "com.vaadin.hilla.test.EndpointExposed"); parserConfiguration.setPlugins(new ParserConfiguration.Plugins(List.of( new ParserConfiguration.Plugin("parser-jvm-plugin-use"), new ParserConfiguration.Plugin("parser-jvm-plugin-nonnull", diff --git a/packages/java/engine-core/src/test/java/dev/hilla/engine/commandrunner/CommandRunnerTest.java b/packages/java/engine-core/src/test/java/com/vaadin/hilla/engine/commandrunner/CommandRunnerTest.java similarity index 99% rename from packages/java/engine-core/src/test/java/dev/hilla/engine/commandrunner/CommandRunnerTest.java rename to packages/java/engine-core/src/test/java/com/vaadin/hilla/engine/commandrunner/CommandRunnerTest.java index e61499d8e6..1366a63acf 100644 --- a/packages/java/engine-core/src/test/java/dev/hilla/engine/commandrunner/CommandRunnerTest.java +++ b/packages/java/engine-core/src/test/java/com/vaadin/hilla/engine/commandrunner/CommandRunnerTest.java @@ -1,4 +1,4 @@ -package dev.hilla.engine.commandrunner; +package com.vaadin.hilla.engine.commandrunner; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtensionContext; diff --git a/packages/java/engine-core/src/test/java/dev/hilla/engine/commandrunner/GradleRunnerTest.java b/packages/java/engine-core/src/test/java/com/vaadin/hilla/engine/commandrunner/GradleRunnerTest.java similarity index 98% rename from packages/java/engine-core/src/test/java/dev/hilla/engine/commandrunner/GradleRunnerTest.java rename to packages/java/engine-core/src/test/java/com/vaadin/hilla/engine/commandrunner/GradleRunnerTest.java index a63e315815..1b81dded59 100644 --- a/packages/java/engine-core/src/test/java/dev/hilla/engine/commandrunner/GradleRunnerTest.java +++ b/packages/java/engine-core/src/test/java/com/vaadin/hilla/engine/commandrunner/GradleRunnerTest.java @@ -1,4 +1,4 @@ -package dev.hilla.engine.commandrunner; +package com.vaadin.hilla.engine.commandrunner; import java.io.IOException; import java.nio.file.Files; diff --git a/packages/java/engine-core/src/test/java/dev/hilla/engine/commandrunner/MavenRunnerTest.java b/packages/java/engine-core/src/test/java/com/vaadin/hilla/engine/commandrunner/MavenRunnerTest.java similarity index 97% rename from packages/java/engine-core/src/test/java/dev/hilla/engine/commandrunner/MavenRunnerTest.java rename to packages/java/engine-core/src/test/java/com/vaadin/hilla/engine/commandrunner/MavenRunnerTest.java index c2c96d7fd7..6014f900b7 100644 --- a/packages/java/engine-core/src/test/java/dev/hilla/engine/commandrunner/MavenRunnerTest.java +++ b/packages/java/engine-core/src/test/java/com/vaadin/hilla/engine/commandrunner/MavenRunnerTest.java @@ -1,4 +1,4 @@ -package dev.hilla.engine.commandrunner; +package com.vaadin.hilla.engine.commandrunner; import java.io.IOException; import java.nio.file.Files; diff --git a/packages/java/engine-core/src/test/resources/dev/hilla/engine/hilla-engine-configuration.json b/packages/java/engine-core/src/test/resources/com/vaadin/hilla/engine/hilla-engine-configuration.json similarity index 85% rename from packages/java/engine-core/src/test/resources/dev/hilla/engine/hilla-engine-configuration.json rename to packages/java/engine-core/src/test/resources/com/vaadin/hilla/engine/hilla-engine-configuration.json index 3458de7547..9456278294 100644 --- a/packages/java/engine-core/src/test/resources/dev/hilla/engine/hilla-engine-configuration.json +++ b/packages/java/engine-core/src/test/resources/com/vaadin/hilla/engine/hilla-engine-configuration.json @@ -19,8 +19,8 @@ } }, "parser": { - "endpointAnnotation": "dev.hilla.test.Endpoint", - "endpointExposedAnnotation": "dev.hilla.test.EndpointExposed", + "endpointAnnotation": "com.vaadin.hilla.test.Endpoint", + "endpointExposedAnnotation": "com.vaadin.hilla.test.EndpointExposed", "openAPIBasePath": "test-openapi.json", "plugins": { "disable": [ diff --git a/packages/java/engine-runtime/pom.xml b/packages/java/engine-runtime/pom.xml index b15a136d68..9a6db264b7 100644 --- a/packages/java/engine-runtime/pom.xml +++ b/packages/java/engine-runtime/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml @@ -35,7 +35,7 @@ provided - dev.hilla + com.vaadin.hilla engine-core ${project.version} @@ -65,7 +65,7 @@ test - dev.hilla + com.vaadin.hilla parser-jvm-test-utils ${project.version} test diff --git a/packages/java/engine-runtime/src/main/java/dev/hilla/internal/AbstractTaskEndpointGenerator.java b/packages/java/engine-runtime/src/main/java/com/vaadin/hilla/internal/AbstractTaskEndpointGenerator.java similarity index 92% rename from packages/java/engine-runtime/src/main/java/dev/hilla/internal/AbstractTaskEndpointGenerator.java rename to packages/java/engine-runtime/src/main/java/com/vaadin/hilla/internal/AbstractTaskEndpointGenerator.java index bd854d1ea1..b39ef98081 100644 --- a/packages/java/engine-runtime/src/main/java/dev/hilla/internal/AbstractTaskEndpointGenerator.java +++ b/packages/java/engine-runtime/src/main/java/com/vaadin/hilla/internal/AbstractTaskEndpointGenerator.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.internal; +package com.vaadin.hilla.internal; import java.io.File; import java.io.IOException; @@ -25,11 +25,11 @@ import com.vaadin.flow.server.ExecutionFailedException; import com.vaadin.flow.server.frontend.FallibleCommand; -import dev.hilla.engine.ConfigurationException; -import dev.hilla.engine.EngineConfiguration; -import dev.hilla.engine.commandrunner.GradleRunner; -import dev.hilla.engine.commandrunner.MavenRunner; -import dev.hilla.engine.commandrunner.CommandRunnerException; +import com.vaadin.hilla.engine.ConfigurationException; +import com.vaadin.hilla.engine.EngineConfiguration; +import com.vaadin.hilla.engine.commandrunner.GradleRunner; +import com.vaadin.hilla.engine.commandrunner.MavenRunner; +import com.vaadin.hilla.engine.commandrunner.CommandRunnerException; /** * Abstract class for endpoint related generators. diff --git a/packages/java/engine-runtime/src/main/java/dev/hilla/internal/EndpointGeneratorTaskFactoryImpl.java b/packages/java/engine-runtime/src/main/java/com/vaadin/hilla/internal/EndpointGeneratorTaskFactoryImpl.java similarity index 97% rename from packages/java/engine-runtime/src/main/java/dev/hilla/internal/EndpointGeneratorTaskFactoryImpl.java rename to packages/java/engine-runtime/src/main/java/com/vaadin/hilla/internal/EndpointGeneratorTaskFactoryImpl.java index ebbdfa6864..919a931fbd 100644 --- a/packages/java/engine-runtime/src/main/java/dev/hilla/internal/EndpointGeneratorTaskFactoryImpl.java +++ b/packages/java/engine-runtime/src/main/java/com/vaadin/hilla/internal/EndpointGeneratorTaskFactoryImpl.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.internal; +package com.vaadin.hilla.internal; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -26,7 +26,7 @@ import com.vaadin.flow.server.frontend.TaskGenerateEndpoint; import com.vaadin.flow.server.frontend.TaskGenerateOpenAPI; -import dev.hilla.engine.ParserProcessor; +import com.vaadin.hilla.engine.ParserProcessor; /** * An implementation of the EndpointGeneratorTaskFactory, which creates endpoint diff --git a/packages/java/engine-runtime/src/main/java/dev/hilla/internal/EngineRuntimeException.java b/packages/java/engine-runtime/src/main/java/com/vaadin/hilla/internal/EngineRuntimeException.java similarity index 90% rename from packages/java/engine-runtime/src/main/java/dev/hilla/internal/EngineRuntimeException.java rename to packages/java/engine-runtime/src/main/java/com/vaadin/hilla/internal/EngineRuntimeException.java index fc0c851032..4685832c09 100644 --- a/packages/java/engine-runtime/src/main/java/dev/hilla/internal/EngineRuntimeException.java +++ b/packages/java/engine-runtime/src/main/java/com/vaadin/hilla/internal/EngineRuntimeException.java @@ -1,4 +1,4 @@ -package dev.hilla.internal; +package com.vaadin.hilla.internal; public class EngineRuntimeException extends RuntimeException { EngineRuntimeException(String message) { diff --git a/packages/java/engine-runtime/src/main/java/dev/hilla/internal/TaskGenerateEndpointImpl.java b/packages/java/engine-runtime/src/main/java/com/vaadin/hilla/internal/TaskGenerateEndpointImpl.java similarity index 96% rename from packages/java/engine-runtime/src/main/java/dev/hilla/internal/TaskGenerateEndpointImpl.java rename to packages/java/engine-runtime/src/main/java/com/vaadin/hilla/internal/TaskGenerateEndpointImpl.java index 34e818ea2e..975ec837cb 100644 --- a/packages/java/engine-runtime/src/main/java/dev/hilla/internal/TaskGenerateEndpointImpl.java +++ b/packages/java/engine-runtime/src/main/java/com/vaadin/hilla/internal/TaskGenerateEndpointImpl.java @@ -13,14 +13,14 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.internal; +package com.vaadin.hilla.internal; import java.io.File; import java.io.IOException; import java.nio.charset.StandardCharsets; -import dev.hilla.engine.GeneratorException; -import dev.hilla.engine.GeneratorProcessor; +import com.vaadin.hilla.engine.GeneratorException; +import com.vaadin.hilla.engine.GeneratorProcessor; import org.apache.commons.io.FileUtils; import org.apache.commons.io.IOUtils; import org.slf4j.Logger; diff --git a/packages/java/engine-runtime/src/main/java/dev/hilla/internal/TaskGenerateOpenAPIImpl.java b/packages/java/engine-runtime/src/main/java/com/vaadin/hilla/internal/TaskGenerateOpenAPIImpl.java similarity index 95% rename from packages/java/engine-runtime/src/main/java/dev/hilla/internal/TaskGenerateOpenAPIImpl.java rename to packages/java/engine-runtime/src/main/java/com/vaadin/hilla/internal/TaskGenerateOpenAPIImpl.java index 1351e402ab..0a6d28f1f8 100644 --- a/packages/java/engine-runtime/src/main/java/dev/hilla/internal/TaskGenerateOpenAPIImpl.java +++ b/packages/java/engine-runtime/src/main/java/com/vaadin/hilla/internal/TaskGenerateOpenAPIImpl.java @@ -13,14 +13,14 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.internal; +package com.vaadin.hilla.internal; import javax.annotation.Nonnull; import java.io.File; import java.util.Objects; -import dev.hilla.engine.ParserException; -import dev.hilla.engine.ParserProcessor; +import com.vaadin.hilla.engine.ParserException; +import com.vaadin.hilla.engine.ParserProcessor; import com.vaadin.flow.server.ExecutionFailedException; import com.vaadin.flow.server.frontend.TaskGenerateOpenAPI; diff --git a/packages/java/engine-runtime/src/main/resources/META-INF/services/com.vaadin.flow.server.frontend.EndpointGeneratorTaskFactory b/packages/java/engine-runtime/src/main/resources/META-INF/services/com.vaadin.flow.server.frontend.EndpointGeneratorTaskFactory index 9d5867522c..fe802c162b 100644 --- a/packages/java/engine-runtime/src/main/resources/META-INF/services/com.vaadin.flow.server.frontend.EndpointGeneratorTaskFactory +++ b/packages/java/engine-runtime/src/main/resources/META-INF/services/com.vaadin.flow.server.frontend.EndpointGeneratorTaskFactory @@ -1 +1 @@ -dev.hilla.internal.EndpointGeneratorTaskFactoryImpl +com.vaadin.hilla.internal.EndpointGeneratorTaskFactoryImpl diff --git a/packages/java/engine-runtime/src/test/java/dev/hilla/internal/AbstractTaskEndpointGeneratorTest.java b/packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/AbstractTaskEndpointGeneratorTest.java similarity index 98% rename from packages/java/engine-runtime/src/test/java/dev/hilla/internal/AbstractTaskEndpointGeneratorTest.java rename to packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/AbstractTaskEndpointGeneratorTest.java index e28886cf9c..db1354d251 100644 --- a/packages/java/engine-runtime/src/test/java/dev/hilla/internal/AbstractTaskEndpointGeneratorTest.java +++ b/packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/AbstractTaskEndpointGeneratorTest.java @@ -1,4 +1,4 @@ -package dev.hilla.internal; +package com.vaadin.hilla.internal; import java.io.File; diff --git a/packages/java/engine-runtime/src/test/java/dev/hilla/internal/Endpoint.java b/packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/Endpoint.java similarity index 89% rename from packages/java/engine-runtime/src/test/java/dev/hilla/internal/Endpoint.java rename to packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/Endpoint.java index fe4ea15c68..9166eac0ca 100644 --- a/packages/java/engine-runtime/src/test/java/dev/hilla/internal/Endpoint.java +++ b/packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/Endpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.internal; +package com.vaadin.hilla.internal; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/packages/java/engine-runtime/src/test/java/dev/hilla/internal/EndpointExposed.java b/packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/EndpointExposed.java similarity index 88% rename from packages/java/engine-runtime/src/test/java/dev/hilla/internal/EndpointExposed.java rename to packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/EndpointExposed.java index 594347e053..803c8b93df 100644 --- a/packages/java/engine-runtime/src/test/java/dev/hilla/internal/EndpointExposed.java +++ b/packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/EndpointExposed.java @@ -1,4 +1,4 @@ -package dev.hilla.internal; +package com.vaadin.hilla.internal; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/packages/java/engine-runtime/src/test/java/dev/hilla/internal/NodeTasksEndpointTest.java b/packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/NodeTasksEndpointTest.java similarity index 96% rename from packages/java/engine-runtime/src/test/java/dev/hilla/internal/NodeTasksEndpointTest.java rename to packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/NodeTasksEndpointTest.java index 6e5cc89ac7..767f2cd2db 100644 --- a/packages/java/engine-runtime/src/test/java/dev/hilla/internal/NodeTasksEndpointTest.java +++ b/packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/NodeTasksEndpointTest.java @@ -1,4 +1,4 @@ -package dev.hilla.internal; +package com.vaadin.hilla.internal; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; @@ -78,7 +78,7 @@ public void should_GenerateEndpointFilesInDevServerTask() throws Exception { } private void assertEndpointFiles(boolean shouldExist) { - Arrays.asList("build/classes/dev/hilla/openapi.json", + Arrays.asList("build/classes/com/vaadin/hilla/openapi.json", "api/connect-client.default.ts", "api/MyEndpoint.ts") .forEach(name -> assertEquals(shouldExist, new File(getTemporaryDirectory().toFile(), name) diff --git a/packages/java/engine-runtime/src/test/java/dev/hilla/internal/TaskGenerateEndpointTest.java b/packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/TaskGenerateEndpointTest.java similarity index 99% rename from packages/java/engine-runtime/src/test/java/dev/hilla/internal/TaskGenerateEndpointTest.java rename to packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/TaskGenerateEndpointTest.java index 5bf697d5ce..49d08037e2 100644 --- a/packages/java/engine-runtime/src/test/java/dev/hilla/internal/TaskGenerateEndpointTest.java +++ b/packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/TaskGenerateEndpointTest.java @@ -1,4 +1,4 @@ -package dev.hilla.internal; +package com.vaadin.hilla.internal; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.containsString; diff --git a/packages/java/engine-runtime/src/test/java/dev/hilla/internal/TaskGenerateOpenAPITest.java b/packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/TaskGenerateOpenAPITest.java similarity index 98% rename from packages/java/engine-runtime/src/test/java/dev/hilla/internal/TaskGenerateOpenAPITest.java rename to packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/TaskGenerateOpenAPITest.java index 73f90344b8..cceacff294 100644 --- a/packages/java/engine-runtime/src/test/java/dev/hilla/internal/TaskGenerateOpenAPITest.java +++ b/packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/TaskGenerateOpenAPITest.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.internal; +package com.vaadin.hilla.internal; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.hasKey; @@ -30,7 +30,7 @@ /** * This test suite is only for triggering the OpenAPI generator. For the actual * content of the generator, they are tested in other package - * {@link dev.hilla.generator} + * {@link com.vaadin.hilla.generator} */ public class TaskGenerateOpenAPITest extends TaskTest { diff --git a/packages/java/engine-runtime/src/test/java/dev/hilla/internal/TaskTest.java b/packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/TaskTest.java similarity index 96% rename from packages/java/engine-runtime/src/test/java/dev/hilla/internal/TaskTest.java rename to packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/TaskTest.java index 686596eff4..15a016452a 100644 --- a/packages/java/engine-runtime/src/test/java/dev/hilla/internal/TaskTest.java +++ b/packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/TaskTest.java @@ -1,4 +1,4 @@ -package dev.hilla.internal; +package com.vaadin.hilla.internal; import static com.vaadin.flow.server.frontend.FrontendUtils.PARAM_FRONTEND_DIR; @@ -18,8 +18,8 @@ import com.vaadin.flow.server.frontend.FrontendUtils; -import dev.hilla.engine.EngineConfiguration; -import dev.hilla.parser.testutils.TestEngineConfigurationPathResolver; +import com.vaadin.hilla.engine.EngineConfiguration; +import com.vaadin.hilla.parser.testutils.TestEngineConfigurationPathResolver; public class TaskTest { private Path temporaryDirectory; diff --git a/packages/java/engine-runtime/src/test/java/dev/hilla/internal/fixtures/CustomEndpoint.java b/packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/fixtures/CustomEndpoint.java similarity index 79% rename from packages/java/engine-runtime/src/test/java/dev/hilla/internal/fixtures/CustomEndpoint.java rename to packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/fixtures/CustomEndpoint.java index 454cbd0f0c..c8b74d0c5e 100644 --- a/packages/java/engine-runtime/src/test/java/dev/hilla/internal/fixtures/CustomEndpoint.java +++ b/packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/fixtures/CustomEndpoint.java @@ -1,6 +1,6 @@ -package dev.hilla.internal.fixtures; +package com.vaadin.hilla.internal.fixtures; -import dev.hilla.internal.Endpoint; +import com.vaadin.hilla.internal.Endpoint; /** * A test class. diff --git a/packages/java/engine-runtime/src/test/java/dev/hilla/internal/fixtures/EndpointNoValue.java b/packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/fixtures/EndpointNoValue.java similarity index 79% rename from packages/java/engine-runtime/src/test/java/dev/hilla/internal/fixtures/EndpointNoValue.java rename to packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/fixtures/EndpointNoValue.java index 4b7060363c..d00e435d32 100644 --- a/packages/java/engine-runtime/src/test/java/dev/hilla/internal/fixtures/EndpointNoValue.java +++ b/packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/fixtures/EndpointNoValue.java @@ -1,6 +1,6 @@ -package dev.hilla.internal.fixtures; +package com.vaadin.hilla.internal.fixtures; -import dev.hilla.internal.Endpoint; +import com.vaadin.hilla.internal.Endpoint; /** * A test class. diff --git a/packages/java/engine-runtime/src/test/java/dev/hilla/internal/fixtures/MyEndpoint.java b/packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/fixtures/MyEndpoint.java similarity index 78% rename from packages/java/engine-runtime/src/test/java/dev/hilla/internal/fixtures/MyEndpoint.java rename to packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/fixtures/MyEndpoint.java index 4129c7327e..d490181627 100644 --- a/packages/java/engine-runtime/src/test/java/dev/hilla/internal/fixtures/MyEndpoint.java +++ b/packages/java/engine-runtime/src/test/java/com/vaadin/hilla/internal/fixtures/MyEndpoint.java @@ -1,6 +1,6 @@ -package dev.hilla.internal.fixtures; +package com.vaadin.hilla.internal.fixtures; -import dev.hilla.internal.Endpoint; +import com.vaadin.hilla.internal.Endpoint; /** * A test class. diff --git a/packages/java/engine-runtime/src/test/resources/dev/hilla/internal/hilla-engine-configuration.json b/packages/java/engine-runtime/src/test/resources/com/vaadin/hilla/internal/hilla-engine-configuration.json similarity index 74% rename from packages/java/engine-runtime/src/test/resources/dev/hilla/internal/hilla-engine-configuration.json rename to packages/java/engine-runtime/src/test/resources/com/vaadin/hilla/internal/hilla-engine-configuration.json index d90fe3ad38..2856b5f1b4 100644 --- a/packages/java/engine-runtime/src/test/resources/dev/hilla/internal/hilla-engine-configuration.json +++ b/packages/java/engine-runtime/src/test/resources/com/vaadin/hilla/internal/hilla-engine-configuration.json @@ -9,8 +9,8 @@ } }, "parser": { - "endpointAnnotation": "dev.hilla.internal.Endpoint", - "endpointExposedAnnotation": "dev.hilla.internal.EndpointExposed", + "endpointAnnotation": "com.vaadin.hilla.internal.Endpoint", + "endpointExposedAnnotation": "com.vaadin.hilla.internal.EndpointExposed", "openAPIBasePath": null, "plugins": { "use": [], diff --git a/packages/java/engine-runtime/src/test/resources/dev/hilla/internal/openapi/esmodule-generator-TwoEndpointsThreeMethods.json b/packages/java/engine-runtime/src/test/resources/com/vaadin/hilla/internal/openapi/esmodule-generator-TwoEndpointsThreeMethods.json similarity index 100% rename from packages/java/engine-runtime/src/test/resources/dev/hilla/internal/openapi/esmodule-generator-TwoEndpointsThreeMethods.json rename to packages/java/engine-runtime/src/test/resources/com/vaadin/hilla/internal/openapi/esmodule-generator-TwoEndpointsThreeMethods.json diff --git a/packages/java/gradle-plugin/build.gradle b/packages/java/gradle-plugin/build.gradle index bc3979101d..29e47563d3 100644 --- a/packages/java/gradle-plugin/build.gradle +++ b/packages/java/gradle-plugin/build.gradle @@ -66,8 +66,8 @@ repositories { dependencies { implementation('org.jetbrains.kotlin:kotlin-stdlib:1.7.20') - implementation("dev.hilla:engine-core:${pom.parent.version}") - implementation("dev.hilla:plugin-base:${pom.parent.version}") + implementation("com.vaadin.hilla:engine-core:${pom.parent.version}") + implementation("com.vaadin.hilla:plugin-base:${pom.parent.version}") implementation("com.vaadin:flow-gradle-plugin:$flowVersion") testImplementation("junit:junit:4.13.2") @@ -146,8 +146,8 @@ gradlePlugin { testSourceSets sourceSets.functionalTest plugins { hillaPlugin { - id = 'dev.hilla' - implementationClass = 'dev.hilla.gradle.plugin.HillaPlugin' + id = 'com.vaadin.hilla' + implementationClass = 'com.vaadin.hilla.gradle.plugin.HillaPlugin' } } } diff --git a/packages/java/gradle-plugin/pom-portal.xml b/packages/java/gradle-plugin/pom-portal.xml index 2759c3df86..72fe0bcda0 100644 --- a/packages/java/gradle-plugin/pom-portal.xml +++ b/packages/java/gradle-plugin/pom-portal.xml @@ -3,19 +3,19 @@ 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml - dev.hilla - dev.hilla.gradle.plugin + com.vaadin.hilla + com.vaadin.hilla.gradle.plugin pom - dev.hilla + com.vaadin.hilla hilla-gradle-plugin ${project.version} diff --git a/packages/java/gradle-plugin/pom.xml b/packages/java/gradle-plugin/pom.xml index fb7aab1812..e56228229b 100644 --- a/packages/java/gradle-plugin/pom.xml +++ b/packages/java/gradle-plugin/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml @@ -25,12 +25,12 @@ - dev.hilla + com.vaadin.hilla plugin-base ${project.version} - dev.hilla + com.vaadin.hilla engine-core ${project.parent.version} diff --git a/packages/java/gradle-plugin/src/functionalTest/kotlin/dev/hilla/gradle/plugin/AbstractGradleTest.kt b/packages/java/gradle-plugin/src/functionalTest/kotlin/com/vaadin/hilla/gradle/plugin/AbstractGradleTest.kt similarity index 97% rename from packages/java/gradle-plugin/src/functionalTest/kotlin/dev/hilla/gradle/plugin/AbstractGradleTest.kt rename to packages/java/gradle-plugin/src/functionalTest/kotlin/com/vaadin/hilla/gradle/plugin/AbstractGradleTest.kt index a6102572e8..84db5779d8 100644 --- a/packages/java/gradle-plugin/src/functionalTest/kotlin/dev/hilla/gradle/plugin/AbstractGradleTest.kt +++ b/packages/java/gradle-plugin/src/functionalTest/kotlin/com/vaadin/hilla/gradle/plugin/AbstractGradleTest.kt @@ -14,7 +14,7 @@ * limitations under the License. */ -package dev.hilla.gradle.plugin +package com.vaadin.hilla.gradle.plugin import org.junit.After import org.junit.Before diff --git a/packages/java/gradle-plugin/src/functionalTest/kotlin/dev/hilla/gradle/plugin/MultiModuleTest.kt b/packages/java/gradle-plugin/src/functionalTest/kotlin/com/vaadin/hilla/gradle/plugin/MultiModuleTest.kt similarity index 57% rename from packages/java/gradle-plugin/src/functionalTest/kotlin/dev/hilla/gradle/plugin/MultiModuleTest.kt rename to packages/java/gradle-plugin/src/functionalTest/kotlin/com/vaadin/hilla/gradle/plugin/MultiModuleTest.kt index c6c43888bc..69c03c7c01 100644 --- a/packages/java/gradle-plugin/src/functionalTest/kotlin/dev/hilla/gradle/plugin/MultiModuleTest.kt +++ b/packages/java/gradle-plugin/src/functionalTest/kotlin/com/vaadin/hilla/gradle/plugin/MultiModuleTest.kt @@ -1,4 +1,4 @@ -package dev.hilla.gradle.plugin +package com.vaadin.hilla.gradle.plugin class MultiModuleTest : AbstractGradleTest() { diff --git a/packages/java/gradle-plugin/src/functionalTest/kotlin/dev/hilla/gradle/plugin/SingleModuleTest.kt b/packages/java/gradle-plugin/src/functionalTest/kotlin/com/vaadin/hilla/gradle/plugin/SingleModuleTest.kt similarity index 95% rename from packages/java/gradle-plugin/src/functionalTest/kotlin/dev/hilla/gradle/plugin/SingleModuleTest.kt rename to packages/java/gradle-plugin/src/functionalTest/kotlin/com/vaadin/hilla/gradle/plugin/SingleModuleTest.kt index 3fcdd070af..bb14674d40 100644 --- a/packages/java/gradle-plugin/src/functionalTest/kotlin/dev/hilla/gradle/plugin/SingleModuleTest.kt +++ b/packages/java/gradle-plugin/src/functionalTest/kotlin/com/vaadin/hilla/gradle/plugin/SingleModuleTest.kt @@ -14,10 +14,10 @@ * limitations under the License. */ -package dev.hilla.gradle.plugin +package com.vaadin.hilla.gradle.plugin import com.vaadin.flow.server.frontend.FrontendUtils -import dev.hilla.engine.EngineConfiguration +import com.vaadin.hilla.engine.EngineConfiguration import io.swagger.v3.core.util.Json import io.swagger.v3.oas.models.OpenAPI import org.gradle.testkit.runner.BuildResult @@ -46,7 +46,7 @@ class SingleModuleTest : AbstractGradleTest() { @Test fun `exposedPackagesToParser configured in build file hillaConfigure executed HillaEngineConfigurationJson should contain exposed packages`() { val package1 = "com.example.app" - val package2 = "dev.hilla.foo" + val package2 = "com.vaadin.hilla.foo" createProject(package1, package2) @@ -149,7 +149,7 @@ class SingleModuleTest : AbstractGradleTest() { } private fun verifyOpenApiJsonFileGeneratedProperly() { - val openApiJsonFile = testProject.folder("build").resolve("classes/dev/hilla/openapi.json") + val openApiJsonFile = testProject.folder("build").resolve("classes/com/vaadin/hilla/openapi.json") expect(true, "openapi.json should be created after executing hillaGenerate task!") { openApiJsonFile.exists() @@ -177,8 +177,8 @@ class SingleModuleTest : AbstractGradleTest() { package com.example.application; import com.vaadin.flow.server.auth.AnonymousAllowed; - import dev.hilla.Endpoint; - import dev.hilla.Nonnull; + import com.vaadin.hilla.Endpoint; + import com.vaadin.hilla.Nonnull; @Endpoint @AnonymousAllowed @@ -251,7 +251,7 @@ class SingleModuleTest : AbstractGradleTest() { maven { setUrl("https://maven.vaadin.com/vaadin-prereleases") } } dependencies { - classpath("dev.hilla:hilla-gradle-plugin:$hillaVersion") + classpath("com.vaadin.hilla:hilla-gradle-plugin:$hillaVersion") } } plugins { @@ -260,7 +260,7 @@ class SingleModuleTest : AbstractGradleTest() { id 'java' } - apply plugin: 'dev.hilla' + apply plugin: 'com.vaadin.hilla' $exposedPackagesExtension @@ -278,13 +278,13 @@ class SingleModuleTest : AbstractGradleTest() { } dependencies { - implementation 'dev.hilla:hilla-react' - implementation 'dev.hilla:hilla-spring-boot-starter' + implementation 'com.vaadin.hilla:hilla-react' + implementation 'com.vaadin.hilla:hilla-spring-boot-starter' } dependencyManagement { imports { - mavenBom "dev.hilla:hilla-bom:$hillaVersion" + mavenBom "com.vaadin.hilla:hilla-bom:$hillaVersion" } } """.trimIndent() diff --git a/packages/java/gradle-plugin/src/functionalTest/kotlin/dev/hilla/gradle/plugin/TestUtils.kt b/packages/java/gradle-plugin/src/functionalTest/kotlin/com/vaadin/hilla/gradle/plugin/TestUtils.kt similarity index 99% rename from packages/java/gradle-plugin/src/functionalTest/kotlin/dev/hilla/gradle/plugin/TestUtils.kt rename to packages/java/gradle-plugin/src/functionalTest/kotlin/com/vaadin/hilla/gradle/plugin/TestUtils.kt index 69d028fda1..8d2d9687e0 100644 --- a/packages/java/gradle-plugin/src/functionalTest/kotlin/dev/hilla/gradle/plugin/TestUtils.kt +++ b/packages/java/gradle-plugin/src/functionalTest/kotlin/com/vaadin/hilla/gradle/plugin/TestUtils.kt @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package dev.hilla.gradle.plugin +package com.vaadin.hilla.gradle.plugin import org.gradle.testkit.runner.BuildResult import org.gradle.testkit.runner.BuildTask diff --git a/packages/java/gradle-plugin/src/main/kotlin/dev/hilla/gradle/plugin/EngineConfigureTask.kt b/packages/java/gradle-plugin/src/main/kotlin/com/vaadin/hilla/gradle/plugin/EngineConfigureTask.kt similarity index 97% rename from packages/java/gradle-plugin/src/main/kotlin/dev/hilla/gradle/plugin/EngineConfigureTask.kt rename to packages/java/gradle-plugin/src/main/kotlin/com/vaadin/hilla/gradle/plugin/EngineConfigureTask.kt index a46767ca30..5c81df051a 100644 --- a/packages/java/gradle-plugin/src/main/kotlin/dev/hilla/gradle/plugin/EngineConfigureTask.kt +++ b/packages/java/gradle-plugin/src/main/kotlin/com/vaadin/hilla/gradle/plugin/EngineConfigureTask.kt @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package dev.hilla.gradle.plugin +package com.vaadin.hilla.gradle.plugin import org.gradle.api.DefaultTask import org.gradle.api.tasks.TaskAction @@ -22,7 +22,7 @@ import org.gradle.api.tasks.SourceSetContainer import java.nio.file.Files import java.nio.file.Path -import dev.hilla.engine.* +import com.vaadin.hilla.engine.* /** * Task that generates the configuration json which is needed diff --git a/packages/java/gradle-plugin/src/main/kotlin/dev/hilla/gradle/plugin/EngineGenerateTask.kt b/packages/java/gradle-plugin/src/main/kotlin/com/vaadin/hilla/gradle/plugin/EngineGenerateTask.kt similarity index 97% rename from packages/java/gradle-plugin/src/main/kotlin/dev/hilla/gradle/plugin/EngineGenerateTask.kt rename to packages/java/gradle-plugin/src/main/kotlin/com/vaadin/hilla/gradle/plugin/EngineGenerateTask.kt index b4bda7efa1..ab51f560e6 100644 --- a/packages/java/gradle-plugin/src/main/kotlin/dev/hilla/gradle/plugin/EngineGenerateTask.kt +++ b/packages/java/gradle-plugin/src/main/kotlin/com/vaadin/hilla/gradle/plugin/EngineGenerateTask.kt @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package dev.hilla.gradle.plugin +package com.vaadin.hilla.gradle.plugin import org.gradle.api.DefaultTask import org.gradle.api.GradleException @@ -25,7 +25,7 @@ import java.net.URLClassLoader import java.nio.file.Path import java.util.* -import dev.hilla.engine.* +import com.vaadin.hilla.engine.* /** * Task that generates the endpoints.ts and model TS classes * needed for calling the backend in a typesafe manner. diff --git a/packages/java/gradle-plugin/src/main/kotlin/dev/hilla/gradle/plugin/EngineInitAppTask.kt b/packages/java/gradle-plugin/src/main/kotlin/com/vaadin/hilla/gradle/plugin/EngineInitAppTask.kt similarity index 88% rename from packages/java/gradle-plugin/src/main/kotlin/dev/hilla/gradle/plugin/EngineInitAppTask.kt rename to packages/java/gradle-plugin/src/main/kotlin/com/vaadin/hilla/gradle/plugin/EngineInitAppTask.kt index 8799efb8ef..18d3469f0d 100644 --- a/packages/java/gradle-plugin/src/main/kotlin/dev/hilla/gradle/plugin/EngineInitAppTask.kt +++ b/packages/java/gradle-plugin/src/main/kotlin/com/vaadin/hilla/gradle/plugin/EngineInitAppTask.kt @@ -1,6 +1,6 @@ -package dev.hilla.gradle.plugin +package com.vaadin.hilla.gradle.plugin -import dev.hilla.plugin.base.HillaAppInitUtility +import com.vaadin.hilla.plugin.base.HillaAppInitUtility import org.gradle.api.DefaultTask import org.gradle.api.GradleException import org.gradle.api.tasks.TaskAction diff --git a/packages/java/gradle-plugin/src/main/kotlin/dev/hilla/gradle/plugin/EngineProjectExtension.kt b/packages/java/gradle-plugin/src/main/kotlin/com/vaadin/hilla/gradle/plugin/EngineProjectExtension.kt similarity index 98% rename from packages/java/gradle-plugin/src/main/kotlin/dev/hilla/gradle/plugin/EngineProjectExtension.kt rename to packages/java/gradle-plugin/src/main/kotlin/com/vaadin/hilla/gradle/plugin/EngineProjectExtension.kt index cbe7d2993d..f075c9e10a 100644 --- a/packages/java/gradle-plugin/src/main/kotlin/dev/hilla/gradle/plugin/EngineProjectExtension.kt +++ b/packages/java/gradle-plugin/src/main/kotlin/com/vaadin/hilla/gradle/plugin/EngineProjectExtension.kt @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package dev.hilla.gradle.plugin +package com.vaadin.hilla.gradle.plugin import com.vaadin.gradle.getBooleanProperty import org.gradle.api.Project diff --git a/packages/java/gradle-plugin/src/main/kotlin/dev/hilla/gradle/plugin/HillaBuildFrontendTask.kt b/packages/java/gradle-plugin/src/main/kotlin/com/vaadin/hilla/gradle/plugin/HillaBuildFrontendTask.kt similarity index 95% rename from packages/java/gradle-plugin/src/main/kotlin/dev/hilla/gradle/plugin/HillaBuildFrontendTask.kt rename to packages/java/gradle-plugin/src/main/kotlin/com/vaadin/hilla/gradle/plugin/HillaBuildFrontendTask.kt index 4ab577f463..feec21d541 100644 --- a/packages/java/gradle-plugin/src/main/kotlin/dev/hilla/gradle/plugin/HillaBuildFrontendTask.kt +++ b/packages/java/gradle-plugin/src/main/kotlin/com/vaadin/hilla/gradle/plugin/HillaBuildFrontendTask.kt @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package dev.hilla.gradle.plugin +package com.vaadin.hilla.gradle.plugin /** * Extend the VaadinBuildFrontendTask so that frontend files are not cleaned after build. diff --git a/packages/java/gradle-plugin/src/main/kotlin/dev/hilla/gradle/plugin/HillaPlugin.kt b/packages/java/gradle-plugin/src/main/kotlin/com/vaadin/hilla/gradle/plugin/HillaPlugin.kt similarity index 98% rename from packages/java/gradle-plugin/src/main/kotlin/dev/hilla/gradle/plugin/HillaPlugin.kt rename to packages/java/gradle-plugin/src/main/kotlin/com/vaadin/hilla/gradle/plugin/HillaPlugin.kt index a5cc220725..a12c50ef6c 100644 --- a/packages/java/gradle-plugin/src/main/kotlin/dev/hilla/gradle/plugin/HillaPlugin.kt +++ b/packages/java/gradle-plugin/src/main/kotlin/com/vaadin/hilla/gradle/plugin/HillaPlugin.kt @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package dev.hilla.gradle.plugin +package com.vaadin.hilla.gradle.plugin import com.vaadin.gradle.VaadinFlowPluginExtension import com.vaadin.gradle.VaadinPlugin diff --git a/packages/java/hilla-bom/pom.xml b/packages/java/hilla-bom/pom.xml index ffedd433f1..6eacee1b12 100644 --- a/packages/java/hilla-bom/pom.xml +++ b/packages/java/hilla-bom/pom.xml @@ -5,13 +5,13 @@ 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml - dev.hilla + com.vaadin.hilla hilla-bom pom Hilla Platform (Bill of Materials) @@ -95,38 +95,38 @@ - dev.hilla + com.vaadin.hilla hilla ${project.version} - dev.hilla + com.vaadin.hilla hilla-dev ${project.version} - dev.hilla + com.vaadin.hilla endpoint ${project.version} - dev.hilla + com.vaadin.hilla hilla-react ${project.version} - dev.hilla + com.vaadin.hilla engine-runtime ${project.version} - dev.hilla + com.vaadin.hilla hilla-spring-boot-starter ${project.version} - dev.hilla + com.vaadin.hilla hilla-react-spring-boot-starter ${project.version} diff --git a/packages/java/hilla-dev-mode/pom.xml b/packages/java/hilla-dev-mode/pom.xml index 64a8d2ffea..5389480bcf 100644 --- a/packages/java/hilla-dev-mode/pom.xml +++ b/packages/java/hilla-dev-mode/pom.xml @@ -5,7 +5,7 @@ 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml @@ -23,7 +23,7 @@ - dev.hilla + com.vaadin.hilla endpoint ${project.version} @@ -76,7 +76,7 @@ - dev.hilla + com.vaadin.hilla hilla-maven-plugin diff --git a/packages/java/hilla-dev-mode/src/main/java/dev/hilla/devmode/devtools/DevToolsDatabase.java b/packages/java/hilla-dev-mode/src/main/java/com/vaadin/hilla/devmode/devtools/DevToolsDatabase.java similarity index 95% rename from packages/java/hilla-dev-mode/src/main/java/dev/hilla/devmode/devtools/DevToolsDatabase.java rename to packages/java/hilla-dev-mode/src/main/java/com/vaadin/hilla/devmode/devtools/DevToolsDatabase.java index fe2fa1a162..b861a3a7d6 100644 --- a/packages/java/hilla-dev-mode/src/main/java/dev/hilla/devmode/devtools/DevToolsDatabase.java +++ b/packages/java/hilla-dev-mode/src/main/java/com/vaadin/hilla/devmode/devtools/DevToolsDatabase.java @@ -1,11 +1,11 @@ -package dev.hilla.devmode.devtools; +package com.vaadin.hilla.devmode.devtools; import javax.sql.DataSource; import java.sql.Connection; import java.util.Optional; -import dev.hilla.ApplicationContextProvider; +import com.vaadin.hilla.ApplicationContextProvider; import org.springframework.beans.factory.ObjectProvider; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.h2.H2ConsoleProperties; diff --git a/packages/java/hilla-dev-mode/src/main/java/dev/hilla/devmode/hotswapagent/HillaPlugin.java b/packages/java/hilla-dev-mode/src/main/java/com/vaadin/hilla/devmode/hotswapagent/HillaPlugin.java similarity index 93% rename from packages/java/hilla-dev-mode/src/main/java/dev/hilla/devmode/hotswapagent/HillaPlugin.java rename to packages/java/hilla-dev-mode/src/main/java/com/vaadin/hilla/devmode/hotswapagent/HillaPlugin.java index c98e2e6266..de4f865e31 100644 --- a/packages/java/hilla-dev-mode/src/main/java/dev/hilla/devmode/hotswapagent/HillaPlugin.java +++ b/packages/java/hilla-dev-mode/src/main/java/com/vaadin/hilla/devmode/hotswapagent/HillaPlugin.java @@ -1,4 +1,4 @@ -package dev.hilla.devmode.hotswapagent; +package com.vaadin.hilla.devmode.hotswapagent; import org.hotswap.agent.annotation.Init; import org.hotswap.agent.annotation.LoadEvent; @@ -16,10 +16,10 @@ public class HillaPlugin { private static AgentLogger LOGGER = AgentLogger .getLogger(HillaPlugin.class); - private final String hotSwapperClass = "dev.hilla.Hotswapper"; + private final String hotSwapperClass = "com.vaadin.hilla.Hotswapper"; private boolean hotswapperClassAvailable = false; - @OnClassLoadEvent(classNameRegexp = "dev.hilla.EndpointController") + @OnClassLoadEvent(classNameRegexp = "com.vaadin.hilla.EndpointController") public static void registerPlugin(CtClass ctClass) throws NotFoundException, CannotCompileException { String src = PluginManagerInvoker diff --git a/packages/java/hilla-dev-mode/src/main/resources/META-INF/services/com.vaadin.base.devserver.DevToolsMessageHandler b/packages/java/hilla-dev-mode/src/main/resources/META-INF/services/com.vaadin.base.devserver.DevToolsMessageHandler index a1bddf6eb2..b31b186dd4 100644 --- a/packages/java/hilla-dev-mode/src/main/resources/META-INF/services/com.vaadin.base.devserver.DevToolsMessageHandler +++ b/packages/java/hilla-dev-mode/src/main/resources/META-INF/services/com.vaadin.base.devserver.DevToolsMessageHandler @@ -1 +1 @@ -dev.hilla.devmode.devtools.DevToolsDatabase +com.vaadin.hilla.devmode.devtools.DevToolsDatabase diff --git a/packages/java/hilla-dev/pom.xml b/packages/java/hilla-dev/pom.xml index 95ff949531..7c8cbaff58 100644 --- a/packages/java/hilla-dev/pom.xml +++ b/packages/java/hilla-dev/pom.xml @@ -5,13 +5,13 @@ 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml - dev.hilla + com.vaadin.hilla hilla-dev jar Hilla Platform Development Dependencies @@ -30,7 +30,7 @@ ${flow.version} - dev.hilla + com.vaadin.hilla hilla-dev-mode ${project.version} diff --git a/packages/java/hilla-react-spring-boot-starter/pom.xml b/packages/java/hilla-react-spring-boot-starter/pom.xml index 7fc9e75ce9..c128df9d63 100644 --- a/packages/java/hilla-react-spring-boot-starter/pom.xml +++ b/packages/java/hilla-react-spring-boot-starter/pom.xml @@ -5,13 +5,13 @@ 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml - dev.hilla + com.vaadin.hilla hilla-react-spring-boot-starter Hilla React Spring Boot Starter Spring Boot Starter for Hilla applications using React. @@ -34,7 +34,7 @@ - dev.hilla + com.vaadin.hilla hilla-react ${project.version} diff --git a/packages/java/hilla-react/pom.xml b/packages/java/hilla-react/pom.xml index af6fc84220..72da7125da 100644 --- a/packages/java/hilla-react/pom.xml +++ b/packages/java/hilla-react/pom.xml @@ -5,13 +5,13 @@ 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml - dev.hilla + com.vaadin.hilla hilla-react jar Hilla Platform for React @@ -25,17 +25,17 @@ - dev.hilla + com.vaadin.hilla endpoint ${project.version} - dev.hilla + com.vaadin.hilla engine-runtime ${project.version} - dev.hilla + com.vaadin.hilla hilla-dev ${project.version} diff --git a/packages/java/hilla-react/src/main/java/dev/hilla/HillaReactAuth.java b/packages/java/hilla-react/src/main/java/com/vaadin/hilla/HillaReactAuth.java similarity index 90% rename from packages/java/hilla-react/src/main/java/dev/hilla/HillaReactAuth.java rename to packages/java/hilla-react/src/main/java/com/vaadin/hilla/HillaReactAuth.java index 279213f73f..545841c30f 100644 --- a/packages/java/hilla-react/src/main/java/dev/hilla/HillaReactAuth.java +++ b/packages/java/hilla-react/src/main/java/com/vaadin/hilla/HillaReactAuth.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; import com.vaadin.flow.component.dependency.NpmPackage; diff --git a/packages/java/hilla-react/src/main/java/dev/hilla/HillaReactCrud.java b/packages/java/hilla-react/src/main/java/com/vaadin/hilla/HillaReactCrud.java similarity index 90% rename from packages/java/hilla-react/src/main/java/dev/hilla/HillaReactCrud.java rename to packages/java/hilla-react/src/main/java/com/vaadin/hilla/HillaReactCrud.java index bc7c9ab8b4..31c461e381 100644 --- a/packages/java/hilla-react/src/main/java/dev/hilla/HillaReactCrud.java +++ b/packages/java/hilla-react/src/main/java/com/vaadin/hilla/HillaReactCrud.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; import com.vaadin.flow.component.dependency.NpmPackage; diff --git a/packages/java/hilla-react/src/main/java/dev/hilla/HillaReactForm.java b/packages/java/hilla-react/src/main/java/com/vaadin/hilla/HillaReactForm.java similarity index 91% rename from packages/java/hilla-react/src/main/java/dev/hilla/HillaReactForm.java rename to packages/java/hilla-react/src/main/java/com/vaadin/hilla/HillaReactForm.java index c7653212a3..2344a8e354 100644 --- a/packages/java/hilla-react/src/main/java/dev/hilla/HillaReactForm.java +++ b/packages/java/hilla-react/src/main/java/com/vaadin/hilla/HillaReactForm.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; import com.vaadin.flow.component.dependency.NpmPackage; diff --git a/packages/java/hilla-spring-boot-starter/pom.xml b/packages/java/hilla-spring-boot-starter/pom.xml index 54ff6f33ad..a5af1212b3 100644 --- a/packages/java/hilla-spring-boot-starter/pom.xml +++ b/packages/java/hilla-spring-boot-starter/pom.xml @@ -5,13 +5,13 @@ 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml - dev.hilla + com.vaadin.hilla hilla-spring-boot-starter Hilla Spring Boot Starter Spring Boot Starter for Hilla applications using Lit. @@ -34,7 +34,7 @@ - dev.hilla + com.vaadin.hilla hilla ${project.version} diff --git a/packages/java/hilla/pom.xml b/packages/java/hilla/pom.xml index aa4737114d..6072cc05e0 100644 --- a/packages/java/hilla/pom.xml +++ b/packages/java/hilla/pom.xml @@ -5,13 +5,13 @@ 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml - dev.hilla + com.vaadin.hilla hilla jar Hilla Platform @@ -25,17 +25,17 @@ - dev.hilla + com.vaadin.hilla endpoint ${project.version} - dev.hilla + com.vaadin.hilla engine-runtime ${project.version} - dev.hilla + com.vaadin.hilla hilla-dev ${project.version} diff --git a/packages/java/hilla/src/main/java/dev/hilla/HillaForm.java b/packages/java/hilla/src/main/java/com/vaadin/hilla/HillaForm.java similarity index 89% rename from packages/java/hilla/src/main/java/dev/hilla/HillaForm.java rename to packages/java/hilla/src/main/java/com/vaadin/hilla/HillaForm.java index 07d313a953..9927b93c14 100644 --- a/packages/java/hilla/src/main/java/dev/hilla/HillaForm.java +++ b/packages/java/hilla/src/main/java/com/vaadin/hilla/HillaForm.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; import com.vaadin.flow.component.dependency.NpmPackage; diff --git a/packages/java/maven-plugin/pom.xml b/packages/java/maven-plugin/pom.xml index 2270a660b0..d656f206ca 100644 --- a/packages/java/maven-plugin/pom.xml +++ b/packages/java/maven-plugin/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml @@ -21,7 +21,7 @@ - dev.hilla + com.vaadin.hilla plugin-base ${project.version} @@ -59,7 +59,7 @@ jsr305 - dev.hilla + com.vaadin.hilla engine-core ${project.version} @@ -92,7 +92,7 @@ test - dev.hilla + com.vaadin.hilla parser-jvm-test-utils ${project.version} test diff --git a/packages/java/maven-plugin/src/main/java/dev/hilla/maven/BuildFrontendMojo.java b/packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/BuildFrontendMojo.java similarity index 96% rename from packages/java/maven-plugin/src/main/java/dev/hilla/maven/BuildFrontendMojo.java rename to packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/BuildFrontendMojo.java index 7c10e1a44e..6f3021fbcd 100644 --- a/packages/java/maven-plugin/src/main/java/dev/hilla/maven/BuildFrontendMojo.java +++ b/packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/BuildFrontendMojo.java @@ -1,4 +1,4 @@ -package dev.hilla.maven; +package com.vaadin.hilla.maven; import org.apache.maven.plugins.annotations.Execute; import org.apache.maven.plugins.annotations.LifecyclePhase; diff --git a/packages/java/maven-plugin/src/main/java/dev/hilla/maven/CleanFrontendMojo.java b/packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/CleanFrontendMojo.java similarity index 97% rename from packages/java/maven-plugin/src/main/java/dev/hilla/maven/CleanFrontendMojo.java rename to packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/CleanFrontendMojo.java index 641fb27f9c..5f29912842 100644 --- a/packages/java/maven-plugin/src/main/java/dev/hilla/maven/CleanFrontendMojo.java +++ b/packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/CleanFrontendMojo.java @@ -1,4 +1,4 @@ -package dev.hilla.maven; +package com.vaadin.hilla.maven; import org.apache.maven.plugin.MojoFailureException; import org.apache.maven.plugins.annotations.LifecyclePhase; diff --git a/packages/java/maven-plugin/src/main/java/dev/hilla/maven/ConvertPolymerMojo.java b/packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/ConvertPolymerMojo.java similarity index 96% rename from packages/java/maven-plugin/src/main/java/dev/hilla/maven/ConvertPolymerMojo.java rename to packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/ConvertPolymerMojo.java index 9d7dea101f..8f193eb75d 100644 --- a/packages/java/maven-plugin/src/main/java/dev/hilla/maven/ConvertPolymerMojo.java +++ b/packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/ConvertPolymerMojo.java @@ -1,4 +1,4 @@ -package dev.hilla.maven; +package com.vaadin.hilla.maven; import org.apache.maven.plugin.MojoFailureException; import org.apache.maven.plugins.annotations.Mojo; diff --git a/packages/java/maven-plugin/src/main/java/dev/hilla/maven/EngineConfigureMojo.java b/packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/EngineConfigureMojo.java similarity index 93% rename from packages/java/maven-plugin/src/main/java/dev/hilla/maven/EngineConfigureMojo.java rename to packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/EngineConfigureMojo.java index bbcd08e5dd..6edfe6d013 100644 --- a/packages/java/maven-plugin/src/main/java/dev/hilla/maven/EngineConfigureMojo.java +++ b/packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/EngineConfigureMojo.java @@ -1,4 +1,4 @@ -package dev.hilla.maven; +package com.vaadin.hilla.maven; import java.io.File; import java.io.IOException; @@ -13,9 +13,9 @@ import org.apache.maven.plugins.annotations.ResolutionScope; import org.apache.maven.project.MavenProject; -import dev.hilla.engine.EngineConfiguration; -import dev.hilla.engine.GeneratorConfiguration; -import dev.hilla.engine.ParserConfiguration; +import com.vaadin.hilla.engine.EngineConfiguration; +import com.vaadin.hilla.engine.GeneratorConfiguration; +import com.vaadin.hilla.engine.ParserConfiguration; /** * Maven Plugin for Hilla. Emits Hilla engine configuration file in the build diff --git a/packages/java/maven-plugin/src/main/java/dev/hilla/maven/EngineConfigureMojoException.java b/packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/EngineConfigureMojoException.java similarity index 91% rename from packages/java/maven-plugin/src/main/java/dev/hilla/maven/EngineConfigureMojoException.java rename to packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/EngineConfigureMojoException.java index fefdb3b7ad..0524626b90 100644 --- a/packages/java/maven-plugin/src/main/java/dev/hilla/maven/EngineConfigureMojoException.java +++ b/packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/EngineConfigureMojoException.java @@ -1,4 +1,4 @@ -package dev.hilla.maven; +package com.vaadin.hilla.maven; import org.apache.maven.plugin.MojoFailureException; diff --git a/packages/java/maven-plugin/src/main/java/dev/hilla/maven/EngineGenerateMojo.java b/packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/EngineGenerateMojo.java similarity index 88% rename from packages/java/maven-plugin/src/main/java/dev/hilla/maven/EngineGenerateMojo.java rename to packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/EngineGenerateMojo.java index dae991aea4..680fc49a92 100644 --- a/packages/java/maven-plugin/src/main/java/dev/hilla/maven/EngineGenerateMojo.java +++ b/packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/EngineGenerateMojo.java @@ -1,4 +1,4 @@ -package dev.hilla.maven; +package com.vaadin.hilla.maven; import java.io.IOException; import java.net.URL; @@ -14,11 +14,11 @@ import org.apache.maven.plugins.annotations.ResolutionScope; import org.apache.maven.project.MavenProject; -import dev.hilla.engine.EngineConfiguration; -import dev.hilla.engine.GeneratorException; -import dev.hilla.engine.GeneratorProcessor; -import dev.hilla.engine.ParserException; -import dev.hilla.engine.ParserProcessor; +import com.vaadin.hilla.engine.EngineConfiguration; +import com.vaadin.hilla.engine.GeneratorException; +import com.vaadin.hilla.engine.GeneratorProcessor; +import com.vaadin.hilla.engine.ParserException; +import com.vaadin.hilla.engine.ParserProcessor; /** * Maven Plugin for Hilla. Handles parsing Java bytecode and generating diff --git a/packages/java/maven-plugin/src/main/java/dev/hilla/maven/EngineGenerateMojoException.java b/packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/EngineGenerateMojoException.java similarity index 91% rename from packages/java/maven-plugin/src/main/java/dev/hilla/maven/EngineGenerateMojoException.java rename to packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/EngineGenerateMojoException.java index c720e96b43..cb2849ede6 100644 --- a/packages/java/maven-plugin/src/main/java/dev/hilla/maven/EngineGenerateMojoException.java +++ b/packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/EngineGenerateMojoException.java @@ -1,4 +1,4 @@ -package dev.hilla.maven; +package com.vaadin.hilla.maven; import org.apache.maven.plugin.MojoFailureException; diff --git a/packages/java/maven-plugin/src/main/java/dev/hilla/maven/FrontendDanceMojo.java b/packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/FrontendDanceMojo.java similarity index 97% rename from packages/java/maven-plugin/src/main/java/dev/hilla/maven/FrontendDanceMojo.java rename to packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/FrontendDanceMojo.java index 7b0471672d..2dc70624a1 100644 --- a/packages/java/maven-plugin/src/main/java/dev/hilla/maven/FrontendDanceMojo.java +++ b/packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/FrontendDanceMojo.java @@ -1,4 +1,4 @@ -package dev.hilla.maven; +package com.vaadin.hilla.maven; import org.apache.maven.plugin.MojoFailureException; import org.apache.maven.plugins.annotations.LifecyclePhase; diff --git a/packages/java/maven-plugin/src/main/java/dev/hilla/maven/InitAppMojo.java b/packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/InitAppMojo.java similarity index 93% rename from packages/java/maven-plugin/src/main/java/dev/hilla/maven/InitAppMojo.java rename to packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/InitAppMojo.java index b4455ad812..7653465adf 100644 --- a/packages/java/maven-plugin/src/main/java/dev/hilla/maven/InitAppMojo.java +++ b/packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/InitAppMojo.java @@ -1,4 +1,4 @@ -package dev.hilla.maven; +package com.vaadin.hilla.maven; import java.io.File; import java.util.List; @@ -10,7 +10,7 @@ import org.apache.maven.plugins.annotations.Mojo; import org.apache.maven.plugins.annotations.Parameter; -import dev.hilla.plugin.base.HillaAppInitUtility; +import com.vaadin.hilla.plugin.base.HillaAppInitUtility; import org.apache.maven.project.MavenProject; @Mojo(name = "init-app", defaultPhase = LifecyclePhase.PROCESS_CLASSES) diff --git a/packages/java/maven-plugin/src/main/java/dev/hilla/maven/PrepareFrontendMojo.java b/packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/PrepareFrontendMojo.java similarity index 94% rename from packages/java/maven-plugin/src/main/java/dev/hilla/maven/PrepareFrontendMojo.java rename to packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/PrepareFrontendMojo.java index 0f8f539ee1..7a649bb69b 100644 --- a/packages/java/maven-plugin/src/main/java/dev/hilla/maven/PrepareFrontendMojo.java +++ b/packages/java/maven-plugin/src/main/java/com/vaadin/hilla/maven/PrepareFrontendMojo.java @@ -1,4 +1,4 @@ -package dev.hilla.maven; +package com.vaadin.hilla.maven; import org.apache.maven.plugins.annotations.Execute; import org.apache.maven.plugins.annotations.LifecyclePhase; diff --git a/packages/java/maven-plugin/src/test/java/dev/hilla/maven/AbstractMojoTest.java b/packages/java/maven-plugin/src/test/java/com/vaadin/hilla/maven/AbstractMojoTest.java similarity index 97% rename from packages/java/maven-plugin/src/test/java/dev/hilla/maven/AbstractMojoTest.java rename to packages/java/maven-plugin/src/test/java/com/vaadin/hilla/maven/AbstractMojoTest.java index 065b46ccc2..a52fb9abac 100644 --- a/packages/java/maven-plugin/src/test/java/dev/hilla/maven/AbstractMojoTest.java +++ b/packages/java/maven-plugin/src/test/java/com/vaadin/hilla/maven/AbstractMojoTest.java @@ -1,4 +1,4 @@ -package dev.hilla.maven; +package com.vaadin.hilla.maven; import static org.junit.jupiter.api.Assertions.assertNotNull; @@ -18,8 +18,8 @@ import org.junit.jupiter.api.BeforeEach; import org.mockito.Mockito; -import dev.hilla.engine.EngineConfiguration; -import dev.hilla.parser.testutils.TestEngineConfigurationPathResolver; +import com.vaadin.hilla.engine.EngineConfiguration; +import com.vaadin.hilla.parser.testutils.TestEngineConfigurationPathResolver; /** * Base class for Engine Maven plugin tests. Delegates to diff --git a/packages/java/maven-plugin/src/test/java/dev/hilla/maven/EngineConfigureMojoTest.java b/packages/java/maven-plugin/src/test/java/com/vaadin/hilla/maven/EngineConfigureMojoTest.java similarity index 85% rename from packages/java/maven-plugin/src/test/java/dev/hilla/maven/EngineConfigureMojoTest.java rename to packages/java/maven-plugin/src/test/java/com/vaadin/hilla/maven/EngineConfigureMojoTest.java index a5064e4a23..d650208873 100644 --- a/packages/java/maven-plugin/src/test/java/dev/hilla/maven/EngineConfigureMojoTest.java +++ b/packages/java/maven-plugin/src/test/java/com/vaadin/hilla/maven/EngineConfigureMojoTest.java @@ -1,11 +1,11 @@ -package dev.hilla.maven; +package com.vaadin.hilla.maven; import static org.junit.jupiter.api.Assertions.assertNotNull; import org.junit.jupiter.api.Test; -import dev.hilla.engine.EngineConfiguration; -import dev.hilla.parser.testutils.JsonAssertions; +import com.vaadin.hilla.engine.EngineConfiguration; +import com.vaadin.hilla.parser.testutils.JsonAssertions; public class EngineConfigureMojoTest extends AbstractMojoTest { diff --git a/packages/java/maven-plugin/src/test/java/dev/hilla/maven/EngineGenerateMojoTest.java b/packages/java/maven-plugin/src/test/java/com/vaadin/hilla/maven/EngineGenerateMojoTest.java similarity index 95% rename from packages/java/maven-plugin/src/test/java/dev/hilla/maven/EngineGenerateMojoTest.java rename to packages/java/maven-plugin/src/test/java/com/vaadin/hilla/maven/EngineGenerateMojoTest.java index b937eca353..dda4c495be 100644 --- a/packages/java/maven-plugin/src/test/java/dev/hilla/maven/EngineGenerateMojoTest.java +++ b/packages/java/maven-plugin/src/test/java/com/vaadin/hilla/maven/EngineGenerateMojoTest.java @@ -1,4 +1,4 @@ -package dev.hilla.maven; +package com.vaadin.hilla.maven; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; @@ -11,9 +11,9 @@ import org.mockito.Answers; import org.mockito.Mockito; -import dev.hilla.engine.EngineConfiguration; -import dev.hilla.engine.GeneratorProcessor; -import dev.hilla.engine.ParserProcessor; +import com.vaadin.hilla.engine.EngineConfiguration; +import com.vaadin.hilla.engine.GeneratorProcessor; +import com.vaadin.hilla.engine.ParserProcessor; public class EngineGenerateMojoTest extends AbstractMojoTest { diff --git a/packages/java/maven-plugin/src/test/resources/dev/hilla/maven/EngineConfigureMojoTest.xml b/packages/java/maven-plugin/src/test/resources/com/vaadin/hilla/maven/EngineConfigureMojoTest.xml similarity index 86% rename from packages/java/maven-plugin/src/test/resources/dev/hilla/maven/EngineConfigureMojoTest.xml rename to packages/java/maven-plugin/src/test/resources/com/vaadin/hilla/maven/EngineConfigureMojoTest.xml index 821cd0e324..fc34e809af 100644 --- a/packages/java/maven-plugin/src/test/resources/dev/hilla/maven/EngineConfigureMojoTest.xml +++ b/packages/java/maven-plugin/src/test/resources/com/vaadin/hilla/maven/EngineConfigureMojoTest.xml @@ -3,7 +3,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 - dev.hilla.maven + com.vaadin.hilla.maven basic-test 1.0-SNAPSHOT jar @@ -13,7 +13,7 @@ - dev.hilla + com.vaadin.hilla hilla-maven-plugin @@ -33,8 +33,8 @@ - dev.hilla.maven.Endpoint - dev.hilla.maven.EndpointExposed + com.vaadin.hilla.maven.Endpoint + com.vaadin.hilla.maven.EndpointExposed openapi-maven-test-base.json diff --git a/packages/java/maven-plugin/src/test/resources/dev/hilla/maven/EngineGenerateMojoTest.xml b/packages/java/maven-plugin/src/test/resources/com/vaadin/hilla/maven/EngineGenerateMojoTest.xml similarity index 89% rename from packages/java/maven-plugin/src/test/resources/dev/hilla/maven/EngineGenerateMojoTest.xml rename to packages/java/maven-plugin/src/test/resources/com/vaadin/hilla/maven/EngineGenerateMojoTest.xml index 6da011e254..0f5d5bc009 100644 --- a/packages/java/maven-plugin/src/test/resources/dev/hilla/maven/EngineGenerateMojoTest.xml +++ b/packages/java/maven-plugin/src/test/resources/com/vaadin/hilla/maven/EngineGenerateMojoTest.xml @@ -3,7 +3,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 - dev.hilla.maven + com.vaadin.hilla.maven basic-test 1.0-SNAPSHOT jar @@ -14,7 +14,7 @@ - dev.hilla + com.vaadin.hilla hilla-maven-plugin diff --git a/packages/java/maven-plugin/src/test/resources/dev/hilla/maven/hilla-engine-configuration.json b/packages/java/maven-plugin/src/test/resources/com/vaadin/hilla/maven/hilla-engine-configuration.json similarity index 85% rename from packages/java/maven-plugin/src/test/resources/dev/hilla/maven/hilla-engine-configuration.json rename to packages/java/maven-plugin/src/test/resources/com/vaadin/hilla/maven/hilla-engine-configuration.json index 5a3b83146e..984e52e6d8 100644 --- a/packages/java/maven-plugin/src/test/resources/dev/hilla/maven/hilla-engine-configuration.json +++ b/packages/java/maven-plugin/src/test/resources/com/vaadin/hilla/maven/hilla-engine-configuration.json @@ -17,8 +17,8 @@ } }, "parser": { - "endpointAnnotation": "dev.hilla.maven.Endpoint", - "endpointExposedAnnotation": "dev.hilla.maven.EndpointExposed", + "endpointAnnotation": "com.vaadin.hilla.maven.Endpoint", + "endpointExposedAnnotation": "com.vaadin.hilla.maven.EndpointExposed", "openAPIBasePath": "openapi-maven-test-base.json", "plugins": { "use": [ diff --git a/packages/java/parser-jvm-core/pom.xml b/packages/java/parser-jvm-core/pom.xml index 00f2122592..1468e1239c 100644 --- a/packages/java/parser-jvm-core/pom.xml +++ b/packages/java/parser-jvm-core/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml @@ -56,12 +56,12 @@ jackson-dataformat-yaml - dev.hilla + com.vaadin.hilla parser-jvm-utils ${project.version} - dev.hilla + com.vaadin.hilla parser-jvm-test-utils ${project.version} test diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/AbstractCompositePlugin.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/AbstractCompositePlugin.java similarity index 96% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/AbstractCompositePlugin.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/AbstractCompositePlugin.java index 19a0290b47..753af386db 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/AbstractCompositePlugin.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/AbstractCompositePlugin.java @@ -1,11 +1,11 @@ -package dev.hilla.parser.core; +package com.vaadin.hilla.parser.core; import java.util.HashSet; import java.util.LinkedList; import java.util.Objects; import java.util.stream.Stream; -import dev.hilla.parser.utils.PluginException; +import com.vaadin.hilla.parser.utils.PluginException; import jakarta.annotation.Nonnull; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/AbstractNode.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/AbstractNode.java similarity index 88% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/AbstractNode.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/AbstractNode.java index 936f43e423..21ac154f5c 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/AbstractNode.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/AbstractNode.java @@ -1,12 +1,12 @@ -package dev.hilla.parser.core; +package com.vaadin.hilla.parser.core; import java.util.Objects; import javax.annotation.Nonnull; -import dev.hilla.parser.models.ClassInfoModel; -import dev.hilla.parser.models.NamedModel; -import dev.hilla.parser.models.SignatureModel; +import com.vaadin.hilla.parser.models.ClassInfoModel; +import com.vaadin.hilla.parser.models.NamedModel; +import com.vaadin.hilla.parser.models.SignatureModel; public abstract class AbstractNode implements Node { private final S source; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/AbstractPlugin.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/AbstractPlugin.java similarity index 97% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/AbstractPlugin.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/AbstractPlugin.java index 297f0e57d0..1cd6e90bdb 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/AbstractPlugin.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/AbstractPlugin.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core; +package com.vaadin.hilla.parser.core; import java.lang.reflect.ParameterizedType; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/Node.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/Node.java similarity index 73% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/Node.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/Node.java index 4370ca4ad9..4853addaf6 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/Node.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/Node.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core; +package com.vaadin.hilla.parser.core; public interface Node { S getSource(); diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/NodeDependencies.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/NodeDependencies.java similarity index 98% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/NodeDependencies.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/NodeDependencies.java index 2da92b37f6..c1c867f70e 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/NodeDependencies.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/NodeDependencies.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core; +package com.vaadin.hilla.parser.core; import java.util.Objects; import java.util.function.UnaryOperator; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/NodePath.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/NodePath.java similarity index 98% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/NodePath.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/NodePath.java index 8fc21b8f65..9aaae6d36e 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/NodePath.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/NodePath.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core; +package com.vaadin.hilla.parser.core; import java.util.LinkedList; import java.util.Objects; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/OpenAPIFileType.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/OpenAPIFileType.java similarity index 91% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/OpenAPIFileType.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/OpenAPIFileType.java index 2679c7d92f..c221df044d 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/OpenAPIFileType.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/OpenAPIFileType.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core; +package com.vaadin.hilla.parser.core; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/Parser.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/Parser.java similarity index 99% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/Parser.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/Parser.java index b18a73568e..4e1fa828f0 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/Parser.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/Parser.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core; +package com.vaadin.hilla.parser.core; import java.io.IOException; import java.lang.annotation.Annotation; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/ParserException.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/ParserException.java similarity index 88% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/ParserException.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/ParserException.java index 808c37a957..d8d18c50ee 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/ParserException.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/ParserException.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core; +package com.vaadin.hilla.parser.core; public final class ParserException extends RuntimeException { ParserException(String message) { diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/ParserUtils.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/ParserUtils.java similarity index 94% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/ParserUtils.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/ParserUtils.java index 0c898b8591..779f76fd2b 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/ParserUtils.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/ParserUtils.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core; +package com.vaadin.hilla.parser.core; import io.github.classgraph.ClassInfo; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/Plugin.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/Plugin.java similarity index 94% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/Plugin.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/Plugin.java index cc5621f459..81c5ed933f 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/Plugin.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/Plugin.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core; +package com.vaadin.hilla.parser.core; import java.util.Collection; import java.util.Collections; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/PluginConfiguration.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/PluginConfiguration.java similarity index 80% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/PluginConfiguration.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/PluginConfiguration.java index b8e9fb9c4c..bcee0747f9 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/PluginConfiguration.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/PluginConfiguration.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core; +package com.vaadin.hilla.parser.core; import com.fasterxml.jackson.annotation.JsonTypeInfo; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/PluginExecutor.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/PluginExecutor.java similarity index 99% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/PluginExecutor.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/PluginExecutor.java index decc4e0b46..fa7440d788 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/PluginExecutor.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/PluginExecutor.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core; +package com.vaadin.hilla.parser.core; import java.util.Deque; import java.util.HashMap; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/PluginManager.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/PluginManager.java similarity index 97% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/PluginManager.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/PluginManager.java index eb3276df51..0d08dbcfb9 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/PluginManager.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/PluginManager.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core; +package com.vaadin.hilla.parser.core; import java.lang.reflect.InvocationTargetException; import java.util.Collection; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/RootNode.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/RootNode.java similarity index 87% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/RootNode.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/RootNode.java index 286bfe0c9e..1876b6ee3d 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/RootNode.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/RootNode.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core; +package com.vaadin.hilla.parser.core; import javax.annotation.Nonnull; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/ScanResult.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/ScanResult.java similarity index 95% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/ScanResult.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/ScanResult.java index f96fa9b5cb..b009590471 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/ScanResult.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/ScanResult.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core; +package com.vaadin.hilla.parser.core; import java.util.ArrayList; import java.util.List; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/SharedStorage.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/SharedStorage.java similarity index 91% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/SharedStorage.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/SharedStorage.java index a18f74ea6a..a8618f983a 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/core/SharedStorage.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/core/SharedStorage.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core; +package com.vaadin.hilla.parser.core; import io.swagger.v3.oas.models.OpenAPI; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotatedAbstractModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotatedAbstractModel.java similarity index 97% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotatedAbstractModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotatedAbstractModel.java index 3ea3744a58..fdd1e50463 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotatedAbstractModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotatedAbstractModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.annotation.Annotation; import java.util.Arrays; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotatedModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotatedModel.java similarity index 73% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotatedModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotatedModel.java index 26f4afb1c6..15a09ed36e 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotatedModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotatedModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.util.List; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationInfoModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationInfoModel.java similarity index 97% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationInfoModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationInfoModel.java index 2918e43b62..0f505c9bdb 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationInfoModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationInfoModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.annotation.Annotation; import java.util.Objects; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationInfoReflectionModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationInfoReflectionModel.java similarity index 97% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationInfoReflectionModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationInfoReflectionModel.java index 6ba028632f..376bb551ac 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationInfoReflectionModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationInfoReflectionModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.annotation.Annotation; import java.lang.reflect.InvocationTargetException; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationInfoSourceModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationInfoSourceModel.java similarity index 96% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationInfoSourceModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationInfoSourceModel.java index 4296f27dd3..c789d090c2 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationInfoSourceModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationInfoSourceModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.util.Optional; import java.util.Set; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationParameterEnumValueModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationParameterEnumValueModel.java similarity index 97% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationParameterEnumValueModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationParameterEnumValueModel.java index 31894e0f92..7cb2c3a965 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationParameterEnumValueModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationParameterEnumValueModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.util.Objects; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationParameterEnumValueReflectionModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationParameterEnumValueReflectionModel.java similarity index 93% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationParameterEnumValueReflectionModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationParameterEnumValueReflectionModel.java index 483fe39620..e19b59780b 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationParameterEnumValueReflectionModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationParameterEnumValueReflectionModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; final class AnnotationParameterEnumValueReflectionModel extends AnnotationParameterEnumValueModel implements ReflectionModel { diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationParameterEnumValueSourceModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationParameterEnumValueSourceModel.java similarity index 95% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationParameterEnumValueSourceModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationParameterEnumValueSourceModel.java index e047c57a9d..17e705cf25 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationParameterEnumValueSourceModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationParameterEnumValueSourceModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import io.github.classgraph.AnnotationEnumValue; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationParameterModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationParameterModel.java similarity index 98% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationParameterModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationParameterModel.java index 1c9e88c9fe..295ba112f8 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationParameterModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationParameterModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.util.Objects; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationParameterReflectionModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationParameterReflectionModel.java similarity index 95% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationParameterReflectionModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationParameterReflectionModel.java index 8b2f360306..b1608a26b2 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationParameterReflectionModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationParameterReflectionModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; final class AnnotationParameterReflectionModel extends AnnotationParameterModel implements ReflectionModel { diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationParameterSourceModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationParameterSourceModel.java similarity index 97% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationParameterSourceModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationParameterSourceModel.java index 581888af94..584722d223 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/AnnotationParameterSourceModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/AnnotationParameterSourceModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import io.github.classgraph.AnnotationClassRef; import io.github.classgraph.AnnotationEnumValue; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ArraySignatureModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ArraySignatureModel.java similarity index 97% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ArraySignatureModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ArraySignatureModel.java index 1ba79e09d2..7ba50abf6c 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ArraySignatureModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ArraySignatureModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.reflect.AnnotatedArrayType; import java.util.Objects; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ArraySignatureReflectionModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ArraySignatureReflectionModel.java similarity index 94% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ArraySignatureReflectionModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ArraySignatureReflectionModel.java index 1d14902a9f..becc1fc4e4 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ArraySignatureReflectionModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ArraySignatureReflectionModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.reflect.AnnotatedArrayType; import java.lang.reflect.AnnotatedElement; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ArraySignatureSourceModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ArraySignatureSourceModel.java similarity index 94% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ArraySignatureSourceModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ArraySignatureSourceModel.java index 87b388f39a..7dee103eaf 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ArraySignatureSourceModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ArraySignatureSourceModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.util.List; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/BaseSignatureModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/BaseSignatureModel.java similarity index 97% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/BaseSignatureModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/BaseSignatureModel.java index 55cf2f21ef..f8c09c8ecb 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/BaseSignatureModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/BaseSignatureModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.reflect.AnnotatedType; import java.util.Objects; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/BaseSignatureReflectionModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/BaseSignatureReflectionModel.java similarity index 98% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/BaseSignatureReflectionModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/BaseSignatureReflectionModel.java index 935eda8c53..a69a72e96b 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/BaseSignatureReflectionModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/BaseSignatureReflectionModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.reflect.AnnotatedType; import java.util.List; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/BaseSignatureSourceModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/BaseSignatureSourceModel.java similarity index 97% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/BaseSignatureSourceModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/BaseSignatureSourceModel.java index cf1fcf6a37..9f20b9fefc 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/BaseSignatureSourceModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/BaseSignatureSourceModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.util.List; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassInfoModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassInfoModel.java similarity index 99% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassInfoModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassInfoModel.java index 6a1d07e89b..010634729c 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassInfoModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassInfoModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.reflect.AnnotatedType; import java.lang.reflect.Type; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassInfoReflectionModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassInfoReflectionModel.java similarity index 99% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassInfoReflectionModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassInfoReflectionModel.java index 1a54995f68..c727c3f52b 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassInfoReflectionModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassInfoReflectionModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.reflect.Modifier; import java.math.BigDecimal; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassInfoSourceModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassInfoSourceModel.java similarity index 99% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassInfoSourceModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassInfoSourceModel.java index 7cee44d2df..7726c9ba6e 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassInfoSourceModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassInfoSourceModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.math.BigDecimal; import java.math.BigInteger; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassMemberModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassMemberModel.java similarity index 71% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassMemberModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassMemberModel.java index afaf9c4074..77a9142da5 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassMemberModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassMemberModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; public interface ClassMemberModel extends OwnedModel, NamedModel, Model { diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassRefSignatureArtificialModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassRefSignatureArtificialModel.java similarity index 97% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassRefSignatureArtificialModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassRefSignatureArtificialModel.java index e4145770bc..d992e54246 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassRefSignatureArtificialModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassRefSignatureArtificialModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.util.List; import java.util.Objects; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassRefSignatureModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassRefSignatureModel.java similarity index 99% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassRefSignatureModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassRefSignatureModel.java index 0557d28e36..093cc69d27 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassRefSignatureModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassRefSignatureModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.reflect.AnnotatedParameterizedType; import java.lang.reflect.AnnotatedType; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassRefSignatureReflectionModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassRefSignatureReflectionModel.java similarity index 96% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassRefSignatureReflectionModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassRefSignatureReflectionModel.java index acf6662953..b0c5020076 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassRefSignatureReflectionModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassRefSignatureReflectionModel.java @@ -1,6 +1,6 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; -import static dev.hilla.parser.utils.AnnotatedOwnerUtils.getAllOwnersAnnotations; +import static com.vaadin.hilla.parser.utils.AnnotatedOwnerUtils.getAllOwnersAnnotations; import java.lang.annotation.Annotation; import java.lang.reflect.AnnotatedElement; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassRefSignatureSourceModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassRefSignatureSourceModel.java similarity index 99% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassRefSignatureSourceModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassRefSignatureSourceModel.java index 94a201d316..faf647beae 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ClassRefSignatureSourceModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ClassRefSignatureSourceModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.util.List; import java.util.NoSuchElementException; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/FieldInfoModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/FieldInfoModel.java similarity index 98% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/FieldInfoModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/FieldInfoModel.java index fc43bb6eac..4234421554 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/FieldInfoModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/FieldInfoModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import javax.annotation.Nonnull; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/FieldInfoReflectionModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/FieldInfoReflectionModel.java similarity index 97% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/FieldInfoReflectionModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/FieldInfoReflectionModel.java index aeb0b47320..f7d78d1591 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/FieldInfoReflectionModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/FieldInfoReflectionModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.reflect.Field; import java.lang.reflect.Modifier; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/FieldInfoSourceModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/FieldInfoSourceModel.java similarity index 97% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/FieldInfoSourceModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/FieldInfoSourceModel.java index f08e4556ac..7ba44b133f 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/FieldInfoSourceModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/FieldInfoSourceModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.util.List; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/MethodInfoModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/MethodInfoModel.java similarity index 99% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/MethodInfoModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/MethodInfoModel.java index b8c2f11f5a..93fb59bc0d 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/MethodInfoModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/MethodInfoModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.reflect.Constructor; import java.lang.reflect.Executable; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/MethodInfoReflectionModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/MethodInfoReflectionModel.java similarity index 99% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/MethodInfoReflectionModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/MethodInfoReflectionModel.java index cbdf08de48..e3c5b9a405 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/MethodInfoReflectionModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/MethodInfoReflectionModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.reflect.Executable; import java.lang.reflect.Method; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/MethodInfoSourceModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/MethodInfoSourceModel.java similarity index 98% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/MethodInfoSourceModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/MethodInfoSourceModel.java index 80e4bc6bc9..98efaa7501 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/MethodInfoSourceModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/MethodInfoSourceModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.util.Arrays; import java.util.List; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/MethodParameterInfoModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/MethodParameterInfoModel.java similarity index 98% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/MethodParameterInfoModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/MethodParameterInfoModel.java index 8aa75754a0..39163533d2 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/MethodParameterInfoModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/MethodParameterInfoModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.reflect.Parameter; import java.util.Objects; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/MethodParameterInfoReflectionModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/MethodParameterInfoReflectionModel.java similarity index 97% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/MethodParameterInfoReflectionModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/MethodParameterInfoReflectionModel.java index 394b77b1e8..dfeea15c53 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/MethodParameterInfoReflectionModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/MethodParameterInfoReflectionModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.reflect.Modifier; import java.lang.reflect.Parameter; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/MethodParameterInfoSourceModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/MethodParameterInfoSourceModel.java similarity index 97% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/MethodParameterInfoSourceModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/MethodParameterInfoSourceModel.java index a955202d1d..28f071d2be 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/MethodParameterInfoSourceModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/MethodParameterInfoSourceModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.util.List; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/Model.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/Model.java similarity index 84% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/Model.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/Model.java index dbfc8fdb30..50edd51727 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/Model.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/Model.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; public interface Model { Object get(); diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ModelException.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ModelException.java similarity index 87% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ModelException.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ModelException.java index 233485340a..abaf73ffe3 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ModelException.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ModelException.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; public class ModelException extends RuntimeException { ModelException(String message) { diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/NamedModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/NamedModel.java similarity index 57% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/NamedModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/NamedModel.java index 99459b1a64..2fce6e34fd 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/NamedModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/NamedModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; public interface NamedModel { String getName(); diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/OwnedModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/OwnedModel.java similarity index 57% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/OwnedModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/OwnedModel.java index 52411e7cfd..67b986e291 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/OwnedModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/OwnedModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; public interface OwnedModel { O getOwner(); diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/PackageInfoModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/PackageInfoModel.java similarity index 96% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/PackageInfoModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/PackageInfoModel.java index f08c1b4f2c..d6976a73c2 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/PackageInfoModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/PackageInfoModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import io.github.classgraph.PackageInfo; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/PackageInfoReflectionModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/PackageInfoReflectionModel.java similarity index 92% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/PackageInfoReflectionModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/PackageInfoReflectionModel.java index f612f86c45..1012a9b3d8 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/PackageInfoReflectionModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/PackageInfoReflectionModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.util.List; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/PackageInfoSourceModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/PackageInfoSourceModel.java similarity index 93% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/PackageInfoSourceModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/PackageInfoSourceModel.java index 96bdf780c6..ed63231bc6 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/PackageInfoSourceModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/PackageInfoSourceModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.util.List; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ParameterizedModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ParameterizedModel.java similarity index 74% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ParameterizedModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ParameterizedModel.java index 34324c2edd..c31fbc1144 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ParameterizedModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ParameterizedModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.util.List; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ReflectionModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ReflectionModel.java similarity index 76% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ReflectionModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ReflectionModel.java index 0ae8bee497..e113a06d2e 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ReflectionModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ReflectionModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; public interface ReflectionModel extends Model { @Override diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ReflectionSignatureModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ReflectionSignatureModel.java similarity index 79% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ReflectionSignatureModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ReflectionSignatureModel.java index 516840215a..c1454e03cf 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/ReflectionSignatureModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/ReflectionSignatureModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.reflect.AnnotatedElement; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/SignatureModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/SignatureModel.java similarity index 98% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/SignatureModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/SignatureModel.java index d54eea5c63..e6459997a5 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/SignatureModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/SignatureModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.reflect.AnnotatedArrayType; import java.lang.reflect.AnnotatedElement; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/SourceModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/SourceModel.java similarity index 77% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/SourceModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/SourceModel.java index 3c5f8eb33e..ddb8070e2f 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/SourceModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/SourceModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; @Deprecated public interface SourceModel extends Model { diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/SourceSignatureModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/SourceSignatureModel.java similarity index 81% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/SourceSignatureModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/SourceSignatureModel.java index e194800160..e4f24b904e 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/SourceSignatureModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/SourceSignatureModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import io.github.classgraph.HierarchicalTypeSignature; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/SpecializedModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/SpecializedModel.java similarity index 98% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/SpecializedModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/SpecializedModel.java index 1b037b962b..c192db2958 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/SpecializedModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/SpecializedModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; public interface SpecializedModel { default boolean hasFloatType() { diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeArgumentModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeArgumentModel.java similarity index 97% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeArgumentModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeArgumentModel.java index 37f091f262..4dd4f78bd0 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeArgumentModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeArgumentModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.reflect.AnnotatedType; import java.util.List; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeArgumentReflectionModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeArgumentReflectionModel.java similarity index 95% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeArgumentReflectionModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeArgumentReflectionModel.java index e9657cb724..84bdc445a3 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeArgumentReflectionModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeArgumentReflectionModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.reflect.AnnotatedType; import java.lang.reflect.AnnotatedWildcardType; @@ -6,7 +6,7 @@ import java.util.stream.Collectors; import java.util.stream.Stream; -import dev.hilla.parser.utils.Streams; +import com.vaadin.hilla.parser.utils.Streams; final class TypeArgumentReflectionModel extends TypeArgumentModel implements ReflectionSignatureModel { diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeArgumentSourceModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeArgumentSourceModel.java similarity index 97% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeArgumentSourceModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeArgumentSourceModel.java index 232cf74a3d..b0695e9ce7 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeArgumentSourceModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeArgumentSourceModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.util.Collection; import java.util.List; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeParameterModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeParameterModel.java similarity index 97% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeParameterModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeParameterModel.java index 76214ee6cc..ea6bca9d29 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeParameterModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeParameterModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.reflect.TypeVariable; import java.util.List; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeParameterReflectionModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeParameterReflectionModel.java similarity index 95% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeParameterReflectionModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeParameterReflectionModel.java index 5bc383c0d6..d8bfef37ba 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeParameterReflectionModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeParameterReflectionModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.reflect.TypeVariable; import java.util.Arrays; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeParameterSourceModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeParameterSourceModel.java similarity index 95% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeParameterSourceModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeParameterSourceModel.java index 965b52a141..46dfbfe5f7 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeParameterSourceModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeParameterSourceModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.util.List; import java.util.stream.Collectors; @@ -6,7 +6,7 @@ import javax.annotation.Nonnull; -import dev.hilla.parser.utils.Streams; +import com.vaadin.hilla.parser.utils.Streams; import io.github.classgraph.TypeParameter; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeVariableModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeVariableModel.java similarity index 97% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeVariableModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeVariableModel.java index fdfd7790a2..84934d90cc 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeVariableModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeVariableModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.reflect.AnnotatedTypeVariable; import java.util.Objects; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeVariableReflectionModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeVariableReflectionModel.java similarity index 95% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeVariableReflectionModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeVariableReflectionModel.java index c4735a3e11..f8a45e3024 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeVariableReflectionModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeVariableReflectionModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.lang.reflect.AnnotatedTypeVariable; import java.lang.reflect.TypeVariable; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeVariableSourceModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeVariableSourceModel.java similarity index 95% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeVariableSourceModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeVariableSourceModel.java index 8f26dfcc6f..c669c7be5c 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/TypeVariableSourceModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/TypeVariableSourceModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import java.util.List; diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/jackson/JacksonModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/jackson/JacksonModel.java similarity index 91% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/jackson/JacksonModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/jackson/JacksonModel.java index d0a1759a48..89688d8012 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/jackson/JacksonModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/jackson/JacksonModel.java @@ -1,11 +1,11 @@ -package dev.hilla.parser.models.jackson; +package com.vaadin.hilla.parser.models.jackson; import java.util.Optional; import com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition; -import dev.hilla.parser.models.AnnotatedAbstractModel; -import dev.hilla.parser.models.AnnotatedModel; -import dev.hilla.parser.models.Model; +import com.vaadin.hilla.parser.models.AnnotatedAbstractModel; +import com.vaadin.hilla.parser.models.AnnotatedModel; +import com.vaadin.hilla.parser.models.Model; public abstract class JacksonModel extends AnnotatedAbstractModel implements Model, AnnotatedModel { diff --git a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/jackson/JacksonPropertyModel.java b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/jackson/JacksonPropertyModel.java similarity index 85% rename from packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/jackson/JacksonPropertyModel.java rename to packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/jackson/JacksonPropertyModel.java index aa66b893ae..d1bceaa401 100644 --- a/packages/java/parser-jvm-core/src/main/java/dev/hilla/parser/models/jackson/JacksonPropertyModel.java +++ b/packages/java/parser-jvm-core/src/main/java/com/vaadin/hilla/parser/models/jackson/JacksonPropertyModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models.jackson; +package com.vaadin.hilla.parser.models.jackson; import java.util.Collection; import java.util.List; @@ -9,18 +9,18 @@ import com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition; -import dev.hilla.parser.models.AnnotatedModel; -import dev.hilla.parser.models.AnnotationInfoModel; -import dev.hilla.parser.models.ClassInfoModel; -import dev.hilla.parser.models.ClassMemberModel; -import dev.hilla.parser.models.FieldInfoModel; -import dev.hilla.parser.models.MethodInfoModel; -import dev.hilla.parser.models.Model; -import dev.hilla.parser.models.NamedModel; -import dev.hilla.parser.models.OwnedModel; -import dev.hilla.parser.models.ReflectionModel; - -import dev.hilla.parser.models.SignatureModel; +import com.vaadin.hilla.parser.models.AnnotatedModel; +import com.vaadin.hilla.parser.models.AnnotationInfoModel; +import com.vaadin.hilla.parser.models.ClassInfoModel; +import com.vaadin.hilla.parser.models.ClassMemberModel; +import com.vaadin.hilla.parser.models.FieldInfoModel; +import com.vaadin.hilla.parser.models.MethodInfoModel; +import com.vaadin.hilla.parser.models.Model; +import com.vaadin.hilla.parser.models.NamedModel; +import com.vaadin.hilla.parser.models.OwnedModel; +import com.vaadin.hilla.parser.models.ReflectionModel; + +import com.vaadin.hilla.parser.models.SignatureModel; import jakarta.annotation.Nonnull; public final class JacksonPropertyModel diff --git a/packages/java/parser-jvm-core/src/main/java/module-info.java b/packages/java/parser-jvm-core/src/main/java/module-info.java index faf2f6e6cb..f8dc6003fb 100644 --- a/packages/java/parser-jvm-core/src/main/java/module-info.java +++ b/packages/java/parser-jvm-core/src/main/java/module-info.java @@ -1,7 +1,7 @@ -module dev.hilla.parser.core { +module com.vaadin.hilla.parser.core { requires com.fasterxml.jackson.databind; requires com.fasterxml.jackson.dataformat.yaml; - requires dev.hilla.parser.utils; + requires com.vaadin.hilla.parser.utils; requires io.github.classgraph; requires io.swagger.v3.core; requires io.swagger.v3.oas.models; @@ -9,8 +9,8 @@ requires jakarta.annotation; requires org.slf4j; - opens dev.hilla.parser.core to com.fasterxml.jackson.databind; - exports dev.hilla.parser.core; - exports dev.hilla.parser.models; - exports dev.hilla.parser.models.jackson; + opens com.vaadin.hilla.parser.core to com.fasterxml.jackson.databind; + exports com.vaadin.hilla.parser.core; + exports com.vaadin.hilla.parser.models; + exports com.vaadin.hilla.parser.models.jackson; } diff --git a/packages/java/parser-jvm-core/src/main/resources/dev/hilla/parser/core/OpenAPIBase.json b/packages/java/parser-jvm-core/src/main/resources/com/vaadin/hilla/parser/core/OpenAPIBase.json similarity index 100% rename from packages/java/parser-jvm-core/src/main/resources/dev/hilla/parser/core/OpenAPIBase.json rename to packages/java/parser-jvm-core/src/main/resources/com/vaadin/hilla/parser/core/OpenAPIBase.json diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/Dummy.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/Dummy.java similarity index 50% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/Dummy.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/Dummy.java index 1d540dcb5e..f91b08c9d5 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/Dummy.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/Dummy.java @@ -1,8 +1,8 @@ -package dev.hilla; +package com.vaadin.hilla; /** * This class only exists to make its package exist and be able to test the - * {@link dev.hilla.parser.models.ClassInfoModel#findAncestors()} method. + * {@link com.vaadin.hilla.parser.models.ClassInfoModel#findAncestors()} method. */ public class Dummy { diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/ParserConfigTests.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/ParserConfigTests.java similarity index 97% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/ParserConfigTests.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/ParserConfigTests.java index 43b7faa449..71573d7f1a 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/ParserConfigTests.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/ParserConfigTests.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core; +package com.vaadin.hilla.parser.core; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.startsWith; @@ -18,7 +18,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import dev.hilla.parser.testutils.ResourceLoader; +import com.vaadin.hilla.parser.testutils.ResourceLoader; import io.swagger.v3.oas.models.OpenAPI; import io.swagger.v3.oas.models.Paths; @@ -37,11 +37,11 @@ public class ParserConfigTests { @BeforeEach public void setup() throws URISyntaxException { - defaultEndpointAnnotationName = "dev.hilla.Endpoint"; + defaultEndpointAnnotationName = "com.vaadin.hilla.Endpoint"; targetDir = resourceLoader.findTargetDirPath(); defaultClassPathElements = Set.of(targetDir.toString()); - defaultEndpointExposedAnnotationName = "dev.hilla.EndpointExposed"; + defaultEndpointExposedAnnotationName = "com.vaadin.hilla.EndpointExposed"; defaultOpenAPI = new OpenAPI() .info(new Info().title("Hilla Application").version("1.0.0")) .servers(List diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/AddPlugin.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/AddPlugin.java similarity index 75% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/AddPlugin.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/AddPlugin.java index 0e45d044bb..c649827b36 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/AddPlugin.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/AddPlugin.java @@ -1,7 +1,7 @@ -package dev.hilla.parser.core.basic; +package com.vaadin.hilla.parser.core.basic; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.cleanup; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethod; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.cleanup; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethod; import java.util.Collection; import java.util.stream.Collectors; @@ -9,17 +9,17 @@ import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractPlugin; -import dev.hilla.parser.core.NodeDependencies; -import dev.hilla.parser.core.NodePath; -import dev.hilla.parser.core.PluginConfiguration; -import dev.hilla.parser.core.RootNode; -import dev.hilla.parser.models.ClassInfoModel; -import dev.hilla.parser.models.MethodInfoModel; -import dev.hilla.parser.test.nodes.EndpointNode; -import dev.hilla.parser.test.nodes.EntityNode; -import dev.hilla.parser.test.nodes.FieldNode; -import dev.hilla.parser.test.nodes.MethodNode; +import com.vaadin.hilla.parser.core.AbstractPlugin; +import com.vaadin.hilla.parser.core.NodeDependencies; +import com.vaadin.hilla.parser.core.NodePath; +import com.vaadin.hilla.parser.core.PluginConfiguration; +import com.vaadin.hilla.parser.core.RootNode; +import com.vaadin.hilla.parser.models.ClassInfoModel; +import com.vaadin.hilla.parser.models.MethodInfoModel; +import com.vaadin.hilla.parser.test.nodes.EndpointNode; +import com.vaadin.hilla.parser.test.nodes.EntityNode; +import com.vaadin.hilla.parser.test.nodes.FieldNode; +import com.vaadin.hilla.parser.test.nodes.MethodNode; final class AddPlugin extends AbstractPlugin { @Override diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/BasicEndpoint.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/BasicEndpoint.java similarity index 79% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/BasicEndpoint.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/BasicEndpoint.java index 8ad197a5e4..f01c6896b2 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/BasicEndpoint.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/BasicEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core.basic; +package com.vaadin.hilla.parser.core.basic; @Endpoint public class BasicEndpoint { diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/BasicPlugin.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/BasicPlugin.java similarity index 71% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/BasicPlugin.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/BasicPlugin.java index a9cbb2dd1a..a9c35734d0 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/BasicPlugin.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/BasicPlugin.java @@ -1,7 +1,7 @@ -package dev.hilla.parser.core.basic; +package com.vaadin.hilla.parser.core.basic; -import dev.hilla.parser.core.AbstractCompositePlugin; -import dev.hilla.parser.core.PluginConfiguration; +import com.vaadin.hilla.parser.core.AbstractCompositePlugin; +import com.vaadin.hilla.parser.core.PluginConfiguration; final class BasicPlugin extends AbstractCompositePlugin { public static final String FOOTSTEPS_STORAGE_KEY = "x-basic-plugin-footsteps"; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/BasicTests.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/BasicTests.java similarity index 95% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/BasicTests.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/BasicTests.java index e6b3117edb..cbe801c631 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/BasicTests.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/BasicTests.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core.basic; +package com.vaadin.hilla.parser.core.basic; import static org.junit.jupiter.api.Assertions.assertEquals; @@ -8,8 +8,8 @@ import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.testutils.ResourceLoader; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.testutils.ResourceLoader; public class BasicTests { private static final List STEPS = new LinkedList<>(); diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/Endpoint.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/Endpoint.java similarity index 85% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/Endpoint.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/Endpoint.java index 899d77d099..144ed56221 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/Endpoint.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/Endpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core.basic; +package com.vaadin.hilla.parser.core.basic; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/EndpointExposed.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/EndpointExposed.java similarity index 85% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/EndpointExposed.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/EndpointExposed.java index 97a33c6fe8..3bcbfb037b 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/EndpointExposed.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/EndpointExposed.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core.dependency; +package com.vaadin.hilla.parser.core.basic; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/FinalizePlugin.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/FinalizePlugin.java similarity index 78% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/FinalizePlugin.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/FinalizePlugin.java index 3f74b0a32f..fdde4dece3 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/FinalizePlugin.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/FinalizePlugin.java @@ -1,18 +1,18 @@ -package dev.hilla.parser.core.basic; +package com.vaadin.hilla.parser.core.basic; import java.util.ArrayList; import java.util.List; import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractPlugin; -import dev.hilla.parser.core.NodeDependencies; -import dev.hilla.parser.core.NodePath; -import dev.hilla.parser.core.PluginConfiguration; -import dev.hilla.parser.core.RootNode; -import dev.hilla.parser.models.ClassInfoModel; -import dev.hilla.parser.models.Model; -import dev.hilla.parser.models.NamedModel; +import com.vaadin.hilla.parser.core.AbstractPlugin; +import com.vaadin.hilla.parser.core.NodeDependencies; +import com.vaadin.hilla.parser.core.NodePath; +import com.vaadin.hilla.parser.core.PluginConfiguration; +import com.vaadin.hilla.parser.core.RootNode; +import com.vaadin.hilla.parser.models.ClassInfoModel; +import com.vaadin.hilla.parser.models.Model; +import com.vaadin.hilla.parser.models.NamedModel; final class FinalizePlugin extends AbstractPlugin { private final List footsteps = new ArrayList<>(); diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/RemovePlugin.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/RemovePlugin.java similarity index 67% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/RemovePlugin.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/RemovePlugin.java index 010b2ba38f..a943bb893d 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/RemovePlugin.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/RemovePlugin.java @@ -1,15 +1,15 @@ -package dev.hilla.parser.core.basic; +package com.vaadin.hilla.parser.core.basic; import java.util.stream.Stream; import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractPlugin; -import dev.hilla.parser.core.Node; -import dev.hilla.parser.core.NodeDependencies; -import dev.hilla.parser.core.NodePath; -import dev.hilla.parser.core.PluginConfiguration; -import dev.hilla.parser.test.nodes.EntityNode; +import com.vaadin.hilla.parser.core.AbstractPlugin; +import com.vaadin.hilla.parser.core.Node; +import com.vaadin.hilla.parser.core.NodeDependencies; +import com.vaadin.hilla.parser.core.NodePath; +import com.vaadin.hilla.parser.core.PluginConfiguration; +import com.vaadin.hilla.parser.test.nodes.EntityNode; final class RemovePlugin extends AbstractPlugin { @Override diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/ReplacePlugin.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/ReplacePlugin.java similarity index 74% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/ReplacePlugin.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/ReplacePlugin.java index a11e0604ca..9406c94491 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/ReplacePlugin.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/basic/ReplacePlugin.java @@ -1,18 +1,18 @@ -package dev.hilla.parser.core.basic; +package com.vaadin.hilla.parser.core.basic; import java.util.stream.Stream; import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractPlugin; -import dev.hilla.parser.core.Node; -import dev.hilla.parser.core.NodeDependencies; -import dev.hilla.parser.core.NodePath; -import dev.hilla.parser.core.PluginConfiguration; -import dev.hilla.parser.models.FieldInfoModel; -import dev.hilla.parser.test.nodes.EndpointNode; -import dev.hilla.parser.test.nodes.FieldNode; -import dev.hilla.parser.test.nodes.MethodNode; +import com.vaadin.hilla.parser.core.AbstractPlugin; +import com.vaadin.hilla.parser.core.Node; +import com.vaadin.hilla.parser.core.NodeDependencies; +import com.vaadin.hilla.parser.core.NodePath; +import com.vaadin.hilla.parser.core.PluginConfiguration; +import com.vaadin.hilla.parser.models.FieldInfoModel; +import com.vaadin.hilla.parser.test.nodes.EndpointNode; +import com.vaadin.hilla.parser.test.nodes.FieldNode; +import com.vaadin.hilla.parser.test.nodes.MethodNode; final class ReplacePlugin extends AbstractPlugin { @Override diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/DependencyEndpoint.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/DependencyEndpoint.java similarity index 90% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/DependencyEndpoint.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/DependencyEndpoint.java index 7af1f0820f..c09dcadc99 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/DependencyEndpoint.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/DependencyEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core.dependency; +package com.vaadin.hilla.parser.core.dependency; @Endpoint public class DependencyEndpoint { diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/DependencyEntityOne.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/DependencyEntityOne.java similarity index 90% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/DependencyEntityOne.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/DependencyEntityOne.java index 76eb331900..3365ce488a 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/DependencyEntityOne.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/DependencyEntityOne.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core.dependency; +package com.vaadin.hilla.parser.core.dependency; public class DependencyEntityOne { public String foo; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/DependencyEntityThree.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/DependencyEntityThree.java similarity index 78% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/DependencyEntityThree.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/DependencyEntityThree.java index 0ea6ede81d..67db62038b 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/DependencyEntityThree.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/DependencyEntityThree.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core.dependency; +package com.vaadin.hilla.parser.core.dependency; import javax.annotation.Nonnull; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/DependencyEntityTwo.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/DependencyEntityTwo.java similarity index 85% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/DependencyEntityTwo.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/DependencyEntityTwo.java index 516b0097dd..8573d29bcc 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/DependencyEntityTwo.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/DependencyEntityTwo.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core.dependency; +package com.vaadin.hilla.parser.core.dependency; import javax.annotation.Nonnull; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/DependencyPlugin.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/DependencyPlugin.java similarity index 83% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/DependencyPlugin.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/DependencyPlugin.java index 97e62bcb64..5836b55ed1 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/DependencyPlugin.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/DependencyPlugin.java @@ -1,6 +1,6 @@ -package dev.hilla.parser.core.dependency; +package com.vaadin.hilla.parser.core.dependency; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.cleanup; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.cleanup; import java.util.ArrayList; import java.util.List; @@ -9,20 +9,20 @@ import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractPlugin; -import dev.hilla.parser.core.NodeDependencies; -import dev.hilla.parser.core.NodePath; -import dev.hilla.parser.core.PluginConfiguration; -import dev.hilla.parser.core.RootNode; -import dev.hilla.parser.models.ClassInfoModel; -import dev.hilla.parser.models.ClassRefSignatureModel; -import dev.hilla.parser.models.NamedModel; -import dev.hilla.parser.test.nodes.EndpointNode; -import dev.hilla.parser.test.nodes.EntityNode; -import dev.hilla.parser.test.nodes.FieldNode; -import dev.hilla.parser.test.nodes.MethodNode; -import dev.hilla.parser.test.nodes.MethodParameterNode; -import dev.hilla.parser.test.nodes.TypeSignatureNode; +import com.vaadin.hilla.parser.core.AbstractPlugin; +import com.vaadin.hilla.parser.core.NodeDependencies; +import com.vaadin.hilla.parser.core.NodePath; +import com.vaadin.hilla.parser.core.PluginConfiguration; +import com.vaadin.hilla.parser.core.RootNode; +import com.vaadin.hilla.parser.models.ClassInfoModel; +import com.vaadin.hilla.parser.models.ClassRefSignatureModel; +import com.vaadin.hilla.parser.models.NamedModel; +import com.vaadin.hilla.parser.test.nodes.EndpointNode; +import com.vaadin.hilla.parser.test.nodes.EntityNode; +import com.vaadin.hilla.parser.test.nodes.FieldNode; +import com.vaadin.hilla.parser.test.nodes.MethodNode; +import com.vaadin.hilla.parser.test.nodes.MethodParameterNode; +import com.vaadin.hilla.parser.test.nodes.TypeSignatureNode; final class DependencyPlugin extends AbstractPlugin { public static final String DEPS_MEMBERS_STORAGE_KEY = "x-dependency-entity-members"; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/DependencyTests.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/DependencyTests.java similarity index 84% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/DependencyTests.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/DependencyTests.java index ce3b979a12..39146ad837 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/DependencyTests.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/DependencyTests.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core.dependency; +package com.vaadin.hilla.parser.core.dependency; import java.net.URISyntaxException; import java.util.Collection; @@ -6,8 +6,8 @@ import java.util.List; import java.util.Set; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.testutils.ResourceLoader; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.testutils.ResourceLoader; import io.swagger.v3.oas.models.OpenAPI; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; @@ -40,9 +40,9 @@ public static void setUp() { @Test public void should_ResolveDependenciesCorrectly_When_ResolvingEntities() { var expected = List.of( - "dev.hilla.parser.core.dependency.DependencyEntityOne", - "dev.hilla.parser.core.dependency.DependencyEntityTwo", - "dev.hilla.parser.core.dependency.DependencyEntityThree"); + "com.vaadin.hilla.parser.core.dependency.DependencyEntityOne", + "com.vaadin.hilla.parser.core.dependency.DependencyEntityTwo", + "com.vaadin.hilla.parser.core.dependency.DependencyEntityThree"); var actual = openApi.getExtensions() .get(DependencyPlugin.ENTITY_DEPS_STORAGE_KEY); diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/bare/Endpoint.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/Endpoint.java similarity index 83% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/bare/Endpoint.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/Endpoint.java index 80223be8c3..9f1b69d3f2 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/bare/Endpoint.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/Endpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.bare; +package com.vaadin.hilla.parser.core.dependency; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/EndpointExposed.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/EndpointExposed.java new file mode 100644 index 0000000000..c24d5fc9e1 --- /dev/null +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/EndpointExposed.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.core.dependency; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface EndpointExposed { +} diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/PluginDependencyEntity.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/PluginDependencyEntity.java similarity index 82% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/PluginDependencyEntity.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/PluginDependencyEntity.java index 3d888e232c..a1b047d1af 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/PluginDependencyEntity.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/dependency/PluginDependencyEntity.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core.dependency; +package com.vaadin.hilla.parser.core.dependency; import javax.annotation.Nonnull; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/Endpoint.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/Endpoint.java similarity index 84% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/Endpoint.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/Endpoint.java index 086bf22bfd..aa98c9c1b9 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/dependency/Endpoint.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/Endpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core.dependency; +package com.vaadin.hilla.parser.core.security; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/EndpointExposed.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/EndpointExposed.java similarity index 84% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/EndpointExposed.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/EndpointExposed.java index df069a794c..58b2138e5d 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/basic/EndpointExposed.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/EndpointExposed.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core.basic; +package com.vaadin.hilla.parser.core.security; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/classlevel/EndpointExposedAndSecurityAnnotationTest.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/classlevel/EndpointExposedAndSecurityAnnotationTest.java similarity index 62% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/classlevel/EndpointExposedAndSecurityAnnotationTest.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/classlevel/EndpointExposedAndSecurityAnnotationTest.java index 7d5adb5bd2..8ac1e0bc11 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/classlevel/EndpointExposedAndSecurityAnnotationTest.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/classlevel/EndpointExposedAndSecurityAnnotationTest.java @@ -1,10 +1,10 @@ -package dev.hilla.parser.core.security.classlevel; +package com.vaadin.hilla.parser.core.security.classlevel; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.core.ParserException; -import dev.hilla.parser.core.basic.Endpoint; -import dev.hilla.parser.core.security.EndpointExposed; -import dev.hilla.parser.testutils.ResourceLoader; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.core.ParserException; +import com.vaadin.hilla.parser.core.basic.Endpoint; +import com.vaadin.hilla.parser.core.security.EndpointExposed; +import com.vaadin.hilla.parser.testutils.ResourceLoader; import org.junit.jupiter.api.Test; import java.net.URISyntaxException; @@ -32,14 +32,14 @@ public class EndpointExposedAndSecurityAnnotationTest { public void throws_when_parentEndpointClass_annotatedWithSecurityAnnotations() { var exception = assertThrows(ParserException.class, () -> new Parser() .classLoader(getClass().getClassLoader()).classPath(classPath) - .exposedPackages( - Set.of("dev.hilla.parser.core.security.classlevel")) + .exposedPackages(Set + .of("com.vaadin.hilla.parser.core.security.classlevel")) .endpointAnnotation(Endpoint.class.getName()) .endpointExposedAnnotation(EndpointExposed.class.getName()) .execute()); assertTrue(exception.getMessage().startsWith( - "Class `dev.hilla.parser.core.security.classlevel.ParentEndpoint` is annotated with `dev.hilla.parser.core.security.EndpointExposed` and `jakarta.annotation.security.RolesAllowed` annotation.")); + "Class `com.vaadin.hilla.parser.core.security.classlevel.ParentEndpoint` is annotated with `com.vaadin.hilla.parser.core.security.EndpointExposed` and `jakarta.annotation.security.RolesAllowed` annotation.")); } } diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/classlevel/ParentEndpoint.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/classlevel/ParentEndpoint.java similarity index 62% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/classlevel/ParentEndpoint.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/classlevel/ParentEndpoint.java index 07b4a67abf..eb4166b828 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/classlevel/ParentEndpoint.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/classlevel/ParentEndpoint.java @@ -1,6 +1,6 @@ -package dev.hilla.parser.core.security.classlevel; +package com.vaadin.hilla.parser.core.security.classlevel; -import dev.hilla.parser.core.security.EndpointExposed; +import com.vaadin.hilla.parser.core.security.EndpointExposed; import jakarta.annotation.security.RolesAllowed; @RolesAllowed("admin") diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/classlevel/SomeEndpoint.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/classlevel/SomeEndpoint.java similarity index 52% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/classlevel/SomeEndpoint.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/classlevel/SomeEndpoint.java index 2bafca4fcb..8081174657 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/classlevel/SomeEndpoint.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/classlevel/SomeEndpoint.java @@ -1,6 +1,6 @@ -package dev.hilla.parser.core.security.classlevel; +package com.vaadin.hilla.parser.core.security.classlevel; -import dev.hilla.parser.core.security.Endpoint; +import com.vaadin.hilla.parser.core.security.Endpoint; import jakarta.annotation.security.PermitAll; @PermitAll diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/methodlevel/AnotherEndpoint.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/methodlevel/AnotherEndpoint.java similarity index 52% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/methodlevel/AnotherEndpoint.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/methodlevel/AnotherEndpoint.java index e8b9a77900..293311a441 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/methodlevel/AnotherEndpoint.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/methodlevel/AnotherEndpoint.java @@ -1,6 +1,6 @@ -package dev.hilla.parser.core.security.methodlevel; +package com.vaadin.hilla.parser.core.security.methodlevel; -import dev.hilla.parser.core.security.Endpoint; +import com.vaadin.hilla.parser.core.security.Endpoint; import jakarta.annotation.security.PermitAll; @PermitAll diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/methodlevel/EndpointExposedMethodAndSecurityAnnotationTest.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/methodlevel/EndpointExposedMethodAndSecurityAnnotationTest.java similarity index 63% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/methodlevel/EndpointExposedMethodAndSecurityAnnotationTest.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/methodlevel/EndpointExposedMethodAndSecurityAnnotationTest.java index 5dd699be71..1b78ced2a9 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/methodlevel/EndpointExposedMethodAndSecurityAnnotationTest.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/methodlevel/EndpointExposedMethodAndSecurityAnnotationTest.java @@ -1,10 +1,10 @@ -package dev.hilla.parser.core.security.methodlevel; +package com.vaadin.hilla.parser.core.security.methodlevel; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.core.ParserException; -import dev.hilla.parser.core.basic.Endpoint; -import dev.hilla.parser.core.security.EndpointExposed; -import dev.hilla.parser.testutils.ResourceLoader; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.core.ParserException; +import com.vaadin.hilla.parser.core.basic.Endpoint; +import com.vaadin.hilla.parser.core.security.EndpointExposed; +import com.vaadin.hilla.parser.testutils.ResourceLoader; import org.junit.jupiter.api.Test; import java.net.URISyntaxException; @@ -32,14 +32,14 @@ public class EndpointExposedMethodAndSecurityAnnotationTest { public void throws_when_parentEndpointMethod_annotatedWithSecurityAnnotations() { var exception = assertThrows(ParserException.class, () -> new Parser() .classLoader(getClass().getClassLoader()).classPath(classPath) - .exposedPackages( - Set.of("dev.hilla.parser.core.security.methodlevel")) + .exposedPackages(Set.of( + "com.vaadin.hilla.parser.core.security.methodlevel")) .endpointAnnotation(Endpoint.class.getName()) .endpointExposedAnnotation(EndpointExposed.class.getName()) .execute()); assertTrue(exception.getMessage().startsWith( - "Class `dev.hilla.parser.core.security.methodlevel.ParentEndpoint` is annotated with `dev.hilla.parser.core.security.EndpointExposed` and `jakarta.annotation.security.RolesAllowed` annotation.")); + "Class `com.vaadin.hilla.parser.core.security.methodlevel.ParentEndpoint` is annotated with `com.vaadin.hilla.parser.core.security.EndpointExposed` and `jakarta.annotation.security.RolesAllowed` annotation.")); } } diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/methodlevel/ParentEndpoint.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/methodlevel/ParentEndpoint.java similarity index 62% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/methodlevel/ParentEndpoint.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/methodlevel/ParentEndpoint.java index 428524a24c..c2719d618f 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/methodlevel/ParentEndpoint.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/core/security/methodlevel/ParentEndpoint.java @@ -1,6 +1,6 @@ -package dev.hilla.parser.core.security.methodlevel; +package com.vaadin.hilla.parser.core.security.methodlevel; -import dev.hilla.parser.core.security.EndpointExposed; +import com.vaadin.hilla.parser.core.security.EndpointExposed; import jakarta.annotation.security.RolesAllowed; @EndpointExposed diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/AnnotationInfoModelTests.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/AnnotationInfoModelTests.java similarity index 97% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/AnnotationInfoModelTests.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/AnnotationInfoModelTests.java index acdfe7af67..81ef3902d4 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/AnnotationInfoModelTests.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/AnnotationInfoModelTests.java @@ -1,7 +1,7 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredField; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethods; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredField; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethods; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertTrue; @@ -30,10 +30,10 @@ import org.junit.jupiter.params.provider.ArgumentsProvider; import org.junit.jupiter.params.provider.ArgumentsSource; -import dev.hilla.parser.test.helpers.ModelKind; -import dev.hilla.parser.test.helpers.Source; -import dev.hilla.parser.test.helpers.SourceExtension; -import dev.hilla.parser.utils.Streams; +import com.vaadin.hilla.parser.test.helpers.ModelKind; +import com.vaadin.hilla.parser.test.helpers.Source; +import com.vaadin.hilla.parser.test.helpers.SourceExtension; +import com.vaadin.hilla.parser.utils.Streams; import io.github.classgraph.AnnotationClassRef; import io.github.classgraph.AnnotationEnumValue; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/ArraySignatureModelTests.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/ArraySignatureModelTests.java similarity index 94% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/ArraySignatureModelTests.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/ArraySignatureModelTests.java index 3fd1884598..81b18626f4 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/ArraySignatureModelTests.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/ArraySignatureModelTests.java @@ -1,7 +1,7 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredField; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethods; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredField; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethods; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertTrue; @@ -27,10 +27,10 @@ import org.junit.jupiter.params.provider.ArgumentsProvider; import org.junit.jupiter.params.provider.ArgumentsSource; -import dev.hilla.parser.test.helpers.ModelKind; -import dev.hilla.parser.test.helpers.Source; -import dev.hilla.parser.test.helpers.SourceExtension; -import dev.hilla.parser.test.helpers.SpecializationChecker; +import com.vaadin.hilla.parser.test.helpers.ModelKind; +import com.vaadin.hilla.parser.test.helpers.Source; +import com.vaadin.hilla.parser.test.helpers.SourceExtension; +import com.vaadin.hilla.parser.test.helpers.SpecializationChecker; import io.github.classgraph.ArrayTypeSignature; import io.github.classgraph.ClassRefTypeSignature; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/BaseSignatureModelTests.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/BaseSignatureModelTests.java similarity index 96% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/BaseSignatureModelTests.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/BaseSignatureModelTests.java index 73ac60efb4..42aa7ec681 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/BaseSignatureModelTests.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/BaseSignatureModelTests.java @@ -1,8 +1,8 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethod; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethods; -import static dev.hilla.parser.test.helpers.SpecializationChecker.entry; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethod; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethods; +import static com.vaadin.hilla.parser.test.helpers.SpecializationChecker.entry; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertTrue; @@ -36,10 +36,10 @@ import org.junit.jupiter.params.provider.ArgumentsProvider; import org.junit.jupiter.params.provider.ArgumentsSource; -import dev.hilla.parser.test.helpers.Source; -import dev.hilla.parser.test.helpers.SourceExtension; -import dev.hilla.parser.test.helpers.SpecializationChecker; -import dev.hilla.parser.utils.Streams; +import com.vaadin.hilla.parser.test.helpers.Source; +import com.vaadin.hilla.parser.test.helpers.SourceExtension; +import com.vaadin.hilla.parser.test.helpers.SpecializationChecker; +import com.vaadin.hilla.parser.utils.Streams; import io.github.classgraph.BaseTypeSignature; import io.github.classgraph.MethodInfo; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/ClassInfoModelTests.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/ClassInfoModelTests.java similarity index 97% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/ClassInfoModelTests.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/ClassInfoModelTests.java index 227c1a1bf0..b06263c02d 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/ClassInfoModelTests.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/ClassInfoModelTests.java @@ -1,10 +1,10 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.cleanup; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getClassInfo; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredFields; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethods; -import static dev.hilla.parser.test.helpers.SpecializationChecker.entry; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.cleanup; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getClassInfo; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredFields; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethods; +import static com.vaadin.hilla.parser.test.helpers.SpecializationChecker.entry; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotEquals; @@ -38,12 +38,12 @@ import org.junit.jupiter.params.provider.ArgumentsProvider; import org.junit.jupiter.params.provider.ArgumentsSource; -import dev.hilla.parser.test.helpers.ClassMemberUtils; -import dev.hilla.parser.test.helpers.ModelKind; -import dev.hilla.parser.test.helpers.Source; -import dev.hilla.parser.test.helpers.SourceExtension; -import dev.hilla.parser.test.helpers.SpecializationChecker; -import dev.hilla.parser.utils.Streams; +import com.vaadin.hilla.parser.test.helpers.ClassMemberUtils; +import com.vaadin.hilla.parser.test.helpers.ModelKind; +import com.vaadin.hilla.parser.test.helpers.Source; +import com.vaadin.hilla.parser.test.helpers.SourceExtension; +import com.vaadin.hilla.parser.test.helpers.SpecializationChecker; +import com.vaadin.hilla.parser.utils.Streams; import io.github.classgraph.ArrayTypeSignature; import io.github.classgraph.ClassInfo; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/ClassRefSignatureModelTests.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/ClassRefSignatureModelTests.java similarity index 97% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/ClassRefSignatureModelTests.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/ClassRefSignatureModelTests.java index 298cedb641..526e59793a 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/ClassRefSignatureModelTests.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/ClassRefSignatureModelTests.java @@ -1,10 +1,10 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getClassInfo; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredField; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredFields; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethods; -import static dev.hilla.parser.test.helpers.SpecializationChecker.entry; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getClassInfo; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredField; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredFields; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethods; +import static com.vaadin.hilla.parser.test.helpers.SpecializationChecker.entry; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertTrue; @@ -40,10 +40,10 @@ import org.junit.jupiter.params.provider.ArgumentsProvider; import org.junit.jupiter.params.provider.ArgumentsSource; -import dev.hilla.parser.test.helpers.Source; -import dev.hilla.parser.test.helpers.SourceExtension; -import dev.hilla.parser.test.helpers.SpecializationChecker; -import dev.hilla.parser.utils.Streams; +import com.vaadin.hilla.parser.test.helpers.Source; +import com.vaadin.hilla.parser.test.helpers.SourceExtension; +import com.vaadin.hilla.parser.test.helpers.SpecializationChecker; +import com.vaadin.hilla.parser.utils.Streams; import io.github.classgraph.ClassRefTypeSignature; import io.github.classgraph.FieldInfo; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/FieldInfoModelTests.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/FieldInfoModelTests.java similarity index 93% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/FieldInfoModelTests.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/FieldInfoModelTests.java index b764a8d21b..e58bbf4e53 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/FieldInfoModelTests.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/FieldInfoModelTests.java @@ -1,9 +1,9 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredField; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredFields; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethods; -import static dev.hilla.parser.test.helpers.SpecializationChecker.entry; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredField; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredFields; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethods; +import static com.vaadin.hilla.parser.test.helpers.SpecializationChecker.entry; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertTrue; @@ -31,13 +31,13 @@ import org.junit.jupiter.params.provider.ArgumentsProvider; import org.junit.jupiter.params.provider.ArgumentsSource; -import dev.hilla.parser.test.helpers.ModelKind; -import dev.hilla.parser.test.helpers.Source; -import dev.hilla.parser.test.helpers.SourceExtension; -import dev.hilla.parser.test.helpers.SpecializationChecker; -import dev.hilla.parser.test.helpers.context.AbstractCharacteristics; -import dev.hilla.parser.test.helpers.context.AbstractContext; -import dev.hilla.parser.utils.Streams; +import com.vaadin.hilla.parser.test.helpers.ModelKind; +import com.vaadin.hilla.parser.test.helpers.Source; +import com.vaadin.hilla.parser.test.helpers.SourceExtension; +import com.vaadin.hilla.parser.test.helpers.SpecializationChecker; +import com.vaadin.hilla.parser.test.helpers.context.AbstractCharacteristics; +import com.vaadin.hilla.parser.test.helpers.context.AbstractContext; +import com.vaadin.hilla.parser.utils.Streams; import io.github.classgraph.FieldInfo; import io.github.classgraph.ScanResult; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/MethodInfoModelTests.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/MethodInfoModelTests.java similarity index 94% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/MethodInfoModelTests.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/MethodInfoModelTests.java index 9fbf644b56..e71680b73f 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/MethodInfoModelTests.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/MethodInfoModelTests.java @@ -1,9 +1,9 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredConstructor; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethod; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethods; -import static dev.hilla.parser.test.helpers.SpecializationChecker.entry; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredConstructor; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethod; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethods; +import static com.vaadin.hilla.parser.test.helpers.SpecializationChecker.entry; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertTrue; @@ -28,13 +28,13 @@ import org.junit.jupiter.params.provider.ArgumentsProvider; import org.junit.jupiter.params.provider.ArgumentsSource; -import dev.hilla.parser.test.helpers.ModelKind; -import dev.hilla.parser.test.helpers.Source; -import dev.hilla.parser.test.helpers.SourceExtension; -import dev.hilla.parser.test.helpers.SpecializationChecker; -import dev.hilla.parser.test.helpers.context.AbstractCharacteristics; -import dev.hilla.parser.test.helpers.context.AbstractContext; -import dev.hilla.parser.utils.Streams; +import com.vaadin.hilla.parser.test.helpers.ModelKind; +import com.vaadin.hilla.parser.test.helpers.Source; +import com.vaadin.hilla.parser.test.helpers.SourceExtension; +import com.vaadin.hilla.parser.test.helpers.SpecializationChecker; +import com.vaadin.hilla.parser.test.helpers.context.AbstractCharacteristics; +import com.vaadin.hilla.parser.test.helpers.context.AbstractContext; +import com.vaadin.hilla.parser.utils.Streams; import io.github.classgraph.MethodInfo; import io.github.classgraph.ScanResult; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/MethodParameterInfoModelTests.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/MethodParameterInfoModelTests.java similarity index 93% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/MethodParameterInfoModelTests.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/MethodParameterInfoModelTests.java index f98fa5e7f6..7e8466e2e9 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/MethodParameterInfoModelTests.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/MethodParameterInfoModelTests.java @@ -1,9 +1,9 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredConstructor; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethods; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getParameter; -import static dev.hilla.parser.test.helpers.SpecializationChecker.entry; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredConstructor; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethods; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getParameter; +import static com.vaadin.hilla.parser.test.helpers.SpecializationChecker.entry; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertTrue; @@ -31,13 +31,13 @@ import org.junit.jupiter.params.provider.ArgumentsProvider; import org.junit.jupiter.params.provider.ArgumentsSource; -import dev.hilla.parser.test.helpers.ModelKind; -import dev.hilla.parser.test.helpers.Source; -import dev.hilla.parser.test.helpers.SourceExtension; -import dev.hilla.parser.test.helpers.SpecializationChecker; -import dev.hilla.parser.test.helpers.context.AbstractCharacteristics; -import dev.hilla.parser.test.helpers.context.AbstractContext; -import dev.hilla.parser.utils.Streams; +import com.vaadin.hilla.parser.test.helpers.ModelKind; +import com.vaadin.hilla.parser.test.helpers.Source; +import com.vaadin.hilla.parser.test.helpers.SourceExtension; +import com.vaadin.hilla.parser.test.helpers.SpecializationChecker; +import com.vaadin.hilla.parser.test.helpers.context.AbstractCharacteristics; +import com.vaadin.hilla.parser.test.helpers.context.AbstractContext; +import com.vaadin.hilla.parser.utils.Streams; import io.github.classgraph.MethodParameterInfo; import io.github.classgraph.ScanResult; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/PackageInfoModelTests.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/PackageInfoModelTests.java similarity index 93% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/PackageInfoModelTests.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/PackageInfoModelTests.java index abe40df4f6..c34ac07620 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/PackageInfoModelTests.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/PackageInfoModelTests.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; @@ -18,11 +18,11 @@ import org.junit.jupiter.params.provider.ArgumentsProvider; import org.junit.jupiter.params.provider.ArgumentsSource; -import dev.hilla.parser.models.pack.Foo; -import dev.hilla.parser.models.pack.PackageInfoModelSample; -import dev.hilla.parser.test.helpers.ModelKind; -import dev.hilla.parser.test.helpers.Source; -import dev.hilla.parser.test.helpers.SourceExtension; +import com.vaadin.hilla.parser.models.pack.Foo; +import com.vaadin.hilla.parser.models.pack.PackageInfoModelSample; +import com.vaadin.hilla.parser.test.helpers.ModelKind; +import com.vaadin.hilla.parser.test.helpers.Source; +import com.vaadin.hilla.parser.test.helpers.SourceExtension; import io.github.classgraph.PackageInfo; import io.github.classgraph.ScanResult; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/TypeArgumentModelTests.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/TypeArgumentModelTests.java similarity index 93% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/TypeArgumentModelTests.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/TypeArgumentModelTests.java index aef13d0ff7..be53904dbf 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/TypeArgumentModelTests.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/TypeArgumentModelTests.java @@ -1,7 +1,7 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredFields; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethods; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredFields; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethods; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertTrue; @@ -28,12 +28,12 @@ import org.junit.jupiter.params.provider.ArgumentsProvider; import org.junit.jupiter.params.provider.ArgumentsSource; -import dev.hilla.parser.test.helpers.ModelKind; -import dev.hilla.parser.test.helpers.Source; -import dev.hilla.parser.test.helpers.SourceExtension; -import dev.hilla.parser.test.helpers.SpecializationChecker; -import dev.hilla.parser.test.helpers.context.AbstractContext; -import dev.hilla.parser.utils.Streams; +import com.vaadin.hilla.parser.test.helpers.ModelKind; +import com.vaadin.hilla.parser.test.helpers.Source; +import com.vaadin.hilla.parser.test.helpers.SourceExtension; +import com.vaadin.hilla.parser.test.helpers.SpecializationChecker; +import com.vaadin.hilla.parser.test.helpers.context.AbstractContext; +import com.vaadin.hilla.parser.utils.Streams; import io.github.classgraph.ClassRefTypeSignature; import io.github.classgraph.FieldInfo; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/TypeParameterModelTests.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/TypeParameterModelTests.java similarity index 94% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/TypeParameterModelTests.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/TypeParameterModelTests.java index 1a50edb3ec..b9eb866c42 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/TypeParameterModelTests.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/TypeParameterModelTests.java @@ -1,6 +1,6 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethods; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethods; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertTrue; @@ -27,12 +27,12 @@ import org.junit.jupiter.params.provider.ArgumentsProvider; import org.junit.jupiter.params.provider.ArgumentsSource; -import dev.hilla.parser.test.helpers.ModelKind; -import dev.hilla.parser.test.helpers.Source; -import dev.hilla.parser.test.helpers.SourceExtension; -import dev.hilla.parser.test.helpers.SpecializationChecker; -import dev.hilla.parser.test.helpers.context.AbstractContext; -import dev.hilla.parser.utils.Streams; +import com.vaadin.hilla.parser.test.helpers.ModelKind; +import com.vaadin.hilla.parser.test.helpers.Source; +import com.vaadin.hilla.parser.test.helpers.SourceExtension; +import com.vaadin.hilla.parser.test.helpers.SpecializationChecker; +import com.vaadin.hilla.parser.test.helpers.context.AbstractContext; +import com.vaadin.hilla.parser.utils.Streams; import io.github.classgraph.ScanResult; import io.github.classgraph.TypeParameter; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/TypeVariableModelTests.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/TypeVariableModelTests.java similarity index 93% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/TypeVariableModelTests.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/TypeVariableModelTests.java index 6c3f3636fa..e2f38f393f 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/TypeVariableModelTests.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/TypeVariableModelTests.java @@ -1,7 +1,7 @@ -package dev.hilla.parser.models; +package com.vaadin.hilla.parser.models; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredFields; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethods; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredFields; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethods; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertTrue; @@ -30,12 +30,12 @@ import org.junit.jupiter.params.provider.ArgumentsProvider; import org.junit.jupiter.params.provider.ArgumentsSource; -import dev.hilla.parser.test.helpers.ModelKind; -import dev.hilla.parser.test.helpers.Source; -import dev.hilla.parser.test.helpers.SourceExtension; -import dev.hilla.parser.test.helpers.SpecializationChecker; -import dev.hilla.parser.test.helpers.context.AbstractContext; -import dev.hilla.parser.utils.Streams; +import com.vaadin.hilla.parser.test.helpers.ModelKind; +import com.vaadin.hilla.parser.test.helpers.Source; +import com.vaadin.hilla.parser.test.helpers.SourceExtension; +import com.vaadin.hilla.parser.test.helpers.SpecializationChecker; +import com.vaadin.hilla.parser.test.helpers.context.AbstractContext; +import com.vaadin.hilla.parser.utils.Streams; import io.github.classgraph.FieldInfo; import io.github.classgraph.ScanResult; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/jackson/JacksonPropertyModelTests.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/jackson/JacksonPropertyModelTests.java similarity index 90% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/jackson/JacksonPropertyModelTests.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/jackson/JacksonPropertyModelTests.java index 0049de00cd..190ea452af 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/jackson/JacksonPropertyModelTests.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/jackson/JacksonPropertyModelTests.java @@ -1,10 +1,10 @@ -package dev.hilla.parser.models.jackson; +package com.vaadin.hilla.parser.models.jackson; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getAnyDeclaredMethod; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredField; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethod; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.toGetterName; -import static dev.hilla.parser.test.helpers.ClassMemberUtils.toSetterName; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getAnyDeclaredMethod; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredField; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.getDeclaredMethod; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.toGetterName; +import static com.vaadin.hilla.parser.test.helpers.ClassMemberUtils.toSetterName; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertTrue; @@ -19,7 +19,7 @@ import java.util.stream.Collectors; import java.util.stream.Stream; -import dev.hilla.parser.models.Model; +import com.vaadin.hilla.parser.models.Model; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; @@ -31,9 +31,9 @@ import com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition; -import dev.hilla.parser.models.ClassInfoModel; -import dev.hilla.parser.models.FieldInfoModel; -import dev.hilla.parser.models.MethodInfoModel; +import com.vaadin.hilla.parser.models.ClassInfoModel; +import com.vaadin.hilla.parser.models.FieldInfoModel; +import com.vaadin.hilla.parser.models.MethodInfoModel; public class JacksonPropertyModelTests { private JacksonPropertySharedTests.Context ctx; @@ -159,9 +159,9 @@ public void should_ProvidePropertyAnnotations(JacksonPropertyModel model, String name) { var expected = switch (name) { case "privatePropertyWithAccessors" -> Set.of( - "dev.hilla.parser.models.jackson.JacksonPropertySharedTests$FieldAnnotation", - "dev.hilla.parser.models.jackson.JacksonPropertySharedTests$MethodAnnotation", - "dev.hilla.parser.models.jackson.JacksonPropertySharedTests$ParameterAnnotation"); + "com.vaadin.hilla.parser.models.jackson.JacksonPropertySharedTests$FieldAnnotation", + "com.vaadin.hilla.parser.models.jackson.JacksonPropertySharedTests$MethodAnnotation", + "com.vaadin.hilla.parser.models.jackson.JacksonPropertySharedTests$ParameterAnnotation"); case "renamedPublicProperty", "renamedPrivateProperty" -> Set.of("com.fasterxml.jackson.annotation.JsonProperty"); default -> Set.of(); diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/jackson/JacksonPropertySharedTests.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/jackson/JacksonPropertySharedTests.java similarity index 90% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/jackson/JacksonPropertySharedTests.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/jackson/JacksonPropertySharedTests.java index 64376ae996..2f5908fde8 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/jackson/JacksonPropertySharedTests.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/jackson/JacksonPropertySharedTests.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models.jackson; +package com.vaadin.hilla.parser.models.jackson; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; @@ -17,9 +17,9 @@ final class JacksonPropertySharedTests { static final Map> stringifiedTypes = Map.ofEntries( Map.entry("privatePropertyWithAccessors", List.of( - "@dev.hilla.parser.models.jackson.JacksonPropertySharedTests$MethodTypeAnnotation() java.lang.Byte", - "@dev.hilla.parser.models.jackson.JacksonPropertySharedTests$ParameterTypeAnnotation() java.lang.Byte", - "@dev.hilla.parser.models.jackson.JacksonPropertySharedTests$FieldTypeAnnotation() java.lang.Byte")), + "@com.vaadin.hilla.parser.models.jackson.JacksonPropertySharedTests$MethodTypeAnnotation() java.lang.Byte", + "@com.vaadin.hilla.parser.models.jackson.JacksonPropertySharedTests$ParameterTypeAnnotation() java.lang.Byte", + "@com.vaadin.hilla.parser.models.jackson.JacksonPropertySharedTests$FieldTypeAnnotation() java.lang.Byte")), Map.entry("privateProperty", List.of("java.util.Map", "java.util.Map")), diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/pack/Foo.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/pack/Foo.java similarity index 84% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/pack/Foo.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/pack/Foo.java index f7ee24afa8..ed2deb95cd 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/pack/Foo.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/pack/Foo.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.models.pack; +package com.vaadin.hilla.parser.models.pack; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/pack/PackageInfoModelSample.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/pack/PackageInfoModelSample.java new file mode 100644 index 0000000000..08d4a68863 --- /dev/null +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/pack/PackageInfoModelSample.java @@ -0,0 +1,4 @@ +package com.vaadin.hilla.parser.models.pack; + +public class PackageInfoModelSample { +} diff --git a/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/pack/package-info.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/pack/package-info.java new file mode 100644 index 0000000000..689cd9f95f --- /dev/null +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/models/pack/package-info.java @@ -0,0 +1,2 @@ +@Foo +package com.vaadin.hilla.parser.models.pack; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/ClassMemberUtils.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/ClassMemberUtils.java similarity index 98% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/ClassMemberUtils.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/ClassMemberUtils.java index adc3700f40..2754044156 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/ClassMemberUtils.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/ClassMemberUtils.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.test.helpers; +package com.vaadin.hilla.parser.test.helpers; import java.lang.reflect.Constructor; import java.lang.reflect.Executable; @@ -13,7 +13,7 @@ import java.util.stream.IntStream; import java.util.stream.Stream; -import dev.hilla.parser.models.MethodInfoModel; +import com.vaadin.hilla.parser.models.MethodInfoModel; import io.github.classgraph.ArrayTypeSignature; import io.github.classgraph.BaseTypeSignature; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/ModelKind.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/ModelKind.java similarity index 52% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/ModelKind.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/ModelKind.java index 39ed3c82ce..0e2a959ea7 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/ModelKind.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/ModelKind.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.test.helpers; +package com.vaadin.hilla.parser.test.helpers; public enum ModelKind { REFLECTION, SOURCE, diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/Source.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/Source.java similarity index 84% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/Source.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/Source.java index 5727ecb9f1..5ec75146a9 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/Source.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/Source.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.test.helpers; +package com.vaadin.hilla.parser.test.helpers; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/SourceExtension.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/SourceExtension.java similarity index 95% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/SourceExtension.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/SourceExtension.java index 77664db326..4030aace8c 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/SourceExtension.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/SourceExtension.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.test.helpers; +package com.vaadin.hilla.parser.test.helpers; import java.net.URISyntaxException; import java.util.Objects; @@ -10,7 +10,7 @@ import org.junit.jupiter.api.extension.ParameterResolutionException; import org.junit.jupiter.api.extension.ParameterResolver; -import dev.hilla.parser.testutils.ResourceLoader; +import com.vaadin.hilla.parser.testutils.ResourceLoader; import io.github.classgraph.ClassGraph; import io.github.classgraph.ScanResult; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/SpecializationChecker.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/SpecializationChecker.java similarity index 98% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/SpecializationChecker.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/SpecializationChecker.java index 04673c286f..f45f50d584 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/SpecializationChecker.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/SpecializationChecker.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.test.helpers; +package com.vaadin.hilla.parser.test.helpers; import static org.junit.jupiter.api.Assertions.assertAll; import static org.junit.jupiter.api.Assertions.assertFalse; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/context/AbstractCharacteristics.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/context/AbstractCharacteristics.java similarity index 95% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/context/AbstractCharacteristics.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/context/AbstractCharacteristics.java index 7956567657..ac866cab9c 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/context/AbstractCharacteristics.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/context/AbstractCharacteristics.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.test.helpers.context; +package com.vaadin.hilla.parser.test.helpers.context; import java.lang.reflect.AnnotatedElement; import java.util.Map; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/context/AbstractContext.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/context/AbstractContext.java similarity index 95% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/context/AbstractContext.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/context/AbstractContext.java index 8d1a22d030..9cf4c12d40 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/context/AbstractContext.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/context/AbstractContext.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.test.helpers.context; +package com.vaadin.hilla.parser.test.helpers.context; import java.lang.reflect.AnnotatedElement; import java.util.Map; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/context/BaseContext.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/context/BaseContext.java similarity index 82% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/context/BaseContext.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/context/BaseContext.java index df717b0c85..12850b004e 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/helpers/context/BaseContext.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/helpers/context/BaseContext.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.test.helpers.context; +package com.vaadin.hilla.parser.test.helpers.context; import io.github.classgraph.ScanResult; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/nodes/EndpointNode.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/nodes/EndpointNode.java similarity index 73% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/nodes/EndpointNode.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/nodes/EndpointNode.java index 10dbbe347d..8dc02a8524 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/nodes/EndpointNode.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/nodes/EndpointNode.java @@ -1,9 +1,9 @@ -package dev.hilla.parser.test.nodes; +package com.vaadin.hilla.parser.test.nodes; import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractNode; -import dev.hilla.parser.models.ClassInfoModel; +import com.vaadin.hilla.parser.core.AbstractNode; +import com.vaadin.hilla.parser.models.ClassInfoModel; import io.swagger.v3.oas.models.tags.Tag; public final class EndpointNode extends AbstractNode { diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/EntityNode.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/nodes/EntityNode.java similarity index 76% rename from packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/EntityNode.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/nodes/EntityNode.java index db0988f207..bfc2fd8643 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/EntityNode.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/nodes/EntityNode.java @@ -1,9 +1,9 @@ -package dev.hilla.parser.plugins.backbone.nodes; +package com.vaadin.hilla.parser.test.nodes; import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractNode; -import dev.hilla.parser.models.ClassInfoModel; +import com.vaadin.hilla.parser.core.AbstractNode; +import com.vaadin.hilla.parser.models.ClassInfoModel; import io.swagger.v3.oas.models.media.ObjectSchema; import io.swagger.v3.oas.models.media.Schema; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/nodes/FieldNode.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/nodes/FieldNode.java similarity index 70% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/nodes/FieldNode.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/nodes/FieldNode.java index 2e83fe7722..7749238439 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/nodes/FieldNode.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/nodes/FieldNode.java @@ -1,9 +1,9 @@ -package dev.hilla.parser.test.nodes; +package com.vaadin.hilla.parser.test.nodes; import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractNode; -import dev.hilla.parser.models.FieldInfoModel; +import com.vaadin.hilla.parser.core.AbstractNode; +import com.vaadin.hilla.parser.models.FieldInfoModel; public final class FieldNode extends AbstractNode { private FieldNode(@Nonnull FieldInfoModel source, @Nonnull String target) { diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/MethodNode.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/nodes/MethodNode.java similarity index 74% rename from packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/MethodNode.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/nodes/MethodNode.java index db7318a308..57b2d67785 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/MethodNode.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/nodes/MethodNode.java @@ -1,9 +1,9 @@ -package dev.hilla.parser.plugins.backbone.nodes; +package com.vaadin.hilla.parser.test.nodes; import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractNode; -import dev.hilla.parser.models.MethodInfoModel; +import com.vaadin.hilla.parser.core.AbstractNode; +import com.vaadin.hilla.parser.models.MethodInfoModel; import io.swagger.v3.oas.models.PathItem; public final class MethodNode extends AbstractNode { diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/nodes/MethodParameterNode.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/nodes/MethodParameterNode.java similarity index 75% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/nodes/MethodParameterNode.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/nodes/MethodParameterNode.java index fdabac6fd0..f38aef4203 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/nodes/MethodParameterNode.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/nodes/MethodParameterNode.java @@ -1,9 +1,9 @@ -package dev.hilla.parser.test.nodes; +package com.vaadin.hilla.parser.test.nodes; import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractNode; -import dev.hilla.parser.models.MethodParameterInfoModel; +import com.vaadin.hilla.parser.core.AbstractNode; +import com.vaadin.hilla.parser.models.MethodParameterInfoModel; public final class MethodParameterNode extends AbstractNode { diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/nodes/TypeSignatureNode.java b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/nodes/TypeSignatureNode.java similarity index 76% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/nodes/TypeSignatureNode.java rename to packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/nodes/TypeSignatureNode.java index 058ace1c87..a978428bf0 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/nodes/TypeSignatureNode.java +++ b/packages/java/parser-jvm-core/src/test/java/com/vaadin/hilla/parser/test/nodes/TypeSignatureNode.java @@ -1,9 +1,9 @@ -package dev.hilla.parser.test.nodes; +package com.vaadin.hilla.parser.test.nodes; import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractNode; -import dev.hilla.parser.models.SignatureModel; +import com.vaadin.hilla.parser.core.AbstractNode; +import com.vaadin.hilla.parser.models.SignatureModel; import io.swagger.v3.oas.models.media.Schema; public final class TypeSignatureNode diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/pack/PackageInfoModelSample.java b/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/pack/PackageInfoModelSample.java deleted file mode 100644 index 8256db827c..0000000000 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/pack/PackageInfoModelSample.java +++ /dev/null @@ -1,4 +0,0 @@ -package dev.hilla.parser.models.pack; - -public class PackageInfoModelSample { -} diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/pack/package-info.java b/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/pack/package-info.java deleted file mode 100644 index b42fe02d98..0000000000 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/models/pack/package-info.java +++ /dev/null @@ -1,2 +0,0 @@ -@Foo -package dev.hilla.parser.models.pack; diff --git a/packages/java/parser-jvm-core/src/test/resources/dev/hilla/parser/core/openapi-base.json b/packages/java/parser-jvm-core/src/test/resources/com/vaadin/hilla/parser/core/openapi-base.json similarity index 100% rename from packages/java/parser-jvm-core/src/test/resources/dev/hilla/parser/core/openapi-base.json rename to packages/java/parser-jvm-core/src/test/resources/com/vaadin/hilla/parser/core/openapi-base.json diff --git a/packages/java/parser-jvm-core/src/test/resources/dev/hilla/parser/core/openapi-base.yml b/packages/java/parser-jvm-core/src/test/resources/com/vaadin/hilla/parser/core/openapi-base.yml similarity index 100% rename from packages/java/parser-jvm-core/src/test/resources/dev/hilla/parser/core/openapi-base.yml rename to packages/java/parser-jvm-core/src/test/resources/com/vaadin/hilla/parser/core/openapi-base.yml diff --git a/packages/java/parser-jvm-plugin-backbone/pom.xml b/packages/java/parser-jvm-plugin-backbone/pom.xml index a3a4615108..0beaaa363f 100644 --- a/packages/java/parser-jvm-plugin-backbone/pom.xml +++ b/packages/java/parser-jvm-plugin-backbone/pom.xml @@ -5,7 +5,7 @@ 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml @@ -21,12 +21,12 @@ - dev.hilla + com.vaadin.hilla parser-jvm-core ${project.version} - dev.hilla + com.vaadin.hilla parser-jvm-test-utils ${project.version} test @@ -41,7 +41,7 @@ test - dev.hilla + com.vaadin.hilla parser-jvm-utils ${project.version} diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/BackbonePlugin.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/BackbonePlugin.java similarity index 77% rename from packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/BackbonePlugin.java rename to packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/BackbonePlugin.java index 4cabc7d297..7956518611 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/BackbonePlugin.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/BackbonePlugin.java @@ -1,6 +1,6 @@ -package dev.hilla.parser.plugins.backbone; +package com.vaadin.hilla.parser.plugins.backbone; -import dev.hilla.parser.core.AbstractCompositePlugin; +import com.vaadin.hilla.parser.core.AbstractCompositePlugin; public final class BackbonePlugin extends AbstractCompositePlugin { diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/BackbonePluginConfiguration.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/BackbonePluginConfiguration.java similarity index 79% rename from packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/BackbonePluginConfiguration.java rename to packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/BackbonePluginConfiguration.java index f1fc13d574..0fa8b8f581 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/BackbonePluginConfiguration.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/BackbonePluginConfiguration.java @@ -1,6 +1,6 @@ -package dev.hilla.parser.plugins.backbone; +package com.vaadin.hilla.parser.plugins.backbone; -import dev.hilla.parser.core.PluginConfiguration; +import com.vaadin.hilla.parser.core.PluginConfiguration; public class BackbonePluginConfiguration implements PluginConfiguration { private String objectMapperFactoryClassName; diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/BackbonePluginException.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/BackbonePluginException.java similarity index 86% rename from packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/BackbonePluginException.java rename to packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/BackbonePluginException.java index 0fe6fb191d..0bb3b4e143 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/BackbonePluginException.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/BackbonePluginException.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone; +package com.vaadin.hilla.parser.plugins.backbone; public class BackbonePluginException extends RuntimeException { BackbonePluginException(String message) { diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/EndpointExposedPlugin.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/EndpointExposedPlugin.java similarity index 82% rename from packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/EndpointExposedPlugin.java rename to packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/EndpointExposedPlugin.java index 2d1e5f9648..cbfdf386db 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/EndpointExposedPlugin.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/EndpointExposedPlugin.java @@ -1,27 +1,27 @@ -package dev.hilla.parser.plugins.backbone; +package com.vaadin.hilla.parser.plugins.backbone; import java.util.stream.Stream; import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractPlugin; -import dev.hilla.parser.core.Node; -import dev.hilla.parser.core.NodeDependencies; -import dev.hilla.parser.core.NodePath; -import dev.hilla.parser.models.AnnotationInfoModel; -import dev.hilla.parser.models.ClassInfoModel; -import dev.hilla.parser.models.ClassRefSignatureModel; -import dev.hilla.parser.models.MethodInfoModel; -import dev.hilla.parser.models.SignatureModel; -import dev.hilla.parser.models.TypeArgumentModel; -import dev.hilla.parser.models.TypeParameterModel; -import dev.hilla.parser.models.TypeVariableModel; -import dev.hilla.parser.plugins.backbone.nodes.EndpointExposedNode; -import dev.hilla.parser.plugins.backbone.nodes.EndpointNode; -import dev.hilla.parser.plugins.backbone.nodes.EndpointNonExposedNode; -import dev.hilla.parser.plugins.backbone.nodes.EndpointSignatureNode; -import dev.hilla.parser.plugins.backbone.nodes.MethodNode; -import dev.hilla.parser.plugins.backbone.nodes.TypeSignatureNode; +import com.vaadin.hilla.parser.core.AbstractPlugin; +import com.vaadin.hilla.parser.core.Node; +import com.vaadin.hilla.parser.core.NodeDependencies; +import com.vaadin.hilla.parser.core.NodePath; +import com.vaadin.hilla.parser.models.AnnotationInfoModel; +import com.vaadin.hilla.parser.models.ClassInfoModel; +import com.vaadin.hilla.parser.models.ClassRefSignatureModel; +import com.vaadin.hilla.parser.models.MethodInfoModel; +import com.vaadin.hilla.parser.models.SignatureModel; +import com.vaadin.hilla.parser.models.TypeArgumentModel; +import com.vaadin.hilla.parser.models.TypeParameterModel; +import com.vaadin.hilla.parser.models.TypeVariableModel; +import com.vaadin.hilla.parser.plugins.backbone.nodes.EndpointExposedNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.EndpointNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.EndpointNonExposedNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.EndpointSignatureNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.MethodNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.TypeSignatureNode; public final class EndpointExposedPlugin extends AbstractPlugin { diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/EndpointPlugin.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/EndpointPlugin.java similarity index 86% rename from packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/EndpointPlugin.java rename to packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/EndpointPlugin.java index cb824c93d8..f0c86d529c 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/EndpointPlugin.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/EndpointPlugin.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone; +package com.vaadin.hilla.parser.plugins.backbone; import java.util.Collection; import java.util.Optional; @@ -7,18 +7,18 @@ import javax.annotation.Nonnull; -import dev.hilla.parser.models.AnnotationInfoModel; +import com.vaadin.hilla.parser.models.AnnotationInfoModel; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import dev.hilla.parser.core.AbstractPlugin; -import dev.hilla.parser.core.NodeDependencies; -import dev.hilla.parser.core.NodePath; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.core.RootNode; -import dev.hilla.parser.models.ClassInfoModel; -import dev.hilla.parser.models.MethodInfoModel; -import dev.hilla.parser.plugins.backbone.nodes.EndpointNode; +import com.vaadin.hilla.parser.core.AbstractPlugin; +import com.vaadin.hilla.parser.core.NodeDependencies; +import com.vaadin.hilla.parser.core.NodePath; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.core.RootNode; +import com.vaadin.hilla.parser.models.ClassInfoModel; +import com.vaadin.hilla.parser.models.MethodInfoModel; +import com.vaadin.hilla.parser.plugins.backbone.nodes.EndpointNode; import io.swagger.v3.oas.models.tags.Tag; @@ -69,7 +69,7 @@ public NodeDependencies scan(@Nonnull NodeDependencies nodeDependencies) { .getEndpointAnnotationName(); var endpoints = rootNode.getSource() .getClassesWithAnnotation(endpointAnnotationName, - "dev.hilla.BrowserCallable") + "com.vaadin.hilla.BrowserCallable") .stream().map(ClassInfoModel::of).toList(); checkIfJavaCompilerParametersFlagIsEnabled(endpoints); return nodeDependencies.appendChildNodes( diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/EntityPlugin.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/EntityPlugin.java similarity index 82% rename from packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/EntityPlugin.java rename to packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/EntityPlugin.java index ebe5ea4855..9283f55394 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/EntityPlugin.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/EntityPlugin.java @@ -1,20 +1,20 @@ -package dev.hilla.parser.plugins.backbone; +package com.vaadin.hilla.parser.plugins.backbone; import java.util.stream.Collectors; import java.util.stream.Stream; import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractPlugin; -import dev.hilla.parser.core.NodeDependencies; -import dev.hilla.parser.core.NodePath; -import dev.hilla.parser.core.RootNode; -import dev.hilla.parser.models.ClassInfoModel; -import dev.hilla.parser.models.ClassRefSignatureModel; -import dev.hilla.parser.models.FieldInfoModel; -import dev.hilla.parser.plugins.backbone.nodes.EntityNode; +import com.vaadin.hilla.parser.core.AbstractPlugin; +import com.vaadin.hilla.parser.core.NodeDependencies; +import com.vaadin.hilla.parser.core.NodePath; +import com.vaadin.hilla.parser.core.RootNode; +import com.vaadin.hilla.parser.models.ClassInfoModel; +import com.vaadin.hilla.parser.models.ClassRefSignatureModel; +import com.vaadin.hilla.parser.models.FieldInfoModel; +import com.vaadin.hilla.parser.plugins.backbone.nodes.EntityNode; -import dev.hilla.parser.plugins.backbone.nodes.TypedNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.TypedNode; import io.swagger.v3.oas.models.Components; import io.swagger.v3.oas.models.OpenAPI; import io.swagger.v3.oas.models.media.ObjectSchema; diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/MethodParameterPlugin.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/MethodParameterPlugin.java similarity index 85% rename from packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/MethodParameterPlugin.java rename to packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/MethodParameterPlugin.java index b104165f1b..ef9dbd9bf9 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/MethodParameterPlugin.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/MethodParameterPlugin.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone; +package com.vaadin.hilla.parser.plugins.backbone; import java.util.ArrayList; import java.util.Optional; @@ -6,12 +6,12 @@ import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractPlugin; -import dev.hilla.parser.core.Node; -import dev.hilla.parser.core.NodeDependencies; -import dev.hilla.parser.core.NodePath; -import dev.hilla.parser.plugins.backbone.nodes.MethodNode; -import dev.hilla.parser.plugins.backbone.nodes.MethodParameterNode; +import com.vaadin.hilla.parser.core.AbstractPlugin; +import com.vaadin.hilla.parser.core.Node; +import com.vaadin.hilla.parser.core.NodeDependencies; +import com.vaadin.hilla.parser.core.NodePath; +import com.vaadin.hilla.parser.plugins.backbone.nodes.MethodNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.MethodParameterNode; import io.swagger.v3.oas.models.PathItem; import io.swagger.v3.oas.models.media.Content; diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/MethodPlugin.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/MethodPlugin.java similarity index 85% rename from packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/MethodPlugin.java rename to packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/MethodPlugin.java index a1bbcbd015..727f96f348 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/MethodPlugin.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/MethodPlugin.java @@ -1,19 +1,19 @@ -package dev.hilla.parser.plugins.backbone; +package com.vaadin.hilla.parser.plugins.backbone; import java.util.Optional; import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractPlugin; -import dev.hilla.parser.core.Node; -import dev.hilla.parser.core.NodeDependencies; -import dev.hilla.parser.core.NodePath; -import dev.hilla.parser.core.RootNode; -import dev.hilla.parser.models.ClassInfoModel; -import dev.hilla.parser.models.MethodInfoModel; -import dev.hilla.parser.plugins.backbone.nodes.EndpointExposedNode; -import dev.hilla.parser.plugins.backbone.nodes.EndpointNode; -import dev.hilla.parser.plugins.backbone.nodes.MethodNode; +import com.vaadin.hilla.parser.core.AbstractPlugin; +import com.vaadin.hilla.parser.core.Node; +import com.vaadin.hilla.parser.core.NodeDependencies; +import com.vaadin.hilla.parser.core.NodePath; +import com.vaadin.hilla.parser.core.RootNode; +import com.vaadin.hilla.parser.models.ClassInfoModel; +import com.vaadin.hilla.parser.models.MethodInfoModel; +import com.vaadin.hilla.parser.plugins.backbone.nodes.EndpointExposedNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.EndpointNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.MethodNode; import io.swagger.v3.oas.models.Operation; import io.swagger.v3.oas.models.responses.ApiResponse; diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/PropertyPlugin.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/PropertyPlugin.java similarity index 93% rename from packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/PropertyPlugin.java rename to packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/PropertyPlugin.java index 1770ff8bf3..fa4eced256 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/PropertyPlugin.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/PropertyPlugin.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone; +package com.vaadin.hilla.parser.plugins.backbone; import java.lang.reflect.InvocationTargetException; import java.util.Comparator; @@ -12,16 +12,16 @@ import com.fasterxml.jackson.databind.SerializationConfig; import com.fasterxml.jackson.databind.util.IgnorePropertiesUtil; -import dev.hilla.parser.core.AbstractPlugin; -import dev.hilla.parser.core.Node; -import dev.hilla.parser.core.NodeDependencies; -import dev.hilla.parser.core.NodePath; -import dev.hilla.parser.core.PluginConfiguration; -import dev.hilla.parser.jackson.JacksonObjectMapperFactory; -import dev.hilla.parser.models.ClassInfoModel; -import dev.hilla.parser.models.jackson.JacksonPropertyModel; -import dev.hilla.parser.plugins.backbone.nodes.EntityNode; -import dev.hilla.parser.plugins.backbone.nodes.PropertyNode; +import com.vaadin.hilla.parser.core.AbstractPlugin; +import com.vaadin.hilla.parser.core.Node; +import com.vaadin.hilla.parser.core.NodeDependencies; +import com.vaadin.hilla.parser.core.NodePath; +import com.vaadin.hilla.parser.core.PluginConfiguration; +import com.vaadin.hilla.parser.jackson.JacksonObjectMapperFactory; +import com.vaadin.hilla.parser.models.ClassInfoModel; +import com.vaadin.hilla.parser.models.jackson.JacksonPropertyModel; +import com.vaadin.hilla.parser.plugins.backbone.nodes.EntityNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.PropertyNode; import jakarta.annotation.Nonnull; diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/SchemaProcessor.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/SchemaProcessor.java similarity index 96% rename from packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/SchemaProcessor.java rename to packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/SchemaProcessor.java index 2cef3b27b7..73cb8139e9 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/SchemaProcessor.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/SchemaProcessor.java @@ -1,12 +1,12 @@ -package dev.hilla.parser.plugins.backbone; +package com.vaadin.hilla.parser.plugins.backbone; import static io.swagger.v3.oas.models.Components.COMPONENTS_SCHEMAS_REF; import java.util.ArrayList; import java.util.List; -import dev.hilla.parser.models.ClassRefSignatureModel; -import dev.hilla.parser.models.SignatureModel; +import com.vaadin.hilla.parser.models.ClassRefSignatureModel; +import com.vaadin.hilla.parser.models.SignatureModel; import io.swagger.v3.oas.models.media.ArraySchema; import io.swagger.v3.oas.models.media.BooleanSchema; diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/TypeSignaturePlugin.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/TypeSignaturePlugin.java similarity index 90% rename from packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/TypeSignaturePlugin.java rename to packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/TypeSignaturePlugin.java index 6a858d6882..ac29d505ae 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/TypeSignaturePlugin.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/TypeSignaturePlugin.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone; +package com.vaadin.hilla.parser.plugins.backbone; import java.lang.reflect.AnnotatedType; import java.lang.reflect.Type; @@ -10,25 +10,25 @@ import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractPlugin; -import dev.hilla.parser.core.NodeDependencies; -import dev.hilla.parser.core.NodePath; -import dev.hilla.parser.models.ArraySignatureModel; -import dev.hilla.parser.models.ClassRefSignatureModel; -import dev.hilla.parser.models.ReflectionSignatureModel; -import dev.hilla.parser.models.SignatureModel; -import dev.hilla.parser.models.SpecializedModel; -import dev.hilla.parser.models.TypeArgumentModel; -import dev.hilla.parser.models.TypeParameterModel; -import dev.hilla.parser.models.TypeVariableModel; -import dev.hilla.parser.plugins.backbone.nodes.CompositeTypeSignatureNode; -import dev.hilla.parser.plugins.backbone.nodes.EntityNode; -import dev.hilla.parser.plugins.backbone.nodes.MethodNode; -import dev.hilla.parser.plugins.backbone.nodes.MethodParameterNode; -import dev.hilla.parser.plugins.backbone.nodes.PropertyNode; -import dev.hilla.parser.plugins.backbone.nodes.TypeSignatureNode; - -import dev.hilla.parser.plugins.backbone.nodes.TypedNode; +import com.vaadin.hilla.parser.core.AbstractPlugin; +import com.vaadin.hilla.parser.core.NodeDependencies; +import com.vaadin.hilla.parser.core.NodePath; +import com.vaadin.hilla.parser.models.ArraySignatureModel; +import com.vaadin.hilla.parser.models.ClassRefSignatureModel; +import com.vaadin.hilla.parser.models.ReflectionSignatureModel; +import com.vaadin.hilla.parser.models.SignatureModel; +import com.vaadin.hilla.parser.models.SpecializedModel; +import com.vaadin.hilla.parser.models.TypeArgumentModel; +import com.vaadin.hilla.parser.models.TypeParameterModel; +import com.vaadin.hilla.parser.models.TypeVariableModel; +import com.vaadin.hilla.parser.plugins.backbone.nodes.CompositeTypeSignatureNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.EntityNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.MethodNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.MethodParameterNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.PropertyNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.TypeSignatureNode; + +import com.vaadin.hilla.parser.plugins.backbone.nodes.TypedNode; import io.swagger.v3.oas.models.media.ArraySchema; import io.swagger.v3.oas.models.media.ComposedSchema; import io.swagger.v3.oas.models.media.Content; diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/AnnotatedNode.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/AnnotatedNode.java new file mode 100644 index 0000000000..635f21a1ba --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/AnnotatedNode.java @@ -0,0 +1,9 @@ +package com.vaadin.hilla.parser.plugins.backbone.nodes; + +import java.util.List; + +import com.vaadin.hilla.parser.models.AnnotationInfoModel; + +public interface AnnotatedNode { + List getAnnotations(); +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/CompositeTypeSignatureNode.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/CompositeTypeSignatureNode.java similarity index 87% rename from packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/CompositeTypeSignatureNode.java rename to packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/CompositeTypeSignatureNode.java index e214481591..9e9b151ae6 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/CompositeTypeSignatureNode.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/CompositeTypeSignatureNode.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.nodes; +package com.vaadin.hilla.parser.plugins.backbone.nodes; import javax.annotation.Nonnull; @@ -7,10 +7,10 @@ import java.util.function.UnaryOperator; import java.util.stream.Collectors; -import dev.hilla.parser.core.AbstractNode; -import dev.hilla.parser.models.AnnotatedModel; -import dev.hilla.parser.models.AnnotationInfoModel; -import dev.hilla.parser.models.SignatureModel; +import com.vaadin.hilla.parser.core.AbstractNode; +import com.vaadin.hilla.parser.models.AnnotatedModel; +import com.vaadin.hilla.parser.models.AnnotationInfoModel; +import com.vaadin.hilla.parser.models.SignatureModel; import io.swagger.v3.oas.models.media.Schema; public final class CompositeTypeSignatureNode extends diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/EndpointExposedNode.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/EndpointExposedNode.java similarity index 70% rename from packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/EndpointExposedNode.java rename to packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/EndpointExposedNode.java index cf0a8ff83e..720168f291 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/EndpointExposedNode.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/EndpointExposedNode.java @@ -1,9 +1,9 @@ -package dev.hilla.parser.plugins.backbone.nodes; +package com.vaadin.hilla.parser.plugins.backbone.nodes; import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractNode; -import dev.hilla.parser.models.ClassInfoModel; +import com.vaadin.hilla.parser.core.AbstractNode; +import com.vaadin.hilla.parser.models.ClassInfoModel; public final class EndpointExposedNode extends AbstractNode { diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/EndpointNode.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/EndpointNode.java similarity index 71% rename from packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/EndpointNode.java rename to packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/EndpointNode.java index 57820a25b6..b1e6c7b790 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/EndpointNode.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/EndpointNode.java @@ -1,9 +1,9 @@ -package dev.hilla.parser.plugins.backbone.nodes; +package com.vaadin.hilla.parser.plugins.backbone.nodes; import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractNode; -import dev.hilla.parser.models.ClassInfoModel; +import com.vaadin.hilla.parser.core.AbstractNode; +import com.vaadin.hilla.parser.models.ClassInfoModel; import io.swagger.v3.oas.models.tags.Tag; public final class EndpointNode extends AbstractNode { diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/EndpointNonExposedNode.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/EndpointNonExposedNode.java similarity index 71% rename from packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/EndpointNonExposedNode.java rename to packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/EndpointNonExposedNode.java index 44af3c5a4c..573bf1cc54 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/EndpointNonExposedNode.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/EndpointNonExposedNode.java @@ -1,9 +1,9 @@ -package dev.hilla.parser.plugins.backbone.nodes; +package com.vaadin.hilla.parser.plugins.backbone.nodes; import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractNode; -import dev.hilla.parser.models.ClassInfoModel; +import com.vaadin.hilla.parser.core.AbstractNode; +import com.vaadin.hilla.parser.models.ClassInfoModel; public final class EndpointNonExposedNode extends AbstractNode { diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/EndpointSignatureNode.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/EndpointSignatureNode.java similarity index 70% rename from packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/EndpointSignatureNode.java rename to packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/EndpointSignatureNode.java index d434ba21d5..0dee8be2f3 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/EndpointSignatureNode.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/EndpointSignatureNode.java @@ -1,9 +1,9 @@ -package dev.hilla.parser.plugins.backbone.nodes; +package com.vaadin.hilla.parser.plugins.backbone.nodes; import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractNode; -import dev.hilla.parser.models.SignatureModel; +import com.vaadin.hilla.parser.core.AbstractNode; +import com.vaadin.hilla.parser.models.SignatureModel; public final class EndpointSignatureNode extends AbstractNode { diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/nodes/EntityNode.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/EntityNode.java similarity index 75% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/nodes/EntityNode.java rename to packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/EntityNode.java index e2d25c6120..893ef4467e 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/nodes/EntityNode.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/EntityNode.java @@ -1,9 +1,9 @@ -package dev.hilla.parser.test.nodes; +package com.vaadin.hilla.parser.plugins.backbone.nodes; import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractNode; -import dev.hilla.parser.models.ClassInfoModel; +import com.vaadin.hilla.parser.core.AbstractNode; +import com.vaadin.hilla.parser.models.ClassInfoModel; import io.swagger.v3.oas.models.media.ObjectSchema; import io.swagger.v3.oas.models.media.Schema; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/nodes/MethodNode.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/MethodNode.java similarity index 72% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/nodes/MethodNode.java rename to packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/MethodNode.java index 2c04020b70..44ac2dc348 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/test/nodes/MethodNode.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/MethodNode.java @@ -1,9 +1,9 @@ -package dev.hilla.parser.test.nodes; +package com.vaadin.hilla.parser.plugins.backbone.nodes; import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractNode; -import dev.hilla.parser.models.MethodInfoModel; +import com.vaadin.hilla.parser.core.AbstractNode; +import com.vaadin.hilla.parser.models.MethodInfoModel; import io.swagger.v3.oas.models.PathItem; public final class MethodNode extends AbstractNode { diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/MethodParameterNode.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/MethodParameterNode.java similarity index 73% rename from packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/MethodParameterNode.java rename to packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/MethodParameterNode.java index 08fe85ee4d..fee5262856 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/MethodParameterNode.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/MethodParameterNode.java @@ -1,9 +1,9 @@ -package dev.hilla.parser.plugins.backbone.nodes; +package com.vaadin.hilla.parser.plugins.backbone.nodes; import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractNode; -import dev.hilla.parser.models.MethodParameterInfoModel; +import com.vaadin.hilla.parser.core.AbstractNode; +import com.vaadin.hilla.parser.models.MethodParameterInfoModel; public final class MethodParameterNode extends AbstractNode { diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/PropertyNode.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/PropertyNode.java similarity index 70% rename from packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/PropertyNode.java rename to packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/PropertyNode.java index 949d6af189..fa6b0a40b1 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/PropertyNode.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/PropertyNode.java @@ -1,9 +1,9 @@ -package dev.hilla.parser.plugins.backbone.nodes; +package com.vaadin.hilla.parser.plugins.backbone.nodes; import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractNode; -import dev.hilla.parser.models.jackson.JacksonPropertyModel; +import com.vaadin.hilla.parser.core.AbstractNode; +import com.vaadin.hilla.parser.models.jackson.JacksonPropertyModel; public final class PropertyNode extends AbstractNode { diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/TypeSignatureNode.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/TypeSignatureNode.java similarity index 85% rename from packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/TypeSignatureNode.java rename to packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/TypeSignatureNode.java index ce47bc7168..cad666acab 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/TypeSignatureNode.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/TypeSignatureNode.java @@ -1,11 +1,11 @@ -package dev.hilla.parser.plugins.backbone.nodes; +package com.vaadin.hilla.parser.plugins.backbone.nodes; import java.util.List; import java.util.function.UnaryOperator; -import dev.hilla.parser.core.AbstractNode; -import dev.hilla.parser.models.AnnotationInfoModel; -import dev.hilla.parser.models.SignatureModel; +import com.vaadin.hilla.parser.core.AbstractNode; +import com.vaadin.hilla.parser.models.AnnotationInfoModel; +import com.vaadin.hilla.parser.models.SignatureModel; import io.swagger.v3.oas.models.media.Schema; import jakarta.annotation.Nonnull; diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/TypedNode.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/TypedNode.java similarity index 78% rename from packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/TypedNode.java rename to packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/TypedNode.java index 3438a84d1b..5d9080c3c2 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/TypedNode.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/com/vaadin/hilla/parser/plugins/backbone/nodes/TypedNode.java @@ -1,9 +1,9 @@ -package dev.hilla.parser.plugins.backbone.nodes; +package com.vaadin.hilla.parser.plugins.backbone.nodes; import java.util.List; import java.util.function.UnaryOperator; -import dev.hilla.parser.models.SignatureModel; +import com.vaadin.hilla.parser.models.SignatureModel; import io.swagger.v3.oas.models.media.Schema; import jakarta.annotation.Nonnull; diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/AnnotatedNode.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/AnnotatedNode.java deleted file mode 100644 index 2c03ae1e59..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/dev/hilla/parser/plugins/backbone/nodes/AnnotatedNode.java +++ /dev/null @@ -1,9 +0,0 @@ -package dev.hilla.parser.plugins.backbone.nodes; - -import java.util.List; - -import dev.hilla.parser.models.AnnotationInfoModel; - -public interface AnnotatedNode { - List getAnnotations(); -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/main/java/module-info.java b/packages/java/parser-jvm-plugin-backbone/src/main/java/module-info.java index 82d3853f0c..1b08aff1c1 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/main/java/module-info.java +++ b/packages/java/parser-jvm-plugin-backbone/src/main/java/module-info.java @@ -1,19 +1,19 @@ -module dev.hilla.parser.plugins.backbone { +module com.vaadin.hilla.parser.plugins.backbone { requires io.swagger.v3.core; requires io.swagger.v3.oas.models; requires io.github.classgraph; requires jsr305; requires com.fasterxml.jackson.databind; - requires dev.hilla.parser.utils; - requires transitive dev.hilla.parser.core; + requires com.vaadin.hilla.parser.utils; + requires transitive com.vaadin.hilla.parser.core; requires jakarta.annotation; requires org.slf4j; requires com.fasterxml.jackson.datatype.jsr310; requires com.fasterxml.jackson.datatype.jdk8; requires com.fasterxml.jackson.module.paramnames; - exports dev.hilla.parser.plugins.backbone; - exports dev.hilla.parser.plugins.backbone.nodes; - opens dev.hilla.parser.plugins.backbone to dev.hilla.parser.core; - opens dev.hilla.parser.plugins.backbone.nodes to com.fasterxml.jackson.databind; + exports com.vaadin.hilla.parser.plugins.backbone; + exports com.vaadin.hilla.parser.plugins.backbone.nodes; + opens com.vaadin.hilla.parser.plugins.backbone to com.vaadin.hilla.parser.core; + opens com.vaadin.hilla.parser.plugins.backbone.nodes to com.fasterxml.jackson.databind; } diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/bare/BareTypeEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/bare/BareTypeEndpoint.java similarity index 85% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/bare/BareTypeEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/bare/BareTypeEndpoint.java index 9a845ad9ac..91d2b70dc3 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/bare/BareTypeEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/bare/BareTypeEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.bare; +package com.vaadin.hilla.parser.plugins.backbone.bare; import java.util.List; import java.util.Map; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/bare/BareTypeTest.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/bare/BareTypeTest.java similarity index 73% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/bare/BareTypeTest.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/bare/BareTypeTest.java index 8e50c68647..47640d98ae 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/bare/BareTypeTest.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/bare/BareTypeTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.bare; +package com.vaadin.hilla.parser.plugins.backbone.bare; import java.io.IOException; import java.net.URISyntaxException; @@ -6,9 +6,9 @@ import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.backbone.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.backbone.test.helpers.TestHelper; public class BareTypeTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/bare/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/bare/Endpoint.java new file mode 100644 index 0000000000..7e5ddf2da0 --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/bare/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.backbone.bare; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/ComplexHierarchyEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/ComplexHierarchyEndpoint.java similarity index 79% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/ComplexHierarchyEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/ComplexHierarchyEndpoint.java index 2891a791d7..0899945b26 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/ComplexHierarchyEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/ComplexHierarchyEndpoint.java @@ -13,10 +13,10 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.parser.plugins.backbone.complexhierarchy; +package com.vaadin.hilla.parser.plugins.backbone.complexhierarchy; -import dev.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyModel; -import dev.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyParentEndpoint; +import com.vaadin.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyModel; +import com.vaadin.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyParentEndpoint; @Endpoint public class ComplexHierarchyEndpoint extends ComplexHierarchyParentEndpoint { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/ComplexHierarchyTest.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/ComplexHierarchyTest.java similarity index 75% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/ComplexHierarchyTest.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/ComplexHierarchyTest.java index 60876e82c4..e8d40ff661 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/ComplexHierarchyTest.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/ComplexHierarchyTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.complexhierarchy; +package com.vaadin.hilla.parser.plugins.backbone.complexhierarchy; import java.io.IOException; import java.net.URISyntaxException; @@ -6,9 +6,9 @@ import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.backbone.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.backbone.test.helpers.TestHelper; public class ComplexHierarchyTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/Endpoint.java new file mode 100644 index 0000000000..c6b38d7d5c --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.backbone.complexhierarchy; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/EndpointExposed.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/EndpointExposed.java new file mode 100644 index 0000000000..9c7db1790a --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/EndpointExposed.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.backbone.complexhierarchy; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface EndpointExposed { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyGrandParentEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyGrandParentEndpoint.java new file mode 100644 index 0000000000..10d2067ee7 --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyGrandParentEndpoint.java @@ -0,0 +1,10 @@ +package com.vaadin.hilla.parser.plugins.backbone.complexhierarchy.models; + +import com.vaadin.hilla.parser.plugins.backbone.complexhierarchy.Endpoint; + +@Endpoint +public class ComplexHierarchyGrandParentEndpoint { + public String executeGrandParentEndpointMethod() { + return null; + } +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyGrandParentModel.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyGrandParentModel.java similarity index 90% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyGrandParentModel.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyGrandParentModel.java index d53fb08971..743abdf8c0 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyGrandParentModel.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyGrandParentModel.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.parser.plugins.backbone.complexhierarchy.models; +package com.vaadin.hilla.parser.plugins.backbone.complexhierarchy.models; public class ComplexHierarchyGrandParentModel { private int build; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyModel.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyModel.java similarity index 92% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyModel.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyModel.java index 41fee3e546..bff69ce452 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyModel.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyModel.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.parser.plugins.backbone.complexhierarchy.models; +package com.vaadin.hilla.parser.plugins.backbone.complexhierarchy.models; public class ComplexHierarchyModel extends ComplexHierarchyParentModel { private String name; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyParentEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyParentEndpoint.java similarity index 69% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyParentEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyParentEndpoint.java index 41e9e581b9..291cd9ceea 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyParentEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyParentEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.complexhierarchy.models; +package com.vaadin.hilla.parser.plugins.backbone.complexhierarchy.models; public class ComplexHierarchyParentEndpoint extends ComplexHierarchyGrandParentEndpoint { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyParentModel.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyParentModel.java similarity index 91% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyParentModel.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyParentModel.java index 313bc98dd1..d3128d2697 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyParentModel.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyParentModel.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.parser.plugins.backbone.complexhierarchy.models; +package com.vaadin.hilla.parser.plugins.backbone.complexhierarchy.models; public class ComplexHierarchyParentModel extends ComplexHierarchyGrandParentModel { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complextype/ComplexTypeEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complextype/ComplexTypeEndpoint.java similarity index 92% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complextype/ComplexTypeEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complextype/ComplexTypeEndpoint.java index bae079643e..7eb6afc61d 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complextype/ComplexTypeEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complextype/ComplexTypeEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.complextype; +package com.vaadin.hilla.parser.plugins.backbone.complextype; import java.util.List; import java.util.Map; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complextype/ComplexTypeTest.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complextype/ComplexTypeTest.java similarity index 73% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complextype/ComplexTypeTest.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complextype/ComplexTypeTest.java index 5388b5332f..cdf9b16fa7 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complextype/ComplexTypeTest.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complextype/ComplexTypeTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.complextype; +package com.vaadin.hilla.parser.plugins.backbone.complextype; import java.io.IOException; import java.net.URISyntaxException; @@ -6,9 +6,9 @@ import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.backbone.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.backbone.test.helpers.TestHelper; public class ComplexTypeTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complextype/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complextype/Endpoint.java new file mode 100644 index 0000000000..5045ed05c7 --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/complextype/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.backbone.complextype; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/config/CustomConfigEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/config/CustomConfigEndpoint.java similarity index 80% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/config/CustomConfigEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/config/CustomConfigEndpoint.java index ced57c4979..40f2080c7a 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/config/CustomConfigEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/config/CustomConfigEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.config; +package com.vaadin.hilla.parser.plugins.backbone.config; @Endpoint public class CustomConfigEndpoint { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/config/CustomConfigTest.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/config/CustomConfigTest.java similarity index 74% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/config/CustomConfigTest.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/config/CustomConfigTest.java index e21257144e..4c456d5b71 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/config/CustomConfigTest.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/config/CustomConfigTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.config; +package com.vaadin.hilla.parser.plugins.backbone.config; import java.io.IOException; import java.net.URISyntaxException; @@ -6,10 +6,10 @@ import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.backbone.BackbonePluginConfiguration; -import dev.hilla.parser.plugins.backbone.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePluginConfiguration; +import com.vaadin.hilla.parser.plugins.backbone.test.helpers.TestHelper; public class CustomConfigTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/config/CustomFactory.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/config/CustomFactory.java similarity index 76% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/config/CustomFactory.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/config/CustomFactory.java index 49e215b7e7..6a943e0675 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/config/CustomFactory.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/config/CustomFactory.java @@ -1,10 +1,10 @@ -package dev.hilla.parser.plugins.backbone.config; +package com.vaadin.hilla.parser.plugins.backbone.config; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.PropertyAccessor; import com.fasterxml.jackson.databind.ObjectMapper; -import dev.hilla.parser.jackson.JacksonObjectMapperFactory; +import com.vaadin.hilla.parser.jackson.JacksonObjectMapperFactory; public class CustomFactory extends JacksonObjectMapperFactory.Json { @Override diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/config/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/config/Endpoint.java new file mode 100644 index 0000000000..db0076a668 --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/config/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.backbone.config; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/customname/CustomExplicitValueEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/customname/CustomExplicitValueEndpoint.java similarity index 72% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/customname/CustomExplicitValueEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/customname/CustomExplicitValueEndpoint.java index 87c9333a03..036783896d 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/customname/CustomExplicitValueEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/customname/CustomExplicitValueEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.customname; +package com.vaadin.hilla.parser.plugins.backbone.customname; @Endpoint(value = "NameFromAnnotationExplicitValueEndpoint") public class CustomExplicitValueEndpoint { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/customname/CustomNameEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/customname/CustomNameEndpoint.java similarity index 68% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/customname/CustomNameEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/customname/CustomNameEndpoint.java index 037f0fff11..7f630aab59 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/customname/CustomNameEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/customname/CustomNameEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.customname; +package com.vaadin.hilla.parser.plugins.backbone.customname; @Endpoint("NameFromAnnotationEndpoint") public class CustomNameEndpoint { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/customname/CustomNameTest.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/customname/CustomNameTest.java similarity index 73% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/customname/CustomNameTest.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/customname/CustomNameTest.java index 1168c90a2f..57b04308a8 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/customname/CustomNameTest.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/customname/CustomNameTest.java @@ -1,12 +1,12 @@ -package dev.hilla.parser.plugins.backbone.customname; +package com.vaadin.hilla.parser.plugins.backbone.customname; import java.io.IOException; import java.net.URISyntaxException; import java.util.Set; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.backbone.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.backbone.test.helpers.TestHelper; import org.junit.jupiter.api.Test; public class CustomNameTest { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/customname/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/customname/Endpoint.java similarity index 82% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/customname/Endpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/customname/Endpoint.java index 2acabb18f8..911daa17b9 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/customname/Endpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/customname/Endpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.customname; +package com.vaadin.hilla.parser.plugins.backbone.customname; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/datetime/DateTimeEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/datetime/DateTimeEndpoint.java similarity index 94% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/datetime/DateTimeEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/datetime/DateTimeEndpoint.java index e2a1b81073..4a949b9b25 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/datetime/DateTimeEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/datetime/DateTimeEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.datetime; +package com.vaadin.hilla.parser.plugins.backbone.datetime; import java.time.Instant; import java.time.LocalDate; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/datetime/DateTimeTest.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/datetime/DateTimeTest.java similarity index 73% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/datetime/DateTimeTest.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/datetime/DateTimeTest.java index 6e91d2f615..af9edf8528 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/datetime/DateTimeTest.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/datetime/DateTimeTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.datetime; +package com.vaadin.hilla.parser.plugins.backbone.datetime; import java.io.IOException; import java.net.URISyntaxException; @@ -6,9 +6,9 @@ import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.backbone.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.backbone.test.helpers.TestHelper; public class DateTimeTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/datetime/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/datetime/Endpoint.java new file mode 100644 index 0000000000..32b46c5473 --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/datetime/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.backbone.datetime; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/enumtype/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/enumtype/Endpoint.java new file mode 100644 index 0000000000..4f59e24b5b --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/enumtype/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.backbone.enumtype; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/enumtype/EnumTypeEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/enumtype/EnumTypeEndpoint.java similarity index 95% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/enumtype/EnumTypeEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/enumtype/EnumTypeEndpoint.java index c4ceda83d1..8520c47d6e 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/enumtype/EnumTypeEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/enumtype/EnumTypeEndpoint.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.parser.plugins.backbone.enumtype; +package com.vaadin.hilla.parser.plugins.backbone.enumtype; import java.util.List; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/enumtype/EnumTypeTest.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/enumtype/EnumTypeTest.java similarity index 73% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/enumtype/EnumTypeTest.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/enumtype/EnumTypeTest.java index 5fff3f8af5..267901144f 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/enumtype/EnumTypeTest.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/enumtype/EnumTypeTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.enumtype; +package com.vaadin.hilla.parser.plugins.backbone.enumtype; import java.io.IOException; import java.net.URISyntaxException; @@ -6,9 +6,9 @@ import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.backbone.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.backbone.test.helpers.TestHelper; public class EnumTypeTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/Endpoint.java new file mode 100644 index 0000000000..736cfde230 --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.backbone.exposed; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/EndpointExposed.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/EndpointExposed.java new file mode 100644 index 0000000000..dbe36dea1b --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/EndpointExposed.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.backbone.exposed; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface EndpointExposed { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/ExposedEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/ExposedEndpoint.java similarity index 73% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/ExposedEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/ExposedEndpoint.java index eff786b9fa..3821b19383 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/ExposedEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/ExposedEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.exposed; +package com.vaadin.hilla.parser.plugins.backbone.exposed; @Endpoint public class ExposedEndpoint extends OtherSuperclass diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/ExposedEntity.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/ExposedEntity.java new file mode 100644 index 0000000000..22e7568939 --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/ExposedEntity.java @@ -0,0 +1,4 @@ +package com.vaadin.hilla.parser.plugins.backbone.exposed; + +public class ExposedEntity { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/ExposedInterface.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/ExposedInterface.java similarity index 74% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/ExposedInterface.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/ExposedInterface.java index e8ebd6857e..009b2d9260 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/ExposedInterface.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/ExposedInterface.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.exposed; +package com.vaadin.hilla.parser.plugins.backbone.exposed; @EndpointExposed public interface ExposedInterface { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/ExposedInterfaceEntity.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/ExposedInterfaceEntity.java new file mode 100644 index 0000000000..f94818212a --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/ExposedInterfaceEntity.java @@ -0,0 +1,4 @@ +package com.vaadin.hilla.parser.plugins.backbone.exposed; + +public class ExposedInterfaceEntity { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/ExposedSuperclass.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/ExposedSuperclass.java similarity index 74% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/ExposedSuperclass.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/ExposedSuperclass.java index 3c4d980eb6..93e0d84d87 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/ExposedSuperclass.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/ExposedSuperclass.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.exposed; +package com.vaadin.hilla.parser.plugins.backbone.exposed; @EndpointExposed public class ExposedSuperclass { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/ExposedSuperclassEntity.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/ExposedSuperclassEntity.java new file mode 100644 index 0000000000..6d506381c4 --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/ExposedSuperclassEntity.java @@ -0,0 +1,4 @@ +package com.vaadin.hilla.parser.plugins.backbone.exposed; + +public class ExposedSuperclassEntity { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/ExposedTest.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/ExposedTest.java similarity index 75% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/ExposedTest.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/ExposedTest.java index f07979c9b5..1166521aea 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/ExposedTest.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/ExposedTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.exposed; +package com.vaadin.hilla.parser.plugins.backbone.exposed; import java.io.IOException; import java.net.URISyntaxException; @@ -6,9 +6,9 @@ import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.backbone.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.backbone.test.helpers.TestHelper; public class ExposedTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/OtherEntity.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/OtherEntity.java new file mode 100644 index 0000000000..71e262ad99 --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/OtherEntity.java @@ -0,0 +1,4 @@ +package com.vaadin.hilla.parser.plugins.backbone.exposed; + +public class OtherEntity { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/OtherInterface.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/OtherInterface.java similarity index 69% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/OtherInterface.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/OtherInterface.java index 6029795f62..3ffb73baf9 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/OtherInterface.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/OtherInterface.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.exposed; +package com.vaadin.hilla.parser.plugins.backbone.exposed; public interface OtherInterface { default OtherEntity methodFromOtherInterface() { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/OtherSuperclass.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/OtherSuperclass.java similarity index 72% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/OtherSuperclass.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/OtherSuperclass.java index cd38596779..207d08639e 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/OtherSuperclass.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/exposed/OtherSuperclass.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.exposed; +package com.vaadin.hilla.parser.plugins.backbone.exposed; public class OtherSuperclass extends ExposedSuperclass { public OtherEntity methodFromOtherSuperclass() { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/ConcreteType.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/ConcreteType.java new file mode 100644 index 0000000000..de9e0eb674 --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/ConcreteType.java @@ -0,0 +1,4 @@ +package com.vaadin.hilla.parser.plugins.backbone.generics; + +public class ConcreteType { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/Endpoint.java new file mode 100644 index 0000000000..3fbd9a094b --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.backbone.generics; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/EndpointExposed.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/EndpointExposed.java new file mode 100644 index 0000000000..15c2c6979b --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/EndpointExposed.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.backbone.generics; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface EndpointExposed { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericInterface.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericInterface.java similarity index 65% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericInterface.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericInterface.java index d28892fb47..587ee3430a 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericInterface.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericInterface.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.generics; +package com.vaadin.hilla.parser.plugins.backbone.generics; public interface GenericInterface { T dealWithGenericType(T object); diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericsBareEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericsBareEndpoint.java similarity index 67% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericsBareEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericsBareEndpoint.java index 76e43b81a6..b273367862 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericsBareEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericsBareEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.generics; +package com.vaadin.hilla.parser.plugins.backbone.generics; @Endpoint public class GenericsBareEndpoint { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericsBareRefEntity.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericsBareRefEntity.java similarity index 74% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericsBareRefEntity.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericsBareRefEntity.java index 66aafc06d4..b95183a1a0 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericsBareRefEntity.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericsBareRefEntity.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.generics; +package com.vaadin.hilla.parser.plugins.backbone.generics; public class GenericsBareRefEntity { private T bareGenericTypeProperty; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericsExtendedEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericsExtendedEndpoint.java similarity index 72% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericsExtendedEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericsExtendedEndpoint.java index baa98c1e46..6841fdefc2 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericsExtendedEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericsExtendedEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.generics; +package com.vaadin.hilla.parser.plugins.backbone.generics; import java.util.Map; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericsExtendedRefEntity.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericsExtendedRefEntity.java similarity index 79% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericsExtendedRefEntity.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericsExtendedRefEntity.java index 4b25f4fafe..822e01ccd9 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericsExtendedRefEntity.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericsExtendedRefEntity.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.generics; +package com.vaadin.hilla.parser.plugins.backbone.generics; public class GenericsExtendedRefEntity> { private T extendedGenericTypeReference; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericsMethodsEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericsMethodsEndpoint.java similarity index 85% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericsMethodsEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericsMethodsEndpoint.java index 8ebf9691fe..3fac040b47 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericsMethodsEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericsMethodsEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.generics; +package com.vaadin.hilla.parser.plugins.backbone.generics; import java.util.List; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericsRefEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericsRefEndpoint.java similarity index 83% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericsRefEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericsRefEndpoint.java index d35cbe8ea5..6b48a15ce9 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericsRefEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericsRefEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.generics; +package com.vaadin.hilla.parser.plugins.backbone.generics; @Endpoint public class GenericsRefEndpoint, U extends GenericsExtendedRefEntity>> { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericsTest.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericsTest.java similarity index 75% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericsTest.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericsTest.java index af71d70f42..df392e676c 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/GenericsTest.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/GenericsTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.generics; +package com.vaadin.hilla.parser.plugins.backbone.generics; import java.io.IOException; import java.net.URISyntaxException; @@ -6,9 +6,9 @@ import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.backbone.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.backbone.test.helpers.TestHelper; public class GenericsTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/ImplementInterfaceEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/ImplementInterfaceEndpoint.java similarity index 88% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/ImplementInterfaceEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/ImplementInterfaceEndpoint.java index 5ebcf97fa5..81b6acc6ed 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/ImplementInterfaceEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/generics/ImplementInterfaceEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.generics; +package com.vaadin.hilla.parser.plugins.backbone.generics; import java.lang.reflect.Modifier; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/genericsuperclassmethods/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/genericsuperclassmethods/Endpoint.java new file mode 100644 index 0000000000..af8b40938a --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/genericsuperclassmethods/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.backbone.genericsuperclassmethods; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/genericsuperclassmethods/EndpointExposed.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/genericsuperclassmethods/EndpointExposed.java new file mode 100644 index 0000000000..a963640569 --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/genericsuperclassmethods/EndpointExposed.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.backbone.genericsuperclassmethods; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface EndpointExposed { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClass.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClass.java similarity index 62% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClass.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClass.java index ada5059dc4..5d416f8769 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClass.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClass.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.genericsuperclassmethods; +package com.vaadin.hilla.parser.plugins.backbone.genericsuperclassmethods; @EndpointExposed public class GenericSuperClass { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClassLong.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClassLong.java similarity index 52% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClassLong.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClassLong.java index a83795a866..625281e8d9 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClassLong.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClassLong.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.genericsuperclassmethods; +package com.vaadin.hilla.parser.plugins.backbone.genericsuperclassmethods; @Endpoint public class GenericSuperClassLong extends GenericSuperClass { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClassMethodsTest.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClassMethodsTest.java similarity index 74% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClassMethodsTest.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClassMethodsTest.java index 50f8ea106e..61109e2852 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClassMethodsTest.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClassMethodsTest.java @@ -1,12 +1,12 @@ -package dev.hilla.parser.plugins.backbone.genericsuperclassmethods; +package com.vaadin.hilla.parser.plugins.backbone.genericsuperclassmethods; import java.io.IOException; import java.net.URISyntaxException; import java.util.Set; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.backbone.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.backbone.test.helpers.TestHelper; import org.junit.jupiter.api.Test; public class GenericSuperClassMethodsTest { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClassString.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClassString.java similarity index 53% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClassString.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClassString.java index 4590eb9517..f22bda74e3 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClassString.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/genericsuperclassmethods/GenericSuperClassString.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.genericsuperclassmethods; +package com.vaadin.hilla.parser.plugins.backbone.genericsuperclassmethods; @Endpoint public class GenericSuperClassString extends GenericSuperClass { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/iterable/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/iterable/Endpoint.java new file mode 100644 index 0000000000..150e3ac076 --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/iterable/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.backbone.iterable; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/iterable/IterableEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/iterable/IterableEndpoint.java similarity index 95% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/iterable/IterableEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/iterable/IterableEndpoint.java index 83153733f4..f3fb322d46 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/iterable/IterableEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/iterable/IterableEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.iterable; +package com.vaadin.hilla.parser.plugins.backbone.iterable; import java.util.ArrayList; import java.util.Arrays; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/iterable/IterableTest.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/iterable/IterableTest.java similarity index 73% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/iterable/IterableTest.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/iterable/IterableTest.java index a491e27bfd..aa28116b6d 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/iterable/IterableTest.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/iterable/IterableTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.iterable; +package com.vaadin.hilla.parser.plugins.backbone.iterable; import java.io.IOException; import java.net.URISyntaxException; @@ -6,9 +6,9 @@ import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.backbone.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.backbone.test.helpers.TestHelper; public class IterableTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/jackson/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/jackson/Endpoint.java new file mode 100644 index 0000000000..8c45a487cd --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/jackson/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.backbone.jackson; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/jackson/JacksonEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/jackson/JacksonEndpoint.java similarity index 97% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/jackson/JacksonEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/jackson/JacksonEndpoint.java index 2d67f97063..3ab7b6c3b9 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/jackson/JacksonEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/jackson/JacksonEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.jackson; +package com.vaadin.hilla.parser.plugins.backbone.jackson; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/jackson/JacksonTest.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/jackson/JacksonTest.java similarity index 87% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/jackson/JacksonTest.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/jackson/JacksonTest.java index 9a56445bc7..858ec61cf9 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/jackson/JacksonTest.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/jackson/JacksonTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.jackson; +package com.vaadin.hilla.parser.plugins.backbone.jackson; import java.io.IOException; import java.lang.reflect.Method; @@ -7,10 +7,10 @@ import java.util.Set; import java.util.stream.Stream; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.backbone.jackson.JacksonEndpoint.Sample; -import dev.hilla.parser.plugins.backbone.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.backbone.jackson.JacksonEndpoint.Sample; +import com.vaadin.hilla.parser.plugins.backbone.test.helpers.TestHelper; import org.junit.jupiter.api.Assumptions; import org.junit.jupiter.api.Test; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/multiendpoints/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/multiendpoints/Endpoint.java new file mode 100644 index 0000000000..c887dc662c --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/multiendpoints/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.backbone.multiendpoints; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsBarEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsBarEndpoint.java similarity index 76% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsBarEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsBarEndpoint.java index 7bb62b49c6..1d060962ac 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsBarEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsBarEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.multiendpoints; +package com.vaadin.hilla.parser.plugins.backbone.multiendpoints; @Endpoint public class MultiEndpointsBarEndpoint { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsBazEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsBazEndpoint.java similarity index 76% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsBazEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsBazEndpoint.java index 30df2c5dd5..92e6938828 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsBazEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsBazEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.multiendpoints; +package com.vaadin.hilla.parser.plugins.backbone.multiendpoints; @Endpoint public class MultiEndpointsBazEndpoint { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsFooEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsFooEndpoint.java similarity index 76% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsFooEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsFooEndpoint.java index 0cf5c387e6..cea2c8dcee 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsFooEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsFooEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.multiendpoints; +package com.vaadin.hilla.parser.plugins.backbone.multiendpoints; @Endpoint public class MultiEndpointsFooEndpoint { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsSharedModel.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsSharedModel.java similarity index 65% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsSharedModel.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsSharedModel.java index dd94686796..ecfe900152 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsSharedModel.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsSharedModel.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.multiendpoints; +package com.vaadin.hilla.parser.plugins.backbone.multiendpoints; public class MultiEndpointsSharedModel { private String id; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsTest.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsTest.java similarity index 73% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsTest.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsTest.java index 2dd2d9fcd8..57553d1f53 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsTest.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/multiendpoints/MultiEndpointsTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.multiendpoints; +package com.vaadin.hilla.parser.plugins.backbone.multiendpoints; import java.io.IOException; import java.net.URISyntaxException; @@ -6,9 +6,9 @@ import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.backbone.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.backbone.test.helpers.TestHelper; public class MultiEndpointsTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/shadowedname/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/shadowedname/Endpoint.java new file mode 100644 index 0000000000..7631c2b847 --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/shadowedname/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.backbone.shadowedname; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/shadowedname/ShadowedNameEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/shadowedname/ShadowedNameEndpoint.java similarity index 76% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/shadowedname/ShadowedNameEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/shadowedname/ShadowedNameEndpoint.java index 19dc498f78..642274b206 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/shadowedname/ShadowedNameEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/shadowedname/ShadowedNameEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.shadowedname; +package com.vaadin.hilla.parser.plugins.backbone.shadowedname; import java.util.ArrayList; @@ -25,8 +25,8 @@ public Collection getNestedUserDefinedCollection(String name) { return new Collection(); } - public dev.hilla.parser.plugins.backbone.shadowedname.subpackage.Collection getSeparateUserDefinedCollection() { - return new dev.hilla.parser.plugins.backbone.shadowedname.subpackage.Collection<>(); + public com.vaadin.hilla.parser.plugins.backbone.shadowedname.subpackage.Collection getSeparateUserDefinedCollection() { + return new com.vaadin.hilla.parser.plugins.backbone.shadowedname.subpackage.Collection<>(); } public static class Collection { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/shadowedname/ShadowedNameTest.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/shadowedname/ShadowedNameTest.java similarity index 74% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/shadowedname/ShadowedNameTest.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/shadowedname/ShadowedNameTest.java index fd3fe6f838..b4112d8e38 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/shadowedname/ShadowedNameTest.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/shadowedname/ShadowedNameTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.shadowedname; +package com.vaadin.hilla.parser.plugins.backbone.shadowedname; import java.io.IOException; import java.net.URISyntaxException; @@ -6,9 +6,9 @@ import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.backbone.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.backbone.test.helpers.TestHelper; public class ShadowedNameTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/shadowedname/subpackage/Collection.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/shadowedname/subpackage/Collection.java similarity index 75% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/shadowedname/subpackage/Collection.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/shadowedname/subpackage/Collection.java index f1393bf907..da39ac4eee 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/shadowedname/subpackage/Collection.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/shadowedname/subpackage/Collection.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.shadowedname.subpackage; +package com.vaadin.hilla.parser.plugins.backbone.shadowedname.subpackage; import java.util.List; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/simpletype/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/simpletype/Endpoint.java new file mode 100644 index 0000000000..5784f4b0f0 --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/simpletype/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.backbone.simpletype; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/simpletype/SimpleTypeEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/simpletype/SimpleTypeEndpoint.java similarity index 96% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/simpletype/SimpleTypeEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/simpletype/SimpleTypeEndpoint.java index 76efad5ab5..261d138c6f 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/simpletype/SimpleTypeEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/simpletype/SimpleTypeEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.simpletype; +package com.vaadin.hilla.parser.plugins.backbone.simpletype; import java.math.BigDecimal; import java.math.BigInteger; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/simpletype/SimpleTypeTest.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/simpletype/SimpleTypeTest.java similarity index 73% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/simpletype/SimpleTypeTest.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/simpletype/SimpleTypeTest.java index db89f661b2..94e8cb6d71 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/simpletype/SimpleTypeTest.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/simpletype/SimpleTypeTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.simpletype; +package com.vaadin.hilla.parser.plugins.backbone.simpletype; import java.io.IOException; import java.net.URISyntaxException; @@ -6,9 +6,9 @@ import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.backbone.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.backbone.test.helpers.TestHelper; public class SimpleTypeTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/CrudEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/CrudEndpoint.java similarity index 74% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/CrudEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/CrudEndpoint.java index 34d3b42560..2c4e973c91 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/CrudEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/CrudEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.nonnull.superclassmethods; +package com.vaadin.hilla.parser.plugins.backbone.superclassmethods; @EndpointExposed public abstract class CrudEndpoint extends ReadOnlyEndpoint { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/genericsuperclassmethods/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/Endpoint.java similarity index 80% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/genericsuperclassmethods/Endpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/Endpoint.java index 06dd5e37a2..aa48f77d56 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/genericsuperclassmethods/Endpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/Endpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.genericsuperclassmethods; +package com.vaadin.hilla.parser.plugins.backbone.superclassmethods; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/genericsuperclassmethods/EndpointExposed.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/EndpointExposed.java similarity index 80% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/genericsuperclassmethods/EndpointExposed.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/EndpointExposed.java index 12d0f75d2d..e18e66d221 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/genericsuperclassmethods/EndpointExposed.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/EndpointExposed.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.genericsuperclassmethods; +package com.vaadin.hilla.parser.plugins.backbone.superclassmethods; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/NonEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/NonEndpoint.java similarity index 90% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/NonEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/NonEndpoint.java index b90ac828cf..e9e50ec68f 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/NonEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/NonEndpoint.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.parser.plugins.backbone.superclassmethods; +package com.vaadin.hilla.parser.plugins.backbone.superclassmethods; public interface NonEndpoint { default void nonEndpointMethod() { diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/NonEndpointImpl.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/NonEndpointImpl.java similarity index 91% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/NonEndpointImpl.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/NonEndpointImpl.java index ff43836552..fcc4c040a0 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/NonEndpointImpl.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/NonEndpointImpl.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.parser.plugins.nonnull.superclassmethods; +package com.vaadin.hilla.parser.plugins.backbone.superclassmethods; public class NonEndpointImpl implements NonEndpoint { public void nonEndpointImplMethod() { diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/Nonnull.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/Nonnull.java similarity index 82% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/Nonnull.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/Nonnull.java index c469e7cbea..88f7bfca06 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/Nonnull.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/Nonnull.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.nonnull.superclassmethods; +package com.vaadin.hilla.parser.plugins.backbone.superclassmethods; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/PagedData.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/PagedData.java similarity index 93% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/PagedData.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/PagedData.java index 63fed63da0..8311db6697 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/PagedData.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/PagedData.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.parser.plugins.backbone.superclassmethods; +package com.vaadin.hilla.parser.plugins.backbone.superclassmethods; import java.util.Collections; import java.util.List; diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/PersonEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/PersonEndpoint.java similarity index 84% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/PersonEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/PersonEndpoint.java index a6312859f0..0dceaf5c37 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/PersonEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/PersonEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.nonnull.superclassmethods; +package com.vaadin.hilla.parser.plugins.backbone.superclassmethods; @Endpoint public class PersonEndpoint extends CrudEndpoint diff --git a/packages/java/endpoint/src/test/java/dev/hilla/endpoints/ReadOnlyEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/ReadOnlyEndpoint.java similarity index 92% rename from packages/java/endpoint/src/test/java/dev/hilla/endpoints/ReadOnlyEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/ReadOnlyEndpoint.java index 161b36fd67..c087f76098 100644 --- a/packages/java/endpoint/src/test/java/dev/hilla/endpoints/ReadOnlyEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/ReadOnlyEndpoint.java @@ -13,11 +13,10 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.endpoints; -import java.util.Optional; +package com.vaadin.hilla.parser.plugins.backbone.superclassmethods; -import dev.hilla.EndpointExposed; +import java.util.Optional; @EndpointExposed public class ReadOnlyEndpoint extends NonEndpointImpl diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/SuperClassMethodsTest.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/SuperClassMethodsTest.java similarity index 75% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/SuperClassMethodsTest.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/SuperClassMethodsTest.java index a422146d76..ae8ee5b079 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/SuperClassMethodsTest.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/SuperClassMethodsTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.superclassmethods; +package com.vaadin.hilla.parser.plugins.backbone.superclassmethods; import java.io.IOException; import java.net.URISyntaxException; @@ -6,9 +6,9 @@ import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.backbone.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.backbone.test.helpers.TestHelper; public class SuperClassMethodsTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/model/test/helpers/TestHelper.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/test/helpers/TestHelper.java similarity index 83% rename from packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/model/test/helpers/TestHelper.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/test/helpers/TestHelper.java index d1453adf20..e610b4ce97 100644 --- a/packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/model/test/helpers/TestHelper.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/test/helpers/TestHelper.java @@ -1,6 +1,6 @@ -package dev.hilla.parser.model.test.helpers; +package com.vaadin.hilla.parser.plugins.backbone.test.helpers; -import static dev.hilla.parser.testutils.JsonAssertions.assertEquals; +import static com.vaadin.hilla.parser.testutils.JsonAssertions.assertEquals; import java.io.IOException; import java.net.URISyntaxException; @@ -8,7 +8,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; -import dev.hilla.parser.testutils.ResourceLoader; +import com.vaadin.hilla.parser.testutils.ResourceLoader; import io.swagger.v3.core.util.Json; import io.swagger.v3.oas.models.OpenAPI; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/transients/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/transients/Endpoint.java new file mode 100644 index 0000000000..ff7b2d097b --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/transients/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.backbone.transients; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/transients/NonTransientEntity.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/transients/NonTransientEntity.java similarity index 89% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/transients/NonTransientEntity.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/transients/NonTransientEntity.java index 79dd17968e..37d80ef4b0 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/transients/NonTransientEntity.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/transients/NonTransientEntity.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.transients; +package com.vaadin.hilla.parser.plugins.backbone.transients; public class NonTransientEntity { private String entityField; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/transients/TransientEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/transients/TransientEndpoint.java similarity index 86% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/transients/TransientEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/transients/TransientEndpoint.java index f50e17be90..3a8931cfe1 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/transients/TransientEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/transients/TransientEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.transients; +package com.vaadin.hilla.parser.plugins.backbone.transients; @Endpoint public class TransientEndpoint { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/transients/TransientEntity.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/transients/TransientEntity.java similarity index 79% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/transients/TransientEntity.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/transients/TransientEntity.java index 27726b7340..123dbdc719 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/transients/TransientEntity.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/transients/TransientEntity.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.transients; +package com.vaadin.hilla.parser.plugins.backbone.transients; public class TransientEntity { private String entityField; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/transients/TransientTest.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/transients/TransientTest.java similarity index 73% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/transients/TransientTest.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/transients/TransientTest.java index 2df17f2778..5704f0b4fa 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/transients/TransientTest.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/transients/TransientTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.transients; +package com.vaadin.hilla.parser.plugins.backbone.transients; import java.io.IOException; import java.net.URISyntaxException; @@ -6,9 +6,9 @@ import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.backbone.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.backbone.test.helpers.TestHelper; public class TransientTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/wildcard/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/wildcard/Endpoint.java new file mode 100644 index 0000000000..47d728966e --- /dev/null +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/wildcard/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.backbone.wildcard; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/wildcard/WildcardTypeEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/wildcard/WildcardTypeEndpoint.java similarity index 87% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/wildcard/WildcardTypeEndpoint.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/wildcard/WildcardTypeEndpoint.java index 47d82b170a..9be323c7bc 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/wildcard/WildcardTypeEndpoint.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/wildcard/WildcardTypeEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.wildcard; +package com.vaadin.hilla.parser.plugins.backbone.wildcard; import java.util.List; import java.util.Map; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/wildcard/WildcardTypeTest.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/wildcard/WildcardTypeTest.java similarity index 73% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/wildcard/WildcardTypeTest.java rename to packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/wildcard/WildcardTypeTest.java index 852159f3f0..2a2b2b9075 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/wildcard/WildcardTypeTest.java +++ b/packages/java/parser-jvm-plugin-backbone/src/test/java/com/vaadin/hilla/parser/plugins/backbone/wildcard/WildcardTypeTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.wildcard; +package com.vaadin.hilla.parser.plugins.backbone.wildcard; import java.io.IOException; import java.net.URISyntaxException; @@ -6,9 +6,9 @@ import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.backbone.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.backbone.test.helpers.TestHelper; public class WildcardTypeTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/Endpoint.java deleted file mode 100644 index b3e0ce37aa..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.backbone.complexhierarchy; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/EndpointExposed.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/EndpointExposed.java deleted file mode 100644 index 482d28f908..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/EndpointExposed.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.backbone.complexhierarchy; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface EndpointExposed { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyGrandParentEndpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyGrandParentEndpoint.java deleted file mode 100644 index 4e026badff..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyGrandParentEndpoint.java +++ /dev/null @@ -1,10 +0,0 @@ -package dev.hilla.parser.plugins.backbone.complexhierarchy.models; - -import dev.hilla.parser.plugins.backbone.complexhierarchy.Endpoint; - -@Endpoint -public class ComplexHierarchyGrandParentEndpoint { - public String executeGrandParentEndpointMethod() { - return null; - } -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complextype/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complextype/Endpoint.java deleted file mode 100644 index dc1a34230d..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/complextype/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.backbone.complextype; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/config/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/config/Endpoint.java deleted file mode 100644 index 679a48700f..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/config/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.backbone.config; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/datetime/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/datetime/Endpoint.java deleted file mode 100644 index fd342969fc..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/datetime/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.backbone.datetime; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/enumtype/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/enumtype/Endpoint.java deleted file mode 100644 index fd00721979..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/enumtype/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.backbone.enumtype; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/Endpoint.java deleted file mode 100644 index ccab755a2d..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.backbone.exposed; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/EndpointExposed.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/EndpointExposed.java deleted file mode 100644 index 4a309df7ff..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/EndpointExposed.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.backbone.exposed; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface EndpointExposed { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/ExposedEntity.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/ExposedEntity.java deleted file mode 100644 index 3e49d8acbd..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/ExposedEntity.java +++ /dev/null @@ -1,4 +0,0 @@ -package dev.hilla.parser.plugins.backbone.exposed; - -public class ExposedEntity { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/ExposedInterfaceEntity.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/ExposedInterfaceEntity.java deleted file mode 100644 index ee19df0bf5..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/ExposedInterfaceEntity.java +++ /dev/null @@ -1,4 +0,0 @@ -package dev.hilla.parser.plugins.backbone.exposed; - -public class ExposedInterfaceEntity { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/ExposedSuperclassEntity.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/ExposedSuperclassEntity.java deleted file mode 100644 index be7ff7dcf0..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/ExposedSuperclassEntity.java +++ /dev/null @@ -1,4 +0,0 @@ -package dev.hilla.parser.plugins.backbone.exposed; - -public class ExposedSuperclassEntity { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/OtherEntity.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/OtherEntity.java deleted file mode 100644 index 6ac262d832..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/exposed/OtherEntity.java +++ /dev/null @@ -1,4 +0,0 @@ -package dev.hilla.parser.plugins.backbone.exposed; - -public class OtherEntity { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/ConcreteType.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/ConcreteType.java deleted file mode 100644 index 1d1fcad723..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/ConcreteType.java +++ /dev/null @@ -1,4 +0,0 @@ -package dev.hilla.parser.plugins.backbone.generics; - -public class ConcreteType { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/Endpoint.java deleted file mode 100644 index 9dd5946df0..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.backbone.generics; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/EndpointExposed.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/EndpointExposed.java deleted file mode 100644 index a48515c82a..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/generics/EndpointExposed.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.backbone.generics; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface EndpointExposed { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/iterable/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/iterable/Endpoint.java deleted file mode 100644 index f654db6ae8..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/iterable/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.backbone.iterable; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/jackson/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/jackson/Endpoint.java deleted file mode 100644 index e359f40f70..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/jackson/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.backbone.jackson; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/multiendpoints/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/multiendpoints/Endpoint.java deleted file mode 100644 index f7e7621056..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/multiendpoints/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.backbone.multiendpoints; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/shadowedname/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/shadowedname/Endpoint.java deleted file mode 100644 index 351f4cfd9c..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/shadowedname/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.backbone.shadowedname; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/simpletype/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/simpletype/Endpoint.java deleted file mode 100644 index e48c89944d..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/simpletype/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.backbone.simpletype; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/Endpoint.java deleted file mode 100644 index b3afc0b72d..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.backbone.superclassmethods; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/EndpointExposed.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/EndpointExposed.java deleted file mode 100644 index f90c6f2151..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/EndpointExposed.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.backbone.superclassmethods; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface EndpointExposed { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/transients/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/transients/Endpoint.java deleted file mode 100644 index 5be7dcf2fb..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/transients/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.backbone.transients; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/wildcard/Endpoint.java b/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/wildcard/Endpoint.java deleted file mode 100644 index 4a0ca0af05..0000000000 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/wildcard/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.backbone.wildcard; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/bare/openapi.json b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/bare/openapi.json similarity index 95% rename from packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/bare/openapi.json rename to packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/bare/openapi.json index ce784bfcfb..38639485a1 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/bare/openapi.json +++ b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/bare/openapi.json @@ -13,7 +13,7 @@ "tags": [ { "name": "BareTypeEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.bare.BareTypeEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.bare.BareTypeEndpoint" } ], "paths": { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/complexhierarchy/openapi.json b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/openapi.json similarity index 69% rename from packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/complexhierarchy/openapi.json rename to packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/openapi.json index 1eef9ec70c..b3e295c179 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/complexhierarchy/openapi.json +++ b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/openapi.json @@ -13,11 +13,11 @@ "tags": [ { "name": "ComplexHierarchyEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.complexhierarchy.ComplexHierarchyEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.complexhierarchy.ComplexHierarchyEndpoint" }, { "name": "ComplexHierarchyGrandParentEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyGrandParentEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyGrandParentEndpoint" } ], "paths": { @@ -34,7 +34,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyModel" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyModel" } ] } @@ -66,10 +66,10 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyModel": { + "com.vaadin.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyModel": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyParentModel" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyParentModel" }, { "type": "object", @@ -82,10 +82,10 @@ } ] }, - "dev.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyParentModel": { + "com.vaadin.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyParentModel": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyGrandParentModel" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyGrandParentModel" }, { "type": "object", @@ -98,7 +98,7 @@ } ] }, - "dev.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyGrandParentModel": { + "com.vaadin.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyGrandParentModel": { "type": "object", "properties": { "build": { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/complextype/openapi.json b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/complextype/openapi.json similarity index 87% rename from packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/complextype/openapi.json rename to packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/complextype/openapi.json index 9af7a74de7..c5be85fcd8 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/complextype/openapi.json +++ b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/complextype/openapi.json @@ -13,7 +13,7 @@ "tags": [ { "name": "ComplexTypeEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.complextype.ComplexTypeEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.complextype.ComplexTypeEndpoint" } ], "paths": { @@ -53,7 +53,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.complextype.ComplexTypeEndpoint$ComplexTypeModel" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.complextype.ComplexTypeEndpoint$ComplexTypeModel" } ] } @@ -66,7 +66,7 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.backbone.complextype.ComplexTypeEndpoint$ComplexTypeModel": { + "com.vaadin.hilla.parser.plugins.backbone.complextype.ComplexTypeEndpoint$ComplexTypeModel": { "type": "object", "properties": { "complexList": { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/config/openapi.json b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/config/openapi.json similarity index 77% rename from packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/config/openapi.json rename to packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/config/openapi.json index fcb4d76fce..1f370b56c5 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/config/openapi.json +++ b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/config/openapi.json @@ -13,7 +13,7 @@ "tags": [ { "name": "CustomConfigEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.config.CustomConfigEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.config.CustomConfigEndpoint" } ], "paths": { @@ -30,7 +30,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.config.CustomConfigEndpoint$CustomConfigEntity" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.config.CustomConfigEndpoint$CustomConfigEntity" } ] } @@ -43,7 +43,7 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.backbone.config.CustomConfigEndpoint$CustomConfigEntity": { + "com.vaadin.hilla.parser.plugins.backbone.config.CustomConfigEndpoint$CustomConfigEntity": { "type": "object", "properties": { "bar": { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/customname/openapi.json b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/customname/openapi.json similarity index 83% rename from packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/customname/openapi.json rename to packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/customname/openapi.json index 2b1cb5865c..b011b14b23 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/customname/openapi.json +++ b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/customname/openapi.json @@ -13,11 +13,11 @@ "tags": [ { "name": "NameFromAnnotationExplicitValueEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.customname.CustomExplicitValueEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.customname.CustomExplicitValueEndpoint" }, { "name": "NameFromAnnotationEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.customname.CustomNameEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.customname.CustomNameEndpoint" } ], "paths": { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/datetime/openapi.json b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/datetime/openapi.json similarity index 98% rename from packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/datetime/openapi.json rename to packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/datetime/openapi.json index 0310997430..507b2f9556 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/datetime/openapi.json +++ b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/datetime/openapi.json @@ -13,7 +13,7 @@ "tags": [ { "name": "DateTimeEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.datetime.DateTimeEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.datetime.DateTimeEndpoint" } ], "paths": { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/enumtype/openapi.json b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/enumtype/openapi.json similarity index 81% rename from packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/enumtype/openapi.json rename to packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/enumtype/openapi.json index ff9e3bca8d..043f15bc52 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/enumtype/openapi.json +++ b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/enumtype/openapi.json @@ -13,7 +13,7 @@ "tags" : [ { "name" : "EnumTypeEndpoint", - "x-class-name" : "dev.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint" + "x-class-name" : "com.vaadin.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint" } ], "paths" : { @@ -33,7 +33,7 @@ "nullable" : true, "anyOf" : [ { - "$ref" : "#/components/schemas/dev.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" + "$ref" : "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" } ] } @@ -51,7 +51,7 @@ "nullable" : true, "anyOf" : [ { - "$ref" : "#/components/schemas/dev.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" + "$ref" : "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" } ] } @@ -80,7 +80,7 @@ "nullable" : true, "anyOf" : [ { - "$ref" : "#/components/schemas/dev.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" + "$ref" : "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" } ] } @@ -103,7 +103,7 @@ "anyOf" : [ { - "$ref" : "#/components/schemas/dev.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" + "$ref" : "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" } ] } @@ -129,7 +129,7 @@ "nullable" : true, "anyOf" : [ { - "$ref" : "#/components/schemas/dev.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" + "$ref" : "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" } ] } @@ -155,7 +155,7 @@ "nullable" : true, "anyOf" : [ { - "$ref" : "#/components/schemas/dev.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" + "$ref" : "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" } ] } @@ -174,7 +174,7 @@ }, "components" : { "schemas" : { - "dev.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" : { + "com.vaadin.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" : { "type" : "string", "enum" : [ "ENUM1", diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/exposed/openapi.json b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/exposed/openapi.json similarity index 77% rename from packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/exposed/openapi.json rename to packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/exposed/openapi.json index 3057527452..4414e0c3d2 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/exposed/openapi.json +++ b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/exposed/openapi.json @@ -13,7 +13,7 @@ "tags": [ { "name": "ExposedEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.exposed.ExposedEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.exposed.ExposedEndpoint" } ], "paths": { @@ -30,7 +30,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.exposed.ExposedSuperclassEntity" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.exposed.ExposedSuperclassEntity" } ] } @@ -53,7 +53,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.exposed.ExposedInterfaceEntity" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.exposed.ExposedInterfaceEntity" } ] } @@ -77,10 +77,10 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.backbone.exposed.ExposedSuperclassEntity": { + "com.vaadin.hilla.parser.plugins.backbone.exposed.ExposedSuperclassEntity": { "type": "object" }, - "dev.hilla.parser.plugins.backbone.exposed.ExposedInterfaceEntity": { + "com.vaadin.hilla.parser.plugins.backbone.exposed.ExposedInterfaceEntity": { "type": "object" } } diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/generics/openapi.json b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/generics/openapi.json similarity index 82% rename from packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/generics/openapi.json rename to packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/generics/openapi.json index 71c30b8886..7be3ba85d1 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/generics/openapi.json +++ b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/generics/openapi.json @@ -13,23 +13,23 @@ "tags": [ { "name": "GenericsBareEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.generics.GenericsBareEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.generics.GenericsBareEndpoint" }, { "name": "GenericsExtendedEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.generics.GenericsExtendedEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.generics.GenericsExtendedEndpoint" }, { "name": "GenericsMethodsEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.generics.GenericsMethodsEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.generics.GenericsMethodsEndpoint" }, { "name": "GenericsRefEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.generics.GenericsRefEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.generics.GenericsRefEndpoint" }, { "name": "ImplementInterfaceEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.generics.ImplementInterfaceEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.generics.ImplementInterfaceEndpoint" } ], "paths": { @@ -161,7 +161,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.generics.GenericsBareRefEntity" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.generics.GenericsBareRefEntity" } ] } @@ -179,7 +179,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.generics.GenericsBareRefEntity" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.generics.GenericsBareRefEntity" } ] } @@ -235,7 +235,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.generics.GenericsBareRefEntity" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.generics.GenericsBareRefEntity" } ] } @@ -253,7 +253,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.generics.GenericsBareRefEntity" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.generics.GenericsBareRefEntity" } ] } @@ -277,7 +277,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.generics.GenericsExtendedRefEntity" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.generics.GenericsExtendedRefEntity" } ] } @@ -295,7 +295,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.generics.GenericsExtendedRefEntity" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.generics.GenericsExtendedRefEntity" } ] } @@ -319,7 +319,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.generics.ConcreteType" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.generics.ConcreteType" } ] } @@ -337,7 +337,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.generics.ConcreteType" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.generics.ConcreteType" } ] } @@ -361,7 +361,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.generics.ConcreteType" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.generics.ConcreteType" } ] } @@ -379,7 +379,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.generics.ConcreteType" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.generics.ConcreteType" } ] } @@ -403,7 +403,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.generics.ConcreteType" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.generics.ConcreteType" } ] } @@ -421,7 +421,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.generics.ConcreteType" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.generics.ConcreteType" } ] } @@ -434,7 +434,7 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.backbone.generics.GenericsBareRefEntity": { + "com.vaadin.hilla.parser.plugins.backbone.generics.GenericsBareRefEntity": { "type": "object", "properties": { "bareGenericTypeProperty": { @@ -442,20 +442,20 @@ } } }, - "dev.hilla.parser.plugins.backbone.generics.GenericsExtendedRefEntity": { + "com.vaadin.hilla.parser.plugins.backbone.generics.GenericsExtendedRefEntity": { "type": "object", "properties": { "extendedGenericTypeReference": { "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.generics.GenericsBareRefEntity" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.generics.GenericsBareRefEntity" } ] } } }, - "dev.hilla.parser.plugins.backbone.generics.ConcreteType" : { + "com.vaadin.hilla.parser.plugins.backbone.generics.ConcreteType" : { "type": "object" } } diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/genericsuperclassmethods/openapi.json b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/genericsuperclassmethods/openapi.json similarity index 91% rename from packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/genericsuperclassmethods/openapi.json rename to packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/genericsuperclassmethods/openapi.json index 3d8547a31f..2ade548b7e 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/genericsuperclassmethods/openapi.json +++ b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/genericsuperclassmethods/openapi.json @@ -13,11 +13,11 @@ "tags" : [ { "name" : "GenericSuperClassLong", - "x-class-name" : "dev.hilla.parser.plugins.backbone.genericsuperclassmethods.GenericSuperClassLong" + "x-class-name" : "com.vaadin.hilla.parser.plugins.backbone.genericsuperclassmethods.GenericSuperClassLong" }, { "name" : "GenericSuperClassString", - "x-class-name" : "dev.hilla.parser.plugins.backbone.genericsuperclassmethods.GenericSuperClassString" + "x-class-name" : "com.vaadin.hilla.parser.plugins.backbone.genericsuperclassmethods.GenericSuperClassString" } ], "paths" : { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/iterable/openapi.json b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/iterable/openapi.json similarity index 79% rename from packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/iterable/openapi.json rename to packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/iterable/openapi.json index 1989cc1484..50598ba0ef 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/iterable/openapi.json +++ b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/iterable/openapi.json @@ -13,7 +13,7 @@ "tags": [ { "name": "IterableEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.iterable.IterableEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.iterable.IterableEndpoint" } ], "paths": { @@ -33,11 +33,11 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.iterable.IterableEndpoint$Foo" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.iterable.IterableEndpoint$Foo" } ] }, - "x-class-name": "dev.hilla.parser.plugins.backbone.iterable.IterableEndpoint$AnotherCustomIterable" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.iterable.IterableEndpoint$AnotherCustomIterable" } } } @@ -61,7 +61,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.iterable.IterableEndpoint$Foo" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.iterable.IterableEndpoint$Foo" } ] } @@ -88,11 +88,11 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.iterable.IterableEndpoint$Foo" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.iterable.IterableEndpoint$Foo" } ] }, - "x-class-name": "dev.hilla.parser.plugins.backbone.iterable.IterableEndpoint$CustomIterable" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.iterable.IterableEndpoint$CustomIterable" } } } @@ -116,7 +116,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.iterable.IterableEndpoint$Foo" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.iterable.IterableEndpoint$Foo" } ] } @@ -143,7 +143,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.iterable.IterableEndpoint$Foo" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.iterable.IterableEndpoint$Foo" } ] } @@ -170,7 +170,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.iterable.IterableEndpoint$Foo" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.iterable.IterableEndpoint$Foo" } ] } @@ -184,7 +184,7 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.backbone.iterable.IterableEndpoint$Foo": { + "com.vaadin.hilla.parser.plugins.backbone.iterable.IterableEndpoint$Foo": { "type": "object", "properties": { "bar": { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/jackson/openapi.json b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/jackson/openapi.json similarity index 81% rename from packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/jackson/openapi.json rename to packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/jackson/openapi.json index ac83471a65..fec85341d7 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/jackson/openapi.json +++ b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/jackson/openapi.json @@ -13,7 +13,7 @@ "tags": [ { "name": "JacksonEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.jackson.JacksonEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.jackson.JacksonEndpoint" } ], "paths": { @@ -30,7 +30,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.jackson.JacksonEndpoint$Sample" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.jackson.JacksonEndpoint$Sample" } ] } @@ -43,10 +43,10 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.backbone.jackson.JacksonEndpoint$Sample": { + "com.vaadin.hilla.parser.plugins.backbone.jackson.JacksonEndpoint$Sample": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.jackson.JacksonEndpoint$SampleParent" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.jackson.JacksonEndpoint$SampleParent" }, { "type": "object", @@ -87,7 +87,7 @@ } ] }, - "dev.hilla.parser.plugins.backbone.jackson.JacksonEndpoint$SampleParent": { + "com.vaadin.hilla.parser.plugins.backbone.jackson.JacksonEndpoint$SampleParent": { "type": "object", "properties": { "publicParentProperty": { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/multiendpoints/openapi.json b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/multiendpoints/openapi.json similarity index 82% rename from packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/multiendpoints/openapi.json rename to packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/multiendpoints/openapi.json index ad8c8df4ce..dadc13b104 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/multiendpoints/openapi.json +++ b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/multiendpoints/openapi.json @@ -13,15 +13,15 @@ "tags": [ { "name": "MultiEndpointsBarEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.multiendpoints.MultiEndpointsBarEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.multiendpoints.MultiEndpointsBarEndpoint" }, { "name": "MultiEndpointsBazEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.multiendpoints.MultiEndpointsBazEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.multiendpoints.MultiEndpointsBazEndpoint" }, { "name": "MultiEndpointsFooEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.multiendpoints.MultiEndpointsFooEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.multiendpoints.MultiEndpointsFooEndpoint" } ], "paths": { @@ -57,7 +57,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.multiendpoints.MultiEndpointsSharedModel" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.multiendpoints.MultiEndpointsSharedModel" } ] } @@ -99,7 +99,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.multiendpoints.MultiEndpointsSharedModel" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.multiendpoints.MultiEndpointsSharedModel" } ] } @@ -141,7 +141,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.multiendpoints.MultiEndpointsSharedModel" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.multiendpoints.MultiEndpointsSharedModel" } ] } @@ -154,7 +154,7 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.backbone.multiendpoints.MultiEndpointsSharedModel": { + "com.vaadin.hilla.parser.plugins.backbone.multiendpoints.MultiEndpointsSharedModel": { "type": "object", "properties": { "id": { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/shadowedname/openapi.json b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/shadowedname/openapi.json similarity index 85% rename from packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/shadowedname/openapi.json rename to packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/shadowedname/openapi.json index 557eae0141..f91f6d6a05 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/shadowedname/openapi.json +++ b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/shadowedname/openapi.json @@ -13,7 +13,7 @@ "tags": [ { "name": "ShadowedNameEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.shadowedname.ShadowedNameEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.shadowedname.ShadowedNameEndpoint" } ], "paths": { @@ -68,7 +68,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.shadowedname.ShadowedNameEndpoint$Collection" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.shadowedname.ShadowedNameEndpoint$Collection" } ] } @@ -91,7 +91,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.shadowedname.subpackage.Collection" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.shadowedname.subpackage.Collection" } ] } @@ -104,7 +104,7 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.backbone.shadowedname.ShadowedNameEndpoint$Collection": { + "com.vaadin.hilla.parser.plugins.backbone.shadowedname.ShadowedNameEndpoint$Collection": { "type": "object", "properties": { "author": { @@ -121,7 +121,7 @@ } } }, - "dev.hilla.parser.plugins.backbone.shadowedname.subpackage.Collection": { + "com.vaadin.hilla.parser.plugins.backbone.shadowedname.subpackage.Collection": { "type": "object", "properties": { "items": { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/simpletype/openapi.json b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/simpletype/openapi.json similarity index 99% rename from packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/simpletype/openapi.json rename to packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/simpletype/openapi.json index be64f9042b..d990f7a1e7 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/simpletype/openapi.json +++ b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/simpletype/openapi.json @@ -13,7 +13,7 @@ "tags": [ { "name": "SimpleTypeEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.simpletype.SimpleTypeEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.simpletype.SimpleTypeEndpoint" } ], "paths": { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/superclassmethods/openapi.json b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/openapi.json similarity index 85% rename from packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/superclassmethods/openapi.json rename to packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/openapi.json index ccac0802ca..2f4a35a1e6 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/superclassmethods/openapi.json +++ b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/superclassmethods/openapi.json @@ -13,7 +13,7 @@ "tags": [ { "name": "PersonEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.superclassmethods.PersonEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.superclassmethods.PersonEndpoint" } ], "paths": { @@ -46,7 +46,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.superclassmethods.PersonEndpoint$Person" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.superclassmethods.PersonEndpoint$Person" } ] } @@ -97,7 +97,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.superclassmethods.PersonEndpoint$Person" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.superclassmethods.PersonEndpoint$Person" } ] } @@ -115,7 +115,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.superclassmethods.PersonEndpoint$Person" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.superclassmethods.PersonEndpoint$Person" } ] } @@ -149,7 +149,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.superclassmethods.PersonEndpoint$Person" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.superclassmethods.PersonEndpoint$Person" } ] }, @@ -172,7 +172,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.superclassmethods.PersonEndpoint$Person" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.superclassmethods.PersonEndpoint$Person" } ] } @@ -218,7 +218,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.superclassmethods.PersonEndpoint$Person" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.superclassmethods.PersonEndpoint$Person" } ] } @@ -251,7 +251,7 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.backbone.superclassmethods.PersonEndpoint$Person": { + "com.vaadin.hilla.parser.plugins.backbone.superclassmethods.PersonEndpoint$Person": { "type": "object", "properties": { "name": { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/transients/openapi.json b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/transients/openapi.json similarity index 73% rename from packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/transients/openapi.json rename to packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/transients/openapi.json index dc57d5c0b5..3b74792f24 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/transients/openapi.json +++ b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/transients/openapi.json @@ -13,7 +13,7 @@ "tags": [ { "name": "TransientEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.transients.TransientEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.transients.TransientEndpoint" } ], "paths": { @@ -30,7 +30,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.transients.TransientEndpoint$TransientModel" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.transients.TransientEndpoint$TransientModel" } ] } @@ -43,14 +43,14 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.backbone.transients.TransientEndpoint$TransientModel": { + "com.vaadin.hilla.parser.plugins.backbone.transients.TransientEndpoint$TransientModel": { "type": "object", "properties": { "nonTransientEntity": { "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.transients.NonTransientEntity" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.transients.NonTransientEntity" } ] }, @@ -60,7 +60,7 @@ } } }, - "dev.hilla.parser.plugins.backbone.transients.NonTransientEntity": { + "com.vaadin.hilla.parser.plugins.backbone.transients.NonTransientEntity": { "type": "object", "properties": { "entityField": { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/wildcard/openapi.json b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/wildcard/openapi.json similarity index 95% rename from packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/wildcard/openapi.json rename to packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/wildcard/openapi.json index 3223f9e63e..b1892720cd 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/resources/dev/hilla/parser/plugins/backbone/wildcard/openapi.json +++ b/packages/java/parser-jvm-plugin-backbone/src/test/resources/com/vaadin/hilla/parser/plugins/backbone/wildcard/openapi.json @@ -13,7 +13,7 @@ "tags": [ { "name": "WildcardTypeEndpoint", - "x-class-name": "dev.hilla.parser.plugins.backbone.wildcard.WildcardTypeEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.backbone.wildcard.WildcardTypeEndpoint" } ], "paths": { diff --git a/packages/java/parser-jvm-plugin-model/pom.xml b/packages/java/parser-jvm-plugin-model/pom.xml index 0c5a2bd4d0..cf749eb0c5 100644 --- a/packages/java/parser-jvm-plugin-model/pom.xml +++ b/packages/java/parser-jvm-plugin-model/pom.xml @@ -5,7 +5,7 @@ 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml @@ -34,22 +34,22 @@ test - dev.hilla + com.vaadin.hilla parser-jvm-core ${project.version} - dev.hilla + com.vaadin.hilla parser-jvm-utils ${project.version} - dev.hilla + com.vaadin.hilla parser-jvm-plugin-backbone ${project.version} - dev.hilla + com.vaadin.hilla parser-jvm-test-utils ${project.version} test diff --git a/packages/java/parser-jvm-plugin-model/src/main/java/dev/hilla/parser/plugins/model/Annotation.java b/packages/java/parser-jvm-plugin-model/src/main/java/com/vaadin/hilla/parser/plugins/model/Annotation.java similarity index 90% rename from packages/java/parser-jvm-plugin-model/src/main/java/dev/hilla/parser/plugins/model/Annotation.java rename to packages/java/parser-jvm-plugin-model/src/main/java/com/vaadin/hilla/parser/plugins/model/Annotation.java index 6f84f2c490..677d34e5d5 100644 --- a/packages/java/parser-jvm-plugin-model/src/main/java/dev/hilla/parser/plugins/model/Annotation.java +++ b/packages/java/parser-jvm-plugin-model/src/main/java/com/vaadin/hilla/parser/plugins/model/Annotation.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.model; +package com.vaadin.hilla.parser.plugins.model; import javax.annotation.Nonnull; import java.util.Map; diff --git a/packages/java/parser-jvm-plugin-model/src/main/java/dev/hilla/parser/plugins/model/ModelPlugin.java b/packages/java/parser-jvm-plugin-model/src/main/java/com/vaadin/hilla/parser/plugins/model/ModelPlugin.java similarity index 86% rename from packages/java/parser-jvm-plugin-model/src/main/java/dev/hilla/parser/plugins/model/ModelPlugin.java rename to packages/java/parser-jvm-plugin-model/src/main/java/com/vaadin/hilla/parser/plugins/model/ModelPlugin.java index d58bb33f76..8716aa68c1 100644 --- a/packages/java/parser-jvm-plugin-model/src/main/java/dev/hilla/parser/plugins/model/ModelPlugin.java +++ b/packages/java/parser-jvm-plugin-model/src/main/java/com/vaadin/hilla/parser/plugins/model/ModelPlugin.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.model; +package com.vaadin.hilla.parser.plugins.model; import java.lang.reflect.AnnotatedArrayType; import java.util.Collection; @@ -9,22 +9,22 @@ import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractPlugin; -import dev.hilla.parser.core.NodeDependencies; -import dev.hilla.parser.core.NodePath; -import dev.hilla.parser.core.Plugin; -import dev.hilla.parser.core.PluginConfiguration; -import dev.hilla.parser.models.AnnotatedModel; -import dev.hilla.parser.models.AnnotationInfoModel; -import dev.hilla.parser.models.AnnotationParameterModel; -import dev.hilla.parser.models.ArraySignatureModel; -import dev.hilla.parser.models.BaseSignatureModel; -import dev.hilla.parser.models.ClassRefSignatureModel; -import dev.hilla.parser.models.SignatureModel; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.backbone.nodes.AnnotatedNode; -import dev.hilla.parser.plugins.backbone.nodes.PropertyNode; -import dev.hilla.parser.plugins.backbone.nodes.TypedNode; +import com.vaadin.hilla.parser.core.AbstractPlugin; +import com.vaadin.hilla.parser.core.NodeDependencies; +import com.vaadin.hilla.parser.core.NodePath; +import com.vaadin.hilla.parser.core.Plugin; +import com.vaadin.hilla.parser.core.PluginConfiguration; +import com.vaadin.hilla.parser.models.AnnotatedModel; +import com.vaadin.hilla.parser.models.AnnotationInfoModel; +import com.vaadin.hilla.parser.models.AnnotationParameterModel; +import com.vaadin.hilla.parser.models.ArraySignatureModel; +import com.vaadin.hilla.parser.models.BaseSignatureModel; +import com.vaadin.hilla.parser.models.ClassRefSignatureModel; +import com.vaadin.hilla.parser.models.SignatureModel; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.backbone.nodes.AnnotatedNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.PropertyNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.TypedNode; import io.swagger.v3.oas.models.media.Schema; diff --git a/packages/java/parser-jvm-plugin-model/src/main/java/dev/hilla/parser/plugins/model/ValidationConstraint.java b/packages/java/parser-jvm-plugin-model/src/main/java/com/vaadin/hilla/parser/plugins/model/ValidationConstraint.java similarity index 92% rename from packages/java/parser-jvm-plugin-model/src/main/java/dev/hilla/parser/plugins/model/ValidationConstraint.java rename to packages/java/parser-jvm-plugin-model/src/main/java/com/vaadin/hilla/parser/plugins/model/ValidationConstraint.java index c580ceef57..d662e4561d 100644 --- a/packages/java/parser-jvm-plugin-model/src/main/java/dev/hilla/parser/plugins/model/ValidationConstraint.java +++ b/packages/java/parser-jvm-plugin-model/src/main/java/com/vaadin/hilla/parser/plugins/model/ValidationConstraint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.model; +package com.vaadin.hilla.parser.plugins.model; import java.util.Map; diff --git a/packages/java/parser-jvm-plugin-model/src/main/java/module-info.java b/packages/java/parser-jvm-plugin-model/src/main/java/module-info.java index 88be2e4f75..5ba2bf9792 100644 --- a/packages/java/parser-jvm-plugin-model/src/main/java/module-info.java +++ b/packages/java/parser-jvm-plugin-model/src/main/java/module-info.java @@ -1,13 +1,13 @@ -module dev.hilla.parser.plugins.model { +module com.vaadin.hilla.parser.plugins.model { requires com.fasterxml.jackson.databind; - requires dev.hilla.parser.core; - requires dev.hilla.parser.plugins.backbone; - requires dev.hilla.parser.utils; + requires com.vaadin.hilla.parser.core; + requires com.vaadin.hilla.parser.plugins.backbone; + requires com.vaadin.hilla.parser.utils; requires jakarta.annotation; requires jsr305; requires io.github.classgraph; requires io.swagger.v3.oas.models; - opens dev.hilla.parser.plugins.model to dev.hilla.parser.core; - exports dev.hilla.parser.plugins.model; + opens com.vaadin.hilla.parser.plugins.model to com.vaadin.hilla.parser.core; + exports com.vaadin.hilla.parser.plugins.model; } diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/test/helpers/TestHelper.java b/packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/model/test/helpers/TestHelper.java similarity index 84% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/test/helpers/TestHelper.java rename to packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/model/test/helpers/TestHelper.java index 232b7c3c01..9711cbf64e 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/test/helpers/TestHelper.java +++ b/packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/model/test/helpers/TestHelper.java @@ -1,6 +1,6 @@ -package dev.hilla.parser.plugins.backbone.test.helpers; +package com.vaadin.hilla.parser.model.test.helpers; -import static dev.hilla.parser.testutils.JsonAssertions.assertEquals; +import static com.vaadin.hilla.parser.testutils.JsonAssertions.assertEquals; import java.io.IOException; import java.net.URISyntaxException; @@ -8,7 +8,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; -import dev.hilla.parser.testutils.ResourceLoader; +import com.vaadin.hilla.parser.testutils.ResourceLoader; import io.swagger.v3.core.util.Json; import io.swagger.v3.oas.models.OpenAPI; diff --git a/packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/Endpoint.java b/packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/Endpoint.java similarity index 84% rename from packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/Endpoint.java rename to packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/Endpoint.java index 57e2fb50d2..ba0db5676a 100644 --- a/packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/Endpoint.java +++ b/packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/Endpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.model; +package com.vaadin.hilla.parser.plugins.model; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/EndpointExposed.java b/packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/EndpointExposed.java similarity index 84% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/EndpointExposed.java rename to packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/EndpointExposed.java index 9edfcf745e..1b544a5772 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/EndpointExposed.java +++ b/packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/EndpointExposed.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core.security; +package com.vaadin.hilla.parser.plugins.model; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/annotations/AnnotationsEndpoint.java b/packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/annotations/AnnotationsEndpoint.java similarity index 93% rename from packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/annotations/AnnotationsEndpoint.java rename to packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/annotations/AnnotationsEndpoint.java index 06d1647af2..6b92268c7c 100644 --- a/packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/annotations/AnnotationsEndpoint.java +++ b/packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/annotations/AnnotationsEndpoint.java @@ -1,6 +1,6 @@ -package dev.hilla.parser.plugins.model.annotations; +package com.vaadin.hilla.parser.plugins.model.annotations; -import dev.hilla.parser.plugins.model.Endpoint; +import com.vaadin.hilla.parser.plugins.model.Endpoint; import jakarta.persistence.Column; import jakarta.persistence.FetchType; import jakarta.persistence.GeneratedValue; diff --git a/packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/annotations/AnnotationsTest.java b/packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/annotations/AnnotationsTest.java similarity index 60% rename from packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/annotations/AnnotationsTest.java rename to packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/annotations/AnnotationsTest.java index 1c61362e5b..08ca9d1fe1 100644 --- a/packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/annotations/AnnotationsTest.java +++ b/packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/annotations/AnnotationsTest.java @@ -1,11 +1,11 @@ -package dev.hilla.parser.plugins.model.annotations; +package com.vaadin.hilla.parser.plugins.model.annotations; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.model.test.helpers.TestHelper; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.model.Endpoint; -import dev.hilla.parser.plugins.model.EndpointExposed; -import dev.hilla.parser.plugins.model.ModelPlugin; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.model.test.helpers.TestHelper; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.model.Endpoint; +import com.vaadin.hilla.parser.plugins.model.EndpointExposed; +import com.vaadin.hilla.parser.plugins.model.ModelPlugin; import org.junit.jupiter.api.Test; import java.io.IOException; @@ -19,8 +19,8 @@ public class AnnotationsTest { public void should_GenerateAnnotations() throws IOException, URISyntaxException { var openAPI = new Parser().classLoader(getClass().getClassLoader()) - .exposedPackages( - Set.of("dev.hilla.parser.plugins.model.annotations")) + .exposedPackages(Set.of( + "com.vaadin.hilla.parser.plugins.model.annotations")) .classPath(Set.of(helper.getTargetDir().toString())) .endpointAnnotation(Endpoint.class.getName()) .endpointExposedAnnotation(EndpointExposed.class.getName()) diff --git a/packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/javatypes/JavaTypeEndpoint.java b/packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/javatypes/JavaTypeEndpoint.java similarity index 93% rename from packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/javatypes/JavaTypeEndpoint.java rename to packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/javatypes/JavaTypeEndpoint.java index b9c58adad1..2beb57bc1b 100644 --- a/packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/javatypes/JavaTypeEndpoint.java +++ b/packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/javatypes/JavaTypeEndpoint.java @@ -1,6 +1,6 @@ -package dev.hilla.parser.plugins.model.javatypes; +package com.vaadin.hilla.parser.plugins.model.javatypes; -import dev.hilla.parser.plugins.model.Endpoint; +import com.vaadin.hilla.parser.plugins.model.Endpoint; import jakarta.persistence.Column; import jakarta.persistence.GeneratedValue; import jakarta.persistence.GenerationType; diff --git a/packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/javatypes/JavaTypeTest.java b/packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/javatypes/JavaTypeTest.java similarity index 59% rename from packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/javatypes/JavaTypeTest.java rename to packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/javatypes/JavaTypeTest.java index aac63d1229..230f4f3ebd 100644 --- a/packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/javatypes/JavaTypeTest.java +++ b/packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/javatypes/JavaTypeTest.java @@ -1,11 +1,11 @@ -package dev.hilla.parser.plugins.model.javatypes; +package com.vaadin.hilla.parser.plugins.model.javatypes; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.model.test.helpers.TestHelper; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.model.Endpoint; -import dev.hilla.parser.plugins.model.EndpointExposed; -import dev.hilla.parser.plugins.model.ModelPlugin; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.model.test.helpers.TestHelper; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.model.Endpoint; +import com.vaadin.hilla.parser.plugins.model.EndpointExposed; +import com.vaadin.hilla.parser.plugins.model.ModelPlugin; import org.junit.jupiter.api.Test; import java.io.IOException; @@ -19,8 +19,8 @@ public class JavaTypeTest { public void should_GenerateAnnotations() throws IOException, URISyntaxException { var openAPI = new Parser().classLoader(getClass().getClassLoader()) - .exposedPackages( - Set.of("dev.hilla.parser.plugins.model.javatypes")) + .exposedPackages(Set + .of("com.vaadin.hilla.parser.plugins.model.javatypes")) .classPath(Set.of(helper.getTargetDir().toString())) .endpointAnnotation(Endpoint.class.getName()) .endpointExposedAnnotation(EndpointExposed.class.getName()) diff --git a/packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/validation/ValidationEndpoint.java b/packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/validation/ValidationEndpoint.java similarity index 96% rename from packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/validation/ValidationEndpoint.java rename to packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/validation/ValidationEndpoint.java index ae0af8ff07..9bf82a8bab 100644 --- a/packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/validation/ValidationEndpoint.java +++ b/packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/validation/ValidationEndpoint.java @@ -1,9 +1,9 @@ -package dev.hilla.parser.plugins.model.validation; +package com.vaadin.hilla.parser.plugins.model.validation; import java.time.LocalDate; import java.util.List; -import dev.hilla.parser.plugins.model.Endpoint; +import com.vaadin.hilla.parser.plugins.model.Endpoint; import jakarta.validation.constraints.AssertFalse; import jakarta.validation.constraints.AssertTrue; import jakarta.validation.constraints.DecimalMax; diff --git a/packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/validation/ValidationTest.java b/packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/validation/ValidationTest.java similarity index 59% rename from packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/validation/ValidationTest.java rename to packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/validation/ValidationTest.java index 05f7ee7c4e..7f8eb8628d 100644 --- a/packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/validation/ValidationTest.java +++ b/packages/java/parser-jvm-plugin-model/src/test/java/com/vaadin/hilla/parser/plugins/model/validation/ValidationTest.java @@ -1,17 +1,17 @@ -package dev.hilla.parser.plugins.model.validation; +package com.vaadin.hilla.parser.plugins.model.validation; import java.io.IOException; import java.net.URISyntaxException; import java.util.Set; -import dev.hilla.parser.plugins.model.Endpoint; -import dev.hilla.parser.plugins.model.EndpointExposed; +import com.vaadin.hilla.parser.plugins.model.Endpoint; +import com.vaadin.hilla.parser.plugins.model.EndpointExposed; import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.model.test.helpers.TestHelper; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.model.ModelPlugin; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.model.test.helpers.TestHelper; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.model.ModelPlugin; public class ValidationTest { private final TestHelper helper = new TestHelper(getClass()); @@ -20,8 +20,8 @@ public class ValidationTest { public void should_GenerateValidations() throws IOException, URISyntaxException { var openAPI = new Parser().classLoader(getClass().getClassLoader()) - .exposedPackages( - Set.of("dev.hilla.parser.plugins.model.validation")) + .exposedPackages(Set + .of("com.vaadin.hilla.parser.plugins.model.validation")) .classPath(Set.of(helper.getTargetDir().toString())) .endpointAnnotation(Endpoint.class.getName()) .endpointExposedAnnotation(EndpointExposed.class.getName()) diff --git a/packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/EndpointExposed.java b/packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/EndpointExposed.java deleted file mode 100644 index ae28fd4f75..0000000000 --- a/packages/java/parser-jvm-plugin-model/src/test/java/dev/hilla/parser/plugins/model/EndpointExposed.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.model; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface EndpointExposed { -} diff --git a/packages/java/parser-jvm-plugin-model/src/test/resources/dev/hilla/parser/plugins/model/annotations/openapi.json b/packages/java/parser-jvm-plugin-model/src/test/resources/com/vaadin/hilla/parser/plugins/model/annotations/openapi.json similarity index 77% rename from packages/java/parser-jvm-plugin-model/src/test/resources/dev/hilla/parser/plugins/model/annotations/openapi.json rename to packages/java/parser-jvm-plugin-model/src/test/resources/com/vaadin/hilla/parser/plugins/model/annotations/openapi.json index 33fe4d3c8b..c05b9c4131 100644 --- a/packages/java/parser-jvm-plugin-model/src/test/resources/dev/hilla/parser/plugins/model/annotations/openapi.json +++ b/packages/java/parser-jvm-plugin-model/src/test/resources/com/vaadin/hilla/parser/plugins/model/annotations/openapi.json @@ -13,7 +13,7 @@ "tags" : [ { "name" : "AnnotationsEndpoint", - "x-class-name" : "dev.hilla.parser.plugins.model.annotations.AnnotationsEndpoint" + "x-class-name" : "com.vaadin.hilla.parser.plugins.model.annotations.AnnotationsEndpoint" } ], "paths" : { @@ -32,7 +32,7 @@ "nullable" : true, "anyOf" : [ { - "$ref" : "#/components/schemas/dev.hilla.parser.plugins.model.annotations.AnnotationsEndpoint$AnnotationTestEntity" + "$ref" : "#/components/schemas/com.vaadin.hilla.parser.plugins.model.annotations.AnnotationsEndpoint$AnnotationTestEntity" } ] } @@ -45,7 +45,7 @@ }, "components" : { "schemas" : { - "dev.hilla.parser.plugins.model.annotations.AnnotationsEndpoint$AnnotationTestEntity" : { + "com.vaadin.hilla.parser.plugins.model.annotations.AnnotationsEndpoint$AnnotationTestEntity" : { "type" : "object", "properties" : { "id" : { @@ -73,7 +73,7 @@ "nullable" : true, "anyOf" : [ { - "$ref" : "#/components/schemas/dev.hilla.parser.plugins.model.annotations.AnnotationsEndpoint$NestedEntity" + "$ref" : "#/components/schemas/com.vaadin.hilla.parser.plugins.model.annotations.AnnotationsEndpoint$NestedEntity" } ], "x-annotations" : [ @@ -89,7 +89,7 @@ "nullable" : true, "anyOf" : [ { - "$ref" : "#/components/schemas/dev.hilla.parser.plugins.model.annotations.AnnotationsEndpoint$NestedEntity" + "$ref" : "#/components/schemas/com.vaadin.hilla.parser.plugins.model.annotations.AnnotationsEndpoint$NestedEntity" } ] }, @@ -104,7 +104,7 @@ "nullable" : true, "anyOf" : [ { - "$ref" : "#/components/schemas/dev.hilla.parser.plugins.model.annotations.AnnotationsEndpoint$NestedEntity" + "$ref" : "#/components/schemas/com.vaadin.hilla.parser.plugins.model.annotations.AnnotationsEndpoint$NestedEntity" } ], "x-annotations" : [ @@ -120,7 +120,7 @@ "nullable" : true, "anyOf" : [ { - "$ref" : "#/components/schemas/dev.hilla.parser.plugins.model.annotations.AnnotationsEndpoint$NestedEntity" + "$ref" : "#/components/schemas/com.vaadin.hilla.parser.plugins.model.annotations.AnnotationsEndpoint$NestedEntity" } ] }, @@ -138,7 +138,7 @@ "nullable" : true, "anyOf" : [ { - "$ref" : "#/components/schemas/dev.hilla.parser.plugins.model.annotations.AnnotationsEndpoint$NestedEntity" + "$ref" : "#/components/schemas/com.vaadin.hilla.parser.plugins.model.annotations.AnnotationsEndpoint$NestedEntity" } ] }, @@ -156,7 +156,7 @@ } } }, - "dev.hilla.parser.plugins.model.annotations.AnnotationsEndpoint$NestedEntity" : { + "com.vaadin.hilla.parser.plugins.model.annotations.AnnotationsEndpoint$NestedEntity" : { "type" : "object", "properties" : { "name" : { diff --git a/packages/java/parser-jvm-plugin-model/src/test/resources/dev/hilla/parser/plugins/model/javatypes/openapi.json b/packages/java/parser-jvm-plugin-model/src/test/resources/com/vaadin/hilla/parser/plugins/model/javatypes/openapi.json similarity index 91% rename from packages/java/parser-jvm-plugin-model/src/test/resources/dev/hilla/parser/plugins/model/javatypes/openapi.json rename to packages/java/parser-jvm-plugin-model/src/test/resources/com/vaadin/hilla/parser/plugins/model/javatypes/openapi.json index 71da2bdcd7..b392f5ff33 100644 --- a/packages/java/parser-jvm-plugin-model/src/test/resources/dev/hilla/parser/plugins/model/javatypes/openapi.json +++ b/packages/java/parser-jvm-plugin-model/src/test/resources/com/vaadin/hilla/parser/plugins/model/javatypes/openapi.json @@ -13,7 +13,7 @@ "tags" : [ { "name" : "JavaTypeEndpoint", - "x-class-name" : "dev.hilla.parser.plugins.model.javatypes.JavaTypeEndpoint" + "x-class-name" : "com.vaadin.hilla.parser.plugins.model.javatypes.JavaTypeEndpoint" } ], "paths" : { @@ -32,7 +32,7 @@ "nullable" : true, "anyOf" : [ { - "$ref" : "#/components/schemas/dev.hilla.parser.plugins.model.javatypes.JavaTypeEndpoint$JavaTypeTestEntity" + "$ref" : "#/components/schemas/com.vaadin.hilla.parser.plugins.model.javatypes.JavaTypeEndpoint$JavaTypeTestEntity" } ] } @@ -45,7 +45,7 @@ }, "components" : { "schemas" : { - "dev.hilla.parser.plugins.model.javatypes.JavaTypeEndpoint$JavaTypeTestEntity" : { + "com.vaadin.hilla.parser.plugins.model.javatypes.JavaTypeEndpoint$JavaTypeTestEntity" : { "type" : "object", "properties" : { "aBoolean" : { @@ -195,13 +195,13 @@ "nullable" : true, "anyOf" : [ { - "$ref" : "#/components/schemas/dev.hilla.parser.plugins.model.javatypes.JavaTypeEndpoint$CustomEntity" + "$ref" : "#/components/schemas/com.vaadin.hilla.parser.plugins.model.javatypes.JavaTypeEndpoint$CustomEntity" } ] } } }, - "dev.hilla.parser.plugins.model.javatypes.JavaTypeEndpoint$CustomEntity" : { + "com.vaadin.hilla.parser.plugins.model.javatypes.JavaTypeEndpoint$CustomEntity" : { "type" : "object", "properties" : { "value" : { diff --git a/packages/java/parser-jvm-plugin-model/src/test/resources/dev/hilla/parser/plugins/model/validation/openapi.json b/packages/java/parser-jvm-plugin-model/src/test/resources/com/vaadin/hilla/parser/plugins/model/validation/openapi.json similarity index 95% rename from packages/java/parser-jvm-plugin-model/src/test/resources/dev/hilla/parser/plugins/model/validation/openapi.json rename to packages/java/parser-jvm-plugin-model/src/test/resources/com/vaadin/hilla/parser/plugins/model/validation/openapi.json index efba445c7b..8ee942efd8 100644 --- a/packages/java/parser-jvm-plugin-model/src/test/resources/dev/hilla/parser/plugins/model/validation/openapi.json +++ b/packages/java/parser-jvm-plugin-model/src/test/resources/com/vaadin/hilla/parser/plugins/model/validation/openapi.json @@ -13,7 +13,7 @@ "tags": [ { "name": "ValidationEndpoint", - "x-class-name": "dev.hilla.parser.plugins.model.validation.ValidationEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.model.validation.ValidationEndpoint" } ], "paths": { @@ -30,7 +30,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.model.validation.ValidationEndpoint$ValidationData" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.model.validation.ValidationEndpoint$ValidationData" } ] } @@ -43,7 +43,7 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.model.validation.ValidationEndpoint$ValidationData": { + "com.vaadin.hilla.parser.plugins.model.validation.ValidationEndpoint$ValidationData": { "type": "object", "properties": { "assertFalse": { @@ -242,7 +242,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.model.validation.ValidationEndpoint$ValidationData" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.model.validation.ValidationEndpoint$ValidationData" } ], "x-validation-constraints": [ diff --git a/packages/java/parser-jvm-plugin-nonnull/pom.xml b/packages/java/parser-jvm-plugin-nonnull/pom.xml index 42c9822b58..6db6a68f0b 100644 --- a/packages/java/parser-jvm-plugin-nonnull/pom.xml +++ b/packages/java/parser-jvm-plugin-nonnull/pom.xml @@ -5,7 +5,7 @@ 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml @@ -21,7 +21,7 @@ - dev.hilla + com.vaadin.hilla parser-jvm-core ${project.version} @@ -39,17 +39,17 @@ test - dev.hilla + com.vaadin.hilla parser-jvm-utils ${project.version} - dev.hilla + com.vaadin.hilla parser-jvm-plugin-backbone ${project.version} - dev.hilla + com.vaadin.hilla parser-jvm-test-utils ${project.version} test diff --git a/packages/java/parser-jvm-plugin-nonnull/src/main/java/dev/hilla/parser/plugins/nonnull/AnnotationMatcher.java b/packages/java/parser-jvm-plugin-nonnull/src/main/java/com/vaadin/hilla/parser/plugins/nonnull/AnnotationMatcher.java similarity index 97% rename from packages/java/parser-jvm-plugin-nonnull/src/main/java/dev/hilla/parser/plugins/nonnull/AnnotationMatcher.java rename to packages/java/parser-jvm-plugin-nonnull/src/main/java/com/vaadin/hilla/parser/plugins/nonnull/AnnotationMatcher.java index d54a1f5235..16bc9f09a0 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/main/java/dev/hilla/parser/plugins/nonnull/AnnotationMatcher.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/main/java/com/vaadin/hilla/parser/plugins/nonnull/AnnotationMatcher.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.nonnull; +package com.vaadin.hilla.parser.plugins.nonnull; import java.util.Objects; diff --git a/packages/java/parser-jvm-plugin-nonnull/src/main/java/dev/hilla/parser/plugins/nonnull/NonnullPlugin.java b/packages/java/parser-jvm-plugin-nonnull/src/main/java/com/vaadin/hilla/parser/plugins/nonnull/NonnullPlugin.java similarity index 83% rename from packages/java/parser-jvm-plugin-nonnull/src/main/java/dev/hilla/parser/plugins/nonnull/NonnullPlugin.java rename to packages/java/parser-jvm-plugin-nonnull/src/main/java/com/vaadin/hilla/parser/plugins/nonnull/NonnullPlugin.java index 58619472d8..a91061f2db 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/main/java/dev/hilla/parser/plugins/nonnull/NonnullPlugin.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/main/java/com/vaadin/hilla/parser/plugins/nonnull/NonnullPlugin.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.nonnull; +package com.vaadin.hilla.parser.plugins.nonnull; import java.util.Collection; import java.util.Comparator; @@ -12,22 +12,22 @@ import javax.annotation.Nonnull; -import dev.hilla.parser.core.AbstractPlugin; -import dev.hilla.parser.core.NodeDependencies; -import dev.hilla.parser.core.NodePath; -import dev.hilla.parser.core.Plugin; -import dev.hilla.parser.core.PluginConfiguration; -import dev.hilla.parser.models.AnnotatedModel; -import dev.hilla.parser.models.AnnotationInfoModel; -import dev.hilla.parser.models.ClassInfoModel; -import dev.hilla.parser.models.PackageInfoModel; -import dev.hilla.parser.models.SpecializedModel; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.backbone.nodes.AnnotatedNode; -import dev.hilla.parser.plugins.backbone.nodes.MethodNode; -import dev.hilla.parser.plugins.backbone.nodes.MethodParameterNode; -import dev.hilla.parser.plugins.backbone.nodes.PropertyNode; -import dev.hilla.parser.plugins.backbone.nodes.TypedNode; +import com.vaadin.hilla.parser.core.AbstractPlugin; +import com.vaadin.hilla.parser.core.NodeDependencies; +import com.vaadin.hilla.parser.core.NodePath; +import com.vaadin.hilla.parser.core.Plugin; +import com.vaadin.hilla.parser.core.PluginConfiguration; +import com.vaadin.hilla.parser.models.AnnotatedModel; +import com.vaadin.hilla.parser.models.AnnotationInfoModel; +import com.vaadin.hilla.parser.models.ClassInfoModel; +import com.vaadin.hilla.parser.models.PackageInfoModel; +import com.vaadin.hilla.parser.models.SpecializedModel; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.backbone.nodes.AnnotatedNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.MethodNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.MethodParameterNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.PropertyNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.TypedNode; import io.swagger.v3.oas.models.media.Schema; diff --git a/packages/java/parser-jvm-plugin-nonnull/src/main/java/dev/hilla/parser/plugins/nonnull/NonnullPluginConfig.java b/packages/java/parser-jvm-plugin-nonnull/src/main/java/com/vaadin/hilla/parser/plugins/nonnull/NonnullPluginConfig.java similarity index 89% rename from packages/java/parser-jvm-plugin-nonnull/src/main/java/dev/hilla/parser/plugins/nonnull/NonnullPluginConfig.java rename to packages/java/parser-jvm-plugin-nonnull/src/main/java/com/vaadin/hilla/parser/plugins/nonnull/NonnullPluginConfig.java index 62ac5ce481..50a2530a09 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/main/java/dev/hilla/parser/plugins/nonnull/NonnullPluginConfig.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/main/java/com/vaadin/hilla/parser/plugins/nonnull/NonnullPluginConfig.java @@ -1,11 +1,11 @@ -package dev.hilla.parser.plugins.nonnull; +package com.vaadin.hilla.parser.plugins.nonnull; import java.util.Collection; import java.util.HashSet; import java.util.Set; -import dev.hilla.parser.core.PluginConfiguration; -import dev.hilla.parser.utils.ConfigList; +import com.vaadin.hilla.parser.core.PluginConfiguration; +import com.vaadin.hilla.parser.utils.ConfigList; public class NonnullPluginConfig implements ConfigList, PluginConfiguration { @@ -56,7 +56,7 @@ static class Processor extends ConfigList.Processor { new AnnotationMatcher("androidx.annotation.Nullable", true, 20), new AnnotationMatcher("org.eclipse.jdt.annotation.Nullable", true, 20), - new AnnotationMatcher("dev.hilla.Nullable", true, 20), + new AnnotationMatcher("com.vaadin.hilla.Nullable", true, 20), // Nonnull-like annotations have the highest score for // compatibility with the old generator new AnnotationMatcher("jakarta.annotation.Nonnull", false, 30), @@ -67,7 +67,7 @@ static class Processor extends ConfigList.Processor { new AnnotationMatcher("androidx.annotation.NonNull", false, 30), new AnnotationMatcher("org.eclipse.jdt.annotation.NonNull", false, 30), - new AnnotationMatcher("dev.hilla.Nonnull", false, 30)); + new AnnotationMatcher("com.vaadin.hilla.Nonnull", false, 30)); public Processor(NonnullPluginConfig config) { super(config, defaults); diff --git a/packages/java/parser-jvm-plugin-nonnull/src/main/java/module-info.java b/packages/java/parser-jvm-plugin-nonnull/src/main/java/module-info.java index 571ffefab1..79fb603c70 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/main/java/module-info.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/main/java/module-info.java @@ -1,12 +1,12 @@ -module dev.hilla.parser.plugins.nonnull { +module com.vaadin.hilla.parser.plugins.nonnull { requires com.fasterxml.jackson.databind; - requires dev.hilla.parser.plugins.backbone; - requires dev.hilla.parser.utils; + requires com.vaadin.hilla.parser.plugins.backbone; + requires com.vaadin.hilla.parser.utils; requires jsr305; requires jakarta.annotation; requires io.swagger.v3.oas.models; requires io.github.classgraph; - requires dev.hilla.parser.core; + requires com.vaadin.hilla.parser.core; - exports dev.hilla.parser.plugins.nonnull; + exports com.vaadin.hilla.parser.plugins.nonnull; } diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/basic/BasicEndpoint.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/basic/BasicEndpoint.java similarity index 97% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/basic/BasicEndpoint.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/basic/BasicEndpoint.java index e7e4f4754f..5e28daf6d5 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/basic/BasicEndpoint.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/basic/BasicEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.nonnull.basic; +package com.vaadin.hilla.parser.plugins.nonnull.basic; import java.util.List; import java.util.Map; diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/basic/BasicTest.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/basic/BasicTest.java similarity index 79% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/basic/BasicTest.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/basic/BasicTest.java index 4ac078c2d9..1d936ab789 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/basic/BasicTest.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/basic/BasicTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.nonnull.basic; +package com.vaadin.hilla.parser.plugins.nonnull.basic; import java.io.IOException; import java.net.URISyntaxException; @@ -7,12 +7,12 @@ import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.nonnull.AnnotationMatcher; -import dev.hilla.parser.plugins.nonnull.NonnullPlugin; -import dev.hilla.parser.plugins.nonnull.NonnullPluginConfig; -import dev.hilla.parser.plugins.nonnull.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.nonnull.AnnotationMatcher; +import com.vaadin.hilla.parser.plugins.nonnull.NonnullPlugin; +import com.vaadin.hilla.parser.plugins.nonnull.NonnullPluginConfig; +import com.vaadin.hilla.parser.plugins.nonnull.test.helpers.TestHelper; public class BasicTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/basic/Endpoint.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/basic/Endpoint.java new file mode 100644 index 0000000000..0387c0c948 --- /dev/null +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/basic/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.nonnull.basic; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/basic/EndpointExposed.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/basic/EndpointExposed.java new file mode 100644 index 0000000000..4576c4044b --- /dev/null +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/basic/EndpointExposed.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.nonnull.basic; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface EndpointExposed { +} diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/basic/Nonnull.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/basic/Nonnull.java similarity index 85% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/basic/Nonnull.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/basic/Nonnull.java index 9e418e66c5..315f500a7b 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/basic/Nonnull.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/basic/Nonnull.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.nonnull.basic; +package com.vaadin.hilla.parser.plugins.nonnull.basic; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/extended/Endpoint.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/extended/Endpoint.java new file mode 100644 index 0000000000..75a9028df6 --- /dev/null +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/extended/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.nonnull.extended; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/extended/EndpointExposed.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/extended/EndpointExposed.java new file mode 100644 index 0000000000..a55550af84 --- /dev/null +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/extended/EndpointExposed.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.nonnull.extended; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface EndpointExposed { +} diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/extended/ExtendedEndpoint.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/extended/ExtendedEndpoint.java similarity index 84% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/extended/ExtendedEndpoint.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/extended/ExtendedEndpoint.java index d50ab17f30..3c88b587da 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/extended/ExtendedEndpoint.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/extended/ExtendedEndpoint.java @@ -1,10 +1,10 @@ -package dev.hilla.parser.plugins.nonnull.extended; +package com.vaadin.hilla.parser.plugins.nonnull.extended; import java.util.Collections; import java.util.List; import java.util.Map; -import dev.hilla.parser.plugins.nonnull.basic.BasicEndpoint; +import com.vaadin.hilla.parser.plugins.nonnull.basic.BasicEndpoint; @Endpoint public class ExtendedEndpoint extends BasicEndpoint { diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/extended/ExtendedTest.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/extended/ExtendedTest.java similarity index 68% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/extended/ExtendedTest.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/extended/ExtendedTest.java index b8176180d6..d2cbf19add 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/extended/ExtendedTest.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/extended/ExtendedTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.nonnull.extended; +package com.vaadin.hilla.parser.plugins.nonnull.extended; import java.io.IOException; import java.net.URISyntaxException; @@ -6,12 +6,12 @@ import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.nonnull.AnnotationMatcher; -import dev.hilla.parser.plugins.nonnull.NonnullPlugin; -import dev.hilla.parser.plugins.nonnull.NonnullPluginConfig; -import dev.hilla.parser.plugins.nonnull.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.nonnull.AnnotationMatcher; +import com.vaadin.hilla.parser.plugins.nonnull.NonnullPlugin; +import com.vaadin.hilla.parser.plugins.nonnull.NonnullPluginConfig; +import com.vaadin.hilla.parser.plugins.nonnull.test.helpers.TestHelper; public class ExtendedTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/extended/Nonnull.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/extended/Nonnull.java similarity index 84% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/extended/Nonnull.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/extended/Nonnull.java index 5f1e4fa27f..8d971acb96 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/extended/Nonnull.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/extended/Nonnull.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.nonnull.extended; +package com.vaadin.hilla.parser.plugins.nonnull.extended; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/Endpoint.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/Endpoint.java new file mode 100644 index 0000000000..f9667ea9f0 --- /dev/null +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.nonnull.nonnullapi; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/EndpointExposed.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/EndpointExposed.java new file mode 100644 index 0000000000..0feddda70d --- /dev/null +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/EndpointExposed.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.nonnull.nonnullapi; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface EndpointExposed { +} diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/NonNullApi.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/NonNullApi.java similarity index 83% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/NonNullApi.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/NonNullApi.java index c3d434c0a6..d8f752d017 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/NonNullApi.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/NonNullApi.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.nonnull.nonnullapi; +package com.vaadin.hilla.parser.plugins.nonnull.nonnullapi; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/NonNullApiEndpoint.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/NonNullApiEndpoint.java similarity index 88% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/NonNullApiEndpoint.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/NonNullApiEndpoint.java index a60296c015..7d6153a55e 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/NonNullApiEndpoint.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/NonNullApiEndpoint.java @@ -1,10 +1,10 @@ -package dev.hilla.parser.plugins.nonnull.nonnullapi; +package com.vaadin.hilla.parser.plugins.nonnull.nonnullapi; import java.util.Map; import java.util.Optional; import java.util.Set; -import dev.hilla.parser.plugins.nonnull.nonnullapi.subpackage.SubPackageDependency; +import com.vaadin.hilla.parser.plugins.nonnull.nonnullapi.subpackage.SubPackageDependency; @Endpoint public class NonNullApiEndpoint { diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/NonNullApiTest.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/NonNullApiTest.java similarity index 75% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/NonNullApiTest.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/NonNullApiTest.java index 26da2719b7..be5399e54e 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/NonNullApiTest.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/NonNullApiTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.nonnull.nonnullapi; +package com.vaadin.hilla.parser.plugins.nonnull.nonnullapi; import java.io.IOException; import java.net.URISyntaxException; @@ -6,12 +6,12 @@ import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.nonnull.AnnotationMatcher; -import dev.hilla.parser.plugins.nonnull.NonnullPlugin; -import dev.hilla.parser.plugins.nonnull.NonnullPluginConfig; -import dev.hilla.parser.plugins.nonnull.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.nonnull.AnnotationMatcher; +import com.vaadin.hilla.parser.plugins.nonnull.NonnullPlugin; +import com.vaadin.hilla.parser.plugins.nonnull.NonnullPluginConfig; +import com.vaadin.hilla.parser.plugins.nonnull.test.helpers.TestHelper; public class NonNullApiTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/NullableField.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/NullableField.java similarity index 83% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/NullableField.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/NullableField.java index f0c548967e..9bf64af635 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/NullableField.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/NullableField.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.nonnull.nonnullapi; +package com.vaadin.hilla.parser.plugins.nonnull.nonnullapi; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/NullableMethod.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/NullableMethod.java similarity index 84% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/NullableMethod.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/NullableMethod.java index 78c682f30e..eed869ce6a 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/NullableMethod.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/NullableMethod.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.nonnull.nonnullapi; +package com.vaadin.hilla.parser.plugins.nonnull.nonnullapi; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/NullableParameter.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/NullableParameter.java similarity index 84% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/NullableParameter.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/NullableParameter.java index 1780bf7dec..7d9af0c50a 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/NullableParameter.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/NullableParameter.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.nonnull.nonnullapi; +package com.vaadin.hilla.parser.plugins.nonnull.nonnullapi; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/NullableSignature.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/NullableSignature.java similarity index 84% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/NullableSignature.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/NullableSignature.java index f97f30b57d..965f0df075 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/NullableSignature.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/NullableSignature.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.nonnull.nonnullapi; +package com.vaadin.hilla.parser.plugins.nonnull.nonnullapi; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/package-info.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/package-info.java new file mode 100644 index 0000000000..73f5cb7cbd --- /dev/null +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/package-info.java @@ -0,0 +1,2 @@ +@NonNullApi +package com.vaadin.hilla.parser.plugins.nonnull.nonnullapi; diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/subpackage/SubPackageDependency.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/subpackage/SubPackageDependency.java similarity index 66% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/subpackage/SubPackageDependency.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/subpackage/SubPackageDependency.java index 81991a26cf..6d6f23479a 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/subpackage/SubPackageDependency.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/subpackage/SubPackageDependency.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.nonnull.nonnullapi.subpackage; +package com.vaadin.hilla.parser.plugins.nonnull.nonnullapi.subpackage; public class SubPackageDependency { // this is nullable, as @NonNullApi does not apply to subpackages diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/CrudEndpoint.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/CrudEndpoint.java similarity index 74% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/CrudEndpoint.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/CrudEndpoint.java index 87953dfe8d..5e3577fb32 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/CrudEndpoint.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/CrudEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.superclassmethods; +package com.vaadin.hilla.parser.plugins.nonnull.superclassmethods; @EndpointExposed public abstract class CrudEndpoint extends ReadOnlyEndpoint { diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/Endpoint.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/Endpoint.java new file mode 100644 index 0000000000..518ca1a423 --- /dev/null +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.nonnull.superclassmethods; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/EndpointExposed.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/EndpointExposed.java new file mode 100644 index 0000000000..c8066ebcf2 --- /dev/null +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/EndpointExposed.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.nonnull.superclassmethods; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface EndpointExposed { +} diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/NonEndpoint.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/NonEndpoint.java similarity index 90% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/NonEndpoint.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/NonEndpoint.java index 384ed1ae31..574166e685 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/NonEndpoint.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/NonEndpoint.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.parser.plugins.nonnull.superclassmethods; +package com.vaadin.hilla.parser.plugins.nonnull.superclassmethods; public interface NonEndpoint { default void nonEndpointMethod() { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/NonEndpointImpl.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/NonEndpointImpl.java similarity index 91% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/NonEndpointImpl.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/NonEndpointImpl.java index e48c35015f..85cc440792 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/NonEndpointImpl.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/NonEndpointImpl.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.parser.plugins.backbone.superclassmethods; +package com.vaadin.hilla.parser.plugins.nonnull.superclassmethods; public class NonEndpointImpl implements NonEndpoint { public void nonEndpointImplMethod() { diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/Nonnull.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/Nonnull.java similarity index 82% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/Nonnull.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/Nonnull.java index 053136595d..a7e38a54e4 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/Nonnull.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/Nonnull.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.superclassmethods; +package com.vaadin.hilla.parser.plugins.nonnull.superclassmethods; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/PagedData.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/PagedData.java similarity index 94% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/PagedData.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/PagedData.java index 26bc7690ab..5b7976ba44 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/PagedData.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/PagedData.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.parser.plugins.nonnull.superclassmethods; +package com.vaadin.hilla.parser.plugins.nonnull.superclassmethods; import java.util.Collections; import java.util.List; diff --git a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/PersonEndpoint.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/PersonEndpoint.java similarity index 84% rename from packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/PersonEndpoint.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/PersonEndpoint.java index 02239ac26e..ab0107a4eb 100644 --- a/packages/java/parser-jvm-plugin-backbone/src/test/java/dev/hilla/parser/plugins/backbone/superclassmethods/PersonEndpoint.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/PersonEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.backbone.superclassmethods; +package com.vaadin.hilla.parser.plugins.nonnull.superclassmethods; @Endpoint public class PersonEndpoint extends CrudEndpoint diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/ReadOnlyEndpoint.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/ReadOnlyEndpoint.java similarity index 92% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/ReadOnlyEndpoint.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/ReadOnlyEndpoint.java index 0a3a25e0db..8313eaccd0 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/ReadOnlyEndpoint.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/ReadOnlyEndpoint.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.parser.plugins.nonnull.superclassmethods; +package com.vaadin.hilla.parser.plugins.nonnull.superclassmethods; import java.util.Optional; diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/SuperClassMethodsTest.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/SuperClassMethodsTest.java similarity index 68% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/SuperClassMethodsTest.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/SuperClassMethodsTest.java index 18aa9c9fce..b8c51dc5de 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/SuperClassMethodsTest.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/SuperClassMethodsTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.nonnull.superclassmethods; +package com.vaadin.hilla.parser.plugins.nonnull.superclassmethods; import java.io.IOException; import java.net.URISyntaxException; @@ -6,12 +6,12 @@ import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.nonnull.AnnotationMatcher; -import dev.hilla.parser.plugins.nonnull.NonnullPlugin; -import dev.hilla.parser.plugins.nonnull.NonnullPluginConfig; -import dev.hilla.parser.plugins.nonnull.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.nonnull.AnnotationMatcher; +import com.vaadin.hilla.parser.plugins.nonnull.NonnullPlugin; +import com.vaadin.hilla.parser.plugins.nonnull.NonnullPluginConfig; +import com.vaadin.hilla.parser.plugins.nonnull.test.helpers.TestHelper; public class SuperClassMethodsTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/test/helpers/TestHelper.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/test/helpers/TestHelper.java similarity index 83% rename from packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/test/helpers/TestHelper.java rename to packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/test/helpers/TestHelper.java index e2cd1f2e2b..204d752018 100644 --- a/packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/test/helpers/TestHelper.java +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/java/com/vaadin/hilla/parser/plugins/nonnull/test/helpers/TestHelper.java @@ -1,6 +1,6 @@ -package dev.hilla.parser.plugins.subtypes.test.helpers; +package com.vaadin.hilla.parser.plugins.nonnull.test.helpers; -import static dev.hilla.parser.testutils.JsonAssertions.assertEquals; +import static com.vaadin.hilla.parser.testutils.JsonAssertions.assertEquals; import java.io.IOException; import java.net.URISyntaxException; @@ -8,7 +8,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; -import dev.hilla.parser.testutils.ResourceLoader; +import com.vaadin.hilla.parser.testutils.ResourceLoader; import io.swagger.v3.core.util.Json; import io.swagger.v3.oas.models.OpenAPI; diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/basic/Endpoint.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/basic/Endpoint.java deleted file mode 100644 index d0048ef685..0000000000 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/basic/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.nonnull.basic; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/basic/EndpointExposed.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/basic/EndpointExposed.java deleted file mode 100644 index c8f2e863c0..0000000000 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/basic/EndpointExposed.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.nonnull.basic; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface EndpointExposed { -} diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/extended/Endpoint.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/extended/Endpoint.java deleted file mode 100644 index 11f2ee4e83..0000000000 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/extended/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.nonnull.extended; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/extended/EndpointExposed.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/extended/EndpointExposed.java deleted file mode 100644 index 500a61d258..0000000000 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/extended/EndpointExposed.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.nonnull.extended; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface EndpointExposed { -} diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/Endpoint.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/Endpoint.java deleted file mode 100644 index def3f623a5..0000000000 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.nonnull.nonnullapi; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/EndpointExposed.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/EndpointExposed.java deleted file mode 100644 index 17eec9e035..0000000000 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/EndpointExposed.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.nonnull.nonnullapi; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface EndpointExposed { -} diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/package-info.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/package-info.java deleted file mode 100644 index 241ae73cd2..0000000000 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/nonnullapi/package-info.java +++ /dev/null @@ -1,2 +0,0 @@ -@NonNullApi -package dev.hilla.parser.plugins.nonnull.nonnullapi; diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/Endpoint.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/Endpoint.java deleted file mode 100644 index 7ddb85c78a..0000000000 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.nonnull.superclassmethods; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/EndpointExposed.java b/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/EndpointExposed.java deleted file mode 100644 index 948669c9ac..0000000000 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/superclassmethods/EndpointExposed.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.nonnull.superclassmethods; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface EndpointExposed { -} diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/resources/dev/hilla/parser/plugins/nonnull/basic/openapi.json b/packages/java/parser-jvm-plugin-nonnull/src/test/resources/com/vaadin/hilla/parser/plugins/nonnull/basic/openapi.json similarity index 88% rename from packages/java/parser-jvm-plugin-nonnull/src/test/resources/dev/hilla/parser/plugins/nonnull/basic/openapi.json rename to packages/java/parser-jvm-plugin-nonnull/src/test/resources/com/vaadin/hilla/parser/plugins/nonnull/basic/openapi.json index c3a8c908e7..bda246c418 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/resources/dev/hilla/parser/plugins/nonnull/basic/openapi.json +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/resources/com/vaadin/hilla/parser/plugins/nonnull/basic/openapi.json @@ -13,7 +13,7 @@ "tags": [ { "name": "BasicEndpoint", - "x-class-name": "dev.hilla.parser.plugins.nonnull.basic.BasicEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.nonnull.basic.BasicEndpoint" } ], "paths": { @@ -34,7 +34,7 @@ "items": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.nonnull.basic.BasicEndpoint$ExtendedNonNullableModel" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.basic.BasicEndpoint$ExtendedNonNullableModel" } ] } @@ -57,7 +57,7 @@ "items": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.nonnull.basic.BasicEndpoint$ExtendedNonNullableModel" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.basic.BasicEndpoint$ExtendedNonNullableModel" } ] } @@ -119,7 +119,7 @@ "nonNullableFieldModel" : { "anyOf" : [ { - "$ref" : "#/components/schemas/dev.hilla.parser.plugins.nonnull.basic.BasicEndpoint$NonNullableFieldModel" + "$ref" : "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.basic.BasicEndpoint$NonNullableFieldModel" } ] } @@ -136,7 +136,7 @@ "schema" : { "anyOf" : [ { - "$ref" : "#/components/schemas/dev.hilla.parser.plugins.nonnull.basic.BasicEndpoint$NonNullableFieldModel" + "$ref" : "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.basic.BasicEndpoint$NonNullableFieldModel" } ] } @@ -374,7 +374,7 @@ "items": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.nonnull.basic.BasicEndpoint$NonNullableModel" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.basic.BasicEndpoint$NonNullableModel" } ] } @@ -395,7 +395,7 @@ "items": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.nonnull.basic.BasicEndpoint$NonNullableModel" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.basic.BasicEndpoint$NonNullableModel" } ] } @@ -409,10 +409,10 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.nonnull.basic.BasicEndpoint$ExtendedNonNullableModel": { + "com.vaadin.hilla.parser.plugins.nonnull.basic.BasicEndpoint$ExtendedNonNullableModel": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.nonnull.basic.BasicEndpoint$NonNullableModel" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.basic.BasicEndpoint$NonNullableModel" }, { "type": "object", @@ -430,7 +430,7 @@ } ] }, - "dev.hilla.parser.plugins.nonnull.basic.BasicEndpoint$NonNullableFieldModel" : { + "com.vaadin.hilla.parser.plugins.nonnull.basic.BasicEndpoint$NonNullableFieldModel" : { "type" : "object", "properties" : { "stringList" : { @@ -441,7 +441,7 @@ } } }, - "dev.hilla.parser.plugins.nonnull.basic.BasicEndpoint$NonNullableModel": { + "com.vaadin.hilla.parser.plugins.nonnull.basic.BasicEndpoint$NonNullableModel": { "type": "object", "properties": { "complexTypeField": { @@ -451,7 +451,7 @@ "items": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.nonnull.basic.BasicEndpoint$NonNullableModel" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.basic.BasicEndpoint$NonNullableModel" } ] } diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/resources/dev/hilla/parser/plugins/nonnull/extended/openapi.json b/packages/java/parser-jvm-plugin-nonnull/src/test/resources/com/vaadin/hilla/parser/plugins/nonnull/extended/openapi.json similarity index 91% rename from packages/java/parser-jvm-plugin-nonnull/src/test/resources/dev/hilla/parser/plugins/nonnull/extended/openapi.json rename to packages/java/parser-jvm-plugin-nonnull/src/test/resources/com/vaadin/hilla/parser/plugins/nonnull/extended/openapi.json index a0261df8db..80509448e3 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/resources/dev/hilla/parser/plugins/nonnull/extended/openapi.json +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/resources/com/vaadin/hilla/parser/plugins/nonnull/extended/openapi.json @@ -13,7 +13,7 @@ "tags": [ { "name": "ExtendedEndpoint", - "x-class-name": "dev.hilla.parser.plugins.nonnull.extended.ExtendedEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.nonnull.extended.ExtendedEndpoint" } ], "paths": { @@ -32,7 +32,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.nonnull.extended.ExtendedEndpoint$Entity" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.extended.ExtendedEndpoint$Entity" } ] } @@ -110,7 +110,7 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.nonnull.extended.ExtendedEndpoint$Entity": { + "com.vaadin.hilla.parser.plugins.nonnull.extended.ExtendedEndpoint$Entity": { "type": "object", "properties": { "nonnullListOfNullableStrings": { diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/resources/dev/hilla/parser/plugins/nonnull/nonnullapi/openapi.json b/packages/java/parser-jvm-plugin-nonnull/src/test/resources/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/openapi.json similarity index 83% rename from packages/java/parser-jvm-plugin-nonnull/src/test/resources/dev/hilla/parser/plugins/nonnull/nonnullapi/openapi.json rename to packages/java/parser-jvm-plugin-nonnull/src/test/resources/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/openapi.json index 67d45c4c4e..f74b693566 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/resources/dev/hilla/parser/plugins/nonnull/nonnullapi/openapi.json +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/resources/com/vaadin/hilla/parser/plugins/nonnull/nonnullapi/openapi.json @@ -13,7 +13,7 @@ "tags": [ { "name": "NonNullApiEndpoint", - "x-class-name": "dev.hilla.parser.plugins.nonnull.nonnullapi.NonNullApiEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.nonnull.nonnullapi.NonNullApiEndpoint" } ], "paths": { @@ -43,7 +43,7 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.nonnull.nonnullapi.NonNullApiEndpoint$Dependency" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.nonnullapi.NonNullApiEndpoint$Dependency" } ] } @@ -68,7 +68,7 @@ "items": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.nonnull.nonnullapi.NonNullApiEndpoint$Dependency" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.nonnullapi.NonNullApiEndpoint$Dependency" } ] } @@ -90,7 +90,7 @@ "items": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.nonnull.nonnullapi.NonNullApiEndpoint$Dependency" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.nonnullapi.NonNullApiEndpoint$Dependency" } ] } @@ -130,7 +130,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.nonnull.nonnullapi.NonNullApiEndpoint$Dependency" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.nonnullapi.NonNullApiEndpoint$Dependency" } ] } @@ -156,7 +156,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.nonnull.nonnullapi.NonNullApiEndpoint$Dependency" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.nonnullapi.NonNullApiEndpoint$Dependency" } ] } @@ -180,7 +180,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.nonnull.nonnullapi.NonNullApiEndpoint$Dependency" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.nonnullapi.NonNullApiEndpoint$Dependency" } ] } @@ -220,7 +220,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.nonnull.nonnullapi.NonNullApiEndpoint$Dependency" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.nonnullapi.NonNullApiEndpoint$Dependency" } ] } @@ -277,7 +277,7 @@ "entity": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.nonnull.nonnullapi.subpackage.SubPackageDependency" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.nonnullapi.subpackage.SubPackageDependency" } ] } @@ -294,7 +294,7 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.nonnull.nonnullapi.subpackage.SubPackageDependency" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.nonnullapi.subpackage.SubPackageDependency" } ] } @@ -307,7 +307,7 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.nonnull.nonnullapi.NonNullApiEndpoint$Dependency": { + "com.vaadin.hilla.parser.plugins.nonnull.nonnullapi.NonNullApiEndpoint$Dependency": { "type": "object", "properties": { "defaultField": { @@ -323,7 +323,7 @@ } } }, - "dev.hilla.parser.plugins.nonnull.nonnullapi.subpackage.SubPackageDependency": { + "com.vaadin.hilla.parser.plugins.nonnull.nonnullapi.subpackage.SubPackageDependency": { "type": "object", "properties": { "defaultField": { diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/resources/dev/hilla/parser/plugins/nonnull/superclassmethods/openapi.json b/packages/java/parser-jvm-plugin-nonnull/src/test/resources/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/openapi.json similarity index 85% rename from packages/java/parser-jvm-plugin-nonnull/src/test/resources/dev/hilla/parser/plugins/nonnull/superclassmethods/openapi.json rename to packages/java/parser-jvm-plugin-nonnull/src/test/resources/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/openapi.json index a738a5c5b2..1a4d7c62b0 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/resources/dev/hilla/parser/plugins/nonnull/superclassmethods/openapi.json +++ b/packages/java/parser-jvm-plugin-nonnull/src/test/resources/com/vaadin/hilla/parser/plugins/nonnull/superclassmethods/openapi.json @@ -13,7 +13,7 @@ "tags": [ { "name": "PersonEndpoint", - "x-class-name": "dev.hilla.parser.plugins.nonnull.superclassmethods.PersonEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.nonnull.superclassmethods.PersonEndpoint" } ], "paths": { @@ -46,7 +46,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.nonnull.superclassmethods.PersonEndpoint$Person" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.superclassmethods.PersonEndpoint$Person" } ] } @@ -97,7 +97,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.nonnull.superclassmethods.PersonEndpoint$Person" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.superclassmethods.PersonEndpoint$Person" } ] } @@ -115,7 +115,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.nonnull.superclassmethods.PersonEndpoint$Person" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.superclassmethods.PersonEndpoint$Person" } ] } @@ -148,7 +148,7 @@ "additionalProperties": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.nonnull.superclassmethods.PersonEndpoint$Person" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.superclassmethods.PersonEndpoint$Person" } ] }, @@ -170,7 +170,7 @@ "items": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.nonnull.superclassmethods.PersonEndpoint$Person" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.superclassmethods.PersonEndpoint$Person" } ] } @@ -216,7 +216,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.nonnull.superclassmethods.PersonEndpoint$Person" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.nonnull.superclassmethods.PersonEndpoint$Person" } ] } @@ -249,7 +249,7 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.nonnull.superclassmethods.PersonEndpoint$Person": { + "com.vaadin.hilla.parser.plugins.nonnull.superclassmethods.PersonEndpoint$Person": { "type": "object", "properties": { "name": { diff --git a/packages/java/parser-jvm-plugin-subtypes/pom.xml b/packages/java/parser-jvm-plugin-subtypes/pom.xml index 8827d933f4..879db50339 100644 --- a/packages/java/parser-jvm-plugin-subtypes/pom.xml +++ b/packages/java/parser-jvm-plugin-subtypes/pom.xml @@ -5,7 +5,7 @@ 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml @@ -21,7 +21,7 @@ - dev.hilla + com.vaadin.hilla parser-jvm-core ${project.version} @@ -39,17 +39,17 @@ test - dev.hilla + com.vaadin.hilla parser-jvm-utils ${project.version} - dev.hilla + com.vaadin.hilla parser-jvm-plugin-backbone ${project.version} - dev.hilla + com.vaadin.hilla parser-jvm-test-utils ${project.version} test diff --git a/packages/java/parser-jvm-plugin-subtypes/src/main/java/dev/hilla/parser/plugins/subtypes/SubTypesPlugin.java b/packages/java/parser-jvm-plugin-subtypes/src/main/java/com/vaadin/hilla/parser/plugins/subtypes/SubTypesPlugin.java similarity index 88% rename from packages/java/parser-jvm-plugin-subtypes/src/main/java/dev/hilla/parser/plugins/subtypes/SubTypesPlugin.java rename to packages/java/parser-jvm-plugin-subtypes/src/main/java/com/vaadin/hilla/parser/plugins/subtypes/SubTypesPlugin.java index 339228b749..f1eaf13873 100644 --- a/packages/java/parser-jvm-plugin-subtypes/src/main/java/dev/hilla/parser/plugins/subtypes/SubTypesPlugin.java +++ b/packages/java/parser-jvm-plugin-subtypes/src/main/java/com/vaadin/hilla/parser/plugins/subtypes/SubTypesPlugin.java @@ -1,20 +1,20 @@ -package dev.hilla.parser.plugins.subtypes; +package com.vaadin.hilla.parser.plugins.subtypes; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; -import dev.hilla.parser.core.AbstractNode; -import dev.hilla.parser.core.AbstractPlugin; -import dev.hilla.parser.core.Node; -import dev.hilla.parser.core.NodeDependencies; -import dev.hilla.parser.core.NodePath; -import dev.hilla.parser.core.Plugin; -import dev.hilla.parser.core.PluginConfiguration; -import dev.hilla.parser.models.ClassInfoModel; -import dev.hilla.parser.models.ClassRefSignatureModel; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.backbone.EntityPlugin; -import dev.hilla.parser.plugins.backbone.nodes.EntityNode; -import dev.hilla.parser.plugins.backbone.nodes.TypedNode; +import com.vaadin.hilla.parser.core.AbstractNode; +import com.vaadin.hilla.parser.core.AbstractPlugin; +import com.vaadin.hilla.parser.core.Node; +import com.vaadin.hilla.parser.core.NodeDependencies; +import com.vaadin.hilla.parser.core.NodePath; +import com.vaadin.hilla.parser.core.Plugin; +import com.vaadin.hilla.parser.core.PluginConfiguration; +import com.vaadin.hilla.parser.models.ClassInfoModel; +import com.vaadin.hilla.parser.models.ClassRefSignatureModel; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.backbone.EntityPlugin; +import com.vaadin.hilla.parser.plugins.backbone.nodes.EntityNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.TypedNode; import io.swagger.v3.oas.models.OpenAPI; import io.swagger.v3.oas.models.media.ComposedSchema; import io.swagger.v3.oas.models.media.ObjectSchema; diff --git a/packages/java/parser-jvm-plugin-subtypes/src/main/java/module-info.java b/packages/java/parser-jvm-plugin-subtypes/src/main/java/module-info.java index 564a7b8c9e..2982aed1cf 100644 --- a/packages/java/parser-jvm-plugin-subtypes/src/main/java/module-info.java +++ b/packages/java/parser-jvm-plugin-subtypes/src/main/java/module-info.java @@ -1,12 +1,12 @@ -module dev.hilla.parser.plugins.subtypes { +module com.vaadin.hilla.parser.plugins.subtypes { requires com.fasterxml.jackson.databind; - requires dev.hilla.parser.plugins.backbone; - requires dev.hilla.parser.utils; + requires com.vaadin.hilla.parser.plugins.backbone; + requires com.vaadin.hilla.parser.utils; requires jsr305; requires jakarta.annotation; requires io.swagger.v3.oas.models; requires io.github.classgraph; - requires dev.hilla.parser.core; + requires com.vaadin.hilla.parser.core; - exports dev.hilla.parser.plugins.subtypes; + exports com.vaadin.hilla.parser.plugins.subtypes; } diff --git a/packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/AddEvent.java b/packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/AddEvent.java similarity index 58% rename from packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/AddEvent.java rename to packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/AddEvent.java index 6cd61b804d..264b012c88 100644 --- a/packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/AddEvent.java +++ b/packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/AddEvent.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.subtypes; +package com.vaadin.hilla.parser.plugins.subtypes; public class AddEvent extends BaseEvent { diff --git a/packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/BaseEvent.java b/packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/BaseEvent.java similarity index 90% rename from packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/BaseEvent.java rename to packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/BaseEvent.java index e67663186c..d6cc95affa 100644 --- a/packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/BaseEvent.java +++ b/packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/BaseEvent.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.subtypes; +package com.vaadin.hilla.parser.plugins.subtypes; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; diff --git a/packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/DeleteEvent.java b/packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/DeleteEvent.java similarity index 66% rename from packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/DeleteEvent.java rename to packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/DeleteEvent.java index 7622775281..cc729ee921 100644 --- a/packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/DeleteEvent.java +++ b/packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/DeleteEvent.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.subtypes; +package com.vaadin.hilla.parser.plugins.subtypes; public class DeleteEvent extends BaseEvent { diff --git a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/Endpoint.java b/packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/Endpoint.java similarity index 83% rename from packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/Endpoint.java rename to packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/Endpoint.java index 3330aaa49e..804a124606 100644 --- a/packages/java/parser-jvm-core/src/test/java/dev/hilla/parser/core/security/Endpoint.java +++ b/packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/Endpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.core.security; +package com.vaadin.hilla.parser.plugins.subtypes; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/EndpointExposed.java b/packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/EndpointExposed.java new file mode 100644 index 0000000000..eec86f73e5 --- /dev/null +++ b/packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/EndpointExposed.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.subtypes; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface EndpointExposed { +} diff --git a/packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/SubTypesEndpoint.java b/packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/SubTypesEndpoint.java similarity index 77% rename from packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/SubTypesEndpoint.java rename to packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/SubTypesEndpoint.java index 1c9e290880..cd763340d8 100644 --- a/packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/SubTypesEndpoint.java +++ b/packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/SubTypesEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.subtypes; +package com.vaadin.hilla.parser.plugins.subtypes; @Endpoint public class SubTypesEndpoint { diff --git a/packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/SubTypesMethodsTest.java b/packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/SubTypesMethodsTest.java similarity index 77% rename from packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/SubTypesMethodsTest.java rename to packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/SubTypesMethodsTest.java index 9c81ac08f0..ceb3d6478e 100644 --- a/packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/SubTypesMethodsTest.java +++ b/packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/SubTypesMethodsTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.subtypes; +package com.vaadin.hilla.parser.plugins.subtypes; import java.io.IOException; import java.net.URISyntaxException; @@ -6,9 +6,9 @@ import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.subtypes.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.subtypes.test.helpers.TestHelper; public class SubTypesMethodsTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/UpdateEvent.java b/packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/UpdateEvent.java similarity index 67% rename from packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/UpdateEvent.java rename to packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/UpdateEvent.java index e9e7fe40be..efc4988b1d 100644 --- a/packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/UpdateEvent.java +++ b/packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/UpdateEvent.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.subtypes; +package com.vaadin.hilla.parser.plugins.subtypes; public class UpdateEvent extends BaseEvent { diff --git a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/test/helpers/TestHelper.java b/packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/test/helpers/TestHelper.java similarity index 83% rename from packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/test/helpers/TestHelper.java rename to packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/test/helpers/TestHelper.java index 27f9103cfe..4019a79d8b 100644 --- a/packages/java/parser-jvm-plugin-nonnull/src/test/java/dev/hilla/parser/plugins/nonnull/test/helpers/TestHelper.java +++ b/packages/java/parser-jvm-plugin-subtypes/src/test/java/com/vaadin/hilla/parser/plugins/subtypes/test/helpers/TestHelper.java @@ -1,6 +1,6 @@ -package dev.hilla.parser.plugins.nonnull.test.helpers; +package com.vaadin.hilla.parser.plugins.subtypes.test.helpers; -import static dev.hilla.parser.testutils.JsonAssertions.assertEquals; +import static com.vaadin.hilla.parser.testutils.JsonAssertions.assertEquals; import java.io.IOException; import java.net.URISyntaxException; @@ -8,7 +8,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; -import dev.hilla.parser.testutils.ResourceLoader; +import com.vaadin.hilla.parser.testutils.ResourceLoader; import io.swagger.v3.core.util.Json; import io.swagger.v3.oas.models.OpenAPI; diff --git a/packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/Endpoint.java b/packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/Endpoint.java deleted file mode 100644 index c6b495965f..0000000000 --- a/packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.subtypes; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/EndpointExposed.java b/packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/EndpointExposed.java deleted file mode 100644 index 1a3aecc092..0000000000 --- a/packages/java/parser-jvm-plugin-subtypes/src/test/java/dev/hilla/parser/plugins/subtypes/EndpointExposed.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.subtypes; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface EndpointExposed { -} diff --git a/packages/java/parser-jvm-plugin-subtypes/src/test/resources/dev/hilla/parser/plugins/subtypes/openapi.json b/packages/java/parser-jvm-plugin-subtypes/src/test/resources/com/vaadin/hilla/parser/plugins/subtypes/openapi.json similarity index 73% rename from packages/java/parser-jvm-plugin-subtypes/src/test/resources/dev/hilla/parser/plugins/subtypes/openapi.json rename to packages/java/parser-jvm-plugin-subtypes/src/test/resources/com/vaadin/hilla/parser/plugins/subtypes/openapi.json index 6704d5ae47..9fd3319b72 100644 --- a/packages/java/parser-jvm-plugin-subtypes/src/test/resources/dev/hilla/parser/plugins/subtypes/openapi.json +++ b/packages/java/parser-jvm-plugin-subtypes/src/test/resources/com/vaadin/hilla/parser/plugins/subtypes/openapi.json @@ -13,7 +13,7 @@ "tags": [ { "name": "SubTypesEndpoint", - "x-class-name": "dev.hilla.parser.plugins.subtypes.SubTypesEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.subtypes.SubTypesEndpoint" } ], "paths": { @@ -33,7 +33,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.subtypes.BaseEvent" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.subtypes.BaseEvent" } ] } @@ -64,7 +64,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.subtypes.BaseEvent" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.subtypes.BaseEvent" } ] } @@ -77,7 +77,7 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.subtypes.BaseEvent": { + "com.vaadin.hilla.parser.plugins.subtypes.BaseEvent": { "type": "object", "properties": { "id": { @@ -86,24 +86,24 @@ } } }, - "dev.hilla.parser.plugins.subtypes.BaseEventUnion": { + "com.vaadin.hilla.parser.plugins.subtypes.BaseEventUnion": { "type": "object", "oneOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.subtypes.AddEvent" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.subtypes.AddEvent" }, { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.subtypes.UpdateEvent" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.subtypes.UpdateEvent" }, { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.subtypes.DeleteEvent" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.subtypes.DeleteEvent" } ] }, - "dev.hilla.parser.plugins.subtypes.AddEvent": { + "com.vaadin.hilla.parser.plugins.subtypes.AddEvent": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.subtypes.BaseEvent" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.subtypes.BaseEvent" }, { "type": "object", @@ -120,10 +120,10 @@ } ] }, - "dev.hilla.parser.plugins.subtypes.UpdateEvent": { + "com.vaadin.hilla.parser.plugins.subtypes.UpdateEvent": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.subtypes.BaseEvent" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.subtypes.BaseEvent" }, { "type": "object", @@ -144,10 +144,10 @@ } ] }, - "dev.hilla.parser.plugins.subtypes.DeleteEvent": { + "com.vaadin.hilla.parser.plugins.subtypes.DeleteEvent": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.subtypes.BaseEvent" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.subtypes.BaseEvent" }, { "type": "object", diff --git a/packages/java/parser-jvm-plugin-transfertypes/pom.xml b/packages/java/parser-jvm-plugin-transfertypes/pom.xml index 16e6ea6397..c69824067c 100644 --- a/packages/java/parser-jvm-plugin-transfertypes/pom.xml +++ b/packages/java/parser-jvm-plugin-transfertypes/pom.xml @@ -5,7 +5,7 @@ 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml @@ -21,7 +21,7 @@ - dev.hilla + com.vaadin.hilla parser-jvm-core ${project.version} @@ -39,17 +39,17 @@ test - dev.hilla + com.vaadin.hilla parser-jvm-utils ${project.version} - dev.hilla + com.vaadin.hilla parser-jvm-plugin-backbone ${project.version} - dev.hilla + com.vaadin.hilla runtime-plugin-transfertypes ${project.version} @@ -58,7 +58,7 @@ spring-data-commons - dev.hilla + com.vaadin.hilla parser-jvm-test-utils ${project.version} test diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/main/java/dev/hilla/parser/plugins/transfertypes/TransferTypesPlugin.java b/packages/java/parser-jvm-plugin-transfertypes/src/main/java/com/vaadin/hilla/parser/plugins/transfertypes/TransferTypesPlugin.java similarity index 68% rename from packages/java/parser-jvm-plugin-transfertypes/src/main/java/dev/hilla/parser/plugins/transfertypes/TransferTypesPlugin.java rename to packages/java/parser-jvm-plugin-transfertypes/src/main/java/com/vaadin/hilla/parser/plugins/transfertypes/TransferTypesPlugin.java index 295d4e37c6..f689b7d8a1 100644 --- a/packages/java/parser-jvm-plugin-transfertypes/src/main/java/dev/hilla/parser/plugins/transfertypes/TransferTypesPlugin.java +++ b/packages/java/parser-jvm-plugin-transfertypes/src/main/java/com/vaadin/hilla/parser/plugins/transfertypes/TransferTypesPlugin.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.transfertypes; +package com.vaadin.hilla.parser.plugins.transfertypes; import java.util.Collection; import java.util.HashMap; @@ -9,24 +9,24 @@ import javax.annotation.Nonnull; -import dev.hilla.mappedtypes.Order; -import dev.hilla.mappedtypes.Pageable; -import dev.hilla.mappedtypes.Sort; -import dev.hilla.parser.core.AbstractPlugin; -import dev.hilla.parser.core.Node; -import dev.hilla.parser.core.NodeDependencies; -import dev.hilla.parser.core.NodePath; -import dev.hilla.parser.core.Plugin; -import dev.hilla.parser.core.PluginConfiguration; -import dev.hilla.parser.models.ClassInfoModel; -import dev.hilla.parser.models.ClassRefSignatureModel; -import dev.hilla.parser.models.SignatureModel; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.backbone.nodes.CompositeTypeSignatureNode; -import dev.hilla.parser.plugins.backbone.nodes.TypeSignatureNode; -import dev.hilla.parser.plugins.backbone.nodes.TypedNode; -import dev.hilla.runtime.transfertypes.EndpointSubscription; -import dev.hilla.runtime.transfertypes.Flux; +import com.vaadin.hilla.mappedtypes.Order; +import com.vaadin.hilla.mappedtypes.Pageable; +import com.vaadin.hilla.mappedtypes.Sort; +import com.vaadin.hilla.parser.core.AbstractPlugin; +import com.vaadin.hilla.parser.core.Node; +import com.vaadin.hilla.parser.core.NodeDependencies; +import com.vaadin.hilla.parser.core.NodePath; +import com.vaadin.hilla.parser.core.Plugin; +import com.vaadin.hilla.parser.core.PluginConfiguration; +import com.vaadin.hilla.parser.models.ClassInfoModel; +import com.vaadin.hilla.parser.models.ClassRefSignatureModel; +import com.vaadin.hilla.parser.models.SignatureModel; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.backbone.nodes.CompositeTypeSignatureNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.TypeSignatureNode; +import com.vaadin.hilla.parser.plugins.backbone.nodes.TypedNode; +import com.vaadin.hilla.runtime.transfertypes.EndpointSubscription; +import com.vaadin.hilla.runtime.transfertypes.Flux; public final class TransferTypesPlugin extends AbstractPlugin { @@ -40,7 +40,7 @@ public final class TransferTypesPlugin classMap.put("org.springframework.data.domain.Sort", Sort.class); classMap.put(UUID.class.getName(), String.class); classMap.put("reactor.core.publisher.Flux", Flux.class); - classMap.put("dev.hilla.EndpointSubscription", + classMap.put("com.vaadin.hilla.EndpointSubscription", EndpointSubscription.class); } diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/main/java/module-info.java b/packages/java/parser-jvm-plugin-transfertypes/src/main/java/module-info.java index 0e7ea685b0..7ba23a325c 100644 --- a/packages/java/parser-jvm-plugin-transfertypes/src/main/java/module-info.java +++ b/packages/java/parser-jvm-plugin-transfertypes/src/main/java/module-info.java @@ -1,13 +1,13 @@ -module dev.hilla.parser.plugins.transfertypes { +module com.vaadin.hilla.parser.plugins.transfertypes { requires com.fasterxml.jackson.databind; - requires dev.hilla.parser.core; - requires dev.hilla.parser.plugins.backbone; - requires dev.hilla.parser.utils; - requires dev.hilla.runtime.transfertypes; + requires com.vaadin.hilla.parser.core; + requires com.vaadin.hilla.parser.plugins.backbone; + requires com.vaadin.hilla.parser.utils; + requires com.vaadin.hilla.runtime.transfertypes; requires jsr305; requires jakarta.annotation; requires io.swagger.v3.oas.models; requires io.github.classgraph; - exports dev.hilla.parser.plugins.transfertypes; + exports com.vaadin.hilla.parser.plugins.transfertypes; } diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/EndpointSubscription.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/EndpointSubscription.java similarity index 83% rename from packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/EndpointSubscription.java rename to packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/EndpointSubscription.java index a1ecfde3e0..1dd33ef99f 100644 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/EndpointSubscription.java +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/EndpointSubscription.java @@ -1,4 +1,4 @@ -package dev.hilla; +package com.vaadin.hilla; // The real class is contained in the `endpoint` module which is not exposed as a Java module public class EndpointSubscription { diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/bare/BarePageableEndpoint.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/bare/BarePageableEndpoint.java similarity index 68% rename from packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/bare/BarePageableEndpoint.java rename to packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/bare/BarePageableEndpoint.java index cd50bd236b..10182d543a 100644 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/bare/BarePageableEndpoint.java +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/bare/BarePageableEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.transfertypes.pageable.bare; +package com.vaadin.hilla.parser.plugins.transfertypes.pageable.bare; import org.springframework.data.domain.Sort; diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/bare/BarePageableTest.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/bare/BarePageableTest.java similarity index 82% rename from packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/bare/BarePageableTest.java rename to packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/bare/BarePageableTest.java index a274cde885..19276436f8 100644 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/bare/BarePageableTest.java +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/bare/BarePageableTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.transfertypes.pageable.bare; +package com.vaadin.hilla.parser.plugins.transfertypes.pageable.bare; import java.io.File; import java.io.IOException; @@ -7,10 +7,10 @@ import org.junit.jupiter.api.Test; import org.springframework.data.domain.Pageable; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.transfertypes.TransferTypesPlugin; -import dev.hilla.parser.plugins.transfertypes.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.transfertypes.TransferTypesPlugin; +import com.vaadin.hilla.parser.plugins.transfertypes.test.helpers.TestHelper; public class BarePageableTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/bare/Endpoint.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/bare/Endpoint.java new file mode 100644 index 0000000000..aa35f6e52f --- /dev/null +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/bare/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.transfertypes.pageable.bare; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/bare/EndpointExposed.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/bare/EndpointExposed.java new file mode 100644 index 0000000000..a13b63aac2 --- /dev/null +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/bare/EndpointExposed.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.transfertypes.pageable.bare; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface EndpointExposed { +} diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/basic/Endpoint.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/basic/Endpoint.java new file mode 100644 index 0000000000..e1913365e8 --- /dev/null +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/basic/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.transfertypes.pageable.basic; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/basic/EndpointExposed.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/basic/EndpointExposed.java new file mode 100644 index 0000000000..4386d17fb6 --- /dev/null +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/basic/EndpointExposed.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.transfertypes.pageable.basic; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface EndpointExposed { +} diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/basic/PageableEndpoint.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/basic/PageableEndpoint.java similarity index 86% rename from packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/basic/PageableEndpoint.java rename to packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/basic/PageableEndpoint.java index c41e999c5d..8ef645b298 100644 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/basic/PageableEndpoint.java +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/basic/PageableEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.transfertypes.pageable.basic; +package com.vaadin.hilla.parser.plugins.transfertypes.pageable.basic; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/basic/PageableTest.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/basic/PageableTest.java similarity index 82% rename from packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/basic/PageableTest.java rename to packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/basic/PageableTest.java index 593391691e..11d09a3a32 100644 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/basic/PageableTest.java +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/pageable/basic/PageableTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.transfertypes.pageable.basic; +package com.vaadin.hilla.parser.plugins.transfertypes.pageable.basic; import java.io.File; import java.io.IOException; @@ -7,10 +7,10 @@ import org.junit.jupiter.api.Test; import org.springframework.data.domain.Pageable; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.transfertypes.TransferTypesPlugin; -import dev.hilla.parser.plugins.transfertypes.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.transfertypes.TransferTypesPlugin; +import com.vaadin.hilla.parser.plugins.transfertypes.test.helpers.TestHelper; public class PageableTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/push/Endpoint.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/push/Endpoint.java new file mode 100644 index 0000000000..338af926d7 --- /dev/null +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/push/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.transfertypes.push; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/push/EndpointExposed.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/push/EndpointExposed.java new file mode 100644 index 0000000000..58ff459082 --- /dev/null +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/push/EndpointExposed.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.transfertypes.push; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface EndpointExposed { +} diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/push/OtherEndpoint.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/push/OtherEndpoint.java similarity index 85% rename from packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/push/OtherEndpoint.java rename to packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/push/OtherEndpoint.java index 2ddeec11a0..892207ec89 100644 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/push/OtherEndpoint.java +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/push/OtherEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.transfertypes.push; +package com.vaadin.hilla.parser.plugins.transfertypes.push; import reactor.core.publisher.Flux; diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/push/PushTypeEndpoint.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/push/PushTypeEndpoint.java similarity index 72% rename from packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/push/PushTypeEndpoint.java rename to packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/push/PushTypeEndpoint.java index 3b3e10f6eb..8f2e10eeb8 100644 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/push/PushTypeEndpoint.java +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/push/PushTypeEndpoint.java @@ -1,6 +1,6 @@ -package dev.hilla.parser.plugins.transfertypes.push; +package com.vaadin.hilla.parser.plugins.transfertypes.push; -import dev.hilla.EndpointSubscription; +import com.vaadin.hilla.EndpointSubscription; import reactor.core.publisher.Flux; @Endpoint diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/push/PushTypeTest.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/push/PushTypeTest.java similarity index 71% rename from packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/push/PushTypeTest.java rename to packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/push/PushTypeTest.java index b5c7b6a03d..75fa00bd14 100644 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/push/PushTypeTest.java +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/push/PushTypeTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.transfertypes.push; +package com.vaadin.hilla.parser.plugins.transfertypes.push; import java.io.File; import java.io.IOException; @@ -6,11 +6,11 @@ import org.junit.jupiter.api.Test; -import dev.hilla.EndpointSubscription; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.transfertypes.TransferTypesPlugin; -import dev.hilla.parser.plugins.transfertypes.test.helpers.TestHelper; +import com.vaadin.hilla.EndpointSubscription; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.transfertypes.TransferTypesPlugin; +import com.vaadin.hilla.parser.plugins.transfertypes.test.helpers.TestHelper; import reactor.core.publisher.Flux; public class PushTypeTest { diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/test/helpers/TestHelper.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/test/helpers/TestHelper.java similarity index 86% rename from packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/test/helpers/TestHelper.java rename to packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/test/helpers/TestHelper.java index ffeefbd693..c4df9bc9cc 100644 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/test/helpers/TestHelper.java +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/test/helpers/TestHelper.java @@ -1,6 +1,6 @@ -package dev.hilla.parser.plugins.transfertypes.test.helpers; +package com.vaadin.hilla.parser.plugins.transfertypes.test.helpers; -import static dev.hilla.parser.testutils.JsonAssertions.assertEquals; +import static com.vaadin.hilla.parser.testutils.JsonAssertions.assertEquals; import java.io.IOException; import java.net.URISyntaxException; @@ -10,7 +10,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; -import dev.hilla.parser.testutils.ResourceLoader; +import com.vaadin.hilla.parser.testutils.ResourceLoader; import io.swagger.v3.core.util.Json; import io.swagger.v3.oas.models.OpenAPI; diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/uuid/Endpoint.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/uuid/Endpoint.java new file mode 100644 index 0000000000..984fee3c26 --- /dev/null +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/uuid/Endpoint.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.transfertypes.uuid; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface Endpoint { +} diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/uuid/EndpointExposed.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/uuid/EndpointExposed.java new file mode 100644 index 0000000000..6f2956744a --- /dev/null +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/uuid/EndpointExposed.java @@ -0,0 +1,11 @@ +package com.vaadin.hilla.parser.plugins.transfertypes.uuid; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface EndpointExposed { +} diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/uuid/UUIDEndpoint.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/uuid/UUIDEndpoint.java similarity index 68% rename from packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/uuid/UUIDEndpoint.java rename to packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/uuid/UUIDEndpoint.java index c22041a24a..ae839f4e8c 100644 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/uuid/UUIDEndpoint.java +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/uuid/UUIDEndpoint.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.transfertypes.uuid; +package com.vaadin.hilla.parser.plugins.transfertypes.uuid; import java.util.UUID; diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/uuid/UUIDTest.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/uuid/UUIDTest.java similarity index 71% rename from packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/uuid/UUIDTest.java rename to packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/uuid/UUIDTest.java index 941c32bc00..a30c815cfa 100644 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/uuid/UUIDTest.java +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/com/vaadin/hilla/parser/plugins/transfertypes/uuid/UUIDTest.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.plugins.transfertypes.uuid; +package com.vaadin.hilla.parser.plugins.transfertypes.uuid; import java.io.IOException; import java.net.URISyntaxException; @@ -6,10 +6,10 @@ import org.junit.jupiter.api.Test; -import dev.hilla.parser.core.Parser; -import dev.hilla.parser.plugins.backbone.BackbonePlugin; -import dev.hilla.parser.plugins.transfertypes.TransferTypesPlugin; -import dev.hilla.parser.plugins.transfertypes.test.helpers.TestHelper; +import com.vaadin.hilla.parser.core.Parser; +import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin; +import com.vaadin.hilla.parser.plugins.transfertypes.TransferTypesPlugin; +import com.vaadin.hilla.parser.plugins.transfertypes.test.helpers.TestHelper; public class UUIDTest { private final TestHelper helper = new TestHelper(getClass()); diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/bare/Endpoint.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/bare/Endpoint.java deleted file mode 100644 index 060141eb4b..0000000000 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/bare/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.transfertypes.pageable.bare; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/bare/EndpointExposed.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/bare/EndpointExposed.java deleted file mode 100644 index 5791161c77..0000000000 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/bare/EndpointExposed.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.transfertypes.pageable.bare; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface EndpointExposed { -} diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/basic/Endpoint.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/basic/Endpoint.java deleted file mode 100644 index 6fbaa9df4c..0000000000 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/basic/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.transfertypes.pageable.basic; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/basic/EndpointExposed.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/basic/EndpointExposed.java deleted file mode 100644 index 0d2b3bc571..0000000000 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/pageable/basic/EndpointExposed.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.transfertypes.pageable.basic; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface EndpointExposed { -} diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/push/Endpoint.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/push/Endpoint.java deleted file mode 100644 index 7edabf86a9..0000000000 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/push/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.transfertypes.push; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/push/EndpointExposed.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/push/EndpointExposed.java deleted file mode 100644 index a0b2d139fe..0000000000 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/push/EndpointExposed.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.transfertypes.push; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface EndpointExposed { -} diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/uuid/Endpoint.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/uuid/Endpoint.java deleted file mode 100644 index 81fbd21a20..0000000000 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/uuid/Endpoint.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.transfertypes.uuid; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Endpoint { -} diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/uuid/EndpointExposed.java b/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/uuid/EndpointExposed.java deleted file mode 100644 index 80c11b8632..0000000000 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/java/dev/hilla/parser/plugins/transfertypes/uuid/EndpointExposed.java +++ /dev/null @@ -1,11 +0,0 @@ -package dev.hilla.parser.plugins.transfertypes.uuid; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface EndpointExposed { -} diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/resources/dev/hilla/parser/plugins/transfertypes/pageable/bare/openapi.json b/packages/java/parser-jvm-plugin-transfertypes/src/test/resources/com/vaadin/hilla/parser/plugins/transfertypes/pageable/bare/openapi.json similarity index 85% rename from packages/java/parser-jvm-plugin-transfertypes/src/test/resources/dev/hilla/parser/plugins/transfertypes/pageable/bare/openapi.json rename to packages/java/parser-jvm-plugin-transfertypes/src/test/resources/com/vaadin/hilla/parser/plugins/transfertypes/pageable/bare/openapi.json index 3da014f5f9..cbb8bf741b 100644 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/resources/dev/hilla/parser/plugins/transfertypes/pageable/bare/openapi.json +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/resources/com/vaadin/hilla/parser/plugins/transfertypes/pageable/bare/openapi.json @@ -13,7 +13,7 @@ "tags": [ { "name": "BarePageableEndpoint", - "x-class-name": "dev.hilla.parser.plugins.transfertypes.pageable.bare.BarePageableEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.transfertypes.pageable.bare.BarePageableEndpoint" } ], "paths": { @@ -30,7 +30,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.mappedtypes.Sort" + "$ref": "#/components/schemas/com.vaadin.hilla.mappedtypes.Sort" } ] } @@ -43,7 +43,7 @@ }, "components": { "schemas": { - "dev.hilla.mappedtypes.Sort": { + "com.vaadin.hilla.mappedtypes.Sort": { "type": "object", "properties": { "orders": { @@ -53,14 +53,14 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.mappedtypes.Order" + "$ref": "#/components/schemas/com.vaadin.hilla.mappedtypes.Order" } ] } } } }, - "dev.hilla.mappedtypes.Order": { + "com.vaadin.hilla.mappedtypes.Order": { "type": "object", "properties": { "direction": { diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/resources/dev/hilla/parser/plugins/transfertypes/pageable/basic/openapi.json b/packages/java/parser-jvm-plugin-transfertypes/src/test/resources/com/vaadin/hilla/parser/plugins/transfertypes/pageable/basic/openapi.json similarity index 86% rename from packages/java/parser-jvm-plugin-transfertypes/src/test/resources/dev/hilla/parser/plugins/transfertypes/pageable/basic/openapi.json rename to packages/java/parser-jvm-plugin-transfertypes/src/test/resources/com/vaadin/hilla/parser/plugins/transfertypes/pageable/basic/openapi.json index ff3649dc8e..6b66033550 100644 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/resources/dev/hilla/parser/plugins/transfertypes/pageable/basic/openapi.json +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/resources/com/vaadin/hilla/parser/plugins/transfertypes/pageable/basic/openapi.json @@ -13,7 +13,7 @@ "tags": [ { "name": "PageableEndpoint", - "x-class-name": "dev.hilla.parser.plugins.transfertypes.pageable.basic.PageableEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.transfertypes.pageable.basic.PageableEndpoint" } ], "paths": { @@ -30,7 +30,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.mappedtypes.Order" + "$ref": "#/components/schemas/com.vaadin.hilla.mappedtypes.Order" } ] } @@ -76,7 +76,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.mappedtypes.Pageable" + "$ref": "#/components/schemas/com.vaadin.hilla.mappedtypes.Pageable" } ] } @@ -99,7 +99,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.mappedtypes.Sort" + "$ref": "#/components/schemas/com.vaadin.hilla.mappedtypes.Sort" } ] } @@ -112,7 +112,7 @@ }, "components": { "schemas": { - "dev.hilla.mappedtypes.Order": { + "com.vaadin.hilla.mappedtypes.Order": { "type": "object", "properties": { "direction": { @@ -140,7 +140,7 @@ } } }, - "dev.hilla.mappedtypes.Pageable": { + "com.vaadin.hilla.mappedtypes.Pageable": { "type": "object", "properties": { "pageNumber": { @@ -155,13 +155,13 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.mappedtypes.Sort" + "$ref": "#/components/schemas/com.vaadin.hilla.mappedtypes.Sort" } ] } } }, - "dev.hilla.mappedtypes.Sort": { + "com.vaadin.hilla.mappedtypes.Sort": { "type": "object", "properties": { "orders": { @@ -171,7 +171,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.mappedtypes.Order" + "$ref": "#/components/schemas/com.vaadin.hilla.mappedtypes.Order" } ] } diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/resources/dev/hilla/parser/plugins/transfertypes/push/openapi.json b/packages/java/parser-jvm-plugin-transfertypes/src/test/resources/com/vaadin/hilla/parser/plugins/transfertypes/push/openapi.json similarity index 88% rename from packages/java/parser-jvm-plugin-transfertypes/src/test/resources/dev/hilla/parser/plugins/transfertypes/push/openapi.json rename to packages/java/parser-jvm-plugin-transfertypes/src/test/resources/com/vaadin/hilla/parser/plugins/transfertypes/push/openapi.json index 08d4da353f..b8ae64de3a 100644 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/resources/dev/hilla/parser/plugins/transfertypes/push/openapi.json +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/resources/com/vaadin/hilla/parser/plugins/transfertypes/push/openapi.json @@ -13,11 +13,11 @@ "tags": [ { "name": "OtherEndpoint", - "x-class-name": "dev.hilla.parser.plugins.transfertypes.push.OtherEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.transfertypes.push.OtherEndpoint" }, { "name": "PushTypeEndpoint", - "x-class-name": "dev.hilla.parser.plugins.transfertypes.push.PushTypeEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.transfertypes.push.PushTypeEndpoint" } ], "paths": { @@ -52,7 +52,7 @@ "type": "string", "nullable": true }, - "x-class-name": "dev.hilla.runtime.transfertypes.Flux" + "x-class-name": "com.vaadin.hilla.runtime.transfertypes.Flux" } } } @@ -110,7 +110,7 @@ "type": "string", "nullable": true }, - "x-class-name": "dev.hilla.runtime.transfertypes.Flux" + "x-class-name": "com.vaadin.hilla.runtime.transfertypes.Flux" } } } @@ -134,7 +134,7 @@ "type": "string", "nullable": true }, - "x-class-name": "dev.hilla.runtime.transfertypes.EndpointSubscription" + "x-class-name": "com.vaadin.hilla.runtime.transfertypes.EndpointSubscription" } } } diff --git a/packages/java/parser-jvm-plugin-transfertypes/src/test/resources/dev/hilla/parser/plugins/transfertypes/uuid/openapi.json b/packages/java/parser-jvm-plugin-transfertypes/src/test/resources/com/vaadin/hilla/parser/plugins/transfertypes/uuid/openapi.json similarity index 89% rename from packages/java/parser-jvm-plugin-transfertypes/src/test/resources/dev/hilla/parser/plugins/transfertypes/uuid/openapi.json rename to packages/java/parser-jvm-plugin-transfertypes/src/test/resources/com/vaadin/hilla/parser/plugins/transfertypes/uuid/openapi.json index 910bde00f6..b04c3123b6 100644 --- a/packages/java/parser-jvm-plugin-transfertypes/src/test/resources/dev/hilla/parser/plugins/transfertypes/uuid/openapi.json +++ b/packages/java/parser-jvm-plugin-transfertypes/src/test/resources/com/vaadin/hilla/parser/plugins/transfertypes/uuid/openapi.json @@ -13,7 +13,7 @@ "tags": [ { "name": "UUIDEndpoint", - "x-class-name": "dev.hilla.parser.plugins.transfertypes.uuid.UUIDEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.transfertypes.uuid.UUIDEndpoint" } ], "paths": { diff --git a/packages/java/parser-jvm-test-utils/pom.xml b/packages/java/parser-jvm-test-utils/pom.xml index cbae214778..3d8d02adf8 100644 --- a/packages/java/parser-jvm-test-utils/pom.xml +++ b/packages/java/parser-jvm-test-utils/pom.xml @@ -5,7 +5,7 @@ 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml @@ -33,7 +33,7 @@ jackson-annotations - dev.hilla + com.vaadin.hilla parser-jvm-utils ${project.version} diff --git a/packages/java/parser-jvm-test-utils/src/main/java/dev/hilla/parser/testutils/JsonAssertions.java b/packages/java/parser-jvm-test-utils/src/main/java/com/vaadin/hilla/parser/testutils/JsonAssertions.java similarity index 83% rename from packages/java/parser-jvm-test-utils/src/main/java/dev/hilla/parser/testutils/JsonAssertions.java rename to packages/java/parser-jvm-test-utils/src/main/java/com/vaadin/hilla/parser/testutils/JsonAssertions.java index 09b90c0e47..cdb1939cb7 100644 --- a/packages/java/parser-jvm-test-utils/src/main/java/dev/hilla/parser/testutils/JsonAssertions.java +++ b/packages/java/parser-jvm-test-utils/src/main/java/com/vaadin/hilla/parser/testutils/JsonAssertions.java @@ -1,10 +1,10 @@ -package dev.hilla.parser.testutils; +package com.vaadin.hilla.parser.testutils; import org.junit.jupiter.api.Assertions; import com.fasterxml.jackson.core.JsonProcessingException; -import dev.hilla.parser.utils.JsonPrinter; +import com.vaadin.hilla.parser.utils.JsonPrinter; public final class JsonAssertions { private final static JsonPrinter printer = new JsonPrinter(); diff --git a/packages/java/parser-jvm-test-utils/src/main/java/dev/hilla/parser/testutils/ResourceLoader.java b/packages/java/parser-jvm-test-utils/src/main/java/com/vaadin/hilla/parser/testutils/ResourceLoader.java similarity index 97% rename from packages/java/parser-jvm-test-utils/src/main/java/dev/hilla/parser/testutils/ResourceLoader.java rename to packages/java/parser-jvm-test-utils/src/main/java/com/vaadin/hilla/parser/testutils/ResourceLoader.java index 9315d2e241..89d776dfc1 100644 --- a/packages/java/parser-jvm-test-utils/src/main/java/dev/hilla/parser/testutils/ResourceLoader.java +++ b/packages/java/parser-jvm-test-utils/src/main/java/com/vaadin/hilla/parser/testutils/ResourceLoader.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.testutils; +package com.vaadin.hilla.parser.testutils; import java.io.File; import java.io.IOException; diff --git a/packages/java/parser-jvm-test-utils/src/main/java/dev/hilla/parser/testutils/TestEngineConfigurationPathResolver.java b/packages/java/parser-jvm-test-utils/src/main/java/com/vaadin/hilla/parser/testutils/TestEngineConfigurationPathResolver.java similarity index 83% rename from packages/java/parser-jvm-test-utils/src/main/java/dev/hilla/parser/testutils/TestEngineConfigurationPathResolver.java rename to packages/java/parser-jvm-test-utils/src/main/java/com/vaadin/hilla/parser/testutils/TestEngineConfigurationPathResolver.java index 52aa82e6de..5e85e32cd8 100644 --- a/packages/java/parser-jvm-test-utils/src/main/java/dev/hilla/parser/testutils/TestEngineConfigurationPathResolver.java +++ b/packages/java/parser-jvm-test-utils/src/main/java/com/vaadin/hilla/parser/testutils/TestEngineConfigurationPathResolver.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.testutils; +package com.vaadin.hilla.parser.testutils; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Modifier; @@ -11,16 +11,17 @@ import javax.annotation.Nonnull; /** - * A converter for relative paths of dev.hilla.engine.EngineConfiguration. It - * solves an issue of testing absolute paths on different OSes. + * A converter for relative paths of + * com.vaadin.hilla.engine.EngineConfiguration. It solves an issue of testing + * absolute paths on different OSes. *

* The class is detached (has no dependency to the real - * dev.hilla.engine.EngineConfiguration class) to avoid circular dependencies - * with the `engine-core` package. + * com.vaadin.hilla.engine.EngineConfiguration class) to avoid circular + * dependencies with the `engine-core` package. */ public final class TestEngineConfigurationPathResolver { private static final String BASE_FIELD_NAME = "baseDir"; - private static final String CLASS_NAME = "dev.hilla.engine.EngineConfiguration"; + private static final String CLASS_NAME = "com.vaadin.hilla.engine.EngineConfiguration"; private static final String CLASS_PATH_FIELD_NAME = "classPath"; public static T resolve(@Nonnull T obj, @Nonnull Path baseDir) diff --git a/packages/java/parser-jvm-test-utils/src/main/java/module-info.java b/packages/java/parser-jvm-test-utils/src/main/java/module-info.java index 4203297a49..a76571807b 100644 --- a/packages/java/parser-jvm-test-utils/src/main/java/module-info.java +++ b/packages/java/parser-jvm-test-utils/src/main/java/module-info.java @@ -1,10 +1,10 @@ -module dev.hilla.parser.testutils { +module com.vaadin.hilla.parser.testutils { requires com.fasterxml.jackson.databind; - requires dev.hilla.parser.utils; + requires com.vaadin.hilla.parser.utils; requires jsr305; requires io.swagger.v3.oas.models; requires io.swagger.v3.core; requires org.junit.jupiter.api; - exports dev.hilla.parser.testutils; + exports com.vaadin.hilla.parser.testutils; } diff --git a/packages/java/parser-jvm-utils/pom.xml b/packages/java/parser-jvm-utils/pom.xml index ee59f520cd..aa3756ec8f 100644 --- a/packages/java/parser-jvm-utils/pom.xml +++ b/packages/java/parser-jvm-utils/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml diff --git a/packages/java/parser-jvm-utils/src/main/java/dev/hilla/parser/jackson/ByteArrayModule.java b/packages/java/parser-jvm-utils/src/main/java/com/vaadin/hilla/parser/jackson/ByteArrayModule.java similarity index 97% rename from packages/java/parser-jvm-utils/src/main/java/dev/hilla/parser/jackson/ByteArrayModule.java rename to packages/java/parser-jvm-utils/src/main/java/com/vaadin/hilla/parser/jackson/ByteArrayModule.java index 03f74192a7..69aa3a804b 100644 --- a/packages/java/parser-jvm-utils/src/main/java/dev/hilla/parser/jackson/ByteArrayModule.java +++ b/packages/java/parser-jvm-utils/src/main/java/com/vaadin/hilla/parser/jackson/ByteArrayModule.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.jackson; +package com.vaadin.hilla.parser.jackson; import java.io.IOException; diff --git a/packages/java/parser-jvm-utils/src/main/java/dev/hilla/parser/jackson/JacksonObjectMapperFactory.java b/packages/java/parser-jvm-utils/src/main/java/com/vaadin/hilla/parser/jackson/JacksonObjectMapperFactory.java similarity index 97% rename from packages/java/parser-jvm-utils/src/main/java/dev/hilla/parser/jackson/JacksonObjectMapperFactory.java rename to packages/java/parser-jvm-utils/src/main/java/com/vaadin/hilla/parser/jackson/JacksonObjectMapperFactory.java index 991fadb3fb..2bb746b899 100644 --- a/packages/java/parser-jvm-utils/src/main/java/dev/hilla/parser/jackson/JacksonObjectMapperFactory.java +++ b/packages/java/parser-jvm-utils/src/main/java/com/vaadin/hilla/parser/jackson/JacksonObjectMapperFactory.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.jackson; +package com.vaadin.hilla.parser.jackson; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.json.JsonMapper; diff --git a/packages/java/parser-jvm-utils/src/main/java/dev/hilla/parser/utils/AnnotatedOwnerUtils.java b/packages/java/parser-jvm-utils/src/main/java/com/vaadin/hilla/parser/utils/AnnotatedOwnerUtils.java similarity index 99% rename from packages/java/parser-jvm-utils/src/main/java/dev/hilla/parser/utils/AnnotatedOwnerUtils.java rename to packages/java/parser-jvm-utils/src/main/java/com/vaadin/hilla/parser/utils/AnnotatedOwnerUtils.java index 44e5df0f95..e2d42556cc 100644 --- a/packages/java/parser-jvm-utils/src/main/java/dev/hilla/parser/utils/AnnotatedOwnerUtils.java +++ b/packages/java/parser-jvm-utils/src/main/java/com/vaadin/hilla/parser/utils/AnnotatedOwnerUtils.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.utils; +package com.vaadin.hilla.parser.utils; import java.lang.annotation.Annotation; import java.lang.reflect.AnnotatedParameterizedType; diff --git a/packages/java/parser-jvm-utils/src/main/java/dev/hilla/parser/utils/ConfigList.java b/packages/java/parser-jvm-utils/src/main/java/com/vaadin/hilla/parser/utils/ConfigList.java similarity index 98% rename from packages/java/parser-jvm-utils/src/main/java/dev/hilla/parser/utils/ConfigList.java rename to packages/java/parser-jvm-utils/src/main/java/com/vaadin/hilla/parser/utils/ConfigList.java index abc836e4a7..5846fa14e5 100644 --- a/packages/java/parser-jvm-utils/src/main/java/dev/hilla/parser/utils/ConfigList.java +++ b/packages/java/parser-jvm-utils/src/main/java/com/vaadin/hilla/parser/utils/ConfigList.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.utils; +package com.vaadin.hilla.parser.utils; import java.util.Collection; import java.util.Collections; diff --git a/packages/java/parser-jvm-utils/src/main/java/dev/hilla/parser/utils/JsonPrinter.java b/packages/java/parser-jvm-utils/src/main/java/com/vaadin/hilla/parser/utils/JsonPrinter.java similarity index 97% rename from packages/java/parser-jvm-utils/src/main/java/dev/hilla/parser/utils/JsonPrinter.java rename to packages/java/parser-jvm-utils/src/main/java/com/vaadin/hilla/parser/utils/JsonPrinter.java index 34f0189679..5ad7275544 100644 --- a/packages/java/parser-jvm-utils/src/main/java/dev/hilla/parser/utils/JsonPrinter.java +++ b/packages/java/parser-jvm-utils/src/main/java/com/vaadin/hilla/parser/utils/JsonPrinter.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.utils; +package com.vaadin.hilla.parser.utils; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.util.DefaultIndenter; diff --git a/packages/java/parser-jvm-utils/src/main/java/dev/hilla/parser/utils/PluginException.java b/packages/java/parser-jvm-utils/src/main/java/com/vaadin/hilla/parser/utils/PluginException.java similarity index 88% rename from packages/java/parser-jvm-utils/src/main/java/dev/hilla/parser/utils/PluginException.java rename to packages/java/parser-jvm-utils/src/main/java/com/vaadin/hilla/parser/utils/PluginException.java index c14bd30a2d..440c34777c 100644 --- a/packages/java/parser-jvm-utils/src/main/java/dev/hilla/parser/utils/PluginException.java +++ b/packages/java/parser-jvm-utils/src/main/java/com/vaadin/hilla/parser/utils/PluginException.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.utils; +package com.vaadin.hilla.parser.utils; public final class PluginException extends RuntimeException { public PluginException(String message) { diff --git a/packages/java/parser-jvm-utils/src/main/java/dev/hilla/parser/utils/Streams.java b/packages/java/parser-jvm-utils/src/main/java/com/vaadin/hilla/parser/utils/Streams.java similarity index 91% rename from packages/java/parser-jvm-utils/src/main/java/dev/hilla/parser/utils/Streams.java rename to packages/java/parser-jvm-utils/src/main/java/com/vaadin/hilla/parser/utils/Streams.java index b70429427b..30de4121b6 100644 --- a/packages/java/parser-jvm-utils/src/main/java/dev/hilla/parser/utils/Streams.java +++ b/packages/java/parser-jvm-utils/src/main/java/com/vaadin/hilla/parser/utils/Streams.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.utils; +package com.vaadin.hilla.parser.utils; import java.util.Arrays; import java.util.function.Function; diff --git a/packages/java/parser-jvm-utils/src/main/java/module-info.java b/packages/java/parser-jvm-utils/src/main/java/module-info.java index 1c26d88522..35fe756a43 100644 --- a/packages/java/parser-jvm-utils/src/main/java/module-info.java +++ b/packages/java/parser-jvm-utils/src/main/java/module-info.java @@ -1,4 +1,4 @@ -module dev.hilla.parser.utils { +module com.vaadin.hilla.parser.utils { requires jsr305; requires com.fasterxml.jackson.core; requires com.fasterxml.jackson.databind; @@ -8,6 +8,6 @@ requires com.fasterxml.jackson.datatype.jdk8; requires com.fasterxml.jackson.module.paramnames; - exports dev.hilla.parser.utils; - exports dev.hilla.parser.jackson; + exports com.vaadin.hilla.parser.utils; + exports com.vaadin.hilla.parser.jackson; } diff --git a/packages/java/parser-jvm-utils/src/test/java/dev/hilla/parser/utils/annotatedowner/AnnotatedOwnerUtilsTests.java b/packages/java/parser-jvm-utils/src/test/java/com/vaadin/hilla/parser/utils/annotatedowner/AnnotatedOwnerUtilsTests.java similarity index 97% rename from packages/java/parser-jvm-utils/src/test/java/dev/hilla/parser/utils/annotatedowner/AnnotatedOwnerUtilsTests.java rename to packages/java/parser-jvm-utils/src/test/java/com/vaadin/hilla/parser/utils/annotatedowner/AnnotatedOwnerUtilsTests.java index 66b2f12b7d..93bd805cf0 100644 --- a/packages/java/parser-jvm-utils/src/test/java/dev/hilla/parser/utils/annotatedowner/AnnotatedOwnerUtilsTests.java +++ b/packages/java/parser-jvm-utils/src/test/java/com/vaadin/hilla/parser/utils/annotatedowner/AnnotatedOwnerUtilsTests.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.utils.annotatedowner; +package com.vaadin.hilla.parser.utils.annotatedowner; import static org.junit.jupiter.api.Assertions.assertEquals; @@ -18,7 +18,7 @@ import org.junit.jupiter.params.provider.ArgumentsProvider; import org.junit.jupiter.params.provider.ArgumentsSource; -import dev.hilla.parser.utils.AnnotatedOwnerUtils; +import com.vaadin.hilla.parser.utils.AnnotatedOwnerUtils; public class AnnotatedOwnerUtilsTests { diff --git a/packages/java/parser-jvm-utils/src/test/java/dev/hilla/parser/utils/annotatedowner/GLOB_Param.java b/packages/java/parser-jvm-utils/src/test/java/com/vaadin/hilla/parser/utils/annotatedowner/GLOB_Param.java similarity index 76% rename from packages/java/parser-jvm-utils/src/test/java/dev/hilla/parser/utils/annotatedowner/GLOB_Param.java rename to packages/java/parser-jvm-utils/src/test/java/com/vaadin/hilla/parser/utils/annotatedowner/GLOB_Param.java index a57b9d4205..5e63b8f863 100644 --- a/packages/java/parser-jvm-utils/src/test/java/dev/hilla/parser/utils/annotatedowner/GLOB_Param.java +++ b/packages/java/parser-jvm-utils/src/test/java/com/vaadin/hilla/parser/utils/annotatedowner/GLOB_Param.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.utils.annotatedowner; +package com.vaadin.hilla.parser.utils.annotatedowner; public class GLOB_Param { class DYN_CParam { diff --git a/packages/java/parser-jvm-utils/src/test/java/dev/hilla/parser/utils/annotatedowner/GLOB_Simple.java b/packages/java/parser-jvm-utils/src/test/java/com/vaadin/hilla/parser/utils/annotatedowner/GLOB_Simple.java similarity index 75% rename from packages/java/parser-jvm-utils/src/test/java/dev/hilla/parser/utils/annotatedowner/GLOB_Simple.java rename to packages/java/parser-jvm-utils/src/test/java/com/vaadin/hilla/parser/utils/annotatedowner/GLOB_Simple.java index 27f61365c0..e12cb41d5a 100644 --- a/packages/java/parser-jvm-utils/src/test/java/dev/hilla/parser/utils/annotatedowner/GLOB_Simple.java +++ b/packages/java/parser-jvm-utils/src/test/java/com/vaadin/hilla/parser/utils/annotatedowner/GLOB_Simple.java @@ -1,4 +1,4 @@ -package dev.hilla.parser.utils.annotatedowner; +package com.vaadin.hilla.parser.utils.annotatedowner; public class GLOB_Simple { class DYN_CParam { diff --git a/packages/java/plugin-base/pom.xml b/packages/java/plugin-base/pom.xml index 8518110225..00606e81dd 100644 --- a/packages/java/plugin-base/pom.xml +++ b/packages/java/plugin-base/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml diff --git a/packages/java/plugin-base/src/main/java/dev/hilla/plugin/base/HillaAppInitUtility.java b/packages/java/plugin-base/src/main/java/com/vaadin/hilla/plugin/base/HillaAppInitUtility.java similarity index 99% rename from packages/java/plugin-base/src/main/java/dev/hilla/plugin/base/HillaAppInitUtility.java rename to packages/java/plugin-base/src/main/java/com/vaadin/hilla/plugin/base/HillaAppInitUtility.java index 8f8c062e36..acac4f4a6a 100644 --- a/packages/java/plugin-base/src/main/java/dev/hilla/plugin/base/HillaAppInitUtility.java +++ b/packages/java/plugin-base/src/main/java/com/vaadin/hilla/plugin/base/HillaAppInitUtility.java @@ -1,4 +1,4 @@ -package dev.hilla.plugin.base; +package com.vaadin.hilla.plugin.base; import java.io.IOException; import java.net.URL; diff --git a/packages/java/plugin-base/src/test/java/dev/hilla/plugin/base/HillaAppInitUtilityTest.java b/packages/java/plugin-base/src/test/java/com/vaadin/hilla/plugin/base/HillaAppInitUtilityTest.java similarity index 99% rename from packages/java/plugin-base/src/test/java/dev/hilla/plugin/base/HillaAppInitUtilityTest.java rename to packages/java/plugin-base/src/test/java/com/vaadin/hilla/plugin/base/HillaAppInitUtilityTest.java index 642f6dda09..db86d11cf5 100644 --- a/packages/java/plugin-base/src/test/java/dev/hilla/plugin/base/HillaAppInitUtilityTest.java +++ b/packages/java/plugin-base/src/test/java/com/vaadin/hilla/plugin/base/HillaAppInitUtilityTest.java @@ -1,4 +1,4 @@ -package dev.hilla.plugin.base; +package com.vaadin.hilla.plugin.base; import com.vaadin.flow.server.frontend.FrontendUtils; import org.junit.jupiter.api.AfterEach; diff --git a/packages/java/runtime-plugin-transfertypes/pom.xml b/packages/java/runtime-plugin-transfertypes/pom.xml index b426090519..b2a66c56ea 100644 --- a/packages/java/runtime-plugin-transfertypes/pom.xml +++ b/packages/java/runtime-plugin-transfertypes/pom.xml @@ -5,7 +5,7 @@ 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml diff --git a/packages/java/runtime-plugin-transfertypes/src/main/java/dev/hilla/mappedtypes/Order.java b/packages/java/runtime-plugin-transfertypes/src/main/java/com/vaadin/hilla/mappedtypes/Order.java similarity index 97% rename from packages/java/runtime-plugin-transfertypes/src/main/java/dev/hilla/mappedtypes/Order.java rename to packages/java/runtime-plugin-transfertypes/src/main/java/com/vaadin/hilla/mappedtypes/Order.java index 50304ce88d..16038ae2e1 100644 --- a/packages/java/runtime-plugin-transfertypes/src/main/java/dev/hilla/mappedtypes/Order.java +++ b/packages/java/runtime-plugin-transfertypes/src/main/java/com/vaadin/hilla/mappedtypes/Order.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.mappedtypes; +package com.vaadin.hilla.mappedtypes; import jakarta.annotation.Nonnull; import jakarta.validation.constraints.NotBlank; diff --git a/packages/java/runtime-plugin-transfertypes/src/main/java/dev/hilla/mappedtypes/Pageable.java b/packages/java/runtime-plugin-transfertypes/src/main/java/com/vaadin/hilla/mappedtypes/Pageable.java similarity index 97% rename from packages/java/runtime-plugin-transfertypes/src/main/java/dev/hilla/mappedtypes/Pageable.java rename to packages/java/runtime-plugin-transfertypes/src/main/java/com/vaadin/hilla/mappedtypes/Pageable.java index 46837bcc7b..7a672601a7 100644 --- a/packages/java/runtime-plugin-transfertypes/src/main/java/dev/hilla/mappedtypes/Pageable.java +++ b/packages/java/runtime-plugin-transfertypes/src/main/java/com/vaadin/hilla/mappedtypes/Pageable.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.mappedtypes; +package com.vaadin.hilla.mappedtypes; import jakarta.annotation.Nonnull; diff --git a/packages/java/runtime-plugin-transfertypes/src/main/java/dev/hilla/mappedtypes/Sort.java b/packages/java/runtime-plugin-transfertypes/src/main/java/com/vaadin/hilla/mappedtypes/Sort.java similarity index 96% rename from packages/java/runtime-plugin-transfertypes/src/main/java/dev/hilla/mappedtypes/Sort.java rename to packages/java/runtime-plugin-transfertypes/src/main/java/com/vaadin/hilla/mappedtypes/Sort.java index 406dda14ae..7777d03a85 100644 --- a/packages/java/runtime-plugin-transfertypes/src/main/java/dev/hilla/mappedtypes/Sort.java +++ b/packages/java/runtime-plugin-transfertypes/src/main/java/com/vaadin/hilla/mappedtypes/Sort.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package dev.hilla.mappedtypes; +package com.vaadin.hilla.mappedtypes; import java.util.ArrayList; import java.util.List; diff --git a/packages/java/runtime-plugin-transfertypes/src/main/java/dev/hilla/runtime/transfertypes/EndpointSubscription.java b/packages/java/runtime-plugin-transfertypes/src/main/java/com/vaadin/hilla/runtime/transfertypes/EndpointSubscription.java similarity index 65% rename from packages/java/runtime-plugin-transfertypes/src/main/java/dev/hilla/runtime/transfertypes/EndpointSubscription.java rename to packages/java/runtime-plugin-transfertypes/src/main/java/com/vaadin/hilla/runtime/transfertypes/EndpointSubscription.java index ff0c3059af..6f3c88168d 100644 --- a/packages/java/runtime-plugin-transfertypes/src/main/java/dev/hilla/runtime/transfertypes/EndpointSubscription.java +++ b/packages/java/runtime-plugin-transfertypes/src/main/java/com/vaadin/hilla/runtime/transfertypes/EndpointSubscription.java @@ -1,4 +1,4 @@ -package dev.hilla.runtime.transfertypes; +package com.vaadin.hilla.runtime.transfertypes; import java.util.ArrayList; diff --git a/packages/java/runtime-plugin-transfertypes/src/main/java/dev/hilla/runtime/transfertypes/Flux.java b/packages/java/runtime-plugin-transfertypes/src/main/java/com/vaadin/hilla/runtime/transfertypes/Flux.java similarity index 61% rename from packages/java/runtime-plugin-transfertypes/src/main/java/dev/hilla/runtime/transfertypes/Flux.java rename to packages/java/runtime-plugin-transfertypes/src/main/java/com/vaadin/hilla/runtime/transfertypes/Flux.java index 794f55510b..987b84590f 100644 --- a/packages/java/runtime-plugin-transfertypes/src/main/java/dev/hilla/runtime/transfertypes/Flux.java +++ b/packages/java/runtime-plugin-transfertypes/src/main/java/com/vaadin/hilla/runtime/transfertypes/Flux.java @@ -1,4 +1,4 @@ -package dev.hilla.runtime.transfertypes; +package com.vaadin.hilla.runtime.transfertypes; import java.util.ArrayList; diff --git a/packages/java/runtime-plugin-transfertypes/src/main/java/module-info.java b/packages/java/runtime-plugin-transfertypes/src/main/java/module-info.java index bff75c960a..ff362e56d5 100644 --- a/packages/java/runtime-plugin-transfertypes/src/main/java/module-info.java +++ b/packages/java/runtime-plugin-transfertypes/src/main/java/module-info.java @@ -1,9 +1,9 @@ -module dev.hilla.runtime.transfertypes { +module com.vaadin.hilla.runtime.transfertypes { requires jsr305; requires spring.data.commons; requires jakarta.validation; requires jakarta.annotation; - exports dev.hilla.runtime.transfertypes; - exports dev.hilla.mappedtypes; + exports com.vaadin.hilla.runtime.transfertypes; + exports com.vaadin.hilla.mappedtypes; } diff --git a/packages/java/tests/csrf-context/pom.xml b/packages/java/tests/csrf-context/pom.xml index fed597f429..555855b23c 100644 --- a/packages/java/tests/csrf-context/pom.xml +++ b/packages/java/tests/csrf-context/pom.xml @@ -2,7 +2,7 @@ 4.0.0 - dev.hilla + com.vaadin.hilla tests 24.4-SNAPSHOT @@ -27,7 +27,7 @@ - dev.hilla + com.vaadin.hilla hilla-dev ${project.version} @@ -36,7 +36,7 @@ - dev.hilla + com.vaadin.hilla hilla-maven-plugin diff --git a/packages/java/tests/csrf/src/main/java/dev/hilla/csrftest/MyServlet.java b/packages/java/tests/csrf-context/src/main/java/com/vaadin/hilla/csrftest/MyServlet.java similarity index 82% rename from packages/java/tests/csrf/src/main/java/dev/hilla/csrftest/MyServlet.java rename to packages/java/tests/csrf-context/src/main/java/com/vaadin/hilla/csrftest/MyServlet.java index dc82c1d447..9e5850747c 100644 --- a/packages/java/tests/csrf/src/main/java/dev/hilla/csrftest/MyServlet.java +++ b/packages/java/tests/csrf-context/src/main/java/com/vaadin/hilla/csrftest/MyServlet.java @@ -1,4 +1,4 @@ -package dev.hilla.csrftest; +package com.vaadin.hilla.csrftest; import jakarta.servlet.annotation.WebServlet; diff --git a/packages/java/tests/csrf-context/src/test/java/dev/hilla/csrftest/CsrfCookieIT.java b/packages/java/tests/csrf-context/src/test/java/com/vaadin/hilla/csrftest/CsrfCookieIT.java similarity index 98% rename from packages/java/tests/csrf-context/src/test/java/dev/hilla/csrftest/CsrfCookieIT.java rename to packages/java/tests/csrf-context/src/test/java/com/vaadin/hilla/csrftest/CsrfCookieIT.java index 34f22df529..c0d32828ab 100644 --- a/packages/java/tests/csrf-context/src/test/java/dev/hilla/csrftest/CsrfCookieIT.java +++ b/packages/java/tests/csrf-context/src/test/java/com/vaadin/hilla/csrftest/CsrfCookieIT.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.csrftest; +package com.vaadin.hilla.csrftest; import java.util.Arrays; import java.util.stream.Stream; diff --git a/packages/java/tests/csrf-context/src/test/java/dev/hilla/csrftest/CsrfCookieWithTrailingSlashAndCustomContextIT.java b/packages/java/tests/csrf-context/src/test/java/com/vaadin/hilla/csrftest/CsrfCookieWithTrailingSlashAndCustomContextIT.java similarity index 98% rename from packages/java/tests/csrf-context/src/test/java/dev/hilla/csrftest/CsrfCookieWithTrailingSlashAndCustomContextIT.java rename to packages/java/tests/csrf-context/src/test/java/com/vaadin/hilla/csrftest/CsrfCookieWithTrailingSlashAndCustomContextIT.java index ceb4037320..6131d3901f 100644 --- a/packages/java/tests/csrf-context/src/test/java/dev/hilla/csrftest/CsrfCookieWithTrailingSlashAndCustomContextIT.java +++ b/packages/java/tests/csrf-context/src/test/java/com/vaadin/hilla/csrftest/CsrfCookieWithTrailingSlashAndCustomContextIT.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.csrftest; +package com.vaadin.hilla.csrftest; import java.io.IOException; import java.net.CookieHandler; diff --git a/packages/java/tests/csrf/pom.xml b/packages/java/tests/csrf/pom.xml index 0236f060f7..e00d5eb7e7 100644 --- a/packages/java/tests/csrf/pom.xml +++ b/packages/java/tests/csrf/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla tests 24.4-SNAPSHOT @@ -21,7 +21,7 @@ - dev.hilla + com.vaadin.hilla hilla-dev ${project.version} @@ -40,7 +40,7 @@ - dev.hilla + com.vaadin.hilla hilla-maven-plugin diff --git a/packages/java/tests/csrf-context/src/main/java/dev/hilla/csrftest/MyServlet.java b/packages/java/tests/csrf/src/main/java/com/vaadin/hilla/csrftest/MyServlet.java similarity index 82% rename from packages/java/tests/csrf-context/src/main/java/dev/hilla/csrftest/MyServlet.java rename to packages/java/tests/csrf/src/main/java/com/vaadin/hilla/csrftest/MyServlet.java index dc82c1d447..9e5850747c 100644 --- a/packages/java/tests/csrf-context/src/main/java/dev/hilla/csrftest/MyServlet.java +++ b/packages/java/tests/csrf/src/main/java/com/vaadin/hilla/csrftest/MyServlet.java @@ -1,4 +1,4 @@ -package dev.hilla.csrftest; +package com.vaadin.hilla.csrftest; import jakarta.servlet.annotation.WebServlet; diff --git a/packages/java/tests/csrf/src/test/java/dev/hilla/csrftest/CsrfCookieWithTrailingSlashIT.java b/packages/java/tests/csrf/src/test/java/com/vaadin/hilla/csrftest/CsrfCookieWithTrailingSlashIT.java similarity index 98% rename from packages/java/tests/csrf/src/test/java/dev/hilla/csrftest/CsrfCookieWithTrailingSlashIT.java rename to packages/java/tests/csrf/src/test/java/com/vaadin/hilla/csrftest/CsrfCookieWithTrailingSlashIT.java index 40be897eb0..7f431ef422 100644 --- a/packages/java/tests/csrf/src/test/java/dev/hilla/csrftest/CsrfCookieWithTrailingSlashIT.java +++ b/packages/java/tests/csrf/src/test/java/com/vaadin/hilla/csrftest/CsrfCookieWithTrailingSlashIT.java @@ -14,7 +14,7 @@ * the License. */ -package dev.hilla.csrftest; +package com.vaadin.hilla.csrftest; import java.io.IOException; import java.net.CookieHandler; diff --git a/packages/java/tests/gradle/single-module-tests/build.gradle b/packages/java/tests/gradle/single-module-tests/build.gradle index 4b9eeaf78f..95977a52dc 100644 --- a/packages/java/tests/gradle/single-module-tests/build.gradle +++ b/packages/java/tests/gradle/single-module-tests/build.gradle @@ -4,10 +4,10 @@ plugins { id 'java' } -apply plugin: 'dev.hilla' +apply plugin: 'com.vaadin.hilla' hilla { - exposedPackagesToParser = ["dev.hilla.gradle.plugin.test"] + exposedPackagesToParser = ["com.vaadin.hilla.gradle.plugin.test"] } repositories { @@ -29,8 +29,8 @@ test { } dependencies { - implementation 'dev.hilla:hilla-react' - implementation 'dev.hilla:hilla-spring-boot-starter' + implementation 'com.vaadin.hilla:hilla-react' + implementation 'com.vaadin.hilla:hilla-spring-boot-starter' implementation 'org.parttio:line-awesome:1.1.0' developmentOnly 'org.springframework.boot:spring-boot-devtools' testImplementation('org.springframework.boot:spring-boot-starter-test') { @@ -40,6 +40,6 @@ dependencies { dependencyManagement { imports { - mavenBom "dev.hilla:hilla-bom:$hillaVersion" + mavenBom "com.vaadin.hilla:hilla-bom:$hillaVersion" } } diff --git a/packages/java/tests/gradle/single-module-tests/settings.gradle b/packages/java/tests/gradle/single-module-tests/settings.gradle index 807a945733..e56f5a56e0 100644 --- a/packages/java/tests/gradle/single-module-tests/settings.gradle +++ b/packages/java/tests/gradle/single-module-tests/settings.gradle @@ -5,6 +5,6 @@ buildscript { maven { setUrl("https://maven.vaadin.com/vaadin-prereleases") } } dependencies { - classpath("dev.hilla:hilla-gradle-plugin:$hillaVersion") + classpath("com.vaadin.hilla:hilla-gradle-plugin:$hillaVersion") } } diff --git a/packages/java/tests/gradle/single-module/src/main/java/dev/hilla/gradle/plugin/Application.java b/packages/java/tests/gradle/single-module-tests/src/main/java/com/vaadin/hilla/gradle/plugin/Application.java similarity index 93% rename from packages/java/tests/gradle/single-module/src/main/java/dev/hilla/gradle/plugin/Application.java rename to packages/java/tests/gradle/single-module-tests/src/main/java/com/vaadin/hilla/gradle/plugin/Application.java index e2066e92a8..37baf6a567 100644 --- a/packages/java/tests/gradle/single-module/src/main/java/dev/hilla/gradle/plugin/Application.java +++ b/packages/java/tests/gradle/single-module-tests/src/main/java/com/vaadin/hilla/gradle/plugin/Application.java @@ -1,4 +1,4 @@ -package dev.hilla.gradle.plugin; +package com.vaadin.hilla.gradle.plugin; import com.vaadin.flow.component.page.AppShellConfigurator; import com.vaadin.flow.theme.Theme; diff --git a/packages/java/tests/gradle/single-module-tests/src/main/java/dev/hilla/gradle/plugin/test/endpoint/HelloReactEndpoint.java b/packages/java/tests/gradle/single-module-tests/src/main/java/com/vaadin/hilla/gradle/plugin/test/endpoint/HelloReactEndpoint.java similarity index 72% rename from packages/java/tests/gradle/single-module-tests/src/main/java/dev/hilla/gradle/plugin/test/endpoint/HelloReactEndpoint.java rename to packages/java/tests/gradle/single-module-tests/src/main/java/com/vaadin/hilla/gradle/plugin/test/endpoint/HelloReactEndpoint.java index aa4792f22c..6f4ef448db 100644 --- a/packages/java/tests/gradle/single-module-tests/src/main/java/dev/hilla/gradle/plugin/test/endpoint/HelloReactEndpoint.java +++ b/packages/java/tests/gradle/single-module-tests/src/main/java/com/vaadin/hilla/gradle/plugin/test/endpoint/HelloReactEndpoint.java @@ -1,8 +1,8 @@ -package dev.hilla.gradle.plugin.test.endpoint; +package com.vaadin.hilla.gradle.plugin.test.endpoint; import com.vaadin.flow.server.auth.AnonymousAllowed; -import dev.hilla.Endpoint; -import dev.hilla.Nonnull; +import com.vaadin.hilla.Endpoint; +import com.vaadin.hilla.Nonnull; @Endpoint @AnonymousAllowed diff --git a/packages/java/tests/gradle/single-module-tests/src/main/resources/application.properties b/packages/java/tests/gradle/single-module-tests/src/main/resources/application.properties index d7bb9a1ab9..4b745b44bb 100644 --- a/packages/java/tests/gradle/single-module-tests/src/main/resources/application.properties +++ b/packages/java/tests/gradle/single-module-tests/src/main/resources/application.properties @@ -5,4 +5,4 @@ vaadin.devmode.liveReload.enabled=false vaadin.launch-browser=false # To improve the performance during development. # For more information https://vaadin.com/docs/flow/spring/tutorial-spring-configuration.html#special-configuration-parameters -vaadin.whitelisted-packages = com.vaadin,org.vaadin,dev.hilla,com.example.application +vaadin.whitelisted-packages = com.vaadin,org.vaadin,com.vaadin.hilla,com.example.application diff --git a/packages/java/tests/gradle/single-module-tests/src/test/java/dev/hilla/gradle/plugin/test/ProductionBuildFunctionalIT.java b/packages/java/tests/gradle/single-module-tests/src/test/java/com/vaadin/hilla/gradle/plugin/test/ProductionBuildFunctionalIT.java similarity index 96% rename from packages/java/tests/gradle/single-module-tests/src/test/java/dev/hilla/gradle/plugin/test/ProductionBuildFunctionalIT.java rename to packages/java/tests/gradle/single-module-tests/src/test/java/com/vaadin/hilla/gradle/plugin/test/ProductionBuildFunctionalIT.java index 5e00564206..1feee227da 100644 --- a/packages/java/tests/gradle/single-module-tests/src/test/java/dev/hilla/gradle/plugin/test/ProductionBuildFunctionalIT.java +++ b/packages/java/tests/gradle/single-module-tests/src/test/java/com/vaadin/hilla/gradle/plugin/test/ProductionBuildFunctionalIT.java @@ -1,4 +1,4 @@ -package dev.hilla.gradle.plugin.test; +package com.vaadin.hilla.gradle.plugin.test; import java.io.IOException; @@ -13,7 +13,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import dev.hilla.engine.commandrunner.GradleRunner; +import com.vaadin.hilla.engine.commandrunner.GradleRunner; import io.swagger.v3.core.util.Json; import io.swagger.v3.oas.models.OpenAPI; @@ -39,7 +39,7 @@ public void validateProductionBuildOutput() throws IOException { } private void afterProductionBuild_openApiJson_hasCorrectEndpoints() throws IOException { - var openApiJsonPath = getBuildDirPath().resolve("classes/dev/hilla/openapi.json").toFile(); + var openApiJsonPath = getBuildDirPath().resolve("classes/com/vaadin/hilla/openapi.json").toFile(); var openApiJson = Json.mapper().readValue(openApiJsonPath, OpenAPI.class); assertTrue(openApiJson.getPaths().containsKey("/HelloReactEndpoint/sayHello"), "After production build openApi.json should contain '/HelloReactEndpoint/sayHello' path."); diff --git a/packages/java/tests/gradle/single-module/build.gradle b/packages/java/tests/gradle/single-module/build.gradle index 7761c01b8e..28676dbc64 100644 --- a/packages/java/tests/gradle/single-module/build.gradle +++ b/packages/java/tests/gradle/single-module/build.gradle @@ -4,10 +4,10 @@ plugins { id 'java' } -apply plugin: 'dev.hilla' +apply plugin: 'com.vaadin.hilla' hilla { - exposedPackagesToParser = ["dev.hilla.gradle.plugin.test"] + exposedPackagesToParser = ["com.vaadin.hilla.gradle.plugin.test"] } repositories { @@ -22,7 +22,7 @@ test { } dependencies { - implementation 'dev.hilla:hilla-react-spring-boot-starter' + implementation 'com.vaadin.hilla:hilla-react-spring-boot-starter' implementation 'org.parttio:line-awesome:1.1.0' developmentOnly 'org.springframework.boot:spring-boot-devtools' testImplementation('org.springframework.boot:spring-boot-starter-test') { @@ -32,6 +32,6 @@ dependencies { dependencyManagement { imports { - mavenBom "dev.hilla:hilla-bom:$hillaVersion" + mavenBom "com.vaadin.hilla:hilla-bom:$hillaVersion" } } diff --git a/packages/java/tests/gradle/single-module/settings.gradle b/packages/java/tests/gradle/single-module/settings.gradle index ae84859016..ba04ebfa9b 100644 --- a/packages/java/tests/gradle/single-module/settings.gradle +++ b/packages/java/tests/gradle/single-module/settings.gradle @@ -5,7 +5,7 @@ buildscript { maven { setUrl("https://maven.vaadin.com/vaadin-prereleases") } } dependencies { - classpath("dev.hilla:hilla-gradle-plugin:$hillaVersion") + classpath("com.vaadin.hilla:hilla-gradle-plugin:$hillaVersion") } } diff --git a/packages/java/tests/gradle/single-module-tests/src/main/java/dev/hilla/gradle/plugin/Application.java b/packages/java/tests/gradle/single-module/src/main/java/com/vaadin/hilla/gradle/plugin/Application.java similarity index 93% rename from packages/java/tests/gradle/single-module-tests/src/main/java/dev/hilla/gradle/plugin/Application.java rename to packages/java/tests/gradle/single-module/src/main/java/com/vaadin/hilla/gradle/plugin/Application.java index e2066e92a8..37baf6a567 100644 --- a/packages/java/tests/gradle/single-module-tests/src/main/java/dev/hilla/gradle/plugin/Application.java +++ b/packages/java/tests/gradle/single-module/src/main/java/com/vaadin/hilla/gradle/plugin/Application.java @@ -1,4 +1,4 @@ -package dev.hilla.gradle.plugin; +package com.vaadin.hilla.gradle.plugin; import com.vaadin.flow.component.page.AppShellConfigurator; import com.vaadin.flow.theme.Theme; diff --git a/packages/java/tests/gradle/single-module/src/main/java/dev/hilla/gradle/plugin/test/endpoint/HelloReactEndpoint.java b/packages/java/tests/gradle/single-module/src/main/java/com/vaadin/hilla/gradle/plugin/test/endpoint/HelloReactEndpoint.java similarity index 72% rename from packages/java/tests/gradle/single-module/src/main/java/dev/hilla/gradle/plugin/test/endpoint/HelloReactEndpoint.java rename to packages/java/tests/gradle/single-module/src/main/java/com/vaadin/hilla/gradle/plugin/test/endpoint/HelloReactEndpoint.java index aa4792f22c..6f4ef448db 100644 --- a/packages/java/tests/gradle/single-module/src/main/java/dev/hilla/gradle/plugin/test/endpoint/HelloReactEndpoint.java +++ b/packages/java/tests/gradle/single-module/src/main/java/com/vaadin/hilla/gradle/plugin/test/endpoint/HelloReactEndpoint.java @@ -1,8 +1,8 @@ -package dev.hilla.gradle.plugin.test.endpoint; +package com.vaadin.hilla.gradle.plugin.test.endpoint; import com.vaadin.flow.server.auth.AnonymousAllowed; -import dev.hilla.Endpoint; -import dev.hilla.Nonnull; +import com.vaadin.hilla.Endpoint; +import com.vaadin.hilla.Nonnull; @Endpoint @AnonymousAllowed diff --git a/packages/java/tests/gradle/single-module/src/main/resources/application.properties b/packages/java/tests/gradle/single-module/src/main/resources/application.properties index ddb64ede2d..e6411e0a33 100644 --- a/packages/java/tests/gradle/single-module/src/main/resources/application.properties +++ b/packages/java/tests/gradle/single-module/src/main/resources/application.properties @@ -6,4 +6,4 @@ spring.mustache.check-template-location = false vaadin.launch-browser=false # To improve the performance during development. # For more information https://vaadin.com/docs/flow/spring/tutorial-spring-configuration.html#special-configuration-parameters -vaadin.whitelisted-packages = com.vaadin,org.vaadin,dev.hilla,com.example.application +vaadin.whitelisted-packages = com.vaadin,org.vaadin,com.vaadin.hilla,com.example.application diff --git a/packages/java/tests/pom.xml b/packages/java/tests/pom.xml index be627b9567..055c9ac476 100644 --- a/packages/java/tests/pom.xml +++ b/packages/java/tests/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT ../../../pom.xml @@ -59,12 +59,12 @@ test - dev.hilla + com.vaadin.hilla endpoint ${project.version} - dev.hilla + com.vaadin.hilla engine-runtime ${project.version} @@ -145,7 +145,7 @@ - dev.hilla + com.vaadin.hilla hilla-maven-plugin ${project.version} @@ -252,7 +252,7 @@ - dev.hilla + com.vaadin.hilla hilla-maven-plugin ${project.version} diff --git a/packages/java/tests/spring/endpoints discovery/pom.xml b/packages/java/tests/spring/endpoints discovery/pom.xml index 3c2f98ecca..7ad8f14000 100644 --- a/packages/java/tests/spring/endpoints discovery/pom.xml +++ b/packages/java/tests/spring/endpoints discovery/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla tests-spring 24.4-SNAPSHOT @@ -19,11 +19,11 @@ - dev.hilla + com.vaadin.hilla hilla - dev.hilla + com.vaadin.hilla hilla-spring-boot-starter @@ -40,7 +40,7 @@ - dev.hilla + com.vaadin.hilla hilla-maven-plugin diff --git a/packages/java/tests/spring/endpoints discovery/src/main/java/com/example/application/ExampleEndpoint.java b/packages/java/tests/spring/endpoints discovery/src/main/java/com/example/application/ExampleEndpoint.java index 7f696fb529..13a8b870f9 100644 --- a/packages/java/tests/spring/endpoints discovery/src/main/java/com/example/application/ExampleEndpoint.java +++ b/packages/java/tests/spring/endpoints discovery/src/main/java/com/example/application/ExampleEndpoint.java @@ -2,7 +2,7 @@ import com.external2.ExternalEntity2; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; @Endpoint public class ExampleEndpoint { diff --git a/packages/java/tests/spring/endpoints discovery/src/main/java/com/external/ExternalEndpoint.java b/packages/java/tests/spring/endpoints discovery/src/main/java/com/external/ExternalEndpoint.java index 0e5b4b8e49..4bf86ae045 100644 --- a/packages/java/tests/spring/endpoints discovery/src/main/java/com/external/ExternalEndpoint.java +++ b/packages/java/tests/spring/endpoints discovery/src/main/java/com/external/ExternalEndpoint.java @@ -1,6 +1,6 @@ package com.external; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; @Endpoint public class ExternalEndpoint { diff --git a/packages/java/tests/spring/endpoints discovery/src/main/java/com/invalid/InvalidEndpoint.java b/packages/java/tests/spring/endpoints discovery/src/main/java/com/invalid/InvalidEndpoint.java index 93b4e1cd7c..d426976c7b 100644 --- a/packages/java/tests/spring/endpoints discovery/src/main/java/com/invalid/InvalidEndpoint.java +++ b/packages/java/tests/spring/endpoints discovery/src/main/java/com/invalid/InvalidEndpoint.java @@ -1,6 +1,6 @@ package com.invalid; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; @Endpoint /** diff --git a/packages/java/tests/spring/endpoints discovery/src/test/java/dev/hilla/endpoint/EndpointGenerationIT.java b/packages/java/tests/spring/endpoints discovery/src/test/java/com/vaadin/hilla/endpoint/EndpointGenerationIT.java similarity index 97% rename from packages/java/tests/spring/endpoints discovery/src/test/java/dev/hilla/endpoint/EndpointGenerationIT.java rename to packages/java/tests/spring/endpoints discovery/src/test/java/com/vaadin/hilla/endpoint/EndpointGenerationIT.java index 64aed2b771..469649ddf5 100644 --- a/packages/java/tests/spring/endpoints discovery/src/test/java/dev/hilla/endpoint/EndpointGenerationIT.java +++ b/packages/java/tests/spring/endpoints discovery/src/test/java/com/vaadin/hilla/endpoint/EndpointGenerationIT.java @@ -1,4 +1,4 @@ -package dev.hilla.endpoint; +package com.vaadin.hilla.endpoint; import java.nio.file.Files; import java.nio.file.Path; diff --git a/packages/java/tests/spring/endpoints-contextpath/pom.xml b/packages/java/tests/spring/endpoints-contextpath/pom.xml index 77c5e3cece..69e3248a91 100644 --- a/packages/java/tests/spring/endpoints-contextpath/pom.xml +++ b/packages/java/tests/spring/endpoints-contextpath/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla tests-spring 24.4-SNAPSHOT @@ -19,11 +19,11 @@ - dev.hilla + com.vaadin.hilla hilla - dev.hilla + com.vaadin.hilla hilla-spring-boot-starter @@ -36,7 +36,7 @@ - dev.hilla + com.vaadin.hilla hilla-maven-plugin diff --git a/packages/java/tests/spring/endpoints-contextpath/src/main/java/com/vaadin/flow/connect/EchoEndpoint.java b/packages/java/tests/spring/endpoints-contextpath/src/main/java/com/vaadin/flow/connect/EchoEndpoint.java index 1aa3371591..8b3140a72f 100644 --- a/packages/java/tests/spring/endpoints-contextpath/src/main/java/com/vaadin/flow/connect/EchoEndpoint.java +++ b/packages/java/tests/spring/endpoints-contextpath/src/main/java/com/vaadin/flow/connect/EchoEndpoint.java @@ -1,6 +1,6 @@ package com.vaadin.flow.connect; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; import reactor.core.publisher.Flux; import com.vaadin.flow.server.auth.AnonymousAllowed; diff --git a/packages/java/tests/spring/endpoints-custom-client/pom.xml b/packages/java/tests/spring/endpoints-custom-client/pom.xml index bd5e9b147f..9e119a724a 100644 --- a/packages/java/tests/spring/endpoints-custom-client/pom.xml +++ b/packages/java/tests/spring/endpoints-custom-client/pom.xml @@ -3,7 +3,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla tests-spring 24.4-SNAPSHOT @@ -18,11 +18,11 @@ - dev.hilla + com.vaadin.hilla hilla - dev.hilla + com.vaadin.hilla hilla-spring-boot-starter @@ -34,7 +34,7 @@ - dev.hilla + com.vaadin.hilla hilla-maven-plugin diff --git a/packages/java/tests/spring/endpoints-custom-client/src/main/java/com/vaadin/flow/connect/AppEndpoint.java b/packages/java/tests/spring/endpoints-custom-client/src/main/java/com/vaadin/flow/connect/AppEndpoint.java index 504afa5dcb..dfa9c67175 100644 --- a/packages/java/tests/spring/endpoints-custom-client/src/main/java/com/vaadin/flow/connect/AppEndpoint.java +++ b/packages/java/tests/spring/endpoints-custom-client/src/main/java/com/vaadin/flow/connect/AppEndpoint.java @@ -1,6 +1,6 @@ package com.vaadin.flow.connect; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; import com.vaadin.flow.server.auth.AnonymousAllowed; /** diff --git a/packages/java/tests/spring/endpoints-latest-java/pom.xml b/packages/java/tests/spring/endpoints-latest-java/pom.xml index 2121a64f04..08f4b3c852 100644 --- a/packages/java/tests/spring/endpoints-latest-java/pom.xml +++ b/packages/java/tests/spring/endpoints-latest-java/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla tests-spring 24.4-SNAPSHOT @@ -22,11 +22,11 @@ - dev.hilla + com.vaadin.hilla hilla - dev.hilla + com.vaadin.hilla hilla-spring-boot-starter @@ -44,7 +44,7 @@ - dev.hilla + com.vaadin.hilla hilla-maven-plugin diff --git a/packages/java/tests/spring/endpoints-latest-java/src/main/java/com/vaadin/flow/connect/AppEndpoint.java b/packages/java/tests/spring/endpoints-latest-java/src/main/java/com/vaadin/flow/connect/AppEndpoint.java index 3e400666fa..b14187b11d 100644 --- a/packages/java/tests/spring/endpoints-latest-java/src/main/java/com/vaadin/flow/connect/AppEndpoint.java +++ b/packages/java/tests/spring/endpoints-latest-java/src/main/java/com/vaadin/flow/connect/AppEndpoint.java @@ -2,9 +2,9 @@ import com.vaadin.flow.server.auth.AnonymousAllowed; -import dev.hilla.Endpoint; -import dev.hilla.Nonnull; -import dev.hilla.Nullable; +import com.vaadin.hilla.Endpoint; +import com.vaadin.hilla.Nonnull; +import com.vaadin.hilla.Nullable; /** * Simple Vaadin Connect Service definition. diff --git a/packages/java/tests/spring/endpoints-maven-engine/pom.xml b/packages/java/tests/spring/endpoints-maven-engine/pom.xml index 3870d95a55..a2e0b70c72 100644 --- a/packages/java/tests/spring/endpoints-maven-engine/pom.xml +++ b/packages/java/tests/spring/endpoints-maven-engine/pom.xml @@ -3,7 +3,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla tests-spring 24.4-SNAPSHOT @@ -51,7 +51,7 @@ byte-buddy - dev.hilla + com.vaadin.hilla engine-runtime ${project.version} - dev.hilla + com.vaadin.hilla hilla-maven-plugin diff --git a/packages/java/tests/spring/endpoints/pom.xml b/packages/java/tests/spring/endpoints/pom.xml index c1e435a8dc..42acd8b42a 100644 --- a/packages/java/tests/spring/endpoints/pom.xml +++ b/packages/java/tests/spring/endpoints/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla tests-spring 24.4-SNAPSHOT @@ -19,11 +19,11 @@ - dev.hilla + com.vaadin.hilla hilla - dev.hilla + com.vaadin.hilla hilla-spring-boot-starter @@ -41,7 +41,7 @@ spring-boot:run - dev.hilla + com.vaadin.hilla hilla-maven-plugin diff --git a/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/AnnotatedEndpoint.java b/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/AnnotatedEndpoint.java index b5cad7c1b1..7765a045ed 100644 --- a/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/AnnotatedEndpoint.java +++ b/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/AnnotatedEndpoint.java @@ -1,8 +1,8 @@ package com.vaadin.flow.connect; import com.fasterxml.jackson.annotation.JsonProperty; -import dev.hilla.Endpoint; -import dev.hilla.Nonnull; +import com.vaadin.hilla.Endpoint; +import com.vaadin.hilla.Nonnull; import jakarta.validation.constraints.NotBlank; import com.vaadin.flow.server.auth.AnonymousAllowed; diff --git a/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/AppEndpoint.java b/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/AppEndpoint.java index c94987c100..becec6b5e1 100644 --- a/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/AppEndpoint.java +++ b/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/AppEndpoint.java @@ -8,8 +8,8 @@ import com.vaadin.flow.server.VaadinRequest; import com.vaadin.flow.server.auth.AnonymousAllowed; -import dev.hilla.Endpoint; -import dev.hilla.Nullable; +import com.vaadin.hilla.Endpoint; +import com.vaadin.hilla.Nullable; import jakarta.annotation.security.PermitAll; import jakarta.annotation.security.RolesAllowed; diff --git a/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/FluxEndpoint.java b/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/FluxEndpoint.java index 7e027f8372..cde42e93fd 100644 --- a/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/FluxEndpoint.java +++ b/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/FluxEndpoint.java @@ -8,9 +8,9 @@ import com.vaadin.flow.server.auth.AnonymousAllowed; -import dev.hilla.Endpoint; -import dev.hilla.Nonnull; -import dev.hilla.Nullable; +import com.vaadin.hilla.Endpoint; +import com.vaadin.hilla.Nonnull; +import com.vaadin.hilla.Nullable; import jakarta.annotation.security.PermitAll; import jakarta.annotation.security.RolesAllowed; import reactor.core.publisher.Flux; diff --git a/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/KnownTypesEndpoint.java b/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/KnownTypesEndpoint.java index 8c910d1d8b..2058c3784d 100644 --- a/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/KnownTypesEndpoint.java +++ b/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/KnownTypesEndpoint.java @@ -1,6 +1,6 @@ package com.vaadin.flow.connect; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; import com.vaadin.flow.server.auth.AnonymousAllowed; import com.vaadin.flow.router.Location; diff --git a/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/PackagePrivateEndpoint.java b/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/PackagePrivateEndpoint.java index 2a916870e2..20d835c919 100644 --- a/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/PackagePrivateEndpoint.java +++ b/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/PackagePrivateEndpoint.java @@ -2,8 +2,8 @@ import com.vaadin.flow.server.auth.AnonymousAllowed; -import dev.hilla.Endpoint; -import dev.hilla.Nullable; +import com.vaadin.hilla.Endpoint; +import com.vaadin.hilla.Nullable; import jakarta.annotation.security.PermitAll; /** diff --git a/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/PagedEndpoint.java b/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/PagedEndpoint.java index 93abb79de3..24b52a86b2 100644 --- a/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/PagedEndpoint.java +++ b/packages/java/tests/spring/endpoints/src/main/java/com/vaadin/flow/connect/PagedEndpoint.java @@ -6,9 +6,9 @@ import java.util.List; import java.util.Objects; -import dev.hilla.Endpoint; -import dev.hilla.Nonnull; -import dev.hilla.Nullable; +import com.vaadin.hilla.Endpoint; +import com.vaadin.hilla.Nonnull; +import com.vaadin.hilla.Nullable; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageImpl; import org.springframework.data.domain.PageRequest; diff --git a/packages/java/tests/spring/native/pom.xml b/packages/java/tests/spring/native/pom.xml index 0e60f41d2b..d201a2acc6 100644 --- a/packages/java/tests/spring/native/pom.xml +++ b/packages/java/tests/spring/native/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla tests-spring 24.4-SNAPSHOT @@ -26,7 +26,7 @@ - dev.hilla + com.vaadin.hilla hilla-react-spring-boot-starter @@ -89,7 +89,7 @@ - dev.hilla + com.vaadin.hilla hilla-maven-plugin @@ -375,7 +375,7 @@ - dev.hilla + com.vaadin.hilla hilla-maven-plugin diff --git a/packages/java/tests/spring/native/src/main/java/com/example/application/data/endpoint/UserEndpoint.java b/packages/java/tests/spring/native/src/main/java/com/example/application/data/endpoint/UserEndpoint.java index 7e8663fb9d..e65cc2ba2a 100644 --- a/packages/java/tests/spring/native/src/main/java/com/example/application/data/endpoint/UserEndpoint.java +++ b/packages/java/tests/spring/native/src/main/java/com/example/application/data/endpoint/UserEndpoint.java @@ -3,7 +3,7 @@ import com.example.application.data.entity.User; import com.example.application.security.AuthenticatedUser; import com.vaadin.flow.server.auth.AnonymousAllowed; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; import org.springframework.beans.factory.annotation.Autowired; import java.util.Optional; diff --git a/packages/java/tests/spring/native/src/main/java/com/example/application/endpoints/ChatService.java b/packages/java/tests/spring/native/src/main/java/com/example/application/endpoints/ChatService.java index fae245e7aa..7c5e44b331 100644 --- a/packages/java/tests/spring/native/src/main/java/com/example/application/endpoints/ChatService.java +++ b/packages/java/tests/spring/native/src/main/java/com/example/application/endpoints/ChatService.java @@ -4,8 +4,8 @@ import java.time.Instant; -import dev.hilla.Endpoint; -import dev.hilla.Nonnull; +import com.vaadin.hilla.Endpoint; +import com.vaadin.hilla.Nonnull; import reactor.core.publisher.Flux; import reactor.core.publisher.Sinks; diff --git a/packages/java/tests/spring/native/src/main/java/com/example/application/service/PersonService.java b/packages/java/tests/spring/native/src/main/java/com/example/application/service/PersonService.java index 4d62e83659..17ac05e3fc 100644 --- a/packages/java/tests/spring/native/src/main/java/com/example/application/service/PersonService.java +++ b/packages/java/tests/spring/native/src/main/java/com/example/application/service/PersonService.java @@ -1,7 +1,7 @@ package com.example.application.service; -import dev.hilla.BrowserCallable; -import dev.hilla.crud.CrudRepositoryService; +import com.vaadin.hilla.BrowserCallable; +import com.vaadin.hilla.crud.CrudRepositoryService; import com.vaadin.flow.server.auth.AnonymousAllowed; @BrowserCallable diff --git a/packages/java/tests/spring/native/src/main/resources/application.properties b/packages/java/tests/spring/native/src/main/resources/application.properties index 09c7b12b38..9d7d418da4 100644 --- a/packages/java/tests/spring/native/src/main/resources/application.properties +++ b/packages/java/tests/spring/native/src/main/resources/application.properties @@ -6,5 +6,5 @@ spring.mustache.check-template-location = false vaadin.launch-browser=true # To improve the performance during development. # For more information https://vaadin.com/docs/flow/spring/tutorial-spring-configuration.html#special-configuration-parameters -vaadin.whitelisted-packages = com.vaadin,org.vaadin,dev.hilla,com.example.application +vaadin.whitelisted-packages = com.vaadin,org.vaadin,com.vaadin.hilla,com.example.application spring.jpa.defer-datasource-initialization = true diff --git a/packages/java/tests/spring/pom.xml b/packages/java/tests/spring/pom.xml index caec05db9d..2f97d50621 100644 --- a/packages/java/tests/spring/pom.xml +++ b/packages/java/tests/spring/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla tests 24.4-SNAPSHOT @@ -38,7 +38,7 @@ ${testbench.version} - dev.hilla + com.vaadin.hilla hilla-bom pom import diff --git a/packages/java/tests/spring/react-grid-test/frontend/views/AutoCrudView.tsx b/packages/java/tests/spring/react-grid-test/frontend/views/AutoCrudView.tsx index 329ce08eda..b03c0eaaa8 100644 --- a/packages/java/tests/spring/react-grid-test/frontend/views/AutoCrudView.tsx +++ b/packages/java/tests/spring/react-grid-test/frontend/views/AutoCrudView.tsx @@ -1,5 +1,5 @@ import { AutoCrud } from '@hilla/react-crud'; -import PersonModel from 'Frontend/generated/dev/hilla/test/reactgrid/PersonModel.js'; +import PersonModel from 'Frontend/generated/com/vaadin/hilla/test/reactgrid/PersonModel.js'; import { PersonService } from 'Frontend/generated/endpoints.js'; export function AutoCrudView(): JSX.Element { diff --git a/packages/java/tests/spring/react-grid-test/frontend/views/AutoFormView.tsx b/packages/java/tests/spring/react-grid-test/frontend/views/AutoFormView.tsx index c3746f143d..3b38817db0 100644 --- a/packages/java/tests/spring/react-grid-test/frontend/views/AutoFormView.tsx +++ b/packages/java/tests/spring/react-grid-test/frontend/views/AutoFormView.tsx @@ -1,7 +1,7 @@ import { AutoForm, DeleteErrorEvent, DeleteEvent, SubmitErrorEvent, SubmitEvent } from '@hilla/react-crud'; import { useState } from 'react'; -import type Appointment from 'Frontend/generated/dev/hilla/test/reactgrid/Appointment.js'; -import AppointmentModel from 'Frontend/generated/dev/hilla/test/reactgrid/AppointmentModel.js'; +import type Appointment from 'Frontend/generated/com/vaadin/hilla/test/reactgrid/Appointment.js'; +import AppointmentModel from 'Frontend/generated/com/vaadin/hilla/test/reactgrid/AppointmentModel.js'; import { AppointmentService } from 'Frontend/generated/endpoints.js'; export function AutoFormView(): JSX.Element { diff --git a/packages/java/tests/spring/react-grid-test/frontend/views/GridWithEntityReferences.tsx b/packages/java/tests/spring/react-grid-test/frontend/views/GridWithEntityReferences.tsx index 51471d202f..9cde059a9a 100644 --- a/packages/java/tests/spring/react-grid-test/frontend/views/GridWithEntityReferences.tsx +++ b/packages/java/tests/spring/react-grid-test/frontend/views/GridWithEntityReferences.tsx @@ -1,5 +1,5 @@ import { AutoGrid } from '@hilla/react-crud'; -import EmployeeModel from 'Frontend/generated/dev/hilla/test/reactgrid/entityreferences/EmployeeModel.js'; +import EmployeeModel from 'Frontend/generated/com/vaadin/hilla/test/reactgrid/entityreferences/EmployeeModel.js'; import { EmployeeService } from 'Frontend/generated/endpoints.js'; export function GridWithEntityReferences(): JSX.Element { diff --git a/packages/java/tests/spring/react-grid-test/frontend/views/ReadOnlyGrid.tsx b/packages/java/tests/spring/react-grid-test/frontend/views/ReadOnlyGrid.tsx index 42b534f756..cc43daeed7 100644 --- a/packages/java/tests/spring/react-grid-test/frontend/views/ReadOnlyGrid.tsx +++ b/packages/java/tests/spring/react-grid-test/frontend/views/ReadOnlyGrid.tsx @@ -1,6 +1,6 @@ import { AutoGrid } from '@hilla/react-crud'; -import type Person from 'Frontend/generated/dev/hilla/test/reactgrid/Person.js'; -import PersonModel from 'Frontend/generated/dev/hilla/test/reactgrid/PersonModel.js'; +import type Person from 'Frontend/generated/com/vaadin/hilla/test/reactgrid/Person.js'; +import PersonModel from 'Frontend/generated/com/vaadin/hilla/test/reactgrid/PersonModel.js'; import { PersonListOnlyService } from 'Frontend/generated/endpoints.js'; type GridBodyReactRendererProps = { diff --git a/packages/java/tests/spring/react-grid-test/frontend/views/ReadOnlyGridCustomFilter.tsx b/packages/java/tests/spring/react-grid-test/frontend/views/ReadOnlyGridCustomFilter.tsx index cb9f38f7f7..98b7015575 100644 --- a/packages/java/tests/spring/react-grid-test/frontend/views/ReadOnlyGridCustomFilter.tsx +++ b/packages/java/tests/spring/react-grid-test/frontend/views/ReadOnlyGridCustomFilter.tsx @@ -1,11 +1,11 @@ import { TextField } from '@hilla/react-components/TextField.js'; import { AutoGrid, HeaderFilterRendererProps } from '@hilla/react-crud'; -import PersonModel from 'Frontend/generated/dev/hilla/test/reactgrid/PersonModel.js'; -import Person from 'Frontend/generated/dev/hilla/test/reactgrid/Person'; +import PersonModel from 'Frontend/generated/com/vaadin/hilla/test/reactgrid/PersonModel.js'; +import Person from 'Frontend/generated/com/vaadin/hilla/test/reactgrid/Person'; import { PersonService } from 'Frontend/generated/endpoints.js'; import { GridColumn } from '@hilla/react-components/GridColumn'; -import type FilterUnion from 'Frontend/generated/dev/hilla/crud/filter/FilterUnion.js'; -import type OrFilter from 'Frontend/generated/dev/hilla/crud/filter/OrFilter.js'; +import type FilterUnion from 'Frontend/generated/com/vaadin/hilla/crud/filter/FilterUnion.js'; +import type OrFilter from 'Frontend/generated/com/vaadin/hilla/crud/filter/OrFilter.js'; const HeaderFilterRenderer = ({ setFilter }: HeaderFilterRendererProps) => { return ( @@ -29,7 +29,7 @@ const HeaderFilterRenderer = ({ setFilter }: HeaderFilterRendererProps) => { const filter: OrFilter = { '@type': 'or', - children: [firstNameFilter, lastNameFilter] + children: [firstNameFilter, lastNameFilter], }; setFilter(filter as FilterUnion); @@ -40,14 +40,11 @@ const HeaderFilterRenderer = ({ setFilter }: HeaderFilterRendererProps) => { const FullNameRenderer = ({ item }: { item: Person }): JSX.Element => ( - {item.firstName} {item.lastName} - -); - -const HeaderRenderer = () => ( -

Full Name (currently: {new Date().toLocaleString()})
+ {item.firstName} {item.lastName} + ); +const HeaderRenderer = () =>
Full Name (currently: {new Date().toLocaleString()})
; export function ReadOnlyGridCustomFilter(): JSX.Element { return ( @@ -56,12 +53,10 @@ export function ReadOnlyGridCustomFilter(): JSX.Element { service={PersonService} model={PersonModel} visibleColumns={['firstName', 'lastName', 'gender', 'fullName']} - customColumns={[ - , - ]} + customColumns={[]} columnOptions={{ lastName: { filterPlaceholder: 'Search for last name' }, - fullName: { headerRenderer: HeaderRenderer, headerFilterRenderer: HeaderFilterRenderer } + fullName: { headerRenderer: HeaderRenderer, headerFilterRenderer: HeaderFilterRenderer }, }} /> diff --git a/packages/java/tests/spring/react-grid-test/frontend/views/ReadOnlyGridOrFilter.tsx b/packages/java/tests/spring/react-grid-test/frontend/views/ReadOnlyGridOrFilter.tsx index 32414f62ad..2a286b2032 100644 --- a/packages/java/tests/spring/react-grid-test/frontend/views/ReadOnlyGridOrFilter.tsx +++ b/packages/java/tests/spring/react-grid-test/frontend/views/ReadOnlyGridOrFilter.tsx @@ -1,8 +1,8 @@ import { TextField } from '@hilla/react-components/TextField.js'; import { AutoGrid } from '@hilla/react-crud'; import { useState } from 'react'; -import type FilterUnion from 'Frontend/generated/dev/hilla/crud/filter/FilterUnion.js'; -import PersonModel from 'Frontend/generated/dev/hilla/test/reactgrid/PersonModel.js'; +import type FilterUnion from 'Frontend/generated/com/vaadin/hilla/crud/filter/FilterUnion.js'; +import PersonModel from 'Frontend/generated/com/vaadin/hilla/test/reactgrid/PersonModel.js'; import { PersonService } from 'Frontend/generated/endpoints.js'; export function ReadOnlyGridOrFilter(): JSX.Element { diff --git a/packages/java/tests/spring/react-grid-test/frontend/views/ReadOnlyGridSinglePropertyFilter.tsx b/packages/java/tests/spring/react-grid-test/frontend/views/ReadOnlyGridSinglePropertyFilter.tsx index 6de9e1e71d..56041e574f 100644 --- a/packages/java/tests/spring/react-grid-test/frontend/views/ReadOnlyGridSinglePropertyFilter.tsx +++ b/packages/java/tests/spring/react-grid-test/frontend/views/ReadOnlyGridSinglePropertyFilter.tsx @@ -1,9 +1,9 @@ import { TextField } from '@hilla/react-components/TextField.js'; import { AutoGrid } from '@hilla/react-crud'; import { useState } from 'react'; -import type FilterUnion from 'Frontend/generated/dev/hilla/crud/filter/FilterUnion.js'; -import Matcher from 'Frontend/generated/dev/hilla/crud/filter/PropertyStringFilter/Matcher.js'; -import PersonModel from 'Frontend/generated/dev/hilla/test/reactgrid/PersonModel.js'; +import type FilterUnion from 'Frontend/generated/com/vaadin/hilla/crud/filter/FilterUnion.js'; +import Matcher from 'Frontend/generated/com/vaadin/hilla/crud/filter/PropertyStringFilter/Matcher.js'; +import PersonModel from 'Frontend/generated/com/vaadin/hilla/test/reactgrid/PersonModel.js'; import { PersonService } from 'Frontend/generated/endpoints.js'; export function ReadOnlyGridSinglePropertyFilter(): JSX.Element { diff --git a/packages/java/tests/spring/react-grid-test/frontend/views/ReadOnlyGridWithHeaderFilter.tsx b/packages/java/tests/spring/react-grid-test/frontend/views/ReadOnlyGridWithHeaderFilter.tsx index 3671fb6bc5..5112057bff 100644 --- a/packages/java/tests/spring/react-grid-test/frontend/views/ReadOnlyGridWithHeaderFilter.tsx +++ b/packages/java/tests/spring/react-grid-test/frontend/views/ReadOnlyGridWithHeaderFilter.tsx @@ -2,8 +2,8 @@ import type { AbstractModel, DetachedModelConstructor } from '@hilla/form'; import { Button } from '@hilla/react-components/Button.js'; import { AutoGrid, type CrudService } from '@hilla/react-crud'; import { useState } from 'react'; -import CompanyModel from 'Frontend/generated/dev/hilla/test/reactgrid/CompanyModel.js'; -import PersonModel from 'Frontend/generated/dev/hilla/test/reactgrid/PersonModel.js'; +import CompanyModel from 'Frontend/generated/com/vaadin/hilla/test/reactgrid/CompanyModel.js'; +import PersonModel from 'Frontend/generated/com/vaadin/hilla/test/reactgrid/PersonModel.js'; import { CompanyService, PersonService } from 'Frontend/generated/endpoints.js'; export function ReadOnlyGridWithHeaderFilters(): JSX.Element { diff --git a/packages/java/tests/spring/react-grid-test/pom.xml b/packages/java/tests/spring/react-grid-test/pom.xml index c1ea7ecc17..a1ff96c8e1 100644 --- a/packages/java/tests/spring/react-grid-test/pom.xml +++ b/packages/java/tests/spring/react-grid-test/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla tests-spring 24.4-SNAPSHOT @@ -19,7 +19,7 @@ - dev.hilla + com.vaadin.hilla hilla-react @@ -75,7 +75,7 @@ spring-boot:run - dev.hilla + com.vaadin.hilla hilla-maven-plugin diff --git a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/AbstractEntity.java b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/AbstractEntity.java similarity index 89% rename from packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/AbstractEntity.java rename to packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/AbstractEntity.java index cb38b1570f..005dae79da 100644 --- a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/AbstractEntity.java +++ b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/AbstractEntity.java @@ -1,4 +1,4 @@ -package dev.hilla.test.reactgrid; +package com.vaadin.hilla.test.reactgrid; import jakarta.persistence.GeneratedValue; import jakarta.persistence.GenerationType; @@ -6,7 +6,7 @@ import jakarta.persistence.MappedSuperclass; import jakarta.persistence.Version; -import dev.hilla.Nullable; +import com.vaadin.hilla.Nullable; @MappedSuperclass public class AbstractEntity { diff --git a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/Application.java b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/Application.java similarity index 91% rename from packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/Application.java rename to packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/Application.java index 2f49aa703a..07389166e3 100644 --- a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/Application.java +++ b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/Application.java @@ -1,4 +1,4 @@ -package dev.hilla.test.reactgrid; +package com.vaadin.hilla.test.reactgrid; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; diff --git a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/Appointment.java b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/Appointment.java similarity index 97% rename from packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/Appointment.java rename to packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/Appointment.java index b585400201..648314bb5f 100644 --- a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/Appointment.java +++ b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/Appointment.java @@ -1,4 +1,4 @@ -package dev.hilla.test.reactgrid; +package com.vaadin.hilla.test.reactgrid; import java.time.LocalDate; import java.time.LocalDateTime; diff --git a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/AppointmentRepository.java b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/AppointmentRepository.java similarity index 86% rename from packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/AppointmentRepository.java rename to packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/AppointmentRepository.java index 11a5b2bd8f..d506fc6c6b 100644 --- a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/AppointmentRepository.java +++ b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/AppointmentRepository.java @@ -1,4 +1,4 @@ -package dev.hilla.test.reactgrid; +package com.vaadin.hilla.test.reactgrid; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; diff --git a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/AppointmentService.java b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/AppointmentService.java similarity index 66% rename from packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/AppointmentService.java rename to packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/AppointmentService.java index cafb789c4b..aba309f2fe 100644 --- a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/AppointmentService.java +++ b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/AppointmentService.java @@ -1,7 +1,7 @@ -package dev.hilla.test.reactgrid; +package com.vaadin.hilla.test.reactgrid; -import dev.hilla.BrowserCallable; -import dev.hilla.crud.CrudRepositoryService; +import com.vaadin.hilla.BrowserCallable; +import com.vaadin.hilla.crud.CrudRepositoryService; import org.springframework.stereotype.Service; import com.vaadin.flow.server.auth.AnonymousAllowed; diff --git a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/Company.java b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/Company.java similarity index 85% rename from packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/Company.java rename to packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/Company.java index e145104946..0b1ca5c57a 100644 --- a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/Company.java +++ b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/Company.java @@ -1,4 +1,4 @@ -package dev.hilla.test.reactgrid; +package com.vaadin.hilla.test.reactgrid; import jakarta.persistence.Entity; diff --git a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/CompanyRepository.java b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/CompanyRepository.java similarity index 86% rename from packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/CompanyRepository.java rename to packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/CompanyRepository.java index 1c35558c2c..ea20d2814f 100644 --- a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/CompanyRepository.java +++ b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/CompanyRepository.java @@ -1,4 +1,4 @@ -package dev.hilla.test.reactgrid; +package com.vaadin.hilla.test.reactgrid; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; diff --git a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/CompanyService.java b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/CompanyService.java similarity index 59% rename from packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/CompanyService.java rename to packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/CompanyService.java index 1d65eeb866..4eea3330b7 100644 --- a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/CompanyService.java +++ b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/CompanyService.java @@ -1,7 +1,7 @@ -package dev.hilla.test.reactgrid; +package com.vaadin.hilla.test.reactgrid; -import dev.hilla.BrowserCallable; -import dev.hilla.crud.CrudRepositoryService; +import com.vaadin.hilla.BrowserCallable; +import com.vaadin.hilla.crud.CrudRepositoryService; import com.vaadin.flow.server.auth.AnonymousAllowed; diff --git a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/Person.java b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/Person.java similarity index 98% rename from packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/Person.java rename to packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/Person.java index 0161fad034..5b939f7641 100644 --- a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/Person.java +++ b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/Person.java @@ -1,4 +1,4 @@ -package dev.hilla.test.reactgrid; +package com.vaadin.hilla.test.reactgrid; import jakarta.persistence.Entity; diff --git a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/PersonListOnlyService.java b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/PersonListOnlyService.java similarity index 60% rename from packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/PersonListOnlyService.java rename to packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/PersonListOnlyService.java index 0a5d0cdfaa..97781f6cc9 100644 --- a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/PersonListOnlyService.java +++ b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/PersonListOnlyService.java @@ -1,7 +1,7 @@ -package dev.hilla.test.reactgrid; +package com.vaadin.hilla.test.reactgrid; -import dev.hilla.BrowserCallable; -import dev.hilla.crud.ListRepositoryService; +import com.vaadin.hilla.BrowserCallable; +import com.vaadin.hilla.crud.ListRepositoryService; import com.vaadin.flow.server.auth.AnonymousAllowed; diff --git a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/PersonRepository.java b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/PersonRepository.java similarity index 86% rename from packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/PersonRepository.java rename to packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/PersonRepository.java index 77398ed78b..6047eda063 100644 --- a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/PersonRepository.java +++ b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/PersonRepository.java @@ -1,4 +1,4 @@ -package dev.hilla.test.reactgrid; +package com.vaadin.hilla.test.reactgrid; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; diff --git a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/PersonService.java b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/PersonService.java similarity index 59% rename from packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/PersonService.java rename to packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/PersonService.java index f592275ed8..82cbb74dde 100644 --- a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/PersonService.java +++ b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/PersonService.java @@ -1,7 +1,7 @@ -package dev.hilla.test.reactgrid; +package com.vaadin.hilla.test.reactgrid; -import dev.hilla.BrowserCallable; -import dev.hilla.crud.CrudRepositoryService; +import com.vaadin.hilla.BrowserCallable; +import com.vaadin.hilla.crud.CrudRepositoryService; import com.vaadin.flow.server.auth.AnonymousAllowed; diff --git a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/entityreferences/Address.java b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/entityreferences/Address.java similarity index 85% rename from packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/entityreferences/Address.java rename to packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/entityreferences/Address.java index fafa337f75..3bf30156e8 100644 --- a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/entityreferences/Address.java +++ b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/entityreferences/Address.java @@ -1,8 +1,8 @@ -package dev.hilla.test.reactgrid.entityreferences; +package com.vaadin.hilla.test.reactgrid.entityreferences; import jakarta.persistence.Entity; -import dev.hilla.test.reactgrid.AbstractEntity; +import com.vaadin.hilla.test.reactgrid.AbstractEntity; @Entity public class Address extends AbstractEntity { diff --git a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/entityreferences/Department.java b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/entityreferences/Department.java similarity index 86% rename from packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/entityreferences/Department.java rename to packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/entityreferences/Department.java index 333cc856c0..1c3cd34b34 100644 --- a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/entityreferences/Department.java +++ b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/entityreferences/Department.java @@ -1,4 +1,4 @@ -package dev.hilla.test.reactgrid.entityreferences; +package com.vaadin.hilla.test.reactgrid.entityreferences; import jakarta.persistence.Entity; import jakarta.persistence.FetchType; @@ -7,7 +7,7 @@ import java.util.List; import com.fasterxml.jackson.annotation.JsonIgnore; -import dev.hilla.test.reactgrid.AbstractEntity; +import com.vaadin.hilla.test.reactgrid.AbstractEntity; @Entity public class Department extends AbstractEntity { diff --git a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/entityreferences/Employee.java b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/entityreferences/Employee.java similarity index 90% rename from packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/entityreferences/Employee.java rename to packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/entityreferences/Employee.java index 599d915354..41c9ae51cc 100644 --- a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/entityreferences/Employee.java +++ b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/entityreferences/Employee.java @@ -1,4 +1,4 @@ -package dev.hilla.test.reactgrid.entityreferences; +package com.vaadin.hilla.test.reactgrid.entityreferences; import jakarta.persistence.Entity; import jakarta.persistence.FetchType; @@ -8,7 +8,7 @@ import java.util.List; -import dev.hilla.test.reactgrid.AbstractEntity; +import com.vaadin.hilla.test.reactgrid.AbstractEntity; @Entity public class Employee extends AbstractEntity { diff --git a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/entityreferences/EmployeeRepository.java b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/entityreferences/EmployeeRepository.java similarity index 81% rename from packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/entityreferences/EmployeeRepository.java rename to packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/entityreferences/EmployeeRepository.java index f2906a7eb6..da71c2b35c 100644 --- a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/entityreferences/EmployeeRepository.java +++ b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/entityreferences/EmployeeRepository.java @@ -1,4 +1,4 @@ -package dev.hilla.test.reactgrid.entityreferences; +package com.vaadin.hilla.test.reactgrid.entityreferences; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; diff --git a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/entityreferences/EmployeeService.java b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/entityreferences/EmployeeService.java similarity index 56% rename from packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/entityreferences/EmployeeService.java rename to packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/entityreferences/EmployeeService.java index 993a9f1411..870c36521b 100644 --- a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/entityreferences/EmployeeService.java +++ b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/entityreferences/EmployeeService.java @@ -1,7 +1,7 @@ -package dev.hilla.test.reactgrid.entityreferences; +package com.vaadin.hilla.test.reactgrid.entityreferences; -import dev.hilla.BrowserCallable; -import dev.hilla.crud.ListRepositoryService; +import com.vaadin.hilla.BrowserCallable; +import com.vaadin.hilla.crud.ListRepositoryService; import com.vaadin.flow.server.auth.AnonymousAllowed; diff --git a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/entityreferences/FoodItem.java b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/entityreferences/FoodItem.java similarity index 69% rename from packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/entityreferences/FoodItem.java rename to packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/entityreferences/FoodItem.java index acd6297861..9d1a98b488 100644 --- a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/entityreferences/FoodItem.java +++ b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/entityreferences/FoodItem.java @@ -1,8 +1,8 @@ -package dev.hilla.test.reactgrid.entityreferences; +package com.vaadin.hilla.test.reactgrid.entityreferences; import jakarta.persistence.Entity; -import dev.hilla.test.reactgrid.AbstractEntity; +import com.vaadin.hilla.test.reactgrid.AbstractEntity; @Entity public class FoodItem extends AbstractEntity { diff --git a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/entityreferences/package-info.java b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/entityreferences/package-info.java similarity index 57% rename from packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/entityreferences/package-info.java rename to packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/entityreferences/package-info.java index 29df6f7f94..1b270b7457 100644 --- a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/entityreferences/package-info.java +++ b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/entityreferences/package-info.java @@ -1,3 +1,3 @@ @org.springframework.lang.NonNullApi @org.springframework.lang.NonNullFields -package dev.hilla.test.reactgrid.entityreferences; +package com.vaadin.hilla.test.reactgrid.entityreferences; diff --git a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/package-info.java b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/package-info.java similarity index 65% rename from packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/package-info.java rename to packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/package-info.java index bce2aa23f7..6b13c2027c 100644 --- a/packages/java/tests/spring/react-grid-test/src/main/java/dev/hilla/test/reactgrid/package-info.java +++ b/packages/java/tests/spring/react-grid-test/src/main/java/com/vaadin/hilla/test/reactgrid/package-info.java @@ -1,3 +1,3 @@ @org.springframework.lang.NonNullApi @org.springframework.lang.NonNullFields -package dev.hilla.test.reactgrid; +package com.vaadin.hilla.test.reactgrid; diff --git a/packages/java/tests/spring/react-grid-test/src/main/resources/application.properties b/packages/java/tests/spring/react-grid-test/src/main/resources/application.properties index b748796f77..0f2be045ac 100644 --- a/packages/java/tests/spring/react-grid-test/src/main/resources/application.properties +++ b/packages/java/tests/spring/react-grid-test/src/main/resources/application.properties @@ -6,10 +6,10 @@ spring.mustache.check-template-location = false vaadin.launch-browser=true # Workaround for https://github.com/vaadin/hilla/issues/842 -spring.devtools.restart.additional-exclude=dev/hilla/openapi.json +spring.devtools.restart.additional-exclude=com/vaadin/hilla/openapi.json # To improve the performance during development. # For more information https://vaadin.com/docs/flow/spring/tutorial-spring-configuration.html#special-configuration-parameters -vaadin.whitelisted-packages = com.vaadin,org.vaadin,dev.hilla,com.example.application +vaadin.whitelisted-packages = com.vaadin,org.vaadin,com.vaadin.hilla,com.example.application spring.jpa.defer-datasource-initialization = true # spring.jpa.show-sql=true diff --git a/packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/AbstractGridTest.java b/packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/AbstractGridTest.java similarity index 98% rename from packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/AbstractGridTest.java rename to packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/AbstractGridTest.java index bf6f12558b..9abd94792a 100644 --- a/packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/AbstractGridTest.java +++ b/packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/AbstractGridTest.java @@ -1,4 +1,4 @@ -package dev.hilla.test.reactgrid; +package com.vaadin.hilla.test.reactgrid; import java.util.List; diff --git a/packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/AutoFormViewIT.java b/packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/AutoFormViewIT.java similarity index 98% rename from packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/AutoFormViewIT.java rename to packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/AutoFormViewIT.java index f2afa8270c..9289263882 100644 --- a/packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/AutoFormViewIT.java +++ b/packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/AutoFormViewIT.java @@ -1,4 +1,4 @@ -package dev.hilla.test.reactgrid; +package com.vaadin.hilla.test.reactgrid; import com.vaadin.flow.component.textfield.testbench.IntegerFieldElement; import com.vaadin.flow.component.textfield.testbench.NumberFieldElement; diff --git a/packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/GridWithEntityReferencesIT.java b/packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/GridWithEntityReferencesIT.java similarity index 91% rename from packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/GridWithEntityReferencesIT.java rename to packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/GridWithEntityReferencesIT.java index 9275efd7cc..daa967da11 100644 --- a/packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/GridWithEntityReferencesIT.java +++ b/packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/GridWithEntityReferencesIT.java @@ -1,4 +1,4 @@ -package dev.hilla.test.reactgrid; +package com.vaadin.hilla.test.reactgrid; import org.junit.Test; diff --git a/packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/ReadOnlyGridCustomFilterIT.java b/packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/ReadOnlyGridCustomFilterIT.java similarity index 96% rename from packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/ReadOnlyGridCustomFilterIT.java rename to packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/ReadOnlyGridCustomFilterIT.java index a1485701d9..31b8aeeb96 100644 --- a/packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/ReadOnlyGridCustomFilterIT.java +++ b/packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/ReadOnlyGridCustomFilterIT.java @@ -1,4 +1,4 @@ -package dev.hilla.test.reactgrid; +package com.vaadin.hilla.test.reactgrid; import com.vaadin.flow.component.textfield.testbench.TextFieldElement; import com.vaadin.testbench.TestBenchElement; diff --git a/packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/ReadOnlyGridIT.java b/packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/ReadOnlyGridIT.java similarity index 97% rename from packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/ReadOnlyGridIT.java rename to packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/ReadOnlyGridIT.java index 3d3057deca..49e59c12e0 100644 --- a/packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/ReadOnlyGridIT.java +++ b/packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/ReadOnlyGridIT.java @@ -1,4 +1,4 @@ -package dev.hilla.test.reactgrid; +package com.vaadin.hilla.test.reactgrid; import java.util.List; diff --git a/packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/ReadOnlyGridOrFilterIT.java b/packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/ReadOnlyGridOrFilterIT.java similarity index 94% rename from packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/ReadOnlyGridOrFilterIT.java rename to packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/ReadOnlyGridOrFilterIT.java index 4877c95072..359d7135fc 100644 --- a/packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/ReadOnlyGridOrFilterIT.java +++ b/packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/ReadOnlyGridOrFilterIT.java @@ -1,4 +1,4 @@ -package dev.hilla.test.reactgrid; +package com.vaadin.hilla.test.reactgrid; import org.junit.Test; diff --git a/packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/ReadOnlyGridSinglePropertyFilterIT.java b/packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/ReadOnlyGridSinglePropertyFilterIT.java similarity index 95% rename from packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/ReadOnlyGridSinglePropertyFilterIT.java rename to packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/ReadOnlyGridSinglePropertyFilterIT.java index 221c0e58bb..451f932d77 100644 --- a/packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/ReadOnlyGridSinglePropertyFilterIT.java +++ b/packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/ReadOnlyGridSinglePropertyFilterIT.java @@ -1,4 +1,4 @@ -package dev.hilla.test.reactgrid; +package com.vaadin.hilla.test.reactgrid; import org.junit.Test; diff --git a/packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/ReadOnlyGridWithHeaderFilterIT.java b/packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/ReadOnlyGridWithHeaderFilterIT.java similarity index 98% rename from packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/ReadOnlyGridWithHeaderFilterIT.java rename to packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/ReadOnlyGridWithHeaderFilterIT.java index 73400b74f8..edd03b30b4 100644 --- a/packages/java/tests/spring/react-grid-test/src/test/java/dev/hilla/test/reactgrid/ReadOnlyGridWithHeaderFilterIT.java +++ b/packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/ReadOnlyGridWithHeaderFilterIT.java @@ -1,10 +1,10 @@ -package dev.hilla.test.reactgrid; +package com.vaadin.hilla.test.reactgrid; import java.time.LocalDate; import java.util.Locale; import java.util.function.Consumer; -import dev.hilla.crud.filter.PropertyStringFilter.Matcher; +import com.vaadin.hilla.crud.filter.PropertyStringFilter.Matcher; import org.junit.Test; import com.vaadin.flow.component.datepicker.testbench.DatePickerElement; diff --git a/packages/java/tests/spring/security-contextpath/pom.xml b/packages/java/tests/spring/security-contextpath/pom.xml index a3b640a360..7eef40e38f 100644 --- a/packages/java/tests/spring/security-contextpath/pom.xml +++ b/packages/java/tests/spring/security-contextpath/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla tests-spring 24.4-SNAPSHOT @@ -19,11 +19,11 @@ - dev.hilla + com.vaadin.hilla hilla - dev.hilla + com.vaadin.hilla hilla-spring-boot-starter @@ -57,7 +57,7 @@ spring-boot:run - dev.hilla + com.vaadin.hilla hilla-maven-plugin diff --git a/packages/java/tests/spring/security-contextpath/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/BalanceEndpoint.java b/packages/java/tests/spring/security-contextpath/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/BalanceEndpoint.java index 41dd2b3865..8fa1886fd8 100644 --- a/packages/java/tests/spring/security-contextpath/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/BalanceEndpoint.java +++ b/packages/java/tests/spring/security-contextpath/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/BalanceEndpoint.java @@ -7,7 +7,7 @@ import org.springframework.beans.factory.annotation.Autowired; import com.vaadin.flow.spring.fusionsecurity.service.BankService; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; import reactor.core.publisher.Flux; @Endpoint diff --git a/packages/java/tests/spring/security-contextpath/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/ElementsEndpoint.java b/packages/java/tests/spring/security-contextpath/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/ElementsEndpoint.java index 5e0e4d8054..e4b846504e 100644 --- a/packages/java/tests/spring/security-contextpath/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/ElementsEndpoint.java +++ b/packages/java/tests/spring/security-contextpath/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/ElementsEndpoint.java @@ -4,7 +4,7 @@ import java.util.stream.Collectors; import java.util.stream.Stream; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; import com.vaadin.flow.spring.fusionsecurity.fusionform.Elements; import com.vaadin.flow.spring.fusionsecurity.fusionform.Elements.Options; import com.vaadin.flow.server.auth.AnonymousAllowed; diff --git a/packages/java/tests/spring/security-contextpath/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/PublicEndpoint.java b/packages/java/tests/spring/security-contextpath/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/PublicEndpoint.java index 12816a5093..b0df136e79 100644 --- a/packages/java/tests/spring/security-contextpath/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/PublicEndpoint.java +++ b/packages/java/tests/spring/security-contextpath/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/PublicEndpoint.java @@ -2,7 +2,7 @@ import java.time.LocalDateTime; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; import com.vaadin.flow.server.auth.AnonymousAllowed; @Endpoint diff --git a/packages/java/tests/spring/security-contextpath/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/SessionEndpoint.java b/packages/java/tests/spring/security-contextpath/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/SessionEndpoint.java index 6d760249ae..b08e35f1f2 100644 --- a/packages/java/tests/spring/security-contextpath/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/SessionEndpoint.java +++ b/packages/java/tests/spring/security-contextpath/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/SessionEndpoint.java @@ -3,7 +3,7 @@ import com.vaadin.flow.server.VaadinRequest; import com.vaadin.flow.server.WrappedSession; import com.vaadin.flow.server.auth.AnonymousAllowed; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; @Endpoint @AnonymousAllowed diff --git a/packages/java/tests/spring/security-contextpath/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/UserInfoEndpoint.java b/packages/java/tests/spring/security-contextpath/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/UserInfoEndpoint.java index 9505f3c77b..e8898427ae 100644 --- a/packages/java/tests/spring/security-contextpath/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/UserInfoEndpoint.java +++ b/packages/java/tests/spring/security-contextpath/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/UserInfoEndpoint.java @@ -1,6 +1,6 @@ package com.vaadin.flow.spring.fusionsecurity.endpoints; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; import com.vaadin.flow.server.auth.AnonymousAllowed; import com.vaadin.flow.spring.fusionsecurity.SecurityUtils; import com.vaadin.flow.spring.fusionsecurity.data.UserInfo; diff --git a/packages/java/tests/spring/security-contextpath/src/main/resources/application.properties b/packages/java/tests/spring/security-contextpath/src/main/resources/application.properties index 79fad0a0ae..0ad9c69f3b 100644 --- a/packages/java/tests/spring/security-contextpath/src/main/resources/application.properties +++ b/packages/java/tests/spring/security-contextpath/src/main/resources/application.properties @@ -7,6 +7,6 @@ logging.level.com.vaadin.flow.server.connect.auth=INFO logging.level.com.vaadin.flow.server.auth=INFO logging.level.org.springframework.boot.devtools.autoconfigure.[LocalDevToolsAutoConfiguration$RestartingClassPathChangeChangedEventListener]=DEBUG # Workaround for https://github.com/vaadin/hilla/issues/842 -spring.devtools.restart.additional-exclude=dev/hilla/openapi.json +spring.devtools.restart.additional-exclude=com/vaadin/hilla/openapi.json server.servlet.session.persistent=false diff --git a/packages/java/tests/spring/security-jwt/pom.xml b/packages/java/tests/spring/security-jwt/pom.xml index f0b578394f..dbd72831aa 100644 --- a/packages/java/tests/spring/security-jwt/pom.xml +++ b/packages/java/tests/spring/security-jwt/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla tests-spring 24.4-SNAPSHOT @@ -19,11 +19,11 @@ - dev.hilla + com.vaadin.hilla hilla - dev.hilla + com.vaadin.hilla hilla-spring-boot-starter @@ -66,7 +66,7 @@ spring-boot:run - dev.hilla + com.vaadin.hilla hilla-maven-plugin diff --git a/packages/java/tests/spring/security-jwt/src/main/java/com/vaadin/flow/spring/fusionsecurityjwt/endpoints/BalanceEndpoint.java b/packages/java/tests/spring/security-jwt/src/main/java/com/vaadin/flow/spring/fusionsecurityjwt/endpoints/BalanceEndpoint.java index cff08a510b..ed46254a92 100644 --- a/packages/java/tests/spring/security-jwt/src/main/java/com/vaadin/flow/spring/fusionsecurityjwt/endpoints/BalanceEndpoint.java +++ b/packages/java/tests/spring/security-jwt/src/main/java/com/vaadin/flow/spring/fusionsecurityjwt/endpoints/BalanceEndpoint.java @@ -5,7 +5,7 @@ import jakarta.annotation.security.PermitAll; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; import com.vaadin.flow.spring.fusionsecurity.service.BankService; import org.springframework.beans.factory.annotation.Autowired; diff --git a/packages/java/tests/spring/security-jwt/src/main/java/com/vaadin/flow/spring/fusionsecurityjwt/endpoints/ElementsEndpoint.java b/packages/java/tests/spring/security-jwt/src/main/java/com/vaadin/flow/spring/fusionsecurityjwt/endpoints/ElementsEndpoint.java index 0e6d89091e..8dcf6023f2 100644 --- a/packages/java/tests/spring/security-jwt/src/main/java/com/vaadin/flow/spring/fusionsecurityjwt/endpoints/ElementsEndpoint.java +++ b/packages/java/tests/spring/security-jwt/src/main/java/com/vaadin/flow/spring/fusionsecurityjwt/endpoints/ElementsEndpoint.java @@ -4,7 +4,7 @@ import java.util.stream.Collectors; import java.util.stream.Stream; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; import com.vaadin.flow.spring.fusionsecurity.fusionform.Elements; import com.vaadin.flow.spring.fusionsecurity.fusionform.Elements.Options; import com.vaadin.flow.server.auth.AnonymousAllowed; diff --git a/packages/java/tests/spring/security-jwt/src/main/java/com/vaadin/flow/spring/fusionsecurityjwt/endpoints/PublicEndpoint.java b/packages/java/tests/spring/security-jwt/src/main/java/com/vaadin/flow/spring/fusionsecurityjwt/endpoints/PublicEndpoint.java index 98bbc0ec55..4bdacaf5a1 100644 --- a/packages/java/tests/spring/security-jwt/src/main/java/com/vaadin/flow/spring/fusionsecurityjwt/endpoints/PublicEndpoint.java +++ b/packages/java/tests/spring/security-jwt/src/main/java/com/vaadin/flow/spring/fusionsecurityjwt/endpoints/PublicEndpoint.java @@ -2,7 +2,7 @@ import java.time.LocalDateTime; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; import com.vaadin.flow.server.auth.AnonymousAllowed; @Endpoint diff --git a/packages/java/tests/spring/security-jwt/src/main/java/com/vaadin/flow/spring/fusionsecurityjwt/endpoints/SessionEndpoint.java b/packages/java/tests/spring/security-jwt/src/main/java/com/vaadin/flow/spring/fusionsecurityjwt/endpoints/SessionEndpoint.java index 1a9bab09c2..9652b654bb 100644 --- a/packages/java/tests/spring/security-jwt/src/main/java/com/vaadin/flow/spring/fusionsecurityjwt/endpoints/SessionEndpoint.java +++ b/packages/java/tests/spring/security-jwt/src/main/java/com/vaadin/flow/spring/fusionsecurityjwt/endpoints/SessionEndpoint.java @@ -3,7 +3,7 @@ import com.vaadin.flow.server.VaadinRequest; import com.vaadin.flow.server.WrappedSession; import com.vaadin.flow.server.auth.AnonymousAllowed; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; @Endpoint @AnonymousAllowed diff --git a/packages/java/tests/spring/security-jwt/src/main/java/com/vaadin/flow/spring/fusionsecurityjwt/endpoints/UserInfoEndpoint.java b/packages/java/tests/spring/security-jwt/src/main/java/com/vaadin/flow/spring/fusionsecurityjwt/endpoints/UserInfoEndpoint.java index 9e74eb4f11..2679bc5f51 100644 --- a/packages/java/tests/spring/security-jwt/src/main/java/com/vaadin/flow/spring/fusionsecurityjwt/endpoints/UserInfoEndpoint.java +++ b/packages/java/tests/spring/security-jwt/src/main/java/com/vaadin/flow/spring/fusionsecurityjwt/endpoints/UserInfoEndpoint.java @@ -1,6 +1,6 @@ package com.vaadin.flow.spring.fusionsecurityjwt.endpoints; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; import com.vaadin.flow.server.auth.AnonymousAllowed; import com.vaadin.flow.spring.fusionsecurity.SecurityUtils; import com.vaadin.flow.spring.fusionsecurity.data.UserInfo; diff --git a/packages/java/tests/spring/security-jwt/src/main/resources/application.properties b/packages/java/tests/spring/security-jwt/src/main/resources/application.properties index e779c484da..39a86d5ae4 100644 --- a/packages/java/tests/spring/security-jwt/src/main/resources/application.properties +++ b/packages/java/tests/spring/security-jwt/src/main/resources/application.properties @@ -7,5 +7,5 @@ logging.level.com.vaadin.flow.server.connect.auth=INFO logging.level.com.vaadin.flow.server.auth=INFO logging.level.org.springframework.boot.devtools.autoconfigure.[LocalDevToolsAutoConfiguration$RestartingClassPathChangeChangedEventListener]=DEBUG # Workaround for https://github.com/vaadin/hilla/issues/842 -spring.devtools.restart.additional-exclude=dev/hilla/openapi.json +spring.devtools.restart.additional-exclude=com/vaadin/hilla/openapi.json diff --git a/packages/java/tests/spring/security-urlmapping/pom.xml b/packages/java/tests/spring/security-urlmapping/pom.xml index bd4126a022..90569381e8 100644 --- a/packages/java/tests/spring/security-urlmapping/pom.xml +++ b/packages/java/tests/spring/security-urlmapping/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla tests-spring 24.4-SNAPSHOT @@ -19,11 +19,11 @@ - dev.hilla + com.vaadin.hilla hilla - dev.hilla + com.vaadin.hilla hilla-spring-boot-starter @@ -57,7 +57,7 @@ spring-boot:run - dev.hilla + com.vaadin.hilla hilla-maven-plugin diff --git a/packages/java/tests/spring/security-urlmapping/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/BalanceEndpoint.java b/packages/java/tests/spring/security-urlmapping/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/BalanceEndpoint.java index 64126baf20..b75421f034 100644 --- a/packages/java/tests/spring/security-urlmapping/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/BalanceEndpoint.java +++ b/packages/java/tests/spring/security-urlmapping/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/BalanceEndpoint.java @@ -8,7 +8,7 @@ import org.springframework.beans.factory.annotation.Autowired; import com.vaadin.flow.spring.fusionsecurity.service.BankService; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; import reactor.core.publisher.Flux; @Endpoint diff --git a/packages/java/tests/spring/security-urlmapping/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/ElementsEndpoint.java b/packages/java/tests/spring/security-urlmapping/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/ElementsEndpoint.java index 5e0e4d8054..e4b846504e 100644 --- a/packages/java/tests/spring/security-urlmapping/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/ElementsEndpoint.java +++ b/packages/java/tests/spring/security-urlmapping/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/ElementsEndpoint.java @@ -4,7 +4,7 @@ import java.util.stream.Collectors; import java.util.stream.Stream; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; import com.vaadin.flow.spring.fusionsecurity.fusionform.Elements; import com.vaadin.flow.spring.fusionsecurity.fusionform.Elements.Options; import com.vaadin.flow.server.auth.AnonymousAllowed; diff --git a/packages/java/tests/spring/security-urlmapping/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/PublicEndpoint.java b/packages/java/tests/spring/security-urlmapping/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/PublicEndpoint.java index 12816a5093..b0df136e79 100644 --- a/packages/java/tests/spring/security-urlmapping/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/PublicEndpoint.java +++ b/packages/java/tests/spring/security-urlmapping/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/PublicEndpoint.java @@ -2,7 +2,7 @@ import java.time.LocalDateTime; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; import com.vaadin.flow.server.auth.AnonymousAllowed; @Endpoint diff --git a/packages/java/tests/spring/security-urlmapping/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/SessionEndpoint.java b/packages/java/tests/spring/security-urlmapping/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/SessionEndpoint.java index 6d760249ae..b08e35f1f2 100644 --- a/packages/java/tests/spring/security-urlmapping/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/SessionEndpoint.java +++ b/packages/java/tests/spring/security-urlmapping/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/SessionEndpoint.java @@ -3,7 +3,7 @@ import com.vaadin.flow.server.VaadinRequest; import com.vaadin.flow.server.WrappedSession; import com.vaadin.flow.server.auth.AnonymousAllowed; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; @Endpoint @AnonymousAllowed diff --git a/packages/java/tests/spring/security-urlmapping/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/UserInfoEndpoint.java b/packages/java/tests/spring/security-urlmapping/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/UserInfoEndpoint.java index 9505f3c77b..e8898427ae 100644 --- a/packages/java/tests/spring/security-urlmapping/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/UserInfoEndpoint.java +++ b/packages/java/tests/spring/security-urlmapping/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/UserInfoEndpoint.java @@ -1,6 +1,6 @@ package com.vaadin.flow.spring.fusionsecurity.endpoints; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; import com.vaadin.flow.server.auth.AnonymousAllowed; import com.vaadin.flow.spring.fusionsecurity.SecurityUtils; import com.vaadin.flow.spring.fusionsecurity.data.UserInfo; diff --git a/packages/java/tests/spring/security-urlmapping/src/main/resources/application.properties b/packages/java/tests/spring/security-urlmapping/src/main/resources/application.properties index 139684547d..f0325e6711 100644 --- a/packages/java/tests/spring/security-urlmapping/src/main/resources/application.properties +++ b/packages/java/tests/spring/security-urlmapping/src/main/resources/application.properties @@ -7,6 +7,6 @@ logging.level.com.vaadin.flow.server.connect.auth=INFO logging.level.com.vaadin.flow.server.auth=INFO logging.level.org.springframework.boot.devtools.autoconfigure.[LocalDevToolsAutoConfiguration$RestartingClassPathChangeChangedEventListener]=DEBUG # Workaround for https://github.com/vaadin/hilla/issues/842 -spring.devtools.restart.additional-exclude=dev/hilla/openapi.json +spring.devtools.restart.additional-exclude=com/vaadin/hilla/openapi.json server.servlet.session.persistent=false diff --git a/packages/java/tests/spring/security/pom.xml b/packages/java/tests/spring/security/pom.xml index bc5824f175..2bde87ae76 100644 --- a/packages/java/tests/spring/security/pom.xml +++ b/packages/java/tests/spring/security/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla tests-spring 24.4-SNAPSHOT @@ -19,11 +19,11 @@ - dev.hilla + com.vaadin.hilla hilla - dev.hilla + com.vaadin.hilla hilla-spring-boot-starter @@ -68,7 +68,7 @@ - dev.hilla + com.vaadin.hilla hilla-maven-plugin diff --git a/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/BalanceEndpoint.java b/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/BalanceEndpoint.java index 43d62589cd..27a0490d13 100644 --- a/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/BalanceEndpoint.java +++ b/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/BalanceEndpoint.java @@ -5,7 +5,7 @@ import jakarta.annotation.security.PermitAll; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; import com.vaadin.flow.spring.fusionsecurity.service.BankService; import org.springframework.beans.factory.annotation.Autowired; diff --git a/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/ElementsEndpoint.java b/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/ElementsEndpoint.java index 5e0e4d8054..e4b846504e 100644 --- a/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/ElementsEndpoint.java +++ b/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/ElementsEndpoint.java @@ -4,7 +4,7 @@ import java.util.stream.Collectors; import java.util.stream.Stream; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; import com.vaadin.flow.spring.fusionsecurity.fusionform.Elements; import com.vaadin.flow.spring.fusionsecurity.fusionform.Elements.Options; import com.vaadin.flow.server.auth.AnonymousAllowed; diff --git a/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/PublicEndpoint.java b/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/PublicEndpoint.java index 12816a5093..b0df136e79 100644 --- a/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/PublicEndpoint.java +++ b/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/PublicEndpoint.java @@ -2,7 +2,7 @@ import java.time.LocalDateTime; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; import com.vaadin.flow.server.auth.AnonymousAllowed; @Endpoint diff --git a/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/SessionEndpoint.java b/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/SessionEndpoint.java index 6d760249ae..b08e35f1f2 100644 --- a/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/SessionEndpoint.java +++ b/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/SessionEndpoint.java @@ -3,7 +3,7 @@ import com.vaadin.flow.server.VaadinRequest; import com.vaadin.flow.server.WrappedSession; import com.vaadin.flow.server.auth.AnonymousAllowed; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; @Endpoint @AnonymousAllowed diff --git a/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/UserInfoEndpoint.java b/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/UserInfoEndpoint.java index 9505f3c77b..e8898427ae 100644 --- a/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/UserInfoEndpoint.java +++ b/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/endpoints/UserInfoEndpoint.java @@ -1,6 +1,6 @@ package com.vaadin.flow.spring.fusionsecurity.endpoints; -import dev.hilla.Endpoint; +import com.vaadin.hilla.Endpoint; import com.vaadin.flow.server.auth.AnonymousAllowed; import com.vaadin.flow.spring.fusionsecurity.SecurityUtils; import com.vaadin.flow.spring.fusionsecurity.data.UserInfo; diff --git a/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/service/GreetingService.java b/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/service/GreetingService.java index 0379475080..38a86fb567 100644 --- a/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/service/GreetingService.java +++ b/packages/java/tests/spring/security/src/main/java/com/vaadin/flow/spring/fusionsecurity/service/GreetingService.java @@ -1,8 +1,8 @@ package com.vaadin.flow.spring.fusionsecurity.service; import com.vaadin.flow.server.auth.AnonymousAllowed; -import dev.hilla.BrowserCallable; -import dev.hilla.Nonnull; +import com.vaadin.hilla.BrowserCallable; +import com.vaadin.hilla.Nonnull; import org.springframework.transaction.annotation.Transactional; @BrowserCallable diff --git a/packages/java/tests/spring/security/src/main/resources/application.properties b/packages/java/tests/spring/security/src/main/resources/application.properties index caf42015a0..e2fa07ac53 100644 --- a/packages/java/tests/spring/security/src/main/resources/application.properties +++ b/packages/java/tests/spring/security/src/main/resources/application.properties @@ -6,6 +6,6 @@ logging.level.com.vaadin.flow.server.connect.auth=INFO logging.level.com.vaadin.flow.server.auth=INFO logging.level.org.springframework.boot.devtools.autoconfigure.[LocalDevToolsAutoConfiguration$RestartingClassPathChangeChangedEventListener]=DEBUG # Workaround for https://github.com/vaadin/hilla/issues/842 -spring.devtools.restart.additional-exclude=dev/hilla/openapi.json +spring.devtools.restart.additional-exclude=com/vaadin/hilla/openapi.json server.servlet.session.persistent=false diff --git a/packages/ts/generator-typescript-plugin-backbone/test/complex-hierarchy/ComplexHierarchy.json b/packages/ts/generator-typescript-plugin-backbone/test/complex-hierarchy/ComplexHierarchy.json index d9af42c912..6cc7b57fa3 100644 --- a/packages/ts/generator-typescript-plugin-backbone/test/complex-hierarchy/ComplexHierarchy.json +++ b/packages/ts/generator-typescript-plugin-backbone/test/complex-hierarchy/ComplexHierarchy.json @@ -29,7 +29,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyModel" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyModel" } ] } @@ -42,7 +42,7 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyGrandParentModel": { + "com.vaadin.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyGrandParentModel": { "type": "object", "properties": { "build": { @@ -52,10 +52,10 @@ } } }, - "dev.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyModel": { + "com.vaadin.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyModel": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyParentModel" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyParentModel" }, { "type": "object", @@ -68,10 +68,10 @@ } ] }, - "dev.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyParentModel": { + "com.vaadin.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyParentModel": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyGrandParentModel" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.complexhierarchy.models.ComplexHierarchyGrandParentModel" }, { "type": "object", diff --git a/packages/ts/generator-typescript-plugin-backbone/test/complex-hierarchy/fixtures/ComplexHierarchyEndpoint.snap.ts b/packages/ts/generator-typescript-plugin-backbone/test/complex-hierarchy/fixtures/ComplexHierarchyEndpoint.snap.ts index 30584d539b..86558246e5 100644 --- a/packages/ts/generator-typescript-plugin-backbone/test/complex-hierarchy/fixtures/ComplexHierarchyEndpoint.snap.ts +++ b/packages/ts/generator-typescript-plugin-backbone/test/complex-hierarchy/fixtures/ComplexHierarchyEndpoint.snap.ts @@ -1,5 +1,5 @@ import { EndpointRequestInit as EndpointRequestInit_1 } from "@hilla/frontend"; +import type ComplexHierarchyModel_1 from "./com/vaadin/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyModel.js"; import client_1 from "./connect-client.default.js"; -import type ComplexHierarchyModel_1 from "./dev/hilla/parser/plugins/backbone/complexhierarchy/models/ComplexHierarchyModel.js"; async function getModel_1(init?: EndpointRequestInit_1): Promise { return client_1.call("ComplexHierarchyEndpoint", "getModel", {}, init); } export { getModel_1 as getModel }; diff --git a/packages/ts/generator-typescript-plugin-backbone/test/complex-type/ComplexType.json b/packages/ts/generator-typescript-plugin-backbone/test/complex-type/ComplexType.json index e12408199a..573edbe339 100644 --- a/packages/ts/generator-typescript-plugin-backbone/test/complex-type/ComplexType.json +++ b/packages/ts/generator-typescript-plugin-backbone/test/complex-type/ComplexType.json @@ -52,7 +52,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.complextype.ComplexTypeEndpoint$ComplexTypeModel" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.complextype.ComplexTypeEndpoint$ComplexTypeModel" } ] } @@ -65,7 +65,7 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.backbone.complextype.ComplexTypeEndpoint$ComplexTypeModel": { + "com.vaadin.hilla.parser.plugins.backbone.complextype.ComplexTypeEndpoint$ComplexTypeModel": { "type": "object", "properties": { "complexList": { diff --git a/packages/ts/generator-typescript-plugin-backbone/test/complex-type/fixtures/ComplexTypeEndpoint.snap.ts b/packages/ts/generator-typescript-plugin-backbone/test/complex-type/fixtures/ComplexTypeEndpoint.snap.ts index fedf24f2a2..569d8f8d65 100644 --- a/packages/ts/generator-typescript-plugin-backbone/test/complex-type/fixtures/ComplexTypeEndpoint.snap.ts +++ b/packages/ts/generator-typescript-plugin-backbone/test/complex-type/fixtures/ComplexTypeEndpoint.snap.ts @@ -1,5 +1,5 @@ import { EndpointRequestInit as EndpointRequestInit_1 } from "@hilla/frontend"; +import type ComplexTypeModel_1 from "./com/vaadin/hilla/parser/plugins/backbone/complextype/ComplexTypeEndpoint/ComplexTypeModel.js"; import client_1 from "./connect-client.default.js"; -import type ComplexTypeModel_1 from "./dev/hilla/parser/plugins/backbone/complextype/ComplexTypeEndpoint/ComplexTypeModel.js"; async function getComplexTypeModel_1(data: Array | undefined> | undefined, init?: EndpointRequestInit_1): Promise { return client_1.call("ComplexTypeEndpoint", "getComplexTypeModel", { data }, init); } export { getComplexTypeModel_1 as getComplexTypeModel }; diff --git a/packages/ts/generator-typescript-plugin-backbone/test/enum-type/EnumType.json b/packages/ts/generator-typescript-plugin-backbone/test/enum-type/EnumType.json index cd9352851c..84097e46a4 100644 --- a/packages/ts/generator-typescript-plugin-backbone/test/enum-type/EnumType.json +++ b/packages/ts/generator-typescript-plugin-backbone/test/enum-type/EnumType.json @@ -30,7 +30,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" } ] } @@ -48,7 +48,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" } ] } @@ -75,7 +75,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" } ] } @@ -97,7 +97,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" } ] } @@ -121,7 +121,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" } ] } @@ -145,7 +145,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity" } ] } @@ -165,7 +165,7 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity": { + "com.vaadin.hilla.parser.plugins.backbone.enumtype.EnumTypeEndpoint$EnumEntity": { "type": "string", "enum": ["ENUM1", "ENUM2", "ENUM_2", "HELLO_WORLD", "_HELLO", "MANY_MANY_WORDS"] } diff --git a/packages/ts/generator-typescript-plugin-backbone/test/enum-type/fixtures/EnumTypeEndpoint.snap.ts b/packages/ts/generator-typescript-plugin-backbone/test/enum-type/fixtures/EnumTypeEndpoint.snap.ts index 570ec098e4..aeff56e5c9 100644 --- a/packages/ts/generator-typescript-plugin-backbone/test/enum-type/fixtures/EnumTypeEndpoint.snap.ts +++ b/packages/ts/generator-typescript-plugin-backbone/test/enum-type/fixtures/EnumTypeEndpoint.snap.ts @@ -1,6 +1,6 @@ import { EndpointRequestInit as EndpointRequestInit_1 } from "@hilla/frontend"; +import type EnumEntity_1 from "./com/vaadin/hilla/parser/plugins/backbone/enumtype/EnumTypeEndpoint/EnumEntity.js"; import client_1 from "./connect-client.default.js"; -import type EnumEntity_1 from "./dev/hilla/parser/plugins/backbone/enumtype/EnumTypeEndpoint/EnumEntity.js"; async function echoEnum_1(value: EnumEntity_1 | undefined, init?: EndpointRequestInit_1): Promise { return client_1.call("EnumTypeEndpoint", "echoEnum", { value }, init); } async function echoListEnum_1(enumList: Array | undefined, init?: EndpointRequestInit_1): Promise | undefined> { return client_1.call("EnumTypeEndpoint", "echoListEnum", { enumList }, init); } async function getEnum_1(init?: EndpointRequestInit_1): Promise { return client_1.call("EnumTypeEndpoint", "getEnum", {}, init); } diff --git a/packages/ts/generator-typescript-plugin-backbone/test/hierarchy-ref/HierarchyRef.json b/packages/ts/generator-typescript-plugin-backbone/test/hierarchy-ref/HierarchyRef.json index 0537780d34..5a44a1db83 100644 --- a/packages/ts/generator-typescript-plugin-backbone/test/hierarchy-ref/HierarchyRef.json +++ b/packages/ts/generator-typescript-plugin-backbone/test/hierarchy-ref/HierarchyRef.json @@ -52,7 +52,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.hierarchyref.HierarchyRefEndpoint$HierarchyRef" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.hierarchyref.HierarchyRefEndpoint$HierarchyRef" } ] } @@ -65,10 +65,10 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.backbone.hierarchyref.HierarchyRefEndpoint$HierarchyRef": { + "com.vaadin.hilla.parser.plugins.backbone.hierarchyref.HierarchyRefEndpoint$HierarchyRef": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.hierarchyref.HierarchyRefEndpoint$HierarchyRefSuperclass" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.hierarchyref.HierarchyRefEndpoint$HierarchyRefSuperclass" }, { "type": "object", @@ -77,7 +77,7 @@ "nullable": true, "allOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.hierarchyref.HierarchyRefEndpoint$HierarchyRefSuperclass" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.hierarchyref.HierarchyRefEndpoint$HierarchyRefSuperclass" } ] } @@ -85,7 +85,7 @@ } ] }, - "dev.hilla.parser.plugins.backbone.hierarchyref.HierarchyRefEndpoint$HierarchyRefSuperclass": { + "com.vaadin.hilla.parser.plugins.backbone.hierarchyref.HierarchyRefEndpoint$HierarchyRefSuperclass": { "type": "object", "properties": { "id": { diff --git a/packages/ts/generator-typescript-plugin-backbone/test/hierarchy-ref/fixtures/HierarchyRefEndpoint.snap.ts b/packages/ts/generator-typescript-plugin-backbone/test/hierarchy-ref/fixtures/HierarchyRefEndpoint.snap.ts index f32e27993f..550d1931c8 100644 --- a/packages/ts/generator-typescript-plugin-backbone/test/hierarchy-ref/fixtures/HierarchyRefEndpoint.snap.ts +++ b/packages/ts/generator-typescript-plugin-backbone/test/hierarchy-ref/fixtures/HierarchyRefEndpoint.snap.ts @@ -1,5 +1,5 @@ import { EndpointRequestInit as EndpointRequestInit_1 } from "@hilla/frontend"; +import type HierarchyRef_1 from "./com/vaadin/hilla/parser/plugins/backbone/hierarchyref/HierarchyRefEndpoint/HierarchyRef.js"; import client_1 from "./connect-client.default.js"; -import type HierarchyRef_1 from "./dev/hilla/parser/plugins/backbone/hierarchyref/HierarchyRefEndpoint/HierarchyRef.js"; async function getHierarchyRef_1(data: Array | undefined> | undefined, init?: EndpointRequestInit_1): Promise { return client_1.call("HierarchyRefEndpoint", "getHierarchyRef", { data }, init); } export { getHierarchyRef_1 as getHierarchyRef }; diff --git a/packages/ts/generator-typescript-plugin-backbone/test/utils/common.ts b/packages/ts/generator-typescript-plugin-backbone/test/utils/common.ts index c9c36d578f..cd855e6cf1 100644 --- a/packages/ts/generator-typescript-plugin-backbone/test/utils/common.ts +++ b/packages/ts/generator-typescript-plugin-backbone/test/utils/common.ts @@ -3,7 +3,7 @@ import Generator from '@hilla/generator-typescript-core/Generator.js'; import type { PluginConstructor } from '@hilla/generator-typescript-core/Plugin.js'; import LoggerFactory from '@hilla/generator-typescript-utils/LoggerFactory.js'; -export const pathBase = 'dev/hilla/parser/plugins/backbone'; +export const pathBase = 'com/vaadin/hilla/parser/plugins/backbone'; export function createGenerator(plugins: readonly PluginConstructor[], outputDir?: string): Generator { return new Generator(plugins, { logger: new LoggerFactory({ name: 'tsgen-test', verbose: true }), outputDir }); diff --git a/packages/ts/generator-typescript-plugin-barrel/test/basic/BasicBarrel.json b/packages/ts/generator-typescript-plugin-barrel/test/basic/BasicBarrel.json index ea1e7bdbd4..a8607b549c 100644 --- a/packages/ts/generator-typescript-plugin-barrel/test/basic/BasicBarrel.json +++ b/packages/ts/generator-typescript-plugin-barrel/test/basic/BasicBarrel.json @@ -54,7 +54,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.multiendpoints.MultiEndpointsSharedModel" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.multiendpoints.MultiEndpointsSharedModel" } ] } @@ -96,7 +96,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.multiendpoints.MultiEndpointsSharedModel" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.multiendpoints.MultiEndpointsSharedModel" } ] } @@ -138,7 +138,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.backbone.multiendpoints.MultiEndpointsSharedModel" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.backbone.multiendpoints.MultiEndpointsSharedModel" } ] } @@ -151,7 +151,7 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.backbone.multiendpoints.MultiEndpointsSharedModel": { + "com.vaadin.hilla.parser.plugins.backbone.multiendpoints.MultiEndpointsSharedModel": { "type": "object", "properties": { "id": { diff --git a/packages/ts/generator-typescript-plugin-push/src/index.ts b/packages/ts/generator-typescript-plugin-push/src/index.ts index 3dc4792a65..61a6c14783 100644 --- a/packages/ts/generator-typescript-plugin-push/src/index.ts +++ b/packages/ts/generator-typescript-plugin-push/src/index.ts @@ -8,8 +8,8 @@ type ExtendedMediaTypeSchema = Readonly<{ 'x-class-name': string }> & ReadonlyObjectDeep; const classesToReplace: readonly string[] = [ - 'dev.hilla.runtime.transfertypes.Flux', - 'dev.hilla.runtime.transfertypes.EndpointSubscription', + 'com.vaadin.hilla.runtime.transfertypes.Flux', + 'com.vaadin.hilla.runtime.transfertypes.EndpointSubscription', ]; export default class PushPlugin extends Plugin { diff --git a/packages/ts/generator-typescript-plugin-push/test/push-type/PushType.json b/packages/ts/generator-typescript-plugin-push/test/push-type/PushType.json index 0b345b780c..118bdf497b 100644 --- a/packages/ts/generator-typescript-plugin-push/test/push-type/PushType.json +++ b/packages/ts/generator-typescript-plugin-push/test/push-type/PushType.json @@ -50,7 +50,7 @@ "type": "string", "nullable": true }, - "x-class-name": "dev.hilla.runtime.transfertypes.Flux" + "x-class-name": "com.vaadin.hilla.runtime.transfertypes.Flux" } } } @@ -108,7 +108,7 @@ "type": "string", "nullable": true }, - "x-class-name": "dev.hilla.runtime.transfertypes.Flux" + "x-class-name": "com.vaadin.hilla.runtime.transfertypes.Flux" } } } @@ -130,7 +130,7 @@ "items": { "type": "string" }, - "x-class-name": "dev.hilla.runtime.transfertypes.Flux" + "x-class-name": "com.vaadin.hilla.runtime.transfertypes.Flux" } } } @@ -154,7 +154,7 @@ "type": "string", "nullable": true }, - "x-class-name": "dev.hilla.runtime.transfertypes.EndpointSubscription" + "x-class-name": "com.vaadin.hilla.runtime.transfertypes.EndpointSubscription" } } } diff --git a/packages/ts/generator-typescript-plugin-push/test/push-type/PushTypeOnly.json b/packages/ts/generator-typescript-plugin-push/test/push-type/PushTypeOnly.json index 00c9825cd3..2d65efdfa5 100644 --- a/packages/ts/generator-typescript-plugin-push/test/push-type/PushTypeOnly.json +++ b/packages/ts/generator-typescript-plugin-push/test/push-type/PushTypeOnly.json @@ -50,7 +50,7 @@ "type": "string", "nullable": true }, - "x-class-name": "dev.hilla.runtime.transfertypes.Flux" + "x-class-name": "com.vaadin.hilla.runtime.transfertypes.Flux" } } } @@ -108,7 +108,7 @@ "type": "string", "nullable": true }, - "x-class-name": "dev.hilla.runtime.transfertypes.Flux" + "x-class-name": "com.vaadin.hilla.runtime.transfertypes.Flux" } } } @@ -130,7 +130,7 @@ "items": { "type": "string" }, - "x-class-name": "dev.hilla.runtime.transfertypes.Flux" + "x-class-name": "com.vaadin.hilla.runtime.transfertypes.Flux" } } } @@ -154,7 +154,7 @@ "type": "string", "nullable": true }, - "x-class-name": "dev.hilla.runtime.transfertypes.EndpointSubscription" + "x-class-name": "com.vaadin.hilla.runtime.transfertypes.EndpointSubscription" } } } diff --git a/packages/ts/generator-typescript-plugin-push/test/utils/common.ts b/packages/ts/generator-typescript-plugin-push/test/utils/common.ts index 9de7f50834..30c45b3218 100644 --- a/packages/ts/generator-typescript-plugin-push/test/utils/common.ts +++ b/packages/ts/generator-typescript-plugin-push/test/utils/common.ts @@ -3,7 +3,7 @@ import Generator from '@hilla/generator-typescript-core/Generator.js'; import type { PluginConstructor } from '@hilla/generator-typescript-core/Plugin.js'; import LoggerFactory from '@hilla/generator-typescript-utils/LoggerFactory.js'; -export const pathBase = 'dev/hilla/parser/plugins/push'; +export const pathBase = 'com/vaadin/hilla/parser/plugins/push'; export function createGenerator(plugins: readonly PluginConstructor[]): Generator { return new Generator(plugins, { logger: new LoggerFactory({ name: 'tsgen-test-push', verbose: true }) }); diff --git a/packages/ts/generator-typescript-plugin-subtypes/test/push-type/SubTypes.json b/packages/ts/generator-typescript-plugin-subtypes/test/push-type/SubTypes.json index 6704d5ae47..9fd3319b72 100644 --- a/packages/ts/generator-typescript-plugin-subtypes/test/push-type/SubTypes.json +++ b/packages/ts/generator-typescript-plugin-subtypes/test/push-type/SubTypes.json @@ -13,7 +13,7 @@ "tags": [ { "name": "SubTypesEndpoint", - "x-class-name": "dev.hilla.parser.plugins.subtypes.SubTypesEndpoint" + "x-class-name": "com.vaadin.hilla.parser.plugins.subtypes.SubTypesEndpoint" } ], "paths": { @@ -33,7 +33,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.subtypes.BaseEvent" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.subtypes.BaseEvent" } ] } @@ -64,7 +64,7 @@ "nullable": true, "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.subtypes.BaseEvent" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.subtypes.BaseEvent" } ] } @@ -77,7 +77,7 @@ }, "components": { "schemas": { - "dev.hilla.parser.plugins.subtypes.BaseEvent": { + "com.vaadin.hilla.parser.plugins.subtypes.BaseEvent": { "type": "object", "properties": { "id": { @@ -86,24 +86,24 @@ } } }, - "dev.hilla.parser.plugins.subtypes.BaseEventUnion": { + "com.vaadin.hilla.parser.plugins.subtypes.BaseEventUnion": { "type": "object", "oneOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.subtypes.AddEvent" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.subtypes.AddEvent" }, { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.subtypes.UpdateEvent" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.subtypes.UpdateEvent" }, { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.subtypes.DeleteEvent" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.subtypes.DeleteEvent" } ] }, - "dev.hilla.parser.plugins.subtypes.AddEvent": { + "com.vaadin.hilla.parser.plugins.subtypes.AddEvent": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.subtypes.BaseEvent" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.subtypes.BaseEvent" }, { "type": "object", @@ -120,10 +120,10 @@ } ] }, - "dev.hilla.parser.plugins.subtypes.UpdateEvent": { + "com.vaadin.hilla.parser.plugins.subtypes.UpdateEvent": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.subtypes.BaseEvent" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.subtypes.BaseEvent" }, { "type": "object", @@ -144,10 +144,10 @@ } ] }, - "dev.hilla.parser.plugins.subtypes.DeleteEvent": { + "com.vaadin.hilla.parser.plugins.subtypes.DeleteEvent": { "anyOf": [ { - "$ref": "#/components/schemas/dev.hilla.parser.plugins.subtypes.BaseEvent" + "$ref": "#/components/schemas/com.vaadin.hilla.parser.plugins.subtypes.BaseEvent" }, { "type": "object", diff --git a/packages/ts/generator-typescript-plugin-subtypes/test/push-type/SubTypes.spec.ts b/packages/ts/generator-typescript-plugin-subtypes/test/push-type/SubTypes.spec.ts index 2fa0e01fdd..22c78e376d 100644 --- a/packages/ts/generator-typescript-plugin-subtypes/test/push-type/SubTypes.spec.ts +++ b/packages/ts/generator-typescript-plugin-subtypes/test/push-type/SubTypes.spec.ts @@ -27,25 +27,29 @@ describe('SubTypesPlugin', () => { await expect(await endpointFile.text()).toMatchSnapshot(`${sectionName}Endpoint`, import.meta.url); expect(endpointFile.name).to.equal(`${sectionName}Endpoint.ts`); - const baseEventUnionFile = files.find((f) => f.name === 'dev/hilla/parser/plugins/subtypes/BaseEventUnion.ts')!; + const baseEventUnionFile = files.find( + (f) => f.name === 'com/vaadin/hilla/parser/plugins/subtypes/BaseEventUnion.ts', + )!; expect(baseEventUnionFile).to.exist; await expect(await baseEventUnionFile.text()).toMatchSnapshot('BaseEventUnion', import.meta.url); - expect(baseEventUnionFile.name).to.equal('dev/hilla/parser/plugins/subtypes/BaseEventUnion.ts'); + expect(baseEventUnionFile.name).to.equal('com/vaadin/hilla/parser/plugins/subtypes/BaseEventUnion.ts'); - const baseEventFile = files.find((f) => f.name === 'dev/hilla/parser/plugins/subtypes/BaseEvent.ts')!; + const baseEventFile = files.find((f) => f.name === 'com/vaadin/hilla/parser/plugins/subtypes/BaseEvent.ts')!; expect(baseEventFile).to.exist; await expect(await baseEventFile.text()).toMatchSnapshot('BaseEvent', import.meta.url); - expect(baseEventFile.name).to.equal('dev/hilla/parser/plugins/subtypes/BaseEvent.ts'); + expect(baseEventFile.name).to.equal('com/vaadin/hilla/parser/plugins/subtypes/BaseEvent.ts'); - const addEventFile = files.find((f) => f.name === 'dev/hilla/parser/plugins/subtypes/AddEvent.ts')!; + const addEventFile = files.find((f) => f.name === 'com/vaadin/hilla/parser/plugins/subtypes/AddEvent.ts')!; expect(addEventFile).to.exist; await expect(await addEventFile.text()).toMatchSnapshot('AddEvent', import.meta.url); - expect(addEventFile.name).to.equal('dev/hilla/parser/plugins/subtypes/AddEvent.ts'); + expect(addEventFile.name).to.equal('com/vaadin/hilla/parser/plugins/subtypes/AddEvent.ts'); - const addEventModelFile = files.find((f) => f.name === 'dev/hilla/parser/plugins/subtypes/AddEventModel.ts')!; + const addEventModelFile = files.find( + (f) => f.name === 'com/vaadin/hilla/parser/plugins/subtypes/AddEventModel.ts', + )!; expect(addEventModelFile).to.exist; await expect(await addEventModelFile.text()).toMatchSnapshot('AddEventModel', import.meta.url); - expect(addEventModelFile.name).to.equal('dev/hilla/parser/plugins/subtypes/AddEventModel.ts'); + expect(addEventModelFile.name).to.equal('com/vaadin/hilla/parser/plugins/subtypes/AddEventModel.ts'); }); }); }); diff --git a/packages/ts/generator-typescript-plugin-subtypes/test/push-type/fixtures/SubTypesEndpoint.snap.ts b/packages/ts/generator-typescript-plugin-subtypes/test/push-type/fixtures/SubTypesEndpoint.snap.ts index b471de7db8..d49522946c 100644 --- a/packages/ts/generator-typescript-plugin-subtypes/test/push-type/fixtures/SubTypesEndpoint.snap.ts +++ b/packages/ts/generator-typescript-plugin-subtypes/test/push-type/fixtures/SubTypesEndpoint.snap.ts @@ -1,6 +1,6 @@ import { EndpointRequestInit as EndpointRequestInit_1 } from "@hilla/frontend"; +import type BaseEvent_1 from "./com/vaadin/hilla/parser/plugins/subtypes/BaseEvent.js"; import client_1 from "./connect-client.default.js"; -import type BaseEvent_1 from "./dev/hilla/parser/plugins/subtypes/BaseEvent.js"; async function receiveEvent_1(event: BaseEvent_1 | undefined, init?: EndpointRequestInit_1): Promise { return client_1.call("SubTypesEndpoint", "receiveEvent", { event }, init); } async function sendEvent_1(init?: EndpointRequestInit_1): Promise { return client_1.call("SubTypesEndpoint", "sendEvent", {}, init); } export { receiveEvent_1 as receiveEvent, sendEvent_1 as sendEvent }; diff --git a/packages/ts/generator-typescript-plugin-subtypes/test/utils/common.ts b/packages/ts/generator-typescript-plugin-subtypes/test/utils/common.ts index 1f10f04030..530a4b0f15 100644 --- a/packages/ts/generator-typescript-plugin-subtypes/test/utils/common.ts +++ b/packages/ts/generator-typescript-plugin-subtypes/test/utils/common.ts @@ -3,7 +3,7 @@ import Generator from '@hilla/generator-typescript-core/Generator.js'; import type { PluginConstructor } from '@hilla/generator-typescript-core/Plugin.js'; import LoggerFactory from '@hilla/generator-typescript-utils/LoggerFactory.js'; -export const pathBase = 'dev/hilla/parser/plugins/subtypes'; +export const pathBase = 'com/vaadin/hilla/parser/plugins/subtypes'; export function createGenerator(plugins: readonly PluginConstructor[]): Generator { return new Generator(plugins, { logger: new LoggerFactory({ name: 'tsgen-test-subtypes', verbose: true }) }); diff --git a/packages/ts/react-crud/src/autocrud.tsx b/packages/ts/react-crud/src/autocrud.tsx index d5fd4e2d70..8b70d0d1b5 100644 --- a/packages/ts/react-crud/src/autocrud.tsx +++ b/packages/ts/react-crud/src/autocrud.tsx @@ -28,7 +28,7 @@ export type AutoCrudProps = Compon * The service to use for fetching the data, as well saving and deleting * items. This must be a TypeScript service that has been generated by Hilla * from a backend Java service that implements the - * `dev.hilla.crud.CrudService` interface. + * `com.vaadin.hilla.crud.CrudService` interface. */ service: CrudService>; /** diff --git a/packages/ts/react-crud/src/autoform.tsx b/packages/ts/react-crud/src/autoform.tsx index 81ad053725..6e8fd4db12 100644 --- a/packages/ts/react-crud/src/autoform.tsx +++ b/packages/ts/react-crud/src/autoform.tsx @@ -88,7 +88,7 @@ export type AutoFormProps = ComponentSt /** * The service to use for saving and deleting items. This must be a * TypeScript service that has been generated by Hilla from a backend Java - * service that implements the `dev.hilla.crud.FormService` interface. + * service that implements the `com.vaadin.hilla.crud.FormService` interface. */ service: FormService>; /** diff --git a/packages/ts/react-crud/src/autogrid-column-context.tsx b/packages/ts/react-crud/src/autogrid-column-context.tsx index 0d3f0c0e02..a3bd9a9ab5 100644 --- a/packages/ts/react-crud/src/autogrid-column-context.tsx +++ b/packages/ts/react-crud/src/autogrid-column-context.tsx @@ -3,7 +3,7 @@ import { type Dispatch, type SetStateAction, createContext, type ComponentType } import type { ColumnOptions } from './autogrid-columns'; import type { HeaderFilterRendererProps } from './header-filter'; import type { PropertyInfo } from './model-info'; -import type FilterUnion from './types/dev/hilla/crud/filter/FilterUnion'; +import type FilterUnion from './types/com/vaadin/hilla/crud/filter/FilterUnion'; export interface SorterState { direction: GridSorterDirection; diff --git a/packages/ts/react-crud/src/autogrid.tsx b/packages/ts/react-crud/src/autogrid.tsx index bd59ac22df..0a1d02a75f 100644 --- a/packages/ts/react-crud/src/autogrid.tsx +++ b/packages/ts/react-crud/src/autogrid.tsx @@ -23,8 +23,8 @@ import { createDataProvider, type DataProvider, isCountService, type ItemCounts import { type HeaderFilterRendererProps, NoHeaderFilter, HeaderFilterWrapper } from './header-filter'; import { HeaderSorter } from './header-sorter'; import { getDefaultProperties, ModelInfo, type PropertyInfo } from './model-info.js'; -import type AndFilter from './types/dev/hilla/crud/filter/AndFilter.js'; -import type FilterUnion from './types/dev/hilla/crud/filter/FilterUnion.js'; +import type AndFilter from './types/com/vaadin/hilla/crud/filter/AndFilter.js'; +import type FilterUnion from './types/com/vaadin/hilla/crud/filter/FilterUnion.js'; import { isFilterEmpty, registerStylesheet } from './util'; registerStylesheet(css); @@ -45,7 +45,7 @@ interface AutoGridOwnProps { /** * The service to use for fetching the data. This must be a TypeScript service * that has been generated by Hilla from a backend Java service that - * implements the `dev.hilla.crud.ListService` interface. + * implements the `com.vaadin.hilla.crud.ListService` interface. */ service: ListService; /** diff --git a/packages/ts/react-crud/src/crud.d.ts b/packages/ts/react-crud/src/crud.d.ts index 48eba3871a..8e6ce223da 100644 --- a/packages/ts/react-crud/src/crud.d.ts +++ b/packages/ts/react-crud/src/crud.d.ts @@ -1,5 +1,5 @@ -import type FilterUnion from './types/dev/hilla/crud/filter/FilterUnion.js'; -import type Pageable from './types/dev/hilla/mappedtypes/Pageable'; +import type FilterUnion from './types/com/vaadin/hilla/crud/filter/FilterUnion.js'; +import type Pageable from './types/com/vaadin/hilla/mappedtypes/Pageable'; export interface FormService { save(value: T): Promise; diff --git a/packages/ts/react-crud/src/data-provider.ts b/packages/ts/react-crud/src/data-provider.ts index b06403c944..7f9cdee7c3 100644 --- a/packages/ts/react-crud/src/data-provider.ts +++ b/packages/ts/react-crud/src/data-provider.ts @@ -5,8 +5,8 @@ import type { GridElement, } from '@hilla/react-components/Grid'; import type { CountService, ListService } from './crud'; -import type FilterUnion from './types/dev/hilla/crud/filter/FilterUnion'; -import type Sort from './types/dev/hilla/mappedtypes/Sort'; +import type FilterUnion from './types/com/vaadin/hilla/crud/filter/FilterUnion'; +import type Sort from './types/com/vaadin/hilla/mappedtypes/Sort'; import Direction from './types/org/springframework/data/domain/Sort/Direction'; type GridElementWithInternalAPI = GridElement & diff --git a/packages/ts/react-crud/src/header-filter.tsx b/packages/ts/react-crud/src/header-filter.tsx index 1724b7512a..b82c952136 100644 --- a/packages/ts/react-crud/src/header-filter.tsx +++ b/packages/ts/react-crud/src/header-filter.tsx @@ -19,9 +19,9 @@ import { } from 'react'; import { ColumnContext, CustomColumnContext } from './autogrid-column-context.js'; import { useDatePickerI18n } from './locale.js'; -import type FilterUnion from './types/dev/hilla/crud/filter/FilterUnion'; -import type PropertyStringFilter from './types/dev/hilla/crud/filter/PropertyStringFilter'; -import Matcher from './types/dev/hilla/crud/filter/PropertyStringFilter/Matcher.js'; +import type FilterUnion from './types/com/vaadin/hilla/crud/filter/FilterUnion'; +import type PropertyStringFilter from './types/com/vaadin/hilla/crud/filter/PropertyStringFilter'; +import Matcher from './types/com/vaadin/hilla/crud/filter/PropertyStringFilter/Matcher.js'; import { convertToTitleCase } from './util'; type ExtractComponentTypeProps> = T extends ComponentType ? U : never; diff --git a/packages/ts/react-crud/src/types/dev/hilla/crud/filter/AndFilter.d.ts b/packages/ts/react-crud/src/types/com/vaadin/hilla/crud/filter/AndFilter.d.ts similarity index 100% rename from packages/ts/react-crud/src/types/dev/hilla/crud/filter/AndFilter.d.ts rename to packages/ts/react-crud/src/types/com/vaadin/hilla/crud/filter/AndFilter.d.ts diff --git a/packages/ts/react-crud/src/types/dev/hilla/crud/filter/AndFilterModel.ts b/packages/ts/react-crud/src/types/com/vaadin/hilla/crud/filter/AndFilterModel.ts similarity index 100% rename from packages/ts/react-crud/src/types/dev/hilla/crud/filter/AndFilterModel.ts rename to packages/ts/react-crud/src/types/com/vaadin/hilla/crud/filter/AndFilterModel.ts diff --git a/packages/ts/react-crud/src/types/dev/hilla/crud/filter/Filter.d.ts b/packages/ts/react-crud/src/types/com/vaadin/hilla/crud/filter/Filter.d.ts similarity index 100% rename from packages/ts/react-crud/src/types/dev/hilla/crud/filter/Filter.d.ts rename to packages/ts/react-crud/src/types/com/vaadin/hilla/crud/filter/Filter.d.ts diff --git a/packages/ts/react-crud/src/types/dev/hilla/crud/filter/FilterModel.ts b/packages/ts/react-crud/src/types/com/vaadin/hilla/crud/filter/FilterModel.ts similarity index 100% rename from packages/ts/react-crud/src/types/dev/hilla/crud/filter/FilterModel.ts rename to packages/ts/react-crud/src/types/com/vaadin/hilla/crud/filter/FilterModel.ts diff --git a/packages/ts/react-crud/src/types/dev/hilla/crud/filter/FilterUnion.d.ts b/packages/ts/react-crud/src/types/com/vaadin/hilla/crud/filter/FilterUnion.d.ts similarity index 100% rename from packages/ts/react-crud/src/types/dev/hilla/crud/filter/FilterUnion.d.ts rename to packages/ts/react-crud/src/types/com/vaadin/hilla/crud/filter/FilterUnion.d.ts diff --git a/packages/ts/react-crud/src/types/dev/hilla/crud/filter/OrFilter.d.ts b/packages/ts/react-crud/src/types/com/vaadin/hilla/crud/filter/OrFilter.d.ts similarity index 100% rename from packages/ts/react-crud/src/types/dev/hilla/crud/filter/OrFilter.d.ts rename to packages/ts/react-crud/src/types/com/vaadin/hilla/crud/filter/OrFilter.d.ts diff --git a/packages/ts/react-crud/src/types/dev/hilla/crud/filter/OrFilterModel.ts b/packages/ts/react-crud/src/types/com/vaadin/hilla/crud/filter/OrFilterModel.ts similarity index 100% rename from packages/ts/react-crud/src/types/dev/hilla/crud/filter/OrFilterModel.ts rename to packages/ts/react-crud/src/types/com/vaadin/hilla/crud/filter/OrFilterModel.ts diff --git a/packages/ts/react-crud/src/types/dev/hilla/crud/filter/PropertyStringFilter.d.ts b/packages/ts/react-crud/src/types/com/vaadin/hilla/crud/filter/PropertyStringFilter.d.ts similarity index 100% rename from packages/ts/react-crud/src/types/dev/hilla/crud/filter/PropertyStringFilter.d.ts rename to packages/ts/react-crud/src/types/com/vaadin/hilla/crud/filter/PropertyStringFilter.d.ts diff --git a/packages/ts/react-crud/src/types/dev/hilla/crud/filter/PropertyStringFilter/Matcher.ts b/packages/ts/react-crud/src/types/com/vaadin/hilla/crud/filter/PropertyStringFilter/Matcher.ts similarity index 100% rename from packages/ts/react-crud/src/types/dev/hilla/crud/filter/PropertyStringFilter/Matcher.ts rename to packages/ts/react-crud/src/types/com/vaadin/hilla/crud/filter/PropertyStringFilter/Matcher.ts diff --git a/packages/ts/react-crud/src/types/dev/hilla/crud/filter/PropertyStringFilter/MatcherModel.ts b/packages/ts/react-crud/src/types/com/vaadin/hilla/crud/filter/PropertyStringFilter/MatcherModel.ts similarity index 100% rename from packages/ts/react-crud/src/types/dev/hilla/crud/filter/PropertyStringFilter/MatcherModel.ts rename to packages/ts/react-crud/src/types/com/vaadin/hilla/crud/filter/PropertyStringFilter/MatcherModel.ts diff --git a/packages/ts/react-crud/src/types/dev/hilla/crud/filter/PropertyStringFilterModel.ts b/packages/ts/react-crud/src/types/com/vaadin/hilla/crud/filter/PropertyStringFilterModel.ts similarity index 100% rename from packages/ts/react-crud/src/types/dev/hilla/crud/filter/PropertyStringFilterModel.ts rename to packages/ts/react-crud/src/types/com/vaadin/hilla/crud/filter/PropertyStringFilterModel.ts diff --git a/packages/ts/react-crud/src/types/dev/hilla/mappedtypes/Order.d.ts b/packages/ts/react-crud/src/types/com/vaadin/hilla/mappedtypes/Order.d.ts similarity index 100% rename from packages/ts/react-crud/src/types/dev/hilla/mappedtypes/Order.d.ts rename to packages/ts/react-crud/src/types/com/vaadin/hilla/mappedtypes/Order.d.ts diff --git a/packages/ts/react-crud/src/types/dev/hilla/mappedtypes/OrderModel.ts b/packages/ts/react-crud/src/types/com/vaadin/hilla/mappedtypes/OrderModel.ts similarity index 85% rename from packages/ts/react-crud/src/types/dev/hilla/mappedtypes/OrderModel.ts rename to packages/ts/react-crud/src/types/com/vaadin/hilla/mappedtypes/OrderModel.ts index 3c8b193bbf..78b003db5e 100644 --- a/packages/ts/react-crud/src/types/dev/hilla/mappedtypes/OrderModel.ts +++ b/packages/ts/react-crud/src/types/com/vaadin/hilla/mappedtypes/OrderModel.ts @@ -1,6 +1,6 @@ import { _getPropertyModel as _getPropertyModel_1, BooleanModel as BooleanModel_1, makeObjectEmptyValueCreator as makeObjectEmptyValueCreator_1, NotBlank as NotBlank_1, ObjectModel as ObjectModel_1, StringModel as StringModel_1 } from "@hilla/form"; -import DirectionModel_1 from "../../../org/springframework/data/domain/Sort/DirectionModel.js"; -import NullHandlingModel_1 from "../../../org/springframework/data/domain/Sort/NullHandlingModel.js"; +import DirectionModel_1 from "../../../../org/springframework/data/domain/Sort/DirectionModel.js"; +import NullHandlingModel_1 from "../../../../org/springframework/data/domain/Sort/NullHandlingModel.js"; import type Order_1 from "./Order.js"; class OrderModel extends ObjectModel_1 { static override createEmptyValue = makeObjectEmptyValueCreator_1(OrderModel); diff --git a/packages/ts/react-crud/src/types/dev/hilla/mappedtypes/Pageable.d.ts b/packages/ts/react-crud/src/types/com/vaadin/hilla/mappedtypes/Pageable.d.ts similarity index 100% rename from packages/ts/react-crud/src/types/dev/hilla/mappedtypes/Pageable.d.ts rename to packages/ts/react-crud/src/types/com/vaadin/hilla/mappedtypes/Pageable.d.ts diff --git a/packages/ts/react-crud/src/types/dev/hilla/mappedtypes/PageableModel.ts b/packages/ts/react-crud/src/types/com/vaadin/hilla/mappedtypes/PageableModel.ts similarity index 100% rename from packages/ts/react-crud/src/types/dev/hilla/mappedtypes/PageableModel.ts rename to packages/ts/react-crud/src/types/com/vaadin/hilla/mappedtypes/PageableModel.ts diff --git a/packages/ts/react-crud/src/types/dev/hilla/mappedtypes/Sort.d.ts b/packages/ts/react-crud/src/types/com/vaadin/hilla/mappedtypes/Sort.d.ts similarity index 100% rename from packages/ts/react-crud/src/types/dev/hilla/mappedtypes/Sort.d.ts rename to packages/ts/react-crud/src/types/com/vaadin/hilla/mappedtypes/Sort.d.ts diff --git a/packages/ts/react-crud/src/types/dev/hilla/mappedtypes/SortModel.ts b/packages/ts/react-crud/src/types/com/vaadin/hilla/mappedtypes/SortModel.ts similarity index 100% rename from packages/ts/react-crud/src/types/dev/hilla/mappedtypes/SortModel.ts rename to packages/ts/react-crud/src/types/com/vaadin/hilla/mappedtypes/SortModel.ts diff --git a/packages/ts/react-crud/src/util.tsx b/packages/ts/react-crud/src/util.tsx index 2b8eb04226..794cdd1168 100644 --- a/packages/ts/react-crud/src/util.tsx +++ b/packages/ts/react-crud/src/util.tsx @@ -1,5 +1,5 @@ import React, { type CSSProperties, forwardRef } from 'react'; -import type FilterUnion from './types/dev/hilla/crud/filter/FilterUnion'; +import type FilterUnion from './types/com/vaadin/hilla/crud/filter/FilterUnion'; export type ComponentStyleProps = Readonly<{ id?: string; diff --git a/packages/ts/react-crud/test/autogrid.spec.tsx b/packages/ts/react-crud/test/autogrid.spec.tsx index 14927be7c5..50a73d52ce 100644 --- a/packages/ts/react-crud/test/autogrid.spec.tsx +++ b/packages/ts/react-crud/test/autogrid.spec.tsx @@ -12,13 +12,12 @@ import type { HeaderFilterRendererProps } from '../header-filter'; import { AutoGrid, type AutoGridProps, type AutoGridRef } from '../src/autogrid.js'; import type { CountService, CrudService } from '../src/crud.js'; import { LocaleContext } from '../src/locale.js'; -import type AndFilter from '../src/types/dev/hilla/crud/filter/AndFilter.js'; -import Matcher from '../src/types/dev/hilla/crud/filter/PropertyStringFilter/Matcher.js'; -import type PropertyStringFilter from '../src/types/dev/hilla/crud/filter/PropertyStringFilter.js'; -import type Sort from '../src/types/dev/hilla/mappedtypes/Sort.js'; +import type AndFilter from '../src/types/com/vaadin/hilla/crud/filter/AndFilter.js'; +import Matcher from '../src/types/com/vaadin/hilla/crud/filter/PropertyStringFilter/Matcher.js'; +import type PropertyStringFilter from '../src/types/com/vaadin/hilla/crud/filter/PropertyStringFilter.js'; +import type Sort from '../src/types/com/vaadin/hilla/mappedtypes/Sort.js'; import Direction from '../src/types/org/springframework/data/domain/Sort/Direction.js'; -import type FilterUnion from '../types/dev/hilla/crud/filter/FilterUnion'; -import type OrFilter from '../types/dev/hilla/crud/filter/OrFilter'; +import type FilterUnion from '../types/com/vaadin/hilla/crud/filter/FilterUnion'; import GridController from './GridController.js'; import SelectController from './SelectController.js'; import { diff --git a/packages/ts/react-crud/test/dataprovider.spec.ts b/packages/ts/react-crud/test/dataprovider.spec.ts index 88f20124bb..737f013b57 100644 --- a/packages/ts/react-crud/test/dataprovider.spec.ts +++ b/packages/ts/react-crud/test/dataprovider.spec.ts @@ -4,11 +4,11 @@ import sinon from 'sinon'; import sinonChai from 'sinon-chai'; import type { CountService, ListService } from '../crud'; import { createDataProvider, FixedSizeDataProvider, InfiniteDataProvider, type ItemCounts } from '../src/data-provider'; -import type AndFilter from '../types/dev/hilla/crud/filter/AndFilter'; -import type FilterUnion from '../types/dev/hilla/crud/filter/FilterUnion'; -import type PropertyStringFilter from '../types/dev/hilla/crud/filter/PropertyStringFilter'; -import Matcher from '../types/dev/hilla/crud/filter/PropertyStringFilter/Matcher'; -import type Pageable from '../types/dev/hilla/mappedtypes/Pageable'; +import type AndFilter from '../types/com/vaadin/hilla/crud/filter/AndFilter'; +import type FilterUnion from '../types/com/vaadin/hilla/crud/filter/FilterUnion'; +import type PropertyStringFilter from '../types/com/vaadin/hilla/crud/filter/PropertyStringFilter'; +import Matcher from '../types/com/vaadin/hilla/crud/filter/PropertyStringFilter/Matcher'; +import type Pageable from '../types/com/vaadin/hilla/mappedtypes/Pageable'; use(sinonChai); diff --git a/packages/ts/react-crud/test/test-models-and-services.ts b/packages/ts/react-crud/test/test-models-and-services.ts index 2ad943527b..ecdd6e8416 100644 --- a/packages/ts/react-crud/test/test-models-and-services.ts +++ b/packages/ts/react-crud/test/test-models-and-services.ts @@ -10,10 +10,10 @@ import { makeObjectEmptyValueCreator, } from '@hilla/form'; import type { CountService, CrudService, ListService } from '../src/crud.js'; -import type FilterUnion from '../src/types/dev/hilla/crud/filter/FilterUnion.js'; -import Matcher from '../src/types/dev/hilla/crud/filter/PropertyStringFilter/Matcher.js'; -import type Pageable from '../src/types/dev/hilla/mappedtypes/Pageable.js'; -import type Sort from '../src/types/dev/hilla/mappedtypes/Sort.js'; +import type FilterUnion from '../src/types/com/vaadin/hilla/crud/filter/FilterUnion.js'; +import Matcher from '../src/types/com/vaadin/hilla/crud/filter/PropertyStringFilter/Matcher.js'; +import type Pageable from '../src/types/com/vaadin/hilla/mappedtypes/Pageable.js'; +import type Sort from '../src/types/com/vaadin/hilla/mappedtypes/Sort.js'; import Direction from '../src/types/org/springframework/data/domain/Sort/Direction.js'; export interface Company extends HasIdVersion { diff --git a/packages/ts/react-crud/test/util.spec.tsx b/packages/ts/react-crud/test/util.spec.tsx index 7214b4cf5d..d644cd2901 100644 --- a/packages/ts/react-crud/test/util.spec.tsx +++ b/packages/ts/react-crud/test/util.spec.tsx @@ -1,7 +1,7 @@ import { expect } from '@esm-bundle/chai'; import { isFilterEmpty } from '../src/util'; -import type FilterUnion from '../types/dev/hilla/crud/filter/FilterUnion'; -import Matcher from '../types/dev/hilla/crud/filter/PropertyStringFilter/Matcher'; +import type FilterUnion from '../types/com/vaadin/hilla/crud/filter/FilterUnion'; +import Matcher from '../types/com/vaadin/hilla/crud/filter/PropertyStringFilter/Matcher'; describe('@hilla/react-crud', () => { describe('util', () => { diff --git a/pom.xml b/pom.xml index 92b910785b..5b19c2d225 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - dev.hilla + com.vaadin.hilla hilla-project 24.4-SNAPSHOT Hilla @@ -81,7 +81,7 @@ 2.15.3 5.10.1 4.5.0 - 24.3.2 + 24.4.0.alpha1 24.3.3 2.0.9 3.2.1 @@ -91,7 +91,7 @@ 2.1.2 8.0.1.Final 4.0.4 - 3.25.6 + 3.25.7 12.0.3 diff --git a/scripts/prepare.sh b/scripts/prepare.sh index 8db7cb35d5..6d95e52338 100755 --- a/scripts/prepare.sh +++ b/scripts/prepare.sh @@ -41,9 +41,9 @@ curl -l -s $materialFile > ./scripts/generator/results/Material.java perl -pi -e 's/.*(JsModule|NpmPackage).*\n//g' ./scripts/generator/results/Lumo.java ./scripts/generator/results/Material.java # copy the theme files to hilla and hilla-react -mkdir -p ./packages/java/hilla-react/src/main/java/dev/hilla/theme -mkdir -p ./packages/java/hilla/src/main/java/dev/hilla/theme -cp scripts/generator/results/Lumo.java packages/java/hilla-react/src/main/java/dev/hilla/theme/Lumo.java -cp scripts/generator/results/Lumo.java packages/java/hilla/src/main/java/dev/hilla/theme/Lumo.java -cp scripts/generator/results/Material.java packages/java/hilla-react/src/main/java/dev/hilla/theme/Material.java -cp scripts/generator/results/Material.java packages/java/hilla/src/main/java/dev/hilla/theme/Material.java +mkdir -p ./packages/java/hilla-react/src/main/java/com/vaadin/hilla/theme +mkdir -p ./packages/java/hilla/src/main/java/com/vaadin/hilla/theme +cp scripts/generator/results/Lumo.java packages/java/hilla-react/src/main/java/com/vaadin/hilla/theme/Lumo.java +cp scripts/generator/results/Lumo.java packages/java/hilla/src/main/java/com/vaadin/hilla/theme/Lumo.java +cp scripts/generator/results/Material.java packages/java/hilla-react/src/main/java/com/vaadin/hilla/theme/Material.java +cp scripts/generator/results/Material.java packages/java/hilla/src/main/java/com/vaadin/hilla/theme/Material.java