Skip to content

Tasks #189

@hpehl

Description

@hpehl

Tasks enable you to complete complex tasks quickly and easily. They combine multiple steps that involve configuring different subsystems and resources. The console lists them on a new page. As an example, you can use a task to enable SSL for the http-listener in the Undertow subsystem.

The idea is to make it easy to contribute new tasks to the console. A task is defined as an interface in org.jboss.hal.task.Task. Besides some metadata like an ID, name, icon and description it has two main methods that need to be implemented:

  • Iterable<HTMLElement> elements() to return the UI of the task and
  • void run() to contain the actual implementation of the task.

All task implementations are picked up at build time using CDI.

This issue is here to discuss the implementation and collect ideas for tasks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions