From: Chris B. <buc...@us...> - 2011-03-30 19:32:43
|
Update of /cvsroot/sblim/sfcb In directory vz-cvs-3.sog:/tmp/cvs-serv32735 Modified Files: interopProvider.c indCIMXMLHandler.c ChangeLog NEWS Log Message: [ 3038078 ] Can create indication filters and destinations w/o key props Index: NEWS =================================================================== RCS file: /cvsroot/sblim/sfcb/NEWS,v retrieving revision 1.574 retrieving revision 1.575 diff -u -d -r1.574 -r1.575 --- NEWS 9 Mar 2011 00:40:20 -0000 1.574 +++ NEWS 30 Mar 2011 19:32:41 -0000 1.575 @@ -11,6 +11,7 @@ - 3175770 execQuery returns multiple instances of same object - 3203290 Basic Auth Should Consider Expired Passwords - 3202420 CDATA value in a string property is improperly XML escaped +- 3038078 Can create indication filters and destinations w/o key props Changes in 1.3.10 ================= Index: indCIMXMLHandler.c =================================================================== RCS file: /cvsroot/sblim/sfcb/indCIMXMLHandler.c,v retrieving revision 1.33 retrieving revision 1.34 diff -u -d -r1.33 -r1.34 --- indCIMXMLHandler.c 28 Oct 2010 19:33:22 -0000 1.33 +++ indCIMXMLHandler.c 30 Mar 2011 19:32:41 -0000 1.34 @@ -238,6 +238,21 @@ CMPIObjectPath* copLocal = CMClone(cop, NULL); memLinkObjectPath(copLocal); + CMPIString *ccn = ciLocal->ft->getProperty(ciLocal, "creationclassname", + &st).value.string; + if (CMIsNullObject(ccn)) { + setStatus(&st, CMPI_RC_ERR_FAILED, + "CreationClassName property not found"); + _SFCB_RETURN(st); + } + CMPIString *sccn = ciLocal->ft->getProperty(ciLocal, "systemcreationclassname", + &st).value.string; + if (CMIsNullObject(sccn)) { + setStatus(&st, CMPI_RC_ERR_FAILED, + "SystemCreationClassName property not found"); + _SFCB_RETURN(st); + } + CMPIString *sysname=ciLocal->ft->getProperty(ciLocal,"SystemName",&st).value.string; if (sysname == NULL || sysname->hdl == NULL) { char hostName[512]; Index: interopProvider.c =================================================================== RCS file: /cvsroot/sblim/sfcb/interopProvider.c,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- interopProvider.c 28 Oct 2010 00:20:05 -0000 1.45 +++ interopProvider.c 30 Mar 2011 19:32:41 -0000 1.46 @@ -836,6 +836,22 @@ st=processSubscription(_broker,ctx,ciLocal,copLocal); } else if (isa(nss, cns, "cim_indicationfilter")) { + + CMPIString *ccn = ciLocal->ft->getProperty(ciLocal, "creationclassname", + &st).value.string; + if (CMIsNullObject(ccn)) { + setStatus(&st, CMPI_RC_ERR_FAILED, + "CreationClassName property not found"); + _SFCB_RETURN(st); + } + CMPIString *sccn = ciLocal->ft->getProperty(ciLocal, "systemcreationclassname", + &st).value.string; + if (CMIsNullObject(sccn)) { + setStatus(&st, CMPI_RC_ERR_FAILED, + "SystemCreationClassName property not found"); + _SFCB_RETURN(st); + } + QLStatement *qs=NULL; int rc,i,n,m; char *key=NULL,*ql,lng[16]; Index: ChangeLog =================================================================== RCS file: /cvsroot/sblim/sfcb/ChangeLog,v retrieving revision 1.647 retrieving revision 1.648 diff -u -d -r1.647 -r1.648 --- ChangeLog 9 Mar 2011 00:40:20 -0000 1.647 +++ ChangeLog 30 Mar 2011 19:32:41 -0000 1.648 @@ -1,3 +1,8 @@ +2011-03-30 Chris Buccella <buc...@li...> + + * interopProvider.c, indCIMXMLHandler.c: + [ 3038078 ] Can create indication filters and destinations w/o key props + 2011-03-08 Chris Buccella <buc...@li...> * cimXmlGen.c: |