-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Strip lead/trailing slashes from namespace; Fix namespace in OpenQuer…
…yInstances Details: - Leading and trailing slash characters in namespaces are now stripped before the namespace is stored as an attribute or used. This was done in the following places: - In `CIMClassName` for the `namespace` attribute, when initializing an object or when setting the attribute. - In `CIMInstanceName` for the `namespace` attribute, when initializing an object or when setting the attribute. - In `WBEMConnection` for the `default_namespace` attribute, when initializing an object or when setting the attribute. As part of this, changed the public attribute to become a property with getter/setter. - In all operations of `WBEMConnection` for the namespace that is specified as an argument to the operation method. - Added according unit testcases for `CIMClassName`, `CIMInstanceName`, and `WBEMConnection`. - Extended the testclient yaml testcases so that each operation is called with leading and trailing slashes in namespace for all possibilities how the namespace can be passed. - Fixed an error in OpenQueryInstances where the specified namespace had been ignored. Signed-off-by: Andreas Maier <maiera@de.ibm.com>
- Loading branch information
1 parent
32dd5d6
commit c760648
Showing
38 changed files
with
5,587 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.