Skip to content

Commit ae47b1b

Browse files
authored
Add Simple UI Source & rename java package (#1542)
Signed-off-by: Marinov Avgustin <[email protected]>
1 parent d1bdca0 commit ae47b1b

File tree

17 files changed

+111
-98
lines changed

17 files changed

+111
-98
lines changed

hawkbit-runtime/hawkbit-simple-ui/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,18 @@
241241
</execution>
242242
</executions>
243243
</plugin>
244+
<plugin>
245+
<groupId>org.apache.maven.plugins</groupId>
246+
<artifactId>maven-source-plugin</artifactId>
247+
<executions>
248+
<execution>
249+
<id>attach-sources</id>
250+
<goals>
251+
<goal>jar</goal>
252+
</goals>
253+
</execution>
254+
</executions>
255+
</plugin>
244256
</plugins>
245257
</build>
246258

hawkbit-runtime/hawkbit-simple-ui/src/main/java/org/eclipse/hawkbit/ui/HawkbitClient.java renamed to hawkbit-runtime/hawkbit-simple-ui/src/main/java/org/eclipse/hawkbit/ui/simple/HawkbitClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
*
88
* SPDX-License-Identifier: EPL-2.0
99
*/
10-
package org.eclipse.hawkbit.ui;
10+
package org.eclipse.hawkbit.ui.simple;
1111

12-
import org.eclipse.hawkbit.ui.view.util.Utils;
12+
import org.eclipse.hawkbit.ui.simple.view.util.Utils;
1313
import feign.Client;
1414
import feign.Contract;
1515
import feign.Feign;

hawkbit-runtime/hawkbit-simple-ui/src/main/java/org/eclipse/hawkbit/ui/MainLayout.java renamed to hawkbit-runtime/hawkbit-simple-ui/src/main/java/org/eclipse/hawkbit/ui/simple/MainLayout.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
*
88
* SPDX-License-Identifier: EPL-2.0
99
*/
10-
package org.eclipse.hawkbit.ui;
11-
12-
import org.eclipse.hawkbit.ui.view.RolloutView;
13-
import org.eclipse.hawkbit.ui.view.TargetView;
14-
import org.eclipse.hawkbit.ui.security.AuthenticatedUser;
15-
import org.eclipse.hawkbit.ui.view.AboutView;
16-
import org.eclipse.hawkbit.ui.view.DistributionSetView;
17-
import org.eclipse.hawkbit.ui.view.SoftwareModuleView;
10+
package org.eclipse.hawkbit.ui.simple;
11+
12+
import org.eclipse.hawkbit.ui.simple.view.TargetView;
13+
import org.eclipse.hawkbit.ui.simple.view.RolloutView;
14+
import org.eclipse.hawkbit.ui.simple.security.AuthenticatedUser;
15+
import org.eclipse.hawkbit.ui.simple.view.AboutView;
16+
import org.eclipse.hawkbit.ui.simple.view.DistributionSetView;
17+
import org.eclipse.hawkbit.ui.simple.view.SoftwareModuleView;
1818
import com.vaadin.flow.component.Unit;
1919
import com.vaadin.flow.component.applayout.AppLayout;
2020
import com.vaadin.flow.component.applayout.DrawerToggle;

hawkbit-runtime/hawkbit-simple-ui/src/main/java/org/eclipse/hawkbit/ui/SimpleUIApp.java renamed to hawkbit-runtime/hawkbit-simple-ui/src/main/java/org/eclipse/hawkbit/ui/simple/SimpleUIApp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* SPDX-License-Identifier: EPL-2.0
99
*/
10-
package org.eclipse.hawkbit.ui;
10+
package org.eclipse.hawkbit.ui.simple;
1111

1212
import com.vaadin.flow.component.page.AppShellConfigurator;
1313
import com.vaadin.flow.server.PWA;

hawkbit-runtime/hawkbit-simple-ui/src/main/java/org/eclipse/hawkbit/ui/security/AuthenticatedUser.java renamed to hawkbit-runtime/hawkbit-simple-ui/src/main/java/org/eclipse/hawkbit/ui/simple/security/AuthenticatedUser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* SPDX-License-Identifier: EPL-2.0
99
*/
10-
package org.eclipse.hawkbit.ui.security;
10+
package org.eclipse.hawkbit.ui.simple.security;
1111

1212
import com.vaadin.flow.spring.security.AuthenticationContext;
1313
import org.springframework.stereotype.Component;

hawkbit-runtime/hawkbit-simple-ui/src/main/java/org/eclipse/hawkbit/ui/security/SecurityConfiguration.java renamed to hawkbit-runtime/hawkbit-simple-ui/src/main/java/org/eclipse/hawkbit/ui/simple/security/SecurityConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
*
88
* SPDX-License-Identifier: EPL-2.0
99
*/
10-
package org.eclipse.hawkbit.ui.security;
10+
package org.eclipse.hawkbit.ui.simple.security;
1111

12-
import org.eclipse.hawkbit.ui.view.LoginView;
12+
import org.eclipse.hawkbit.ui.simple.view.LoginView;
1313
import com.vaadin.flow.spring.security.VaadinWebSecurity;
1414
import org.springframework.context.annotation.Bean;
1515
import org.springframework.context.annotation.Configuration;

hawkbit-runtime/hawkbit-simple-ui/src/main/java/org/eclipse/hawkbit/ui/view/AboutView.java renamed to hawkbit-runtime/hawkbit-simple-ui/src/main/java/org/eclipse/hawkbit/ui/simple/view/AboutView.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
*
88
* SPDX-License-Identifier: EPL-2.0
99
*/
10-
package org.eclipse.hawkbit.ui.view;
10+
package org.eclipse.hawkbit.ui.simple.view;
1111

12-
import org.eclipse.hawkbit.ui.MainLayout;
12+
import org.eclipse.hawkbit.ui.simple.MainLayout;
1313
import com.vaadin.flow.component.html.H2;
1414
import com.vaadin.flow.component.html.Image;
1515
import com.vaadin.flow.component.orderedlayout.VerticalLayout;

hawkbit-runtime/hawkbit-simple-ui/src/main/java/org/eclipse/hawkbit/ui/view/Constants.java renamed to hawkbit-runtime/hawkbit-simple-ui/src/main/java/org/eclipse/hawkbit/ui/simple/view/Constants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* SPDX-License-Identifier: EPL-2.0
99
*/
10-
package org.eclipse.hawkbit.ui.view;
10+
package org.eclipse.hawkbit.ui.simple.view;
1111

1212
public interface Constants {
1313

hawkbit-runtime/hawkbit-simple-ui/src/main/java/org/eclipse/hawkbit/ui/view/DistributionSetView.java renamed to hawkbit-runtime/hawkbit-simple-ui/src/main/java/org/eclipse/hawkbit/ui/simple/view/DistributionSetView.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
*
88
* SPDX-License-Identifier: EPL-2.0
99
*/
10-
package org.eclipse.hawkbit.ui.view;
11-
12-
import org.eclipse.hawkbit.ui.HawkbitClient;
13-
import org.eclipse.hawkbit.ui.view.util.Filter;
14-
import org.eclipse.hawkbit.ui.MainLayout;
15-
import org.eclipse.hawkbit.ui.view.util.SelectionGrid;
16-
import org.eclipse.hawkbit.ui.view.util.TableView;
17-
import org.eclipse.hawkbit.ui.view.util.Utils;
10+
package org.eclipse.hawkbit.ui.simple.view;
11+
12+
import org.eclipse.hawkbit.ui.simple.MainLayout;
13+
import org.eclipse.hawkbit.ui.simple.HawkbitClient;
14+
import org.eclipse.hawkbit.ui.simple.view.util.Filter;
15+
import org.eclipse.hawkbit.ui.simple.view.util.SelectionGrid;
16+
import org.eclipse.hawkbit.ui.simple.view.util.TableView;
17+
import org.eclipse.hawkbit.ui.simple.view.util.Utils;
1818
import com.vaadin.flow.component.Component;
1919
import com.vaadin.flow.component.Key;
2020
import com.vaadin.flow.component.button.Button;

hawkbit-runtime/hawkbit-simple-ui/src/main/java/org/eclipse/hawkbit/ui/view/LoginView.java renamed to hawkbit-runtime/hawkbit-simple-ui/src/main/java/org/eclipse/hawkbit/ui/simple/view/LoginView.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
*
88
* SPDX-License-Identifier: EPL-2.0
99
*/
10-
package org.eclipse.hawkbit.ui.view;
10+
package org.eclipse.hawkbit.ui.simple.view;
1111

12-
import org.eclipse.hawkbit.ui.security.AuthenticatedUser;
12+
import org.eclipse.hawkbit.ui.simple.security.AuthenticatedUser;
1313
import com.vaadin.flow.component.login.LoginI18n;
1414
import com.vaadin.flow.component.login.LoginOverlay;
1515
import com.vaadin.flow.router.BeforeEnterEvent;

0 commit comments

Comments
 (0)