Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ ELSE (NOT HAVE_ALLOCA)
ENDIF (NOT HAVE_ALLOCA)

#
# The wsman_config file checks include file existance via "#if",
# The wsman_config file checks include file existence via "#if",
# requiring a 0/1 argument
# However CHECK_INCLUDE_FILE , returns ""/"1" resulting in
# an empty argument to "#if" in the 'false' case
Expand Down Expand Up @@ -422,7 +422,7 @@ CHECK_FUNCTION_EXISTS("getifaddrs" HAVE_GETIFADDRS)
SET( CRAY_STACKSEG_END 0 )

#
# The wsman_config file checks functions existance via "#if",
# The wsman_config file checks functions existence via "#if",
# requiring a 0/1 argument
# CHECK_FUNCTION_EXISTS however, returns ""/"1" resulting in
# an empty argument to "#if" in the 'false' case
Expand All @@ -448,7 +448,7 @@ INCLUDE(CheckTypeSize)
SET( CMAKE_REQUIRED_IUNCLUDE "/usr/include/netinet" )

#
# The wsman_config file checks type existance via "#if",
# The wsman_config file checks type existence via "#if",
# requiring a 0/1 argument
# CHECK_TYPE_SIZE however, returns ""/"1" resulting in
# an empty argument to "#if" in the 'false' case
Expand Down
4 changes: 2 additions & 2 deletions Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ PREDEFINED = "OWSMAN_BEGIN_DECLS=" \
"_OWSMAN_GNUC_PRINTF(from,to)="
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------
# Configuration::addtions related to external references
# Configuration::additions related to external references
#---------------------------------------------------------------------------
TAGFILES =
GENERATE_TAGFILE =
Expand All @@ -175,6 +175,6 @@ MAX_DOT_GRAPH_HEIGHT = 1024
GENERATE_LEGEND = YES
DOT_CLEANUP = YES
#---------------------------------------------------------------------------
# Configuration::addtions related to the search engine
# Configuration::additions related to the search engine
#---------------------------------------------------------------------------
SEARCHENGINE = NO
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ You can also specify the configuration file to be used on the command line using
Tests
-f, --from-file=<file name> Send request from file
-R, --print-request print request on stdout
-Q, --request Only output reqest. Not send it.
-Q, --request Only output request. Not send it.
-S, --step Do not perform multiple operations (do not pull data when enumerating)

CIM
Expand All @@ -152,7 +152,7 @@ You can also specify the configuration file to be used on the command line using
-G, --delivery-mode=<mode> Four delivery modes available: push/pushwithack/events/pull
-Z, --notification-uri=<uri> Where notifications are sent
-r, --subscription-expiry-time=<seconds> subscription expiry time in seconds
-H, --heartbeat=<seconds> Send hearbeat in an interval
-H, --heartbeat=<seconds> Send heartbeat in an interval
-l, --bookmark Send bookmark
-i, --subscription-identifier=<uuid:XXX> Used to specify which subscription
-L, --notify-reference-properties=<xs:anyURI> Notify Reference Properties
Expand Down
2 changes: 1 addition & 1 deletion acinclude.m4
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ AC_DEFUN([AC_PROG_SWIG],[
SWIG_VERSION_GOOD()

elif test $available_major -lt $required_major ; then
# the avialable major is less than required major -- BAD
# the available major is less than required major -- BAD
SWIG_VERSION_BAD()
else
# the available and require major are equal check the minor and patch versions.
Expand Down
2 changes: 1 addition & 1 deletion bindings/ruby/tests/win32_registry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def test_client
"sSubKeyName" => "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall"
}

# Name of method invoked on the class (resp. instrance)
# Name of method invoked on the class (resp. instance)
method = "EnumKey"
result = client.invoke( options, uri, method )
assert result
Expand Down
2 changes: 1 addition & 1 deletion bindings/wsman-client_opt.i
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ typedef struct {} client_opt_t;
* return current flags bitmask
*
* call-seq:
* optins.flags -> Integer
* options.flags -> Integer
*
*/
unsigned long get_flags() {
Expand Down
2 changes: 1 addition & 1 deletion doc/README.memory-usage
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ max_threads=1
max_connections_per_thread=8
thread_stack_size=262144

the idle memory usage was about 4MB and with 10 clients doing enumearation, it went
the idle memory usage was about 4MB and with 10 clients doing enumeration, it went
up to about 19MB.

NOTE:
Expand Down
2 changes: 1 addition & 1 deletion doc/README.serialization
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ size arrays constructed from these types.
SER_TYPEINFO_UINT32;
SER_TYPEINFO_BOOL;
SER_TYPEINFO_STR;
If you use dymanic arrays of basic types you must define the corespondent
If you use dynamic arrays of basic types you must define the correspondent
XmlSerializerInfo before defining TDO including this dynamic array. You will
refer to these TDOs in SER_DYN_ARRAY define and use the fourth argument for
these types uint8, uint16, uint32, bool and string as the last argument (see
Expand Down
2 changes: 1 addition & 1 deletion doc/event/TODO
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

1. Notificaiton Manager
1. Notification Manager
2. Event part in CIM plug-in
6 changes: 3 additions & 3 deletions doc/event/event-implementation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Event Source can also be considered to be consisted of two parts: Subscription M

2. Processing Model of WS-Eventing

In our implementation openwsman acts as Event Source, which is responsible for receiving a subscription from a subscriber and sending a notification to an event sink. As there are different events created by different applications in the real world, it is important to make this process as general as possible. The solution is to put the specific eventing production in the plug-in part and intergrate shared WS-Eventing protocol process in the framework of openwsman. That is to say, the framework and plug-in act together to accomplish a process of WS-Eventing.
In our implementation openwsman acts as Event Source, which is responsible for receiving a subscription from a subscriber and sending a notification to an event sink. As there are different events created by different applications in the real world, it is important to make this process as general as possible. The solution is to put the specific eventing production in the plug-in part and integrate shared WS-Eventing protocol process in the framework of openwsman. That is to say, the framework and plug-in act together to accomplish a process of WS-Eventing.

3. Core Data Structures
To support WS-Eventing protocol, a few new data structures are added. The following are some of the critical ones.
Expand Down Expand Up @@ -87,9 +87,9 @@ struct __Soap {
pthread_mutex_t lockSubs; //lock for Subscription Repository
list_t *subscriptionMemList; //memory Repository of Subscriptions
char *uri_subsRepository; //URI of repository
SubsRepositoryOpSetH subscriptionOpSet; //Functions talbe of Subscription Repository
SubsRepositoryOpSetH subscriptionOpSet; //Functions table of Subscription Repository
WsContextH cntx;
//TBD claen up and initilaize it;
//TBD clean up and initialize it;

unsigned long lastResponseListScanTicks;

Expand Down
6 changes: 3 additions & 3 deletions etc/openwsman.conf
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ ssl_disabled_protocols = SSLv2 SSLv3
# see 'ciphers' in the OpenSSL documentation
#ssl_cipher_list =

# set these to enable digest authentication against a local datbase
# set these to enable digest authentication against a local database
#digest_password_file = /etc/openwsman/digest_auth.passwd

# set these to enable basic authentication against a local datbase
# set these to enable basic authentication against a local database
#basic_password_file = /etc/openwsman/simple_auth.passwd

max_threads = 0
Expand Down Expand Up @@ -102,7 +102,7 @@ cim_client_frontend = XML
#cim_client_cql = DMTF:CQL

#indication_profile_implementation source namespace is used to define namespace where the
#CIMOM implemnts it's indication profile. For SFCB this is root/interop.
#CIMOM implements it's indication profile. For SFCB this is root/interop.
#indication_profile_implementation_ns = root/interop

# The following are in part fake namespaces for some publicly available CIM implementations.
Expand Down
6 changes: 3 additions & 3 deletions etc/openwsman_test.conf
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ ssl_disabled_protocols = SSLv2 SSLv3
# see 'ciphers' in the OpenSSL documentation
#ssl_cipher_list =

# set these to enable digest authentication against a local datbase
# set these to enable digest authentication against a local database
#digest_password_file = /etc/openwsman/digest_auth.passwd

# set these to enable basic authentication against a local datbase
# set these to enable basic authentication against a local database
#basic_password_file = /etc/openwsman/simple_auth.passwd

max_threads = 0
Expand Down Expand Up @@ -102,7 +102,7 @@ cim_client_frontend = XML
#cim_client_cql = DMTF:CQL

#indication_profile_implementation source namespace is used to define namespace where the
#CIMOM implemnts it's indication profile. For SFCB this is root/interop.
#CIMOM implements it's indication profile. For SFCB this is root/interop.
#indication_profile_implementation_ns = root/interop

# The following are in part fake namespaces for some publicly available CIM implementations.
Expand Down
4 changes: 2 additions & 2 deletions include/wsman-soap.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ struct __Soap {

pthread_mutex_t lockSubs; //lock for Subscription Repository
char *uri_subsRepository; //URI of repository
SubsRepositoryOpSetH subscriptionOpSet; //Function talbe of Subscription Repository
SubsRepositoryOpSetH subscriptionOpSet; //Function table of Subscription Repository
EventPoolOpSetH eventpoolOpSet; //Function table of event source
WsContextH cntx;
void *dispatcherData;
Expand Down Expand Up @@ -332,7 +332,7 @@ struct __WsSubscribeInfo {
WsmanAuth auth_data;
WsEndPointEventPoll eventpoll; // plugin related poll process
WsEndPointSubscriptionCancel cancel; //plugin related subscription cancel routine
WsXmlDocH templateDoc; //template notificaiton document
WsXmlDocH templateDoc; //template notification document
WsXmlDocH heartbeatDoc; //Fixed heartbeat document
};

Expand Down
2 changes: 1 addition & 1 deletion src/cpp/OpenWsmanClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ void OpenWsmanClient::SetClientCert(
// Set server certificate params
// params: cainfo - string naming a file holding one or more certificates to verify the peer with.
// capath - string naming a dierctory holding multiple CA certificates to verify the peer with.
// Give empty strings if you want curl to search for certificates inthe default path
// Give empty strings if you want curl to search for certificates in the default path
void OpenWsmanClient::SetServerCert(
const string &cainfo,
const string &capath)
Expand Down
2 changes: 1 addition & 1 deletion src/cpp/OpenWsmanClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ namespace WsmanClientNamespace
// Set user name
void SetUserName(const string &user_name);

// Set passsword
// Set password
void SetPassword(const string &password);

// Set encoding
Expand Down
2 changes: 1 addition & 1 deletion src/lib/u/gettimeofday.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ int gettimeofday(struct timeval *tv, struct timezone *tz)
if(tz == NULL)
return 0;

/* set the tiemzone struct */
/* set the timezone struct */
tz->tz_minuteswest = tb.timezone;
tz->tz_dsttime = tb.dstflag;

Expand Down
8 changes: 4 additions & 4 deletions src/plugins/cim/sfcc-interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ cim_verify_class_keys(CMPIConstClass * class,
statusP->fault_code = WSMAN_INVALID_SELECTORS;
statusP->fault_detail_code =
WSMAN_DETAIL_INSUFFICIENT_SELECTORS;
debug("insuffcient selectors");
debug("insufficient selectors");
goto cleanup;
} else if (ccount < hash_count(keys)) {
statusP->fault_code = WSMAN_INVALID_SELECTORS;
Expand Down Expand Up @@ -830,7 +830,7 @@ cim_verify_keys(CMPIObjectPath * objectpath, hash_t * keys,
if (opcount > count) {
statusP->fault_code = WSMAN_INVALID_SELECTORS;
statusP->fault_detail_code = WSMAN_DETAIL_INSUFFICIENT_SELECTORS;
debug("insuffcient selectors");
debug("insufficient selectors");
goto cleanup;
} else if (opcount < hash_count(keys)) {
statusP->fault_code = WSMAN_INVALID_SELECTORS;
Expand Down Expand Up @@ -2414,7 +2414,7 @@ cim_create_indication_filter(CimClientInfo *client, WsSubscribeInfo *subsInfo, W
rc.rc, (rc.msg) ? CMGetCharPtr(rc.msg) : NULL);
if (rc.rc == CMPI_RC_ERR_FAILED) {
status->fault_code = WSA_ACTION_NOT_SUPPORTED;
} else if(rc.rc != 11){ // an object already exists. We take this erros as success
} else if(rc.rc != 11){ // an object already exists. We take this errors as success
cim_to_wsman_status(rc, status);
}
if (rc.msg)
Expand Down Expand Up @@ -2479,7 +2479,7 @@ cim_create_indication_handler(CimClientInfo *client, WsSubscribeInfo *subsInfo,
rc.rc, (rc.msg) ? CMGetCharPtr(rc.msg) : NULL);
if (rc.rc == CMPI_RC_ERR_FAILED) {
status->fault_code = WSA_ACTION_NOT_SUPPORTED;
} else if(rc.rc != 11){ // an object already exists. We take this erros as success
} else if(rc.rc != 11){ // an object already exists. We take this errors as success
cim_to_wsman_status(rc, status);
}
if (rc.msg)
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/redirect/redirect-README
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ cacert='/etc/dummy.cert'
#default of 5985 is used.
port=5985

#Default vaule is 0
#Default value is 0
noverifypeer=0

#default value is 0
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/swig/src/swig-plugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ fmtstr(const char* fmt, ...)
/*
* There is one target interpreter, serving multiple plugins
* The number of plugins using the interpreter is counted in _PLUGIN_COUNT,
* when the last user goes aways, the target interpreter is unloaded.
* when the last user goes away, the target interpreter is unloaded.
*
* _PLUGIN_INIT_MUTEX protects this references counter from concurrent access.
*
Expand Down
2 changes: 1 addition & 1 deletion src/server/shttpd/io_ssi.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ struct ssi_func {
struct ssi_inc {
int state; /* Buffering state */
int cond; /* Conditional state */
FILE *fp; /* Icluded file stream */
FILE *fp; /* Included file stream */
char buf[CMDBUFSIZ]; /* SSI command buffer */
size_t nbuf; /* Bytes in a command buffer */
FILE *pipe; /* #exec stream */
Expand Down
6 changes: 3 additions & 3 deletions tests/client/test_enumeration.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ TestData tests[] = {
0
},
{
"Enumeration with Count Estimation/Optimzation and get all elements.",
"Enumeration with Count Estimation/Optimization and get all elements.",
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem",
NULL,
200,
Expand All @@ -167,7 +167,7 @@ TestData tests[] = {

},
{
"Enumeration with Count Estimation/Optimzation/Epr and get all elements.",
"Enumeration with Count Estimation/Optimization/Epr and get all elements.",
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem",
NULL,
200,
Expand All @@ -176,7 +176,7 @@ TestData tests[] = {

},
{
"Enumeration with Count Estimation/Optimzation/ObjAndEpr and get all elements.",
"Enumeration with Count Estimation/Optimization/ObjAndEpr and get all elements.",
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem",
NULL,
200,
Expand Down
6 changes: 3 additions & 3 deletions tests/client/test_pull.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ TestData tests[] = {
0
},
{
"Enumeration with Count Estimation/Optimzation and get all elements.",
"Enumeration with Count Estimation/Optimization and get all elements.",
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem",
NULL,
NULL,
Expand All @@ -152,7 +152,7 @@ TestData tests[] = {

},
{
"Enumeration with Count Estimation/Optimzation/Epr and get all elements.",
"Enumeration with Count Estimation/Optimization/Epr and get all elements.",
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem",
NULL,
NULL,
Expand All @@ -163,7 +163,7 @@ TestData tests[] = {

},
{
"Enumeration with Count Estimation/Optimzation/ObjAndEpr and get all elements.",
"Enumeration with Count Estimation/Optimization/ObjAndEpr and get all elements.",
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem",
NULL,
NULL,
Expand Down