Skip to content
This repository was archived by the owner on Mar 18, 2024. It is now read-only.
This repository was archived by the owner on Mar 18, 2024. It is now read-only.

Improve Configuration's update result reporting #87

@hinca

Description

@hinca

Currently, Configuration's update() method returns a boolean whether the update was successful or not. I feel there is some room for improvement here, for this method (or a relevant sibling method) to return more details about the update. Namely:

  • message/reason for the update failing (if any)
  • whether (or how many?) jars were actually updated, or there was nothing newer to get
  • what is the current version of the business application jar (The one defined in Maven's <version /> In the business app I can get it by getClass().getPackage().getImplementationVersion())

That way updates could be logged and various feedback could be provided based on the update wizard (i.e. a popup displaying that a new version is now running, possibly linking to a change log).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions