Closed ochurlaud closed 5 years ago
So, basically if there is no Directory Service how do I get my ServiceProvider COM objects?
For the tests I allocate my own id and stores the ServiceProvider object in Archive. This would probably work in a real environment, as long as you let Archive allocate the id to avoid collisions.
Ok, so I can put in a comment indicating how it works when you don't have a directory service.
Would that be ok?
Yes I think so
I have stated that the MO way of doing this is to use the Directory service to create them (i.e. they are shared), but that it is not a requirement. However if you do not link them then the mechanism for creating them is implementation specific.
I think for the tests it is probably best to either require them to already exist as part of the test scenario or add operation to a test service to create them.
The use of the directory service is not explicit in the specification. There is notably no such section as sections 3.4.4 and 3.4.6 which describe the use of the services Event and Archive.
However a service provider is identified in the API as a ServiceProvider COM object, which probably makes it mandatory for the service provider to register in the Directory service in order to be managed by the Configuration service.
This conflicts with another preliminary assertion in section 2.5: