Skip to content

Bug/target table perfomance - #105

Merged
michahirsch merged 11 commits into
eclipse-hawkbit:masterfrom
bosch-io:BUG/TARGET_TABLE_PERFOMANCE
Mar 29, 2016
Merged

michahirsch merged 11 commits into
eclipse-hawkbit:masterfrom
bosch-io:BUG/TARGET_TABLE_PERFOMANCE

Conversation

@MelleD

@MelleD MelleD commented Mar 24, 2016

Copy link
Copy Markdown
Contributor
  1. Add a event provider which hold the repository events which are provided by the ui.
  2. Fix the performance issue. Issue was the selection of targets. The table
    needs very long to calculate the scroll position. After deletion of a target the table row the scroll postion is not set anymore.

MelleD added 5 commits March 23, 2016 15:12
by the ui.

fix the performance issue. Issue was the selection of targets. The table
needs very long to calculate the scroll position.

Signed-off-by: SirWayne <[email protected]>
Signed-off-by: SirWayne <[email protected]>
Signed-off-by: SirWayne <[email protected]>
*
* @return the provider bean
*/
@Bean

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we adding the bean into the AutoConfiguration if you create the HawkbitEventProvider by our own with new in the constructor of the example app? I guess we don't need to provide the autoconfiguration for this, do we? Or otherwise we should annotate it with @ConditionalMissingBean

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. thanks
Maybe if somone would like to extend the UI, it's simpler to add a own provider with new events. For this reason i create a bean into the AutoConfiguration.

MelleD added 4 commits March 24, 2016 12:59
Signed-off-by: SirWayne <[email protected]>
Signed-off-by: SirWayne <[email protected]>
Signed-off-by: SirWayne <[email protected]>
@michahirsch

Copy link
Copy Markdown
Contributor

please resolve the conflicts so the branch can be merged with the master, thanks.


private static final Set<Class<? extends Event>> SINGLE_EVENTS = new HashSet<>();

static {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 static block
fix hashset size

MelleD and others added 2 commits March 29, 2016 12:01
- Use 1 static block

Signed-off-by: SirWayne <[email protected]>
…ERFOMANCE

# Conflicts:
#
hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/push/DelayedEventBusPush
Strategy.java
@kaizimmerm

Copy link
Copy Markdown
Contributor

I have taken the liberty to merge this for you.

@michahirsch
michahirsch merged commit d23e8d4 into eclipse-hawkbit:master Mar 29, 2016
@michahirsch
michahirsch deleted the BUG/TARGET_TABLE_PERFOMANCE branch March 29, 2016 13:03
@kaizimmerm kaizimmerm modified the milestone: 0.2.0.M1 Oct 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants