"charles.crouch(a)jboss.com" wrote :
| Questions about next steps:
|
| 1) Does the additional work on the repository outlined above prevent progress on
writing tests for the use cases we're going to need wrt basic DataSource management? I
presume that the work remaining would actually prevent the tests from passing, but thats
the next step :-). I guess we could stub out aspects of the repository to get the test to
pass, but at the moment I'm more interested in the tests being written than having
them pass.
|
| 2) Should the org.jboss.deployers.spi.management.ManagementView be updated to use the
new ManagedObject api?
|
It can be. The piece that is missing is how does the profile service take a ManagedObject
populated with a set of changes, and then merge that into the base DeploymentContext
metadata attachments to create the predetermined attachments that override the raw
deployment values. The missing mapping is the attachment name, and the corresponding
metdata object property(s). In general a ManagedObject properties are going to map to
several different metadata objects/properties.
The ManagementView also needs to be updated to support applying a ManagedObject change. I
don't see that the ManagedObject returned from the ManagementView is hooked up to the
attachments it overrides, therefore, this needs to be a write step.
"charles.crouch(a)jboss.com" wrote :
| 3) The tests for the DataSource use cases should go in here?
|
http://anonsvn.jboss.org/repos/jbossas/trunk/system/src/tests/org/jboss/t...
|
| Presumably the idea is that we can create our own mock impls or use the one Adrian has
provided:
|
http://anonsvn.jboss.org/repos/jbossas/projects/microcontainer/trunk/mana...
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995110#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...