-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define a container functionality to organize information to define a mock server. #674
Comments
We did this for the test environment using a dictionary. the form of that dictionary is as follows:
|
|
We agreed that yaml is a logical format, it should have essentially the same characteristics as a python dictionary so that just about everything we could do with a python dictionary as the controlling structure we could do with yaml. The goal: To package the requirements for installation of a defined profile as a single file so that it could be installed by a package like pywbemcli. NOTE: It is not clear that this is just a pywbemcli requirement but it is a good place to start. Packaging a profile requirements:
Actions required of the install process:
TODO: Expand this for component profiles. |
Definition of the mock-server
RESULT: Conn created, interop namespace created, other namespaces created. installs any names user providers. |
|
Move to 0.9.0. Give ourselves time to consider based on work with caching. |
DISCUSSION: Do we still need this given that we have mock scripts? |
We decided to keep this one open and karl wants to come up with a more concrete proposal. |
We agreed to explore those things that are difficult to do in the current scripts and see what can be simplified with new or modified function definitions. |
The mock server definition is becomming more and more complex. We need to define a container so that the various components of a mock server can be contained in a single file. This would include data like:
The mof files that make up the mock and any install pywbem files required to build the repository.
The schema used if one is required. This would include the schema source, version, and the leaf classes required.
The namespaces required
Basic serve information like server name, objectmanager name, etc.
The user-defined providers required.
Registered Profiles required
Packaged profile definitions to install. This may be part of 2 above also, at least to install the classes.
Pywbemcli would analyze this file on startup and create the repository.
The text was updated successfully, but these errors were encountered: