Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "COSMOS Design 214672"

(Service Meta Data View Mockup)
(4. A view opens to display the status of the registration request. The view will indicate the items/relationships that have been accepted or rejected.)
Line 78: Line 78:
 
===4. A view opens to display the status of the registration request.  The view will indicate the items/relationships that have been accepted or rejected.===
 
===4. A view opens to display the status of the registration request.  The view will indicate the items/relationships that have been accepted or rejected.===
 
The following components are needed.
 
The following components are needed.
#A widget that will visualized the status information.  The structure of the status information is as follows:
+
#A dialog box will prompt the user indicating some form of progress. 
 +
#Once a response is received the progress indicator will disappear and a view showing the success or failure of the registration.  A widget that will visualized the status information.  The structure of the status information is as follows:
 
<pre>
 
<pre>
 
<registerResponse>
 
<registerResponse>

Revision as of 22:43, 24 January 2008

Back to Data Reporting Design

Change History

Name: Date: Revised Sections:
Sheldon Lee-Loy 01/24/2008
  • Initial version

Workload Estimation

Rough workload estimate in person weeks
Process Sizing Names of people doing the work
Design 0.2 Sheldon Lee-Loy
Code 3
Test 0.5
Documentation 0.5
Build and infrastructure 0.2
Code review, etc.*
TOTAL 4.4

'* - includes other committer work (e.g. check-in, contribution tracking)

Requirement

This enhancement is required to be able to register a set of Configuration Items belonging to an MDR with a federating CMDB. Two different modes should be provided:

  1. All-inclusive registration - The user will be able to select an action from the context menu of a federating CMDB to register all CIs of MDRs.
  2. Partial registration - The user will be able to register only a set of configuration items contained by an MDR.

Design

All-inclusive registration

The following steps indicates how the user will interact with the COSMOS ui to register all configuration items with a set of MDRs.

1. User right clicks a federating CMDB from the left panel > selects "Register Configuration Items"

This involves a new menu item . A new tag should be associated with a federating CMDB. I menu configuration option would be added to the this new tag.

2. A dialog appears with all the registered MDRs

This involves creating the following:

  1. A query object that instantiates a dialog widget
  2. A dialog widget that shows a dual list. The right list will contain the list of MDR the left list will contain a list of MDRs that should be registered with the federating CMDB.
  3. An outputter is needed to get the list of MDRs. The outputter should return a JSON object that returns the resid and epr

3. User selects one or more MDRs and clicks register

The user makes this selection via the dual list. The following components are needed for this step:

  1. An outputter that receives a list of mdrs and generates status information. This outputter will interface with the data collection component to send the request to the federating CMDB.

4. A view opens to display the status of the registration request. The view will indicate the items/relationships that have been accepted or rejected.

The following components are needed.

  1. A dialog box will prompt the user indicating some form of progress.
  2. Once a response is received the progress indicator will disappear and a view showing the success or failure of the registration. A widget that will visualized the status information. The structure of the status information is as follows:
<registerResponse>
	<instanceResponse>
		<instanceId>cmdbf:MdrScopedIdType</instanceId>
		<accepted>
			<alternateInstanceId>
			cmdbf:MdrScopedIdType
			</alternateInstanceId> *
		</accepted> ?
		<declined>
			<reason>xs:string</reason> *
		</declined> ?
	<instanceResponse> *
</registerResponse>

The following shows the visualization of the response. The visualization is composed of a table that shows weather the configuration item was accepted or rejected. Each row will expand to show alternateInstanceId if the item was accepted or a reason list if the item was declined.

Partial registration

1. User performs a CMDBf query on an MDR

This support is already provided by the COSMOS UI

2. The items will be displayed in the tabular view

This support is implemented as part of the following enhancement: https://bugs.eclipse.org/bugs/show_bug.cgi?id=214145

3. User will be able to select a subset of the items/relationships and right click to open a menu bar to register the selection with the federating CMDB.

The following are needed

  1. A menu option is required that will provide a 'register items' option. The menu bar will show a sub menu that will provide a list of federating cmdb that the selected items can be registered against. This is highlighted in the mockup below.

CmdbViewPopup.jpg

Once the user selects the particular cmdb a request is sent to the outputter with the list of items. At this point a dialog box will prompt the user indicating some form of progress. Once a response is received the progress indicator will disappear and a view showing the success or failure of the registration.



Widget Design

Open Issues/Questions

All reviewer feedback should go in the Talk page for 214672.

Back to the top