This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 217515 - Build the new registration plug-ins
Summary: Build the new registration plug-ins
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Cosmos (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 critical (vote)
Target Milestone: ---   Edit
Assignee: Jagmit CLA
QA Contact: Hubert Leung CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 215267 217302
  Show dependency tree
 
Reported: 2008-02-01 16:15 EST by amehrega CLA
Modified: 2012-01-03 13:47 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description amehrega CLA 2008-02-01 16:15:54 EST
I've checked in 3 new plug-ins that need to be included in COSMOS build:

org.eclipse.cosmos.dc.mdr.registration
org.eclipse.cosmos.dc.mdr.registration.client
org.eclipse.cosmos.dc.mdr.registration.common

All three plug-ins are checked into the data-collection module.
If possible, they can be included under the same feature as the following three plug-ins:

org.eclipse.cosmos.dc.mdr
org.eclipse.cosmos.dc.mdr.client
org.eclipse.cosmos.dc.mdr.common
Comment 1 Jagmit CLA 2008-02-05 10:14:53 EST
Fixed in the build (COSMOS-1.0.0-200802051005). Please verify
Comment 2 Hubert Leung CLA 2008-02-05 13:04:25 EST
Jagmit, are you just including these plugins in the SDK zip?  

Ali, I suppose we need to include the demo federating CMDB in the demo as well.  We will need to define the running packaging for the federating CMDB as well.  

I'm reopening this bug just to make sure we have go that covered.  
Comment 3 Jagmit CLA 2008-02-05 13:08:15 EST
yes I am including these plugins only in SDK package.
Comment 4 amehrega CLA 2008-02-05 14:13:58 EST
It was collectively agreed not to include the sample federating CMDB as part of COSMOS code base.  The plug-in will only be used for testing purposes.  So this defect can be closed as long as the following three plug-ins are included in the SDK package:

org.eclipse.cosmos.dc.mdr.registration
org.eclipse.cosmos.dc.mdr.registration.client
org.eclipse.cosmos.dc.mdr.registration.common

Thanks.
Comment 5 Hubert Leung CLA 2008-02-05 14:24:52 EST
Ali, There are enhancements for the UI to invoke registration operations.  How do those functions work without packaging the federation code with the demo?  
Comment 6 amehrega CLA 2008-02-05 14:49:14 EST
I believe the general understanding was to enable the functions only when consumers registered a federating CMDB.  The UI enhancements will not be enabled/visible with COSMOS alone.
Comment 7 Sheldon Lee-Loy CLA 2008-02-05 14:59:58 EST
Yes the UI that is specific to CMDBf functionality will be hidden if there are no federating cmdb present.  Similarly, the UI functionality will be visible if there is a federing cmdb present.

This brings up a point.  How will the UI determine if a federating CMDB is present?  Will it query the broker for meta data information?  Also what properties will determine if the Data manager is a federating CMDB?   Are there standard properties?  
Comment 8 amehrega CLA 2008-02-05 16:13:08 EST
Hubert, correct me if I'm wrong but doesn't the broker client already provide a mechanism to query for specific type of data managers?  For example the following call retrieves all data managers that are management data repositories (MDRs):

brokerClient.getServices(MuwsConstants.MANAGEABILITY_CAPABILITY_QNAME, IMdrQuery.NAMESPACE_URI)

A similar call can be used to retrieve all federating CMDBs:

brokerClient.getServices(MuwsConstants.MANAGEABILITY_CAPABILITY_QNAME, IFederatingCMDB.NAMESPACE_URI)

Comment 9 Hubert Leung CLA 2008-02-05 16:44:17 EST
Yes, it is possible to ask the broker for EPRs of federating CMDB only.  

This bug is about the build aspect of registration work.  If federating CMDB code is not packaged in demo zip file, then the registration UI will not be visible at all in the end-to-end demo.  How do we deliver an enhancement that cannot be executed in the download?  

The sample federating CMDB is checked into CVS, so it's already part of the "COSMOS code base".  I suppose you just don't want to build it.  I'm bringing this up because it affects the UI, and I want to make sure Sheldon is aware of it too.  
Comment 10 amehrega CLA 2008-02-05 18:09:51 EST
Here's my opinion:
The UI enhancement referred is being developed to better enable adopters that intend to register a federating CMDB with COSMOS.  It's not intended for users who wish to use COSMOS as-is.

However, I do understand your concern and I don't have any problems with including the sample as part of the demo package.  I believe Mark originally had some concerns.  

Mark, please indicate if you're fine with including the sample.  The concern is that COSMOS will be ineffective in advertising UI enhancements around registration if there are no samples illustrating them.
Comment 11 Mark Weitzel CLA 2008-02-06 09:02:58 EST
My concern was that I did not want to give the impression that we were providing a federating CMDB--even a sample one.  Even the comments below, we refer to this as a "sample federating CMDB"--that's not even close to what it is.  We need to be clearly stating that what's in CVS as a registration test client and nothing more than that.  If we position the work in this way, then it's ok to include this in the build to enable a "registration validation" or "registration test" scenario in the build.  
Comment 12 Jagmit CLA 2008-02-14 14:35:02 EST
Can you provide me the input, as what is required to be done at the build side. 
to fix this bug
Comment 13 amehrega CLA 2008-02-14 15:01:28 EST
Jagmit,

The only work that remains to be completed is to include "org.eclipse.cosmos.example.mdr.registration" as part of the demo package.  The plug-in is available under:

HEAD/org.eclipse.cosmos/examples.

Thanks.

Comment 14 Jagmit CLA 2008-02-18 19:36:36 EST
Ali:

This plugin org.eclipse.cosmos.example.mdr.registration, is to be packaged under which feature. 

Comment 15 Jagmit CLA 2008-02-19 09:05:03 EST
Ali:

Also like to know, the plugin "org.eclipse.cosmos.example.mdr.registration" is to be packaged under which directory of cosmos demo. 

Comment 16 amehrega CLA 2008-02-19 10:46:54 EST
> Also like to know, the plugin "org.eclipse.cosmos.example.mdr.registration" is
> to be packaged under which directory of cosmos demo. 

Package it under the same feature containing "org.eclipse.cosmos.example.mdr".
Thanks.

Comment 17 amehrega CLA 2008-02-19 10:50:44 EST
The directory structure should also be similar to example.mdr (i.e. it should be contained under cosmos-demo/webapps)
Comment 18 Jagmit CLA 2008-02-19 12:02:55 EST
Ali:

Noticed that on including the new plugin "org.eclipse.cosmos.example.mdr.registration". It is breaking the build. This plugin has the dependency on the plugin  org.eclipse.hyades.test.tools.core.  which is not there. 
Comment 19 Hubert Leung CLA 2008-02-19 12:07:51 EST
Removed dependencies on  org.junit and org.eclipse.hyades.test.tools.core. This change should fix the problem. 
Comment 20 Jagmit CLA 2008-02-20 08:55:01 EST
Ali mentioned, completion of this bug depends on the Bug 218840. 
Saurabh, please notify me, when the Bug 218840 is completed. 
Comment 21 Saurabh Dravid CLA 2008-02-20 10:40:27 EST
Bug 218840 is completed. You can go ahead with the fixing of this bug. 

Comment 22 Jagmit CLA 2008-02-21 10:29:53 EST
Ali:

This defect was fixed in the yesterday announced i9 candidate driver. Is no remaining, work is required to be done. Should I mark this defect as fixed. 
Comment 23 amehrega CLA 2008-02-21 10:48:41 EST
Jagmit,

You can close a defect whenever you think the necessary work is complete.  The reporter can re-open the defect if there is anything missing.

Go ahead and mark it as fixed.
Comment 24 Jagmit CLA 2008-02-21 12:30:21 EST
Marking this defect as fixed. 
Comment 25 amehrega CLA 2008-06-24 16:50:16 EDT
closing