Skip to content

Commit

Permalink
feat!: rename Hilla Java packages (#134)
Browse files Browse the repository at this point in the history
* feat!: rename Hilla Java packages

follow up for vaadin/hilla#1909

* upgrade flow to 24.4-SNAPSHOT
  • Loading branch information
taefi authored Jan 22, 2024
1 parent d1baaae commit 06b0295
Show file tree
Hide file tree
Showing 24 changed files with 82 additions and 72 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
</modules>

<properties>
<flow.version>24.3-SNAPSHOT</flow.version>
<hilla.version>2.5-SNAPSHOT</hilla.version>
<flow.version>24.4-SNAPSHOT</flow.version>
<hilla.version>24.4-SNAPSHOT</hilla.version>
<vaadin.license.checker.version>1.12.3</vaadin.license.checker.version>

<maven.compiler.source>17</maven.compiler.source>
Expand Down Expand Up @@ -73,7 +73,7 @@
<version>${flow.version}</version>
</dependency>
<dependency>
<groupId>dev.hilla</groupId>
<groupId>com.vaadin.hilla</groupId>
<artifactId>endpoint</artifactId>
<version>${hilla.version}</version>
</dependency>
Expand Down
5 changes: 3 additions & 2 deletions sso-kit-starter-hilla/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
<artifactId>sso-kit</artifactId>
<version>2.3-SNAPSHOT</version>
</parent>
<version>2.3-SNAPSHOT</version>

<name>SSO Kit Starter for Hilla</name>

<groupId>dev.hilla</groupId>
<groupId>com.vaadin.hilla</groupId>
<artifactId>sso-kit-starter</artifactId>

<properties>
Expand All @@ -33,7 +34,7 @@
<artifactId>license-checker</artifactId>
</dependency>
<dependency>
<groupId>dev.hilla</groupId>
<groupId>com.vaadin.hilla</groupId>
<artifactId>endpoint</artifactId>
<scope>provided</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*-
* Copyright (C) 2022 Vaadin Ltd
* Copyright (C) 2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
*
* See <https://vaadin.com/commercial-license-and-service-terms> for the full
* license.
*/
package dev.hilla.sso.starter;
package com.vaadin.hilla.sso.starter;

import java.util.Objects;
import java.util.function.Consumer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*-
* Copyright (C) 2022 Vaadin Ltd
* Copyright (C) 2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
*
* See <https://vaadin.com/commercial-license-and-service-terms> for the full
* license.
*/
package dev.hilla.sso.starter;
package com.vaadin.hilla.sso.starter;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.core.JsonProcessingException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*-
* Copyright (C) 2022 Vaadin Ltd
* Copyright (C) 2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
*
* See <https://vaadin.com/commercial-license-and-service-terms> for the full
* license.
*/
package dev.hilla.sso.starter;
package com.vaadin.hilla.sso.starter;

import java.io.IOException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/*-
* Copyright (C) 2022 Vaadin Ltd
* Copyright (C) 2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
*
* See <https://vaadin.com/commercial-license-and-service-terms> for the full
* license.
*/
package dev.hilla.sso.starter;
package com.vaadin.hilla.sso.starter;

import dev.hilla.sso.starter.endpoint.BackChannelLogoutEndpoint;
import dev.hilla.sso.starter.endpoint.SingleSignOnEndpoint;
import dev.hilla.sso.starter.endpoint.UserEndpoint;
import com.vaadin.hilla.sso.starter.endpoint.BackChannelLogoutEndpoint;
import com.vaadin.hilla.sso.starter.endpoint.SingleSignOnEndpoint;
import com.vaadin.hilla.sso.starter.endpoint.UserEndpoint;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.autoconfigure.security.oauth2.client.ClientsConfiguredCondition;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*-
* Copyright (C) 2022 Vaadin Ltd
* Copyright (C) 2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
*
* See <https://vaadin.com/commercial-license-and-service-terms> for the full
* license.
*/
package dev.hilla.sso.starter;
package com.vaadin.hilla.sso.starter;

import java.util.ArrayList;
import java.util.List;
Expand All @@ -27,7 +27,7 @@
import org.springframework.web.context.request.ServletRequestAttributes;
import org.springframework.web.util.UriComponentsBuilder;

import dev.hilla.Nonnull;
import com.vaadin.hilla.Nonnull;
import jakarta.servlet.http.HttpServletRequest;
import reactor.core.publisher.Flux;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/*-
* Copyright (C) 2022 Vaadin Ltd
* Copyright (C) 2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
*
* See <https://vaadin.com/commercial-license-and-service-terms> for the full
* license.
*/
package dev.hilla.sso.starter;
package com.vaadin.hilla.sso.starter;

import java.util.List;

import dev.hilla.Nonnull;
import com.vaadin.hilla.Nonnull;

/**
* A convenience class that contains all the information about the current SSO
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*-
* Copyright (C) 2022 Vaadin Ltd
* Copyright (C) 2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
*
* See <https://vaadin.com/commercial-license-and-service-terms> for the full
* license.
*/
package dev.hilla.sso.starter;
package com.vaadin.hilla.sso.starter;

import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*-
* Copyright (C) 2022 Vaadin Ltd
* Copyright (C) 2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
*
* See <https://vaadin.com/commercial-license-and-service-terms> for the full
* license.
*/
package dev.hilla.sso.starter;
package com.vaadin.hilla.sso.starter;

import org.springframework.boot.context.properties.ConfigurationProperties;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/*-
* Copyright (C) 2022 Vaadin Ltd
* Copyright (C) 2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
*
* See <https://vaadin.com/commercial-license-and-service-terms> for the full
* license.
*/
package dev.hilla.sso.starter.endpoint;
package com.vaadin.hilla.sso.starter.endpoint;

import dev.hilla.Endpoint;
import dev.hilla.Nonnull;
import dev.hilla.sso.starter.BackChannelLogoutSubscription;
import dev.hilla.sso.starter.SingleSignOnContext;
import com.vaadin.hilla.Endpoint;
import com.vaadin.hilla.Nonnull;
import com.vaadin.hilla.sso.starter.BackChannelLogoutSubscription;
import com.vaadin.hilla.sso.starter.SingleSignOnContext;
import jakarta.annotation.security.PermitAll;
import reactor.core.publisher.Flux;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
/*-
* Copyright (C) 2022 Vaadin Ltd
* Copyright (C) 2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
*
* See <https://vaadin.com/commercial-license-and-service-terms> for the full
* license.
*/
package dev.hilla.sso.starter.endpoint;
package com.vaadin.hilla.sso.starter.endpoint;

import java.util.List;

import com.vaadin.flow.server.auth.AnonymousAllowed;

import dev.hilla.Endpoint;
import dev.hilla.Nonnull;
import dev.hilla.sso.starter.SingleSignOnContext;
import dev.hilla.sso.starter.SingleSignOnData;
import com.vaadin.hilla.Endpoint;
import com.vaadin.hilla.Nonnull;
import com.vaadin.hilla.sso.starter.SingleSignOnContext;
import com.vaadin.hilla.sso.starter.SingleSignOnData;

/**
* Endpoint for fetching the SSO data
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
/*-
* Copyright (C) 2022 Vaadin Ltd
* Copyright (C) 2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
*
* See <https://vaadin.com/commercial-license-and-service-terms> for the full
* license.
*/
package dev.hilla.sso.starter.endpoint;
package com.vaadin.hilla.sso.starter.endpoint;

import java.util.List;

import org.springframework.security.oauth2.core.oidc.user.OidcUser;

import dev.hilla.Nonnull;
import dev.hilla.sso.starter.SingleSignOnContext;
import com.vaadin.hilla.Nonnull;
import com.vaadin.hilla.sso.starter.SingleSignOnContext;

/**
* A convenience class that contains the information about the current user.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
/*-
* Copyright (C) 2022 Vaadin Ltd
* Copyright (C) 2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
*
* See <https://vaadin.com/commercial-license-and-service-terms> for the full
* license.
*/
package dev.hilla.sso.starter.endpoint;
package com.vaadin.hilla.sso.starter.endpoint;

import java.util.Optional;

import com.vaadin.flow.server.auth.AnonymousAllowed;

import dev.hilla.Endpoint;
import dev.hilla.sso.starter.SingleSignOnContext;
import com.vaadin.hilla.Endpoint;
import com.vaadin.hilla.sso.starter.SingleSignOnContext;

/**
* Endpoint for getting information about the current user.
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dev.hilla.sso.starter.LicenseCheckerServiceInitListener
com.vaadin.hilla.sso.starter.LicenseCheckerServiceInitListener
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
dev.hilla.sso.starter.SingleSignOnDefaultBeans
dev.hilla.sso.starter.SingleSignOnConfiguration
com.vaadin.hilla.sso.starter.SingleSignOnDefaultBeans
com.vaadin.hilla.sso.starter.SingleSignOnConfiguration
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*-
* Copyright (C) 2022 Vaadin Ltd
* Copyright (C) 2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
*
* See <https://vaadin.com/commercial-license-and-service-terms> for the full
* license.
*/
package dev.hilla.sso.starter;
package com.vaadin.hilla.sso.starter;

import java.util.ArrayList;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*-
* Copyright (C) 2022 Vaadin Ltd
* Copyright (C) 2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
*
* See <https://vaadin.com/commercial-license-and-service-terms> for the full
* license.
*/
package dev.hilla.sso.starter;
package com.vaadin.hilla.sso.starter;

import org.jsoup.nodes.Document;
import org.junit.jupiter.api.BeforeEach;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*-
* Copyright (C) 2022 Vaadin Ltd
* Copyright (C) 2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
*
* See <https://vaadin.com/commercial-license-and-service-terms> for the full
* license.
*/
package dev.hilla.sso.starter;
package com.vaadin.hilla.sso.starter;

import java.io.IOException;
import java.util.Properties;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/*-
* Copyright (C) 2022 Vaadin Ltd
* Copyright (C) 2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
*
* See <https://vaadin.com/commercial-license-and-service-terms> for the full
* license.
*/
package dev.hilla.sso.starter;
package com.vaadin.hilla.sso.starter;

import dev.hilla.sso.starter.endpoint.BackChannelLogoutEndpoint;
import dev.hilla.sso.starter.endpoint.SingleSignOnEndpoint;
import dev.hilla.sso.starter.endpoint.UserEndpoint;
import com.vaadin.hilla.sso.starter.endpoint.BackChannelLogoutEndpoint;
import com.vaadin.hilla.sso.starter.endpoint.SingleSignOnEndpoint;
import com.vaadin.hilla.sso.starter.endpoint.UserEndpoint;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*-
* Copyright (C) 2022 Vaadin Ltd
* Copyright (C) 2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
*
* See <https://vaadin.com/commercial-license-and-service-terms> for the full
* license.
*/
package dev.hilla.sso.starter;
package com.vaadin.hilla.sso.starter;

import java.time.Duration;
import java.time.Instant;
Expand Down
Loading

0 comments on commit 06b0295

Please sign in to comment.