Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] Proposal: Extension for the Delete Server Dialog

Hello,

 

With the gaining popularity of cloud infrastructures we need some extensions of the server tools in order to better handle the more complex server model.

 

Such an extension is needed for the Delete Server Dialog. Currently the following options are available upon server deletion:

  * Delete unused server configuration(s)

  * Delete running server(s)

    * Stop server(s) before deleting

However these options are not sufficient in more complex environment.

For example in SAP HANA Cloud, we have additional configurations that might be shared between servers.

We would like to perform logic that checks if we are deleting the last server and then offer the user to delete these configurations also.

 

I have prepared a patch for https://bugs.eclipse.org/bugs/show_bug.cgi?id=344543 , which defines extension point where a sequence of additional delete options may be described with the following attributes:

1.            id – id of the option

2.            label – the label that will appear in delete dialog for the option

3.            order – optional ordering of this option relative to other options

4.            selected - specifies if the option is selected by default

5.            operation - optional operation that will be executed if the option is selected

6.            serverTypes - The Server Types for which the option will appear

7.            parent - optional id of a parent option

8.            enablement – optional _expression_ which evaluation will show or hide the option

 

In essence, a vendor will be able to provide additional options that will appear after the default ones in Delete Server dialog, when vendor’s type of server is deleted.

The options may be ordered and nested.

An _expression_ may be evaluated every time the dialog is opened and based on the result, the options will appear or will not.

The vendor may provide an operation that will be executed upon server deletion.

 

The Delete Server dialog will be unmodified if a vendor does not implement this extension point or if the servers deleted does not match the serverTypes for which additional options are defined.

 

What do you think about this extension? Does it fit your environment? Do you miss anything here?

 

Kind Regards,

Alex

 

 


Back to the top