Fix transient dependencies
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
This commit is contained in:
@@ -12,7 +12,6 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.eclipse.hawkbit.repository.SoftwareManagement;
|
||||
import org.eclipse.hawkbit.repository.SpPermissionChecker;
|
||||
import org.eclipse.hawkbit.repository.model.SoftwareModule;
|
||||
import org.eclipse.hawkbit.ui.artifacts.event.SMFilterEvent;
|
||||
import org.eclipse.hawkbit.ui.artifacts.event.SoftwareModuleEvent;
|
||||
@@ -66,7 +65,7 @@ public class SoftwareModuleTable extends AbstractNamedVersionTable<SoftwareModul
|
||||
|
||||
SoftwareModuleTable(final UIEventBus eventBus, final I18N i18n, final UINotification uiNotification,
|
||||
final ArtifactUploadState artifactUploadState, final SoftwareManagement softwareManagement,
|
||||
final UploadViewAcceptCriteria uploadViewAcceptCriteria, final SpPermissionChecker permChecker,
|
||||
final UploadViewAcceptCriteria uploadViewAcceptCriteria,
|
||||
final SwMetadataPopupLayout swMetadataPopupLayout) {
|
||||
super(eventBus, i18n, uiNotification);
|
||||
this.artifactUploadState = artifactUploadState;
|
||||
|
||||
@@ -38,9 +38,8 @@ public class SoftwareModuleTableHeader extends AbstractTableHeader {
|
||||
private final SoftwareModuleAddUpdateWindow softwareModuleAddUpdateWindow;
|
||||
|
||||
SoftwareModuleTableHeader(final I18N i18n, final SpPermissionChecker permChecker, final UIEventBus eventbus,
|
||||
final ArtifactUploadState artifactUploadState, final UIEventBus eventBus,
|
||||
final SoftwareManagement softwareManagement, final EntityFactory entityFactory,
|
||||
final SoftwareModuleAddUpdateWindow softwareModuleAddUpdateWindow) {
|
||||
final ArtifactUploadState artifactUploadState, final SoftwareManagement softwareManagement,
|
||||
final EntityFactory entityFactory, final SoftwareModuleAddUpdateWindow softwareModuleAddUpdateWindow) {
|
||||
super(i18n, permChecker, eventbus, null, null, artifactUploadState);
|
||||
this.softwareModuleAddUpdateWindow = softwareModuleAddUpdateWindow;
|
||||
}
|
||||
|
||||
@@ -38,10 +38,10 @@ public class SoftwareModuleTableLayout extends AbstractTableLayout {
|
||||
softwareManagement, entityFactory, permChecker);
|
||||
|
||||
super.init(
|
||||
new SoftwareModuleTableHeader(i18n, permChecker, eventBus, artifactUploadState, eventBus,
|
||||
softwareManagement, entityFactory, softwareModuleAddUpdateWindow),
|
||||
new SoftwareModuleTableHeader(i18n, permChecker, eventBus, artifactUploadState, softwareManagement,
|
||||
entityFactory, softwareModuleAddUpdateWindow),
|
||||
new SoftwareModuleTable(eventBus, i18n, uiNotification, artifactUploadState, softwareManagement,
|
||||
uploadViewAcceptCriteria, permChecker, swMetadataPopupLayout),
|
||||
uploadViewAcceptCriteria, swMetadataPopupLayout),
|
||||
new SoftwareModuleDetails(i18n, eventBus, permChecker, softwareModuleAddUpdateWindow,
|
||||
artifactUploadState, softwareManagement, swMetadataPopupLayout, entityFactory));
|
||||
}
|
||||
|
||||
@@ -86,7 +86,7 @@ public class UploadLayout extends VerticalLayout {
|
||||
|
||||
private final ArtifactUploadState artifactUploadState;
|
||||
|
||||
private final SPInfo spInfo;
|
||||
private final transient SPInfo spInfo;
|
||||
|
||||
private final List<String> duplicateFileNamesList = new ArrayList<>();
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ public abstract class AbstractTableHeader extends VerticalLayout {
|
||||
|
||||
protected SpPermissionChecker permChecker;
|
||||
|
||||
protected EventBus.UIEventBus eventbus;
|
||||
protected transient EventBus.UIEventBus eventbus;
|
||||
|
||||
private Label headerCaption;
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ public abstract class AbstractTargetTagToken<T extends BaseEntity> extends Abstr
|
||||
|
||||
private static final long serialVersionUID = 7772876588903171201L;
|
||||
|
||||
protected final TagManagement tagManagement;
|
||||
protected final transient TagManagement tagManagement;
|
||||
|
||||
protected AbstractTargetTagToken(final SpPermissionChecker checker, final I18N i18n,
|
||||
final UINotification uinotification, final UIEventBus eventBus, final ManagementUIState managementUIState,
|
||||
@@ -58,7 +58,7 @@ public abstract class AbstractTargetTagToken<T extends BaseEntity> extends Abstr
|
||||
|
||||
@EventBusListenerMethod(scope = EventScope.UI)
|
||||
void onTargetTagUpdateEvent(final List<TargetTagUpdateEvent> events) {
|
||||
events.stream().map(event -> event.getEntity()).forEach(entity -> {
|
||||
events.stream().map(TargetTagUpdateEvent::getEntity).forEach(entity -> {
|
||||
final Item item = container.getItem(entity.getId());
|
||||
if (item != null) {
|
||||
updateItem(entity.getName(), entity.getColour(), item);
|
||||
|
||||
@@ -41,7 +41,7 @@ public class DistributionTagToken extends AbstractTagToken<DistributionSet> {
|
||||
|
||||
private static final long serialVersionUID = -8022738301736043396L;
|
||||
|
||||
private final TagManagement tagManagement;
|
||||
private final transient TagManagement tagManagement;
|
||||
|
||||
private final transient DistributionSetManagement distributionSetManagement;
|
||||
|
||||
|
||||
@@ -72,9 +72,9 @@ public abstract class AbstractCreateUpdateTagLayout<E extends NamedEntity> exten
|
||||
|
||||
protected I18N i18n;
|
||||
|
||||
protected TagManagement tagManagement;
|
||||
protected transient TagManagement tagManagement;
|
||||
|
||||
protected EntityFactory entityFactory;
|
||||
protected transient EntityFactory entityFactory;
|
||||
|
||||
protected transient EventBus.UIEventBus eventBus;
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ public class DeleteActionsLayout extends AbstractDeleteActionsLayout {
|
||||
|
||||
private static final long serialVersionUID = -8112907467821886253L;
|
||||
|
||||
private final TagManagement tagManagementService;
|
||||
private final transient TagManagement tagManagementService;
|
||||
|
||||
private final ManagementViewAcceptCriteria managementViewAcceptCriteria;
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ public final class DashboardMenu extends CustomComponent {
|
||||
// the buttons directly via events
|
||||
private final List<ValoMenuItemButton> menuButtons = new ArrayList<>();
|
||||
|
||||
private final PermissionService permissionService;
|
||||
private final transient PermissionService permissionService;
|
||||
|
||||
private final List<DashboardMenuItem> dashboardVaadinViews;
|
||||
|
||||
|
||||
@@ -99,7 +99,7 @@ public class RolloutListGrid extends AbstractGrid {
|
||||
|
||||
private static final String ROLLOUT_RENDERER_DATA = "rolloutRendererData";
|
||||
|
||||
private final RolloutManagement rolloutManagement;
|
||||
private final transient RolloutManagement rolloutManagement;
|
||||
|
||||
private final AddUpdateRolloutWindowLayout addUpdateRolloutWindow;
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ public class PollingConfigurationView extends BaseConfigurationView
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final TenantConfigurationManagement tenantConfigurationManagement;
|
||||
private final transient TenantConfigurationManagement tenantConfigurationManagement;
|
||||
|
||||
private final DurationConfigField fieldPollTime;
|
||||
private final DurationConfigField fieldPollingOverdueTime;
|
||||
|
||||
@@ -33,7 +33,7 @@ public class GatewaySecurityTokenAuthenticationConfigurationItem extends Abstrac
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final SecurityTokenGenerator securityTokenGenerator;
|
||||
private final transient SecurityTokenGenerator securityTokenGenerator;
|
||||
|
||||
private final TextField gatewayTokenNameTextField;
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ public class I18N implements Serializable {
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(I18N.class);
|
||||
|
||||
private final MessageSource source;
|
||||
private final transient MessageSource source;
|
||||
|
||||
@Autowired
|
||||
I18N(final MessageSource source) {
|
||||
|
||||
Reference in New Issue
Block a user