]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Update of the common-agent (CAF) service source from the development team.
authorOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:22:40 +0000 (11:22 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:22:40 +0000 (11:22 -0700)
246 files changed:
open-vm-tools/common-agent/Cpp/Communication/Subsystems/amqpIntegration/src/CachingConnectionFactoryObj.cpp
open-vm-tools/common-agent/Cpp/Communication/Subsystems/amqpIntegration/src/SecureCachingConnectionFactoryObj.cpp
open-vm-tools/common-agent/Cpp/Communication/Subsystems/commIntegration/src/stdafx.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/CafCppUnitSupport.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/CafContracts.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CAddInCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CAddInsDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CAttachmentCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CAttachmentDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CAttachmentNameCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CAuthnAuthzCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CAuthnAuthzDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CClassFiltersDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CClassSpecifierDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CFullyQualifiedClassGroupDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CInlineAttachmentCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CInlineAttachmentDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CLoggingLevelCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CLoggingLevelElemDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/COperationDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CParameterCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CPropertyCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CPropertyDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CProtocolCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CProtocolDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CRequestConfigDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CRequestHeaderDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CRequestInstanceParameterDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CRequestParameterDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CStatisticsDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafCoreTypesDoc/CafCoreTypesDocInc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafInstallRequestDoc/CFullPackageElemDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafInstallRequestDoc/CGetInventoryJobDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafInstallRequestDoc/CInstallBatchDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafInstallRequestDoc/CInstallPackageSpecDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafInstallRequestDoc/CInstallProviderJobDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafInstallRequestDoc/CInstallProviderSpecDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafInstallRequestDoc/CInstallRequestDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafInstallRequestDoc/CMinPackageElemDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafInstallRequestDoc/CPackageDefnDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafInstallRequestDoc/CUninstallProviderJobDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/CafInstallRequestDoc/CafInstallRequestDocInc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/DiagRequestDoc/CDiagRequestDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/DiagRequestDoc/DiagRequestDocInc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/DiagTypesDoc/CDiagBatchDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/DiagTypesDoc/CDiagCollectInstancesDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/DiagTypesDoc/CDiagDeleteValueCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/DiagTypesDoc/CDiagDeleteValueDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/DiagTypesDoc/CDiagSetValueCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/DiagTypesDoc/CDiagSetValueDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/DiagTypesDoc/DiagTypesDocInc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/MgmtRequestDoc/CMgmtRequestDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/MgmtRequestDoc/MgmtRequestDocInc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/MgmtTypesDoc/CMgmtBatchDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/MgmtTypesDoc/CMgmtCollectInstancesCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/MgmtTypesDoc/CMgmtCollectInstancesDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/MgmtTypesDoc/CMgmtCollectSchemaDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/MgmtTypesDoc/CMgmtInvokeOperationCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/MgmtTypesDoc/CMgmtInvokeOperationDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/MgmtTypesDoc/MgmtTypesDocInc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/MultiPmeMgmtRequestDoc/CMultiPmeMgmtBatchCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/MultiPmeMgmtRequestDoc/CMultiPmeMgmtBatchDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/MultiPmeMgmtRequestDoc/CMultiPmeMgmtRequestDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/MultiPmeMgmtRequestDoc/CPmeIdCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/MultiPmeMgmtRequestDoc/MultiPmeMgmtRequestDocInc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/PayloadEnvelopeDoc/CPayloadEnvelopeDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/PayloadEnvelopeDoc/PayloadEnvelopeDocInc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/PersistenceDoc/CAmqpBrokerCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/PersistenceDoc/CAmqpBrokerDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/PersistenceDoc/CCertCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/PersistenceDoc/CCertPathCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/PersistenceDoc/CLocalSecurityDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/PersistenceDoc/CPersistenceDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/PersistenceDoc/CPersistenceProtocolDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/PersistenceDoc/CRemoteSecurityCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/PersistenceDoc/CRemoteSecurityDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/PersistenceDoc/PersistenceDocInc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ProviderInfraDoc/CClassCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ProviderInfraDoc/CProviderRegDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ProviderInfraDoc/CSchemaSummaryDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ProviderInfraDoc/ProviderInfraDocInc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ProviderRequestDoc/CProviderBatchDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ProviderRequestDoc/CProviderCollectInstancesCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ProviderRequestDoc/CProviderCollectInstancesDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ProviderRequestDoc/CProviderCollectSchemaRequestDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ProviderRequestDoc/CProviderInvokeOperationCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ProviderRequestDoc/CProviderInvokeOperationDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ProviderRequestDoc/CProviderRequestConfigDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ProviderRequestDoc/CProviderRequestDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ProviderRequestDoc/CProviderRequestHeaderDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ProviderRequestDoc/ProviderRequestDocInc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ProviderResultsDoc/CCdifDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ProviderResultsDoc/CDefinitionObjectCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ProviderResultsDoc/CRequestIdentifierDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ProviderResultsDoc/CSchemaDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ProviderResultsDoc/ProviderResultsDocInc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ResponseDoc/CErrorResponseDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ResponseDoc/CEventKeyCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ResponseDoc/CEventKeyDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ResponseDoc/CEventManifestDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ResponseDoc/CManifestCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ResponseDoc/CManifestDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ResponseDoc/CProviderEventResponseDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ResponseDoc/CProviderResponseDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ResponseDoc/CResponseDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ResponseDoc/CResponseHeaderDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/ResponseDoc/ResponseDocInc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CActionClassDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CActionClassInstanceCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CActionClassInstanceDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CClassCardinalityDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CClassFieldDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CClassIdentifierDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CClassInstancePropertyDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CClassPropertyDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CCmdlMetadataDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CCmdlUnionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CCollectMethodDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CDataClassDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CDataClassInstanceCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CDataClassInstanceDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CDataClassPropertyDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CDataClassSubInstanceDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CInstanceOperationCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CInstanceOperationDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CInstanceParameterDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CJoinTypeDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CLogicalRelationshipDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CMethodDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CMethodParameterDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CPhysicalRelationshipDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/CRelationshipDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Doc/SchemaTypesDoc/SchemaTypesDocInc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/DocContracts.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Fx/IBean.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Fx/IVariant.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/FxContracts.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/Dependencies/CPollerMetadata.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IChannelInterceptor.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IChannelInterceptorInstance.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IChannelInterceptorSupport.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IChannelResolver.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IDocument.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IErrorHandler.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IErrorProcessor.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IExpressionInvoker.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IIntMessage.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IIntegrationAppContext.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IIntegrationAppContextAware.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IIntegrationComponent.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IIntegrationComponentInstance.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IIntegrationObject.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/ILifecycle.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IMessageChannel.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IMessageDispatcher.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IMessageHandler.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IMessageProcessor.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IMessageProducer.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IMessageRouter.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IMessageSplitter.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IPhased.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IPollableChannel.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IRunnable.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/ISmartLifecycle.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/ISubscribableChannel.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/ITaskExecutor.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/IThrowable.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Integration/ITransformer.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/IntegrationContracts.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/IntegrationContractsDefines.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Ma/IConfigEnv.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/Ma/IPersistence.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Contracts/MaContracts.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Integration.h
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Common/CFileSystemUtils.cpp
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Common/CPersistenceUtils.cpp
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Common/CPersistenceUtils.h
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Common/CProcessUtils.cpp
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Common/CommonAggregatorLink.h
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Common/UriUtils.cpp
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Common/UriUtils.h
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Common/stdafx.h
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocXml/PersistenceXml/AmqpBrokerCollectionXml.cpp
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocXml/PersistenceXml/AmqpBrokerCollectionXml.h
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocXml/PersistenceXml/AmqpBrokerXml.cpp
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocXml/PersistenceXml/AmqpBrokerXml.h
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocXml/PersistenceXml/PersistenceProtocolXml.cpp
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocXml/PersistenceXml/PersistenceXml.cpp
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocXml/PersistenceXml/PersistenceXmlInc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Exception/CValidate.cpp
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Exception/ValidationMacros.h
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Exception/stdafx.h
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Globals/CafContracts.cpp
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Globals/ClassMacroStrings.cpp
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Globals/ClassMacroStrings.h
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Globals/CommonDefines.cpp
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Globals/CommonDefines.h
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Globals/CommonGlobalsLink.h
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Globals/Integration.cpp
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Globals/stdafx.h
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Integration/Caf/CCafMessageCreator.cpp
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Integration/Caf/stdafx.h
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Integration/Core/stdafx.h
open-vm-tools/common-agent/Cpp/Framework/Framework/src/SubSystemBase/CAutoMutexLockUnlockRaw.cpp
open-vm-tools/common-agent/Cpp/Framework/Framework/src/SubSystemBase/CAutoMutexLockUnlockRaw.h
open-vm-tools/common-agent/Cpp/Framework/Framework/src/SubSystemBase/SubSystemBaseLink.h
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Xml/MarkupParser/stdafx.h
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Xml/XmlUtils/stdafx.h
open-vm-tools/common-agent/Cpp/Framework/Framework/src/stdafx.h
open-vm-tools/common-agent/Cpp/Framework/Subsystems/CafIntegration/src/CafIntegration.cpp
open-vm-tools/common-agent/Cpp/Framework/Subsystems/CafIntegration/src/stdafx.h
open-vm-tools/common-agent/Cpp/Framework/Subsystems/Integration/src/Integration.cpp
open-vm-tools/common-agent/Cpp/Framework/Subsystems/Integration/src/stdafx.h
open-vm-tools/common-agent/Cpp/InternalProviders/Install_Provider/src/stdafx.h
open-vm-tools/common-agent/Cpp/InternalProviders/RemoteCommand_Provider/src/stdafx.h
open-vm-tools/common-agent/Cpp/ManagementAgent/ManagementAgent/src/stdafx.h
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/CConfigEnv.cpp
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/CConfigEnv.h
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/CConfigEnvInboundChannelAdapterInstance.cpp
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/CConfigEnvInboundChannelAdapterInstance.h
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/CConfigEnvMessageHandler.cpp
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/CConfigEnvMessageHandler.h
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/CConfigEnvOutboundChannelAdapterInstance.cpp
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/CConfigEnvOutboundChannelAdapterInstance.h
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/CConfigEnvReadingMessageSource.cpp
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/CConfigEnvReadingMessageSource.h
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/CPersistenceInboundChannelAdapterInstance.cpp
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/CPersistenceInboundChannelAdapterInstance.h
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/CPersistenceMessageHandler.cpp
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/CPersistenceMessageHandler.h
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/CPersistenceNamespaceDb.cpp
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/CPersistenceNamespaceDb.h
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/CPersistenceOutboundChannelAdapterInstance.cpp
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/CPersistenceOutboundChannelAdapterInstance.h
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/CPersistenceReadingMessageSource.cpp
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/CPersistenceReadingMessageSource.h
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/MaIntegration.cpp
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/MaIntegration.h
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/stdafx.h
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/VgAuth/src/stdafx.h
open-vm-tools/common-agent/Cpp/ProviderFx/ProviderFx/src/CProviderCdifFormatter.cpp
open-vm-tools/common-agent/Cpp/ProviderFx/ProviderFx/src/stdafx.h
open-vm-tools/common-agent/etc/config/CommAmqpListener-context-amqp.xml
open-vm-tools/common-agent/etc/config/ma-context.xml
open-vm-tools/common-agent/etc/install/caf-dbg.sh
open-vm-tools/common-agent/etc/install/install.sh

index a58ca573465084dc86d1c256eea3c9f84602936e..75ad2d7b9e96a8dbf83cb1d504d8ed0383b13fe7 100644 (file)
@@ -27,23 +27,26 @@ void CachingConnectionFactoryObj::initializeBean(
 
        const std::string persistenceDir = AppConfigUtils::getRequiredString(
                        "persistence_dir");
-       const SmartPtrCAmqpBrokerDoc amqpBroker = CPersistenceUtils::loadAmqpBroker(
+       const SmartPtrCPersistenceProtocolDoc persistenceProtocol = CPersistenceUtils::loadPersistenceProtocol(
                        persistenceDir);
 
        UriUtils::SUriRecord uri;
-       UriUtils::parseUriString(amqpBroker->getUri(), uri);
+       UriUtils::parseUriString(persistenceProtocol->getUri(), uri);
 
        const std::string vhost = UriUtils::findOptParameter(uri, "vhost",
-                       AppConfigUtils::getOptionalString("vhost"));
-       const std::string connectionTimeout = UriUtils::findOptParameter(uri,
-                       "connection_timeout", AppConfigUtils::getOptionalString("connection_timeout"));
-       const std::string connectionRetries = UriUtils::findOptParameter(uri,
-                       "connection_retries", AppConfigUtils::getOptionalString("connection_retries"));
-       const std::string connectionSecondsToWait = UriUtils::findOptParameter(uri,
-                       "connection_seconds_to_wait",
-                       AppConfigUtils::getOptionalString("connection_seconds_to_wait"));
-       const std::string channelCacheSize = UriUtils::findOptParameter(uri,
-                       "channel_cache_size", AppConfigUtils::getOptionalString("channel_cache_size"));
+                       AppConfigUtils::getRequiredString("communication_amqp", "vhost"));
+       const std::string connectionTimeout = UriUtils::findOptParameter(uri, "connection_timeout",
+                       CStringConv::toString<uint32>(
+                                       AppConfigUtils::getRequiredUint32("communication_amqp", "connection_timeout")));
+       const std::string connectionRetries = UriUtils::findOptParameter(uri, "connection_retries",
+                       CStringConv::toString<uint32>(
+                                       AppConfigUtils::getRequiredUint32("communication_amqp", "connection_retries")));
+       const std::string connectionSecondsToWait = UriUtils::findOptParameter(uri, "connection_seconds_to_wait",
+                       CStringConv::toString<uint32>(
+                                       AppConfigUtils::getRequiredUint32("communication_amqp", "connection_seconds_to_wait")));
+       const std::string channelCacheSize = UriUtils::findOptParameter(uri, "channel_cache_size",
+                       CStringConv::toString<uint32>(
+                                       AppConfigUtils::getRequiredUint32("communication_amqp", "channel_cache_size")));
 
        CAF_CM_VALIDATE_STRING(uri.protocol);
        CAF_CM_VALIDATE_STRING(uri.host);
index 3ab94a0a1541098ad870d9ff62235b19790474d9..c9128d51959deb24399f5d22aa9b3d951f0d9417 100644 (file)
@@ -32,8 +32,8 @@ void SecureCachingConnectionFactoryObj::initializeBean(
                        CPersistenceUtils::loadPersistence(persistenceDir);
        CAF_CM_VALIDATE_SMARTPTR(persistence);
 
-       const SmartPtrCAmqpBrokerDoc amqpBroker =
-                       CPersistenceUtils::loadAmqpBroker(persistence->getPersistenceProtocol());
+       const SmartPtrCPersistenceProtocolDoc amqpBroker =
+                       CPersistenceUtils::loadPersistenceProtocol(persistence->getPersistenceProtocolCollection());
        CAF_CM_VALIDATE_SMARTPTR(amqpBroker);
 
        const SmartPtrCCertPathCollectionDoc tlsCertPathCollection = amqpBroker->getTlsCertPathCollection();
@@ -45,16 +45,20 @@ void SecureCachingConnectionFactoryObj::initializeBean(
        UriUtils::SUriRecord uri;
        UriUtils::parseUriString(amqpBroker->getUri(), uri);
 
-       const std::string vhost = UriUtils::findOptParameter(
-                       uri, "vhost", AppConfigUtils::getOptionalString("vhost"));
-       const std::string connectionTimeout = UriUtils::findOptParameter(
-                       uri, "connection_timeout", AppConfigUtils::getOptionalString("connection_timeout"));
-       const std::string connectionRetries = UriUtils::findOptParameter(
-                       uri, "connection_retries", AppConfigUtils::getOptionalString("connection_retries"));
-       const std::string connectionSecondsToWait = UriUtils::findOptParameter(
-                       uri, "connection_seconds_to_wait", AppConfigUtils::getOptionalString("connection_seconds_to_wait"));
-       const std::string channelCacheSize = UriUtils::findOptParameter(
-                       uri, "channel_cache_size", AppConfigUtils::getOptionalString("channel_cache_size"));
+       const std::string vhost = UriUtils::findOptParameter(uri, "vhost",
+                       AppConfigUtils::getRequiredString("communication_amqp", "vhost"));
+       const std::string connectionTimeout = UriUtils::findOptParameter(uri, "connection_timeout",
+                       CStringConv::toString<uint32>(
+                                       AppConfigUtils::getRequiredUint32("communication_amqp", "connection_timeout")));
+       const std::string connectionRetries = UriUtils::findOptParameter(uri, "connection_retries",
+                       CStringConv::toString<uint32>(
+                                       AppConfigUtils::getRequiredUint32("communication_amqp", "connection_retries")));
+       const std::string connectionSecondsToWait = UriUtils::findOptParameter(uri, "connection_seconds_to_wait",
+                       CStringConv::toString<uint32>(
+                                       AppConfigUtils::getRequiredUint32("communication_amqp", "connection_seconds_to_wait")));
+       const std::string channelCacheSize = UriUtils::findOptParameter(uri, "channel_cache_size",
+                       CStringConv::toString<uint32>(
+                                       AppConfigUtils::getRequiredUint32("communication_amqp", "channel_cache_size")));
 
        const std::deque<std::string> tlsCertPathCollectionInner = tlsCertPathCollection->getCertPath();
        CAF_CM_VALIDATE_STL(tlsCertPathCollectionInner);
index 04748ecb400464b17de1f15fc902747d13893daf..ffc3d286319d5ba2fe192eec09717090ea550306 100644 (file)
@@ -14,7 +14,6 @@
 #include "../../../amqpCore/src/amqpCore/amqpIntegrationCoreLink.h"
 #include "commIntegrationDefines.h"
 
-#include <CafContracts.h>
 #include <DocXml.h>
 #include <DocUtils.h>
 #include "CMessagePartRecord.h"
index 37f073bafb00a379528410be9fdbec1b59227233..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,17 +0,0 @@
-///////////////////////////////////////////////////////////////////////////////////////////
-//
-//  Author:     michael.donahue
-//
-//  Created:    6/25/2008
-//
-//     Copyright (c) 2011 Vmware, Inc.  All rights reserved.
-//     -- VMware Confidential
-//
-///////////////////////////////////////////////////////////////////////////////////////////
-
-#ifndef CafCppUnitSupport_h_
-#define CafCppUnitSupport_h_
-
-#include "../test/CafCppUnitSupport/CafCppUnitSupportLink.h"
-
-#endif // #ifndef CafCppUnitSupport_h_
index 143468dcc7076bc34ad288328bcefc54ecbf3e65..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,74 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: April 6, 2012
- *
- *     Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef Proxy_CafContracts_h_
-#define Proxy_CafContracts_h_
-
-#include "../../src/Globals/CommonGlobalsLink.h"
-
-namespace Caf {
-       extern COMMONGLOBALS_LINKAGE const char* _sConfigTmpDir;
-       extern COMMONGLOBALS_LINKAGE const char* _sConfigInputDir;
-       extern COMMONGLOBALS_LINKAGE const char* _sConfigOutputDir;
-       extern COMMONGLOBALS_LINKAGE const char* _sConfigSchemaCacheDir;
-       extern COMMONGLOBALS_LINKAGE const char* _sConfigProviderRegDir;
-       extern COMMONGLOBALS_LINKAGE const char* _sConfigInstallDir;
-       extern COMMONGLOBALS_LINKAGE const char* _sConfigInvokersDir;
-       extern COMMONGLOBALS_LINKAGE const char* _sConfigProvidersDir;
-       extern COMMONGLOBALS_LINKAGE const char* _sConfigCommonPackagesDir;
-       extern COMMONGLOBALS_LINKAGE const char* _sConfigWorkingDir;
-       extern COMMONGLOBALS_LINKAGE const char* _sConfigPrivateKeyFile;
-       extern COMMONGLOBALS_LINKAGE const char* _sConfigCertFile;
-
-       extern COMMONGLOBALS_LINKAGE const char* _sProviderHostArea;
-       extern COMMONGLOBALS_LINKAGE const char* _sManagementAgentArea;
-
-       extern COMMONGLOBALS_LINKAGE const char* _sSchemaSummaryFilename;
-       extern COMMONGLOBALS_LINKAGE const char* _sProviderResponseFilename;
-       extern COMMONGLOBALS_LINKAGE const char* _sStdoutFilename;
-       extern COMMONGLOBALS_LINKAGE const char* _sStderrFilename;
-
-       extern COMMONGLOBALS_LINKAGE const char* _sPayloadRequestFilename;
-       extern COMMONGLOBALS_LINKAGE const char* _sResponseFilename;
-       extern COMMONGLOBALS_LINKAGE const char* _sErrorResponseFilename;
-       extern COMMONGLOBALS_LINKAGE const char* _sProviderRequestFilename;
-       extern COMMONGLOBALS_LINKAGE const char* _sInfraErrFilename;
-
-       // FxProviderFx related string constants
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdProviderDriver;
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdProviderCdifFormatter;
-
-       // MA related string constants
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdCollectSchemaExecutor;
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdProviderCollectSchemaExecutor;
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdProviderExecutor;
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdSinglePmeRequestSplitterInstance;
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdSinglePmeRequestSplitter;
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdDiagToMgmtRequestTransformerInstance;
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdDiagToMgmtRequestTransformer;
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdInstallToMgmtRequestTransformerInstance;
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdInstallToMgmtRequestTransformer;
-
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdAttachmentRequestTransformerInstance;
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdAttachmentRequestTransformer;
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdVersionTransformerInstance;
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdVersionTransformer;
-
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdPersistenceNamespaceDb;
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdConfigEnv;
-
-       // Framework related string constants
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdErrorToResponseTransformerInstance;
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdErrorToResponseTransformer;
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdPayloadHeaderEnricherInstance;
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdPayloadHeaderEnricher;
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdEnvelopeToPayloadTransformerInstance;
-       extern COMMONGLOBALS_LINKAGE const char* _sObjIdEnvelopeToPayloadTransformer;
-}
-
-#endif
index 2c1b3875a886c14ae376de6e43b57905b2d4ad13..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CAddInCollectionDoc_h_
-#define CAddInCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type AddInCollection
-class CAddInCollectionDoc {
-public:
-       CAddInCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CAddInCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<std::string> addInCollection = std::deque<std::string>()) {
-               if (! _isInitialized) {
-                       _addInCollection = addInCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the AddIn
-       std::deque<std::string> getAddInCollection() const {
-               return _addInCollection;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<std::string> _addInCollection;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CAddInCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CAddInCollectionDoc);
-
-}
-
-#endif
index bb03f6c46b623a3050c811165d83d6c3b6194ff7..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CAddInsDoc_h_
-#define CAddInsDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type AddIns
-class CAddInsDoc {
-public:
-       CAddInsDoc() :
-               _isInitialized(false) {}
-       virtual ~CAddInsDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCAddInCollectionDoc> addInCollection = std::deque<SmartPtrCAddInCollectionDoc>()) {
-               if (! _isInitialized) {
-                       _addInCollection = addInCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the AddInCollection
-       std::deque<SmartPtrCAddInCollectionDoc> getAddInCollection() const {
-               return _addInCollection;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCAddInCollectionDoc> _addInCollection;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CAddInsDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CAddInsDoc);
-
-}
-
-#endif
index d12a71583868c7ba8d9dda370e0d091f90026145..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,65 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CAttachmentCollectionDoc_h_
-#define CAttachmentCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type AttachmentCollection
-class CAttachmentCollectionDoc {
-public:
-       CAttachmentCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CAttachmentCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCAttachmentDoc> attachment = std::deque<SmartPtrCAttachmentDoc>(),
-               const std::deque<SmartPtrCInlineAttachmentDoc> inlineAttachment = std::deque<SmartPtrCInlineAttachmentDoc>()) {
-               if (! _isInitialized) {
-                       _attachment = attachment;
-                       _inlineAttachment = inlineAttachment;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Attachment
-       std::deque<SmartPtrCAttachmentDoc> getAttachment() const {
-               return _attachment;
-       }
-
-       /// Accessor for the InlineAttachment
-       std::deque<SmartPtrCInlineAttachmentDoc> getInlineAttachment() const {
-               return _inlineAttachment;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCAttachmentDoc> _attachment;
-       std::deque<SmartPtrCInlineAttachmentDoc> _inlineAttachment;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CAttachmentCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CAttachmentCollectionDoc);
-
-}
-
-#endif
index ddcf46ce24a9322563b6a0e2d8dc07dde939da9e..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,88 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- */
-
-#ifndef CAttachmentDoc_h_
-#define CAttachmentDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type Attachment
-class CAttachmentDoc {
-public:
-       CAttachmentDoc() :
-               _isInitialized(false),
-               _isReference(false),
-               _cmsPolicy(CMS_POLICY_CAF_ENCRYPTED_AND_SIGNED) {}
-       virtual ~CAttachmentDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string name,
-               const std::string type,
-               const std::string uri,
-               const bool isReference,
-               const CMS_POLICY cmsPolicy = CMS_POLICY_CAF_ENCRYPTED_AND_SIGNED) {
-               if (! _isInitialized) {
-                       _name = name;
-                       _type = type;
-                       _uri = uri;
-                       _isReference = isReference;
-                       _cmsPolicy = cmsPolicy;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the Type
-       std::string getType() const {
-               return _type;
-       }
-
-       /// Accessor for the Uri
-       std::string getUri() const {
-               return _uri;
-       }
-
-       /// Accessor for the IsReference
-       bool getIsReference() const {
-               return _isReference;
-       }
-
-       /// Accessor for the CMS Policy
-       CMS_POLICY getCmsPolicy() const {
-               return _cmsPolicy;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _name;
-       std::string _type;
-       std::string _uri;
-       bool _isReference;
-       CMS_POLICY _cmsPolicy;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CAttachmentDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CAttachmentDoc);
-
-}
-
-#endif
index 341696649d757594f8c34c17d360d728152d55fc..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CAttachmentNameCollectionDoc_h_
-#define CAttachmentNameCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type AttachmentNameCollection
-class CAttachmentNameCollectionDoc {
-public:
-       CAttachmentNameCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CAttachmentNameCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<std::string> name = std::deque<std::string>()) {
-               if (! _isInitialized) {
-                       _name = name;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Name
-       std::deque<std::string> getName() const {
-               return _name;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<std::string> _name;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CAttachmentNameCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CAttachmentNameCollectionDoc);
-
-}
-
-#endif
index 4bd79143457576d58c12ae54c7fc766eeb65ef3f..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CAuthnAuthzCollectionDoc_h_
-#define CAuthnAuthzCollectionDoc_h_
-
-namespace Caf {
-
-/// Set of logging levels for different components
-class CAuthnAuthzCollectionDoc {
-public:
-       CAuthnAuthzCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CAuthnAuthzCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCAuthnAuthzDoc> authnAuthz = std::deque<SmartPtrCAuthnAuthzDoc>()) {
-               if (! _isInitialized) {
-                       _authnAuthz = authnAuthz;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Used to change the logging level for a specific component
-       std::deque<SmartPtrCAuthnAuthzDoc> getAuthnAuthz() const {
-               return _authnAuthz;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCAuthnAuthzDoc> _authnAuthz;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CAuthnAuthzCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CAuthnAuthzCollectionDoc);
-
-}
-
-#endif
index 39afc7e2712f2bb21a4c46a844c4e962465641e7..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,79 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: May 24, 2015
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- */
-
-#ifndef CAuthnAuthzDoc_h_
-#define CAuthnAuthzDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type AuthnAuthz
-class CAuthnAuthzDoc {
-public:
-       CAuthnAuthzDoc() :
-               _isInitialized(false),
-               _sequenceNumber(0) {}
-       virtual ~CAuthnAuthzDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string type,
-               const std::string value,
-               const std::string name = std::string(),
-               const int32 sequenceNumber = 0) {
-               if (! _isInitialized) {
-                       _type = type;
-                       _value = value;
-                       _name = name;
-                       _sequenceNumber = sequenceNumber;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Type
-       std::string getType() const {
-               return _type;
-       }
-
-       /// Accessor for the Value
-       std::string getValue() const {
-               return _value;
-       }
-
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the SequenceNumber
-       int32 getSequenceNumber() const {
-               return _sequenceNumber;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _type;
-       std::string _value;
-       std::string _name;
-       int32 _sequenceNumber;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CAuthnAuthzDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CAuthnAuthzDoc);
-
-}
-
-#endif
index 6599701fbdaaa0847d7c8e9fc72179603498a7dd..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,65 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CClassFiltersDoc_h_
-#define CClassFiltersDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type ClassFilters
-class CClassFiltersDoc {
-public:
-       CClassFiltersDoc() :
-               _isInitialized(false) {}
-       virtual ~CClassFiltersDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string dialect = std::string(),
-               const std::deque<std::string> classFilter = std::deque<std::string>()) {
-               if (! _isInitialized) {
-                       _dialect = dialect;
-                       _classFilter = classFilter;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Dialect
-       std::string getDialect() const {
-               return _dialect;
-       }
-
-       /// Accessor for the ClassFilter
-       std::deque<std::string> getClassFilter() const {
-               return _classFilter;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _dialect;
-       std::deque<std::string> _classFilter;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CClassFiltersDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CClassFiltersDoc);
-
-}
-
-#endif
index 6672a92762a6fc2468b4e33897f27a9fc3a11765..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,65 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CClassSpecifierDoc_h_
-#define CClassSpecifierDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type ClassSpecifier
-class CClassSpecifierDoc {
-public:
-       CClassSpecifierDoc() :
-               _isInitialized(false) {}
-       virtual ~CClassSpecifierDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const SmartPtrCFullyQualifiedClassGroupDoc fullyQualifiedClass = SmartPtrCFullyQualifiedClassGroupDoc(),
-               const SmartPtrCClassFiltersDoc classFilters = SmartPtrCClassFiltersDoc()) {
-               if (! _isInitialized) {
-                       _fullyQualifiedClass = fullyQualifiedClass;
-                       _classFilters = classFilters;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the FullyQualifiedClass
-       SmartPtrCFullyQualifiedClassGroupDoc getFullyQualifiedClass() const {
-               return _fullyQualifiedClass;
-       }
-
-       /// Accessor for the ClassFilters
-       SmartPtrCClassFiltersDoc getClassFilters() const {
-               return _classFilters;
-       }
-
-private:
-       bool _isInitialized;
-
-       SmartPtrCFullyQualifiedClassGroupDoc _fullyQualifiedClass;
-       SmartPtrCClassFiltersDoc _classFilters;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CClassSpecifierDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CClassSpecifierDoc);
-
-}
-
-#endif
index cd2d04db7d36158e762a0f08ab47219367ff0edf..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,73 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CFullyQualifiedClassGroupDoc_h_
-#define CFullyQualifiedClassGroupDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type FullyQualifiedClassGroup
-class CFullyQualifiedClassGroupDoc {
-public:
-       CFullyQualifiedClassGroupDoc() :
-               _isInitialized(false) {}
-       virtual ~CFullyQualifiedClassGroupDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string classNamespace,
-               const std::string className,
-               const std::string classVersion) {
-               if (! _isInitialized) {
-                       _classNamespace = classNamespace;
-                       _className = className;
-                       _classVersion = classVersion;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ClassNamespace
-       std::string getClassNamespace() const {
-               return _classNamespace;
-       }
-
-       /// Accessor for the ClassName
-       std::string getClassName() const {
-               return _className;
-       }
-
-       /// Accessor for the ClassVersion
-       std::string getClassVersion() const {
-               return _classVersion;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _classNamespace;
-       std::string _className;
-       std::string _classVersion;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CFullyQualifiedClassGroupDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CFullyQualifiedClassGroupDoc);
-
-}
-
-#endif
index 7c33ab0464817620fb2b0b78838439e7c8567916..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CInlineAttachmentCollectionDoc_h_
-#define CInlineAttachmentCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type InlineAttachmentCollection
-class CInlineAttachmentCollectionDoc {
-public:
-       CInlineAttachmentCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CInlineAttachmentCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCInlineAttachmentDoc> attachment = std::deque<SmartPtrCInlineAttachmentDoc>()) {
-               if (! _isInitialized) {
-                       _attachment = attachment;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the InlineAttachment
-       std::deque<SmartPtrCInlineAttachmentDoc> getInlineAttachment() const {
-               return _attachment;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCInlineAttachmentDoc> _attachment;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CInlineAttachmentCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CInlineAttachmentCollectionDoc);
-
-}
-
-#endif
index 0bdf80350bca0a49d4ce715ac96fb9df74e841d0..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,73 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CInlineAttachmentDoc_h_
-#define CInlineAttachmentDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type InlineAttachment
-class CInlineAttachmentDoc {
-public:
-       CInlineAttachmentDoc() :
-               _isInitialized(false) {}
-       virtual ~CInlineAttachmentDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string name,
-               const std::string type,
-               const std::string value) {
-               if (! _isInitialized) {
-                       _name = name;
-                       _type = type;
-                       _value = value;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the Type
-       std::string getType() const {
-               return _type;
-       }
-
-       /// Accessor for the Value
-       std::string getValue() const {
-               return _value;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _name;
-       std::string _type;
-       std::string _value;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CInlineAttachmentDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CInlineAttachmentDoc);
-
-}
-
-#endif
index 2f41493fe0494b7bea6fe7eda61d8bfb24f59ec5..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CLoggingLevelCollectionDoc_h_
-#define CLoggingLevelCollectionDoc_h_
-
-namespace Caf {
-
-/// Set of logging levels for different components
-class CLoggingLevelCollectionDoc {
-public:
-       CLoggingLevelCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CLoggingLevelCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCLoggingLevelElemDoc> loggingLevel = std::deque<SmartPtrCLoggingLevelElemDoc>()) {
-               if (! _isInitialized) {
-                       _loggingLevel = loggingLevel;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Used to change the logging level for a specific component
-       std::deque<SmartPtrCLoggingLevelElemDoc> getLoggingLevel() const {
-               return _loggingLevel;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCLoggingLevelElemDoc> _loggingLevel;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CLoggingLevelCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CLoggingLevelCollectionDoc);
-
-}
-
-#endif
index 6791e8e25bc3b1b2f1ded31476b15b3f38b313c6..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,67 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CLoggingLevelElemDoc_h_
-#define CLoggingLevelElemDoc_h_
-
-namespace Caf {
-
-/// Logging level for a component
-class CLoggingLevelElemDoc {
-public:
-       CLoggingLevelElemDoc() :
-               _component(LOGGINGCOMPONENT_NONE),
-               _level(LOGGINGLEVEL_NONE),
-               _isInitialized(false) {}
-       virtual ~CLoggingLevelElemDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const LOGGINGCOMPONENT_TYPE component = LOGGINGCOMPONENT_NONE,
-               const LOGGINGLEVEL_TYPE level = LOGGINGLEVEL_NONE) {
-               if (! _isInitialized) {
-                       _component = component;
-                       _level = level;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// The logging level applies to this component
-       LOGGINGCOMPONENT_TYPE getComponent() const {
-               return _component;
-       }
-
-       /// Set the logging level to this value
-       LOGGINGLEVEL_TYPE getLevel() const {
-               return _level;
-       }
-
-private:
-       LOGGINGCOMPONENT_TYPE _component;
-       LOGGINGLEVEL_TYPE _level;
-
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CLoggingLevelElemDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CLoggingLevelElemDoc);
-
-}
-
-#endif
index 3d2dbff2bb92c9d0c3d3e43bf33fdce3dc03e3f9..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,65 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef COperationDoc_h_
-#define COperationDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type Operation
-class COperationDoc {
-public:
-       COperationDoc() :
-               _isInitialized(false) {}
-       virtual ~COperationDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string name,
-               const SmartPtrCParameterCollectionDoc parameterCollection = SmartPtrCParameterCollectionDoc()) {
-               if (! _isInitialized) {
-                       _name = name;
-                       _parameterCollection = parameterCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the ParameterCollection
-       SmartPtrCParameterCollectionDoc getParameterCollection() const {
-               return _parameterCollection;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _name;
-       SmartPtrCParameterCollectionDoc _parameterCollection;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(COperationDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(COperationDoc);
-
-}
-
-#endif
index e1c0ac533a1258763b3982b3d199440c12f57e97..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,65 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CParameterCollectionDoc_h_
-#define CParameterCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type ParameterCollection
-class CParameterCollectionDoc {
-public:
-       CParameterCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CParameterCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCRequestParameterDoc> parameter = std::deque<SmartPtrCRequestParameterDoc>(),
-               const std::deque<SmartPtrCRequestInstanceParameterDoc> instanceParameter = std::deque<SmartPtrCRequestInstanceParameterDoc>()) {
-               if (! _isInitialized) {
-                       _parameter = parameter;
-                       _instanceParameter = instanceParameter;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Parameter
-       std::deque<SmartPtrCRequestParameterDoc> getParameter() const {
-               return _parameter;
-       }
-
-       /// Accessor for the InstanceParameter
-       std::deque<SmartPtrCRequestInstanceParameterDoc> getInstanceParameter() const {
-               return _instanceParameter;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCRequestParameterDoc> _parameter;
-       std::deque<SmartPtrCRequestInstanceParameterDoc> _instanceParameter;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CParameterCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CParameterCollectionDoc);
-
-}
-
-#endif
index 70b1785bb1f820c27e4f32f8bf5f2b52d4302156..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CPropertyCollectionDoc_h_
-#define CPropertyCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type PropertyCollection
-class CPropertyCollectionDoc {
-public:
-       CPropertyCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CPropertyCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCPropertyDoc> property = std::deque<SmartPtrCPropertyDoc>()) {
-               if (! _isInitialized) {
-                       _property = property;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Property
-       std::deque<SmartPtrCPropertyDoc> getProperty() const {
-               return _property;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCPropertyDoc> _property;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CPropertyCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CPropertyCollectionDoc);
-
-}
-
-#endif
index 3da307ebb90e2a0e2458c821164a308966154cca..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,74 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CPropertyDoc_h_
-#define CPropertyDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type Property
-class CPropertyDoc {
-public:
-       CPropertyDoc() :
-               _type(PROPERTY_NONE),
-               _isInitialized(false) {}
-       virtual ~CPropertyDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string name,
-               const PROPERTY_TYPE type,
-               const std::deque<std::string> value = std::deque<std::string>()) {
-               if (! _isInitialized) {
-                       _name = name;
-                       _type = type;
-                       _value = value;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the Type
-       PROPERTY_TYPE getType() const {
-               return _type;
-       }
-
-       /// Accessor for the Value
-       std::deque<std::string> getValue() const {
-               return _value;
-       }
-
-private:
-       PROPERTY_TYPE _type;
-
-       bool _isInitialized;
-       std::string _name;
-       std::deque<std::string> _value;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CPropertyDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CPropertyDoc);
-
-}
-
-#endif
index 25a7ab7fe0d4b9f4f749c142d91f0f67f5ce2a8f..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CProtocolCollectionDoc_h_
-#define CProtocolCollectionDoc_h_
-
-namespace Caf {
-
-/// Set of protocol
-class CProtocolCollectionDoc {
-public:
-       CProtocolCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CProtocolCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCProtocolDoc> protocol = std::deque<SmartPtrCProtocolDoc>()) {
-               if (! _isInitialized) {
-                       _protocol = protocol;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Used to change the logging level for a specific component
-       std::deque<SmartPtrCProtocolDoc> getProtocol() const {
-               return _protocol;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCProtocolDoc> _protocol;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CProtocolCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CProtocolCollectionDoc);
-
-}
-
-#endif
index 8a7f1f1b1dd0f3cde914f0b9f477f2fbd03447ca..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,74 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CProtocolDoc_h_
-#define CProtocolDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of Protocol
-class CProtocolDoc {
-public:
-       CProtocolDoc() :
-               _sequenceNumber(0),
-               _isInitialized(false) {}
-       virtual ~CProtocolDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string uri,
-               const std::string name = std::string(),
-               const int32 sequenceNumber = 0) {
-               if (! _isInitialized) {
-                       _name = name;
-                       _uri = uri;
-                       _sequenceNumber = sequenceNumber;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Uri
-       std::string getUri() const {
-               return _uri;
-       }
-
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the Value
-       int32 getSequenceNumber() const {
-               return _sequenceNumber;
-       }
-
-private:
-       int32 _sequenceNumber;
-       bool _isInitialized;
-
-       std::string _uri;
-       std::string _name;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CProtocolDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CProtocolDoc);
-
-}
-
-#endif
index b766dc5a692e8a19b66b4702f9e739d0cb48c2a7..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,81 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CRequestConfigDoc_h_
-#define CRequestConfigDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type RequestConfig
-class CRequestConfigDoc {
-public:
-       CRequestConfigDoc() :
-               _isInitialized(false) {}
-       virtual ~CRequestConfigDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string responseFormatType,
-               const SmartPtrCAddInsDoc requestProcessorAddIns = SmartPtrCAddInsDoc(),
-               const SmartPtrCAddInsDoc responseProcessorAddIns = SmartPtrCAddInsDoc(),
-               const SmartPtrCLoggingLevelCollectionDoc loggingLevelCollection = SmartPtrCLoggingLevelCollectionDoc()) {
-               if (! _isInitialized) {
-                       _responseFormatType = responseFormatType;
-                       _requestProcessorAddIns = requestProcessorAddIns;
-                       _responseProcessorAddIns = responseProcessorAddIns;
-                       _loggingLevelCollection = loggingLevelCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ResponseFormatType
-       std::string getResponseFormatType() const {
-               return _responseFormatType;
-       }
-
-       /// Accessor for the RequestProcessorAddIns
-       SmartPtrCAddInsDoc getRequestProcessorAddIns() const {
-               return _requestProcessorAddIns;
-       }
-
-       /// Accessor for the ResponseProcessorAddIns
-       SmartPtrCAddInsDoc getResponseProcessorAddIns() const {
-               return _responseProcessorAddIns;
-       }
-
-       /// Accessor for the LoggingLevelCollection
-       SmartPtrCLoggingLevelCollectionDoc getLoggingLevelCollection() const {
-               return _loggingLevelCollection;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _responseFormatType;
-       SmartPtrCAddInsDoc _requestProcessorAddIns;
-       SmartPtrCAddInsDoc _responseProcessorAddIns;
-       SmartPtrCLoggingLevelCollectionDoc _loggingLevelCollection;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CRequestConfigDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CRequestConfigDoc);
-
-}
-
-#endif
index 820509f78028557035dd74efab9bd77ae7bc59f8..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,106 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CRequestHeaderDoc_h_
-#define CRequestHeaderDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type RequestHeader
-class CRequestHeaderDoc {
-public:
-       CRequestHeaderDoc() :
-               _isInitialized(false),
-               _sessionId(CAFCOMMON_GUID_NULL) {}
-       virtual ~CRequestHeaderDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const SmartPtrCRequestConfigDoc requestConfig,
-               const SmartPtrCAuthnAuthzCollectionDoc authnAuthzCollection = SmartPtrCAuthnAuthzCollectionDoc(),
-               const SmartPtrCProtocolCollectionDoc protocolCollection = SmartPtrCProtocolCollectionDoc(),
-               const SmartPtrCPropertyCollectionDoc echoPropertyBag = SmartPtrCPropertyCollectionDoc(),
-               const std::string version = "1.0",
-               const std::string createdDateTime = CDateTimeUtils::getCurrentDateTime(),
-               const UUID sessionId = CAFCOMMON_GUID_NULL) {
-               if (! _isInitialized) {
-                       _requestConfig = requestConfig;
-                       _authnAuthzCollection = authnAuthzCollection;
-                       _protocolCollection = protocolCollection;
-                       _echoPropertyBag = echoPropertyBag;
-                       _version = version;
-                       _createdDateTime = createdDateTime;
-                       _sessionId = sessionId;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the RequestConfig
-       SmartPtrCRequestConfigDoc getRequestConfig() const {
-               return _requestConfig;
-       }
-
-       /// Accessor for the Authentication / Authorization Collection
-       SmartPtrCAuthnAuthzCollectionDoc getAuthnAuthzCollection() const {
-               return _authnAuthzCollection;
-       }
-
-       /// Accessor for the Protocol Collection
-       SmartPtrCProtocolCollectionDoc getProtocolCollection() const {
-               return _protocolCollection;
-       }
-
-       /// Accessor for the EchoPropertyBag
-       SmartPtrCPropertyCollectionDoc getEchoPropertyBag() const {
-               return _echoPropertyBag;
-       }
-
-       /// Accessor for the version
-       std::string getVersion() const {
-               return _version;
-       }
-
-       /// Accessor for the date/time when the request was created
-       std::string getCreatedDateTime() const {
-               return _createdDateTime;
-       }
-
-       /// Accessor for the session ID
-       UUID getSessionId() const {
-               return _sessionId;
-       }
-
-private:
-       bool _isInitialized;
-
-       SmartPtrCRequestConfigDoc _requestConfig;
-       SmartPtrCAuthnAuthzCollectionDoc _authnAuthzCollection;
-       SmartPtrCProtocolCollectionDoc _protocolCollection;
-       SmartPtrCPropertyCollectionDoc _echoPropertyBag;
-       std::string _version;
-       std::string _createdDateTime;
-       UUID _sessionId;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CRequestHeaderDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CRequestHeaderDoc);
-
-}
-
-#endif
index 7e555c29c75e2ce0fd962f4adddbce1bf56fc0bf..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,89 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CRequestInstanceParameterDoc_h_
-#define CRequestInstanceParameterDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type RequestInstanceParameter
-class CRequestInstanceParameterDoc {
-public:
-       CRequestInstanceParameterDoc() :
-               _isInitialized(false) {}
-       virtual ~CRequestInstanceParameterDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string name,
-               const std::string classNamespace,
-               const std::string className,
-               const std::string classVersion,
-               const std::deque<std::string> value) {
-               if (! _isInitialized) {
-                       _name = name;
-                       _classNamespace = classNamespace;
-                       _className = className;
-                       _classVersion = classVersion;
-                       _value = value;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the ClassNamespace
-       std::string getClassNamespace() const {
-               return _classNamespace;
-       }
-
-       /// Accessor for the ClassName
-       std::string getClassName() const {
-               return _className;
-       }
-
-       /// Accessor for the ClassVersion
-       std::string getClassVersion() const {
-               return _classVersion;
-       }
-
-       /// Accessor for the Value
-       std::deque<std::string> getValue() const {
-               return _value;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _name;
-       std::string _classNamespace;
-       std::string _className;
-       std::string _classVersion;
-       std::deque<std::string> _value;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CRequestInstanceParameterDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CRequestInstanceParameterDoc);
-
-}
-
-#endif
index 5513c170be801d7540f9a9595deee50f1ad22237..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,74 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CRequestParameterDoc_h_
-#define CRequestParameterDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type RequestParameter
-class CRequestParameterDoc {
-public:
-       CRequestParameterDoc() :
-               _type(PARAMETER_NONE),
-               _isInitialized(false) {}
-       virtual ~CRequestParameterDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string name,
-               const PARAMETER_TYPE type,
-               const std::deque<std::string> value) {
-               if (! _isInitialized) {
-                       _name = name;
-                       _type = type;
-                       _value = value;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the Type
-       PARAMETER_TYPE getType() const {
-               return _type;
-       }
-
-       /// Accessor for the Value
-       std::deque<std::string> getValue() const {
-               return _value;
-       }
-
-private:
-       PARAMETER_TYPE _type;
-
-       bool _isInitialized;
-       std::string _name;
-       std::deque<std::string> _value;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CRequestParameterDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CRequestParameterDoc);
-
-}
-
-#endif
index 3a3175c84486e66f126e942b27d56391f2899cd2..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,110 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CStatisticsDoc_h_
-#define CStatisticsDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type Statistics
-class CStatisticsDoc {
-public:
-       CStatisticsDoc() :
-               _providerJobNum(0),
-               _providerJobTotal(0),
-               _providerJobDurationSecs(0),
-               _pmeNum(0),
-               _pmeTotal(0),
-               _pmeDurationSecs(0),
-               _isInitialized(false) {}
-       virtual ~CStatisticsDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const SmartPtrCPropertyCollectionDoc propertyCollection,
-               const int32 providerJobNum,
-               const int32 providerJobTotal,
-               const int32 providerJobDurationSecs,
-               const int32 pmeNum,
-               const int32 pmeTotal,
-               const int32 pmeDurationSecs) {
-               if (! _isInitialized) {
-                       _propertyCollection = propertyCollection;
-                       _providerJobNum = providerJobNum;
-                       _providerJobTotal = providerJobTotal;
-                       _providerJobDurationSecs = providerJobDurationSecs;
-                       _pmeNum = pmeNum;
-                       _pmeTotal = pmeTotal;
-                       _pmeDurationSecs = pmeDurationSecs;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the PropertyCollection
-       SmartPtrCPropertyCollectionDoc getPropertyCollection() const {
-               return _propertyCollection;
-       }
-
-       /// Accessor for the ProviderJobNum
-       int32 getProviderJobNum() const {
-               return _providerJobNum;
-       }
-
-       /// Accessor for the ProviderJobTotal
-       int32 getProviderJobTotal() const {
-               return _providerJobTotal;
-       }
-
-       /// Accessor for the ProviderJobDurationSecs
-       int32 getProviderJobDurationSecs() const {
-               return _providerJobDurationSecs;
-       }
-
-       /// Accessor for the PmeNum
-       int32 getPmeNum() const {
-               return _pmeNum;
-       }
-
-       /// Accessor for the PmeTotal
-       int32 getPmeTotal() const {
-               return _pmeTotal;
-       }
-
-       /// Accessor for the PmeDurationSecs
-       int32 getPmeDurationSecs() const {
-               return _pmeDurationSecs;
-       }
-
-private:
-       SmartPtrCPropertyCollectionDoc _propertyCollection;
-       int32 _providerJobNum;
-       int32 _providerJobTotal;
-       int32 _providerJobDurationSecs;
-       int32 _pmeNum;
-       int32 _pmeTotal;
-       int32 _pmeDurationSecs;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CStatisticsDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CStatisticsDoc);
-
-}
-
-#endif
index 809e9bb7fb78d823665a3251cd217426e066155a..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,105 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: April 6, 2012
- *
- *     Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef CAFCORETYPESDOCINC_H_
-#define CAFCORETYPESDOCINC_H_
-
-namespace Caf {
-       typedef enum {
-               PROPERTY_NONE,
-               PROPERTY_STRING,
-               PROPERTY_SINT32,
-               PROPERTY_UINT32,
-               PROPERTY_SINT64,
-               PROPERTY_UINT64,
-               PROPERTY_DECIMAL,
-               PROPERTY_DOUBLE,
-               PROPERTY_BOOLEAN,
-               PROPERTY_DATETIME
-       } PROPERTY_TYPE;
-
-       typedef enum {
-               PARAMETER_NONE,
-               PARAMETER_STRING,
-               PARAMETER_SINT32,
-               PARAMETER_UINT32,
-               PARAMETER_SINT64,
-               PARAMETER_UINT64,
-               PARAMETER_DECIMAL,
-               PARAMETER_DOUBLE,
-               PARAMETER_BOOLEAN,
-               PARAMETER_DATETIME
-       } PARAMETER_TYPE;
-
-       typedef enum {
-               LOGGINGLEVEL_NONE,
-               LOGGINGLEVEL_DEBUG,
-               LOGGINGLEVEL_INFO,
-               LOGGINGLEVEL_WARN,
-               LOGGINGLEVEL_ERROR,
-               LOGGINGLEVEL_CRITICAL
-       } LOGGINGLEVEL_TYPE;
-
-       typedef enum {
-               LOGGINGCOMPONENT_NONE,
-               LOGGINGCOMPONENT_COMMUNICATIONS,
-               LOGGINGCOMPONENT_MANAGEMENTAGENT,
-               LOGGINGCOMPONENT_UINT32,
-               LOGGINGCOMPONENT_PROVIDERFRAMEWORK,
-               LOGGINGCOMPONENT_PROVIDER
-       } LOGGINGCOMPONENT_TYPE;
-
-       typedef enum {
-               CMS_POLICY_NONE,
-               CMS_POLICY_CAF_ENCRYPTED,
-               CMS_POLICY_CAF_SIGNED,
-               CMS_POLICY_CAF_ENCRYPTED_AND_SIGNED,
-               CMS_POLICY_APP_SIGNED,
-               CMS_POLICY_APP_ENCRYPTED,
-               CMS_POLICY_APP_ENCRYPTED_AND_SIGNED
-       } CMS_POLICY;
-}
-
-#include "CFullyQualifiedClassGroupDoc.h"
-#include "CAttachmentNameCollectionDoc.h"
-
-#include "CLoggingLevelElemDoc.h"
-#include "CLoggingLevelCollectionDoc.h"
-
-#include "CRequestInstanceParameterDoc.h"
-#include "CRequestParameterDoc.h"
-
-#include "CInlineAttachmentDoc.h"
-#include "CInlineAttachmentCollectionDoc.h"
-
-#include "CAttachmentDoc.h"
-#include "CAttachmentCollectionDoc.h"
-
-#include "CParameterCollectionDoc.h"
-#include "COperationDoc.h"
-
-#include "CPropertyDoc.h"
-#include "CPropertyCollectionDoc.h"
-
-#include "CAddInCollectionDoc.h"
-#include "CAddInsDoc.h"
-
-#include "CAuthnAuthzDoc.h"
-#include "CAuthnAuthzCollectionDoc.h"
-
-#include "CProtocolDoc.h"
-#include "CProtocolCollectionDoc.h"
-
-#include "CRequestConfigDoc.h"
-#include "CRequestHeaderDoc.h"
-
-#include "CClassFiltersDoc.h"
-#include "CClassSpecifierDoc.h"
-#include "CStatisticsDoc.h"
-
-#endif /* CAFCORETYPESDOCINC_H_ */
index 5b00823d115d208c4cd87382e63e84d902261c65..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,97 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CFullPackageElemDoc_h_
-#define CFullPackageElemDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type FullPackageElem
-class CFullPackageElemDoc {
-public:
-       CFullPackageElemDoc() :
-               _index(0),
-               _isInitialized(false) {}
-       virtual ~CFullPackageElemDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const int32 index,
-               const std::string packageNamespace,
-               const std::string packageName,
-               const std::string packageVersion,
-               const SmartPtrCPackageDefnDoc installPackage,
-               const SmartPtrCPackageDefnDoc uninstallPackage) {
-               if (! _isInitialized) {
-                       _index = index;
-                       _packageNamespace = packageNamespace;
-                       _packageName = packageName;
-                       _packageVersion = packageVersion;
-                       _installPackage = installPackage;
-                       _uninstallPackage = uninstallPackage;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Index
-       int32 getIndex() const {
-               return _index;
-       }
-
-       /// Accessor for the PackageNamespace
-       std::string getPackageNamespace() const {
-               return _packageNamespace;
-       }
-
-       /// Accessor for the PackageName
-       std::string getPackageName() const {
-               return _packageName;
-       }
-
-       /// Accessor for the PackageVersion
-       std::string getPackageVersion() const {
-               return _packageVersion;
-       }
-
-       /// Accessor for the InstallPackage
-       SmartPtrCPackageDefnDoc getInstallPackage() const {
-               return _installPackage;
-       }
-
-       /// Accessor for the UninstallPackage
-       SmartPtrCPackageDefnDoc getUninstallPackage() const {
-               return _uninstallPackage;
-       }
-
-private:
-       int32 _index;
-       std::string _packageNamespace;
-       std::string _packageName;
-       std::string _packageVersion;
-       SmartPtrCPackageDefnDoc _installPackage;
-       SmartPtrCPackageDefnDoc _uninstallPackage;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CFullPackageElemDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CFullPackageElemDoc);
-
-}
-
-#endif
index a6df7a7827af2354bca90ccf1f9641b34728c079..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CGetInventoryJobDoc_h_
-#define CGetInventoryJobDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type GetInventoryJob
-class CGetInventoryJobDoc {
-public:
-       CGetInventoryJobDoc() :
-               _jobId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CGetInventoryJobDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const UUID jobId) {
-               if (! _isInitialized) {
-                       _jobId = jobId;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the JobId
-       UUID getJobId() const {
-               return _jobId;
-       }
-
-private:
-       UUID _jobId;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CGetInventoryJobDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CGetInventoryJobDoc);
-
-}
-
-#endif
index 4abfae57ef335274e6a0e46dce956de9cdb9a6e8..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,73 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CInstallBatchDoc_h_
-#define CInstallBatchDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type InstallBatch
-class CInstallBatchDoc {
-public:
-       CInstallBatchDoc() :
-               _isInitialized(false) {}
-       virtual ~CInstallBatchDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const SmartPtrCGetInventoryJobDoc getInventory,
-               const SmartPtrCInstallProviderJobDoc installProvider,
-               const SmartPtrCUninstallProviderJobDoc uninstallProvider) {
-               if (! _isInitialized) {
-                       _getInventory = getInventory;
-                       _installProvider = installProvider;
-                       _uninstallProvider = uninstallProvider;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the GetInventory
-       SmartPtrCGetInventoryJobDoc getGetInventory() const {
-               return _getInventory;
-       }
-
-       /// Accessor for the InstallProvider
-       SmartPtrCInstallProviderJobDoc getInstallProvider() const {
-               return _installProvider;
-       }
-
-       /// Accessor for the UninstallProvider
-       SmartPtrCUninstallProviderJobDoc getUninstallProvider() const {
-               return _uninstallProvider;
-       }
-
-private:
-       bool _isInitialized;
-
-       SmartPtrCGetInventoryJobDoc _getInventory;
-       SmartPtrCInstallProviderJobDoc _installProvider;
-       SmartPtrCUninstallProviderJobDoc _uninstallProvider;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CInstallBatchDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CInstallBatchDoc);
-
-}
-
-#endif
index 005b03b2faa77c3311a72822f739bc40a1dd9a5f..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,113 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CInstallPackageSpecDoc_h_
-#define CInstallPackageSpecDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type InstallPackageSpec
-class CInstallPackageSpecDoc {
-public:
-       CInstallPackageSpecDoc() :
-               _isInitialized(false) {}
-       virtual ~CInstallPackageSpecDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string packageNamespace,
-               const std::string packageName,
-               const std::string packageVersion,
-               const std::string startupAttachmentName,
-               const std::string packageAttachmentName,
-               const SmartPtrCAttachmentNameCollectionDoc attachmentNameCollection,
-               const SmartPtrCAttachmentCollectionDoc attachmentCollection,
-               const std::string arguments) {
-               if (! _isInitialized) {
-                       _packageNamespace = packageNamespace;
-                       _packageName = packageName;
-                       _packageVersion = packageVersion;
-                       _startupAttachmentName = startupAttachmentName;
-                       _packageAttachmentName = packageAttachmentName;
-                       _attachmentNameCollection = attachmentNameCollection;
-                       _attachmentCollection = attachmentCollection;
-                       _arguments = arguments;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the PackageNamespace
-       std::string getPackageNamespace() const {
-               return _packageNamespace;
-       }
-
-       /// Accessor for the PackageName
-       std::string getPackageName() const {
-               return _packageName;
-       }
-
-       /// Accessor for the PackageVersion
-       std::string getPackageVersion() const {
-               return _packageVersion;
-       }
-
-       /// Accessor for the StartupAttachmentName
-       std::string getStartupAttachmentName() const {
-               return _startupAttachmentName;
-       }
-
-       /// Accessor for the PackageAttachmentName
-       std::string getPackageAttachmentName() const {
-               return _packageAttachmentName;
-       }
-
-       /// Accessor for the AttachmentNameCollection
-       SmartPtrCAttachmentNameCollectionDoc getSupportingAttachmentNameCollection() const {
-               return _attachmentNameCollection;
-       }
-
-       /// Accessor for the AttachmentCollection
-       SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const {
-               return _attachmentCollection;
-       }
-
-       /// Accessor for the Arguments
-       std::string getArguments() const {
-               return _arguments;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _packageNamespace;
-       std::string _packageName;
-       std::string _packageVersion;
-       std::string _startupAttachmentName;
-       std::string _packageAttachmentName;
-       SmartPtrCAttachmentNameCollectionDoc _attachmentNameCollection;
-       SmartPtrCAttachmentCollectionDoc _attachmentCollection;
-       std::string _arguments;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CInstallPackageSpecDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CInstallPackageSpecDoc);
-
-}
-
-#endif
index 93e988e12aa260fbab33c89ee80371c8fa5d6102..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,107 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CInstallProviderJobDoc_h_
-#define CInstallProviderJobDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type InstallProviderJob
-class CInstallProviderJobDoc {
-public:
-       CInstallProviderJobDoc() :
-               _clientId(CAFCOMMON_GUID_NULL),
-               _jobId(CAFCOMMON_GUID_NULL),
-               _packageOSType(PACKAGE_OS_NONE),
-               _isInitialized(false) {}
-       virtual ~CInstallProviderJobDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const UUID clientId,
-               const UUID jobId,
-               const std::string providerNamespace,
-               const std::string providerName,
-               const std::string providerVersion,
-               const PACKAGE_OS_TYPE packageOSType,
-               const std::deque<SmartPtrCFullPackageElemDoc> packageCollection) {
-               if (! _isInitialized) {
-                       _clientId = clientId;
-                       _jobId = jobId;
-                       _providerNamespace = providerNamespace;
-                       _providerName = providerName;
-                       _providerVersion = providerVersion;
-                       _packageOSType = packageOSType;
-                       _packageCollection = packageCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ClientId
-       UUID getClientId() const {
-               return _clientId;
-       }
-
-       /// Accessor for the JobId
-       UUID getJobId() const {
-               return _jobId;
-       }
-
-       /// Accessor for the ProviderNamespace
-       std::string getProviderNamespace() const {
-               return _providerNamespace;
-       }
-
-       /// Accessor for the ProviderName
-       std::string getProviderName() const {
-               return _providerName;
-       }
-
-       /// Accessor for the ProviderVersion
-       std::string getProviderVersion() const {
-               return _providerVersion;
-       }
-
-       /// Accessor for the PackageOSType
-       PACKAGE_OS_TYPE getPackageOSType() const {
-               return _packageOSType;
-       }
-
-       /// Accessor for the PackageVal
-       std::deque<SmartPtrCFullPackageElemDoc> getPackageCollection() const {
-               return _packageCollection;
-       }
-
-private:
-       UUID _clientId;
-       UUID _jobId;
-       std::string _providerNamespace;
-       std::string _providerName;
-       std::string _providerVersion;
-       PACKAGE_OS_TYPE _packageOSType;
-       std::deque<SmartPtrCFullPackageElemDoc> _packageCollection;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CInstallProviderJobDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CInstallProviderJobDoc);
-
-}
-
-#endif
index ee8846bbe5ce09afe2e1021f3ed908ed3c634a42..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,89 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CInstallProviderSpecDoc_h_
-#define CInstallProviderSpecDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type InstallProviderSpec
-class CInstallProviderSpecDoc {
-public:
-       CInstallProviderSpecDoc() :
-               _clientId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CInstallProviderSpecDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const UUID clientId,
-               const std::string providerNamespace,
-               const std::string providerName,
-               const std::string providerVersion,
-               const std::deque<SmartPtrCMinPackageElemDoc> packageCollection) {
-               if (! _isInitialized) {
-                       _clientId = clientId;
-                       _providerNamespace = providerNamespace;
-                       _providerName = providerName;
-                       _providerVersion = providerVersion;
-                       _packageCollection = packageCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ClientId
-       UUID getClientId() const {
-               return _clientId;
-       }
-
-       /// Accessor for the ProviderNamespace
-       std::string getProviderNamespace() const {
-               return _providerNamespace;
-       }
-
-       /// Accessor for the ProviderName
-       std::string getProviderName() const {
-               return _providerName;
-       }
-
-       /// Accessor for the ProviderVersion
-       std::string getProviderVersion() const {
-               return _providerVersion;
-       }
-
-       /// Accessor for the PackageVal
-       std::deque<SmartPtrCMinPackageElemDoc> getPackageCollection() const {
-               return _packageCollection;
-       }
-
-private:
-       UUID _clientId;
-       std::string _providerNamespace;
-       std::string _providerName;
-       std::string _providerVersion;
-       std::deque<SmartPtrCMinPackageElemDoc> _packageCollection;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CInstallProviderSpecDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CInstallProviderSpecDoc);
-
-}
-
-#endif
index 44d9f7470183186881c66af7a0b480110a38f7b4..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,98 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CInstallRequestDoc_h_
-#define CInstallRequestDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type InstallRequest
-class CInstallRequestDoc {
-public:
-       CInstallRequestDoc() :
-               _clientId(CAFCOMMON_GUID_NULL),
-               _requestId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CInstallRequestDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const UUID clientId,
-               const UUID requestId,
-               const std::string pmeId,
-               const SmartPtrCRequestHeaderDoc requestHeader,
-               const SmartPtrCInstallBatchDoc batch,
-               const SmartPtrCAttachmentCollectionDoc attachmentCollection) {
-               if (! _isInitialized) {
-                       _clientId = clientId;
-                       _requestId = requestId;
-                       _pmeId = pmeId;
-                       _requestHeader = requestHeader;
-                       _batch = batch;
-                       _attachmentCollection = attachmentCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ClientId
-       UUID getClientId() const {
-               return _clientId;
-       }
-
-       /// Accessor for the RequestId
-       UUID getRequestId() const {
-               return _requestId;
-       }
-
-       /// Accessor for the PmeId
-       std::string getPmeId() const {
-               return _pmeId;
-       }
-
-       /// Accessor for the RequestHeader
-       SmartPtrCRequestHeaderDoc getRequestHeader() const {
-               return _requestHeader;
-       }
-
-       /// Accessor for the Batch
-       SmartPtrCInstallBatchDoc getBatch() const {
-               return _batch;
-       }
-
-       /// Accessor for the AttachmentCollection
-       SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const {
-               return _attachmentCollection;
-       }
-
-private:
-       UUID _clientId;
-       UUID _requestId;
-       std::string _pmeId;
-       SmartPtrCRequestHeaderDoc _requestHeader;
-       SmartPtrCInstallBatchDoc _batch;
-       SmartPtrCAttachmentCollectionDoc _attachmentCollection;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CInstallRequestDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CInstallRequestDoc);
-
-}
-
-#endif
index d9505ca79969ad51f1610d2136a18e69e13828f5..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,81 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CMinPackageElemDoc_h_
-#define CMinPackageElemDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type MinPackageElem
-class CMinPackageElemDoc {
-public:
-       CMinPackageElemDoc() :
-               _index(0),
-               _isInitialized(false) {}
-       virtual ~CMinPackageElemDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const int32 index,
-               const std::string packageNamespace,
-               const std::string packageName,
-               const std::string packageVersion) {
-               if (! _isInitialized) {
-                       _index = index;
-                       _packageNamespace = packageNamespace;
-                       _packageName = packageName;
-                       _packageVersion = packageVersion;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Index
-       int32 getIndex() const {
-               return _index;
-       }
-
-       /// Accessor for the PackageNamespace
-       std::string getPackageNamespace() const {
-               return _packageNamespace;
-       }
-
-       /// Accessor for the PackageName
-       std::string getPackageName() const {
-               return _packageName;
-       }
-
-       /// Accessor for the PackageVersion
-       std::string getPackageVersion() const {
-               return _packageVersion;
-       }
-
-private:
-       int32 _index;
-       std::string _packageNamespace;
-       std::string _packageName;
-       std::string _packageVersion;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CMinPackageElemDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CMinPackageElemDoc);
-
-}
-
-#endif
index 60bdd2b19ce470eda8b68eea61b2993c394f51e3..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,81 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CPackageDefnDoc_h_
-#define CPackageDefnDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type PackageDefn
-class CPackageDefnDoc {
-public:
-       CPackageDefnDoc() :
-               _isInitialized(false) {}
-       virtual ~CPackageDefnDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string startupAttachmentName,
-               const std::string packageAttachmentName,
-               const SmartPtrCAttachmentNameCollectionDoc attachmentNameCollection,
-               const std::string arguments) {
-               if (! _isInitialized) {
-                       _startupAttachmentName = startupAttachmentName;
-                       _packageAttachmentName = packageAttachmentName;
-                       _attachmentNameCollection = attachmentNameCollection;
-                       _arguments = arguments;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the StartupAttachmentName
-       std::string getStartupAttachmentName() const {
-               return _startupAttachmentName;
-       }
-
-       /// Accessor for the PackageAttachmentName
-       std::string getPackageAttachmentName() const {
-               return _packageAttachmentName;
-       }
-
-       /// Accessor for the AttachmentNameCollection
-       SmartPtrCAttachmentNameCollectionDoc getSupportingAttachmentNameCollection() const {
-               return _attachmentNameCollection;
-       }
-
-       /// Accessor for the Arguments
-       std::string getArguments() const {
-               return _arguments;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _startupAttachmentName;
-       std::string _packageAttachmentName;
-       SmartPtrCAttachmentNameCollectionDoc _attachmentNameCollection;
-       std::string _arguments;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CPackageDefnDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CPackageDefnDoc);
-
-}
-
-#endif
index 5a60daee419cfb969e3a6e26f4f10b3122f63689..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,99 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CUninstallProviderJobDoc_h_
-#define CUninstallProviderJobDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type UninstallProviderJob
-class CUninstallProviderJobDoc {
-public:
-       CUninstallProviderJobDoc() :
-               _clientId(CAFCOMMON_GUID_NULL),
-               _jobId(CAFCOMMON_GUID_NULL),
-               _packageOSType(PACKAGE_OS_NONE),
-               _isInitialized(false) {}
-       virtual ~CUninstallProviderJobDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const UUID clientId,
-               const UUID jobId,
-               const std::string providerNamespace,
-               const std::string providerName,
-               const std::string providerVersion,
-               const PACKAGE_OS_TYPE packageOSType) {
-               if (! _isInitialized) {
-                       _clientId = clientId;
-                       _jobId = jobId;
-                       _providerNamespace = providerNamespace;
-                       _providerName = providerName;
-                       _providerVersion = providerVersion;
-                       _packageOSType = packageOSType;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ClientId
-       UUID getClientId() const {
-               return _clientId;
-       }
-
-       /// Accessor for the JobId
-       UUID getJobId() const {
-               return _jobId;
-       }
-
-       /// Accessor for the ProviderNamespace
-       std::string getProviderNamespace() const {
-               return _providerNamespace;
-       }
-
-       /// Accessor for the ProviderName
-       std::string getProviderName() const {
-               return _providerName;
-       }
-
-       /// Accessor for the ProviderVersion
-       std::string getProviderVersion() const {
-               return _providerVersion;
-       }
-
-       /// Accessor for the PackageOSType
-       PACKAGE_OS_TYPE getPackageOSType() const {
-               return _packageOSType;
-       }
-
-private:
-       UUID _clientId;
-       UUID _jobId;
-       std::string _providerNamespace;
-       std::string _providerName;
-       std::string _providerVersion;
-       PACKAGE_OS_TYPE _packageOSType;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CUninstallProviderJobDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CUninstallProviderJobDoc);
-
-}
-
-#endif
index b6a91c5bd268dd465c1b55979af08a078864b3e9..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,35 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: April 6, 2012
- *
- *     Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef CAFINSTALLREQUESTDOCINC_H_
-#define CAFINSTALLREQUESTDOCINC_H_
-
-namespace Caf {
-       typedef enum {
-               PACKAGE_OS_NONE,
-               PACKAGE_OS_ALL,
-               PACKAGE_OS_NIX,
-               PACKAGE_OS_WIN
-       } PACKAGE_OS_TYPE;
-}
-
-#include "CPackageDefnDoc.h"
-#include "CMinPackageElemDoc.h"
-#include "CFullPackageElemDoc.h"
-
-#include "CInstallPackageSpecDoc.h"
-#include "CInstallProviderSpecDoc.h"
-
-#include "CGetInventoryJobDoc.h"
-#include "CUninstallProviderJobDoc.h"
-#include "CInstallProviderJobDoc.h"
-
-#include "CInstallBatchDoc.h"
-#include "CInstallRequestDoc.h"
-
-#endif /* CAFINSTALLREQUESTINC_H_ */
index 5ba7a422d31c9e536d51bf13f94331390b8cacab..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,90 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CDiagRequestDoc_h_
-#define CDiagRequestDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type DiagRequest
-class CDiagRequestDoc {
-public:
-       CDiagRequestDoc() :
-               _clientId(CAFCOMMON_GUID_NULL),
-               _requestId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CDiagRequestDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const UUID clientId,
-               const UUID requestId,
-               const std::string pmeId,
-               const SmartPtrCRequestHeaderDoc requestHeader,
-               const SmartPtrCDiagBatchDoc batch) {
-               if (! _isInitialized) {
-                       _clientId = clientId;
-                       _requestId = requestId;
-                       _pmeId = pmeId;
-                       _requestHeader = requestHeader;
-                       _batch = batch;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ClientId
-       UUID getClientId() const {
-               return _clientId;
-       }
-
-       /// Accessor for the RequestId
-       UUID getRequestId() const {
-               return _requestId;
-       }
-
-       /// Accessor for the PmeId
-       std::string getPmeId() const {
-               return _pmeId;
-       }
-
-       /// Accessor for the RequestHeader
-       SmartPtrCRequestHeaderDoc getRequestHeader() const {
-               return _requestHeader;
-       }
-
-       /// Accessor for the Batch
-       SmartPtrCDiagBatchDoc getBatch() const {
-               return _batch;
-       }
-
-private:
-       UUID _clientId;
-       UUID _requestId;
-       std::string _pmeId;
-       SmartPtrCRequestHeaderDoc _requestHeader;
-       SmartPtrCDiagBatchDoc _batch;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CDiagRequestDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CDiagRequestDoc);
-
-}
-
-#endif
index a4cd9fa13deaf110583f012338d39f839d3774dd..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,14 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: April 6, 2012
- *
- *     Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef DIAGREQUESTDOCINC_H_
-#define DIAGREQUESTDOCINC_H_
-
-#include "CDiagRequestDoc.h"
-
-#endif /* DIAGREQUESTDOCINC_H_ */
index af42ced5f59388f347465c912f6c82383b5b191b..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,73 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CDiagBatchDoc_h_
-#define CDiagBatchDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type DiagBatch
-class CDiagBatchDoc {
-public:
-       CDiagBatchDoc() :
-               _isInitialized(false) {}
-       virtual ~CDiagBatchDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const SmartPtrCDiagCollectInstancesDoc collectInstances,
-               const SmartPtrCDiagSetValueCollectionDoc setValueCollection,
-               const SmartPtrCDiagDeleteValueCollectionDoc deleteValueCollection) {
-               if (! _isInitialized) {
-                       _collectInstances = collectInstances;
-                       _setValueCollection = setValueCollection;
-                       _deleteValueCollection = deleteValueCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the CollectInstances
-       SmartPtrCDiagCollectInstancesDoc getCollectInstances() const {
-               return _collectInstances;
-       }
-
-       /// Accessor for the SetValueCollection
-       SmartPtrCDiagSetValueCollectionDoc getSetValueCollection() const {
-               return _setValueCollection;
-       }
-
-       /// Accessor for the DeleteValueCollection
-       SmartPtrCDiagDeleteValueCollectionDoc getDeleteValueCollection() const {
-               return _deleteValueCollection;
-       }
-
-private:
-       bool _isInitialized;
-
-       SmartPtrCDiagCollectInstancesDoc _collectInstances;
-       SmartPtrCDiagSetValueCollectionDoc _setValueCollection;
-       SmartPtrCDiagDeleteValueCollectionDoc _deleteValueCollection;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CDiagBatchDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CDiagBatchDoc);
-
-}
-
-#endif
index f41e858c34fdf2f723f320aa9a455794f9d51f8e..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CDiagCollectInstancesDoc_h_
-#define CDiagCollectInstancesDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type DiagCollectInstances
-class CDiagCollectInstancesDoc {
-public:
-       CDiagCollectInstancesDoc() :
-               _jobId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CDiagCollectInstancesDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const UUID jobId) {
-               if (! _isInitialized) {
-                       _jobId = jobId;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the JobId
-       UUID getJobId() const {
-               return _jobId;
-       }
-
-private:
-       UUID _jobId;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CDiagCollectInstancesDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CDiagCollectInstancesDoc);
-
-}
-
-#endif
index c634e57601cfd3d565dc2de3aaba8ae1812ecb61..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CDiagDeleteValueCollectionDoc_h_
-#define CDiagDeleteValueCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type DiagDeleteValueCollection
-class CDiagDeleteValueCollectionDoc {
-public:
-       CDiagDeleteValueCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CDiagDeleteValueCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCDiagDeleteValueDoc> deleteValueCollection) {
-               if (! _isInitialized) {
-                       _deleteValueCollection = deleteValueCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the DeleteValue
-       std::deque<SmartPtrCDiagDeleteValueDoc> getDeleteValueCollection() const {
-               return _deleteValueCollection;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCDiagDeleteValueDoc> _deleteValueCollection;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CDiagDeleteValueCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CDiagDeleteValueCollectionDoc);
-
-}
-
-#endif
index b4808f7e5b3da944bd13b14b49f583fd3d723fb1..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,73 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CDiagDeleteValueDoc_h_
-#define CDiagDeleteValueDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type DiagDeleteValue
-class CDiagDeleteValueDoc {
-public:
-       CDiagDeleteValueDoc() :
-               _jobId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CDiagDeleteValueDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const UUID jobId,
-               const std::string fileAlias,
-               const std::string valueName) {
-               if (! _isInitialized) {
-                       _jobId = jobId;
-                       _fileAlias = fileAlias;
-                       _valueName = valueName;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the JobId
-       UUID getJobId() const {
-               return _jobId;
-       }
-
-       /// Accessor for the FileAlias
-       std::string getFileAlias() const {
-               return _fileAlias;
-       }
-
-       /// Accessor for the ValueName
-       std::string getValueName() const {
-               return _valueName;
-       }
-
-private:
-       UUID _jobId;
-       std::string _fileAlias;
-       std::string _valueName;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CDiagDeleteValueDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CDiagDeleteValueDoc);
-
-}
-
-#endif
index 5b75cf5e89e92b29c2128cf6ea53cff96d21ce87..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CDiagSetValueCollectionDoc_h_
-#define CDiagSetValueCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type DiagSetValueCollection
-class CDiagSetValueCollectionDoc {
-public:
-       CDiagSetValueCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CDiagSetValueCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCDiagSetValueDoc> setValueCollection) {
-               if (! _isInitialized) {
-                       _setValueCollection = setValueCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the SetValue
-       std::deque<SmartPtrCDiagSetValueDoc> getSetValueCollection() const {
-               return _setValueCollection;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCDiagSetValueDoc> _setValueCollection;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CDiagSetValueCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CDiagSetValueCollectionDoc);
-
-}
-
-#endif
index 9f641f389b7f934f7fbd9288e47939c9c1efbb32..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,73 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CDiagSetValueDoc_h_
-#define CDiagSetValueDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type DiagSetValue
-class CDiagSetValueDoc {
-public:
-       CDiagSetValueDoc() :
-               _jobId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CDiagSetValueDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const UUID jobId,
-               const std::string fileAlias,
-               const SmartPtrCPropertyDoc value) {
-               if (! _isInitialized) {
-                       _jobId = jobId;
-                       _fileAlias = fileAlias;
-                       _value = value;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the JobId
-       UUID getJobId() const {
-               return _jobId;
-       }
-
-       /// Accessor for the FileAlias
-       std::string getFileAlias() const {
-               return _fileAlias;
-       }
-
-       /// Accessor for the Value
-       SmartPtrCPropertyDoc getValue() const {
-               return _value;
-       }
-
-private:
-       UUID _jobId;
-       std::string _fileAlias;
-       SmartPtrCPropertyDoc _value;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CDiagSetValueDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CDiagSetValueDoc);
-
-}
-
-#endif
index b9e82a66451915f7621d1e8dbfeb4c7875f45e6f..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,25 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: April 6, 2012
- *
- *     Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef DIAGTYPESDOCINC_H_
-#define DIAGTYPESDOCINC_H_
-
-namespace Caf {
-}
-
-#include "CDiagDeleteValueDoc.h"
-#include "CDiagDeleteValueCollectionDoc.h"
-
-#include "CDiagSetValueDoc.h"
-#include "CDiagSetValueCollectionDoc.h"
-
-#include "CDiagCollectInstancesDoc.h"
-
-#include "CDiagBatchDoc.h"
-
-#endif /* DIAGTYPESDOCINC_H_ */
index 9f146d0aa491c16739c6508716e61fec05554c06..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,98 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CMgmtRequestDoc_h_
-#define CMgmtRequestDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type MgmtRequest
-class CMgmtRequestDoc {
-public:
-       CMgmtRequestDoc() :
-               _clientId(CAFCOMMON_GUID_NULL),
-               _requestId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CMgmtRequestDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const UUID clientId,
-               const UUID requestId,
-               const std::string pmeId,
-               const SmartPtrCRequestHeaderDoc requestHeader,
-               const SmartPtrCMgmtBatchDoc batch,
-               const SmartPtrCAttachmentCollectionDoc attachmentCollection) {
-               if (! _isInitialized) {
-                       _clientId = clientId;
-                       _requestId = requestId;
-                       _pmeId = pmeId;
-                       _requestHeader = requestHeader;
-                       _batch = batch;
-                       _attachmentCollection = attachmentCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ClientId
-       UUID getClientId() const {
-               return _clientId;
-       }
-
-       /// Accessor for the RequestId
-       UUID getRequestId() const {
-               return _requestId;
-       }
-
-       /// Accessor for the PmeId
-       std::string getPmeId() const {
-               return _pmeId;
-       }
-
-       /// Accessor for the RequestHeader
-       SmartPtrCRequestHeaderDoc getRequestHeader() const {
-               return _requestHeader;
-       }
-
-       /// Accessor for the Batch
-       SmartPtrCMgmtBatchDoc getBatch() const {
-               return _batch;
-       }
-
-       /// Accessor for the AttachmentCollection
-       SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const {
-               return _attachmentCollection;
-       }
-
-private:
-       UUID _clientId;
-       UUID _requestId;
-       std::string _pmeId;
-       SmartPtrCRequestHeaderDoc _requestHeader;
-       SmartPtrCMgmtBatchDoc _batch;
-       SmartPtrCAttachmentCollectionDoc _attachmentCollection;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CMgmtRequestDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CMgmtRequestDoc);
-
-}
-
-#endif
index 91bd3b737cafd8f53267790c7b966b3ecdf39308..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,17 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: April 6, 2012
- *
- *     Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef MTMTREQUESTDOCINC_H_
-#define MTMTREQUESTDOCINC_H_
-
-namespace Caf {
-}
-
-#include "CMgmtRequestDoc.h"
-
-#endif /* MTMTREQUESTDOCINC_H_ */
index d5c47d3472c54684eb84356141064a887e60047d..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,73 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CMgmtBatchDoc_h_
-#define CMgmtBatchDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type MgmtBatch
-class CMgmtBatchDoc {
-public:
-       CMgmtBatchDoc() :
-               _isInitialized(false) {}
-       virtual ~CMgmtBatchDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const SmartPtrCMgmtCollectSchemaDoc collectSchema,
-               const SmartPtrCMgmtCollectInstancesCollectionDoc collectInstancesCollection,
-               const SmartPtrCMgmtInvokeOperationCollectionDoc invokeOperationCollection) {
-               if (! _isInitialized) {
-                       _collectSchema = collectSchema;
-                       _collectInstancesCollection = collectInstancesCollection;
-                       _invokeOperationCollection = invokeOperationCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the CollectSchema
-       SmartPtrCMgmtCollectSchemaDoc getCollectSchema() const {
-               return _collectSchema;
-       }
-
-       /// Accessor for the CollectInstancesCollection
-       SmartPtrCMgmtCollectInstancesCollectionDoc getCollectInstancesCollection() const {
-               return _collectInstancesCollection;
-       }
-
-       /// Accessor for the InvokeOperationCollection
-       SmartPtrCMgmtInvokeOperationCollectionDoc getInvokeOperationCollection() const {
-               return _invokeOperationCollection;
-       }
-
-private:
-       bool _isInitialized;
-
-       SmartPtrCMgmtCollectSchemaDoc _collectSchema;
-       SmartPtrCMgmtCollectInstancesCollectionDoc _collectInstancesCollection;
-       SmartPtrCMgmtInvokeOperationCollectionDoc _invokeOperationCollection;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CMgmtBatchDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CMgmtBatchDoc);
-
-}
-
-#endif
index 397cc1de31f8e711c491b75d5f677e1fdcc0b6c7..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CMgmtCollectInstancesCollectionDoc_h_
-#define CMgmtCollectInstancesCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type MgmtCollectInstancesCollection
-class CMgmtCollectInstancesCollectionDoc {
-public:
-       CMgmtCollectInstancesCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CMgmtCollectInstancesCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCMgmtCollectInstancesDoc> collectInstancesCollection) {
-               if (! _isInitialized) {
-                       _collectInstancesCollection = collectInstancesCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the CollectInstances
-       std::deque<SmartPtrCMgmtCollectInstancesDoc> getCollectInstancesCollection() const {
-               return _collectInstancesCollection;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCMgmtCollectInstancesDoc> _collectInstancesCollection;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CMgmtCollectInstancesCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CMgmtCollectInstancesCollectionDoc);
-
-}
-
-#endif
index c15627e1e6868ab312b3719d0e739a8df291dce6..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,73 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CMgmtCollectInstancesDoc_h_
-#define CMgmtCollectInstancesDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type MgmtCollectInstances
-class CMgmtCollectInstancesDoc {
-public:
-       CMgmtCollectInstancesDoc() :
-               _jobId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CMgmtCollectInstancesDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const UUID jobId,
-               const SmartPtrCClassSpecifierDoc classSpecifier,
-               const SmartPtrCParameterCollectionDoc parameterCollection) {
-               if (! _isInitialized) {
-                       _jobId = jobId;
-                       _classSpecifier = classSpecifier;
-                       _parameterCollection = parameterCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the JobId
-       UUID getJobId() const {
-               return _jobId;
-       }
-
-       /// Accessor for the ClassSpecifier
-       SmartPtrCClassSpecifierDoc getClassSpecifier() const {
-               return _classSpecifier;
-       }
-
-       /// Accessor for the ParameterCollection
-       SmartPtrCParameterCollectionDoc getParameterCollection() const {
-               return _parameterCollection;
-       }
-
-private:
-       UUID _jobId;
-       SmartPtrCClassSpecifierDoc _classSpecifier;
-       SmartPtrCParameterCollectionDoc _parameterCollection;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CMgmtCollectInstancesDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CMgmtCollectInstancesDoc);
-
-}
-
-#endif
index 4d6713f30bba12797fb00214db74ace9b44193f0..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CMgmtCollectSchemaDoc_h_
-#define CMgmtCollectSchemaDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type MgmtCollectSchema
-class CMgmtCollectSchemaDoc {
-public:
-       CMgmtCollectSchemaDoc() :
-               _jobId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CMgmtCollectSchemaDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const UUID jobId) {
-               if (! _isInitialized) {
-                       _jobId = jobId;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the JobId
-       UUID getJobId() const {
-               return _jobId;
-       }
-
-private:
-       UUID _jobId;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CMgmtCollectSchemaDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CMgmtCollectSchemaDoc);
-
-}
-
-#endif
index aa4b83ea897f9f2ac20cee15ed3029591fe42aca..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CMgmtInvokeOperationCollectionDoc_h_
-#define CMgmtInvokeOperationCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type MgmtInvokeOperationCollection
-class CMgmtInvokeOperationCollectionDoc {
-public:
-       CMgmtInvokeOperationCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CMgmtInvokeOperationCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCMgmtInvokeOperationDoc> invokeOperationCollection) {
-               if (! _isInitialized) {
-                       _invokeOperationCollection = invokeOperationCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the InvokeOperation
-       std::deque<SmartPtrCMgmtInvokeOperationDoc> getInvokeOperationCollection() const {
-               return _invokeOperationCollection;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCMgmtInvokeOperationDoc> _invokeOperationCollection;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CMgmtInvokeOperationCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CMgmtInvokeOperationCollectionDoc);
-
-}
-
-#endif
index bc4748df6454f746fcf1341dd8e5ac4a8dc30ade..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,73 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CMgmtInvokeOperationDoc_h_
-#define CMgmtInvokeOperationDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type MgmtInvokeOperation
-class CMgmtInvokeOperationDoc {
-public:
-       CMgmtInvokeOperationDoc() :
-               _jobId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CMgmtInvokeOperationDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const UUID jobId,
-               const SmartPtrCClassSpecifierDoc classSpecifier,
-               const SmartPtrCOperationDoc operation) {
-               if (! _isInitialized) {
-                       _jobId = jobId;
-                       _classSpecifier = classSpecifier;
-                       _operation = operation;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the JobId
-       UUID getJobId() const {
-               return _jobId;
-       }
-
-       /// Accessor for the ClassSpecifier
-       SmartPtrCClassSpecifierDoc getClassSpecifier() const {
-               return _classSpecifier;
-       }
-
-       /// Accessor for the Operation
-       SmartPtrCOperationDoc getOperation() const {
-               return _operation;
-       }
-
-private:
-       UUID _jobId;
-       SmartPtrCClassSpecifierDoc _classSpecifier;
-       SmartPtrCOperationDoc _operation;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CMgmtInvokeOperationDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CMgmtInvokeOperationDoc);
-
-}
-
-#endif
index 06f4f8c17eeef2211c9ba253c10f86010319038e..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,25 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: April 6, 2012
- *
- *     Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef MGMTTYPESDOCINC_H_
-#define MGMTTYPESDOCINC_H_
-
-namespace Caf {
-}
-
-#include "CMgmtCollectSchemaDoc.h"
-
-#include "CMgmtCollectInstancesDoc.h"
-#include "CMgmtCollectInstancesCollectionDoc.h"
-
-#include "CMgmtInvokeOperationDoc.h"
-#include "CMgmtInvokeOperationCollectionDoc.h"
-
-#include "CMgmtBatchDoc.h"
-
-#endif /* MGMTTYPESDOCINC_H_ */
index 9d57e6ecd44584ba501a59ab9c7f1d46667a38ae..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CMultiPmeMgmtBatchCollectionDoc_h_
-#define CMultiPmeMgmtBatchCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type MultiPmeMgmtBatchCollection
-class CMultiPmeMgmtBatchCollectionDoc {
-public:
-       CMultiPmeMgmtBatchCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CMultiPmeMgmtBatchCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCMultiPmeMgmtBatchDoc> multiPmeBatch) {
-               if (! _isInitialized) {
-                       _multiPmeBatch = multiPmeBatch;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the MultiPmeBatch
-       std::deque<SmartPtrCMultiPmeMgmtBatchDoc> getMultiPmeBatch() const {
-               return _multiPmeBatch;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCMultiPmeMgmtBatchDoc> _multiPmeBatch;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CMultiPmeMgmtBatchCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CMultiPmeMgmtBatchCollectionDoc);
-
-}
-
-#endif
index 0af331d90a04f61232eef8656703bdb6f8721b2b..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,65 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CMultiPmeMgmtBatchDoc_h_
-#define CMultiPmeMgmtBatchDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type MultiPmeMgmtBatch
-class CMultiPmeMgmtBatchDoc {
-public:
-       CMultiPmeMgmtBatchDoc() :
-               _isInitialized(false) {}
-       virtual ~CMultiPmeMgmtBatchDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const SmartPtrCPmeIdCollectionDoc pmeIdCollection,
-               const SmartPtrCMgmtBatchDoc batch) {
-               if (! _isInitialized) {
-                       _pmeIdCollection = pmeIdCollection;
-                       _batch = batch;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the PmeIdCollection
-       SmartPtrCPmeIdCollectionDoc getPmeIdCollection() const {
-               return _pmeIdCollection;
-       }
-
-       /// Accessor for the Batch
-       SmartPtrCMgmtBatchDoc getBatch() const {
-               return _batch;
-       }
-
-private:
-       bool _isInitialized;
-
-       SmartPtrCPmeIdCollectionDoc _pmeIdCollection;
-       SmartPtrCMgmtBatchDoc _batch;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CMultiPmeMgmtBatchDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CMultiPmeMgmtBatchDoc);
-
-}
-
-#endif
index 6c04429daa2bb41823b374a7304b0d7c138d4632..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,82 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CMultiPmeMgmtRequestDoc_h_
-#define CMultiPmeMgmtRequestDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type MultiPmeMgmtRequest
-class CMultiPmeMgmtRequestDoc {
-public:
-       CMultiPmeMgmtRequestDoc() :
-               _clientId(CAFCOMMON_GUID_NULL),
-               _requestId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CMultiPmeMgmtRequestDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const UUID clientId,
-               const UUID requestId,
-               const SmartPtrCRequestHeaderDoc requestHeader,
-               const SmartPtrCMultiPmeMgmtBatchCollectionDoc multiPmeBatchCollection) {
-               if (! _isInitialized) {
-                       _clientId = clientId;
-                       _requestId = requestId;
-                       _requestHeader = requestHeader;
-                       _multiPmeBatchCollection = multiPmeBatchCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ClientId
-       UUID getClientId() const {
-               return _clientId;
-       }
-
-       /// Accessor for the RequestId
-       UUID getRequestId() const {
-               return _requestId;
-       }
-
-       /// Accessor for the RequestHeader
-       SmartPtrCRequestHeaderDoc getRequestHeader() const {
-               return _requestHeader;
-       }
-
-       /// Accessor for the MultiPmeBatchCollection
-       SmartPtrCMultiPmeMgmtBatchCollectionDoc getMultiPmeBatchCollection() const {
-               return _multiPmeBatchCollection;
-       }
-
-private:
-       UUID _clientId;
-       UUID _requestId;
-       SmartPtrCRequestHeaderDoc _requestHeader;
-       SmartPtrCMultiPmeMgmtBatchCollectionDoc _multiPmeBatchCollection;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CMultiPmeMgmtRequestDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CMultiPmeMgmtRequestDoc);
-
-}
-
-#endif
index e560c463cb4f23d65f1148049c4efcbcd3630784..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CPmeIdCollectionDoc_h_
-#define CPmeIdCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type PmeIdCollection
-class CPmeIdCollectionDoc {
-public:
-       CPmeIdCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CPmeIdCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<std::string> pmeIdCollection) {
-               if (! _isInitialized) {
-                       _pmeIdCollection = pmeIdCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the PmeId
-       std::deque<std::string> getPmeIdCollection() const {
-               return _pmeIdCollection;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<std::string> _pmeIdCollection;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CPmeIdCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CPmeIdCollectionDoc);
-
-}
-
-#endif
index e8fd153f6a3a4a4a6b22369a947ae8f11ba8b935..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,17 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: April 6, 2012
- *
- *     Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef MULTIPMEMGMTREQUESTDOCINC_H_
-#define MULTIPMEMGMTREQUESTDOCINC_H_
-
-#include "CPmeIdCollectionDoc.h"
-#include "CMultiPmeMgmtBatchDoc.h"
-#include "CMultiPmeMgmtBatchCollectionDoc.h"
-#include "CMultiPmeMgmtRequestDoc.h"
-
-#endif /* MULTIPMEMGMTREQUESTDOCINC_H_ */
index b77dd62cda844f8b251028e6d026610b877c43b5..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,119 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: July 3, 2015
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- */
-
-#ifndef CPayloadEnvelopeDoc_h_
-#define CPayloadEnvelopeDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type PayloadEnvelope
-class CPayloadEnvelopeDoc {
-public:
-       CPayloadEnvelopeDoc() :
-               _clientId(CAFCOMMON_GUID_NULL),
-               _requestId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CPayloadEnvelopeDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const UUID& clientId,
-               const UUID& requestId,
-               const std::string& pmeId,
-               const std::string& payloadType,
-               const std::string& payloadVersion,
-               const SmartPtrCAttachmentCollectionDoc& attachmentCollection,
-               const SmartPtrCProtocolCollectionDoc& protocolCollection = SmartPtrCProtocolCollectionDoc(),
-               const SmartPtrCPropertyCollectionDoc& headerCollection = SmartPtrCPropertyCollectionDoc(),
-               const std::string version = "1.0") {
-               if (! _isInitialized) {
-                       _clientId = clientId;
-                       _requestId = requestId;
-                       _pmeId = pmeId;
-                       _payloadType = payloadType;
-                       _payloadVersion = payloadVersion;
-                       _attachmentCollection = attachmentCollection;
-                       _protocolCollection = protocolCollection;
-                       _headerCollection = headerCollection;
-                       _version = version;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ClientId
-       UUID getClientId() const {
-               return _clientId;
-       }
-
-       /// Accessor for the RequestId
-       UUID getRequestId() const {
-               return _requestId;
-       }
-
-       /// Accessor for the PmeId
-       std::string getPmeId() const {
-               return _pmeId;
-       }
-
-       /// Accessor for the PayloadType
-       std::string getPayloadType() const {
-               return _payloadType;
-       }
-
-       /// Accessor for the PayloadVersion
-       std::string getPayloadVersion() const {
-               return _payloadVersion;
-       }
-
-       /// Accessor for the Protocol Collection
-       SmartPtrCProtocolCollectionDoc getProtocolCollection() const {
-               return _protocolCollection;
-       }
-
-       /// Accessor for the AttachmentCollection
-       SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const {
-               return _attachmentCollection;
-       }
-
-       /// Accessor for the Headers
-       SmartPtrCPropertyCollectionDoc getHeaderCollection() const {
-               return _headerCollection;
-       }
-
-       /// Accessor for the version
-       std::string getVersion() const {
-               return _version;
-       }
-
-private:
-       UUID _clientId;
-       UUID _requestId;
-       std::string _pmeId;
-       std::string _payloadType;
-       std::string _payloadVersion;
-       SmartPtrCAttachmentCollectionDoc _attachmentCollection;
-       SmartPtrCProtocolCollectionDoc _protocolCollection;
-       SmartPtrCPropertyCollectionDoc _headerCollection;
-       std::string _version;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CPayloadEnvelopeDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CPayloadEnvelopeDoc);
-
-}
-
-#endif
index 076ee6d6ec62bd30fafcef095b2f3c2911b1decd..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,14 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: April 6, 2012
- *
- *     Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef PayloadEnvelopeDocInc_H_
-#define PayloadEnvelopeDocInc_H_
-
-#include "CPayloadEnvelopeDoc.h"
-
-#endif /* PayloadEnvelopeDocInc_H_ */
index 96e2103d31b48f065d0ebd565388b57eacd7fcca..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CAmqpBrokerCollectionDoc_h_
-#define CAmqpBrokerCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type AmqpBrokerCollection
-class CAmqpBrokerCollectionDoc {
-public:
-       CAmqpBrokerCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CAmqpBrokerCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCAmqpBrokerDoc> amqpBroker = std::deque<SmartPtrCAmqpBrokerDoc>()) {
-               if (! _isInitialized) {
-                       _amqpBroker = amqpBroker;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the AmqpBroker
-       std::deque<SmartPtrCAmqpBrokerDoc> getAmqpBroker() const {
-               return _amqpBroker;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCAmqpBrokerDoc> _amqpBroker;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CAmqpBrokerCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CAmqpBrokerCollectionDoc);
-
-}
-
-#endif
index 6962199646d098d11f7e3c9787cda9e122138be2..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,112 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: Nov 16, 2015
- *
- *  Copyright (c) 2015 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- */
-
-#ifndef CAmqpBrokerDoc_h_
-#define CAmqpBrokerDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type CAmqpBrokerDoc
-class CAmqpBrokerDoc {
-public:
-       CAmqpBrokerDoc() :
-               _isInitialized(false) {}
-       virtual ~CAmqpBrokerDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-                       const std::string& amqpBrokerId = std::string(),
-                       const std::string& uri = std::string(),
-                       const std::string& tlsCert = std::string(),
-                       const std::string& tlsProtocol = std::string(),
-                       const Cdeqstr& tlsCipherCollection = Cdeqstr(),
-                       const SmartPtrCCertCollectionDoc& tlsCertCollection = SmartPtrCCertCollectionDoc(),
-                       const std::string& tlsCertPath = std::string(),
-                       const SmartPtrCCertPathCollectionDoc& tlsCertPathCollection = SmartPtrCCertPathCollectionDoc()) {
-               if (! _isInitialized) {
-                       _amqpBrokerId = amqpBrokerId;
-                       _uri = uri;
-                       _tlsCert = tlsCert;
-                       _tlsProtocol = tlsProtocol;
-                       _tlsCipherCollection = tlsCipherCollection;
-                       _tlsCertCollection = tlsCertCollection;
-
-                       _tlsCertPath = tlsCertPath;
-                       _tlsCertPathCollection = tlsCertPathCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the AmqpBrokerId
-       std::string getAmqpBrokerId() const {
-               return _amqpBrokerId;
-       }
-
-       /// Accessor for the Uri
-       std::string getUri() const {
-               return _uri;
-       }
-
-       /// Accessor for the TlsCert
-       std::string getTlsCert() const {
-               return _tlsCert;
-       }
-
-       /// Accessor for the TlsProtocol
-       std::string getTlsProtocol() const {
-               return _tlsProtocol;
-       }
-
-       /// Accessor for the tlsCipherCollection
-       Cdeqstr getTlsCipherCollection() const {
-               return _tlsCipherCollection;
-       }
-
-       /// Accessor for the TlsCertCollection
-       SmartPtrCCertCollectionDoc getTlsCertCollection() const {
-               return _tlsCertCollection;
-       }
-
-       /// Accessor for the TlsCertPath
-       std::string getTlsCertPath() const {
-               return _tlsCertPath;
-       }
-
-       /// Accessor for the TlsCertPathCollection
-       SmartPtrCCertPathCollectionDoc getTlsCertPathCollection() const {
-               return _tlsCertPathCollection;
-       }
-
-private:
-       std::string _amqpBrokerId;
-       std::string _uri;
-       std::string _tlsCert;
-       std::string _tlsProtocol;
-       Cdeqstr _tlsCipherCollection;
-       SmartPtrCCertCollectionDoc _tlsCertCollection;
-
-       std::string _tlsCertPath;
-       SmartPtrCCertPathCollectionDoc _tlsCertPathCollection;
-
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CAmqpBrokerDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CAmqpBrokerDoc);
-
-}
-
-#endif
index 505967b0b0971db13e0bebbf78157dd7cfe6f2da..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CCertCollectionDoc_h_
-#define CCertCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type CertCollection
-class CCertCollectionDoc {
-public:
-       CCertCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CCertCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<std::string> certCollection = std::deque<std::string>()) {
-               if (! _isInitialized) {
-                       _certCollection = certCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Cert
-       std::deque<std::string> getCert() const {
-               return _certCollection;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<std::string> _certCollection;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CCertCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CCertCollectionDoc);
-
-}
-
-#endif
index 871c116771783ad4026b72bf7c26021e774411df..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CCertPathCollectionDoc_h_
-#define CCertPathCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type CertPathCollection
-class CCertPathCollectionDoc {
-public:
-       CCertPathCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CCertPathCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<std::string> certPathCollection = std::deque<std::string>()) {
-               if (! _isInitialized) {
-                       _certPathCollection = certPathCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Cert
-       std::deque<std::string> getCertPath() const {
-               return _certPathCollection;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<std::string> _certPathCollection;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CCertPathCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CCertPathCollectionDoc);
-
-}
-
-#endif
index fd99ab2d87fc230f747ff8ff7ae45769fd3d15db..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,88 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: Nov 16, 2015
- *
- *  Copyright (c) 2015 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- */
-
-#ifndef CLocalSecurityDoc_h_
-#define CLocalSecurityDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type CLocalSecurityDoc
-class CLocalSecurityDoc {
-public:
-       CLocalSecurityDoc() :
-               _isInitialized(false) {}
-       virtual ~CLocalSecurityDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-                       const std::string& localId = std::string(),
-                       const std::string& privateKey = std::string(),
-                       const std::string& cert = std::string(),
-                       const std::string& privateKeyPath = std::string(),
-                       const std::string& certPath = std::string()) {
-               if (! _isInitialized) {
-                       _localId = localId;
-                       _privateKey = privateKey;
-                       _cert = cert;
-
-                       _privateKeyPath = privateKeyPath;
-                       _certPath = certPath;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the LocalId
-       std::string getLocalId() const {
-               return _localId;
-       }
-
-       /// Accessor for the PrivateKey
-       std::string getPrivateKey() const {
-               return _privateKey;
-       }
-
-       /// Accessor for the Cert
-       std::string getCert() const {
-               return _cert;
-       }
-
-       /// Accessor for the PrivateKeyPath
-       std::string getPrivateKeyPath() const {
-               return _privateKeyPath;
-       }
-
-       /// Accessor for the CertPath
-       std::string getCertPath() const {
-               return _certPath;
-       }
-
-private:
-       std::string _localId;
-       std::string _privateKey;
-       std::string _cert;
-
-       std::string _privateKeyPath;
-       std::string _certPath;
-
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CLocalSecurityDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CLocalSecurityDoc);
-
-}
-
-#endif
index 0504ee6b9070e1e675e07019a23130e158c101f9..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,78 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: Nov 16, 2015
- *
- *  Copyright (c) 2015 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- */
-
-#ifndef CPersistenceDoc_h_
-#define CPersistenceDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type PersistenceEnvelope
-class CPersistenceDoc {
-public:
-       CPersistenceDoc() :
-               _isInitialized(false) {}
-       virtual ~CPersistenceDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const SmartPtrCLocalSecurityDoc& localSecurity = SmartPtrCLocalSecurityDoc(),
-               const SmartPtrCRemoteSecurityCollectionDoc& remoteSecurityCollection = SmartPtrCRemoteSecurityCollectionDoc(),
-               const SmartPtrCPersistenceProtocolDoc& persistenceProtocol = SmartPtrCPersistenceProtocolDoc(),
-               const std::string version = "1.0") {
-               if (! _isInitialized) {
-                       _localSecurity = localSecurity;
-                       _remoteSecurityCollection = remoteSecurityCollection;
-                       _persistenceProtocol = persistenceProtocol;
-                       _version = version;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the LocalSecurity
-       SmartPtrCLocalSecurityDoc getLocalSecurity() const {
-               return _localSecurity;
-       }
-
-       /// Accessor for the Protocol Collection
-       SmartPtrCRemoteSecurityCollectionDoc getRemoteSecurityCollection() const {
-               return _remoteSecurityCollection;
-       }
-
-       /// Accessor for the PersistenceProtocol
-       SmartPtrCPersistenceProtocolDoc getPersistenceProtocol() const {
-               return _persistenceProtocol;
-       }
-
-       /// Accessor for the version
-       std::string getVersion() const {
-               return _version;
-       }
-
-private:
-       SmartPtrCLocalSecurityDoc _localSecurity;
-       SmartPtrCRemoteSecurityCollectionDoc _remoteSecurityCollection;
-       SmartPtrCPersistenceProtocolDoc _persistenceProtocol;
-       std::string _version;
-
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CPersistenceDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CPersistenceDoc);
-
-}
-
-#endif
index 72af9a42b0ccbfc44daa5d361b700566fd95d1c2..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,54 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: Nov 16, 2015
- *
- *  Copyright (c) 2015 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- */
-
-#ifndef CPersistenceProtocolDoc_h_
-#define CPersistenceProtocolDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type CPersistenceProtocolDoc
-class CPersistenceProtocolDoc {
-public:
-       CPersistenceProtocolDoc() :
-               _isInitialized(false) {}
-       virtual ~CPersistenceProtocolDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const SmartPtrCAmqpBrokerCollectionDoc& amqpBrokerCollection = SmartPtrCAmqpBrokerCollectionDoc()) {
-               if (! _isInitialized) {
-                       _amqpBrokerCollection = amqpBrokerCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the AmqpBrokerCollection
-       SmartPtrCAmqpBrokerCollectionDoc getAmqpBrokerCollection() const {
-               return _amqpBrokerCollection;
-       }
-
-private:
-       SmartPtrCAmqpBrokerCollectionDoc _amqpBrokerCollection;
-
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CPersistenceProtocolDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CPersistenceProtocolDoc);
-
-}
-
-#endif
index 978b59fb18291d82621b2c7fbd7c4d403e780a64..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CRemoteSecurityCollectionDoc_h_
-#define CRemoteSecurityCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type RemoteSecurityCollection
-class CRemoteSecurityCollectionDoc {
-public:
-       CRemoteSecurityCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CRemoteSecurityCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCRemoteSecurityDoc> remoteSecurity = std::deque<SmartPtrCRemoteSecurityDoc>()) {
-               if (! _isInitialized) {
-                       _remoteSecurity = remoteSecurity;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the RemoteSecurity
-       std::deque<SmartPtrCRemoteSecurityDoc> getRemoteSecurity() const {
-               return _remoteSecurity;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCRemoteSecurityDoc> _remoteSecurity;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CRemoteSecurityCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CRemoteSecurityCollectionDoc);
-
-}
-
-#endif
index 9411fc565c3047b56c358940db5587a3ea272958..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,104 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: Nov 16, 2015
- *
- *  Copyright (c) 2015 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- */
-
-#ifndef CRemoteSecurityDoc_h_
-#define CRemoteSecurityDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type CRemoteSecurityDoc
-class CRemoteSecurityDoc {
-public:
-       CRemoteSecurityDoc() :
-               _isInitialized(false) {}
-       virtual ~CRemoteSecurityDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string& remoteId = std::string(),
-               const std::string& protocolName = std::string(),
-               const std::string& cmsCert = std::string(),
-               const std::string& cmsCipherName = std::string(),
-               const SmartPtrCCertCollectionDoc& cmsCertCollection = SmartPtrCCertCollectionDoc(),
-               const std::string& cmsCertPath = std::string(),
-               const SmartPtrCCertPathCollectionDoc& cmsCertPathCollection = SmartPtrCCertPathCollectionDoc()) {
-               if (! _isInitialized) {
-                       _remoteId = remoteId;
-                       _protocolName = protocolName;
-                       _cmsCert = cmsCert;
-                       _cmsCipherName = cmsCipherName;
-                       _cmsCertCollection = cmsCertCollection;
-
-                       _cmsCertPath = cmsCertPath;
-                       _cmsCertPathCollection = cmsCertPathCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the RemoteId
-       std::string getRemoteId() const {
-               return _remoteId;
-       }
-
-       /// Accessor for the ProtocolName
-       std::string getProtocolName() const {
-               return _protocolName;
-       }
-
-       /// Accessor for the cmsCert
-       std::string getCmsCert() const {
-               return _cmsCert;
-       }
-
-       /// Accessor for the CmsCipher
-       std::string getCmsCipherName() const {
-               return _cmsCipherName;
-       }
-
-       /// Accessor for the CertCollection
-       SmartPtrCCertCollectionDoc getCmsCertCollection() const {
-               return _cmsCertCollection;
-       }
-
-       /// Accessor for the cmsCertPath
-       std::string getCmsCertPath() const {
-               return _cmsCertPath;
-       }
-
-       /// Accessor for the CertPathCollection
-       SmartPtrCCertPathCollectionDoc getCmsCertPathCollection() const {
-               return _cmsCertPathCollection;
-       }
-
-private:
-       std::string _remoteId;
-       std::string _protocolName;
-       std::string _cmsCert;
-       std::string _cmsCipherName;
-       SmartPtrCCertCollectionDoc _cmsCertCollection;
-
-       std::string _cmsCertPath;
-       SmartPtrCCertPathCollectionDoc _cmsCertPathCollection;
-
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CRemoteSecurityDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CRemoteSecurityDoc);
-
-}
-
-#endif
index 96bc1878214982e9b8bd70ef7c6a327e013520cd..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,22 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: April 6, 2012
- *
- *     Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef PersistenceDocInc_H_
-#define PersistenceDocInc_H_
-
-#include "CCertCollectionDoc.h"
-#include "CCertPathCollectionDoc.h"
-#include "CAmqpBrokerDoc.h"
-#include "CAmqpBrokerCollectionDoc.h"
-#include "CRemoteSecurityDoc.h"
-#include "CRemoteSecurityCollectionDoc.h"
-#include "CLocalSecurityDoc.h"
-#include "CPersistenceProtocolDoc.h"
-#include "CPersistenceDoc.h"
-
-#endif /* PersistenceDocInc_H_ */
index 5a5ffbab14e4c60cc129bdae90e87719916addd4..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CClassCollectionDoc_h_
-#define CClassCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type ClassCollection
-class CClassCollectionDoc {
-public:
-       CClassCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CClassCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCFullyQualifiedClassGroupDoc> fullyQualifiedClass) {
-               if (! _isInitialized) {
-                       _fullyQualifiedClass = fullyQualifiedClass;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the FullyQualifiedClass
-       std::deque<SmartPtrCFullyQualifiedClassGroupDoc> getFullyQualifiedClass() const {
-               return _fullyQualifiedClass;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCFullyQualifiedClassGroupDoc> _fullyQualifiedClass;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CClassCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CClassCollectionDoc);
-
-}
-
-#endif
index bf8a632f5a0430dec31f44fce313a16ae863cf7e..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,98 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CProviderRegDoc_h_
-#define CProviderRegDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type ProviderReg
-class CProviderRegDoc {
-public:
-       CProviderRegDoc() :
-               _staleSec(0),
-               _isSchemaVisible(false),
-               _isInitialized(false) {}
-       virtual ~CProviderRegDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string providerNamespace,
-               const std::string providerName,
-               const std::string providerVersion,
-               const int32 staleSec,
-               const bool isSchemaVisible,
-               const std::string invokerRelPath) {
-               if (! _isInitialized) {
-                       _providerNamespace = providerNamespace;
-                       _providerName = providerName;
-                       _providerVersion = providerVersion;
-                       _staleSec = staleSec;
-                       _isSchemaVisible = isSchemaVisible;
-                       _invokerRelPath = invokerRelPath;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ProviderNamespace
-       std::string getProviderNamespace() const {
-               return _providerNamespace;
-       }
-
-       /// Accessor for the ProviderName
-       std::string getProviderName() const {
-               return _providerName;
-       }
-
-       /// Accessor for the ProviderVersion
-       std::string getProviderVersion() const {
-               return _providerVersion;
-       }
-
-       /// Accessor for the StaleSec
-       int32 getStaleSec() const {
-               return _staleSec;
-       }
-
-       /// Accessor for the IsSchemaVisible
-       bool getIsSchemaVisible() const {
-               return _isSchemaVisible;
-       }
-
-       /// Accessor for the InvokerRelPath
-       std::string getInvokerRelPath() const {
-               return _invokerRelPath;
-       }
-
-private:
-       std::string _providerNamespace;
-       std::string _providerName;
-       std::string _providerVersion;
-       int32 _staleSec;
-       bool _isSchemaVisible;
-       std::string _invokerRelPath;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CProviderRegDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CProviderRegDoc);
-
-}
-
-#endif
index 08d3e33c393373575cc51690d89bb2f39ba55130..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,89 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CSchemaSummaryDoc_h_
-#define CSchemaSummaryDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type SchemaSummary
-class CSchemaSummaryDoc {
-public:
-       CSchemaSummaryDoc() :
-               _isInitialized(false) {}
-       virtual ~CSchemaSummaryDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string providerNamespace,
-               const std::string providerName,
-               const std::string providerVersion,
-               const SmartPtrCClassCollectionDoc classCollection,
-               const std::string invokerPath) {
-               if (! _isInitialized) {
-                       _providerNamespace = providerNamespace;
-                       _providerName = providerName;
-                       _providerVersion = providerVersion;
-                       _classCollection = classCollection;
-                       _invokerPath = invokerPath;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ProviderNamespace
-       std::string getProviderNamespace() const {
-               return _providerNamespace;
-       }
-
-       /// Accessor for the ProviderName
-       std::string getProviderName() const {
-               return _providerName;
-       }
-
-       /// Accessor for the ProviderVersion
-       std::string getProviderVersion() const {
-               return _providerVersion;
-       }
-
-       /// Accessor for the ClassCollection
-       SmartPtrCClassCollectionDoc getClassCollection() const {
-               return _classCollection;
-       }
-
-       /// Accessor for the InvokerPath
-       std::string getInvokerPath() const {
-               return _invokerPath;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _providerNamespace;
-       std::string _providerName;
-       std::string _providerVersion;
-       SmartPtrCClassCollectionDoc _classCollection;
-       std::string _invokerPath;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CSchemaSummaryDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CSchemaSummaryDoc);
-
-}
-
-#endif
index 7854841edfdb8b64f71780ae837974ef98a40541..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,16 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: April 6, 2012
- *
- *     Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef PROVIDERINFRADOCINC_H_
-#define PROVIDERINFRADOCINC_H_
-
-#include "CClassCollectionDoc.h"
-#include "CProviderRegDoc.h"
-#include "CSchemaSummaryDoc.h"
-
-#endif /* PROVIDERINFRADOCINC_H_ */
index 59523032310389331628fa36aaa1f6e1dc35bbcf..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,73 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CProviderBatchDoc_h_
-#define CProviderBatchDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type ProviderBatch
-class CProviderBatchDoc {
-public:
-       CProviderBatchDoc() :
-               _isInitialized(false) {}
-       virtual ~CProviderBatchDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string outputDir,
-               const SmartPtrCProviderCollectInstancesCollectionDoc collectInstancesCollection,
-               const SmartPtrCProviderInvokeOperationCollectionDoc invokeOperationCollection) {
-               if (! _isInitialized) {
-                       _outputDir = outputDir;
-                       _collectInstancesCollection = collectInstancesCollection;
-                       _invokeOperationCollection = invokeOperationCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the OutputDir
-       std::string getOutputDir() const {
-               return _outputDir;
-       }
-
-       /// Accessor for the CollectInstancesCollection
-       SmartPtrCProviderCollectInstancesCollectionDoc getCollectInstancesCollection() const {
-               return _collectInstancesCollection;
-       }
-
-       /// Accessor for the InvokeOperationCollection
-       SmartPtrCProviderInvokeOperationCollectionDoc getInvokeOperationCollection() const {
-               return _invokeOperationCollection;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _outputDir;
-       SmartPtrCProviderCollectInstancesCollectionDoc _collectInstancesCollection;
-       SmartPtrCProviderInvokeOperationCollectionDoc _invokeOperationCollection;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CProviderBatchDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CProviderBatchDoc);
-
-}
-
-#endif
index f2702147da2fb3b85e7e7584ddbb8b594e122eb9..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CProviderCollectInstancesCollectionDoc_h_
-#define CProviderCollectInstancesCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type ProviderCollectInstancesCollection
-class CProviderCollectInstancesCollectionDoc {
-public:
-       CProviderCollectInstancesCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CProviderCollectInstancesCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCProviderCollectInstancesDoc> collectInstances) {
-               if (! _isInitialized) {
-                       _collectInstances = collectInstances;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the CollectInstances
-       std::deque<SmartPtrCProviderCollectInstancesDoc> getCollectInstances() const {
-               return _collectInstances;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCProviderCollectInstancesDoc> _collectInstances;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CProviderCollectInstancesCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CProviderCollectInstancesCollectionDoc);
-
-}
-
-#endif
index 768ba550de793b1b98e9ec8a93ca3fe90955e00c..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,97 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CProviderCollectInstancesDoc_h_
-#define CProviderCollectInstancesDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type ProviderCollectInstances
-class CProviderCollectInstancesDoc {
-public:
-       CProviderCollectInstancesDoc() :
-               _jobId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CProviderCollectInstancesDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string classNamespace,
-               const std::string className,
-               const std::string classVersion,
-               const UUID jobId,
-               const std::string outputDir,
-               const SmartPtrCParameterCollectionDoc parameterCollection) {
-               if (! _isInitialized) {
-                       _classNamespace = classNamespace;
-                       _className = className;
-                       _classVersion = classVersion;
-                       _jobId = jobId;
-                       _outputDir = outputDir;
-                       _parameterCollection = parameterCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ClassNamespace
-       std::string getClassNamespace() const {
-               return _classNamespace;
-       }
-
-       /// Accessor for the ClassName
-       std::string getClassName() const {
-               return _className;
-       }
-
-       /// Accessor for the ClassVersion
-       std::string getClassVersion() const {
-               return _classVersion;
-       }
-
-       /// Accessor for the JobId
-       UUID getJobId() const {
-               return _jobId;
-       }
-
-       /// Accessor for the OutputDir
-       std::string getOutputDir() const {
-               return _outputDir;
-       }
-
-       /// Accessor for the ParameterCollection
-       SmartPtrCParameterCollectionDoc getParameterCollection() const {
-               return _parameterCollection;
-       }
-
-private:
-       std::string _classNamespace;
-       std::string _className;
-       std::string _classVersion;
-       UUID _jobId;
-       std::string _outputDir;
-       SmartPtrCParameterCollectionDoc _parameterCollection;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CProviderCollectInstancesDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CProviderCollectInstancesDoc);
-
-}
-
-#endif
index 26d5c5d7865cf26f9d0dbbf4e27af98c3060a251..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,99 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CProviderCollectSchemaRequestDoc_h_
-#define CProviderCollectSchemaRequestDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type ProviderCollectSchemaRequest
-class CProviderCollectSchemaRequestDoc {
-public:
-       CProviderCollectSchemaRequestDoc() :
-               _clientId(CAFCOMMON_GUID_NULL),
-               _requestId(CAFCOMMON_GUID_NULL),
-               _jobId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CProviderCollectSchemaRequestDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const UUID clientId,
-               const UUID requestId,
-               const std::string pmeId,
-               const UUID jobId,
-               const std::string outputDir,
-               const SmartPtrCProviderRequestHeaderDoc requestHeader) {
-               if (! _isInitialized) {
-                       _clientId = clientId;
-                       _requestId = requestId;
-                       _pmeId = pmeId;
-                       _jobId = jobId;
-                       _outputDir = outputDir;
-                       _requestHeader = requestHeader;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ClientId
-       UUID getClientId() const {
-               return _clientId;
-       }
-
-       /// Accessor for the RequestId
-       UUID getRequestId() const {
-               return _requestId;
-       }
-
-       /// Accessor for the PmeId
-       std::string getPmeId() const {
-               return _pmeId;
-       }
-
-       /// Accessor for the JobId
-       UUID getJobId() const {
-               return _jobId;
-       }
-
-       /// Accessor for the OutputDir
-       std::string getOutputDir() const {
-               return _outputDir;
-       }
-
-       /// Accessor for the RequestHeader
-       SmartPtrCProviderRequestHeaderDoc getRequestHeader() const {
-               return _requestHeader;
-       }
-
-private:
-       UUID _clientId;
-       UUID _requestId;
-       std::string _pmeId;
-       UUID _jobId;
-       std::string _outputDir;
-       SmartPtrCProviderRequestHeaderDoc _requestHeader;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CProviderCollectSchemaRequestDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CProviderCollectSchemaRequestDoc);
-
-}
-
-#endif
index 903efcd07bdfb0aaa95eae559d1b358235862bb4..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CProviderInvokeOperationCollectionDoc_h_
-#define CProviderInvokeOperationCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type ProviderInvokeOperationCollection
-class CProviderInvokeOperationCollectionDoc {
-public:
-       CProviderInvokeOperationCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CProviderInvokeOperationCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCProviderInvokeOperationDoc> invokeOperation) {
-               if (! _isInitialized) {
-                       _invokeOperation = invokeOperation;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the InvokeOperation
-       std::deque<SmartPtrCProviderInvokeOperationDoc> getInvokeOperation() const {
-               return _invokeOperation;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCProviderInvokeOperationDoc> _invokeOperation;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CProviderInvokeOperationCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CProviderInvokeOperationCollectionDoc);
-
-}
-
-#endif
index 1bff3328a7389b1f640fb23bed87bd6c869837b8..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,97 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CProviderInvokeOperationDoc_h_
-#define CProviderInvokeOperationDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type ProviderInvokeOperation
-class CProviderInvokeOperationDoc {
-public:
-       CProviderInvokeOperationDoc() :
-               _jobId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CProviderInvokeOperationDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string classNamespace,
-               const std::string className,
-               const std::string classVersion,
-               const UUID jobId,
-               const std::string outputDir,
-               const SmartPtrCOperationDoc operation) {
-               if (! _isInitialized) {
-                       _classNamespace = classNamespace;
-                       _className = className;
-                       _classVersion = classVersion;
-                       _jobId = jobId;
-                       _outputDir = outputDir;
-                       _operation = operation;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ClassNamespace
-       std::string getClassNamespace() const {
-               return _classNamespace;
-       }
-
-       /// Accessor for the ClassName
-       std::string getClassName() const {
-               return _className;
-       }
-
-       /// Accessor for the ClassVersion
-       std::string getClassVersion() const {
-               return _classVersion;
-       }
-
-       /// Accessor for the JobId
-       UUID getJobId() const {
-               return _jobId;
-       }
-
-       /// Accessor for the OutputDir
-       std::string getOutputDir() const {
-               return _outputDir;
-       }
-
-       /// Accessor for the Operation
-       SmartPtrCOperationDoc getOperation() const {
-               return _operation;
-       }
-
-private:
-       std::string _classNamespace;
-       std::string _className;
-       std::string _classVersion;
-       UUID _jobId;
-       std::string _outputDir;
-       SmartPtrCOperationDoc _operation;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CProviderInvokeOperationDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CProviderInvokeOperationDoc);
-
-}
-
-#endif
index ab3b11dce56f3cb719f2dc8c13e7da6355efcbeb..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,65 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CProviderRequestConfigDoc_h_
-#define CProviderRequestConfigDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type ProviderRequestConfig
-class CProviderRequestConfigDoc {
-public:
-       CProviderRequestConfigDoc() :
-               _isInitialized(false) {}
-       virtual ~CProviderRequestConfigDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string responseFormatType,
-               const SmartPtrCLoggingLevelCollectionDoc loggingLevelCollection) {
-               if (! _isInitialized) {
-                       _responseFormatType = responseFormatType;
-                       _loggingLevelCollection = loggingLevelCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ResponseFormatType
-       std::string getResponseFormatType() const {
-               return _responseFormatType;
-       }
-
-       /// Accessor for the LoggingLevelCollection
-       SmartPtrCLoggingLevelCollectionDoc getLoggingLevelCollection() const {
-               return _loggingLevelCollection;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _responseFormatType;
-       SmartPtrCLoggingLevelCollectionDoc _loggingLevelCollection;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CProviderRequestConfigDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CProviderRequestConfigDoc);
-
-}
-
-#endif
index d82777a6f0cd36f7f0c952f24dab99b5abd33e7f..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,98 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CProviderRequestDoc_h_
-#define CProviderRequestDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type ProviderRequest
-class CProviderRequestDoc {
-public:
-       CProviderRequestDoc() :
-               _clientId(CAFCOMMON_GUID_NULL),
-               _requestId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CProviderRequestDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const UUID clientId,
-               const UUID requestId,
-               const std::string pmeId,
-               const SmartPtrCProviderRequestHeaderDoc requestHeader,
-               const SmartPtrCProviderBatchDoc batch,
-               const SmartPtrCAttachmentCollectionDoc attachmentCollection) {
-               if (! _isInitialized) {
-                       _clientId = clientId;
-                       _requestId = requestId;
-                       _pmeId = pmeId;
-                       _requestHeader = requestHeader;
-                       _batch = batch;
-                       _attachmentCollection = attachmentCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ClientId
-       UUID getClientId() const {
-               return _clientId;
-       }
-
-       /// Accessor for the RequestId
-       UUID getRequestId() const {
-               return _requestId;
-       }
-
-       /// Accessor for the PmeId
-       std::string getPmeId() const {
-               return _pmeId;
-       }
-
-       /// Accessor for the RequestHeader
-       SmartPtrCProviderRequestHeaderDoc getRequestHeader() const {
-               return _requestHeader;
-       }
-
-       /// Accessor for the Batch
-       SmartPtrCProviderBatchDoc getBatch() const {
-               return _batch;
-       }
-
-       /// Accessor for the AttachmentCollection
-       SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const {
-               return _attachmentCollection;
-       }
-
-private:
-       UUID _clientId;
-       UUID _requestId;
-       std::string _pmeId;
-       SmartPtrCProviderRequestHeaderDoc _requestHeader;
-       SmartPtrCProviderBatchDoc _batch;
-       SmartPtrCAttachmentCollectionDoc _attachmentCollection;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CProviderRequestDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CProviderRequestDoc);
-
-}
-
-#endif
index e7f2d7d992d62b1ec0ddbf43c2970f94b85e98df..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,65 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CProviderRequestHeaderDoc_h_
-#define CProviderRequestHeaderDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type ProviderRequestHeader
-class CProviderRequestHeaderDoc {
-public:
-       CProviderRequestHeaderDoc() :
-               _isInitialized(false) {}
-       virtual ~CProviderRequestHeaderDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const SmartPtrCProviderRequestConfigDoc requestConfig,
-               const SmartPtrCPropertyCollectionDoc echoPropertyBag) {
-               if (! _isInitialized) {
-                       _requestConfig = requestConfig;
-                       _echoPropertyBag = echoPropertyBag;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the RequestConfig
-       SmartPtrCProviderRequestConfigDoc getRequestConfig() const {
-               return _requestConfig;
-       }
-
-       /// Accessor for the EchoPropertyBag
-       SmartPtrCPropertyCollectionDoc getEchoPropertyBag() const {
-               return _echoPropertyBag;
-       }
-
-private:
-       bool _isInitialized;
-
-       SmartPtrCProviderRequestConfigDoc _requestConfig;
-       SmartPtrCPropertyCollectionDoc _echoPropertyBag;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CProviderRequestHeaderDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CProviderRequestHeaderDoc);
-
-}
-
-#endif
index 9cbda8397fbf5c8e2e4e46c673c6724e1ec94598..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,26 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: April 6, 2012
- *
- *     Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef PROVIDERREQUESTDOCINC_H_
-#define PROVIDERREQUESTDOCINC_H_
-
-#include "CProviderCollectInstancesDoc.h"
-#include "CProviderCollectInstancesCollectionDoc.h"
-
-#include "CProviderInvokeOperationDoc.h"
-#include "CProviderInvokeOperationCollectionDoc.h"
-
-#include "CProviderRequestConfigDoc.h"
-#include "CProviderRequestHeaderDoc.h"
-
-#include "CProviderBatchDoc.h"
-
-#include "CProviderRequestDoc.h"
-#include "CProviderCollectSchemaRequestDoc.h"
-
-#endif /* PROVIDERREQUESTDOCINC_H_ */
index aaf39734239873d37c8054a41b62c982b33d82a4..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,73 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CCdifDoc_h_
-#define CCdifDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type Cdif
-class CCdifDoc {
-public:
-       CCdifDoc() :
-               _isInitialized(false) {}
-       virtual ~CCdifDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const SmartPtrCRequestIdentifierDoc requestIdentifier,
-               const SmartPtrCDefinitionObjectCollectionDoc definitionObjectCollection,
-               const SmartPtrCSchemaDoc schema) {
-               if (! _isInitialized) {
-                       _requestIdentifier = requestIdentifier;
-                       _definitionObjectCollection = definitionObjectCollection;
-                       _schema = schema;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the RequestIdentifier
-       SmartPtrCRequestIdentifierDoc getRequestIdentifier() const {
-               return _requestIdentifier;
-       }
-
-       /// Accessor for the DefinitionObjectCollection
-       SmartPtrCDefinitionObjectCollectionDoc getDefinitionObjectCollection() const {
-               return _definitionObjectCollection;
-       }
-
-       /// Accessor for the Schema
-       SmartPtrCSchemaDoc getSchema() const {
-               return _schema;
-       }
-
-private:
-       bool _isInitialized;
-
-       SmartPtrCRequestIdentifierDoc _requestIdentifier;
-       SmartPtrCDefinitionObjectCollectionDoc _definitionObjectCollection;
-       SmartPtrCSchemaDoc _schema;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CCdifDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CCdifDoc);
-
-}
-
-#endif
index b56dcc55be03e83b801d6b33a0c6bf5366758fee..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CDefinitionObjectCollectionDoc_h_
-#define CDefinitionObjectCollectionDoc_h_
-
-namespace Caf {
-
-/// Set of elements containing data returned as a result of a provider collection or action
-class CDefinitionObjectCollectionDoc {
-public:
-       CDefinitionObjectCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CDefinitionObjectCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<std::string> value) {
-               if (! _isInitialized) {
-                       _value = value;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Value
-       std::deque<std::string> getValue() const {
-               return _value;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<std::string> _value;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CDefinitionObjectCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CDefinitionObjectCollectionDoc);
-
-}
-
-#endif
index 673fbfb2139b957e12a17dce3c8d474723ae818c..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,100 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CRequestIdentifierDoc_h_
-#define CRequestIdentifierDoc_h_
-
-namespace Caf {
-
-/// Fields that allow client to determine which request resulted in this response document
-class CRequestIdentifierDoc {
-public:
-       CRequestIdentifierDoc() :
-               _clientId(CAFCOMMON_GUID_NULL),
-               _requestId(CAFCOMMON_GUID_NULL),
-               _jobId(CAFCOMMON_GUID_NULL),
-               _sessionId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CRequestIdentifierDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const UUID clientId,
-               const UUID requestId,
-               const std::string pmeId,
-               const UUID jobId,
-               const SmartPtrCActionClassDoc actionClass,
-               const UUID sessionId) {
-               if (! _isInitialized) {
-                       _clientId = clientId;
-                       _requestId = requestId;
-                       _pmeId = pmeId;
-                       _jobId = jobId;
-                       _actionClass = actionClass;
-                       _sessionId = sessionId;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ClientId
-       UUID getClientId() const {
-               return _clientId;
-       }
-
-       /// Accessor for the RequestId
-       UUID getRequestId() const {
-               return _requestId;
-       }
-
-       /// Accessor for the PmeId
-       std::string getPmeId() const {
-               return _pmeId;
-       }
-
-       /// Identifier of the specific job within the request
-       UUID getJobId() const {
-               return _jobId;
-       }
-
-       /// Accessor for the ActionClass
-       SmartPtrCActionClassDoc getActionClass() const {
-               return _actionClass;
-       }
-
-       /// Client-configurable identifier that is opaque (not used) by the Common Agent Framework
-       UUID getSessionId() const {
-               return _sessionId;
-       }
-
-private:
-       UUID _clientId;
-       UUID _requestId;
-       std::string _pmeId;
-       UUID _jobId;
-       SmartPtrCActionClassDoc _actionClass;
-       UUID _sessionId;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CRequestIdentifierDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CRequestIdentifierDoc);
-
-}
-
-#endif
index 77058e3ec2aa99a2c39ef4da7b397b72c44438e1..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,81 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CSchemaDoc_h_
-#define CSchemaDoc_h_
-
-namespace Caf {
-
-/// Set of elements describing the objects that can be generated by the provider
-class CSchemaDoc {
-public:
-       CSchemaDoc() :
-               _isInitialized(false) {}
-       virtual ~CSchemaDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCDataClassDoc> dataClassCollection,
-               const std::deque<SmartPtrCActionClassDoc> actionClassCollection,
-               const std::deque<SmartPtrCLogicalRelationshipDoc> logicalRelationshipCollection = std::deque<SmartPtrCLogicalRelationshipDoc>(),
-               const std::deque<SmartPtrCPhysicalRelationshipDoc> physicalRelationshipCollection = std::deque<SmartPtrCPhysicalRelationshipDoc>()) {
-               if (! _isInitialized) {
-                       _dataClassCollection = dataClassCollection;
-                       _actionClassCollection = actionClassCollection;
-                       _logicalRelationshipCollection = logicalRelationshipCollection;
-                       _physicalRelationshipCollection = physicalRelationshipCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the DataClassCollection
-       std::deque<SmartPtrCDataClassDoc> getDataClassCollection() const {
-               return _dataClassCollection;
-       }
-
-       /// Accessor for the ActionClassCollection
-       std::deque<SmartPtrCActionClassDoc> getActionClassCollection() const {
-               return _actionClassCollection;
-       }
-
-       /// Accessor for the LogicalRelationshipCollection
-       std::deque<SmartPtrCLogicalRelationshipDoc> getLogicalRelationshipCollection() const {
-               return _logicalRelationshipCollection;
-       }
-
-       /// Accessor for the PhysicalRelationshipCollection
-       std::deque<SmartPtrCPhysicalRelationshipDoc> getPhysicalRelationshipCollection() const {
-               return _physicalRelationshipCollection;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCDataClassDoc> _dataClassCollection;
-       std::deque<SmartPtrCActionClassDoc> _actionClassCollection;
-       std::deque<SmartPtrCLogicalRelationshipDoc> _logicalRelationshipCollection;
-       std::deque<SmartPtrCPhysicalRelationshipDoc> _physicalRelationshipCollection;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CSchemaDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CSchemaDoc);
-
-}
-
-#endif
index 867cd7a61c59edfb7f52b3b6bc41baf208cebbd1..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,17 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: April 6, 2012
- *
- *     Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef PROVIDERRESULTSDOCINC_H_
-#define PROVIDERRESULTSDOCINC_H_
-
-#include "CDefinitionObjectCollectionDoc.h"
-#include "CRequestIdentifierDoc.h"
-#include "CSchemaDoc.h"
-#include "CCdifDoc.h"
-
-#endif /* PROVIDERRESULTSDOCINC_H_ */
index 6422f24b43cc136360293daf3d5597421496e9ca..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,90 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CErrorResponseDoc_h_
-#define CErrorResponseDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type ErrorResponse
-class CErrorResponseDoc {
-public:
-       CErrorResponseDoc() :
-               _clientId(CAFCOMMON_GUID_NULL),
-               _requestId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CErrorResponseDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const UUID clientId,
-               const UUID requestId,
-               const std::string pmeId,
-               const SmartPtrCResponseHeaderDoc responseHeader,
-               const std::string errorMessage) {
-               if (! _isInitialized) {
-                       _clientId = clientId;
-                       _requestId = requestId;
-                       _pmeId = pmeId;
-                       _responseHeader = responseHeader;
-                       _errorMessage = errorMessage;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ClientId
-       UUID getClientId() const {
-               return _clientId;
-       }
-
-       /// Accessor for the RequestId
-       UUID getRequestId() const {
-               return _requestId;
-       }
-
-       /// Accessor for the PmeId
-       std::string getPmeId() const {
-               return _pmeId;
-       }
-
-       /// Accessor for the Response Header
-       SmartPtrCResponseHeaderDoc getResponseHeader() const {
-               return _responseHeader;
-       }
-
-       /// Accessor for the ErrorMessage
-       std::string getErrorMessage() const {
-               return _errorMessage;
-       }
-
-private:
-       UUID _clientId;
-       UUID _requestId;
-       std::string _pmeId;
-       SmartPtrCResponseHeaderDoc _responseHeader;
-       std::string _errorMessage;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CErrorResponseDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CErrorResponseDoc);
-
-}
-
-#endif
index 81408cfe9c2ffb88c72150eff96a4be5be5d684c..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CEventKeyCollectionDoc_h_
-#define CEventKeyCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type EventKeyCollection
-class CEventKeyCollectionDoc {
-public:
-       CEventKeyCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CEventKeyCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCEventKeyDoc> eventKey) {
-               if (! _isInitialized) {
-                       _eventKey = eventKey;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the EventKey
-       std::deque<SmartPtrCEventKeyDoc> getEventKey() const {
-               return _eventKey;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCEventKeyDoc> _eventKey;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CEventKeyCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CEventKeyCollectionDoc);
-
-}
-
-#endif
index 663d278ce071c2fef96ec38ee0cf0570b7eb085b..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,65 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CEventKeyDoc_h_
-#define CEventKeyDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type EventKey
-class CEventKeyDoc {
-public:
-       CEventKeyDoc() :
-               _isInitialized(false) {}
-       virtual ~CEventKeyDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string name,
-               const std::string value) {
-               if (! _isInitialized) {
-                       _name = name;
-                       _value = value;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the Value
-       std::string getValue() const {
-               return _value;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _name;
-       std::string _value;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CEventKeyDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CEventKeyDoc);
-
-}
-
-#endif
index a9a1ea6dd71045a70411f6932c158c402e493fee..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,89 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CEventManifestDoc_h_
-#define CEventManifestDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type EventManifest
-class CEventManifestDoc {
-public:
-       CEventManifestDoc() :
-               _isInitialized(false) {}
-       virtual ~CEventManifestDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string classNamespace,
-               const std::string className,
-               const std::string classVersion,
-               const std::string operationName,
-               const SmartPtrCAttachmentCollectionDoc attachmentCollection) {
-               if (! _isInitialized) {
-                       _classNamespace = classNamespace;
-                       _className = className;
-                       _classVersion = classVersion;
-                       _operationName = operationName;
-                       _attachmentCollection = attachmentCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ClassNamespace
-       std::string getClassNamespace() const {
-               return _classNamespace;
-       }
-
-       /// Accessor for the ClassName
-       std::string getClassName() const {
-               return _className;
-       }
-
-       /// Accessor for the ClassVersion
-       std::string getClassVersion() const {
-               return _classVersion;
-       }
-
-       /// Accessor for the OperationName
-       std::string getOperationName() const {
-               return _operationName;
-       }
-
-       /// Accessor for the AttachmentCollection
-       SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const {
-               return _attachmentCollection;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _classNamespace;
-       std::string _className;
-       std::string _classVersion;
-       std::string _operationName;
-       SmartPtrCAttachmentCollectionDoc _attachmentCollection;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CEventManifestDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CEventManifestDoc);
-
-}
-
-#endif
index 005c3ad1266ab4e049c79b98529243d53e28c3be..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CManifestCollectionDoc_h_
-#define CManifestCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type ManifestCollection
-class CManifestCollectionDoc {
-public:
-       CManifestCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CManifestCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCManifestDoc> manifest) {
-               if (! _isInitialized) {
-                       _manifest = manifest;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Manifest
-       std::deque<SmartPtrCManifestDoc> getManifest() const {
-               return _manifest;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCManifestDoc> _manifest;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CManifestCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CManifestCollectionDoc);
-
-}
-
-#endif
index 767c6383d5c9f134eda54a188d40dd93eb56b6fd..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,97 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CManifestDoc_h_
-#define CManifestDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type Manifest
-class CManifestDoc {
-public:
-       CManifestDoc() :
-               _jobId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CManifestDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string classNamespace,
-               const std::string className,
-               const std::string classVersion,
-               const UUID jobId,
-               const std::string operationName,
-               const SmartPtrCAttachmentNameCollectionDoc attachmentNameCollection) {
-               if (! _isInitialized) {
-                       _classNamespace = classNamespace;
-                       _className = className;
-                       _classVersion = classVersion;
-                       _jobId = jobId;
-                       _operationName = operationName;
-                       _attachmentNameCollection = attachmentNameCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ClassNamespace
-       std::string getClassNamespace() const {
-               return _classNamespace;
-       }
-
-       /// Accessor for the ClassName
-       std::string getClassName() const {
-               return _className;
-       }
-
-       /// Accessor for the ClassVersion
-       std::string getClassVersion() const {
-               return _classVersion;
-       }
-
-       /// Accessor for the JobId
-       UUID getJobId() const {
-               return _jobId;
-       }
-
-       /// Accessor for the OperationName
-       std::string getOperationName() const {
-               return _operationName;
-       }
-
-       /// Accessor for the AttachmentNameCollection
-       SmartPtrCAttachmentNameCollectionDoc getAttachmentNameCollection() const {
-               return _attachmentNameCollection;
-       }
-
-private:
-       std::string _classNamespace;
-       std::string _className;
-       std::string _classVersion;
-       UUID _jobId;
-       std::string _operationName;
-       SmartPtrCAttachmentNameCollectionDoc _attachmentNameCollection;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CManifestDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CManifestDoc);
-
-}
-
-#endif
index 90ed428f8e8b279890f3325cd8a4ff0d71b72f64..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,89 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CProviderEventResponseDoc_h_
-#define CProviderEventResponseDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type ProviderEventResponse
-class CProviderEventResponseDoc {
-public:
-       CProviderEventResponseDoc() :
-               _isInitialized(false) {}
-       virtual ~CProviderEventResponseDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string pmeId,
-               const SmartPtrCResponseHeaderDoc responseHeader,
-               const SmartPtrCEventManifestDoc manifest,
-               const SmartPtrCEventKeyCollectionDoc eventKeyCollection,
-               const SmartPtrCStatisticsDoc statistics) {
-               if (! _isInitialized) {
-                       _pmeId = pmeId;
-                       _responseHeader = responseHeader;
-                       _manifest = manifest;
-                       _eventKeyCollection = eventKeyCollection;
-                       _statistics = statistics;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the PmeId
-       std::string getPmeId() const {
-               return _pmeId;
-       }
-
-       /// Accessor for the ResponseHeader
-       SmartPtrCResponseHeaderDoc getResponseHeader() const {
-               return _responseHeader;
-       }
-
-       /// Accessor for the Manifest
-       SmartPtrCEventManifestDoc getManifest() const {
-               return _manifest;
-       }
-
-       /// Accessor for the EventKeyCollection
-       SmartPtrCEventKeyCollectionDoc getEventKeyCollection() const {
-               return _eventKeyCollection;
-       }
-
-       /// Accessor for the Statistics
-       SmartPtrCStatisticsDoc getStatistics() const {
-               return _statistics;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _pmeId;
-       SmartPtrCResponseHeaderDoc _responseHeader;
-       SmartPtrCEventManifestDoc _manifest;
-       SmartPtrCEventKeyCollectionDoc _eventKeyCollection;
-       SmartPtrCStatisticsDoc _statistics;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CProviderEventResponseDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CProviderEventResponseDoc);
-
-}
-
-#endif
index 84b8b5b76bbf5dd65b3ca35fcf10bd35a14c3ffb..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,106 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CProviderResponseDoc_h_
-#define CProviderResponseDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type ProviderResponse
-class CProviderResponseDoc {
-public:
-       CProviderResponseDoc() :
-               _clientId(CAFCOMMON_GUID_NULL),
-               _requestId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CProviderResponseDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const UUID clientId,
-               const UUID requestId,
-               const std::string pmeId,
-               const SmartPtrCResponseHeaderDoc responseHeader,
-               const SmartPtrCManifestDoc manifest,
-               const SmartPtrCAttachmentCollectionDoc attachmentCollection,
-               const SmartPtrCStatisticsDoc statistics) {
-               if (! _isInitialized) {
-                       _clientId = clientId;
-                       _requestId = requestId;
-                       _pmeId = pmeId;
-                       _responseHeader = responseHeader;
-                       _manifest = manifest;
-                       _attachmentCollection = attachmentCollection;
-                       _statistics = statistics;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ClientId
-       UUID getClientId() const {
-               return _clientId;
-       }
-
-       /// Accessor for the RequestId
-       UUID getRequestId() const {
-               return _requestId;
-       }
-
-       /// Accessor for the PmeId
-       std::string getPmeId() const {
-               return _pmeId;
-       }
-
-       /// Accessor for the ResponseHeader
-       SmartPtrCResponseHeaderDoc getResponseHeader() const {
-               return _responseHeader;
-       }
-
-       /// Accessor for the Manifest
-       SmartPtrCManifestDoc getManifest() const {
-               return _manifest;
-       }
-
-       /// Accessor for the AttachmentCollection
-       SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const {
-               return _attachmentCollection;
-       }
-
-       /// Accessor for the Statistics
-       SmartPtrCStatisticsDoc getStatistics() const {
-               return _statistics;
-       }
-
-private:
-       UUID _clientId;
-       UUID _requestId;
-       std::string _pmeId;
-       SmartPtrCResponseHeaderDoc _responseHeader;
-       SmartPtrCManifestDoc _manifest;
-       SmartPtrCAttachmentCollectionDoc _attachmentCollection;
-       SmartPtrCStatisticsDoc _statistics;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CProviderResponseDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CProviderResponseDoc);
-
-}
-
-#endif
index 79df7f1ccbfafaac9cf9796c664130b295349d10..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,106 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CResponseDoc_h_
-#define CResponseDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type Response
-class CResponseDoc {
-public:
-       CResponseDoc() :
-               _clientId(CAFCOMMON_GUID_NULL),
-               _requestId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CResponseDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const UUID clientId,
-               const UUID requestId,
-               const std::string pmeId,
-               const SmartPtrCResponseHeaderDoc responseHeader,
-               const SmartPtrCManifestCollectionDoc manifestCollection,
-               const SmartPtrCAttachmentCollectionDoc attachmentCollection,
-               const SmartPtrCStatisticsDoc statistics) {
-               if (! _isInitialized) {
-                       _clientId = clientId;
-                       _requestId = requestId;
-                       _pmeId = pmeId;
-                       _responseHeader = responseHeader;
-                       _manifestCollection = manifestCollection;
-                       _attachmentCollection = attachmentCollection;
-                       _statistics = statistics;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ClientId
-       UUID getClientId() const {
-               return _clientId;
-       }
-
-       /// Accessor for the RequestId
-       UUID getRequestId() const {
-               return _requestId;
-       }
-
-       /// Accessor for the PmeId
-       std::string getPmeId() const {
-               return _pmeId;
-       }
-
-       /// Accessor for the ManifestCollection
-       SmartPtrCResponseHeaderDoc getResponseHeader() const {
-               return _responseHeader;
-       }
-
-       /// Accessor for the ManifestCollection
-       SmartPtrCManifestCollectionDoc getManifestCollection() const {
-               return _manifestCollection;
-       }
-
-       /// Accessor for the AttachmentCollection
-       SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const {
-               return _attachmentCollection;
-       }
-
-       /// Accessor for the Statistics
-       SmartPtrCStatisticsDoc getStatistics() const {
-               return _statistics;
-       }
-
-private:
-       UUID _clientId;
-       UUID _requestId;
-       std::string _pmeId;
-       SmartPtrCResponseHeaderDoc _responseHeader;
-       SmartPtrCManifestCollectionDoc _manifestCollection;
-       SmartPtrCAttachmentCollectionDoc _attachmentCollection;
-       SmartPtrCStatisticsDoc _statistics;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CResponseDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CResponseDoc);
-
-}
-
-#endif
index 4e9655d9621e8110aa98ef521639bc5235ce23b7..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,91 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CResponseHeaderDoc_h_
-#define CResponseHeaderDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type ResponseHeader
-class CResponseHeaderDoc {
-public:
-       CResponseHeaderDoc() :
-               _sequenceNumber(0),
-               _isFinalResponse(true),
-               _sessionId(CAFCOMMON_GUID_NULL),
-               _isInitialized(false) {}
-       virtual ~CResponseHeaderDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string version = "1.0",
-               const std::string createdDateTime = CDateTimeUtils::getCurrentDateTime(),
-               const uint32 sequenceNumber = 0,
-               const bool isFinalResponse = true,
-               const UUID sessionId = CAFCOMMON_GUID_NULL) {
-               if (! _isInitialized) {
-                       _version = version;
-                       _createdDateTime = createdDateTime;
-                       _sequenceNumber = sequenceNumber;
-                       _isFinalResponse = isFinalResponse;
-                       _sessionId = sessionId;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the version
-       std::string getVersion() const {
-               return _version;
-       }
-
-       /// Accessor for the date/time when the request was created
-       std::string getCreatedDateTime() const {
-               return _createdDateTime;
-       }
-
-       /// Accessor for the sequenceNumber
-       uint32 getSequenceNumber() const {
-               return _sequenceNumber;
-       }
-
-       /// Accessor for the version
-       bool getIsFinalResponse() const {
-               return _isFinalResponse;
-       }
-
-       /// Accessor for the session ID
-       UUID getSessionId() const {
-               return _sessionId;
-       }
-
-private:
-       std::string _version;
-       std::string _createdDateTime;
-       uint32 _sequenceNumber;
-       bool _isFinalResponse;
-       UUID _sessionId;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CResponseHeaderDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CResponseHeaderDoc);
-
-}
-
-#endif
index 2dedce9e9112497e847304a1b95c37a78fe5c608..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,25 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: April 6, 2012
- *
- *     Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef RESPONSEDOCINC_H_
-#define RESPONSEDOCINC_H_
-
-#include "CEventKeyDoc.h"
-#include "CEventKeyCollectionDoc.h"
-
-#include "CManifestDoc.h"
-#include "CManifestCollectionDoc.h"
-
-#include "CResponseHeaderDoc.h"
-#include "CErrorResponseDoc.h"
-#include "CEventManifestDoc.h"
-#include "CProviderEventResponseDoc.h"
-#include "CProviderResponseDoc.h"
-#include "CResponseDoc.h"
-
-#endif /* RESPONSEDOCINC_H_ */
index 4a3e7114262cd1e5ea72a3e8cef9e4556df88cfe..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,105 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CActionClassDoc_h_
-#define CActionClassDoc_h_
-
-namespace Caf {
-
-/// Definition of an action class that may be generated by the provider
-class CActionClassDoc {
-public:
-       CActionClassDoc() :
-               _isInitialized(false) {}
-       virtual ~CActionClassDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string namespaceVal,
-               const std::string name,
-               const std::string version,
-               const SmartPtrCCollectMethodDoc collectMethod,
-               const std::deque<SmartPtrCMethodDoc> methodCollection,
-               const std::string displayName = std::string(),
-               const std::string description = std::string()) {
-               if (! _isInitialized) {
-                       _namespaceVal = namespaceVal;
-                       _name = name;
-                       _version = version;
-                       _collectMethod = collectMethod;
-                       _methodCollection = methodCollection;
-                       _displayName = displayName;
-                       _description = description;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the NamespaceVal
-       std::string getNamespaceVal() const {
-               return _namespaceVal;
-       }
-
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the Version
-       std::string getVersion() const {
-               return _version;
-       }
-
-       /// Accessor for the CollectMethod
-       SmartPtrCCollectMethodDoc getCollectMethod() const {
-               return _collectMethod;
-       }
-
-       /// Accessor for the Method
-       std::deque<SmartPtrCMethodDoc> getMethodCollection() const {
-               return _methodCollection;
-       }
-
-       /// A hint as to what this class should be called when displaying it to a human
-       std::string getDisplayName() const {
-               return _displayName;
-       }
-
-       /// A phrase to describe the class for mouse-over text, etc
-       std::string getDescription() const {
-               return _description;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _namespaceVal;
-       std::string _name;
-       std::string _version;
-       SmartPtrCCollectMethodDoc _collectMethod;
-       std::deque<SmartPtrCMethodDoc> _methodCollection;
-       std::string _displayName;
-       std::string _description;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CActionClassDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CActionClassDoc);
-
-}
-
-#endif
index fc6ffcd8b3393528a85c5374b290e38bc285dcd8..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CActionClassInstanceCollectionDoc_h_
-#define CActionClassInstanceCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type ActionClassInstanceCollection
-class CActionClassInstanceCollectionDoc {
-public:
-       CActionClassInstanceCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CActionClassInstanceCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCActionClassInstanceDoc> actionClassInstanceCollection) {
-               if (! _isInitialized) {
-                       _actionClassInstanceCollection = actionClassInstanceCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the ActionClassInstance
-       std::deque<SmartPtrCActionClassInstanceDoc> getActionClassInstanceCollection() const {
-               return _actionClassInstanceCollection;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCActionClassInstanceDoc> _actionClassInstanceCollection;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CActionClassInstanceCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CActionClassInstanceCollectionDoc);
-
-}
-
-#endif
index f0641ea0b482307fccd0a83b682b19e0decaa552..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,81 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CActionClassInstanceDoc_h_
-#define CActionClassInstanceDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type ActionClassInstance
-class CActionClassInstanceDoc {
-public:
-       CActionClassInstanceDoc() :
-               _isInitialized(false) {}
-       virtual ~CActionClassInstanceDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string namespaceVal,
-               const std::string name,
-               const std::string version,
-               const SmartPtrCInstanceOperationCollectionDoc instanceOperationCollection) {
-               if (! _isInitialized) {
-                       _namespaceVal = namespaceVal;
-                       _name = name;
-                       _version = version;
-                       _instanceOperationCollection = instanceOperationCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the NamespaceVal
-       std::string getNamespaceVal() const {
-               return _namespaceVal;
-       }
-
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the Version
-       std::string getVersion() const {
-               return _version;
-       }
-
-       /// Accessor for the InstanceOperationCollection
-       SmartPtrCInstanceOperationCollectionDoc getInstanceOperationCollection() const {
-               return _instanceOperationCollection;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _namespaceVal;
-       std::string _name;
-       std::string _version;
-       SmartPtrCInstanceOperationCollectionDoc _instanceOperationCollection;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CActionClassInstanceDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CActionClassInstanceDoc);
-
-}
-
-#endif
index 10d37b2bbe964c29aa1ac7a8aec7457553a6c9cd..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,81 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CClassCardinalityDoc_h_
-#define CClassCardinalityDoc_h_
-
-namespace Caf {
-
-/// Class description of one end of a relationship
-class CClassCardinalityDoc {
-public:
-       CClassCardinalityDoc() :
-               _isInitialized(false) {}
-       virtual ~CClassCardinalityDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string namespaceVal,
-               const std::string name,
-               const std::string version,
-               const std::string cardinality) {
-               if (! _isInitialized) {
-                       _namespaceVal = namespaceVal;
-                       _name = name;
-                       _version = version;
-                       _cardinality = cardinality;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the NamespaceVal
-       std::string getNamespaceVal() const {
-               return _namespaceVal;
-       }
-
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the Version
-       std::string getVersion() const {
-               return _version;
-       }
-
-       /// Cardinality of one end relationship, i.e. has one, has many, etc
-       std::string getCardinality() const {
-               return _cardinality;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _namespaceVal;
-       std::string _name;
-       std::string _version;
-       std::string _cardinality;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CClassCardinalityDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CClassCardinalityDoc);
-
-}
-
-#endif
index 47752eb5265cb95687af2230b227c6006e8ae245..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,81 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CClassFieldDoc_h_
-#define CClassFieldDoc_h_
-
-namespace Caf {
-
-/// Description of a class and the field used to identify one end of a relationship
-class CClassFieldDoc {
-public:
-       CClassFieldDoc() :
-               _isInitialized(false) {}
-       virtual ~CClassFieldDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string namespaceVal,
-               const std::string name,
-               const std::string version,
-               const std::string field) {
-               if (! _isInitialized) {
-                       _namespaceVal = namespaceVal;
-                       _name = name;
-                       _version = version;
-                       _field = field;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the NamespaceVal
-       std::string getNamespaceVal() const {
-               return _namespaceVal;
-       }
-
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the Version
-       std::string getVersion() const {
-               return _version;
-       }
-
-       /// Description of a class field used to identify one end of a relationship
-       std::string getField() const {
-               return _field;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _namespaceVal;
-       std::string _name;
-       std::string _version;
-       std::string _field;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CClassFieldDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CClassFieldDoc);
-
-}
-
-#endif
index 7764f02608cd2ae2a3b2834b546ec368e71ce70d..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,73 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CClassIdentifierDoc_h_
-#define CClassIdentifierDoc_h_
-
-namespace Caf {
-
-/// Tuple of values to uniquely identify a class
-class CClassIdentifierDoc {
-public:
-       CClassIdentifierDoc() :
-               _isInitialized(false) {}
-       virtual ~CClassIdentifierDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string namespaceVal,
-               const std::string name,
-               const std::string version) {
-               if (! _isInitialized) {
-                       _namespaceVal = namespaceVal;
-                       _name = name;
-                       _version = version;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the NamespaceVal
-       std::string getNamespaceVal() const {
-               return _namespaceVal;
-       }
-
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the Version
-       std::string getVersion() const {
-               return _version;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _namespaceVal;
-       std::string _name;
-       std::string _version;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CClassIdentifierDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CClassIdentifierDoc);
-
-}
-
-#endif
index dd68090a9d3581870df0fce516b3bb976648f139..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,107 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CClassInstancePropertyDoc_h_
-#define CClassInstancePropertyDoc_h_
-
-namespace Caf {
-
-/// Definition of an attribute (field) of a class
-class CClassInstancePropertyDoc {
-public:
-       CClassInstancePropertyDoc() :
-               _required(false),
-               _transientVal(false),
-               _list(false),
-               _isInitialized(false) {}
-       virtual ~CClassInstancePropertyDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string name,
-               const std::deque<SmartPtrCClassIdentifierDoc> type,
-               const bool required = false,
-               const bool transientVal = false,
-               const bool list = false,
-               const std::string displayName = std::string(),
-               const std::string description = std::string()) {
-               if (! _isInitialized) {
-                       _name = name;
-                       _type = type;
-                       _required = required;
-                       _transientVal = transientVal;
-                       _list = list;
-                       _displayName = displayName;
-                       _description = description;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Property name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the Type
-       std::deque<SmartPtrCClassIdentifierDoc> getType() const {
-               return _type;
-       }
-
-       /// Whether this is a required property, i.e. this property must always be non-empty
-       bool getRequired() const {
-               return _required;
-       }
-
-       /// Accessor for the TransientVal
-       bool getTransientVal() const {
-               return _transientVal;
-       }
-
-       /// Indicates whether to expect a list of properties in the provider response
-       bool getList() const {
-               return _list;
-       }
-
-       /// A hint as to what this property should be called when displaying it to a human
-       std::string getDisplayName() const {
-               return _displayName;
-       }
-
-       /// A phrase to describe the property for mouse-over text, etc
-       std::string getDescription() const {
-               return _description;
-       }
-
-private:
-       std::string _name;
-       std::deque<SmartPtrCClassIdentifierDoc> _type;
-       bool _required;
-       bool _transientVal;
-       bool _list;
-       std::string _displayName;
-       std::string _description;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CClassInstancePropertyDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CClassInstancePropertyDoc);
-
-}
-
-#endif
index b3058e290d90eaea9b8b10d0380366321fb9a3cd..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,167 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CClassPropertyDoc_h_
-#define CClassPropertyDoc_h_
-
-namespace Caf {
-
-/// Definition of an attribute (field) of a class
-class CClassPropertyDoc {
-public:
-       CClassPropertyDoc() :
-               _type(PROPERTY_NONE),
-               _required(false),
-               _key(false),
-               _list(false),
-               _caseSensitive(false),
-               _transientVal(false),
-               _validator(VALIDATOR_NONE),
-               _isInitialized(false) {}
-       virtual ~CClassPropertyDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string name,
-               const PROPERTY_TYPE type,
-               const std::deque<std::string> value,
-               const bool required = false,
-               const bool key = false,
-               const bool list = false,
-               const bool caseSensitive = false,
-               const bool transientVal = false,
-               const std::string defaultVal = std::string(),
-               const VALIDATOR_TYPE validator = VALIDATOR_NONE,
-               const std::string upperRange = std::string(),
-               const std::string lowerRange = std::string(),
-               const std::string displayName = std::string(),
-               const std::string description = std::string()) {
-               if (! _isInitialized) {
-                       _name = name;
-                       _type = type;
-                       _value = value;
-                       _required = required;
-                       _key = key;
-                       _list = list;
-                       _caseSensitive = caseSensitive;
-                       _transientVal = transientVal;
-                       _defaultVal = defaultVal;
-                       _validator = validator;
-                       _upperRange = upperRange;
-                       _lowerRange = lowerRange;
-                       _displayName = displayName;
-                       _description = description;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Property name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Describes the data type of the property
-       PROPERTY_TYPE getType() const {
-               return _type;
-       }
-
-       /// The contents of a validator used on this property
-       std::deque<std::string> getValue() const {
-               return _value;
-       }
-
-       /// Whether this is a required property, i.e. this property must always be non-empty
-       bool getRequired() const {
-               return _required;
-       }
-
-       /// Indicates this property may be used as a key identifying field
-       bool getKey() const {
-               return _key;
-       }
-
-       /// Indicates whether to expect a list of properties in the provider response
-       bool getList() const {
-               return _list;
-       }
-
-       /// Indicates whether a string field should be treated in a case-sensitive manner
-       bool getCaseSensitive() const {
-               return _caseSensitive;
-       }
-
-       /// Accessor for the TransientVal
-       bool getTransientVal() const {
-               return _transientVal;
-       }
-
-       /// Accessor for the DefaultVal
-       std::string getDefaultVal() const {
-               return _defaultVal;
-       }
-
-       /// The type of validator described in the 'value' sub-elements
-       VALIDATOR_TYPE getValidator() const {
-               return _validator;
-       }
-
-       /// If a 'range' validator is in use, this describes the upper limit of allowable values for the property. QUESTIONABLE: how do we determine inclusive or exclusive range
-       std::string getUpperRange() const {
-               return _upperRange;
-       }
-
-       /// If a 'range' validator is in use, this describes the lower limit of allowable values for the property. QUESTIONABLE: how do we determine inclusive or exclusive range
-       std::string getLowerRange() const {
-               return _lowerRange;
-       }
-
-       /// A hint as to what this property should be called when displaying it to a human
-       std::string getDisplayName() const {
-               return _displayName;
-       }
-
-       /// A phrase to describe the property for mouse-over text, etc
-       std::string getDescription() const {
-               return _description;
-       }
-
-private:
-       std::string _name;
-       PROPERTY_TYPE _type;
-       std::deque<std::string> _value;
-       bool _required;
-       bool _key;
-       bool _list;
-       bool _caseSensitive;
-       bool _transientVal;
-       std::string _defaultVal;
-       VALIDATOR_TYPE _validator;
-       std::string _upperRange;
-       std::string _lowerRange;
-       std::string _displayName;
-       std::string _description;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CClassPropertyDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CClassPropertyDoc);
-
-}
-
-#endif
index 8b05cdd5768aa906a133b9f98a24c3e607ac3b01..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,65 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CCmdlMetadataDoc_h_
-#define CCmdlMetadataDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type CmdlMetadata
-class CCmdlMetadataDoc {
-public:
-       CCmdlMetadataDoc() :
-               _isInitialized(false) {}
-       virtual ~CCmdlMetadataDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string name,
-               const std::string value) {
-               if (! _isInitialized) {
-                       _name = name;
-                       _value = value;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the Value
-       std::string getValue() const {
-               return _value;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _name;
-       std::string _value;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CCmdlMetadataDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CCmdlMetadataDoc);
-
-}
-
-#endif
index b6d22c637187f79a42d63dadf22bac7e3f1608d9..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,73 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CCmdlUnionDoc_h_
-#define CCmdlUnionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type CmdlUnion
-class CCmdlUnionDoc {
-public:
-       CCmdlUnionDoc() :
-               _isInitialized(false) {}
-       virtual ~CCmdlUnionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string namespaceVal,
-               const std::string name,
-               const std::string version) {
-               if (! _isInitialized) {
-                       _namespaceVal = namespaceVal;
-                       _name = name;
-                       _version = version;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the NamespaceVal
-       std::string getNamespaceVal() const {
-               return _namespaceVal;
-       }
-
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the Version
-       std::string getVersion() const {
-               return _version;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _namespaceVal;
-       std::string _name;
-       std::string _version;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CCmdlUnionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CCmdlUnionDoc);
-
-}
-
-#endif
index df9d238d3f293004ba43addb106edd03a0c6effc..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,97 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CCollectMethodDoc_h_
-#define CCollectMethodDoc_h_
-
-namespace Caf {
-
-/// Definition of a collection method on a class
-class CCollectMethodDoc {
-public:
-       CCollectMethodDoc() :
-               _isInitialized(false) {}
-       virtual ~CCollectMethodDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string name,
-               const std::deque<SmartPtrCMethodParameterDoc> parameterCollection = std::deque<SmartPtrCMethodParameterDoc>(),
-               const std::deque<SmartPtrCInstanceParameterDoc> instanceParameterCollection = std::deque<SmartPtrCInstanceParameterDoc>(),
-               const std::deque<SmartPtrCClassIdentifierDoc> returnValCollection = std::deque<SmartPtrCClassIdentifierDoc>(),
-               const std::deque<SmartPtrCClassIdentifierDoc> eventValCollection = std::deque<SmartPtrCClassIdentifierDoc>(),
-               const std::deque<SmartPtrCClassIdentifierDoc> errorCollection = std::deque<SmartPtrCClassIdentifierDoc>()) {
-               if (! _isInitialized) {
-                       _name = name;
-                       _parameterCollection = parameterCollection;
-                       _instanceParameterCollection = instanceParameterCollection;
-                       _returnValCollection = returnValCollection;
-                       _eventValCollection = eventValCollection;
-                       _errorCollection = errorCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// name of the collection method
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Definition of a parameter that passes simple types to the collection method
-       std::deque<SmartPtrCMethodParameterDoc> getParameterCollection() const {
-               return _parameterCollection;
-       }
-
-       /// Definition of a parameter passing data class instances to the collection method
-       std::deque<SmartPtrCInstanceParameterDoc> getInstanceParameterCollection() const {
-               return _instanceParameterCollection;
-       }
-
-       /// Accessor for the ReturnVal
-       std::deque<SmartPtrCClassIdentifierDoc> getReturnValCollection() const {
-               return _returnValCollection;
-       }
-
-       /// Accessor for the EventVal
-       std::deque<SmartPtrCClassIdentifierDoc> getEventValCollection() const {
-               return _eventValCollection;
-       }
-
-       /// A class that may be returned to indicate an error occurred during the processing of the collection method
-       std::deque<SmartPtrCClassIdentifierDoc> getErrorCollection() const {
-               return _errorCollection;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _name;
-       std::deque<SmartPtrCMethodParameterDoc> _parameterCollection;
-       std::deque<SmartPtrCInstanceParameterDoc> _instanceParameterCollection;
-       std::deque<SmartPtrCClassIdentifierDoc> _returnValCollection;
-       std::deque<SmartPtrCClassIdentifierDoc> _eventValCollection;
-       std::deque<SmartPtrCClassIdentifierDoc> _errorCollection;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CCollectMethodDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CCollectMethodDoc);
-
-}
-
-#endif
index ace402e80c6dddbd31cf909be5ceff4491f5f26f..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,122 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CDataClassDoc_h_
-#define CDataClassDoc_h_
-
-namespace Caf {
-
-/// Definition of a data class that may be generated by the provider
-class CDataClassDoc {
-public:
-       CDataClassDoc() :
-               _unique(false),
-               _transientVal(false),
-               _isInitialized(false) {}
-       virtual ~CDataClassDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string namespaceVal,
-               const std::string name,
-               const std::string version,
-               const std::deque<SmartPtrCClassPropertyDoc> propertyCollection = std::deque<SmartPtrCClassPropertyDoc>(),
-               const std::deque<SmartPtrCClassInstancePropertyDoc> instancePropertyCollection = std::deque<SmartPtrCClassInstancePropertyDoc>(),
-               const bool unique = false,
-               const bool transientVal = false,
-               const std::string displayName = std::string(),
-               const std::string description = std::string()) {
-               if (! _isInitialized) {
-                       _namespaceVal = namespaceVal;
-                       _name = name;
-                       _version = version;
-                       _propertyCollection = propertyCollection;
-                       _instancePropertyCollection = instancePropertyCollection;
-                       _unique = unique;
-                       _transientVal = transientVal;
-                       _displayName = displayName;
-                       _description = description;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the NamespaceVal
-       std::string getNamespaceVal() const {
-               return _namespaceVal;
-       }
-
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the Version
-       std::string getVersion() const {
-               return _version;
-       }
-
-       /// Accessor for the Property
-       std::deque<SmartPtrCClassPropertyDoc> getPropertyCollection() const {
-               return _propertyCollection;
-       }
-
-       /// Accessor for the InstanceProperty
-       std::deque<SmartPtrCClassInstancePropertyDoc> getInstancePropertyCollection() const {
-               return _instancePropertyCollection;
-       }
-
-       /// Indicates whether the key properties of this class are enough to guarantee uniqueness from other classes of the same type
-       bool getUnique() const {
-               return _unique;
-       }
-
-       /// Accessor for the TransientVal
-       bool getTransientVal() const {
-               return _transientVal;
-       }
-
-       /// A hint as to what this class should be called when displaying it to a human
-       std::string getDisplayName() const {
-               return _displayName;
-       }
-
-       /// A phrase to describe the class for mouse-over text, etc
-       std::string getDescription() const {
-               return _description;
-       }
-
-private:
-       std::string _namespaceVal;
-       std::string _name;
-       std::string _version;
-       std::deque<SmartPtrCClassPropertyDoc> _propertyCollection;
-       std::deque<SmartPtrCClassInstancePropertyDoc> _instancePropertyCollection;
-       bool _unique;
-       bool _transientVal;
-       std::string _displayName;
-       std::string _description;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CDataClassDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CDataClassDoc);
-
-}
-
-#endif
index ed360f873faba9e91d795647fec0c6ee0bde3c84..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CDataClassInstanceCollectionDoc_h_
-#define CDataClassInstanceCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type DataClassInstanceCollection
-class CDataClassInstanceCollectionDoc {
-public:
-       CDataClassInstanceCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CDataClassInstanceCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCDataClassInstanceDoc> dataClassInstanceCollection = std::deque<SmartPtrCDataClassInstanceDoc>()) {
-               if (! _isInitialized) {
-                       _dataClassInstanceCollection = dataClassInstanceCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the DataClassInstance
-       std::deque<SmartPtrCDataClassInstanceDoc> getDataClassInstanceCollection() const {
-               return _dataClassInstanceCollection;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCDataClassInstanceDoc> _dataClassInstanceCollection;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CDataClassInstanceCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CDataClassInstanceCollectionDoc);
-
-}
-
-#endif
index 72c18790446f5320c0d83caf64a69fca4684f163..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,105 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CDataClassInstanceDoc_h_
-#define CDataClassInstanceDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type DataClassInstance
-class CDataClassInstanceDoc {
-public:
-       CDataClassInstanceDoc() :
-               _isInitialized(false) {}
-       virtual ~CDataClassInstanceDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string namespaceVal,
-               const std::string name,
-               const std::string version,
-               const std::deque<SmartPtrCCmdlMetadataDoc> cmdlMetadataCollection,
-               const std::deque<SmartPtrCDataClassPropertyDoc> propertyCollection,
-               const std::deque<SmartPtrCDataClassSubInstanceDoc> instancePropertyCollection,
-               const SmartPtrCCmdlUnionDoc cmdlUnion) {
-               if (! _isInitialized) {
-                       _namespaceVal = namespaceVal;
-                       _name = name;
-                       _version = version;
-                       _cmdlMetadataCollection = cmdlMetadataCollection;
-                       _propertyCollection = propertyCollection;
-                       _instancePropertyCollection = instancePropertyCollection;
-                       _cmdlUnion = cmdlUnion;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the NamespaceVal
-       std::string getNamespaceVal() const {
-               return _namespaceVal;
-       }
-
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the Version
-       std::string getVersion() const {
-               return _version;
-       }
-
-       /// Accessor for the CmdlMetadata
-       std::deque<SmartPtrCCmdlMetadataDoc> getCmdlMetadataCollection() const {
-               return _cmdlMetadataCollection;
-       }
-
-       /// Accessor for the Property
-       std::deque<SmartPtrCDataClassPropertyDoc> getPropertyCollection() const {
-               return _propertyCollection;
-       }
-
-       /// Accessor for the InstanceProperty
-       std::deque<SmartPtrCDataClassSubInstanceDoc> getInstancePropertyCollection() const {
-               return _instancePropertyCollection;
-       }
-
-       /// Accessor for the CmdlUnion
-       SmartPtrCCmdlUnionDoc getCmdlUnion() const {
-               return _cmdlUnion;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _namespaceVal;
-       std::string _name;
-       std::string _version;
-       std::deque<SmartPtrCCmdlMetadataDoc> _cmdlMetadataCollection;
-       std::deque<SmartPtrCDataClassPropertyDoc> _propertyCollection;
-       std::deque<SmartPtrCDataClassSubInstanceDoc> _instancePropertyCollection;
-       SmartPtrCCmdlUnionDoc _cmdlUnion;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CDataClassInstanceDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CDataClassInstanceDoc);
-
-}
-
-#endif
index 4ba19082b0ddd0b4546a88749ca8854c5df7be22..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,73 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CDataClassPropertyDoc_h_
-#define CDataClassPropertyDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type DataClassProperty
-class CDataClassPropertyDoc {
-public:
-       CDataClassPropertyDoc() :
-               _isInitialized(false) {}
-       virtual ~CDataClassPropertyDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string name,
-               const std::deque<SmartPtrCCmdlMetadataDoc> cmdlMetadata,
-               const std::string value) {
-               if (! _isInitialized) {
-                       _name = name;
-                       _cmdlMetadata = cmdlMetadata;
-                       _value = value;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the CmdlMetadata
-       std::deque<SmartPtrCCmdlMetadataDoc> getCmdlMetadata() const {
-               return _cmdlMetadata;
-       }
-
-       /// Accessor for the Value
-       std::string getValue() const {
-               return _value;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _name;
-       std::deque<SmartPtrCCmdlMetadataDoc> _cmdlMetadata;
-       std::string _value;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CDataClassPropertyDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CDataClassPropertyDoc);
-
-}
-
-#endif
index b4137c9c20b2d4269859b42c3ea5cadb09b9fd9e..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,89 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CDataClassSubInstanceDoc_h_
-#define CDataClassSubInstanceDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type DataClassSubInstance
-class CDataClassSubInstanceDoc {
-public:
-       CDataClassSubInstanceDoc() :
-               _isInitialized(false) {}
-       virtual ~CDataClassSubInstanceDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string name,
-               const std::deque<SmartPtrCCmdlMetadataDoc> cmdlMetadataCollection,
-               const std::deque<SmartPtrCDataClassPropertyDoc> propertyCollection,
-               const std::deque<SmartPtrCDataClassSubInstanceDoc> instancePropertyCollection,
-               const SmartPtrCCmdlUnionDoc cmdlUnion) {
-               if (! _isInitialized) {
-                       _name = name;
-                       _cmdlMetadataCollection = cmdlMetadataCollection;
-                       _propertyCollection = propertyCollection;
-                       _instancePropertyCollection = instancePropertyCollection;
-                       _cmdlUnion = cmdlUnion;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the CmdlMetadata
-       std::deque<SmartPtrCCmdlMetadataDoc> getCmdlMetadataCollection() const {
-               return _cmdlMetadataCollection;
-       }
-
-       /// Accessor for the Property
-       std::deque<SmartPtrCDataClassPropertyDoc> getPropertyCollection() const {
-               return _propertyCollection;
-       }
-
-       /// Accessor for the InstanceProperty
-       std::deque<SmartPtrCDataClassSubInstanceDoc> getInstancePropertyCollection() const {
-               return _instancePropertyCollection;
-       }
-
-       /// Accessor for the CmdlUnion
-       SmartPtrCCmdlUnionDoc getCmdlUnion() const {
-               return _cmdlUnion;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _name;
-       std::deque<SmartPtrCCmdlMetadataDoc> _cmdlMetadataCollection;
-       std::deque<SmartPtrCDataClassPropertyDoc> _propertyCollection;
-       std::deque<SmartPtrCDataClassSubInstanceDoc> _instancePropertyCollection;
-       SmartPtrCCmdlUnionDoc _cmdlUnion;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CDataClassSubInstanceDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CDataClassSubInstanceDoc);
-
-}
-
-#endif
index 5309585dde9cd53870645b4442090f1b2fa29e1c..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,57 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CInstanceOperationCollectionDoc_h_
-#define CInstanceOperationCollectionDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type InstanceOperationCollection
-class CInstanceOperationCollectionDoc {
-public:
-       CInstanceOperationCollectionDoc() :
-               _isInitialized(false) {}
-       virtual ~CInstanceOperationCollectionDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::deque<SmartPtrCInstanceOperationDoc> instanceOperationCollection) {
-               if (! _isInitialized) {
-                       _instanceOperationCollection = instanceOperationCollection;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the InstanceOperation
-       std::deque<SmartPtrCInstanceOperationDoc> getInstanceOperationCollection() const {
-               return _instanceOperationCollection;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::deque<SmartPtrCInstanceOperationDoc> _instanceOperationCollection;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CInstanceOperationCollectionDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CInstanceOperationCollectionDoc);
-
-}
-
-#endif
index d65004590708acad2b225ecd02e8997031619715..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,65 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CInstanceOperationDoc_h_
-#define CInstanceOperationDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type InstanceOperation
-class CInstanceOperationDoc {
-public:
-       CInstanceOperationDoc() :
-               _isInitialized(false) {}
-       virtual ~CInstanceOperationDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string operationName,
-               const std::string moniker) {
-               if (! _isInitialized) {
-                       _operationName = operationName;
-                       _moniker = moniker;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the OperationName
-       std::string getOperationName() const {
-               return _operationName;
-       }
-
-       /// Accessor for the Moniker
-       std::string getMoniker() const {
-               return _moniker;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _operationName;
-       std::string _moniker;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CInstanceOperationDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CInstanceOperationDoc);
-
-}
-
-#endif
index 241f2f160f124a6d6411c96fc53d94513f47c650..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,114 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CInstanceParameterDoc_h_
-#define CInstanceParameterDoc_h_
-
-namespace Caf {
-
-/// A parameter containing a data class instance used by a method to control the outcome
-class CInstanceParameterDoc {
-public:
-       CInstanceParameterDoc() :
-               _isOptional(false),
-               _isList(false),
-               _isInitialized(false) {}
-       virtual ~CInstanceParameterDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string name,
-               const std::string instanceNamespace,
-               const std::string instanceName,
-               const std::string instanceVersion,
-               const bool isOptional = false,
-               const bool isList = false,
-               const std::string displayName = std::string(),
-               const std::string description = std::string()) {
-               if (! _isInitialized) {
-                       _name = name;
-                       _instanceNamespace = instanceNamespace;
-                       _instanceName = instanceName;
-                       _instanceVersion = instanceVersion;
-                       _isOptional = isOptional;
-                       _isList = isList;
-                       _displayName = displayName;
-                       _description = description;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Name of parameter
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Namespace of instance object type
-       std::string getInstanceNamespace() const {
-               return _instanceNamespace;
-       }
-
-       /// Name of instance object type
-       std::string getInstanceName() const {
-               return _instanceName;
-       }
-
-       /// Version of instance object type
-       std::string getInstanceVersion() const {
-               return _instanceVersion;
-       }
-
-       /// Indicates this parameter need not be passed
-       bool getIsOptional() const {
-               return _isOptional;
-       }
-
-       /// Indicates whether to expect a list of values as opposed to a single value (the default if this attribute is not present)
-       bool getIsList() const {
-               return _isList;
-       }
-
-       /// Human-readable version of the parameter name
-       std::string getDisplayName() const {
-               return _displayName;
-       }
-
-       /// Short description of what the parameter is for
-       std::string getDescription() const {
-               return _description;
-       }
-
-private:
-       std::string _name;
-       std::string _instanceNamespace;
-       std::string _instanceName;
-       std::string _instanceVersion;
-       bool _isOptional;
-       bool _isList;
-       std::string _displayName;
-       std::string _description;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CInstanceParameterDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CInstanceParameterDoc);
-
-}
-
-#endif
index da3c172d6b1320a324a50bba0838ae26a1585582..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,81 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CJoinTypeDoc_h_
-#define CJoinTypeDoc_h_
-
-namespace Caf {
-
-/// A simple container for objects of type JoinType
-class CJoinTypeDoc {
-public:
-       CJoinTypeDoc() :
-               _operand(OPERATOR_NONE),
-               _isInitialized(false) {}
-       virtual ~CJoinTypeDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const OPERATOR_TYPE operand,
-               const SmartPtrCClassFieldDoc dataClassLeft,
-               const SmartPtrCClassFieldDoc dataClassRight,
-               const std::string description) {
-               if (! _isInitialized) {
-                       _operand = operand;
-                       _dataClassLeft = dataClassLeft;
-                       _dataClassRight = dataClassRight;
-                       _description = description;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Defines the operand used to join the class fields. Restricted to '=' for now
-       OPERATOR_TYPE getOperand() const {
-               return _operand;
-       }
-
-       /// Identifies the fields on classes that uniquely identify relationship
-       SmartPtrCClassFieldDoc getDataClassLeft() const {
-               return _dataClassLeft;
-       }
-
-       /// Identifies the fields on classes that uniquely identify relationship
-       SmartPtrCClassFieldDoc getDataClassRight() const {
-               return _dataClassRight;
-       }
-
-       /// A short human-readable description of the join
-       std::string getDescription() const {
-               return _description;
-       }
-
-private:
-       OPERATOR_TYPE _operand;
-       SmartPtrCClassFieldDoc _dataClassLeft;
-       SmartPtrCClassFieldDoc _dataClassRight;
-       std::string _description;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CJoinTypeDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CJoinTypeDoc);
-
-}
-
-#endif
index af3da625a798089592b60a1863ad4e1e73b04fc7..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,113 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CLogicalRelationshipDoc_h_
-#define CLogicalRelationshipDoc_h_
-
-namespace Caf {
-
-/// Definition of a relationship between classes that can be described by identifying the fields on the classes that uniquely identify the relationship
-class CLogicalRelationshipDoc {
-public:
-       CLogicalRelationshipDoc() :
-               _arity(ARITY_NONE),
-               _isInitialized(false) {}
-       virtual ~CLogicalRelationshipDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string namespaceVal,
-               const std::string name,
-               const std::string version,
-               const ARITY_TYPE arity,
-               const SmartPtrCClassCardinalityDoc dataClassLeft,
-               const SmartPtrCClassCardinalityDoc dataClassRight,
-               const std::deque<SmartPtrCJoinTypeDoc> joinCollection,
-               const std::string description = std::string()) {
-               if (! _isInitialized) {
-                       _namespaceVal = namespaceVal;
-                       _name = name;
-                       _version = version;
-                       _arity = arity;
-                       _dataClassLeft = dataClassLeft;
-                       _dataClassRight = dataClassRight;
-                       _joinCollection = joinCollection;
-                       _description = description;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the NamespaceVal
-       std::string getNamespaceVal() const {
-               return _namespaceVal;
-       }
-
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the Version
-       std::string getVersion() const {
-               return _version;
-       }
-
-       /// Accessor for the Arity
-       ARITY_TYPE getArity() const {
-               return _arity;
-       }
-
-       /// Accessor for the DataClassLeft
-       SmartPtrCClassCardinalityDoc getDataClassLeft() const {
-               return _dataClassLeft;
-       }
-
-       /// Accessor for the DataClassRight
-       SmartPtrCClassCardinalityDoc getDataClassRight() const {
-               return _dataClassRight;
-       }
-
-       /// Defines a join condition of the relationship
-       std::deque<SmartPtrCJoinTypeDoc> getJoinCollection() const {
-               return _joinCollection;
-       }
-
-       /// Accessor for the Description
-       std::string getDescription() const {
-               return _description;
-       }
-
-private:
-       std::string _namespaceVal;
-       std::string _name;
-       std::string _version;
-       ARITY_TYPE _arity;
-       SmartPtrCClassCardinalityDoc _dataClassLeft;
-       SmartPtrCClassCardinalityDoc _dataClassRight;
-       std::deque<SmartPtrCJoinTypeDoc> _joinCollection;
-       std::string _description;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CLogicalRelationshipDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CLogicalRelationshipDoc);
-
-}
-
-#endif
index eeb0c200e27c97d5e9a4556d2dc145725882b407..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,113 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CMethodDoc_h_
-#define CMethodDoc_h_
-
-namespace Caf {
-
-/// Definition of a method on a class
-class CMethodDoc {
-public:
-       CMethodDoc() :
-               _isInitialized(false) {}
-       virtual ~CMethodDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string name,
-               const std::deque<SmartPtrCMethodParameterDoc> parameterCollection = std::deque<SmartPtrCMethodParameterDoc>(),
-               const std::deque<SmartPtrCInstanceParameterDoc> instanceParameterCollection = std::deque<SmartPtrCInstanceParameterDoc>(),
-               const std::deque<SmartPtrCClassIdentifierDoc> returnValCollection = std::deque<SmartPtrCClassIdentifierDoc>(),
-               const std::deque<SmartPtrCClassIdentifierDoc> eventValCollection = std::deque<SmartPtrCClassIdentifierDoc>(),
-               const std::deque<SmartPtrCClassIdentifierDoc> errorCollection = std::deque<SmartPtrCClassIdentifierDoc>(),
-               const std::string displayName = std::string(),
-               const std::string description = std::string()) {
-               if (! _isInitialized) {
-                       _name = name;
-                       _parameterCollection = parameterCollection;
-                       _instanceParameterCollection = instanceParameterCollection;
-                       _returnValCollection = returnValCollection;
-                       _eventValCollection = eventValCollection;
-                       _errorCollection = errorCollection;
-                       _displayName = displayName;
-                       _description = description;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// name of the method
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Definition of a parameter that passes simple types to the method
-       std::deque<SmartPtrCMethodParameterDoc> getParameterCollection() const {
-               return _parameterCollection;
-       }
-
-       /// Definition of a parameter that passes data class instances to the method
-       std::deque<SmartPtrCInstanceParameterDoc> getInstanceParameterCollection() const {
-               return _instanceParameterCollection;
-       }
-
-       /// Accessor for the ReturnVal
-       std::deque<SmartPtrCClassIdentifierDoc> getReturnValCollection() const {
-               return _returnValCollection;
-       }
-
-       /// Accessor for the EventVal
-       std::deque<SmartPtrCClassIdentifierDoc> getEventValCollection() const {
-               return _eventValCollection;
-       }
-
-       /// A class that may be returned to indicate an error occurred during the processing of the collection method
-       std::deque<SmartPtrCClassIdentifierDoc> getErrorCollection() const {
-               return _errorCollection;
-       }
-
-       /// Human-readable version of the method name
-       std::string getDisplayName() const {
-               return _displayName;
-       }
-
-       /// A short phrase describing the purpose of the method
-       std::string getDescription() const {
-               return _description;
-       }
-
-private:
-       bool _isInitialized;
-
-       std::string _name;
-       std::deque<SmartPtrCMethodParameterDoc> _parameterCollection;
-       std::deque<SmartPtrCInstanceParameterDoc> _instanceParameterCollection;
-       std::deque<SmartPtrCClassIdentifierDoc> _returnValCollection;
-       std::deque<SmartPtrCClassIdentifierDoc> _eventValCollection;
-       std::deque<SmartPtrCClassIdentifierDoc> _errorCollection;
-       std::string _displayName;
-       std::string _description;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CMethodDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CMethodDoc);
-
-}
-
-#endif
index a351cd0c09c701ae7fb0bca954e037ad8246a098..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,107 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CMethodParameterDoc_h_
-#define CMethodParameterDoc_h_
-
-namespace Caf {
-
-/// A parameter containing a simple type used by a method to control the outcome
-class CMethodParameterDoc {
-public:
-       CMethodParameterDoc() :
-               _type(PARAMETER_NONE),
-               _isOptional(false),
-               _isList(false),
-               _isInitialized(false) {}
-       virtual ~CMethodParameterDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string name,
-               const PARAMETER_TYPE type,
-               const bool isOptional = false,
-               const bool isList = false,
-               const std::string defaultVal = std::string(),
-               const std::string displayName = std::string(),
-               const std::string description = std::string()) {
-               if (! _isInitialized) {
-                       _name = name;
-                       _type = type;
-                       _isOptional = isOptional;
-                       _isList = isList;
-                       _defaultVal = defaultVal;
-                       _displayName = displayName;
-                       _description = description;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Name of parameter
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Describes the data type of the property
-       PARAMETER_TYPE getType() const {
-               return _type;
-       }
-
-       /// Indicates this parameter need not be passed
-       bool getIsOptional() const {
-               return _isOptional;
-       }
-
-       /// Indicates whether to expect a list of values as opposed to a single value (the default if this attribute is not present)
-       bool getIsList() const {
-               return _isList;
-       }
-
-       /// Accessor for the DefaultVal
-       std::string getDefaultVal() const {
-               return _defaultVal;
-       }
-
-       /// Human-readable version of the parameter name
-       std::string getDisplayName() const {
-               return _displayName;
-       }
-
-       /// Short description of what the parameter is for
-       std::string getDescription() const {
-               return _description;
-       }
-
-private:
-       std::string _name;
-       PARAMETER_TYPE _type;
-       bool _isOptional;
-       bool _isList;
-       std::string _defaultVal;
-       std::string _displayName;
-       std::string _description;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CMethodParameterDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CMethodParameterDoc);
-
-}
-
-#endif
index 4f17e66e6ac6593dc3a999a89602bb9d98f52ac2..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,105 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CPhysicalRelationshipDoc_h_
-#define CPhysicalRelationshipDoc_h_
-
-namespace Caf {
-
-/// Describes a relationship between dataclass where the key information from data class instances comprising the relationship are listed in an instance of this class
-class CPhysicalRelationshipDoc {
-public:
-       CPhysicalRelationshipDoc() :
-               _arity(ARITY_NONE),
-               _isInitialized(false) {}
-       virtual ~CPhysicalRelationshipDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string namespaceVal,
-               const std::string name,
-               const std::string version,
-               const ARITY_TYPE arity,
-               const SmartPtrCClassCardinalityDoc dataClassLeft,
-               const SmartPtrCClassCardinalityDoc dataClassRight,
-               const std::string description = std::string()) {
-               if (! _isInitialized) {
-                       _namespaceVal = namespaceVal;
-                       _name = name;
-                       _version = version;
-                       _arity = arity;
-                       _dataClassLeft = dataClassLeft;
-                       _dataClassRight = dataClassRight;
-                       _description = description;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the NamespaceVal
-       std::string getNamespaceVal() const {
-               return _namespaceVal;
-       }
-
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the Version
-       std::string getVersion() const {
-               return _version;
-       }
-
-       /// Accessor for the Arity
-       ARITY_TYPE getArity() const {
-               return _arity;
-       }
-
-       /// Accessor for the DataClassLeft
-       SmartPtrCClassCardinalityDoc getDataClassLeft() const {
-               return _dataClassLeft;
-       }
-
-       /// Accessor for the DataClassRight
-       SmartPtrCClassCardinalityDoc getDataClassRight() const {
-               return _dataClassRight;
-       }
-
-       /// Accessor for the Description
-       std::string getDescription() const {
-               return _description;
-       }
-
-private:
-       std::string _namespaceVal;
-       std::string _name;
-       std::string _version;
-       ARITY_TYPE _arity;
-       SmartPtrCClassCardinalityDoc _dataClassLeft;
-       SmartPtrCClassCardinalityDoc _dataClassRight;
-       std::string _description;
-       bool _isInitialized;
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CPhysicalRelationshipDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CPhysicalRelationshipDoc);
-
-}
-
-#endif
index c541ed2d20279fad3f3103cb5d015e291d42d173..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,106 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: April 6, 2012
- *
- *  Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- *  This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- *  speak to Brian W. before modifying it by hand.
- *
- */
-
-#ifndef CRelationshipDoc_h_
-#define CRelationshipDoc_h_
-
-namespace Caf {
-
-/// Definition of a relationship between data classes
-class CRelationshipDoc {
-public:
-       CRelationshipDoc() :
-               _arity(ARITY_NONE),
-               _isInitialized(false) {}
-       virtual ~CRelationshipDoc() {}
-
-public:
-       /// Initializes the object with everything required by this
-       /// container. Once initialized, this object cannot
-       /// be changed (i.e. it is immutable).
-       void initialize(
-               const std::string namespaceVal,
-               const std::string name,
-               const std::string version,
-               const ARITY_TYPE arity,
-               const SmartPtrCClassCardinalityDoc dataClassLeft,
-               const SmartPtrCClassCardinalityDoc dataClassRight,
-               const std::string description = std::string()) {
-               if (! _isInitialized) {
-                       _namespaceVal = namespaceVal;
-                       _name = name;
-                       _version = version;
-                       _arity = arity;
-                       _dataClassLeft = dataClassLeft;
-                       _dataClassRight = dataClassRight;
-                       _description = description;
-
-                       _isInitialized = true;
-               }
-       }
-
-public:
-       /// Accessor for the NamespaceVal
-       std::string getNamespaceVal() const {
-               return _namespaceVal;
-       }
-
-       /// Accessor for the Name
-       std::string getName() const {
-               return _name;
-       }
-
-       /// Accessor for the Version
-       std::string getVersion() const {
-               return _version;
-       }
-
-       /// Number of parts (sides) to relationship. Restricted to a two-sided relationship for now
-       ARITY_TYPE getArity() const {
-               return _arity;
-       }
-
-       /// Identifies the two classes that make up the relationship
-       SmartPtrCClassCardinalityDoc getDataClassLeft() const {
-               return _dataClassLeft;
-       }
-
-       /// Identifies the two classes that make up the relationship
-       SmartPtrCClassCardinalityDoc getDataClassRight() const {
-               return _dataClassRight;
-       }
-
-       /// A short human-readable description of the relationship
-       std::string getDescription() const {
-               return _description;
-       }
-
-private:
-       std::string _namespaceVal;
-       std::string _name;
-       std::string _version;
-       ARITY_TYPE _arity;
-       SmartPtrCClassCardinalityDoc _dataClassLeft;
-       SmartPtrCClassCardinalityDoc _dataClassRight;
-       std::string _description;
-       bool _isInitialized;
-
-
-private:
-       CAF_CM_DECLARE_NOCOPY(CRelationshipDoc);
-};
-
-CAF_DECLARE_SMART_POINTER(CRelationshipDoc);
-
-}
-
-#endif
index 986c4c9f37d5e7aefe2d38d7e7a20623f617b8d6..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,69 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: April 6, 2012
- *
- *     Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef SCHEMATYPESDOCINC_H_
-#define SCHEMATYPESDOCINC_H_
-
-namespace Caf {
-
-       typedef enum {
-               OPERATOR_NONE,
-               OPERATOR_EQUAL
-       } OPERATOR_TYPE;
-
-       typedef enum {
-               ARITY_NONE,
-               ARITY_UNSIGNED_BYTE = 2
-       } ARITY_TYPE;
-
-       typedef enum {
-               VALIDATOR_NONE,
-               VALIDATOR_ENUM,
-               VALIDATOR_RANGE,
-               VALIDATOR_REGEX,
-               VALIDATOR_CUSTOM
-       } VALIDATOR_TYPE;
-
-       // Forward declare
-       CAF_DECLARE_CLASS_AND_SMART_POINTER(CDataClassSubInstanceDoc);
-}
-
-#include "CInstanceOperationDoc.h"
-#include "CInstanceOperationCollectionDoc.h"
-#include "CActionClassInstanceDoc.h"
-#include "CActionClassInstanceCollectionDoc.h"
-
-#include "CCmdlMetadataDoc.h"
-#include "CCmdlUnionDoc.h"
-#include "CDataClassPropertyDoc.h"
-#include "CDataClassSubInstanceDoc.h"
-#include "CDataClassInstanceDoc.h"
-#include "CDataClassInstanceCollectionDoc.h"
-
-#include "CMethodParameterDoc.h"
-#include "CInstanceParameterDoc.h"
-
-#include "CClassIdentifierDoc.h"
-
-#include "CMethodDoc.h"
-#include "CCollectMethodDoc.h"
-#include "CActionClassDoc.h"
-
-#include "CClassPropertyDoc.h"
-
-#include "CClassFieldDoc.h"
-#include "CJoinTypeDoc.h"
-
-#include "CClassCardinalityDoc.h"
-#include "CClassInstancePropertyDoc.h"
-#include "CDataClassDoc.h"
-#include "CLogicalRelationshipDoc.h"
-#include "CPhysicalRelationshipDoc.h"
-#include "CRelationshipDoc.h"
-
-#endif /* SCHEMATYPESDOCINC_H_ */
index 57ba0feec4a6c8bff3a3535a3e08da2c6bcb040d..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,27 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: April 6, 2012
- *
- *     Copyright (c) 2012 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef DocContracts_h_
-#define DocContracts_h_
-
-#include "Doc/CafCoreTypesDoc/CafCoreTypesDocInc.h"
-#include "Doc/SchemaTypesDoc/SchemaTypesDocInc.h"
-#include "Doc/DiagTypesDoc/DiagTypesDocInc.h"
-#include "Doc/DiagRequestDoc/DiagRequestDocInc.h"
-#include "Doc/MgmtTypesDoc/MgmtTypesDocInc.h"
-#include "Doc/MgmtRequestDoc/MgmtRequestDocInc.h"
-#include "Doc/PayloadEnvelopeDoc/PayloadEnvelopeDocInc.h"
-#include "Doc/PersistenceDoc/PersistenceDocInc.h"
-#include "Doc/ProviderInfraDoc/ProviderInfraDocInc.h"
-#include "Doc/ProviderRequestDoc/ProviderRequestDocInc.h"
-#include "Doc/ProviderResultsDoc/ProviderResultsDocInc.h"
-#include "Doc/ResponseDoc/ResponseDocInc.h"
-#include "Doc/CafInstallRequestDoc/CafInstallRequestDocInc.h"
-#include "Doc/MultiPmeMgmtRequestDoc/MultiPmeMgmtRequestDocInc.h"
-
-#endif
index 5a66bb0d9afae1b648a54c9d66ed25a27b3894c9..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,54 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Jan 26, 2011
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _FxContracts_IBean_h_
-#define _FxContracts_IBean_h_
-
-namespace Caf {
-
-CAF_FORWARD_DECLARE_SMART_INTERFACE(IBean);
-
-/// TODO - describe interface
-struct __declspec(novtable)
-IBean : public ICafObject {
-       CAF_DECL_UUID("860C6E41-76E4-404b-913F-C330EE864DCD")
-
-       struct CArg {
-               CArg(const SmartPtrIBean& ref) :
-                       _reference(ref),
-                       _type(REFERENCE) {}
-               CArg(const std::string& val) :
-                       _value(val),
-                       _type(VALUE) {}
-
-               typedef enum {
-                       REFERENCE,
-                       VALUE
-               } ARG_TYPE;
-
-               SmartPtrIBean _reference;
-               std::string _value;
-               ARG_TYPE _type;
-
-       private:
-               CArg();
-       };
-
-       typedef std::deque<CArg> Cargs;
-       typedef Cmapstrstr Cprops;
-
-       virtual void initializeBean(
-                       const IBean::Cargs& ctorArgs,
-                       const IBean::Cprops& properties) = 0;
-
-       virtual void terminateBean() = 0;
-};
-
-}
-
-#endif
index 052a5be19927f8998d4fc064b1ae3542c7f83e24..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,31 +0,0 @@
-/*
- *  Created on: Jul 23, 2012
- *      Author: mdonahue
- *
- *  Copyright (c) 2012 VMware, Inc.  All rights reserved.
- *  -- VMware Confidential
- */
-
-#ifndef _FxContracts_IVARIANT_H_
-#define _FxContracts_IVARIANT_H_
-
-namespace Caf {
-struct __declspec(novtable) IVariant : public ICafObject {
-       CAF_DECL_UUID("05AC7CB8-BBD4-4B3B-AB80-29002DD73747")
-
-       virtual GVariant *get() const = 0;
-       virtual std::string toString() const = 0;
-       virtual bool isString() const = 0;
-       virtual bool isBool() const = 0;
-       virtual bool isUint8() const = 0;
-       virtual bool isInt16() const = 0;
-       virtual bool isUint16() const = 0;
-       virtual bool isInt32() const = 0;
-       virtual bool isUint32() const = 0;
-       virtual bool isInt64() const = 0;
-       virtual bool isUint64() const = 0;
-};
-CAF_DECLARE_SMART_INTERFACE_POINTER(IVariant);
-}
-
-#endif
index 07b8bea3b9e07bef620ee520655bc8d12ba8a49f..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,19 +0,0 @@
-/*
- *      Author: mdonahue
- *  Created: 1/20/2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef FxContracts_h_
-#define FxContracts_h_
-
-#include <map>
-#include <deque>
-
-// Interfaces
-#include "Fx/IBean.h"
-#include "Fx/IVariant.h"
-
-#endif
index 99d48fcfb78d682261ba3a26db4dac6928a762cf..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,48 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct 22, 2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_CPollerMetadata_h_
-#define _IntegrationContracts_CPollerMetadata_h_
-
-namespace Caf {
-
-class CPollerMetadata {
-public:
-       CPollerMetadata() :
-               _maxMessagesPerPoll(0),
-               _fixedRate(0) {}
-
-public:
-       uint32 getMaxMessagesPerPoll() const {
-               return _maxMessagesPerPoll;
-       }
-       void putMaxMessagesPerPoll(const uint32& maxMessagesPerPoll) {
-               _maxMessagesPerPoll = maxMessagesPerPoll;
-       }
-
-       uint32 getFixedRate() const {
-               return _fixedRate;
-       }
-       void putFixedRate(const uint32& fixedRate) {
-               _fixedRate = fixedRate;
-       }
-
-private:
-       uint32 _maxMessagesPerPoll;
-       uint32 _fixedRate;
-
-private:
-       CPollerMetadata (const CPollerMetadata&);
-       CPollerMetadata & operator=(const CPollerMetadata&);
-};
-
-CAF_DECLARE_SMART_POINTER(CPollerMetadata);
-
-}
-
-#endif // #ifndef _IntegrationContracts_CPollerMetadata_h_
index 446475bdbe7f8f99bca46b5436aef8dfdd6c7288..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,61 +0,0 @@
-/*
- *  Created on: Jan 25, 2012
- *      Author: mdonahue
- *
- *  Copyright (c) 2012 VMware, Inc.  All rights reserved.
- *  -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_ICHANNELINTERCEPTOR_H_
-#define _IntegrationContracts_ICHANNELINTERCEPTOR_H_
-
-namespace Caf {
-
-struct __declspec(novtable)
-       IChannelInterceptor : public ICafObject
-{
-       CAF_DECL_UUID("5002EA10-769B-44A0-AA6B-18ED91B57655")
-
-       /**
-        * Invoked before the message is sent to the channel.
-        * The message may be modified if necessary.
-        * If this method returns null then the
-        * actual send invocation will not occur.
-        */
-       virtual SmartPtrIIntMessage& preSend(
-                       SmartPtrIIntMessage& message,
-                       SmartPtrIMessageChannel& channel) = 0;
-
-       /**
-        * Invoked immediately after the send invocation. The
-        * boolean value argument represents the return value of
-        * that invocation.
-        */
-       virtual void postSend(
-                       SmartPtrIIntMessage& message,
-                       SmartPtrIMessageChannel& channel,
-                       bool sent) = 0;
-
-       /**
-        * Invoked as soon as receive is called and before a message
-        * is actually retrieved. If the return value is 'false' then
-        * no message will be retrieved. This only applies to PollableChannels.
-        */
-       virtual bool preReceive(
-                       SmartPtrIMessageChannel& channel) = 0;
-
-       /**
-        * Invoked immediately after a message has been retrieved but
-        * before it is returned to the caller. The message may be modified
-        * if necessary. This only applies to PollableChannels.
-        */
-       virtual SmartPtrIIntMessage& postReceive(
-                       SmartPtrIIntMessage& message,
-                       SmartPtrIMessageChannel& channel) = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IChannelInterceptor);
-
-}
-
-#endif /* _IntegrationContracts_ICHANNELINTERCEPTOR_H_ */
index 5aa875272a60085647ea4eb8bb1a4dff61600714..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,27 +0,0 @@
-/*
- *  Created on: Jan 25, 2012
- *      Author: mdonahue
- *
- *  Copyright (c) 2012 VMware, Inc.  All rights reserved.
- *  -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_ICHANNELINTERCEPTORINSTANCE_H_
-#define _IntegrationContracts_ICHANNELINTERCEPTORINSTANCE_H_
-
-namespace Caf {
-
-struct __declspec(novtable)
-       IChannelInterceptorInstance : public ICafObject
-{
-       CAF_DECL_UUID("566C38A8-FF13-4E31-814E-A18130C009F6")
-
-       virtual uint32 getOrder() const = 0;
-
-       virtual bool isChannelIdMatched(const std::string& channelId) const = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IChannelInterceptorInstance);
-
-}
-#endif /* _IntegrationContracts_ICHANNELINTERCEPTORINSTANCE_H_ */
index 8d1b9247096f8855c94936105722ed65b808100a..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,27 +0,0 @@
-/*
- *  Created on: Jan 26, 2012
- *      Author: mdonahue
- *
- *  Copyright (c) 2012 VMware, Inc.  All rights reserved.
- *  -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_ICHANNELINTERCEPTORSUPPORT_H_
-#define _IntegrationContracts_ICHANNELINTERCEPTORSUPPORT_H_
-
-namespace Caf {
-
-struct __declspec(novtable)
-IChannelInterceptorSupport : public ICafObject {
-       CAF_DECL_UUID("C8F3CBAF-B1EB-4AD8-920C-EFE5EE25638A")
-
-       typedef std::list<SmartPtrIChannelInterceptor> InterceptorCollection;
-       virtual void setInterceptors(
-                       const InterceptorCollection& interceptors) = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IChannelInterceptorSupport);
-
-}
-
-#endif /* _IntegrationContracts_ICHANNELINTERCEPTORSUPPORT_H_ */
index 7f6d653c01d19b383f27907112f347b33b4cf746..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,32 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct 22, 2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_IChannelResolver_h_
-#define _IntegrationContracts_IChannelResolver_h_
-
-namespace Caf {
-
-/// TODO - describe interface
-struct __declspec(novtable)
-       IChannelResolver : public ICafObject
-{
-       CAF_DECL_UUID("32361862-a312-4cab-a978-45b7059ca102")
-
-       virtual SmartPtrIMessageChannel resolveChannelName(
-               const std::string& channelName) const = 0;
-
-       virtual SmartPtrIIntegrationObject resolveChannelNameToObject(
-               const std::string& channelName) const = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IChannelResolver);
-
-}
-
-#endif // #ifndef _IntegrationContracts_IChannelResolver_h_
-
index a2bf910bd5565d3b2ca840e85792a6728fe8b08b..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,51 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct 22, 2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_IDocument_h_
-#define _IntegrationContracts_IDocument_h_
-
-namespace Caf {
-
-CAF_FORWARD_DECLARE_SMART_INTERFACE(IDocument);
-
-/// TODO - describe interface
-struct __declspec(novtable)
-       IDocument : public ICafObject
-{
-       CAF_DECL_UUID("aa95ea11-3ca0-4863-b267-88d38246ff67")
-
-public: // Read operations
-       typedef std::map<std::string, std::string> CAttributeCollection;
-       typedef std::multimap<std::string, SmartPtrIDocument> CChildCollection;
-       typedef std::deque<SmartPtrIDocument> COrderedChildCollection;
-       CAF_DECLARE_SMART_POINTER(CAttributeCollection);
-       CAF_DECLARE_SMART_POINTER(CChildCollection);
-       CAF_DECLARE_SMART_POINTER(COrderedChildCollection);
-
-public: // Read operations
-       virtual std::string findRequiredAttribute(const std::string& name) const = 0;
-       virtual std::string findOptionalAttribute(const std::string& name) const = 0;
-       virtual SmartPtrIDocument findRequiredChild(const std::string& name) const = 0;
-       virtual SmartPtrIDocument findOptionalChild(const std::string& name) const = 0;
-       virtual SmartPtrCAttributeCollection getAllAttributes() const = 0;
-       virtual SmartPtrCChildCollection getAllChildren() const = 0;
-       virtual SmartPtrCOrderedChildCollection getAllChildrenInOrder() const = 0;
-       virtual std::string getName() const = 0;
-       virtual std::string getValue() const = 0;
-       virtual std::string getPath() const = 0;
-
-public: // Save operations
-       virtual void saveToFile(const std::string& filename) const = 0;
-       virtual std::string saveToString() const = 0;
-       virtual std::string saveToStringRaw() const = 0;
-};
-
-}
-
-#endif // #ifndef _IntegrationContracts_IDocument_h_
-
index e368f4a8c281a9ea35ae21395fada3db566a5876..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,31 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct 22, 2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_IErrorHandler_h_
-#define _IntegrationContracts_IErrorHandler_h_
-
-namespace Caf {
-
-/// TODO - describe interface
-struct __declspec(novtable)
-       IErrorHandler : public ICafObject
-{
-       CAF_DECL_UUID("da0e8646-43fb-4d43-a31b-f736c3978d48")
-
-public: // Read operations
-       virtual void handleError(
-               const SmartPtrIThrowable& throwable,
-               const SmartPtrIIntMessage& message) const = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IErrorHandler);
-
-}
-
-#endif // #ifndef _IntegrationContracts_IErrorHandler_h_
-
index 1f54feb3ea27729a60be374970ae6bd2752279cb..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,29 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct 22, 2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_IErrorProcessor_h_
-#define _IntegrationContracts_IErrorProcessor_h_
-
-namespace Caf {
-
-/// TODO - describe interface
-struct __declspec(novtable)
-       IErrorProcessor : public ICafObject
-{
-       CAF_DECL_UUID("7ed3c23c-609a-4e42-9463-ed98da222d0a")
-
-       virtual SmartPtrIIntMessage processErrorMessage(
-               const SmartPtrIIntMessage& message) = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IErrorProcessor);
-
-}
-
-#endif // #ifndef _IntegrationContracts_IErrorProcessor_h_
-
index 3222cf14d14c3a3da9651232c33a72472837961f..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,26 +0,0 @@
-/*
- *  Created on: Jul 23, 2012
- *      Author: mdonahue
- *
- *  Copyright (c) 2012 VMware, Inc.  All rights reserved.
- *  -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_IEXPRESSIONINVOKER_H_
-#define _IntegrationContracts_IEXPRESSIONINVOKER_H_
-
-namespace Caf {
-
-struct __declspec(novtable) IExpressionInvoker : public ICafObject
-{
-       CAF_DECL_UUID("EF1DC19E-4DE0-416C-A7CB-D1695FF8D52A")
-
-       virtual SmartPtrIVariant invokeExpression(
-                       const std::string& methodName,
-                       const Cdeqstr& methodParams,
-                       const SmartPtrIIntMessage& message) = 0;
-};
-CAF_DECLARE_SMART_INTERFACE_POINTER(IExpressionInvoker);
-}
-
-#endif
index ecc33795c10322272acfb6de0825a18ecffb17ae..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,68 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct 22, 2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_IIntMessage_h_
-#define _IntegrationContracts_IIntMessage_h_
-
-namespace Caf {
-
-/// TODO - describe interface
-struct __declspec(novtable)
-       IIntMessage : public ICafObject {
-       CAF_DECL_UUID("c9abc77a-ebd1-4203-911f-1b37d9b17d8e")
-
-       //
-       // Routines dealing with the message
-       //
-       virtual UUID getMessageId() const = 0;
-
-       virtual std::string getMessageIdStr() const = 0;
-
-       //
-       // Routines dealing with the payload
-       //
-       typedef std::map<std::string, std::pair<SmartPtrIVariant, SmartPtrICafObject> > CHeaders;
-       CAF_DECLARE_SMART_POINTER(CHeaders);
-
-       virtual SmartPtrCDynamicByteArray getPayload() const = 0;
-
-       virtual std::string getPayloadStr() const = 0;
-
-       //
-       // Routines dealing with the headers
-       //
-       virtual SmartPtrCHeaders getHeaders() const = 0;
-
-       virtual SmartPtrIVariant findOptionalHeader(
-               const std::string& key) const = 0;
-
-       virtual SmartPtrIVariant findRequiredHeader(
-               const std::string& key) const = 0;
-
-       virtual std::string findOptionalHeaderAsString(
-               const std::string& key) const = 0;
-
-       virtual std::string findRequiredHeaderAsString(
-               const std::string& key) const = 0;
-
-       virtual SmartPtrICafObject findOptionalObjectHeader(
-               const std::string& key) const = 0;
-
-       virtual SmartPtrICafObject findRequiredObjectHeader(
-               const std::string& key) const = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IIntMessage);
-
-typedef std::deque<SmartPtrIIntMessage> CMessageCollection;
-CAF_DECLARE_SMART_POINTER(CMessageCollection);
-
-}
-
-#endif // #ifndef _IntegrationContracts_IIntMessage_h_
-
index e7cae541b0d659751708e5294b05abec7b56f684..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,34 +0,0 @@
-/*
- *  Created on: Jun 13, 2012
- *      Author: mdonahue
- *
- *  Copyright (c) 2012 VMware, Inc.  All rights reserved.
- *  -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_IINTEGRATIONAPPCONTEXT_H_
-#define _IntegrationContracts_IINTEGRATIONAPPCONTEXT_H_
-
-namespace Caf {
-
-struct __declspec(novtable) IIntegrationAppContext : public ICafObject {
-       CAF_DECL_UUID("CC12C628-50C1-4E74-998D-3A9C961FA06F")
-
-       virtual SmartPtrIIntegrationObject getIntegrationObject(
-                       const std::string& id) const = 0;
-
-       virtual void getIntegrationObject(
-                       const IID& iid,
-                       void **ppv) const = 0;
-
-       typedef std::deque<SmartPtrICafObject> CObjectCollection;
-       CAF_DECLARE_SMART_POINTER(CObjectCollection);
-
-       virtual SmartPtrCObjectCollection getIntegrationObjects(const IID& iid) const = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IIntegrationAppContext);
-
-}
-
-#endif
index 0d156309f2207cc4581951dc4b74113170e947e7..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,24 +0,0 @@
-/*
- *  Created on: Jun 13, 2012
- *      Author: mdonahue
- *
- *  Copyright (c) 2012 VMware, Inc.  All rights reserved.
- *  -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_IINTEGRATIONAPPCONTEXTAWARE_H_
-#define _IntegrationContracts_IINTEGRATIONAPPCONTEXTAWARE_H_
-
-namespace Caf {
-
-struct __declspec(novtable) IIntegrationAppContextAware : public ICafObject {
-       CAF_DECL_UUID("9BC34EB5-AEFF-4384-86DE-421DE89AB6E8")
-
-       virtual void setIntegrationAppContext(
-                       SmartPtrIIntegrationAppContext context) = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IIntegrationAppContextAware);
-}
-
-#endif
index 5da3ae1252ff18e95848f36c362280830c6450ad..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,32 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct 22, 2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_IIntegrationComponent_h_
-#define _IntegrationContracts_IIntegrationComponent_h_
-
-namespace Caf {
-
-/// TODO - describe interface
-struct __declspec(novtable)
-       IIntegrationComponent : public ICafObject
-{
-       CAF_DECL_UUID("087e1494-4abe-4bb6-ae49-48f4510e057f")
-
-       virtual bool isResponsible(
-               const SmartPtrIDocument& configSection) const = 0;
-
-       virtual SmartPtrIIntegrationObject createObject(
-               const SmartPtrIDocument& configSection) const = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IIntegrationComponent);
-
-}
-
-#endif // #ifndef _IntegrationContracts_IIntegrationComponent_h_
-
index b21e4a38b525caec8cbb2f083caa7b7945734fee..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,30 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct 22, 2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_IIntegrationComponentInstance_h_
-#define _IntegrationContracts_IIntegrationComponentInstance_h_
-
-namespace Caf {
-
-/// TODO - describe interface
-struct __declspec(novtable)
-       IIntegrationComponentInstance : public ICafObject
-{
-       CAF_DECL_UUID("70053165-1e46-4893-8e27-0e6ee8675c44")
-
-       virtual void wire(
-               const SmartPtrIAppContext& appContext,
-               const SmartPtrIChannelResolver& channelResolver) = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IIntegrationComponentInstance);
-
-}
-
-#endif // #ifndef _IntegrationContracts_IIntegrationComponent_h_
-
index 13ca53ef2f0347b453abbfbc78954adc3043f8ab..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,36 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct 22, 2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_IIntegrationObject_h_
-#define _IntegrationContracts_IIntegrationObject_h_
-
-namespace Caf {
-
-/// TODO - describe interface
-struct __declspec(novtable)
-       IIntegrationObject : public ICafObject
-{
-       CAF_DECL_UUID("295fa2c8-01a7-4102-b13e-8fcac00b3e5f")
-
-       virtual void initialize(
-               const IBean::Cargs& ctorArgs,
-               const IBean::Cprops& properties,
-               const SmartPtrIDocument& configSection) = 0;
-
-       virtual std::string getId() const = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IIntegrationObject);
-
-typedef std::map<std::string, SmartPtrIIntegrationObject> CIntegrationObjectCollection;
-CAF_DECLARE_SMART_POINTER(CIntegrationObjectCollection);
-
-}
-
-#endif // #ifndef _IntegrationContracts_IIntegrationObject_h_
-
index 19ddd38d26aee791c0d4ca06efb3cbb39187a609..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,30 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct 22, 2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_ILifecycle_h_
-#define _IntegrationContracts_ILifecycle_h_
-
-namespace Caf {
-
-/// TODO - describe interface
-struct __declspec(novtable)
-       ILifecycle : public ICafObject
-{
-       CAF_DECL_UUID("180845f8-c956-46b3-8a1b-ef5061cc927a")
-
-       virtual void start(const uint32 timeoutMs) = 0;
-       virtual void stop(const uint32 timeoutMs) = 0;
-       virtual bool isRunning() const = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(ILifecycle);
-
-}
-
-#endif // #ifndef _IntegrationContracts_ILifecycle_h_
-
index 2524b112da82936fe35d0ebd4df35d8050587e9e..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,33 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct 22, 2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_IMessageChannel_h_
-#define _IntegrationContracts_IMessageChannel_h_
-
-namespace Caf {
-
-/// TODO - describe interface
-struct __declspec(novtable)
-       IMessageChannel : public ICafObject
-{
-       CAF_DECL_UUID("d5192d01-9c26-4c1c-8966-66d7a108bcbf")
-
-       virtual bool send(
-               const SmartPtrIIntMessage& message) = 0;
-
-       virtual bool send(
-               const SmartPtrIIntMessage& message,
-               const int32 timeout) = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IMessageChannel);
-
-}
-
-#endif // #ifndef _IntegrationContracts_IMessageChannel_h_
-
index 04cb7da6c086b6ec904acf93255f4a9b39af6499..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,35 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct 22, 2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_IMessageDispatcher_h_
-#define _IntegrationContracts_IMessageDispatcher_h_
-
-namespace Caf {
-
-/// TODO - describe interface
-struct __declspec(novtable)
-       IMessageDispatcher : public ICafObject
-{
-       CAF_DECL_UUID("639d8ead-6406-4c41-9a36-74d065f5dd6b")
-
-       virtual void addHandler(
-               const SmartPtrIMessageHandler& messageHandler) = 0;
-
-       virtual void removeHandler(
-               const SmartPtrIMessageHandler& messageHandler) = 0;
-
-       virtual bool dispatch(
-               const SmartPtrIIntMessage& message) = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IMessageDispatcher);
-
-}
-
-#endif // #ifndef _IntegrationContracts_IMessageDispatcher_h_
-
index a3584248fe758f745d5df9b41fcfc57cbe578b87..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,33 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct 22, 2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_IMessageHandler_h_
-#define _IntegrationContracts_IMessageHandler_h_
-
-namespace Caf {
-
-/// TODO - describe interface
-struct __declspec(novtable)
-       IMessageHandler : public ICafObject
-{
-       CAF_DECL_UUID("39a78b6f-f326-4739-b8ad-9e90a827745a")
-
-       virtual void handleMessage(
-               const SmartPtrIIntMessage& message) = 0;
-
-       virtual SmartPtrIIntMessage getSavedMessage() const = 0;
-
-       virtual void clearSavedMessage() = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IMessageHandler);
-
-}
-
-#endif // #ifndef _IntegrationContracts_IMessageHandler_h_
-
index b1d234c5cb79ae443fa5dcb4548b74fc46e0541d..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,29 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct 22, 2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_IMessageProcessor_h_
-#define _IntegrationContracts_IMessageProcessor_h_
-
-namespace Caf {
-
-/// TODO - describe interface
-struct __declspec(novtable)
-       IMessageProcessor : public ICafObject
-{
-       CAF_DECL_UUID("68770787-c44e-457e-bf8d-20c64d37bfee")
-
-       virtual SmartPtrIIntMessage processMessage(
-               const SmartPtrIIntMessage& message) = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IMessageProcessor);
-
-}
-
-#endif // #ifndef _IntegrationContracts_IMessageProcessor_h_
-
index 243ae387190fe46ec4af7c0f121c139e9000495c..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,28 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct 22, 2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_IMessageProducer_h_
-#define _IntegrationContracts_IMessageProducer_h_
-
-namespace Caf {
-
-/// TODO - describe interface
-struct __declspec(novtable)
-       IMessageProducer : public ICafObject
-{
-       CAF_DECL_UUID("14430bc5-8556-48f8-b37f-c2f24a50d8dd")
-
-       virtual bool isMessageProducer() const = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IMessageProducer);
-
-}
-
-#endif // #ifndef _IntegrationContracts_IMessageProducer_h_
-
index 4e0fa781e6c8abc99188ce7d4406d6dc75416922..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,28 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct 22, 2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_IMessageRouter_h_
-#define _IntegrationContracts_IMessageRouter_h_
-
-namespace Caf {
-
-/// TODO - describe interface
-struct __declspec(novtable)
-       IMessageRouter : public ICafObject
-{
-       CAF_DECL_UUID("27ed0739-e527-469b-882f-196d532be0bd")
-
-       virtual void routeMessage(const SmartPtrIIntMessage& message) = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IMessageRouter);
-
-}
-
-#endif // #ifndef _IntegrationContracts_IMessageRouter_h_
-
index c4d20d931aa4dcd5551ac14acd7d100e4f781811..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,32 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct 22, 2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_IMessageSplitter_h_
-#define _IntegrationContracts_IMessageSplitter_h_
-
-namespace Caf {
-
-/// TODO - describe interface
-struct __declspec(novtable)
-       IMessageSplitter : public ICafObject
-{
-       CAF_DECL_UUID("89a25ba3-113d-4efc-af46-522feda304ac")
-
-       typedef std::deque<SmartPtrIIntMessage> CMessageCollection;
-       CAF_DECLARE_SMART_POINTER(CMessageCollection);
-
-       virtual SmartPtrCMessageCollection splitMessage(
-               const SmartPtrIIntMessage& message) = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IMessageSplitter);
-
-}
-
-#endif // #ifndef _IntegrationContracts_IMessageSplitter_h_
-
index 0ed49e0c3cb3828ed3979d42d09e6e7e02689efb..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,23 +0,0 @@
-/*
- *  Created on: Aug 6, 2012
- *      Author: mdonahue
- *
- *  Copyright (c) 2012 VMware, Inc.  All rights reserved.
- *  -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_IPhased_h
-#define _IntegrationContracts_IPhased_h
-
-namespace Caf {
-
-struct __declspec(novtable) IPhased : public ICafObject {
-       CAF_DECL_UUID("CAE354D0-E212-4030-8CB7-23C92D59C6A3")
-
-       virtual int32 getPhase() const = 0;
-};
-CAF_DECLARE_SMART_INTERFACE_POINTER(IPhased);
-
-};
-
-#endif
index 73641e2050f49735d3b5f5bc2c63a866e3fbb513..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,30 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct 22, 2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_IPollableChannel_h_
-#define _IntegrationContracts_IPollableChannel_h_
-
-namespace Caf {
-
-/// TODO - describe interface
-struct __declspec(novtable)
-       IPollableChannel : public ICafObject
-{
-       CAF_DECL_UUID("a7ce8841-f37d-489a-a299-e148c5ff6b11")
-
-       virtual SmartPtrIIntMessage receive() = 0;
-       virtual SmartPtrIIntMessage receive(const int32 timeout) = 0;
-       virtual SmartPtrCPollerMetadata getPollerMetadata() const = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IPollableChannel);
-
-}
-
-#endif // #ifndef _IntegrationContracts_IPollableChannel_h_
-
index 565120bbc6b05713cbfbd4ae198c79c49e4595dd..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,29 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct 22, 2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_IRunnable_h_
-#define _IntegrationContracts_IRunnable_h_
-
-namespace Caf {
-
-/// TODO - describe interface
-struct __declspec(novtable)
-       IRunnable : public ICafObject
-{
-       CAF_DECL_UUID("a3ad671c-3d04-4eba-aaa4-8dcc9c43c959")
-
-       virtual void run() = 0;
-       virtual void cancel() = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IRunnable);
-
-}
-
-#endif // #ifndef _IntegrationContracts_IRunnable_h_
-
index 56103ac3d29b42e7b1937a49dc7b22f1f5eccefe..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,23 +0,0 @@
-/*
- *  Created on: Aug 6, 2012
- *      Author: mdonahue
- *
- *  Copyright (c) 2012 VMware, Inc.  All rights reserved.
- *  -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_ISmartLifecycle_h
-#define _IntegrationContracts_ISmartLifecycle_h
-
-namespace Caf {
-
-struct __declspec(novtable) ISmartLifecycle : public ILifecycle {
-       CAF_DECL_UUID("312B7430-659F-48A1-AAAE-AE44D349132C")
-
-       virtual bool isAutoStartup() const = 0;
-};
-CAF_DECLARE_SMART_INTERFACE_POINTER(ISmartLifecycle);
-
-};
-
-#endif
index c3b612202362fb94a510c4a14cd8e438327f04dd..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,31 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct 22, 2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_ISubscribableChannel_h_
-#define _IntegrationContracts_ISubscribableChannel_h_
-
-namespace Caf {
-
-/// TODO - describe interface
-struct __declspec(novtable)
-       ISubscribableChannel : public ICafObject
-{
-       CAF_DECL_UUID("14d7e980-1b98-4453-b27e-8c058fb705b9")
-
-       virtual void subscribe(
-               const SmartPtrIMessageHandler& messageHandler) = 0;
-       virtual void unsubscribe(
-               const SmartPtrIMessageHandler& messageHandler) = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(ISubscribableChannel);
-
-}
-
-#endif // #ifndef _IntegrationContracts_ISubscribableChannel_h_
-
index 7e7aede8e49589568b6b2751718170e595ec3e0f..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,38 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct 22, 2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_ITaskExecutor_h_
-#define _IntegrationContracts_ITaskExecutor_h_
-
-namespace Caf {
-
-/// TODO - describe interface
-struct __declspec(novtable)
-       ITaskExecutor : public ICafObject
-{
-       CAF_DECL_UUID("4ab38314-fd31-49fc-bfce-173abc53f1a8")
-
-       typedef enum {
-               ETaskStateNotStarted,
-               ETaskStateStarted,
-               ETaskStateStopping,
-               ETaskStateFinished,
-               ETaskStateFailed
-       } ETaskState;
-
-       virtual void execute(const uint32 timeoutMs) = 0;
-       virtual void cancel(const uint32 timeoutMs) = 0;
-       virtual ETaskState getState() const = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(ITaskExecutor);
-
-}
-
-#endif // #ifndef _IntegrationContracts_ITaskExecutor_h_
-
index 5052ee2fefdc7e49ecf6b73cae77a68105c67e6e..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,33 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct. 25, 2011
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _FxContracts_IThrowable_h_
-#define _FxContracts_IThrowable_h_
-
-namespace Caf {
-
-CAF_FORWARD_DECLARE_SMART_INTERFACE(IThrowable);
-
-/// TODO - describe interface
-struct __declspec(novtable)
-IThrowable  : public ICafObject {
-       CAF_DECL_UUID("5bced55d-06b7-4c4b-b805-90b51311dc9b")
-
-       virtual std::string getExceptionClassName() const = 0;
-       virtual std::string getMsg() const = 0;
-       virtual std::string getClassName() const = 0;
-       virtual std::string getFuncName() const = 0;
-       virtual HRESULT getError() const = 0;
-       virtual std::string getFullMsg() const = 0;
-};
-
-}
-
-#endif
-
-
index 9826b35e5d89352f600e59d65fadccbbfa84bc3e..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,29 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: Oct 22, 2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _IntegrationContracts_ITransformer_h_
-#define _IntegrationContracts_ITransformer_h_
-
-namespace Caf {
-
-/// TODO - describe interface
-struct __declspec(novtable)
-       ITransformer : public ICafObject
-{
-       CAF_DECL_UUID("1f2a6ecb-f842-4e09-82a8-89eaf64ec98b")
-
-       virtual SmartPtrIIntMessage transformMessage(
-               const SmartPtrIIntMessage& message) = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(ITransformer);
-
-}
-
-#endif // #ifndef _IntegrationContracts_ITransformer_h_
-
index 15512788cf67f81a33fbb6b9dcca6c9577752fd1..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,49 +0,0 @@
-/*
- *     Author: bwilliams
- *  Created: Oct 20, 2011
- *
- *     Copyright (c) 2011 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef IntegrationContracts_h_
-#define IntegrationContracts_h_
-
-#include <IntegrationContractsDefines.h>
-
-// Dependencies
-#include "Integration/Dependencies/CPollerMetadata.h"
-
-// Interfaces
-#include "Integration/IIntMessage.h"
-#include "Integration/IThrowable.h"
-#include "Integration/IErrorHandler.h"
-#include "Integration/IErrorProcessor.h"
-#include "Integration/IRunnable.h"
-#include "Integration/ITaskExecutor.h"
-#include "Integration/IDocument.h"
-#include "Integration/IIntegrationObject.h"
-#include "Integration/ILifecycle.h"
-#include "Integration/IMessageChannel.h"
-#include "Integration/IMessageHandler.h"
-#include "Integration/IMessageProcessor.h"
-#include "Integration/IMessageSplitter.h"
-#include "Integration/IMessageDispatcher.h"
-#include "Integration/IMessageProducer.h"
-#include "Integration/IMessageRouter.h"
-#include "Integration/ITransformer.h"
-#include "Integration/IPollableChannel.h"
-#include "Integration/ISubscribableChannel.h"
-#include "Integration/IChannelResolver.h"
-#include "Integration/IChannelInterceptor.h"
-#include "Integration/IChannelInterceptorInstance.h"
-#include "Integration/IChannelInterceptorSupport.h"
-#include "Integration/IIntegrationComponentInstance.h"
-#include "Integration/IIntegrationComponent.h"
-#include "Integration/IIntegrationAppContext.h"
-#include "Integration/IIntegrationAppContextAware.h"
-#include "Integration/IExpressionInvoker.h"
-#include "Integration/IPhased.h"
-#include "Integration/ISmartLifecycle.h"
-
-#endif // #ifndef IntegrationContracts_h_
index bb40cf46626e8ef51e074d4ed2f0d1c22377f254..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,71 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: 10/22/2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef IntegrationContractsDefines_h_
-#define IntegrationContractsDefines_h_
-
-#include <BaseDefines.h>
-
-#include <map>
-#include <string>
-#include <list>
-#include <deque>
-#include <vector>
-
-////////////////////////////////////////////////////////////////////////
-//
-// Class declaration helpers
-//
-////////////////////////////////////////////////////////////////////////
-#define INTEGRATION_CONTRACT_DECLARE_STD_ACCESSOR( _classname_ ) \
-       public: \
-       _classname_(){}\
-       private: \
-       _classname_ (const _classname_ &); \
-       _classname_ & operator=(const _classname_ &); \
-       public:
-
-#define INTEGRATION_CONTRACT_DECLARE_NOCOPY( _classname_ ) \
-       private: \
-       _classname_ (const _classname_ &); \
-       _classname_ & operator=(const _classname_ &)
-
-////////////////////////////////////////////////////////////////////////
-//
-// Put these accessors in the header file to provide the implementation.
-//
-////////////////////////////////////////////////////////////////////////
-#define INTEGRATION_CONTRACT_ACCESSOR_IMPL_GET_PUT( _Type_, _Name_ ) \
-       private: \
-               _Type_ _##_Name_; \
-       public: \
-               _Type_ get##_Name_() const \
-               { \
-                       return _##_Name_; \
-               } \
-               void put##_Name_(const _Type_& cr##_Name_) \
-               { \
-                       _##_Name_ = cr##_Name_; \
-               }
-
-////////////////////////////////////////////////////////////////////////
-//
-// Put these accessors in the interface file to provide the declaration.
-//
-////////////////////////////////////////////////////////////////////////
-#define INTEGRATION_CONTRACT_ACCESSOR_VIRT_GET( _Type_, _Name_ ) \
-       virtual _Type_ get##_Name_() const = 0;
-
-#define INTEGRATION_CONTRACT_ACCESSOR_VIRT_PUT( _Type_, _Name_ ) \
-       virtual void put##_Name_(const _Type_ & cr##_Name_) = 0;
-
-#define INTEGRATION_CONTRACT_ACCESSOR_VIRT_GET_PUT( _Type_, _Name_ ) \
-       virtual _Type_ get##_Name_() const = 0; \
-       virtual void put##_Name_(const _Type_ & cr##_Name_) = 0;
-
-#endif
index 783a4e5f279abfddfc5e0ede65f98ce4d77b2d5b..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,35 +0,0 @@
-/*
- *     Author: bwilliams
- *     Created: Nov 12, 2015
- *
- *     Copyright (c) 2015 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _MaContracts_IConfigEnv_h_
-#define _MaContracts_IConfigEnv_h_
-
-namespace Caf {
-
-/// TODO - describe interface
-struct __declspec(novtable)
-IConfigEnv : public ICafObject {
-       CAF_DECL_UUID("dea6cea4-9385-458e-b549-d05640382da6")
-
-       virtual void initialize() = 0;
-
-       virtual SmartPtrCPersistenceDoc getUpdated(
-                       const int32 timeout) = 0;
-
-       virtual void update(
-                       const SmartPtrCPersistenceDoc& persistence) = 0;
-
-       virtual void remove(
-                       const SmartPtrCPersistenceDoc& persistence) = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IConfigEnv);
-
-}
-
-#endif
index 503e8fbd48c44bd8b06b783ad09bc31f8cc99e70..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,35 +0,0 @@
-/*
- *     Author: bwilliams
- *     Created: Nov 12, 2015
- *
- *     Copyright (c) 2015 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _MaContracts_IPersistence_h_
-#define _MaContracts_IPersistence_h_
-
-namespace Caf {
-
-/// TODO - describe interface
-struct __declspec(novtable)
-IPersistence : public ICafObject {
-       CAF_DECL_UUID("5b48f8ef-7023-4583-9d2d-b15ae566b0cc")
-
-       virtual void initialize() = 0;
-
-       virtual SmartPtrCPersistenceDoc getUpdated(
-                       const int32 timeout) = 0;
-
-       virtual void update(
-                       const SmartPtrCPersistenceDoc& persistence) = 0;
-
-       virtual void remove(
-                       const SmartPtrCPersistenceDoc& persistence) = 0;
-};
-
-CAF_DECLARE_SMART_INTERFACE_POINTER(IPersistence);
-
-}
-
-#endif
index 714a2cde7130f95deab3f90d1347b3bb224981b3..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,19 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: 1/20/2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef MaContracts_h_
-#define MaContracts_h_
-
-#include "CafContracts.h"
-#include "DocContracts.h"
-
-// Interfaces
-#include "Ma/IPersistence.h"
-#include "Ma/IConfigEnv.h"
-
-#endif
index 48cc847b75ed19dfb29fab8bfc554f70413c5f8a..1d5d420349fc9c061b4c74dc9a7a18ff2cf4b6dc 100644 (file)
 #define COMMON_SYS_INC_INTEGRATION_H_
 
 #include <CommonDefines.h>
-#include <IntegrationContracts.h>
 
-#include "../src/Integration/Core/IntegrationCoreLink.h"
-#include "../src/Integration/Caf/IntegrationCafLink.h"
+// Dependencies
+#include "Integration/Dependencies/CPollerMetadata.h"
+
+// Interfaces
+#include "Integration/IIntMessage.h"
+#include "Integration/IThrowable.h"
+#include "Integration/IErrorHandler.h"
+#include "Integration/IErrorProcessor.h"
+#include "Integration/IRunnable.h"
+#include "Integration/ITaskExecutor.h"
+#include "Integration/IDocument.h"
+#include "Integration/IIntegrationObject.h"
+#include "Integration/ILifecycle.h"
+#include "Integration/IMessageChannel.h"
+#include "Integration/IMessageHandler.h"
+#include "Integration/IMessageProcessor.h"
+#include "Integration/IMessageSplitter.h"
+#include "Integration/IMessageDispatcher.h"
+#include "Integration/IMessageProducer.h"
+#include "Integration/IMessageRouter.h"
+#include "Integration/ITransformer.h"
+#include "Integration/IPollableChannel.h"
+#include "Integration/ISubscribableChannel.h"
+#include "Integration/IChannelResolver.h"
+#include "Integration/IChannelInterceptor.h"
+#include "Integration/IChannelInterceptorInstance.h"
+#include "Integration/IChannelInterceptorSupport.h"
+#include "Integration/IIntegrationComponentInstance.h"
+#include "Integration/IIntegrationComponent.h"
+#include "Integration/IIntegrationAppContext.h"
+#include "Integration/IIntegrationAppContextAware.h"
+#include "Integration/IExpressionInvoker.h"
+#include "Integration/IPhased.h"
+#include "Integration/ISmartLifecycle.h"
 
-namespace Caf {
-       // Integration Contracts
-       extern INTEGRATIONCORE_LINKAGE const char* _sObjIdIntegrationObjectFactory;
-       extern INTEGRATIONCORE_LINKAGE const char* _sObjIdErrorChannel;
-       extern INTEGRATIONCORE_LINKAGE const char* _sObjIdNullChannel;
-       extern INTEGRATIONCORE_LINKAGE const char* _sObjIdHeaderExpressionInvoker;
-}
+#include "../src/Integration/Caf/IntegrationCafLink.h"
+#include "../src/Integration/Core/IntegrationCoreLink.h"
 
 #endif /* COMMON_SYS_INC_INTEGRATION_H_ */
index aa64cbe7f717823f53fadeabe09d0351b9bb1da9..fa8c5bd26b55297e0cf2a91e6c7d7c5997bf328c 100644 (file)
@@ -1259,7 +1259,7 @@ std::string FileSystemUtils::getTempFilename(const std::string& filename_templat
                GError *gError = NULL;
 
                int32 fd = g_file_open_tmp(filename_template.c_str(), &allocatedFilename, &gError);
-               if (fd > 0) {
+               if (fd >= 0) {
                        filename = allocatedFilename;
 #ifdef WIN32
                        ::_close(fd);
@@ -1283,6 +1283,7 @@ std::string FileSystemUtils::getTempFilename(const std::string& filename_templat
                }
        }
        CAF_CM_EXIT;
+       CAF_CM_VALIDATE_STRING(filename);
        
        return filename;
 }
index 07e99b4ae963083e882f9d27e1fe27a75ecbdaa1..f8f0d109b03c5dff801c5d5a42fa7723d655a836 100644 (file)
@@ -21,7 +21,8 @@ SmartPtrCPersistenceDoc CPersistenceUtils::loadPersistence(
        persistence->initialize(
                        loadLocalSecurity(persistenceDir),
                        loadRemoteSecurityCollection(persistenceDir),
-                       loadPersistenceProtocol(persistenceDir));
+                       loadPersistenceProtocolCollection(persistenceDir),
+                       loadTextFile(persistenceDir, "version.txt", "1.0"));
 
        return persistence;
 }
@@ -104,14 +105,14 @@ SmartPtrCRemoteSecurityCollectionDoc CPersistenceUtils::loadRemoteSecurityCollec
        return remoteSecurityCollection;
 }
 
-SmartPtrCPersistenceProtocolDoc CPersistenceUtils::loadPersistenceProtocol(
+SmartPtrCPersistenceProtocolCollectionDoc CPersistenceUtils::loadPersistenceProtocolCollection(
                const std::string& persistenceDir) {
-       CAF_CM_STATIC_FUNC_VALIDATE("CPersistenceUtils", "loadPersistenceProtocol");
+       CAF_CM_STATIC_FUNC_VALIDATE("CPersistenceUtils", "loadPersistenceProtocolCollection");
        CAF_CM_VALIDATE_STRING(persistenceDir);
 
        const std::string protocolDir = FileSystemUtils::buildPath(persistenceDir, "protocol");
 
-       std::deque<SmartPtrCAmqpBrokerDoc> amqpBrokerCollectionInner;
+       std::deque<SmartPtrCPersistenceProtocolDoc> persistenceProtocolCollectionInner;
        if (FileSystemUtils::doesDirectoryExist(protocolDir)) {
                FileSystemUtils::DirectoryItems protocolItems = FileSystemUtils::itemsInDirectory(
                                protocolDir, FileSystemUtils::REGEX_MATCH_ALL);
@@ -152,10 +153,10 @@ SmartPtrCPersistenceProtocolDoc CPersistenceUtils::loadPersistenceProtocol(
                        tlsCertPathCollection.CreateInstance();
                        tlsCertPathCollection->initialize(tlsCertPathCollectionInner);
 
-                       SmartPtrCAmqpBrokerDoc amqpBroker;
-                       amqpBroker.CreateInstance();
-                       amqpBroker->initialize(
-                                       loadTextFile(protocolIdDir, "amqpBrokerId.txt"),
+                       SmartPtrCPersistenceProtocolDoc persistenceProtocol;
+                       persistenceProtocol.CreateInstance();
+                       persistenceProtocol->initialize(
+                                       loadTextFile(protocolIdDir, "protocolName.txt"),
                                        loadTextFile(protocolIdDir, "uri.txt"),
                                        loadTextFile(protocolIdDir, "tlsCert.pem"),
                                        loadTextFile(protocolIdDir, "tlsProtocol.txt"),
@@ -164,55 +165,39 @@ SmartPtrCPersistenceProtocolDoc CPersistenceUtils::loadPersistenceProtocol(
                                        FileSystemUtils::buildPath(protocolIdDir, "tlsCert.pem"),
                                        tlsCertPathCollection);
 
-                       amqpBrokerCollectionInner.push_back(amqpBroker);
+                       persistenceProtocolCollectionInner.push_back(persistenceProtocol);
                }
        }
 
-       SmartPtrCAmqpBrokerCollectionDoc amqpBrokerCollection;
-       amqpBrokerCollection.CreateInstance();
-       amqpBrokerCollection->initialize(amqpBrokerCollectionInner);
+       SmartPtrCPersistenceProtocolCollectionDoc persistenceProtocolCollection;
+       persistenceProtocolCollection.CreateInstance();
+       persistenceProtocolCollection->initialize(persistenceProtocolCollectionInner);
 
-       SmartPtrCPersistenceProtocolDoc persistenceProtocol;
-       persistenceProtocol.CreateInstance();
-       persistenceProtocol->initialize(amqpBrokerCollection);
-
-       return persistenceProtocol;
+       return persistenceProtocolCollection;
 }
 
-SmartPtrCAmqpBrokerDoc CPersistenceUtils::loadAmqpBroker(
+SmartPtrCPersistenceProtocolDoc CPersistenceUtils::loadPersistenceProtocol(
                const std::string& persistenceDir) {
-       CAF_CM_STATIC_FUNC_VALIDATE("CPersistenceUtils", "loadAmqpBroker");
+       CAF_CM_STATIC_FUNC_VALIDATE("CPersistenceUtils", "loadPersistenceProtocol");
        CAF_CM_VALIDATE_STRING(persistenceDir);
 
-       const SmartPtrCPersistenceProtocolDoc persistenceProtocol =
-                       loadPersistenceProtocol(persistenceDir);
+       const SmartPtrCPersistenceProtocolCollectionDoc persistenceProtocolCollection =
+                       loadPersistenceProtocolCollection(persistenceDir);
 
-       return loadAmqpBroker(persistenceProtocol);
+       return loadPersistenceProtocol(persistenceProtocolCollection);
 }
 
-SmartPtrCAmqpBrokerDoc CPersistenceUtils::loadAmqpBroker(
-               const SmartPtrCPersistenceProtocolDoc& persistenceProtocol) {
-       CAF_CM_STATIC_FUNC_VALIDATE("CPersistenceUtils", "loadAmqpBroker");
-       CAF_CM_VALIDATE_SMARTPTR(persistenceProtocol);
-
-       const SmartPtrCAmqpBrokerCollectionDoc amqpBrokerCollection =
-                       persistenceProtocol->getAmqpBrokerCollection();
-       CAF_CM_VALIDATE_SMARTPTR(amqpBrokerCollection);
-
-       std::deque<SmartPtrCAmqpBrokerDoc> amqpBrokerCollectionInner =
-                       amqpBrokerCollection->getAmqpBroker();
-       CAF_CM_VALIDATE_BOOL(! amqpBrokerCollectionInner.empty());
-       CAF_CM_VALIDATE_BOOL(amqpBrokerCollectionInner.size() <= 2);
+SmartPtrCPersistenceProtocolDoc CPersistenceUtils::loadPersistenceProtocol(
+               const SmartPtrCPersistenceProtocolCollectionDoc& persistenceProtocolCollection) {
+       CAF_CM_STATIC_FUNC_VALIDATE("CPersistenceUtils", "loadPersistenceProtocol");
+       CAF_CM_VALIDATE_SMARTPTR(persistenceProtocolCollection);
 
-       SmartPtrCAmqpBrokerDoc amqpBroker = amqpBrokerCollectionInner.front();
-       if (amqpBrokerCollectionInner.size() == 2) {
-               if (amqpBroker->getAmqpBrokerId().compare("amqpBroker_default") == 0) {
-                       amqpBroker = amqpBrokerCollectionInner.at(1);
-               }
-               CAF_CM_VALIDATE_BOOL(amqpBroker->getAmqpBrokerId().compare("amqpBroker_default") != 0);
-       }
+       std::deque<SmartPtrCPersistenceProtocolDoc> persistenceProtocolCollectionInner =
+                       persistenceProtocolCollection->getPersistenceProtocol();
+       CAF_CM_VALIDATE_BOOL(! persistenceProtocolCollectionInner.empty());
+       CAF_CM_VALIDATE_BOOL(persistenceProtocolCollectionInner.size() == 1);
 
-       return amqpBroker;
+       return persistenceProtocolCollectionInner.front();
 }
 
 void CPersistenceUtils::savePersistence(
@@ -225,8 +210,8 @@ void CPersistenceUtils::savePersistence(
        const SmartPtrCLocalSecurityDoc localSecurity = persistence->getLocalSecurity();
        const SmartPtrCRemoteSecurityCollectionDoc remoteSecurityCollection =
                        persistence->getRemoteSecurityCollection();
-       const SmartPtrCPersistenceProtocolDoc persistenceProtocol =
-                       persistence->getPersistenceProtocol();
+       const SmartPtrCPersistenceProtocolCollectionDoc persistenceProtocolCollection =
+                       persistence->getPersistenceProtocolCollection();
 
        if (FileSystemUtils::doesDirectoryExist(persistenceDir)) {
                CAF_CM_LOG_DEBUG_VA1("Removing directory - %s", persistenceDir.c_str());
@@ -235,7 +220,8 @@ void CPersistenceUtils::savePersistence(
 
        saveLocalSecurity(localSecurity, persistenceDir);
        saveRemoteSecurityCollection(remoteSecurityCollection, persistenceDir);
-       savePersistenceProtocol(persistenceProtocol, persistenceDir);
+       savePersistenceProtocolCollection(persistenceProtocolCollection, persistenceDir);
+       FileSystemUtils::saveTextFile(persistenceDir, "version.txt", persistence->getVersion());
 }
 
 void CPersistenceUtils::saveLocalSecurity(
@@ -320,59 +306,57 @@ void CPersistenceUtils::saveRemoteSecurityCollection(
        }
 }
 
-void CPersistenceUtils::savePersistenceProtocol(
-               const SmartPtrCPersistenceProtocolDoc& persistenceProtocol,
+void CPersistenceUtils::savePersistenceProtocolCollection(
+               const SmartPtrCPersistenceProtocolCollectionDoc& persistenceProtocolCollection,
                const std::string& persistenceDir) {
-       CAF_CM_STATIC_FUNC_VALIDATE("CPersistenceUtils", "savePersistenceProtocol");
+       CAF_CM_STATIC_FUNC_VALIDATE("CPersistenceUtils", "savePersistenceProtocolCollection");
        CAF_CM_VALIDATE_STRING(persistenceDir);
 
-       if (! persistenceProtocol.IsNull() && ! persistenceProtocol->getAmqpBrokerCollection().IsNull()) {
-               const std::deque<SmartPtrCAmqpBrokerDoc> amqpBrokerCollectionInner =
-                               persistenceProtocol->getAmqpBrokerCollection()->getAmqpBroker();
-               if (! amqpBrokerCollectionInner.empty()) {
+       if (! persistenceProtocolCollection.IsNull()) {
+               const std::deque<SmartPtrCPersistenceProtocolDoc> persistenceProtocolCollectionInner =
+                               persistenceProtocolCollection->getPersistenceProtocol();
+               if (! persistenceProtocolCollectionInner.empty()) {
                        const std::string protocolDir = createDirectory(persistenceDir, "protocol");
 
-                       for (TConstIterator<std::deque<SmartPtrCAmqpBrokerDoc> >
-                                       amqpBrokerIter(amqpBrokerCollectionInner);
-                                       amqpBrokerIter;
-                                       amqpBrokerIter++) {
-                               const SmartPtrCAmqpBrokerDoc amqpBroker = *amqpBrokerIter;
+                       for (TConstIterator<std::deque<SmartPtrCPersistenceProtocolDoc> >
+                                       persistenceProtocolIter(persistenceProtocolCollectionInner);
+                                       persistenceProtocolIter;
+                                       persistenceProtocolIter++) {
+                               const SmartPtrCPersistenceProtocolDoc persistenceProtocol = *persistenceProtocolIter;
 
-                               const std::string amqpBrokerId = amqpBroker->getAmqpBrokerId();
-                               CAF_CM_VALIDATE_STRING(amqpBrokerId);
+                               const std::string protocolName = persistenceProtocol->getProtocolName();
+                               CAF_CM_VALIDATE_STRING(protocolName);
 
-                               const std::string amqpQueueDir = createDirectory(protocolDir, amqpBrokerId);
+                               const std::string amqpQueueDir = createDirectory(protocolDir, protocolName);
 
-                               if (! amqpBroker->getAmqpBrokerId().empty()) {
-                                       FileSystemUtils::saveTextFile(
-                                                       amqpQueueDir, "amqpBrokerId.txt", amqpBroker->getAmqpBrokerId());
-                               }
+                               FileSystemUtils::saveTextFile(
+                                               amqpQueueDir, "protocolName.txt", persistenceProtocol->getProtocolName());
 
-                               if (! amqpBroker->getUri().empty()) {
+                               if (! persistenceProtocol->getUri().empty()) {
                                        FileSystemUtils::saveTextFile(
-                                                       amqpQueueDir, "uri.txt", amqpBroker->getUri());
+                                                       amqpQueueDir, "uri.txt", persistenceProtocol->getUri());
                                }
 
-                               if (! amqpBroker->getTlsCert().empty()) {
+                               if (! persistenceProtocol->getTlsCert().empty()) {
                                        FileSystemUtils::saveTextFile(
-                                                       amqpQueueDir, "tlsCert.pem", amqpBroker->getTlsCert());
+                                                       amqpQueueDir, "tlsCert.pem", persistenceProtocol->getTlsCert());
                                }
 
-                               if (! amqpBroker->getTlsProtocol().empty()) {
+                               if (! persistenceProtocol->getTlsProtocol().empty()) {
                                        FileSystemUtils::saveTextFile(
-                                                       amqpQueueDir, "tlsProtocol.txt", amqpBroker->getTlsProtocol());
+                                                       amqpQueueDir, "tlsProtocol.txt", persistenceProtocol->getTlsProtocol());
                                }
 
                                const std::deque<std::string> tlsCipherCollectionInner =
-                                               amqpBroker->getTlsCipherCollection();
+                                               persistenceProtocol->getTlsCipherCollection();
                                if (! tlsCipherCollectionInner.empty()) {
                                        const std::string cipherDir = createDirectory(amqpQueueDir, "tlsCipherCollection");
                                        saveCollection(tlsCipherCollectionInner, cipherDir, "tlsCipher", ".txt");
                                }
 
-                               if (! amqpBroker->getTlsCertCollection().IsNull()) {
+                               if (! persistenceProtocol->getTlsCertCollection().IsNull()) {
                                        const std::deque<std::string> tlsCertCollectionInner =
-                                                       amqpBroker->getTlsCertCollection()->getCert();
+                                                       persistenceProtocol->getTlsCertCollection()->getCert();
 
                                        if (! tlsCertCollectionInner.empty()) {
                                                const std::string certCollectionDir = createDirectory(amqpQueueDir, "tlsCertCollection");
@@ -386,7 +370,8 @@ void CPersistenceUtils::savePersistenceProtocol(
 
 std::string CPersistenceUtils::loadTextFile(
                const std::string& dir,
-               const std::string& file) {
+               const std::string& file,
+               const std::string& defaultVal) {
        CAF_CM_STATIC_FUNC_VALIDATE("CPersistenceUtils", "loadTextFile");
        CAF_CM_VALIDATE_STRING(dir);
        CAF_CM_VALIDATE_STRING(file);
@@ -396,6 +381,8 @@ std::string CPersistenceUtils::loadTextFile(
        std::string rc;
        if (FileSystemUtils::doesFileExist(path)) {
                rc = FileSystemUtils::loadTextFile(path);
+       } else {
+               rc = defaultVal;
        }
 
        return rc;
index 05c9d8e0ed2882f31b02821811d1048b9df88130..c454cb493b953f5cf863381a77b62200cd80a10c 100644 (file)
@@ -24,14 +24,14 @@ public:
        static SmartPtrCRemoteSecurityCollectionDoc loadRemoteSecurityCollection(
                        const std::string& persistenceDir);
 
-       static SmartPtrCPersistenceProtocolDoc loadPersistenceProtocol(
+       static SmartPtrCPersistenceProtocolCollectionDoc loadPersistenceProtocolCollection(
                        const std::string& persistenceDir);
 
-       static SmartPtrCAmqpBrokerDoc loadAmqpBroker(
+       static SmartPtrCPersistenceProtocolDoc loadPersistenceProtocol(
                        const std::string& persistenceDir);
 
-       static SmartPtrCAmqpBrokerDoc loadAmqpBroker(
-                       const SmartPtrCPersistenceProtocolDoc& persistenceProtocol);
+       static SmartPtrCPersistenceProtocolDoc loadPersistenceProtocol(
+                       const SmartPtrCPersistenceProtocolCollectionDoc& persistenceProtocolCollection);
 
 public:
        static void savePersistence(
@@ -46,14 +46,15 @@ public:
                        const SmartPtrCRemoteSecurityCollectionDoc& remoteSecurityCollection,
                        const std::string& persistenceDir);
 
-       static void savePersistenceProtocol(
-                       const SmartPtrCPersistenceProtocolDoc& persistenceProtocol,
+       static void savePersistenceProtocolCollection(
+                       const SmartPtrCPersistenceProtocolCollectionDoc& persistenceProtocolCollection,
                        const std::string& persistenceDir);
 
 private:
        static std::string loadTextFile(
                        const std::string& dir,
-                       const std::string& file);
+                       const std::string& file,
+                       const std::string& defaultVal = std::string());
 
 private:
        static std::string createDirectory(
index bf82550e7af6c131b5a9197c18850e808bdb81a1..d4ff9b31e30afe9abd3160d36fd576042081eed7 100644 (file)
@@ -409,11 +409,15 @@ const char** ProcessUtils::convertToCharArray(
        return rc;
 }
 
-std::string ProcessUtils::convertToString(
-               const Cdeqstr& deqstr) {
+std::string ProcessUtils::convertToString(const Cdeqstr& deqstr) {
        std::string rc;
        for (TConstIterator<Cdeqstr> strIter(deqstr); strIter; strIter++) {
-               const std::string str = *strIter;
+               std::string str = *strIter;
+#ifdef WIN32
+               if (rc.empty() && str.find(" ") != std::string::npos) {
+                       str = "\"" + *strIter + "\"";
+               }
+#endif
                rc += str + std::string(" ");
        }
 
index 05953a9a2a24f70fcfb259c6b9bcbcf18f275de8..b68eb97bbd0a5a4c3083e83deeae070512ec5548 100644 (file)
 #include <errno.h>
 #include <glib/gstdio.h>
 
-#include <FxContracts.h>
+#include <IBean.h>
+#include <IVariant.h>
+#include <CommonGlobals.h>
 
-#include "../Globals/CommonGlobalsLink.h"
 #include "../Logging/LoggingLink.h"
 #include "../Exception/ExceptionLink.h"
 #include "../Collections/Iterators/IteratorsInc.h"
@@ -55,6 +56,7 @@
 #include "CAutoRecMutex.h"
 #include "CAutoCondition.h"
 #include "CAutoMutexLockUnlock.h"
+#include "CAutoMutexLockUnlockRaw.h"
 #include "CAutoMutexUnlockLock.h"
 #include "CThreadSignal.h"
 #include "CCmdLineOptions.h"
index be7d4c9e075724bb898a2f619744ab62e39632bc..4fa47027b76f183aff0bbcad84abbbce05a9e346 100644 (file)
@@ -11,7 +11,9 @@
 
 using namespace Caf;
 
-void UriUtils::parseUriString(const std::string& uri, UriUtils::SUriRecord& data) {
+void UriUtils::parseUriString(
+               const std::string& uri,
+               UriUtils::SUriRecord& data) {
        CAF_CM_STATIC_FUNC("UriUtils", "parseUriString");
        CAF_CM_VALIDATE_STRING(uri);
 
@@ -175,6 +177,31 @@ void UriUtils::parseUriString(const std::string& uri, UriUtils::SUriRecord& data
        CAF_CM_EXIT;
 }
 
+std::string UriUtils::buildUriString(
+               UriUtils::SUriRecord& data) {
+       CAF_CM_STATIC_FUNC_VALIDATE("UriUtils", "buildUriString");
+       CAF_CM_VALIDATE_STRING(data.protocol);
+       CAF_CM_VALIDATE_STRING(data.host);
+       CAF_CM_VALIDATE_STRING(data.path);
+
+       std::string rc = data.protocol + ":";
+       if (! data.username.empty() || ! data.password.empty()) {
+               rc += data.username + ":" + data.password + "@";
+       }
+
+       rc += data.host;
+
+       if (! data.portStr.empty()) {
+               rc += ":" + data.portStr;
+       }
+
+       rc += "/" + data.path;
+
+       rc = appendParameters(rc, data.parameters);
+
+       return rc;
+}
+
 void UriUtils::parseFileAddress(const std::string& fileUri, UriUtils::SFileUriRecord& data) {
        CAF_CM_STATIC_FUNC_LOG("UriUtils", "parseFileAddress");
        CAF_CM_VALIDATE_STRING(fileUri);
index e38141368fcda57ebb3799c1d3aec3c543499b9e..6f63345553b9b51fb537fbb5a2393f19afa2dff1 100644 (file)
@@ -31,6 +31,7 @@ namespace UriUtils {
        };
 
        void COMMONAGGREGATOR_LINKAGE parseUriString(const std::string& uri, SUriRecord& data);
+       std::string COMMONAGGREGATOR_LINKAGE buildUriString(SUriRecord& data);
        void COMMONAGGREGATOR_LINKAGE parseFileAddress(const std::string& fileUri, SFileUriRecord& data);
        std::string COMMONAGGREGATOR_LINKAGE parseRequiredFilePath(const std::string& uriStr);
        std::string COMMONAGGREGATOR_LINKAGE parseOptionalFilePath(const std::string& uriStr);
index 404d13ec8feb088ed027b081d0042bdf69404c7d..3efb9e2cdaa9c73dd2718e43fed2ecbb38aec709 100644 (file)
@@ -11,7 +11,6 @@
 
 #ifdef WIN32
        #define COMMONAGGREGATOR_LINKAGE __declspec(dllexport)
-       #define COMMONGLOBALS_LINKAGE __declspec(dllexport)
        #define EXCEPTION_LINKAGE __declspec(dllexport)
        #define LOGGING_LINKAGE __declspec(dllexport)
        #define SUBSYSTEMBASE_LINKAGE __declspec(dllexport)
@@ -19,7 +18,6 @@
        #define XMLUTILS_LINKAGE __declspec(dllexport)
 #else
        #define COMMONAGGREGATOR_LINKAGE
-       #define COMMONGLOBALS_LINKAGE
        #define EXCEPTION_LINKAGE
        #define LOGGING_LINKAGE
        #define SUBSYSTEMBASE_LINKAGE
index 680e9ab553565c3a3ffc79ba37350d8d4da4b08c..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,60 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: Nov 16, 2015
- *
- *  Copyright (c) 2015 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- */
-
-#include "stdafx.h"
-#include "AmqpBrokerCollectionXml.h"
-
-using namespace Caf;
-
-void AmqpBrokerCollectionXml::add(
-       const SmartPtrCAmqpBrokerCollectionDoc amqpBrokerCollectionDoc,
-       const SmartPtrCXmlElement thisXml) {
-       CAF_CM_STATIC_FUNC_VALIDATE("AmqpBrokerCollectionXml", "add");
-       CAF_CM_VALIDATE_SMARTPTR(amqpBrokerCollectionDoc);
-       CAF_CM_VALIDATE_SMARTPTR(thisXml);
-
-       const std::deque<SmartPtrCAmqpBrokerDoc> amqpBrokerVal =
-               amqpBrokerCollectionDoc->getAmqpBroker();
-
-       if (! amqpBrokerVal.empty()) {
-               for (TConstIterator<std::deque<SmartPtrCAmqpBrokerDoc> > amqpBrokerIter(amqpBrokerVal);
-                       amqpBrokerIter; amqpBrokerIter++) {
-                       const SmartPtrCXmlElement amqpBrokerXml =
-                               thisXml->createAndAddElement("amqpBroker");
-                       AmqpBrokerXml::add(*amqpBrokerIter, amqpBrokerXml);
-               }
-       }
-}
-
-SmartPtrCAmqpBrokerCollectionDoc AmqpBrokerCollectionXml::parse(
-       const SmartPtrCXmlElement thisXml) {
-       CAF_CM_STATIC_FUNC_VALIDATE("AmqpBrokerCollectionXml", "parse");
-       CAF_CM_VALIDATE_SMARTPTR(thisXml);
-
-       const CXmlElement::SmartPtrCElementCollection amqpBrokerChildrenXml =
-               thisXml->findOptionalChildren("amqpBroker");
-
-       std::deque<SmartPtrCAmqpBrokerDoc> amqpBrokerVal;
-       if (! amqpBrokerChildrenXml.IsNull() && ! amqpBrokerChildrenXml->empty()) {
-               for (TConstIterator<CXmlElement::CElementCollection> amqpBrokerXmlIter(*amqpBrokerChildrenXml);
-                       amqpBrokerXmlIter; amqpBrokerXmlIter++) {
-                       const SmartPtrCXmlElement amqpBrokerXml = amqpBrokerXmlIter->second;
-                       const SmartPtrCAmqpBrokerDoc amqpBrokerDoc =
-                               AmqpBrokerXml::parse(amqpBrokerXml);
-                       amqpBrokerVal.push_back(amqpBrokerDoc);
-               }
-       }
-
-       SmartPtrCAmqpBrokerCollectionDoc amqpBrokerCollectionDoc;
-       amqpBrokerCollectionDoc.CreateInstance();
-       amqpBrokerCollectionDoc->initialize(amqpBrokerVal);
-
-       return amqpBrokerCollectionDoc;
-}
-
index 0fc2fe3e7fd07329a72eaa42ff5ae3a197f62d25..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,29 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: Nov 16, 2015
- *
- *  Copyright (c) 2015 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- */
-
-#ifndef AmqpBrokerCollectionXml_h_
-#define AmqpBrokerCollectionXml_h_
-
-namespace Caf {
-
-       /// Streams the AmqpBrokerCollection class to/from XML
-       namespace AmqpBrokerCollectionXml {
-
-               /// Adds the AmqpBrokerCollectionDoc into the XML.
-               void CAFCORETYPESXML_LINKAGE add(
-                       const SmartPtrCAmqpBrokerCollectionDoc amqpBrokerCollectionDoc,
-                       const SmartPtrCXmlElement thisXml);
-
-               /// Parses the AmqpBrokerCollectionDoc from the XML.
-               SmartPtrCAmqpBrokerCollectionDoc CAFCORETYPESXML_LINKAGE parse(
-                       const SmartPtrCXmlElement thisXml);
-       }
-}
-
-#endif
index b35b511cdc3f34e104d8b1a10ea54667423dfbd0..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,144 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: Nov 16, 2015
- *
- *  Copyright (c) 2015 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- */
-
-#include "stdafx.h"
-#include "AmqpBrokerXml.h"
-
-using namespace Caf;
-
-void AmqpBrokerXml::add(
-       const SmartPtrCAmqpBrokerDoc amqpBrokerDoc,
-       const SmartPtrCXmlElement thisXml) {
-       CAF_CM_STATIC_FUNC_VALIDATE("AmqpBrokerXml", "add");
-       CAF_CM_VALIDATE_SMARTPTR(amqpBrokerDoc);
-       CAF_CM_VALIDATE_SMARTPTR(thisXml);
-
-       const std::string amqpBrokerIdVal = amqpBrokerDoc->getAmqpBrokerId();
-       if (! amqpBrokerIdVal.empty()) {
-               thisXml->addAttribute("amqpBrokerId", amqpBrokerIdVal);
-       }
-
-       const std::string uriVal = amqpBrokerDoc->getUri();
-       if (! uriVal.empty()) {
-               thisXml->addAttribute("uri", uriVal);
-       }
-
-       const std::string tlsCertVal = amqpBrokerDoc->getTlsCert();
-       if (! tlsCertVal.empty()) {
-               const SmartPtrCXmlElement tlsCertXml = thisXml->createAndAddElement("tlsCert");
-               tlsCertXml->setValue(tlsCertVal);
-       }
-
-       const std::string tlsProtocolVal = amqpBrokerDoc->getTlsProtocol();
-       if (! tlsProtocolVal.empty()) {
-               thisXml->addAttribute("tlsProtocol", tlsProtocolVal);
-       }
-
-       const Cdeqstr tlsCipherCollectionVal = amqpBrokerDoc->getTlsCipherCollection();
-       if (! tlsCipherCollectionVal.empty()) {
-               const SmartPtrCXmlElement tlsCipherCollectionXml =
-                               thisXml->createAndAddElement("tlsCipherCollection");
-               for (TConstIterator<std::deque<std::string> > valueIter(tlsCipherCollectionVal);
-                       valueIter; valueIter++) {
-                       const SmartPtrCXmlElement valueXml =
-                                       tlsCipherCollectionXml->createAndAddElement("cipher");
-                       valueXml->setValue(*valueIter);
-               }
-       }
-
-       const SmartPtrCCertCollectionDoc tlsCertCollectionVal =
-                       amqpBrokerDoc->getTlsCertCollection();
-       if (! tlsCertCollectionVal.IsNull()) {
-               const SmartPtrCXmlElement tlsCertCollectionXml =
-                       thisXml->createAndAddElement("tlsCertCollection");
-               CertCollectionXml::add(tlsCertCollectionVal, tlsCertCollectionXml);
-       }
-
-       const std::string tlsCertPathVal = amqpBrokerDoc->getTlsCertPath();
-       if (! tlsCertPathVal.empty()) {
-               thisXml->addAttribute("tlsCertPath", tlsCertPathVal);
-       }
-
-       const SmartPtrCCertPathCollectionDoc tlsCertPathCollectionVal =
-                       amqpBrokerDoc->getTlsCertPathCollection();
-       if (! tlsCertPathCollectionVal.IsNull()) {
-               const SmartPtrCXmlElement tlsCertPathCollectionXml =
-                       thisXml->createAndAddElement("tlsCertPathCollection");
-               CertPathCollectionXml::add(tlsCertPathCollectionVal, tlsCertPathCollectionXml);
-       }
-}
-
-SmartPtrCAmqpBrokerDoc AmqpBrokerXml::parse(
-       const SmartPtrCXmlElement thisXml) {
-       CAF_CM_STATIC_FUNC_VALIDATE("AmqpBrokerXml", "parse");
-       CAF_CM_VALIDATE_SMARTPTR(thisXml);
-
-       const std::string amqpBrokerIdVal =
-               thisXml->findOptionalAttribute("amqpBrokerId");
-
-       const std::string uriVal =
-               thisXml->findOptionalAttribute("uri");
-
-       std::string tlsCertVal;
-       const SmartPtrCXmlElement tlsCertXml = thisXml->findOptionalChild("tlsCert");
-       if (tlsCertXml) {
-               tlsCertVal = tlsCertXml->getValue();
-       }
-
-       const std::string tlsProtocolVal =
-               thisXml->findOptionalAttribute("tlsProtocol");
-
-       const SmartPtrCXmlElement tlsCipherCollectionXml =
-               thisXml->findOptionalChild("tlsCipherCollection");
-       std::deque<std::string> tlsCipherCollectionVal;
-       if (! tlsCipherCollectionXml.IsNull()) {
-               const CXmlElement::SmartPtrCElementCollection valueCollectionXml =
-                               tlsCipherCollectionXml->findOptionalChildren("cipher");
-               if (! valueCollectionXml.IsNull() && ! valueCollectionXml->empty()) {
-                       for (TConstIterator<CXmlElement::CElementCollection> valueXmlIter(*valueCollectionXml);
-                               valueXmlIter; valueXmlIter++) {
-                               const SmartPtrCXmlElement valueXml = valueXmlIter->second;
-                               const std::string valueDoc = valueXml->getValue();
-                               tlsCipherCollectionVal.push_back(valueDoc);
-                       }
-               }
-       }
-
-       const SmartPtrCXmlElement tlsCertCollectionXml =
-               thisXml->findOptionalChild("tlsCertCollection");
-       SmartPtrCCertCollectionDoc tlsCertCollectionVal;
-       if (! tlsCertCollectionXml.IsNull()) {
-               tlsCertCollectionVal = CertCollectionXml::parse(tlsCertCollectionXml);
-       }
-
-       const std::string tlsCertPathVal =
-               thisXml->findOptionalAttribute("tlsCertPath");
-
-       const SmartPtrCXmlElement tlsCertPathCollectionXml =
-               thisXml->findOptionalChild("tlsCertPathCollection");
-       SmartPtrCCertPathCollectionDoc tlsCertPathCollectionVal;
-       if (! tlsCertPathCollectionXml.IsNull()) {
-               tlsCertPathCollectionVal = CertPathCollectionXml::parse(tlsCertPathCollectionXml);
-       }
-
-       SmartPtrCAmqpBrokerDoc amqpBrokerDoc;
-       amqpBrokerDoc.CreateInstance();
-       amqpBrokerDoc->initialize(
-                       amqpBrokerIdVal,
-                       uriVal,
-                       tlsCertVal,
-                       tlsProtocolVal,
-                       tlsCipherCollectionVal,
-                       tlsCertCollectionVal,
-                       tlsCertPathVal,
-                       tlsCertPathCollectionVal);
-
-       return amqpBrokerDoc;
-}
-
index c2c45dd29af2006db9679a091843c7d9df258a7a..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,29 +0,0 @@
-/*
- *  Author: bwilliams
- *  Created: Nov 16, 2015
- *
- *  Copyright (c) 2015 Vmware, Inc.  All rights reserved.
- *  -- VMware Confidential
- *
- */
-
-#ifndef AmqpBrokerXml_h_
-#define AmqpBrokerXml_h_
-
-namespace Caf {
-
-       /// Streams the AmqpBroker class to/from XML
-       namespace AmqpBrokerXml {
-
-               /// Adds the AmqpBrokerDoc into the XML.
-               void PERSISTENCEXML_LINKAGE add(
-                       const SmartPtrCAmqpBrokerDoc amqpBrokerDoc,
-                       const SmartPtrCXmlElement thisXml);
-
-               /// Parses the AmqpBrokerDoc from the XML.
-               SmartPtrCAmqpBrokerDoc PERSISTENCEXML_LINKAGE parse(
-                       const SmartPtrCXmlElement thisXml);
-       }
-}
-
-#endif
index ade7759fb81dee5dcce9625219b6ee44a7dde3ec..579eafb021a8c745a1bbc951baafa4f7b4e92749 100644 (file)
@@ -19,12 +19,58 @@ void PersistenceProtocolXml::add(
        CAF_CM_VALIDATE_SMARTPTR(persistenceProtocolDoc);
        CAF_CM_VALIDATE_SMARTPTR(thisXml);
 
-       const SmartPtrCAmqpBrokerCollectionDoc amqpBrokerCollectionVal =
-                       persistenceProtocolDoc->getAmqpBrokerCollection();
-       if (! amqpBrokerCollectionVal.IsNull()) {
-               const SmartPtrCXmlElement amqpBrokerCollectionXml =
-                       thisXml->createAndAddElement("amqpBrokerCollection");
-               AmqpBrokerCollectionXml::add(amqpBrokerCollectionVal, amqpBrokerCollectionXml);
+       const std::string protocolNameVal = persistenceProtocolDoc->getProtocolName();
+       if (! protocolNameVal.empty()) {
+               thisXml->addAttribute("protocolName", protocolNameVal);
+       }
+
+       const std::string uriVal = persistenceProtocolDoc->getUri();
+       if (! uriVal.empty()) {
+               thisXml->addAttribute("uri", uriVal);
+       }
+
+       const std::string tlsCertVal = persistenceProtocolDoc->getTlsCert();
+       if (! tlsCertVal.empty()) {
+               const SmartPtrCXmlElement tlsCertXml = thisXml->createAndAddElement("tlsCert");
+               tlsCertXml->setValue(tlsCertVal);
+       }
+
+       const std::string tlsProtocolVal = persistenceProtocolDoc->getTlsProtocol();
+       if (! tlsProtocolVal.empty()) {
+               thisXml->addAttribute("tlsProtocol", tlsProtocolVal);
+       }
+
+       const Cdeqstr tlsCipherCollectionVal = persistenceProtocolDoc->getTlsCipherCollection();
+       if (! tlsCipherCollectionVal.empty()) {
+               const SmartPtrCXmlElement tlsCipherCollectionXml =
+                               thisXml->createAndAddElement("tlsCipherCollection");
+               for (TConstIterator<std::deque<std::string> > valueIter(tlsCipherCollectionVal);
+                       valueIter; valueIter++) {
+                       const SmartPtrCXmlElement valueXml =
+                                       tlsCipherCollectionXml->createAndAddElement("cipher");
+                       valueXml->setValue(*valueIter);
+               }
+       }
+
+       const SmartPtrCCertCollectionDoc tlsCertCollectionVal =
+                       persistenceProtocolDoc->getTlsCertCollection();
+       if (! tlsCertCollectionVal.IsNull()) {
+               const SmartPtrCXmlElement tlsCertCollectionXml =
+                       thisXml->createAndAddElement("tlsCertCollection");
+               CertCollectionXml::add(tlsCertCollectionVal, tlsCertCollectionXml);
+       }
+
+       const std::string tlsCertPathVal = persistenceProtocolDoc->getTlsCertPath();
+       if (! tlsCertPathVal.empty()) {
+               thisXml->addAttribute("tlsCertPath", tlsCertPathVal);
+       }
+
+       const SmartPtrCCertPathCollectionDoc tlsCertPathCollectionVal =
+                       persistenceProtocolDoc->getTlsCertPathCollection();
+       if (! tlsCertPathCollectionVal.IsNull()) {
+               const SmartPtrCXmlElement tlsCertPathCollectionXml =
+                       thisXml->createAndAddElement("tlsCertPathCollection");
+               CertPathCollectionXml::add(tlsCertPathCollectionVal, tlsCertPathCollectionXml);
        }
 }
 
@@ -33,17 +79,65 @@ SmartPtrCPersistenceProtocolDoc PersistenceProtocolXml::parse(
        CAF_CM_STATIC_FUNC_VALIDATE("PersistenceProtocolXml", "parse");
        CAF_CM_VALIDATE_SMARTPTR(thisXml);
 
-       const SmartPtrCXmlElement amqpBrokerCollectionXml =
-               thisXml->findOptionalChild("amqpBrokerCollection");
-       SmartPtrCAmqpBrokerCollectionDoc amqpBrokerCollectionVal;
-       if (! amqpBrokerCollectionXml.IsNull()) {
-               amqpBrokerCollectionVal = AmqpBrokerCollectionXml::parse(amqpBrokerCollectionXml);
+       const std::string protocolNameVal =
+               thisXml->findOptionalAttribute("protocolName");
+
+       const std::string uriVal =
+               thisXml->findOptionalAttribute("uri");
+
+       std::string tlsCertVal;
+       const SmartPtrCXmlElement tlsCertXml = thisXml->findOptionalChild("tlsCert");
+       if (tlsCertXml) {
+               tlsCertVal = tlsCertXml->getValue();
+       }
+
+       const std::string tlsProtocolVal =
+               thisXml->findOptionalAttribute("tlsProtocol");
+
+       const SmartPtrCXmlElement tlsCipherCollectionXml =
+               thisXml->findOptionalChild("tlsCipherCollection");
+       std::deque<std::string> tlsCipherCollectionVal;
+       if (! tlsCipherCollectionXml.IsNull()) {
+               const CXmlElement::SmartPtrCElementCollection valueCollectionXml =
+                               tlsCipherCollectionXml->findOptionalChildren("cipher");
+               if (! valueCollectionXml.IsNull() && ! valueCollectionXml->empty()) {
+                       for (TConstIterator<CXmlElement::CElementCollection> valueXmlIter(*valueCollectionXml);
+                               valueXmlIter; valueXmlIter++) {
+                               const SmartPtrCXmlElement valueXml = valueXmlIter->second;
+                               const std::string valueDoc = valueXml->getValue();
+                               tlsCipherCollectionVal.push_back(valueDoc);
+                       }
+               }
+       }
+
+       const SmartPtrCXmlElement tlsCertCollectionXml =
+               thisXml->findOptionalChild("tlsCertCollection");
+       SmartPtrCCertCollectionDoc tlsCertCollectionVal;
+       if (! tlsCertCollectionXml.IsNull()) {
+               tlsCertCollectionVal = CertCollectionXml::parse(tlsCertCollectionXml);
+       }
+
+       const std::string tlsCertPathVal =
+               thisXml->findOptionalAttribute("tlsCertPath");
+
+       const SmartPtrCXmlElement tlsCertPathCollectionXml =
+               thisXml->findOptionalChild("tlsCertPathCollection");
+       SmartPtrCCertPathCollectionDoc tlsCertPathCollectionVal;
+       if (! tlsCertPathCollectionXml.IsNull()) {
+               tlsCertPathCollectionVal = CertPathCollectionXml::parse(tlsCertPathCollectionXml);
        }
 
        SmartPtrCPersistenceProtocolDoc persistenceProtocolDoc;
        persistenceProtocolDoc.CreateInstance();
        persistenceProtocolDoc->initialize(
-               amqpBrokerCollectionVal);
+                       protocolNameVal,
+                       uriVal,
+                       tlsCertVal,
+                       tlsProtocolVal,
+                       tlsCipherCollectionVal,
+                       tlsCertCollectionVal,
+                       tlsCertPathVal,
+                       tlsCertPathCollectionVal);
 
        return persistenceProtocolDoc;
 }
index 8106c04e8c06916f3f736bd597633c9913769605..4445d5794bfc4610a3d4ea14632de093ea5f425b 100644 (file)
@@ -35,12 +35,12 @@ void PersistenceXml::add(
                RemoteSecurityCollectionXml::add(remoteSecurityCollectionVal, remoteSecurityCollectionXml);
        }
 
-       const SmartPtrCPersistenceProtocolDoc persistenceProtocolVal =
-               persistenceDoc->getPersistenceProtocol();
-       if (! persistenceProtocolVal.IsNull()) {
-               const SmartPtrCXmlElement persistenceProtocolXml =
-                       thisXml->createAndAddElement("persistenceProtocol");
-               PersistenceProtocolXml::add(persistenceProtocolVal, persistenceProtocolXml);
+       const SmartPtrCPersistenceProtocolCollectionDoc persistenceProtocolCollectionVal =
+                       persistenceDoc->getPersistenceProtocolCollection();
+       if (! persistenceProtocolCollectionVal.IsNull()) {
+               const SmartPtrCXmlElement persistenceProtocolCollectionXml =
+                       thisXml->createAndAddElement("persistenceProtocolCollection");
+               PersistenceProtocolCollectionXml::add(persistenceProtocolCollectionVal, persistenceProtocolCollectionXml);
        }
 
        const std::string versionVal = persistenceDoc->getVersion().empty() ? "1.0" : persistenceDoc->getVersion();
@@ -66,11 +66,11 @@ SmartPtrCPersistenceDoc PersistenceXml::parse(
                remoteSecurityCollectionVal = RemoteSecurityCollectionXml::parse(remoteSecurityCollectionXml);
        }
 
-       const SmartPtrCXmlElement persistenceProtocolXml =
-               thisXml->findOptionalChild("persistenceProtocol");
-       SmartPtrCPersistenceProtocolDoc persistenceProtocolVal;
-       if (! persistenceProtocolXml.IsNull()) {
-               persistenceProtocolVal = PersistenceProtocolXml::parse(persistenceProtocolXml);
+       const SmartPtrCXmlElement persistenceProtocolCollectionXml =
+               thisXml->findOptionalChild("persistenceProtocolCollection");
+       SmartPtrCPersistenceProtocolCollectionDoc persistenceProtocolCollectionVal;
+       if (! persistenceProtocolCollectionXml.IsNull()) {
+               persistenceProtocolCollectionVal = PersistenceProtocolCollectionXml::parse(persistenceProtocolCollectionXml);
        }
 
        const std::string versionVal =
@@ -81,7 +81,7 @@ SmartPtrCPersistenceDoc PersistenceXml::parse(
        persistenceDoc->initialize(
                localSecurityVal,
                remoteSecurityCollectionVal,
-               persistenceProtocolVal,
+               persistenceProtocolCollectionVal,
                versionVal);
 
        return persistenceDoc;
index 064c499a9fa56adca49dc5f028ec05c84d07a965..ac4fb982f28015887f1125f5b6a25656b2b844fa 100644 (file)
 
 #include "CertCollectionXml.h"
 #include "CertPathCollectionXml.h"
-#include "AmqpBrokerXml.h"
-#include "AmqpBrokerCollectionXml.h"
+#include "PersistenceProtocolXml.h"
+#include "PersistenceProtocolCollectionXml.h"
 #include "RemoteSecurityXml.h"
 #include "RemoteSecurityCollectionXml.h"
 #include "LocalSecurityXml.h"
-#include "PersistenceProtocolXml.h"
 #include "PersistenceXml.h"
 #include "PersistenceXmlRoots.h"
 
index 6a5fd62e18654be8cb4bcc0653a7ddf8d5b75ef0..71950296b6987049160a03c8dee5c1c69ad5fb62 100644 (file)
@@ -8,6 +8,7 @@
 
 #include "stdafx.h"
 #include "CValidate.h"
+#include "ValidationMacros.h"
 
 using namespace Caf;
 
index edc5eb92aa8e56bf06905935a9f35a00213fa123..249f37936840cd0ef31e448cbfad68cdef016212 100644 (file)
@@ -9,6 +9,32 @@
 #ifndef VALIDATIONMACROS_H_
 #define VALIDATIONMACROS_H_
 
+// String constants used in validation
+const char _sPRECOND_ISCONSTRUCTED[] = "Pre-condition failed because object was not constructed successfully";
+const char _sPRECOND_ISINITIALIZED[] = "Pre-condition failed because object was not initialized successfully";
+const char _sPRECOND_ISNOTINITIALIZED[] = "Pre-condition failed because object has already been initialized";
+const char _sPRECOND_ISNOTREADONLY[] = "Pre-condition failed because the object is read-only.";
+
+const char _sVALIDATE_STRINGEMPTY[] ="Invalid Argument because a string is empty:";
+const char _sVALIDATE_STRINGPTRNULL[] ="Invalid Argument because a string pointer is null:";
+const char _sVALIDATE_STRINGPTREMPTY[] ="Invalid Argument because a string pointer is empty:";
+const char _sVALIDATE_PTRARRAYNULL[] ="Invalid Argument because a pointer array is null:";
+const char _sVALIDATE_PTRARRAYEMPTY[] ="Invalid Argument because a pointer array is empty:";
+const char _sVALIDATE_STL[] ="Invalid Argument because an STL container is empty:";
+const char _sVALIDATE_STL_EMPTY[] ="Invalid Argument because an STL container is not empty:";
+const char _sVALIDATE_STL_ITERATOR[] ="Invalid Argument because an STL iterator is at the end of the containter:";
+const char _sVALIDATE_INTERFACE[] ="Invalid Argument because an interface is NULL:";
+const char _sVALIDATE_ZERO[] ="Invalid Argument because a number is not equal to zero:";
+const char _sVALIDATE_ISNOTZERO[] ="Invalid Argument because a number is equal to zero:";
+const char _sVALIDATE_POSITIVE[] ="Invalid Argument because a number is less-than or equal-to zero:";
+const char _sVALIDATE_NEGATIVE[] ="Invalid Argument because a number is greater-than or equal-to zero:";
+const char _sVALIDATE_NONNEGATIVE[] ="Invalid Argument because a number is less-than zero:";
+const char _sVALIDATE_NOTNULL[] ="Invalid Argument is NULL:";
+const char _sVALIDATE_NULL[] ="Invalid Argument must be NULL:";
+const char _sVALIDATE_BOOL[] ="Invalid Argument because a bool is false:";
+const char _sVALIDATE_GUID[] ="Invalid Argument because a GUID is NULL:";
+const char _sASSERT_FAILED[] ="Assertion failed:";
+
 // Used internally by some of these macros.
 #define CAF_CM_EXCEPTION_VALIDATE( _valmsg_, _variable_text_ ) \
                CAF_CM_EXCEPTION_VA2(E_INVALIDARG, "%s %s", _valmsg_, _variable_text_)
index de990ff49633421e82c3e65a4092b0067eb397cb..6aa7be1f50d574941558330ac044eba88e99fe85 100644 (file)
@@ -18,7 +18,7 @@
 #endif
 
 #include <BaseDefines.h>
-#include "../Globals/CommonGlobalsLink.h"
+#include <CommonGlobals.h>
 #include "CCafException.h"
 #include "ClassMacros.h"
 #include "ExceptionMacros.h"
index 8078038e0e39e9f63740cbae4c5f7b603e21e6bd..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,69 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: 10/19/2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#include "stdafx.h"
-#include <CafContracts.h>
-
-namespace Caf {
-       const char* _sConfigTmpDir = "tmp_dir";
-       const char* _sConfigInputDir = "input_dir";
-       const char* _sConfigOutputDir = "output_dir";
-       const char* _sConfigSchemaCacheDir = "schema_cache_dir";
-       const char* _sConfigProviderRegDir = "provider_reg_dir";
-       const char* _sConfigInstallDir = "install_dir";
-       const char* _sConfigInvokersDir = "invokers_dir";
-       const char* _sConfigProvidersDir = "providers_dir";
-       const char* _sConfigCommonPackagesDir = "common_packages_dir";
-       const char* _sConfigWorkingDir = "working_dir";
-       const char* _sConfigPrivateKeyFile = "private_key_file";
-       const char* _sConfigCertFile = "cert_file";
-
-       const char* _sProviderHostArea = "providerHost";
-       const char* _sManagementAgentArea = "managementAgent";
-
-       const char* _sSchemaSummaryFilename = "schemaSummary.xml";
-       const char* _sProviderResponseFilename = "providerResponse.xml";
-       const char* _sStdoutFilename = "_provider_stdout_";
-       const char* _sStderrFilename = "_provider_stderr_";
-
-       const char* _sPayloadRequestFilename = "payloadRequest.xml";
-       const char* _sResponseFilename = "response.xml";
-       const char* _sErrorResponseFilename = "errorResponse.xml";
-       const char* _sProviderRequestFilename = "providerRequest.xml";
-       const char* _sInfraErrFilename = "_infraError_";
-
-       // FxProviderFx related string constants
-       const char* _sObjIdProviderDriver = "com.vmware.commonagent.providerfx.providerdriver";
-       const char* _sObjIdProviderCdifFormatter = "com.vmware.commonagent.providerfx.providercdifformatter";
-
-       // MA related string constants
-       const char* _sObjIdCollectSchemaExecutor = "com.vmware.commonagent.maintegration.collectschemaexecutor";
-       const char* _sObjIdProviderCollectSchemaExecutor = "com.vmware.commonagent.maintegration.providercollectschemaexecutor";
-       const char* _sObjIdProviderExecutor = "com.vmware.commonagent.maintegration.providerexecutor";
-       const char* _sObjIdSinglePmeRequestSplitterInstance = "com.vmware.commonagent.maintegration.singlepmerequestsplitterinstance";
-       const char* _sObjIdSinglePmeRequestSplitter = "com.vmware.commonagent.maintegration.singlepmerequestsplitter";
-       const char* _sObjIdDiagToMgmtRequestTransformerInstance = "com.vmware.commonagent.maintegration.diagtomgmtrequesttransformerinstance";
-       const char* _sObjIdDiagToMgmtRequestTransformer = "com.vmware.commonagent.maintegration.diagtomgmtrequesttransformer";
-       const char* _sObjIdInstallToMgmtRequestTransformerInstance = "com.vmware.commonagent.maintegration.installtomgmtrequesttransformerinstance";
-       const char* _sObjIdInstallToMgmtRequestTransformer = "com.vmware.commonagent.maintegration.installtomgmtrequesttransformer";
-       const char* _sObjIdPersistenceNamespaceDb = "com.vmware.commonagent.maintegration.persistencenamespacedb";
-       const char* _sObjIdConfigEnv = "com.vmware.commonagent.maintegration.configenv";
-
-       const char* _sObjIdAttachmentRequestTransformerInstance = "com.vmware.commonagent.maintegration.attachmentrequesttransformerinstance";
-       const char* _sObjIdAttachmentRequestTransformer = "com.vmware.commonagent.maintegration.attachmentrequesttransformer";
-       const char* _sObjIdVersionTransformerInstance = "com.vmware.commonagent.maintegration.versiontransformerinstance";
-       const char* _sObjIdVersionTransformer = "com.vmware.commonagent.maintegration.versiontransformer";
-
-       // Framework related string constants
-       const char* _sObjIdErrorToResponseTransformerInstance = "com.vmware.commonagent.cafintegration.errortoresponsetransformerinstance";
-       const char* _sObjIdErrorToResponseTransformer = "com.vmware.commonagent.cafintegration.errortoresponsetransformer";
-       const char* _sObjIdPayloadHeaderEnricherInstance = "com.vmware.commonagent.cafintegration.payloadheaderenricherinstance";
-       const char* _sObjIdPayloadHeaderEnricher = "com.vmware.commonagent.cafintegration.payloadheaderenricher";
-       const char* _sObjIdEnvelopeToPayloadTransformerInstance = "com.vmware.commonagent.cafintegration.envelopetopayloadtransformerinstance";
-       const char* _sObjIdEnvelopeToPayloadTransformer = "com.vmware.commonagent.cafintegration.envelopetopayloadtransformer";
-}
index 037d01f73c992047a14c98e4530c4205cf3cef12..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,32 +0,0 @@
-/*
- *     Copyright (c) 2011 VMware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#include "stdafx.h"
-#include "ClassMacroStrings.h"
-
-const char _sPRECOND_ISCONSTRUCTED[] = "Pre-condition failed because object was not constructed successfully";
-const char _sPRECOND_ISINITIALIZED[] = "Pre-condition failed because object was not initialized successfully";
-const char _sPRECOND_ISNOTINITIALIZED[] = "Pre-condition failed because object has already been initialized";
-const char _sPRECOND_ISNOTREADONLY[] = "Pre-condition failed because the object is read-only.";
-
-const char _sVALIDATE_STRINGEMPTY[] ="Invalid Argument because a string is empty:";
-const char _sVALIDATE_STRINGPTRNULL[] ="Invalid Argument because a string pointer is null:";
-const char _sVALIDATE_STRINGPTREMPTY[] ="Invalid Argument because a string pointer is empty:";
-const char _sVALIDATE_PTRARRAYNULL[] ="Invalid Argument because a pointer array is null:";
-const char _sVALIDATE_PTRARRAYEMPTY[] ="Invalid Argument because a pointer array is empty:";
-const char _sVALIDATE_STL[] ="Invalid Argument because an STL container is empty:";
-const char _sVALIDATE_STL_EMPTY[] ="Invalid Argument because an STL container is not empty:";
-const char _sVALIDATE_STL_ITERATOR[] ="Invalid Argument because an STL iterator is at the end of the containter:";
-const char _sVALIDATE_INTERFACE[] ="Invalid Argument because an interface is NULL:";
-const char _sVALIDATE_ZERO[] ="Invalid Argument because a number is not equal to zero:";
-const char _sVALIDATE_ISNOTZERO[] ="Invalid Argument because a number is equal to zero:";
-const char _sVALIDATE_POSITIVE[] ="Invalid Argument because a number is less-than or equal-to zero:";
-const char _sVALIDATE_NEGATIVE[] ="Invalid Argument because a number is greater-than or equal-to zero:";
-const char _sVALIDATE_NONNEGATIVE[] ="Invalid Argument because a number is less-than zero:";
-const char _sVALIDATE_NOTNULL[] ="Invalid Argument is NULL:";
-const char _sVALIDATE_NULL[] ="Invalid Argument must be NULL:";
-const char _sVALIDATE_BOOL[] ="Invalid Argument because a bool is false:";
-const char _sVALIDATE_GUID[] ="Invalid Argument because a GUID is NULL:";
-const char _sASSERT_FAILED[] ="Assertion failed:";
index 1c6c0f7b2705d7a41a8f3b5d7274e4d7e1b814fe..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,33 +0,0 @@
-/*
- *     Copyright (c) 2011 VMware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _Common_ClassMacroStrings_H
-#define _Common_ClassMacroStrings_H
-
-extern COMMONGLOBALS_LINKAGE const char _sPRECOND_ISCONSTRUCTED[];
-extern COMMONGLOBALS_LINKAGE const char _sPRECOND_ISINITIALIZED[];
-extern COMMONGLOBALS_LINKAGE const char _sPRECOND_ISNOTINITIALIZED[];
-extern COMMONGLOBALS_LINKAGE const char _sPRECOND_ISNOTREADONLY[];
-extern COMMONGLOBALS_LINKAGE const char _sVALIDATE_STRINGEMPTY[];
-extern COMMONGLOBALS_LINKAGE const char _sVALIDATE_STRINGPTRNULL[];
-extern COMMONGLOBALS_LINKAGE const char _sVALIDATE_STRINGPTREMPTY[];
-extern COMMONGLOBALS_LINKAGE const char _sVALIDATE_PTRARRAYNULL[];
-extern COMMONGLOBALS_LINKAGE const char _sVALIDATE_PTRARRAYEMPTY[];
-extern COMMONGLOBALS_LINKAGE const char _sVALIDATE_STL[];
-extern COMMONGLOBALS_LINKAGE const char _sVALIDATE_STL_EMPTY[];
-extern COMMONGLOBALS_LINKAGE const char _sVALIDATE_STL_ITERATOR[];
-extern COMMONGLOBALS_LINKAGE const char _sVALIDATE_INTERFACE[];
-extern COMMONGLOBALS_LINKAGE const char _sVALIDATE_ZERO[];
-extern COMMONGLOBALS_LINKAGE const char _sVALIDATE_ISNOTZERO[];
-extern COMMONGLOBALS_LINKAGE const char _sVALIDATE_POSITIVE[];
-extern COMMONGLOBALS_LINKAGE const char _sVALIDATE_NEGATIVE[];
-extern COMMONGLOBALS_LINKAGE const char _sVALIDATE_NONNEGATIVE[];
-extern COMMONGLOBALS_LINKAGE const char _sVALIDATE_NOTNULL[];
-extern COMMONGLOBALS_LINKAGE const char _sVALIDATE_NULL[];
-extern COMMONGLOBALS_LINKAGE const char _sVALIDATE_BOOL[];
-extern COMMONGLOBALS_LINKAGE const char _sVALIDATE_GUID[];
-extern COMMONGLOBALS_LINKAGE const char _sASSERT_FAILED[];
-
-#endif
index 06847c34d36cb25790eb8d8d900db3894bc15b17..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,28 +0,0 @@
-/*
- *     Copyright (c) 2011 VMware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#include "stdafx.h"
-#include "CommonDefines.h"
-
-namespace Caf {
-       const char* _sAppConfigGlobalParamRootDir = "root_dir";
-       const char* _sAppConfigGlobalParamDataDir = "data_dir";
-       const char* _sAppConfigGlobalParamLogDir = "log_dir";
-       const char* _sAppConfigGlobalParamLogConfigFile = "log_config_file";
-       const char* _sAppConfigGlobalParamInputDir = "input_dir";
-       const char* _sAppConfigGlobalParamOutputDir = "output_dir";
-       const char* _sAppConfigGlobalParamDbDir = "db_dir";
-       const char* _sAppConfigGlobalThreadStackSizeKb = "thread_stack_size_kb";
-
-       const GUID CAFCOMMON_GUID_NULL = {0};
-
-#ifdef WIN32
-       const char* CAFCOMMON_PATH_DELIM = "\\";
-       const char CAFCOMMON_PATH_DELIM_CHAR = '\\';
-#else
-       const char* CAFCOMMON_PATH_DELIM = "/";
-       const char CAFCOMMON_PATH_DELIM_CHAR = '/';
-#endif
-}
index 696d080fd2563bb19625839570b7baa7cb18f760..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,26 +0,0 @@
-/*
- *     Copyright (c) 2011 VMware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef _Common_CommonDefines_H
-#define _Common_CommonDefines_H
-
-namespace Caf {
-       // AppConfig common parameter names
-       extern COMMONGLOBALS_LINKAGE const char* _sAppConfigGlobalParamRootDir;
-       extern COMMONGLOBALS_LINKAGE const char* _sAppConfigGlobalParamDataDir;
-       extern COMMONGLOBALS_LINKAGE const char* _sAppConfigGlobalParamLogDir;
-       extern COMMONGLOBALS_LINKAGE const char* _sAppConfigGlobalParamLogConfigFile;
-       extern COMMONGLOBALS_LINKAGE const char* _sAppConfigGlobalParamInputDir;
-       extern COMMONGLOBALS_LINKAGE const char* _sAppConfigGlobalParamOutputDir;
-       extern COMMONGLOBALS_LINKAGE const char* _sAppConfigGlobalParamDbDir;
-       extern COMMONGLOBALS_LINKAGE const char* _sAppConfigGlobalThreadStackSizeKb;
-
-       extern COMMONGLOBALS_LINKAGE const GUID CAFCOMMON_GUID_NULL;
-
-       extern COMMONGLOBALS_LINKAGE const char* CAFCOMMON_PATH_DELIM;
-       extern COMMONGLOBALS_LINKAGE const char CAFCOMMON_PATH_DELIM_CHAR;
-}
-
-#endif
index a451325e007a59c08b7d865badecedef8ab0f949..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,24 +0,0 @@
-/*
- *     Copyright (c) 2011 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef Common_CommonGlobalsLink_h_
-#define Common_CommonGlobalsLink_h_
-
-#ifndef COMMONGLOBALS_LINKAGE
-    #ifdef WIN32
-        #ifdef FRAMEWORK_BUILD
-            #define COMMONGLOBALS_LINKAGE __declspec(dllexport)
-        #else
-            #define COMMONGLOBALS_LINKAGE __declspec(dllimport)
-        #endif
-    #else
-        #define COMMONGLOBALS_LINKAGE
-    #endif
-#endif
-
-#include "CommonDefines.h"
-#include "ClassMacroStrings.h"
-
-#endif
index 1db391d17bc834c322ca04758561409a7df0c64a..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,17 +0,0 @@
-/*
- *      Author: bwilliams
- *  Created: 10/19/2010
- *
- *     Copyright (c) 2010 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#include "stdafx.h"
-#include "../../include/Integration.h"
-
-namespace Caf {
-       const char* _sObjIdIntegrationObjectFactory = "com.vmware.commonagent.integration.objectfactory";
-       const char* _sObjIdErrorChannel = "com.vmware.commonagent.integration.channels.errorchannel";
-       const char* _sObjIdNullChannel = "com.vmware.commonagent.integration.channels.nullchannel";
-       const char* _sObjIdHeaderExpressionInvoker = "com.vmware.commonagent.integration.headerexpressioninvoker";
-}
index 8067b04c00c04d269ae1c089e1f53223156c9d03..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,12 +0,0 @@
-/*
- *     Copyright (c) 2011 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef stdafx_h_
-#define stdafx_h_
-
-#include <BaseDefines.h>
-#include "CommonGlobalsLink.h"
-
-#endif // #ifndef stdafx_h_
index 95e66f631d625db42a5ac2feda7ad5e14377b696..36bb9a271bec1a0bb0169ac3c57b0b2d02a53e85 100644 (file)
@@ -361,9 +361,9 @@ SmartPtrIIntMessage CCafMessageCreator::createPayloadEnvelope(
                const SmartPtrCProtocolCollectionDoc& protocolCollection) {
        CAF_CM_STATIC_FUNC_LOG_VALIDATE("CCafMessageCreator", "createPayloadEnvelope");
        CAF_CM_VALIDATE_STRING(payloadStr);
-       CAF_CM_VALIDATE_GUID(clientId);
+       // clientId is optional
        CAF_CM_VALIDATE_GUID(requestId);
-       CAF_CM_VALIDATE_STRING(pmeId);
+       // pmeId is optional
        CAF_CM_VALIDATE_STRING(payloadType);
        CAF_CM_VALIDATE_STRING(payloadVersion);
 
index 819347ff6f5131d13624b640d184daf15bcdd8ae..bd31f0f1a8d28d3a16c7a081679ba7626243c190 100644 (file)
@@ -16,7 +16,6 @@
 #endif
 
 #include <CommonDefines.h>
-#include <IntegrationContracts.h>
 #include <DocXml.h>
 #include <DocUtils.h>
 #include <Integration.h>
index 2b96f1c9c33ce62b1060b553915494427b32b2ac..f00ca8a22f99452ffc278a29378f75f53f3fc841 100644 (file)
@@ -16,7 +16,7 @@
 #endif
 
 #include <CommonDefines.h>
-#include <IntegrationContracts.h>
+#include <Integration.h>
 
 #include "FileHeaders.h"
 #include "MessageHeaders.h"
index f655a307f7b743957dba06ddb25e38d02195d786..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,41 +0,0 @@
-/*
- *      Author: mdonahue
- *  Created: Jan 20, 2011
- *
- *     Copyright (c) 2011 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#include "stdafx.h"
-#include "CAutoMutexLockUnlockRaw.h"
-
-using namespace Caf;
-
-CAutoMutexLockUnlockRaw::CAutoMutexLockUnlockRaw(GMutex* mutex) :
-       CAF_CM_INIT("CAutoMutexLockUnlockRaw") {
-       _mutex = mutex;
-       _recMutex = NULL;
-
-       if (_mutex) {
-               ::g_mutex_lock(_mutex);
-       }
-}
-
-CAutoMutexLockUnlockRaw::CAutoMutexLockUnlockRaw(GRecMutex* recMutex) :
-       CAF_CM_INIT("CAutoMutexLockUnlockRaw") {
-       _mutex = NULL;
-       _recMutex = recMutex;
-
-       if (_recMutex) {
-               ::g_rec_mutex_lock(_recMutex);
-       }
-}
-
-CAutoMutexLockUnlockRaw::~CAutoMutexLockUnlockRaw() {
-       if (_mutex) {
-               ::g_mutex_unlock(_mutex);
-       }
-       if (_recMutex) {
-               ::g_rec_mutex_unlock(_recMutex);
-       }
-}
index 0b122cd777b9ce2e3e9f6be9316c9d225999127f..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,33 +0,0 @@
-/*
- *      Author: mdonahue
- *  Created: Jan 20, 2011
- *
- *     Copyright (c) 2011 Vmware, Inc.  All rights reserved.
- *     -- VMware Confidential
- */
-
-#ifndef CAUTOMUTEXLOCKUNLOCKRAW_H_
-#define CAUTOMUTEXLOCKUNLOCKRAW_H_
-
-namespace Caf {
-
-class SUBSYSTEMBASE_LINKAGE CAutoMutexLockUnlockRaw {
-public:
-       CAutoMutexLockUnlockRaw(GMutex* mutex);
-
-       CAutoMutexLockUnlockRaw(GRecMutex* recMutex);
-
-       ~CAutoMutexLockUnlockRaw();
-
-private:
-       GMutex* _mutex;
-       GRecMutex* _recMutex;
-
-private:
-       CAF_CM_CREATE;
-       CAF_CM_DECLARE_NOCOPY(CAutoMutexLockUnlockRaw);
-};
-
-}
-
-#endif /* CAUTOMUTEXLOCKUNLOCKRAW_H_ */
index 676f594b525220f0d443df6b74b9444f66501c12..90fa14aa53c669a01a58ec1f4b191879f001827e 100644 (file)
@@ -22,7 +22,6 @@
 
 #include "SubSystemBaseInc.h"
 
-#include "CAutoMutexLockUnlockRaw.h"
 #include "CEcmDllManager.h"
 #include "CEcmSubSystem.h"
 #include "CEcmSubSystemModule.h"
index a414609a04e865b60ce80e6937b146555aab602b..ff86dc2dd8e1ed8f63744e85fe65fe4329a35036 100644 (file)
@@ -18,8 +18,8 @@
 #endif
 
 #include <CommonDefines.h>
+#include <CommonGlobals.h>
 #include "../../Common/CAutoMutexLockUnlock.h"
-#include "../../Globals/CommonGlobalsLink.h"
 #include "../../Exception/ExceptionLink.h"
 
 #endif /* STDAFX_H_ */
index 979e03759ce36a0cf816025785e3f98c54c8e259..7533c54d8768fda9fce112497851f1242e50a5ca 100644 (file)
@@ -18,7 +18,7 @@
 #endif
 
 #include <BaseDefines.h>
-#include "../../Globals/CommonGlobalsLink.h"
+#include <CommonGlobals.h>
 #include "../../Exception/ExceptionLink.h"
 #include "../../Logging/LoggingLink.h"
 #include "../../Collections/Iterators/IteratorsInc.h"
index db569557d61d108a1d0d823dc844cceb2da68b33..11291d1130a347ebbba4baa0adf0dcb17adc11d0 100644 (file)
@@ -12,7 +12,7 @@
        #define BASEPLATFORM_LINKAGE
 #endif
 
-#include "../../include/BaseDefines.h"
+#include <BaseDefines.h>
 #include "BasePlatformInc.h"
 
 #endif // #ifndef stdafx_h_
index cbd5293f9ca91687e85715201d633a1103db1d6e..b6e5d6b050d6dac6032219f02006556bc2750ec8 100644 (file)
 
 using namespace Caf;
 
+namespace Caf {
+       const char* _sObjIdErrorToResponseTransformerInstance = "com.vmware.commonagent.cafintegration.errortoresponsetransformerinstance";
+       const char* _sObjIdErrorToResponseTransformer = "com.vmware.commonagent.cafintegration.errortoresponsetransformer";
+       const char* _sObjIdPayloadHeaderEnricherInstance = "com.vmware.commonagent.cafintegration.payloadheaderenricherinstance";
+       const char* _sObjIdPayloadHeaderEnricher = "com.vmware.commonagent.cafintegration.payloadheaderenricher";
+       const char* _sObjIdEnvelopeToPayloadTransformerInstance = "com.vmware.commonagent.cafintegration.envelopetopayloadtransformerinstance";
+       const char* _sObjIdEnvelopeToPayloadTransformer = "com.vmware.commonagent.cafintegration.envelopetopayloadtransformer";
+}
+
 CEcmSubSystemModule _Module;
 
 CAF_BEGIN_OBJECT_MAP(ObjectMap)
index 1793c88fbd119912f58c1dc527b5dec4bf8bdfc3..299b563a3d4a8d0eeaae14cbeb989504fa2e3c23 100644 (file)
 //{{CAF_SUBSYSTEM}}
 
 #include <CommonDefines.h>
-#include <IntegrationContracts.h>
-#include <CafContracts.h>
 #include <Integration.h>
 #include <DocXml.h>
 #include <DocUtils.h>
 
-#include <FxContracts.h>
+namespace Caf {
+       extern const char* _sObjIdErrorToResponseTransformerInstance;
+       extern const char* _sObjIdErrorToResponseTransformer;
+       extern const char* _sObjIdPayloadHeaderEnricherInstance;
+       extern const char* _sObjIdPayloadHeaderEnricher;
+       extern const char* _sObjIdEnvelopeToPayloadTransformerInstance;
+       extern const char* _sObjIdEnvelopeToPayloadTransformer;
+}
 
 #include "CErrorToResponseTransformerInstance.h"
 #include "CErrorToResponseTransformer.h"
index a340481a383a516737c72462421647c3a37c779e..618cf9718a9e40afc9db92bc8b6db8518bec56a6 100644 (file)
 
 using namespace Caf;
 
+namespace Caf {
+       const char* _sObjIdIntegrationObjectFactory = "com.vmware.commonagent.integration.objectfactory";
+       const char* _sObjIdErrorChannel = "com.vmware.commonagent.integration.channels.errorchannel";
+       const char* _sObjIdNullChannel = "com.vmware.commonagent.integration.channels.nullchannel";
+       const char* _sObjIdHeaderExpressionInvoker = "com.vmware.commonagent.integration.headerexpressioninvoker";
+}
+
 CEcmSubSystemModule _Module;
 
 CAF_BEGIN_OBJECT_MAP(ObjectMap)
index 64ce09299b0ffcad7dbee8e3a2beec00f06005ad..105e2bf89523b510c172c48226d7eee74cf24d5b 100644 (file)
 //{{CAF_SUBSYSTEM}}
 
 #include <CommonDefines.h>
-#include <IntegrationContracts.h>
 #include <Integration.h>
 
+namespace Caf {
+       // Integration Contracts
+       extern const char* _sObjIdIntegrationObjectFactory;
+       extern const char* _sObjIdErrorChannel;
+       extern const char* _sObjIdNullChannel;
+       extern const char* _sObjIdHeaderExpressionInvoker;
+}
+
 namespace Caf {
 
 // template function to create integration objects
index 43ee3c0d7496a45943115b1a5dca5e99af570c26..d88784b0685c29ea3aafac50489e47535a8507ee 100644 (file)
@@ -12,7 +12,6 @@
 //{{CAF_SUBSYSTEM}}
 
 #include <CommonDefines.h>
-#include <CafContracts.h>
 #include <DocXml.h>
 #include <DocUtils.h>
 #include <Integration.h>
@@ -23,15 +22,15 @@ namespace Caf {
        extern const char* _sInstallProviderSpecFilename;
 }
 
-#include "../../Install_Provider/src/IPackage.h"
+#include "IPackage.h"
 
-#include "../../Install_Provider/src/CInstallUtils.h"
-#include "../../Install_Provider/src/CPathBuilder.h"
+#include "CInstallUtils.h"
+#include "CPathBuilder.h"
 
-#include "../../Install_Provider/src/CPackageExecutor.h"
-#include "../../Install_Provider/src/CPackageInstaller.h"
-#include "../../Install_Provider/src/CProviderInstaller.h"
+#include "CPackageExecutor.h"
+#include "CPackageInstaller.h"
+#include "CProviderInstaller.h"
 
-#include "../../Install_Provider/src/CInstallProvider.h"
+#include "CInstallProvider.h"
 
 #endif // #ifndef stdafx_h_
index 2c4dd9bb3cfb33a44250819809c631383bef3823..63a9c1878c769066b4a3dccc121cb11b9138de97 100644 (file)
 //{{CAF_SUBSYSTEM}}
 
 #include <CommonDefines.h>
-#include <CafContracts.h>
 #include <DocXml.h>
 #include <DocUtils.h>
 #include <ProviderFxLink.h>
 
-#include "../../RemoteCommand_Provider/src/CRemoteCommandProvider.h"
+#include "CRemoteCommandProvider.h"
 
 #endif // #ifndef stdafx_h_
index 474f10e3a3010bede5809a12de5abf7a7767077c..a2bbe6e124f4710f9e2855c7ebb06e2bc5021a07 100644 (file)
@@ -10,8 +10,6 @@
 #define stdafx_h_
 
 #include <CommonDefines.h>
-#include <CafContracts.h>
-#include <IntegrationContracts.h>
 #include <Integration.h>
 
 #ifdef WIN32
index 9e149767826d4b5fa92f1503332141c5f96aa466..59e8bf64754ddb7c6ea6b634f112e888f7427fd7 100644 (file)
@@ -14,148 +14,113 @@ using namespace Caf;
 CConfigEnv::CConfigEnv() :
        _isInitialized(false),
        CAF_CM_INIT_LOG("CConfigEnv") {
+       CAF_CM_INIT_THREADSAFE;
 }
 
 CConfigEnv::~CConfigEnv() {
 }
 
-void CConfigEnv::initialize() {
-       CAF_CM_FUNCNAME_VALIDATE("initialize");
-       CAF_CM_PRECOND_ISNOTINITIALIZED(_isInitialized);
+void CConfigEnv::initializeBean(
+       const IBean::Cargs& ctorArgs,
+       const IBean::Cprops& properties) {
+}
+
+void CConfigEnv::terminateBean() {
+}
 
-       _persistenceDir = AppConfigUtils::getRequiredString("persistence_dir");
-       _scriptsDir = AppConfigUtils::getRequiredString("scripts_dir");
-       _outputDir = AppConfigUtils::getRequiredString(_sAppConfigGlobalParamOutputDir);
-       _configDir = AppConfigUtils::getRequiredString("config_dir");
-       _vcidPath = "/etc/vmware-tools/GuestProxyData/VmVcUuid/vm.vc.uuid";
+void CConfigEnv::initialize(
+               const SmartPtrIPersistence& persistenceRemove) {
+       CAF_CM_LOCK_UNLOCK;
+
+       if (_isInitialized) {
+               if (! persistenceRemove.IsNull() && _persistenceRemove.IsNull()) {
+                       _persistenceRemove = persistenceRemove;
+               }
+       } else {
+               _persistenceDir = AppConfigUtils::getRequiredString("persistence_dir");
+               _scriptsDir = AppConfigUtils::getRequiredString("scripts_dir");
+               _outputDir = AppConfigUtils::getRequiredString(_sAppConfigGlobalParamOutputDir);
+               _configDir = AppConfigUtils::getRequiredString("config_dir");
+               _persistenceAppconfigPath = FileSystemUtils::buildPath(_configDir, "persistence-appconfig");
 
+               std::string guestProxyDir;
 #ifdef _WIN32
-       _startListenerScript = FileSystemUtils::buildPath(_scriptsDir, "start-listener.bat");
-       _stopListenerScript = FileSystemUtils::buildPath(_scriptsDir, "stop-listener.bat");
-       _startMaScript = FileSystemUtils::buildPath(_scriptsDir, "start-ma.bat");
-       _stopMaScript = FileSystemUtils::buildPath(_scriptsDir, "stop-ma.bat");
+               _startListenerScript = FileSystemUtils::buildPath(_scriptsDir, "start-listener.bat");
+               _stopListenerScript = FileSystemUtils::buildPath(_scriptsDir, "stop-listener.bat");
+               _startMaScript = FileSystemUtils::buildPath(_scriptsDir, "start-ma.bat");
+               _stopMaScript = FileSystemUtils::buildPath(_scriptsDir, "stop-ma.bat");
+
+               std::string programData;
+               CEnvironmentUtils::readEnvironmentVar("ProgramData", programData);
+               guestProxyDir = FileSystemUtils::buildPath(programData, "VMware", "VMware Tools", "GuestProxyData");
 #else
-       _startListenerScript = FileSystemUtils::buildPath(_scriptsDir, "start-listener");
-       _stopListenerScript = FileSystemUtils::buildPath(_scriptsDir, "stop-listener");
-       _startMaScript = FileSystemUtils::buildPath(_scriptsDir, "start-ma");
-       _stopMaScript = FileSystemUtils::buildPath(_scriptsDir, "stop-ma");
+               _startListenerScript = FileSystemUtils::buildPath(_scriptsDir, "start-listener");
+               _stopListenerScript = FileSystemUtils::buildPath(_scriptsDir, "stop-listener");
+               _startMaScript = FileSystemUtils::buildPath(_scriptsDir, "start-ma");
+               _stopMaScript = FileSystemUtils::buildPath(_scriptsDir, "stop-ma");
+
+               guestProxyDir = "/etc/vmware-tools/GuestProxyData";
 #endif
 
-       _isInitialized = true;
+               _vcidPath = FileSystemUtils::buildPath(guestProxyDir, "VmVcUuid", "vm.vc.uuid");
+               _cacertPath = FileSystemUtils::buildPath(guestProxyDir, "server", "cert.pem");
+
+               _persistence = CPersistenceUtils::loadPersistence(_persistenceDir);
+               _persistenceUpdated = _persistence;
+               _persistenceRemove = persistenceRemove;
+
+               _isInitialized = true;
+       }
 }
 
 SmartPtrCPersistenceDoc CConfigEnv::getUpdated(
                const int32 timeout) {
        CAF_CM_FUNCNAME_VALIDATE("getUpdated");
+       CAF_CM_LOCK_UNLOCK;
        CAF_CM_PRECOND_ISINITIALIZED(_isInitialized);
 
-       if (_persistence.IsNull()) {
-               _persistence = CPersistenceUtils::loadPersistence(_persistenceDir);
+       const SmartPtrCPersistenceDoc persistenceTmp =
+                       CConfigEnvMerge::mergePersistence(_persistence, _cacertPath, _vcidPath);
+       if (! persistenceTmp.IsNull() || ! FileSystemUtils::doesFileExist(_persistenceAppconfigPath)) {
+               if (! persistenceTmp.IsNull()) {
+                       _persistence = persistenceTmp;
+               }
+
+               savePersistenceAppconfig(_persistence, _configDir);
+               restartRunningListener();
        }
 
-       return _persistence;
+       SmartPtrCPersistenceDoc rc;
+       if (! _persistenceUpdated.IsNull()) {
+               CAF_CM_LOG_DEBUG_VA1("Returning persistence info - %s", _persistenceDir.c_str());
+               rc = _persistenceUpdated;
+               _persistenceUpdated = SmartPtrCPersistenceDoc();
+       }
+
+       return rc;
 }
 
 void CConfigEnv::update(
                const SmartPtrCPersistenceDoc& persistence) {
        CAF_CM_FUNCNAME_VALIDATE("update");
+       CAF_CM_LOCK_UNLOCK;
        CAF_CM_PRECOND_ISINITIALIZED(_isInitialized);
 
-       if (_persistence.IsNull()) {
-               _persistence = CPersistenceUtils::loadPersistence(_persistenceDir);
-       }
+       const SmartPtrCPersistenceDoc persistenceTmp =
+                       CPersistenceMerge::mergePersistence(_persistence, persistence);
+       if (! persistenceTmp.IsNull()) {
+               CAF_CM_LOG_DEBUG_VA1("Updating persistence info - %s", _persistenceDir.c_str());
 
-       const SmartPtrCPersistenceDoc persistenceTmp = merge(_persistence, persistence);
-       if (_persistence != persistenceTmp) {
                _persistence = persistenceTmp;
+               _persistenceUpdated = createPersistenceUpdated(_persistence);
                CPersistenceUtils::savePersistence(_persistence, _persistenceDir);
-               savePersistenceAppconfig(_persistence, _configDir);
 
-               //executeScript(_stopListenerScript, _outputDir);
-               //executeScript(_stopMaScript, _outputDir);
-               //executeScript(_startListenerScript, _outputDir);
-               //executeScript(_startMaScript, _outputDir);
-       }
-}
+               restartRunningListener();
 
-void CConfigEnv::remove(
-               const SmartPtrCPersistenceDoc& persistence) {
-       CAF_CM_FUNCNAME("remove");
-       CAF_CM_PRECOND_ISINITIALIZED(_isInitialized);
-       CAF_CM_VALIDATE_SMARTPTR(persistence);
-
-       CAF_CM_EXCEPTIONEX_VA0(UnsupportedOperationException, E_NOTIMPL, "Not implemented");
-}
-
-SmartPtrCPersistenceDoc CConfigEnv::merge(
-               const SmartPtrCPersistenceDoc& persistenceLoaded,
-               const SmartPtrCPersistenceDoc& persistenceIn) const {
-       // persistenceIn is non-null only when it has a change.
-       bool isChanged = false;
-       SmartPtrCPersistenceDoc persistenceTmp = persistenceLoaded;
-       if (! persistenceIn.IsNull()) {
-               persistenceTmp = persistenceIn;
-               isChanged = true;
-       }
-
-       const SmartPtrCLocalSecurityDoc localSecurity =
-                       calcLocalSecurity(persistenceTmp->getLocalSecurity());
-
-       //TODO: Do something similar to the above for tunnel vs. non-tunnel:
-       // * Tunnel - Use "/etc/vmware-tools/GuestProxyData/server/cert.pem" for the cacert
-       // * Tunnel - Calculate the URL with a protocol of "tunnel"
-       // * Non-tunnel - Calculate the URL with a protocol of "amqp"
-
-       SmartPtrCPersistenceDoc rc = persistenceLoaded;
-       if (isChanged || ! localSecurity.IsNull()) {
-               const SmartPtrCLocalSecurityDoc localSecurityTmp =
-                               localSecurity.IsNull() ? persistenceTmp->getLocalSecurity() : localSecurity;
-
-               rc.CreateInstance();
-               rc->initialize(localSecurityTmp, persistenceTmp->getRemoteSecurityCollection(),
-                               persistenceTmp->getPersistenceProtocol());
-       }
-
-       return rc;
-}
-
-SmartPtrCLocalSecurityDoc CConfigEnv::calcLocalSecurity(
-               const SmartPtrCLocalSecurityDoc& localSecurity) const {
-       CAF_CM_FUNCNAME_VALIDATE("calcLocalSecurity");
-       CAF_CM_VALIDATE_SMARTPTR(localSecurity);
-
-       const std::string localIdTmp =
-                       localSecurity.IsNull() ? std::string() : localSecurity->getLocalId();
-       const std::string localId = calcLocalId(localIdTmp);
-
-       SmartPtrCLocalSecurityDoc rc;
-       if (! localId.empty()) {
-               const std::string privateKey =
-                               localSecurity.IsNull() ? std::string() : localSecurity->getPrivateKey();
-               const std::string cert =
-                               localSecurity.IsNull() ? std::string() : localSecurity->getCert();
-               rc.CreateInstance();
-               rc->initialize(localId, privateKey, cert);
-       }
-
-       return rc;
-}
-
-std::string CConfigEnv::calcLocalId(
-               const std::string& localIdCurrent) const {
-       std::string rc;
-       if (FileSystemUtils::doesFileExist(_vcidPath)) {
-               const std::string vcid = FileSystemUtils::loadTextFile(_vcidPath);
-               if (vcid.compare(localIdCurrent) != 0) {
-                       rc = vcid;
-               }
+               removePrivateKey(_persistence, _persistenceRemove);
        } else {
-               if (localIdCurrent.empty()) {
-                       rc = CStringUtils::createRandomUuid();
-               }
+               CAF_CM_LOG_DEBUG_VA0("Persistence info did not change");
        }
-
-       return rc;
 }
 
 void CConfigEnv::savePersistenceAppconfig(
@@ -170,26 +135,27 @@ void CConfigEnv::savePersistenceAppconfig(
 #else
        const std::string newLine = "\n";
 #endif
+       CAF_CM_LOG_DEBUG_VA1("Saving persistence-appconfig - %s", configDir.c_str());
 
-       const std::string appconfigPath =
-                       FileSystemUtils::buildPath(configDir, "persistence-appconfig");
-       const Cdeqstr appconfigColl =
-                       FileSystemUtils::loadTextFileIntoColl(appconfigPath);
+       const SmartPtrCPersistenceProtocolDoc persistenceProtocol =
+                       CPersistenceUtils::loadPersistenceProtocol(
+                                       persistence->getPersistenceProtocolCollection());
+
+       UriUtils::SUriRecord uriRecord;
+       UriUtils::parseUriString(persistenceProtocol->getUri(), uriRecord);
+       CAF_CM_VALIDATE_STRING(uriRecord.path);
+
+       const std::string listenerContext = calcListenerContext(uriRecord.protocol, configDir);
+
+       CAF_CM_LOG_DEBUG_VA2("Calculated listener context - uri: %s, protocol: %s",
+                       persistenceProtocol->getUri().c_str(), uriRecord.protocol.c_str());
 
        std::string appconfigContents;
-       for (TConstIterator<Cdeqstr> iter(appconfigColl); iter; iter++) {
-               const std::string appconfigLine = *iter;
-               if (appconfigLine.find("reactive_request_amqp_queue_id=") != std::string::npos) {
-                       const SmartPtrCAmqpBrokerDoc amqpBroker =
-                                       CPersistenceUtils::loadAmqpBroker(persistence->getPersistenceProtocol());
-                       appconfigContents +=
-                                       "reactive_request_amqp_queue_id=" + amqpBroker->getAmqpBrokerId() + newLine;
-               } else {
-                       appconfigContents += appconfigLine + newLine;
-               }
-       }
+       appconfigContents = "[globals]" + newLine;
+       appconfigContents += "reactive_request_amqp_queue_id=" + uriRecord.path + newLine;
+       appconfigContents += "comm_amqp_listener_context=" + listenerContext + newLine;
 
-       FileSystemUtils::saveTextFile(appconfigPath, appconfigContents);
+       FileSystemUtils::saveTextFile(_persistenceAppconfigPath, appconfigContents);
 }
 
 void CConfigEnv::executeScript(
@@ -209,3 +175,97 @@ void CConfigEnv::executeScript(
 
        ProcessUtils::runSyncToFiles(argv, stdoutPath, stderrPath);
 }
+
+void CConfigEnv::removePrivateKey(
+               const SmartPtrCPersistenceDoc& persistence,
+               const SmartPtrIPersistence& persistenceRemove) const {
+       CAF_CM_FUNCNAME_VALIDATE("removePrivateKey");
+       CAF_CM_VALIDATE_SMARTPTR(persistence);
+
+       if (! persistenceRemove.IsNull()
+                       && ! persistence->getLocalSecurity()->getPrivateKey().empty()) {
+               CAF_CM_LOG_DEBUG_VA0("Removing private key");
+
+               SmartPtrCLocalSecurityDoc localSecurity;
+               localSecurity.CreateInstance();
+               localSecurity->initialize(std::string(), "removePrivateKey");
+
+               SmartPtrCPersistenceDoc persistenceRemoveTmp;
+               persistenceRemoveTmp.CreateInstance();
+               persistenceRemoveTmp->initialize(localSecurity);
+
+               persistenceRemove->remove(persistenceRemoveTmp);
+       }
+}
+
+SmartPtrCPersistenceDoc CConfigEnv::createPersistenceUpdated(
+               const SmartPtrCPersistenceDoc& persistence) const {
+       CAF_CM_FUNCNAME_VALIDATE("createPersistenceUpdated");
+       CAF_CM_VALIDATE_SMARTPTR(persistence);
+
+       SmartPtrCLocalSecurityDoc localSecurity;
+       if (! persistence->getLocalSecurity().IsNull()
+                       && ! persistence->getLocalSecurity()->getLocalId().empty()) {
+               localSecurity.CreateInstance();
+               localSecurity->initialize(persistence->getLocalSecurity()->getLocalId());
+       }
+
+       SmartPtrCPersistenceProtocolCollectionDoc persistenceProtocolCollection;
+       if (! persistence->getPersistenceProtocolCollection().IsNull()
+                       && ! persistence->getPersistenceProtocolCollection()->getPersistenceProtocol().empty()) {
+               const SmartPtrCPersistenceProtocolDoc persistenceProtocolTmp =
+                               CPersistenceUtils::loadPersistenceProtocol(persistence->getPersistenceProtocolCollection());
+               if (! persistenceProtocolTmp->getUri().empty()) {
+                       SmartPtrCPersistenceProtocolDoc persistenceProtocol;
+                       persistenceProtocol.CreateInstance();
+                       persistenceProtocol->initialize(
+                                       persistenceProtocolTmp->getProtocolName(),
+                                       persistenceProtocolTmp->getUri());
+
+                       std::deque<SmartPtrCPersistenceProtocolDoc> persistenceProtocolInner;
+                       persistenceProtocolInner.push_back(persistenceProtocol);
+
+                       persistenceProtocolCollection.CreateInstance();
+                       persistenceProtocolCollection->initialize(persistenceProtocolInner);
+               }
+       }
+
+       SmartPtrCPersistenceDoc rc;
+       if (! localSecurity.IsNull() || ! persistenceProtocolCollection.IsNull()) {
+               rc.CreateInstance();
+               rc->initialize(localSecurity, SmartPtrCRemoteSecurityCollectionDoc(),
+                               persistenceProtocolCollection, persistence->getVersion());
+       }
+
+       return rc;
+}
+
+std::string CConfigEnv::calcListenerContext(
+               const std::string& uriSchema,
+               const std::string& configDir) const {
+       CAF_CM_FUNCNAME("calcListenerContext");
+       CAF_CM_VALIDATE_STRING(uriSchema);
+       CAF_CM_VALIDATE_STRING(configDir);
+
+       std::string rc;
+       if (uriSchema.compare("amqp") == 0) {
+               rc = FileSystemUtils::buildPath(configDir, "CommAmqpListener-context-amqp.xml");
+       } else if (uriSchema.compare("tunnel") == 0) {
+               rc = FileSystemUtils::buildPath(configDir, "CommAmqpListener-context-tunnel.xml");
+       } else {
+               CAF_CM_EXCEPTION_VA1(E_INVALIDARG, "Unknown URI schema: %s", uriSchema.c_str());
+       }
+
+       return FileSystemUtils::normalizePathWithForward(rc);
+}
+
+void CConfigEnv::restartRunningListener() const {
+       // TODO: It's difficult to know when we should start the listener, because
+       // it depends upon whether its been fully configured or not, and we don't
+       // know when that happens within this code. All we know is that we've
+       // read whatever info is on the file system and in the NSDDB, but that's it.
+       // Perhaps the best we can do is to re-start the listener only if it's already
+       // running because at least then we know that it's been configured.
+       //executeScript(_stopListenerScript, _outputDir);
+       //executeScript(_startListenerScript, _outputDir);
+}
index 742127a22cd6199f3a8d9fc1b44b532cb676584c..72c7193a9039243027adc4e204a37852b1cf5dc5 100644 (file)
@@ -14,6 +14,7 @@ using namespace Caf;
 /// TODO - describe class
 class CConfigEnv :
        public TCafSubSystemObjectRoot<CConfigEnv>,
+       public IBean,
        public IConfigEnv {
 public:
        CConfigEnv();
@@ -22,11 +23,20 @@ public:
        CAF_DECLARE_OBJECT_IDENTIFIER(_sObjIdConfigEnv)
 
        CAF_BEGIN_INTERFACE_MAP(CConfigEnv)
+               CAF_INTERFACE_ENTRY(IBean)
                CAF_INTERFACE_ENTRY(IConfigEnv)
        CAF_END_INTERFACE_MAP()
 
+public: // IBean
+       virtual void initializeBean(
+                       const IBean::Cargs& ctorArgs,
+                       const IBean::Cprops& properties);
+
+       virtual void terminateBean();
+
 public: // IConfigEnv
-       void initialize();
+       void initialize(
+                       const SmartPtrIPersistence& persistenceRemove);
 
        SmartPtrCPersistenceDoc getUpdated(
                        const int32 timeout);
@@ -34,20 +44,7 @@ public: // IConfigEnv
        void update(
                        const SmartPtrCPersistenceDoc& persistence);
 
-       void remove(
-                       const SmartPtrCPersistenceDoc& persistence);
-
 private:
-       SmartPtrCPersistenceDoc merge(
-                       const SmartPtrCPersistenceDoc& persistenceLoaded,
-                       const SmartPtrCPersistenceDoc& persistenceIn) const;
-
-       SmartPtrCLocalSecurityDoc calcLocalSecurity(
-                       const SmartPtrCLocalSecurityDoc& localSecurity) const;
-
-       std::string calcLocalId(
-                       const std::string& localIdCurrent) const;
-
        void savePersistenceAppconfig(
                        const SmartPtrCPersistenceDoc& persistence,
                        const std::string& configDir) const;
@@ -56,16 +53,28 @@ private:
                        const std::string& scriptPath,
                        const std::string& scriptResultsDir) const;
 
-       Cdeqstr loadTextFileIntoColl(
-                       const std::string& filePath) const;
+       void removePrivateKey(
+                       const SmartPtrCPersistenceDoc& persistence,
+                       const SmartPtrIPersistence& persistenceRemove) const;
+
+       SmartPtrCPersistenceDoc createPersistenceUpdated(
+                       const SmartPtrCPersistenceDoc& persistence) const;
+
+       std::string calcListenerContext(
+                       const std::string& uriSchema,
+                       const std::string& configDir) const;
+
+       void restartRunningListener() const;
 
 private:
        bool _isInitialized;
        std::string _vcidPath;
+       std::string _cacertPath;
        std::string _persistenceDir;
        std::string _scriptsDir;
        std::string _outputDir;
        std::string _configDir;
+       std::string _persistenceAppconfigPath;
 
        std::string _startListenerScript;
        std::string _stopListenerScript;
@@ -73,10 +82,13 @@ private:
        std::string _stopMaScript;
 
        SmartPtrCPersistenceDoc _persistence;
+       SmartPtrCPersistenceDoc _persistenceUpdated;
+       SmartPtrIPersistence _persistenceRemove;
 
 private:
        CAF_CM_CREATE;
        CAF_CM_CREATE_LOG;
+       CAF_CM_CREATE_THREADSAFE;
        CAF_CM_DECLARE_NOCOPY(CConfigEnv);
 };
 
index 47a4f6dc1b7b5fa81119ea087bf52601e4df0c9f..8e97bea2870b16f474bab20dc7eb7f323f1767df 100644 (file)
@@ -51,9 +51,11 @@ void CConfigEnvInboundChannelAdapterInstance::wire(
        const std::string outputChannelStr =
                _configSection->findRequiredAttribute("channel");
 
+       const SmartPtrIConfigEnv configEnv = createConfigEnv(appContext);
+
        SmartPtrCConfigEnvReadingMessageSource configEnvReadingMessageSource;
        configEnvReadingMessageSource.CreateInstance();
-       configEnvReadingMessageSource->initialize(_configSection);
+       configEnvReadingMessageSource->initialize(_configSection, configEnv);
 
        const SmartPtrIMessageChannel outputMessageChannel =
                channelResolver->resolveChannelName(outputChannelStr);
@@ -114,3 +116,19 @@ bool CConfigEnvInboundChannelAdapterInstance::isMessageProducer() const {
 
        return true;
 }
+
+SmartPtrIConfigEnv CConfigEnvInboundChannelAdapterInstance::createConfigEnv(
+       const SmartPtrIAppContext& appContext) const {
+       CAF_CM_FUNCNAME_VALIDATE("createConfigEnv");
+       CAF_CM_VALIDATE_INTERFACE(appContext);
+
+       SmartPtrIConfigEnv rc;
+       const std::string refStr = _configSection->findRequiredAttribute("ref");
+       CAF_CM_LOG_DEBUG_VA1("Creating the configenv impl - %s", refStr.c_str());
+       const SmartPtrIBean bean = appContext->getBean(refStr);
+       rc.QueryInterface(bean, false);
+       CAF_CM_VALIDATE_INTERFACE(rc);
+       rc->initialize();
+
+       return rc;
+}
index aa3e2026e7910137d23d82c26544b8a71d41e45a..4b926cd0d4a25e82825cd4137a863847e9b251ae 100644 (file)
@@ -49,6 +49,10 @@ public: // ILifecycle
 public: // IMessageProducer
        bool isMessageProducer() const;
 
+private:
+       SmartPtrIConfigEnv createConfigEnv(
+               const SmartPtrIAppContext& appContext) const;
+
 private:
        bool _isInitialized;
        std::string _id;
index f47912d9d4a3581818781f1eb981b5bf08b4f023..0eaac8d8c5025ceade547ad94575d501572180a7 100644 (file)
@@ -13,7 +13,6 @@ using namespace Caf;
 
 CConfigEnvMessageHandler::CConfigEnvMessageHandler() :
                _isInitialized(false),
-               _deleteSourceEntries(false),
        CAF_CM_INIT_LOG("CConfigEnvMessageHandler") {
 }
 
@@ -21,20 +20,16 @@ CConfigEnvMessageHandler::~CConfigEnvMessageHandler() {
 }
 
 void CConfigEnvMessageHandler::initialize(
-               const SmartPtrIDocument& configSection) {
+               const SmartPtrIDocument& configSection,
+               const SmartPtrIConfigEnv& configEnv) {
        CAF_CM_FUNCNAME_VALIDATE("initialize");
        CAF_CM_PRECOND_ISNOTINITIALIZED(_isInitialized);
        CAF_CM_VALIDATE_INTERFACE(configSection);
+       CAF_CM_VALIDATE_SMARTPTR(configEnv);
 
        _id = configSection->findRequiredAttribute("id");
 
-       const std::string implClass = configSection->findRequiredAttribute("impl-class");
-       _configEnv.CreateInstance(implClass.c_str());
-       _configEnv->initialize();
-
-       const std::string deleteSourceEntriesStr = configSection->findOptionalAttribute(
-               "delete-source-entries");
-       _deleteSourceEntries = (deleteSourceEntriesStr.empty() || deleteSourceEntriesStr.compare("false") == 0) ? false : true;
+       _configEnv = configEnv;
 
        _isInitialized = true;
 }
@@ -47,14 +42,13 @@ void CConfigEnvMessageHandler::handleMessage(
 
        _savedMessage = message;
 
+       SmartPtrCPersistenceDoc persistence;
        const std::string payloadStr = message->getPayloadStr();
-       const SmartPtrCPersistenceDoc persistence =
-                       XmlRoots::parsePersistenceFromString(payloadStr);
-       _configEnv->update(persistence);
-
-       if (_deleteSourceEntries) {
-               ;//TODO: Delete entries like the localSecurity private key.
+       if (! payloadStr.empty()) {
+               persistence = XmlRoots::parsePersistenceFromString(payloadStr);
        }
+
+       _configEnv->update(persistence);
 }
 
 SmartPtrIIntMessage CConfigEnvMessageHandler::getSavedMessage() const {
index 30e7a3f46169b32073891e92fa42a7c679864f3b..3a7fcbbdb1d58690c226527a977519233f246de0 100644 (file)
@@ -26,7 +26,8 @@ public:
 
 public:
        void initialize(
-               const SmartPtrIDocument& configSection);
+               const SmartPtrIDocument& configSection,
+               const SmartPtrIConfigEnv& configEnv);
 
 public: // IMessageHandler
        void handleMessage(
@@ -43,7 +44,6 @@ public: // IErrorProcessor
 private:
        bool _isInitialized;
        std::string _id;
-       bool _deleteSourceEntries;
        SmartPtrIConfigEnv _configEnv;
        SmartPtrIIntMessage _savedMessage;
 
index 2175482b8624081fcee5fc18fb3ddbe4367d1cf3..238e4724464b1399050b199a71b0a5b5c0b5a123 100644 (file)
@@ -57,9 +57,11 @@ void CConfigEnvOutboundChannelAdapterInstance::wire(
        SmartPtrIIntegrationObject inputChannelObj;
        inputChannelObj.QueryInterface(inputChannel);
 
+       const SmartPtrIConfigEnv configEnv = createConfigEnv(appContext);
+
        SmartPtrCConfigEnvMessageHandler configEnvMessageHandler;
        configEnvMessageHandler.CreateInstance();
-       configEnvMessageHandler->initialize(_configSection);
+       configEnvMessageHandler->initialize(_configSection, configEnv);
        SmartPtrIMessageHandler messageHandler;
        messageHandler.QueryInterface(configEnvMessageHandler);
 
@@ -98,3 +100,49 @@ bool CConfigEnvOutboundChannelAdapterInstance::isRunning() const {
 
        return _isRunning;
 }
+
+SmartPtrIConfigEnv CConfigEnvOutboundChannelAdapterInstance::createConfigEnv(
+       const SmartPtrIAppContext& appContext) const {
+       CAF_CM_FUNCNAME_VALIDATE("createConfigEnv");
+       CAF_CM_VALIDATE_INTERFACE(appContext);
+
+       const SmartPtrIPersistence persistenceRemove = createOptPersistence(appContext);
+
+       SmartPtrIConfigEnv rc;
+       const std::string refStr = _configSection->findRequiredAttribute("ref");
+       CAF_CM_LOG_DEBUG_VA1("Creating the configenv impl - %s", refStr.c_str());
+       const SmartPtrIBean bean = appContext->getBean(refStr);
+       rc.QueryInterface(bean, false);
+       CAF_CM_VALIDATE_INTERFACE(rc);
+       rc->initialize(persistenceRemove);
+
+       return rc;
+}
+
+SmartPtrIPersistence CConfigEnvOutboundChannelAdapterInstance::createOptPersistence(
+       const SmartPtrIAppContext& appContext) const {
+       CAF_CM_FUNCNAME("createOptPersistence");
+       CAF_CM_VALIDATE_INTERFACE(appContext);
+
+       SmartPtrIPersistence rc;
+       const std::string removeRefStr = _configSection->findOptionalAttribute("remove-ref");
+       if (! removeRefStr.empty()) {
+               CAF_CM_LOG_DEBUG_VA1("Creating the persistence impl - %s", removeRefStr.c_str());
+               const SmartPtrIBean bean = appContext->getBean(removeRefStr);
+               rc.QueryInterface(bean, false);
+               CAF_CM_VALIDATE_INTERFACE(rc);
+
+               try {
+                       rc->initialize();
+               }
+               CAF_CM_CATCH_CAF
+               CAF_CM_CATCH_DEFAULT
+               CAF_CM_LOG_WARN_CAFEXCEPTION;
+
+               if (CAF_CM_ISEXCEPTION) {
+                       rc = SmartPtrIPersistence();
+               }
+       }
+
+       return rc;
+}
index 591521a5e11d40e2e2c11677fb634fe6ce67deb3..765da763a2bf986f1dcaae55ff068a4e2f36d5bf 100644 (file)
@@ -45,6 +45,13 @@ public: // ILifecycle
 
        bool isRunning() const;
 
+private:
+       SmartPtrIConfigEnv createConfigEnv(
+               const SmartPtrIAppContext& appContext) const;
+
+       SmartPtrIPersistence createOptPersistence(
+               const SmartPtrIAppContext& appContext) const;
+
 private:
        bool _isInitialized;
        bool _isRunning;
index a49cf5649ad70665585a0d5579147ba57745bdbf..83bc7b905a7b3be3d5635911fa27a804ef1150b8 100644 (file)
@@ -22,17 +22,18 @@ CConfigEnvReadingMessageSource::~CConfigEnvReadingMessageSource() {
 }
 
 void CConfigEnvReadingMessageSource::initialize(
-               const SmartPtrIDocument& configSection) {
+               const SmartPtrIDocument& configSection,
+               const SmartPtrIConfigEnv& configEnv) {
        CAF_CM_FUNCNAME_VALIDATE("initialize");
        CAF_CM_PRECOND_ISNOTINITIALIZED(_isInitialized);
        CAF_CM_VALIDATE_INTERFACE(configSection);
+       CAF_CM_VALIDATE_INTERFACE(configEnv);
+       CAF_CM_VALIDATE_INTERFACE(configSection);
 
        _id = configSection->findRequiredAttribute("id");
-       const std::string implClass = configSection->findRequiredAttribute("impl-class");
        const SmartPtrIDocument pollerDoc = configSection->findOptionalChild("poller");
 
-       _configEnv.CreateInstance(implClass.c_str());
-       _configEnv->initialize();
+       _configEnv = configEnv;
 
        setPollerMetadata(pollerDoc);
        _refreshSec = 0;
index fd6b75781fc0bc848e1b58f3effcdca534af105b..ee2188b325a13de83dfa1f04d14d95a5c6f38b00 100644 (file)
@@ -23,7 +23,8 @@ public:
 
 public:
        void initialize(
-               const SmartPtrIDocument& configSection);
+               const SmartPtrIDocument& configSection,
+               const SmartPtrIConfigEnv& configEnv);
 
 protected: // CAbstractPollableChannel
        bool doSend(
index f106a9eabe5d676d2f24f5a689aba2814b19dd07..5bf5dfa4b92bf911286696fd7042c4f811d2df5d 100644 (file)
@@ -48,38 +48,41 @@ void CPersistenceInboundChannelAdapterInstance::wire(
        CAF_CM_VALIDATE_INTERFACE(appContext);
        CAF_CM_VALIDATE_INTERFACE(channelResolver);
 
-       const std::string outputChannelStr =
-               _configSection->findRequiredAttribute("channel");
-
-       SmartPtrCPersistenceReadingMessageSource persistenceReadingMessageSource;
-       persistenceReadingMessageSource.CreateInstance();
-       persistenceReadingMessageSource->initialize(_configSection);
-
-       const SmartPtrIMessageChannel outputMessageChannel =
-               channelResolver->resolveChannelName(outputChannelStr);
-       const SmartPtrIMessageChannel errorMessageChannel =
-               channelResolver->resolveChannelName("errorChannel");
-
-       SmartPtrCMessageHandler messageHandler;
-       messageHandler.CreateInstance();
-       messageHandler->initialize(
-               _id,
-               outputMessageChannel,
-               SmartPtrICafObject());
-
-       SmartPtrCErrorHandler errorHandler;
-       errorHandler.CreateInstance();
-       errorHandler->initialize(channelResolver, errorMessageChannel);
-
-       SmartPtrCSourcePollingChannelAdapter sourcePollingChannelAdapter;
-       sourcePollingChannelAdapter.CreateInstance();
-       sourcePollingChannelAdapter->initialize(
-               messageHandler, persistenceReadingMessageSource, errorHandler);
-
-       SmartPtrCSimpleAsyncTaskExecutor simpleAsyncTaskExecutor;
-       simpleAsyncTaskExecutor.CreateInstance();
-       simpleAsyncTaskExecutor->initialize(sourcePollingChannelAdapter, errorHandler);
-       _taskExecutor = simpleAsyncTaskExecutor;
+       const SmartPtrIPersistence persistence = createPersistence(appContext);
+       if (! persistence.IsNull()) {
+               const std::string outputChannelStr =
+                       _configSection->findRequiredAttribute("channel");
+
+               SmartPtrCPersistenceReadingMessageSource persistenceReadingMessageSource;
+               persistenceReadingMessageSource.CreateInstance();
+               persistenceReadingMessageSource->initialize(_configSection, persistence);
+
+               const SmartPtrIMessageChannel outputMessageChannel =
+                       channelResolver->resolveChannelName(outputChannelStr);
+               const SmartPtrIMessageChannel errorMessageChannel =
+                       channelResolver->resolveChannelName("errorChannel");
+
+               SmartPtrCMessageHandler messageHandler;
+               messageHandler.CreateInstance();
+               messageHandler->initialize(
+                       _id,
+                       outputMessageChannel,
+                       SmartPtrICafObject());
+
+               SmartPtrCErrorHandler errorHandler;
+               errorHandler.CreateInstance();
+               errorHandler->initialize(channelResolver, errorMessageChannel);
+
+               SmartPtrCSourcePollingChannelAdapter sourcePollingChannelAdapter;
+               sourcePollingChannelAdapter.CreateInstance();
+               sourcePollingChannelAdapter->initialize(
+                       messageHandler, persistenceReadingMessageSource, errorHandler);
+
+               SmartPtrCSimpleAsyncTaskExecutor simpleAsyncTaskExecutor;
+               simpleAsyncTaskExecutor.CreateInstance();
+               simpleAsyncTaskExecutor->initialize(sourcePollingChannelAdapter, errorHandler);
+               _taskExecutor = simpleAsyncTaskExecutor;
+       }
 }
 
 void CPersistenceInboundChannelAdapterInstance::start(
@@ -87,8 +90,10 @@ void CPersistenceInboundChannelAdapterInstance::start(
        CAF_CM_FUNCNAME_VALIDATE("start");
        CAF_CM_PRECOND_ISINITIALIZED(_isInitialized);
 
-       CAF_CM_LOG_DEBUG_VA0("Starting the executor");
-       _taskExecutor->execute(timeoutMs);
+       if (! _taskExecutor.IsNull()) {
+               CAF_CM_LOG_DEBUG_VA0("Starting the executor");
+               _taskExecutor->execute(timeoutMs);
+       }
 }
 
 void CPersistenceInboundChannelAdapterInstance::stop(
@@ -96,15 +101,18 @@ void CPersistenceInboundChannelAdapterInstance::stop(
        CAF_CM_FUNCNAME_VALIDATE("stop");
        CAF_CM_PRECOND_ISINITIALIZED(_isInitialized);
 
-       CAF_CM_LOG_DEBUG_VA0("Stopping the executor");
-       _taskExecutor->cancel(timeoutMs);
+       if (! _taskExecutor.IsNull()) {
+               CAF_CM_LOG_DEBUG_VA0("Stopping the executor");
+               _taskExecutor->cancel(timeoutMs);
+       }
 }
 
 bool CPersistenceInboundChannelAdapterInstance::isRunning() const {
        CAF_CM_FUNCNAME_VALIDATE("isRunning");
        CAF_CM_PRECOND_ISINITIALIZED(_isInitialized);
 
-       const bool rc = (_taskExecutor->getState() == ITaskExecutor::ETaskStateStarted);
+       const bool rc = ! _taskExecutor.IsNull()
+                       && (_taskExecutor->getState() == ITaskExecutor::ETaskStateStarted);
        return rc;
 }
 
@@ -114,3 +122,30 @@ bool CPersistenceInboundChannelAdapterInstance::isMessageProducer() const {
 
        return true;
 }
+
+SmartPtrIPersistence CPersistenceInboundChannelAdapterInstance::createPersistence(
+       const SmartPtrIAppContext& appContext) const {
+       CAF_CM_FUNCNAME("createPersistence");
+       CAF_CM_VALIDATE_INTERFACE(appContext);
+
+       SmartPtrIPersistence rc;
+       const std::string removeRefStr = _configSection->findRequiredAttribute("ref");
+       CAF_CM_LOG_DEBUG_VA1("Creating the persistence impl - %s", removeRefStr.c_str());
+       const SmartPtrIBean bean = appContext->getBean(removeRefStr);
+       rc.QueryInterface(bean, false);
+       CAF_CM_VALIDATE_INTERFACE(rc);
+
+       try {
+               rc->initialize();
+       }
+       CAF_CM_CATCH_CAF
+       CAF_CM_CATCH_DEFAULT
+       CAF_CM_LOG_WARN_CAFEXCEPTION;
+
+       if (CAF_CM_ISEXCEPTION) {
+               rc = SmartPtrIPersistence();
+               CAF_CM_CLEAREXCEPTION;
+       }
+
+       return rc;
+}
index 1b27c5f933b401c669b5d569a2477e77aa30fc15..0eac9968dd5a7a5d3288081be99b3875ed68e5fc 100644 (file)
@@ -49,6 +49,10 @@ public: // ILifecycle
 public: // IMessageProducer
        bool isMessageProducer() const;
 
+private:
+       SmartPtrIPersistence createPersistence(
+               const SmartPtrIAppContext& appContext) const;
+
 private:
        bool _isInitialized;
        std::string _id;
index 8eefe4d7b4bd6fe43a296cad4301bd111e9e2239..c868b9bf7e6615578af7abcd5e06af7c51f7a1d9 100644 (file)
@@ -13,7 +13,6 @@ using namespace Caf;
 
 CPersistenceMessageHandler::CPersistenceMessageHandler() :
                _isInitialized(false),
-               _deleteSourceEntries(false),
        CAF_CM_INIT_LOG("CPersistenceMessageHandler") {
 }
 
@@ -21,20 +20,15 @@ CPersistenceMessageHandler::~CPersistenceMessageHandler() {
 }
 
 void CPersistenceMessageHandler::initialize(
-               const SmartPtrIDocument& configSection) {
+               const SmartPtrIDocument& configSection,
+               const SmartPtrIPersistence& persistence) {
        CAF_CM_FUNCNAME_VALIDATE("initialize");
        CAF_CM_PRECOND_ISNOTINITIALIZED(_isInitialized);
        CAF_CM_VALIDATE_INTERFACE(configSection);
+       CAF_CM_VALIDATE_SMARTPTR(persistence);
 
        _id = configSection->findRequiredAttribute("id");
-
-       const std::string implClass = configSection->findRequiredAttribute("impl-class");
-       _persistence.CreateInstance(implClass.c_str());
-       _persistence->initialize();
-
-       const std::string deleteSourceEntriesStr = configSection->findOptionalAttribute(
-               "delete-source-entries");
-       _deleteSourceEntries = (deleteSourceEntriesStr.empty() || deleteSourceEntriesStr.compare("false") == 0) ? false : true;
+       _persistence = persistence;
 
        _isInitialized = true;
 }
@@ -47,14 +41,13 @@ void CPersistenceMessageHandler::handleMessage(
 
        _savedMessage = message;
 
+       SmartPtrCPersistenceDoc persistence;
        const std::string payloadStr = message->getPayloadStr();
-       const SmartPtrCPersistenceDoc persistence =
-                       XmlRoots::parsePersistenceFromString(payloadStr);
-       _persistence->update(persistence);
-
-       if (_deleteSourceEntries) {
-               ;//TODO: Delete entries like the localSecurity private key.
+       if (! payloadStr.empty()) {
+               persistence = XmlRoots::parsePersistenceFromString(payloadStr);
        }
+
+       _persistence->update(persistence);
 }
 
 SmartPtrIIntMessage CPersistenceMessageHandler::getSavedMessage() const {
index 9ab8712ace8ac504e06739ca7e88816d283682f5..5c7802adfe243561ed57be67d9270accf76ed3f8 100644 (file)
@@ -26,7 +26,8 @@ public:
 
 public:
        void initialize(
-               const SmartPtrIDocument& configSection);
+               const SmartPtrIDocument& configSection,
+               const SmartPtrIPersistence& persistence);
 
 public: // IMessageHandler
        void handleMessage(
@@ -43,7 +44,6 @@ public: // IErrorProcessor
 private:
        bool _isInitialized;
        std::string _id;
-       bool _deleteSourceEntries;
        SmartPtrIPersistence _persistence;
        SmartPtrIIntMessage _savedMessage;
 
index b63cf14b1ebf471ae3c38a60243ac35de5255661..c1f9c62f90420a4de81e0c2a43d38c75dc727b84 100644 (file)
@@ -24,58 +24,73 @@ const string CPersistenceNamespaceDb::_NAMESPACE = "com.vmware.caf.guest.rw";
 CPersistenceNamespaceDb::CPersistenceNamespaceDb() :
        _isInitialized(false),
        CAF_CM_INIT_LOG("CPersistenceNamespaceDb") {
+       CAF_CM_INIT_THREADSAFE;
 }
 
 CPersistenceNamespaceDb::~CPersistenceNamespaceDb() {
 }
 
+void CPersistenceNamespaceDb::initializeBean(
+       const IBean::Cargs& ctorArgs,
+       const IBean::Cprops& properties) {
+}
+
+void CPersistenceNamespaceDb::terminateBean() {
+}
+
 void CPersistenceNamespaceDb::initialize() {
-       CAF_CM_FUNCNAME_VALIDATE("initialize");
-       CAF_CM_PRECOND_ISNOTINITIALIZED(_isInitialized);
+       CAF_CM_LOCK_UNLOCK;
 
-       setCmd();
-       _isInitialized = true;
+       if (! _isInitialized) {
+               setCmd();
+               _isInitialized = true;
+       }
 }
 
 SmartPtrCPersistenceDoc CPersistenceNamespaceDb::getUpdated(
                const int32 timeout) {
        CAF_CM_FUNCNAME_VALIDATE("getUpdated");
+       CAF_CM_LOCK_UNLOCK;
        CAF_CM_PRECOND_ISINITIALIZED(_isInitialized);
 
        //If nothing has been updated, skip all of the unneeded work
        string updates = getValue("updates");
        if (!updates.empty()) {
+               string version = getValue("version");
+
                //EP Doc
-               string epPrivateKey = getValue("ep.private.key");
+               string epLocalId = getValue("ep.local_id");
+               string epPrivateKey = getValue("ep.private_key");
                string epCert = getValue("ep.cert");
                SmartPtrCLocalSecurityDoc endpoint;
                endpoint.CreateInstance();
-               endpoint->initialize(std::string(), epPrivateKey, epCert);
+               endpoint->initialize(epLocalId, epPrivateKey, epCert);
 
                //App collection
                std::deque<SmartPtrCRemoteSecurityDoc> applicationCollectionInner;
                string applications = getValue("applications");
                Cdeqstr appList = CStringUtils::split(applications, ',');
-               for (Cdeqstr::iterator it = appList.begin(); it != appList.end(); it++) {
-                       string appKey = *it;
+               for (Cdeqstr::iterator appIt = appList.begin(); appIt != appList.end(); appIt++) {
+                       string appKey = "app." + *appIt;
+                       string appId = getValue(appKey + ".remote_id");
+                       string appProtocolName = getValue(appKey + ".protocol_name");
                        string appCmsCipher = getValue(appKey + ".cms.cipher");
 
                        std::deque<std::string> cmsCertCollectionInner;
                        string appCmsCertChain = getValue(appKey + ".cms.cert_chain");
                        Cdeqstr appCertList = CStringUtils::split(appCmsCertChain, ',');
-                       for (Cdeqstr::iterator it = appCertList.begin(); it != appCertList.end(); it++) {
-                               cmsCertCollectionInner.push_back(*it);
+                       for (Cdeqstr::iterator appCertIt = appCertList.begin(); appCertIt != appCertList.end(); appCertIt++) {
+                               cmsCertCollectionInner.push_back(*appCertIt);
                        }
 
                        SmartPtrCCertCollectionDoc cmsCertCollection;
                        cmsCertCollection.CreateInstance();
                        cmsCertCollection->initialize(cmsCertCollectionInner);
 
-                       string appId = appKey;
                        string cmsCert = getValue(appKey + ".cms.cert");
                        SmartPtrCRemoteSecurityDoc application;
                        application.CreateInstance();
-                       application->initialize(appId, "amqpBroker_default", cmsCert, appCmsCipher, cmsCertCollection);
+                       application->initialize(appId, appProtocolName, cmsCert, appCmsCipher, cmsCertCollection);
 
                        applicationCollectionInner.push_back(application);
                }
@@ -86,22 +101,22 @@ SmartPtrCPersistenceDoc CPersistenceNamespaceDb::getUpdated(
 
                string protocols = getValue("protocols");
                Cdeqstr protocolList = CStringUtils::split(protocols, ',');
-               std::deque<SmartPtrCAmqpBrokerDoc> amqpBrokerCollectionInner;
-               for (Cdeqstr::iterator it = protocolList.begin(); it != protocolList.end(); it++) {
-                       string protocolKey = *it;
+               std::deque<SmartPtrCPersistenceProtocolDoc> persistenceProtocolCollectionInner;
+               for (Cdeqstr::iterator protocolIt = protocolList.begin(); protocolIt != protocolList.end(); protocolIt++) {
+                       string protocolKey = "protocol." + *protocolIt;
                        //Protoccol Doc
                        std::deque<std::string> tlsCertCollectionInner;
                        string tlsCertChain = getValue(protocolKey + ".tls.cert.chain");
                        Cdeqstr tlsCertList = CStringUtils::split(tlsCertChain, ',');
-                       for (Cdeqstr::iterator it = tlsCertList.begin(); it != tlsCertList.end(); it++) {
-                               tlsCertCollectionInner.push_back(*it);
+                       for (Cdeqstr::iterator tlsCertIt = tlsCertList.begin(); tlsCertIt != tlsCertList.end(); tlsCertIt++) {
+                               tlsCertCollectionInner.push_back(*tlsCertIt);
                        }
 
                        Cdeqstr tlsCipherCollection;
                        string tlsCiphers = getValue(protocolKey + ".tls.ciphers");
                        Cdeqstr tlsCipherList = CStringUtils::split(tlsCiphers, ',');
-                       for (Cdeqstr::iterator it = tlsCipherList.begin(); it != tlsCipherList.end(); it++) {
-                               tlsCipherCollection.push_back(*it);
+                       for (Cdeqstr::iterator tlsCipherIt = tlsCipherList.begin(); tlsCipherIt != tlsCipherList.end(); tlsCipherIt++) {
+                               tlsCipherCollection.push_back(*tlsCipherIt);
                        }
 
                        SmartPtrCCertCollectionDoc tlsCertCollection;
@@ -109,29 +124,25 @@ SmartPtrCPersistenceDoc CPersistenceNamespaceDb::getUpdated(
                        tlsCertCollection->initialize(tlsCertCollectionInner);
 
                        //For now, we only support one broker.
-                       string amqpBrokerId = getValue(protocolKey + ".amqpBrokerId");
+                       string protocolName = getValue(protocolKey + ".protocol_name");
                        string uri = getValue(protocolKey + ".uri");
                        string tlsCert = getValue(protocolKey + ".tls.cert");
                        string tlsProtocol = getValue(protocolKey + ".tls.protocol");
-                       SmartPtrCAmqpBrokerDoc amqpBroker;
-                       amqpBroker.CreateInstance();
-                       amqpBroker->initialize(amqpBrokerId, uri, tlsCert, tlsProtocol, tlsCipherCollection, tlsCertCollection);
+                       SmartPtrCPersistenceProtocolDoc persistenceProtocol;
+                       persistenceProtocol.CreateInstance();
+                       persistenceProtocol->initialize(protocolName, uri, tlsCert, tlsProtocol, tlsCipherCollection, tlsCertCollection);
 
-                       amqpBrokerCollectionInner.push_back(amqpBroker);
+                       persistenceProtocolCollectionInner.push_back(persistenceProtocol);
                }
 
-               SmartPtrCAmqpBrokerCollectionDoc amqpBrokerCollection;
-               amqpBrokerCollection.CreateInstance();
-               amqpBrokerCollection->initialize(amqpBrokerCollectionInner);
-
-               SmartPtrCPersistenceProtocolDoc persistenceProtocol;
-               persistenceProtocol.CreateInstance();
-               persistenceProtocol->initialize(amqpBrokerCollection);
+               SmartPtrCPersistenceProtocolCollectionDoc persistenceProtocolCollection;
+               persistenceProtocolCollection.CreateInstance();
+               persistenceProtocolCollection->initialize(persistenceProtocolCollectionInner);
 
                // Persist doc
                SmartPtrCPersistenceDoc persistence;
                persistence.CreateInstance();
-               persistence->initialize(endpoint, applicationCollection, persistenceProtocol, "1.0");
+               persistence->initialize(endpoint, applicationCollection, persistenceProtocolCollection, version);
 
                return persistence;
        }
@@ -143,54 +154,77 @@ SmartPtrCPersistenceDoc CPersistenceNamespaceDb::getUpdated(
 void CPersistenceNamespaceDb::update(
                const SmartPtrCPersistenceDoc& persistenceDoc) {
        CAF_CM_FUNCNAME("update");
+       CAF_CM_LOCK_UNLOCK;
        CAF_CM_PRECOND_ISINITIALIZED(_isInitialized);
-       CAF_CM_VALIDATE_SMARTPTR(persistenceDoc);
 
-       //Update LocalSecurity info
-       if (!persistenceDoc->getLocalSecurity().IsNull()){
-               setValue("ep.private.key", persistenceDoc->getLocalSecurity()->getPrivateKey());
-               setValue("ep.cert", persistenceDoc->getLocalSecurity()->getCert());
-       }
+       if (! persistenceDoc.IsNull()) {
+               setValue("version", persistenceDoc->getVersion());
 
-       //Update RemoteSecurity info
-       if (!persistenceDoc->getRemoteSecurityCollection().IsNull()){
-               deque<SmartPtrCRemoteSecurityDoc> applications = persistenceDoc->getRemoteSecurityCollection()->getRemoteSecurity();
-               for (deque<SmartPtrCRemoteSecurityDoc>::iterator it=applications.begin(); it != applications.end(); it++) {
-                       string appKey = (*it)->getRemoteId();
-                       setValue(appKey + ".cms.cert", (*it)->getCmsCert());
-                       //setValue(appKey + ".cms.cipher", (*it)->getCmsCipher());
-                       string cmsCertChain;
-                       Cdeqstr cmsCertList = (*it)->getCmsCertCollection()->getCert();
-                       for (Cdeqstr::iterator it=cmsCertList.begin(); it != cmsCertList.end(); it++) {
-                               if (!cmsCertChain.empty()) {
-                                       cmsCertChain += ",";
+               //Update LocalSecurity info
+               if (!persistenceDoc->getLocalSecurity().IsNull()){
+                       setValue("ep.local_id", persistenceDoc->getLocalSecurity()->getLocalId());
+                       setValue("ep.private_key", persistenceDoc->getLocalSecurity()->getPrivateKey());
+                       setValue("ep.cert", persistenceDoc->getLocalSecurity()->getCert());
+               }
+
+               //Update RemoteSecurity info
+               if (!persistenceDoc->getRemoteSecurityCollection().IsNull()){
+                       deque<SmartPtrCRemoteSecurityDoc> applications = persistenceDoc->getRemoteSecurityCollection()->getRemoteSecurity();
+                       for (deque<SmartPtrCRemoteSecurityDoc>::iterator appIt=applications.begin(); appIt != applications.end(); appIt++) {
+                               string appKey = "app." + (*appIt)->getRemoteId();
+                               setValue(appKey + ".remote_id", (*appIt)->getRemoteId());
+                               setValue(appKey + ".cms.cert", (*appIt)->getCmsCert());
+                               setValue(appKey + ".cms.cipher", (*appIt)->getCmsCipherName());
+                               setValue(appKey + ".protocol_name", (*appIt)->getProtocolName());
+                               string cmsCertChain;
+                               if (! (*appIt)->getCmsCertCollection().IsNull()) {
+                                       Cdeqstr cmsCertList = (*appIt)->getCmsCertCollection()->getCert();
+                                       for (Cdeqstr::iterator cmsCertIt=cmsCertList.begin(); cmsCertIt != cmsCertList.end(); cmsCertIt++) {
+                                               if (!cmsCertChain.empty()) {
+                                                       cmsCertChain += ",";
+                                               }
+                                               cmsCertChain += *cmsCertIt;
+                                       }
+                                       setValue(appKey + ".cms.cert_chain", cmsCertChain);
                                }
-                               cmsCertChain += *it;
                        }
-                       setValue(appKey + ".cms.cert_chain", cmsCertChain);
                }
-       }
 
-       //Update PersistenceProtocol info
-       if (!persistenceDoc->getPersistenceProtocol().IsNull()) {
-               //For now, we only support one broker. 
-               CAF_CM_ASSERT(persistenceDoc->getPersistenceProtocol()->getAmqpBrokerCollection()->getAmqpBroker().size() <= 1);
-
-               deque<SmartPtrCAmqpBrokerDoc> brokerList = persistenceDoc->getPersistenceProtocol()->getAmqpBrokerCollection()->getAmqpBroker();
-               for (deque<SmartPtrCAmqpBrokerDoc>::iterator it=brokerList.begin(); it != brokerList.end(); it++) {
-                       setValue("name", (*it)->getAmqpBrokerId());
-                       setValue("uri", (*it)->getUri());
-                       setValue("tls.cert", (*it)->getTlsCert());
-                       setValue("tls.protocol", (*it)->getTlsProtocol());
-                       Cdeqstr tlsCipherList = (*it)->getTlsCipherCollection();
-                       string tlsCiphers;
-                       for (Cdeqstr::iterator it=tlsCipherList.begin(); it != tlsCipherList.end(); it++) {
-                               if (!tlsCiphers.empty()) {
-                                       tlsCiphers += ",";
+               //Update PersistenceProtocol info
+               if (!persistenceDoc->getPersistenceProtocolCollection().IsNull()) {
+                       //For now, we only support one broker.
+                       CAF_CM_ASSERT(persistenceDoc->getPersistenceProtocolCollection()->getPersistenceProtocol().size() <= 1);
+
+                       deque<SmartPtrCPersistenceProtocolDoc> brokerList = persistenceDoc->getPersistenceProtocolCollection()->getPersistenceProtocol();
+                       for (deque<SmartPtrCPersistenceProtocolDoc>::iterator protIt=brokerList.begin(); protIt != brokerList.end(); protIt++) {
+                               string protocolKey = "protocol." + (*protIt)->getProtocolName();
+                               setValue(protocolKey + ".protocol_name", (*protIt)->getProtocolName());
+                               setValue(protocolKey + ".uri", (*protIt)->getUri());
+                               setValue(protocolKey + ".tls.cert", (*protIt)->getTlsCert());
+                               setValue(protocolKey + ".tls.protocol", (*protIt)->getTlsProtocol());
+
+                               Cdeqstr tlsCipherList = (*protIt)->getTlsCipherCollection();
+                               string tlsCiphers;
+                               for (Cdeqstr::iterator tlsCipherIt=tlsCipherList.begin(); tlsCipherIt != tlsCipherList.end(); tlsCipherIt++) {
+                                       if (!tlsCiphers.empty()) {
+                                               tlsCiphers += ",";
+                                       }
+                                       tlsCiphers += *tlsCipherIt;
+                               }
+                               setValue(protocolKey + ".tls.ciphers", tlsCiphers);
+
+                               if (! (*protIt)->getTlsCertCollection().IsNull()) {
+                                       Cdeqstr tlsCertList = (*protIt)->getTlsCertCollection()->getCert();
+                                       string tlsCerts;
+                                       for (Cdeqstr::iterator tlsCertIt=tlsCertList.begin(); tlsCertIt != tlsCertList.end(); tlsCertIt++) {
+                                               if (!tlsCerts.empty()) {
+                                                       tlsCerts += ",";
+                                               }
+                                               tlsCerts += *tlsCertIt;
+                                       }
+                                       setValue(protocolKey + ".tls.cert_chain", tlsCerts);
                                }
-                               tlsCiphers += *it;
                        }
-                       setValue("tls.ciphers", tlsCiphers);
                }
        }
 }
@@ -198,12 +232,16 @@ void CPersistenceNamespaceDb::update(
 void CPersistenceNamespaceDb::remove(
                const SmartPtrCPersistenceDoc& persistenceDoc) {
        CAF_CM_FUNCNAME("remove");
+       CAF_CM_LOCK_UNLOCK;
        CAF_CM_PRECOND_ISINITIALIZED(_isInitialized);
 
        //Remove LocalSecurity info
        if (!persistenceDoc->getLocalSecurity().IsNull()){
+               if (!persistenceDoc->getLocalSecurity()->getLocalId().empty()) {
+                       removeKey("ep.local_id");
+               }
                if (!persistenceDoc->getLocalSecurity()->getPrivateKey().empty()) {
-                       removeKey("ep.private.key");
+                       removeKey("ep.private_key");
                }
                if (!persistenceDoc->getLocalSecurity()->getCert().empty()) {
                        removeKey("ep.cert");
@@ -214,32 +252,45 @@ void CPersistenceNamespaceDb::remove(
        if (!persistenceDoc->getRemoteSecurityCollection().IsNull()){
                deque<SmartPtrCRemoteSecurityDoc> applications = persistenceDoc->getRemoteSecurityCollection()->getRemoteSecurity();
                for (deque<SmartPtrCRemoteSecurityDoc>::iterator it=applications.begin(); it != applications.end(); it++) {
-                       string appKey = (*it)->getRemoteId();
-                       removeKey(appKey + ".cms.cert");
-                       removeKey(appKey + ".cms.cert_chain");
+                       string appKey = "app." + (*it)->getRemoteId();
+                       if (!(*it)->getProtocolName().empty()) {
+                               removeKey(appKey + ".protocol_name");
+                       }
+                       if (!(*it)->getCmsCert().empty()) {
+                               removeKey(appKey + ".cms.cert");
+                       }
+                       if (!(*it)->getCmsCertCollection().IsNull() && !(*it)->getCmsCertCollection()->getCert().empty()) {
+                               removeKey(appKey + ".cms.cert_chain");
+                       }
+                       if (!(*it)->getCmsCipherName().empty()) {
+                               removeKey(appKey + ".cms.cipher");
+                       }
                }
        }
 
        //Remove PersistenceProtocol info
-       if (!persistenceDoc->getPersistenceProtocol().IsNull()) {
-               //For now, we only support one broker. 
-               CAF_CM_ASSERT(persistenceDoc->getPersistenceProtocol()->getAmqpBrokerCollection()->getAmqpBroker().size() <= 1);
-                       
-               deque<SmartPtrCAmqpBrokerDoc> brokerList = persistenceDoc->getPersistenceProtocol()->getAmqpBrokerCollection()->getAmqpBroker();
-               for (deque<SmartPtrCAmqpBrokerDoc>::iterator it=brokerList.begin(); it != brokerList.end(); it++) {
-                       if (!(*it)->getAmqpBrokerId().empty()) {
-                               removeKey("name");
-                       }
+       if (!persistenceDoc->getPersistenceProtocolCollection().IsNull()) {
+               //For now, we only support one broker.
+               CAF_CM_ASSERT(persistenceDoc->getPersistenceProtocolCollection()->getPersistenceProtocol().size() <= 1);
+
+               deque<SmartPtrCPersistenceProtocolDoc> brokerList = persistenceDoc->getPersistenceProtocolCollection()->getPersistenceProtocol();
+               for (deque<SmartPtrCPersistenceProtocolDoc>::iterator it=brokerList.begin(); it != brokerList.end(); it++) {
+                       string protocolKey = "protocol." + (*it)->getProtocolName();
                        if (!(*it)->getUri().empty()) {
-                               removeKey("uri");
+                               removeKey(protocolKey + "uri");
                        }
                        if (!(*it)->getTlsCert().empty()) {
-                               removeKey("tls.cert");
+                               removeKey(protocolKey + "tls.cert");
                        }
                        if (!(*it)->getTlsProtocol().empty()) {
-                               removeKey("tls.protocol");
+                               removeKey(protocolKey + "tls.protocol");
+                       }
+                       if (!(*it)->getTlsCipherCollection().empty()) {
+                               removeKey(protocolKey + "tls.ciphers");
+                       }
+                       if (!(*it)->getTlsCertCollection().IsNull() && !(*it)->getTlsCertCollection()->getCert().empty()) {
+                               removeKey(protocolKey + "tls.cert_chain");
                        }
-                       removeKey("tls.ciphers");
                }
        }       
 }
@@ -312,12 +363,16 @@ string CPersistenceNamespaceDb::getValue(const std::string& key) {
                }
        }
        catch(ProcessFailedException* ex){
-               CAF_CM_LOG_DEBUG_VA1("exception: %s", ex->getMsg().c_str());            
-               CAF_CM_EXCEPTION_VA3(E_UNEXPECTED,
-                               "NamespaceDB command failed - %s: %s: %s",
-                               ex->getMsg().c_str(),
-                               stdoutContent.c_str(),
-                               stderrContent.c_str());
+               if (ex->getMsg().compare("There is no namespace database associated with this virtual machine") == 0) {
+                       CAF_CM_LOG_INFO_VA1("Acceptable exception... continuing - %s", ex->getMsg().c_str());
+               } else {
+                       CAF_CM_LOG_DEBUG_VA1("ProcessFailedException - %s", ex->getMsg().c_str());
+                       CAF_CM_EXCEPTION_VA3(E_UNEXPECTED,
+                                       "NamespaceDB command failed - %s: %s: %s",
+                                       ex->getMsg().c_str(),
+                                       stdoutContent.c_str(),
+                                       stderrContent.c_str());
+               }
        }
        return value;
 }
@@ -347,7 +402,7 @@ void CPersistenceNamespaceDb::setValue(const std::string& key, const std::string
                argv.push_back("-k");
                argv.push_back(key);
                argv.push_back("-f");
-               argv.push_back(value);
+               argv.push_back(tmpFile);
                                
                ProcessUtils::runSync(argv, stdoutContent, stderrContent);
                //Add to key+hash cache
index 7a46fe6cd1b6bf0489af53d49b714727e4dbf8b1..36d25c859e91913861540e5039dda329035e3370 100644 (file)
@@ -14,6 +14,7 @@ using namespace Caf;
 /// TODO - describe class
 class CPersistenceNamespaceDb :
        public TCafSubSystemObjectRoot<CPersistenceNamespaceDb>,
+       public IBean,
        public IPersistence {
 public:
        CPersistenceNamespaceDb();
@@ -22,9 +23,17 @@ public:
        CAF_DECLARE_OBJECT_IDENTIFIER(_sObjIdPersistenceNamespaceDb)
 
        CAF_BEGIN_INTERFACE_MAP(CPersistenceNamespaceDb)
+               CAF_INTERFACE_ENTRY(IBean)
                CAF_INTERFACE_ENTRY(IPersistence)
        CAF_END_INTERFACE_MAP()
 
+public: // IBean
+       virtual void initializeBean(
+                       const IBean::Cargs& ctorArgs,
+                       const IBean::Cprops& properties);
+
+       virtual void terminateBean();
+
 public: // IPersistence
        void initialize();
 
@@ -54,6 +63,7 @@ private:
 private:
        CAF_CM_CREATE;
        CAF_CM_CREATE_LOG;
+       CAF_CM_CREATE_THREADSAFE;
        CAF_CM_DECLARE_NOCOPY(CPersistenceNamespaceDb);
 };
 
index ad4335d7f8cf2ff10f7b77ae3d96b8a08d6dff0f..e74540726044360b8672d39cbca0c647b96c4e6a 100644 (file)
@@ -49,27 +49,30 @@ void CPersistenceOutboundChannelAdapterInstance::wire(
        CAF_CM_VALIDATE_INTERFACE(appContext);
        CAF_CM_VALIDATE_INTERFACE(channelResolver);
 
-       const SmartPtrIMessageChannel errorMessageChannel =
-               channelResolver->resolveChannelName("errorChannel");
-
-       const std::string inputChannelStr = _configSection->findRequiredAttribute("channel");
-       SmartPtrIMessageChannel inputChannel = channelResolver->resolveChannelName(inputChannelStr);
-       SmartPtrIIntegrationObject inputChannelObj;
-       inputChannelObj.QueryInterface(inputChannel);
-
-       SmartPtrCPersistenceMessageHandler persistenceMessageHandler;
-       persistenceMessageHandler.CreateInstance();
-       persistenceMessageHandler->initialize(_configSection);
-       SmartPtrIMessageHandler messageHandler;
-       messageHandler.QueryInterface(persistenceMessageHandler);
-
-       _messagingTemplate.CreateInstance();
-       _messagingTemplate->initialize(
-                       channelResolver,
-                       inputChannelObj,
-                       errorMessageChannel,
-                       SmartPtrIMessageChannel(),
-                       messageHandler);
+       const SmartPtrIPersistence persistence = createPersistence(appContext);
+       if (! persistence.IsNull()) {
+               const SmartPtrIMessageChannel errorMessageChannel =
+                       channelResolver->resolveChannelName("errorChannel");
+
+               const std::string inputChannelStr = _configSection->findRequiredAttribute("channel");
+               SmartPtrIMessageChannel inputChannel = channelResolver->resolveChannelName(inputChannelStr);
+               SmartPtrIIntegrationObject inputChannelObj;
+               inputChannelObj.QueryInterface(inputChannel);
+
+               SmartPtrCPersistenceMessageHandler persistenceMessageHandler;
+               persistenceMessageHandler.CreateInstance();
+               persistenceMessageHandler->initialize(_configSection, persistence);
+               SmartPtrIMessageHandler messageHandler;
+               messageHandler.QueryInterface(persistenceMessageHandler);
+
+               _messagingTemplate.CreateInstance();
+               _messagingTemplate->initialize(
+                               channelResolver,
+                               inputChannelObj,
+                               errorMessageChannel,
+                               SmartPtrIMessageChannel(),
+                               messageHandler);
+       }
 }
 
 void CPersistenceOutboundChannelAdapterInstance::start(
@@ -78,8 +81,10 @@ void CPersistenceOutboundChannelAdapterInstance::start(
        CAF_CM_PRECOND_ISINITIALIZED(_isInitialized);
        CAF_CM_VALIDATE_BOOL(!_isRunning);
 
-       _isRunning = true;
-       _messagingTemplate->start(0);
+       if (! _messagingTemplate.IsNull()) {
+               _isRunning = true;
+               _messagingTemplate->start(0);
+       }
 }
 
 void CPersistenceOutboundChannelAdapterInstance::stop(
@@ -88,8 +93,10 @@ void CPersistenceOutboundChannelAdapterInstance::stop(
        CAF_CM_PRECOND_ISINITIALIZED(_isInitialized);
        CAF_CM_VALIDATE_BOOL(_isRunning);
 
-       _isRunning = false;
-       _messagingTemplate->stop(0);
+       if (! _messagingTemplate.IsNull()) {
+               _isRunning = false;
+               _messagingTemplate->stop(0);
+       }
 }
 
 bool CPersistenceOutboundChannelAdapterInstance::isRunning() const {
@@ -98,3 +105,30 @@ bool CPersistenceOutboundChannelAdapterInstance::isRunning() const {
 
        return _isRunning;
 }
+
+SmartPtrIPersistence CPersistenceOutboundChannelAdapterInstance::createPersistence(
+       const SmartPtrIAppContext& appContext) const {
+       CAF_CM_FUNCNAME("createPersistence");
+       CAF_CM_VALIDATE_INTERFACE(appContext);
+
+       SmartPtrIPersistence rc;
+       const std::string removeRefStr = _configSection->findRequiredAttribute("ref");
+       CAF_CM_LOG_DEBUG_VA1("Creating the persistence impl - %s", removeRefStr.c_str());
+       const SmartPtrIBean bean = appContext->getBean(removeRefStr);
+       rc.QueryInterface(bean, false);
+       CAF_CM_VALIDATE_INTERFACE(rc);
+
+       try {
+               rc->initialize();
+       }
+       CAF_CM_CATCH_CAF
+       CAF_CM_CATCH_DEFAULT
+       CAF_CM_LOG_WARN_CAFEXCEPTION;
+
+       if (CAF_CM_ISEXCEPTION) {
+               rc = SmartPtrIPersistence();
+               CAF_CM_CLEAREXCEPTION;
+       }
+
+       return rc;
+}
index d9be026b8be6bf42655b5778c273b2e457aadf83..f3e2629a4437818be1198f4dcc9c5db1ab24327b 100644 (file)
@@ -45,6 +45,10 @@ public: // ILifecycle
 
        bool isRunning() const;
 
+private:
+       SmartPtrIPersistence createPersistence(
+               const SmartPtrIAppContext& appContext) const;
+
 private:
        bool _isInitialized;
        bool _isRunning;
index 383a652d80a002dd719733aecf943f84dce65528..584f8bf8a1ca7aadfa36a4cb8d8db645e8b4dd3d 100644 (file)
@@ -22,24 +22,17 @@ CPersistenceReadingMessageSource::~CPersistenceReadingMessageSource() {
 }
 
 void CPersistenceReadingMessageSource::initialize(
-               const SmartPtrIDocument& configSection) {
-       CAF_CM_FUNCNAME("initialize");
+               const SmartPtrIDocument& configSection,
+               const SmartPtrIPersistence& persistence) {
+       CAF_CM_FUNCNAME_VALIDATE("initialize");
        CAF_CM_PRECOND_ISNOTINITIALIZED(_isInitialized);
        CAF_CM_VALIDATE_INTERFACE(configSection);
+       CAF_CM_VALIDATE_SMARTPTR(persistence);
 
        _id = configSection->findRequiredAttribute("id");
-       const std::string implClass = configSection->findRequiredAttribute("impl-class");
        const SmartPtrIDocument pollerDoc = configSection->findOptionalChild("poller");
 
-       SmartPtrIPersistence persistence;
-       persistence.CreateInstance(implClass.c_str());
-       try {
-               persistence->initialize();
-               _persistence = persistence;
-       }
-       CAF_CM_CATCH_CAF
-       CAF_CM_CATCH_DEFAULT
-       CAF_CM_LOG_CRIT_CAFEXCEPTION;
+       _persistence = persistence;
 
        setPollerMetadata(pollerDoc);
        _refreshSec = 0;
@@ -70,15 +63,13 @@ SmartPtrIIntMessage CPersistenceReadingMessageSource::doReceive(
        }
 
        SmartPtrIIntMessage message;
-       if (! _persistence.IsNull()) {
-               const SmartPtrCPersistenceDoc persistence = _persistence->getUpdated(0);
-               if (! persistence.IsNull()) {
-                       SmartPtrCIntMessage messageImpl;
-                       messageImpl.CreateInstance();
-                       messageImpl->initializeStr(XmlRoots::savePersistenceToString(persistence),
-                                       IIntMessage::SmartPtrCHeaders(), IIntMessage::SmartPtrCHeaders());
-                       message = messageImpl;
-               }
+       const SmartPtrCPersistenceDoc persistence = _persistence->getUpdated(0);
+       if (! persistence.IsNull()) {
+               SmartPtrCIntMessage messageImpl;
+               messageImpl.CreateInstance();
+               messageImpl->initializeStr(XmlRoots::savePersistenceToString(persistence),
+                               IIntMessage::SmartPtrCHeaders(), IIntMessage::SmartPtrCHeaders());
+               message = messageImpl;
        }
 
        return message;
index e79acf9bdaa0ca46fbd0bc338344cf93157d5283..ddbfd67024f00ecc9897c618dbcdab5fc2bfcc4e 100644 (file)
@@ -23,7 +23,8 @@ public:
 
 public:
        void initialize(
-               const SmartPtrIDocument& configSection);
+               const SmartPtrIDocument& configSection,
+               const SmartPtrIPersistence& persistence);
 
 protected: // CAbstractPollableChannel
        bool doSend(
index 8866b9aacac8bd003bd35cab94fc364a7f6dab6c..c6054d1b13649b95025fdb3b95b69214296c1973 100644 (file)
@@ -15,6 +15,25 @@ namespace MaIntegration {
        const char* _sObjIdIntegrationObjects = "com.vmware.commonagent.maintegration.integrationobjects";
 }}
 
+namespace Caf {
+       const char* _sObjIdCollectSchemaExecutor = "com.vmware.commonagent.maintegration.collectschemaexecutor";
+       const char* _sObjIdProviderCollectSchemaExecutor = "com.vmware.commonagent.maintegration.providercollectschemaexecutor";
+       const char* _sObjIdProviderExecutor = "com.vmware.commonagent.maintegration.providerexecutor";
+       const char* _sObjIdSinglePmeRequestSplitterInstance = "com.vmware.commonagent.maintegration.singlepmerequestsplitterinstance";
+       const char* _sObjIdSinglePmeRequestSplitter = "com.vmware.commonagent.maintegration.singlepmerequestsplitter";
+       const char* _sObjIdDiagToMgmtRequestTransformerInstance = "com.vmware.commonagent.maintegration.diagtomgmtrequesttransformerinstance";
+       const char* _sObjIdDiagToMgmtRequestTransformer = "com.vmware.commonagent.maintegration.diagtomgmtrequesttransformer";
+       const char* _sObjIdInstallToMgmtRequestTransformerInstance = "com.vmware.commonagent.maintegration.installtomgmtrequesttransformerinstance";
+       const char* _sObjIdInstallToMgmtRequestTransformer = "com.vmware.commonagent.maintegration.installtomgmtrequesttransformer";
+       const char* _sObjIdPersistenceNamespaceDb = "com.vmware.commonagent.maintegration.persistencenamespacedb";
+       const char* _sObjIdConfigEnv = "com.vmware.commonagent.maintegration.configenv";
+
+       const char* _sObjIdAttachmentRequestTransformerInstance = "com.vmware.commonagent.maintegration.attachmentrequesttransformerinstance";
+       const char* _sObjIdAttachmentRequestTransformer = "com.vmware.commonagent.maintegration.attachmentrequesttransformer";
+       const char* _sObjIdVersionTransformerInstance = "com.vmware.commonagent.maintegration.versiontransformerinstance";
+       const char* _sObjIdVersionTransformer = "com.vmware.commonagent.maintegration.versiontransformer";
+}
+
 CEcmSubSystemModule _Module;
 
 using namespace Caf::MaIntegration;
index bc8ce3806054d84c2e9d36646c414df52edeb6bf..8eb6f1fa14f223a85835b446eb8bba7f83c426a2 100644 (file)
@@ -16,4 +16,24 @@ namespace MaIntegration {
        extern const char* _sObjIdIntegrationObjects;
 }}
 
+namespace Caf {
+       extern const char* _sObjIdCollectSchemaExecutor;
+       extern const char* _sObjIdProviderCollectSchemaExecutor;
+       extern const char* _sObjIdProviderExecutor;
+       extern const char* _sObjIdSinglePmeRequestSplitterInstance;
+       extern const char* _sObjIdSinglePmeRequestSplitter;
+       extern const char* _sObjIdDiagToMgmtRequestTransformerInstance;
+       extern const char* _sObjIdDiagToMgmtRequestTransformer;
+       extern const char* _sObjIdInstallToMgmtRequestTransformerInstance;
+       extern const char* _sObjIdInstallToMgmtRequestTransformer;
+
+       extern const char* _sObjIdAttachmentRequestTransformerInstance;
+       extern const char* _sObjIdAttachmentRequestTransformer;
+       extern const char* _sObjIdVersionTransformerInstance;
+       extern const char* _sObjIdVersionTransformer;
+
+       extern const char* _sObjIdPersistenceNamespaceDb;
+       extern const char* _sObjIdConfigEnv;
+}
+
 #endif /* _MaIntegration_h_ */
index e45ab2938346b5290ad9505aa698cdc20958d13c..36cfe8832daac4b2aa90b11baefd346d9a4e4881 100644 (file)
 //{{CAF_SUBSYSTEM}}
 
 #include <CommonDefines.h>
-#include <IntegrationContracts.h>
-#include <CafContracts.h>
 #include <Integration.h>
 #include <DocXml.h>
 #include <DocUtils.h>
 
-#include <MaContracts.h>
+#include "MaContracts.h"
 #include "MaIntegration.h"
 #include "IntegrationObjects.h"
 
@@ -37,6 +35,8 @@
 #include "CPersistenceInboundChannelAdapterInstance.h"
 #include "CPersistenceOutboundChannelAdapterInstance.h"
 
+#include "CPersistenceMerge.h"
+#include "CConfigEnvMerge.h"
 #include "CConfigEnv.h"
 #include "CConfigEnvReadingMessageSource.h"
 #include "CConfigEnvMessageHandler.h"
index 7083b7433bb2712e21c8db17d5c7e150355888f1..583b077b16803a10ff0837c5b2213b8ce6a6ca5e 100644 (file)
@@ -15,8 +15,6 @@ namespace Caf {
 }
 
 #include <CommonDefines.h>
-#include <IntegrationContracts.h>
-#include <CafContracts.h>
 #include <Integration.h>
 #include <DocXml.h>
 #include <DocUtils.h>
index d66d5d1ec4e32ca9f84647db61a225c6aee7277d..0fc2516d461141f00163a3ab53b1eca702ebb444 100644 (file)
@@ -12,7 +12,6 @@
 #include "../../Framework/src/Doc/DocXml/ResponseXml/ResponseXmlLink.h"
 #include "../../Framework/src/Doc/DocUtils/DocUtilsLink.h"
 #include "../include/IProviderResponse.h"
-#include <CafContracts.h>
 
 using namespace Caf;
 
index 9f8595cdf91742fd77f7cf08da6996a51a00f3e9..17d996656849e72e3be2e4c80000f4798bf95083 100644 (file)
@@ -12,7 +12,6 @@
 //{{CAF_SUBSYSTEM}}
 
 #include <CommonDefines.h>
-#include <CafContracts.h>
 #include <DocXml.h>
 #include <DocUtils.h>
 #include <Integration.h>
index 8bb3210464723b139ba3e73a7f525e2352136d3f..71148568bd1f0b69b3180a79ec2ca564af21fea5 100644 (file)
@@ -24,7 +24,8 @@
       channel="eventOutFileChannel"
       amqp-template="amqpTemplate"
       exchange-name="client.mgmt.event"
-      routing-key="caf.event" />
+      routing-key="caf.event"
+      mapped-request-headers="caf.msg.*|amqp*" />
 
    <rabbit-inbound-channel-adapter
       id="amqpRequestInboundChannel"
index 71409b511c9f4471bbdaeb5db1cb70133db2741c..45fce8fceaa3b4f2e15662cbaa46abb3360fcb26 100644 (file)
                input-channel="payloadHeaderEnricherChannel"
                output-channel="headerValueRouterChannel">
 
-               <!-- Splits the single request into the processing components that require very different processing; 
+               <!-- Splits the single request into the processing components that require very different processing;
                     collect schema vs. collect instances / invoke method. Also splits requests by provider. -->
                <splitter
                        id="phReqSplitter"
                output-channel="nullChannel"
                ref="errorToResponseTransformerBean"/>
 
-       <bean
+       <channel id="configenvOutboundChannel"/>
+       <bean
                id="maIntegrationObjects"
                class="com.vmware.commonagent.maintegration.integrationobjects" />
-
-       <channel id="configenvOutboundChannel"/>
+       <bean
+               id="configenvBean"
+               class="com.vmware.commonagent.maintegration.configenv"/>
+       <bean
+               id="persistenceNsdbBean"
+               class="com.vmware.commonagent.maintegration.persistencenamespacedb"/>
 
        <persistence-inbound-channel-adapter
                id="persistenceInboundChannelAdapterId"
                channel="configenvOutboundChannel"
-               impl-class="com.vmware.commonagent.maintegration.persistencenamespacedb">
+               ref="persistenceNsdbBean">
                <poller fixed-rate="30000"/>
        </persistence-inbound-channel-adapter>
 
        <configenv-outbound-channel-adapter
                id="configenvOutboundChannelAdapterId"
                channel="configenvOutboundChannel"
-               impl-class="com.vmware.commonagent.maintegration.configenv"/>
+               ref="configenvBean"
+               remove-ref="persistenceNsdbBean"/>
 
-<!--
-       <channel id="persistenceOutboundChannel"/>
+       <channel id="persistenceOutboundChannel"/>
 
        <configenv-inbound-channel-adapter
                id="configenvInboundChannelAdapterId"
                channel="persistenceOutboundChannel"
-               impl-class="com.vmware.commonagent.maintegration.configenv">
+               ref="configenvBean">
                <poller fixed-rate="30000"/>
        </configenv-inbound-channel-adapter>
 
        <persistence-outbound-channel-adapter
                id="persistenceOutboundChannelAdapterId"
                channel="persistenceOutboundChannel"
-               impl-class="com.vmware.commonagent.maintegration.persistencenamespacedb"/>
- -->
+               ref="persistenceNsdbBean"/>
 </caf:beans>
index 3fe651d1f9447c0de2d12beb151c3153f4589f13..30620185a5f6c741ff2af2ac7427b12763925f59 100644 (file)
@@ -27,8 +27,8 @@ function enableCaf() {
    validateNotEmpty "$password" "password"
 
    local uriFile="$CAF_INPUT_DIR/persistence/protocol/amqpBroker_default/uri.txt"
-   sed -i "s/@amqpUsername@/${username}/g" "$uriFile"
-   sed -i "s/@amqpPassword@/${password}/g" "$uriFile"
+   sed -i "s/#amqpUsername#/${username}/g" "$uriFile"
+   sed -i "s/#amqpPassword#/${password}/g" "$uriFile"
 }
 
 function setBroker() {
@@ -36,7 +36,7 @@ function setBroker() {
    validateNotEmpty "$brokerAddr" "brokerAddr"
 
    local uriFile="$CAF_INPUT_DIR/persistence/protocol/amqpBroker_default/uri.txt"
-   sed -i "s/@brokerAddr@/$brokerAddr/g" "$uriFile"
+   sed -i "s/#brokerAddr#/$brokerAddr/g" "$uriFile"
 }
 
 function prtHelp() {
@@ -51,7 +51,6 @@ function prtHelp() {
    echo "  * validateXml                              Validates the XML files against the published schema"
    echo "  * validateInstall                          Validates that the files are in the right locations and have the right permissions"
    echo "  * validateOVTInstall                       Validates that the files are in the right locations for OVT and have the right permissions"
-   echo "  * checkFsPerms                             Checks the permissions, owner and group of the major CAF directories and files"
    echo ""
    echo "  * clearCaches                              Clears the CAF caches"
 }
@@ -123,6 +122,133 @@ function checkTunnel() {
    popd > /dev/null
 }
 
+function validateInstall() {
+   checkFsPermsAll
+   checkFileExistsBin
+   checkFileExistsLib
+   checkFileExistsConfig
+   checkFileExistsScripts
+   checkFileExistsInstall
+   checkFileExistsInvokers
+   checkFileExistsProviderReg
+}
+
+function checkFsPermsAll() {
+   checkFsPerms "$CAF_INPUT_DIR" "755"
+   checkFsPerms "$CAF_OUTPUT_DIR" "755"
+   checkFsPerms "$CAF_LOG_DIR" "755"
+   checkFsPerms "$CAF_BIN_DIR" "755"
+   checkFsPerms "$CAF_LIB_DIR" "755"
+}
+
+function checkFileExistsBin() {
+   checkFileExists "$CAF_BIN_DIR/CommAmqpListener"
+   checkFileExists "$CAF_BIN_DIR/ConfigProvider"
+   checkFileExists "$CAF_BIN_DIR/InstallProvider"
+   checkFileExists "$CAF_BIN_DIR/ManagementAgentHost"
+   checkFileExists "$CAF_BIN_DIR/RemoteCommandProvider"
+   checkFileExists "$CAF_BIN_DIR/TestInfraProvider"
+   checkFileExists "$CAF_BIN_DIR/VGAuthService"
+   checkFileExists "$CAF_BIN_DIR/vmware-vgauth-cmd"
+}
+
+function checkFileExistsLib() {
+   checkFileExists "$CAF_LIB_DIR/libCafIntegrationSubsys.so"
+   checkFileExists "$CAF_LIB_DIR/libCommAmqpIntegration.so"
+   checkFileExists "$CAF_LIB_DIR/libCommAmqpIntegrationSubsys.so"
+   checkFileExists "$CAF_LIB_DIR/libCommIntegrationSubsys.so"
+   checkFileExists "$CAF_LIB_DIR/libFramework.so"
+   checkFileExists "$CAF_LIB_DIR/libIntegrationSubsys.so"
+   checkFileExists "$CAF_LIB_DIR/libMaIntegrationSubsys.so"
+   checkFileExists "$CAF_LIB_DIR/libProviderFx.so"
+   checkFileExists "$CAF_LIB_DIR/libVgAuthIntegrationSubsys.so"
+   checkFileExists "$CAF_LIB_DIR/libcom_err.so.3"
+   checkFileExists "$CAF_LIB_DIR/libcrypto.so.1.0.2"
+   checkFileExists "$CAF_LIB_DIR/libgcc_s.so.1"
+   checkFileExists "$CAF_LIB_DIR/libglib-2.0.so.0.3400.3"
+   checkFileExists "$CAF_LIB_DIR/libgthread-2.0.so.0.3400.3"
+   checkFileExists "$CAF_LIB_DIR/liblog4cpp.so.5.0.6"
+   checkFileExists "$CAF_LIB_DIR/librabbitmq.so.4.1.4"
+   checkFileExists "$CAF_LIB_DIR/libssl.so.1.0.2"
+   checkFileExists "$CAF_LIB_DIR/libstdc++.so.6.0.13"
+   checkFileExists "$CAF_LIB_DIR/libvgauth.so"
+   checkFileExists "$CAF_LIB_DIR/libxerces-c-3.1.so"
+   checkFileExists "$CAF_LIB_DIR/libxml-security-c.so.16"
+   checkFileExists "$CAF_LIB_DIR/libz.so.1.2.3"
+}
+
+function checkFileExistsConfig() {
+   checkFileExists "$CAF_CONFIG_DIR/CommAmqpListener-appconfig"
+   checkFileExists "$CAF_CONFIG_DIR/CommAmqpListener-context-amqp.xml"
+   checkFileExists "$CAF_CONFIG_DIR/CommAmqpListener-context-common.xml"
+   checkFileExists "$CAF_CONFIG_DIR/CommAmqpListener-context-tunnel.xml"
+   checkFileExists "$CAF_CONFIG_DIR/CommAmqpListener-log4cpp_config"
+   checkFileExists "$CAF_CONFIG_DIR/IntBeanConfigFile.xml"
+   checkFileExists "$CAF_CONFIG_DIR/cafenv-appconfig"
+   checkFileExists "$CAF_CONFIG_DIR/ma-appconfig"
+   checkFileExists "$CAF_CONFIG_DIR/ma-context.xml"
+   checkFileExists "$CAF_CONFIG_DIR/ma-log4cpp_config"
+   checkFileExists "$CAF_CONFIG_DIR/providerFx-appconfig"
+   checkFileExists "$CAF_CONFIG_DIR/providerFx-log4cpp_config"
+   checkFileExists "$CAF_CONFIG_DIR/persistence-appconfig"
+}
+
+function checkFileExistsScripts() {
+   checkFileExists "$CAF_CONFIG_DIR/../scripts/caf-common"
+   checkFileExists "$CAF_CONFIG_DIR/../scripts/caf-processes.sh"
+   checkFileExists "$CAF_CONFIG_DIR/../scripts/setUpVgAuth"
+   checkFileExists "$CAF_CONFIG_DIR/../scripts/start-VGAuthService"
+   checkFileExists "$CAF_CONFIG_DIR/../scripts/start-listener"
+   checkFileExists "$CAF_CONFIG_DIR/../scripts/start-ma"
+   checkFileExists "$CAF_CONFIG_DIR/../scripts/startTestProc"
+   checkFileExists "$CAF_CONFIG_DIR/../scripts/stop-VGAuthService"
+   checkFileExists "$CAF_CONFIG_DIR/../scripts/stop-listener"
+   checkFileExists "$CAF_CONFIG_DIR/../scripts/stop-ma"
+   checkFileExists "$CAF_CONFIG_DIR/../scripts/tearDownVgAuth"
+   checkFileExists "$CAF_CONFIG_DIR/../scripts/vgAuth"
+}
+function checkFileExistsInstall() {
+   checkFileExists "$CAF_CONFIG_DIR/../install/caf-c-communication-service"
+   checkFileExists "$CAF_CONFIG_DIR/../install/caf-c-management-agent"
+   checkFileExists "$CAF_CONFIG_DIR/../install/caf-dbg.sh"
+   checkFileExists "$CAF_CONFIG_DIR/../install/caf-vgauth"
+   checkFileExists "$CAF_CONFIG_DIR/../install/commonenv.sh"
+   checkFileExists "$CAF_CONFIG_DIR/../install/install.sh"
+   checkFileExists "$CAF_CONFIG_DIR/../install/postinstallInstall.sh"
+   checkFileExists "$CAF_CONFIG_DIR/../install/postinstallUpgrade.sh"
+   checkFileExists "$CAF_CONFIG_DIR/../install/preinstallUpgrade.sh"
+   checkFileExists "$CAF_CONFIG_DIR/../install/preremoveUninstall.sh"
+   checkFileExists "$CAF_CONFIG_DIR/../install/preuninstall.sh"
+   checkFileExists "$CAF_CONFIG_DIR/../install/preupgrade.sh"
+   checkFileExists "$CAF_CONFIG_DIR/../install/restartServices.sh"
+   checkFileExists "$CAF_CONFIG_DIR/../install/stopAndRemoveServices.sh"
+   checkFileExists "$CAF_CONFIG_DIR/../install/upgrade.sh"
+}
+
+function checkFileExistsInvokers() {
+   checkFileExists "$CAF_INVOKERS_DIR/cafTestInfra_CafTestInfraProvider_1_0_0.sh"
+   checkFileExists "$CAF_INVOKERS_DIR/caf_ConfigProvider_1_0_0.sh"
+   checkFileExists "$CAF_INVOKERS_DIR/caf_InstallProvider_1_0_0.sh"
+   checkFileExists "$CAF_INVOKERS_DIR/caf_RemoteCommandProvider_1_0_0.sh"
+}
+
+function checkFileExistsProviderReg() {
+   checkFileExists "$CAF_INPUT_DIR/providerReg/cafTestInfra_CafTestInfraProvider_1_0_0.xml"
+   checkFileExists "$CAF_INPUT_DIR/providerReg/caf_ConfigProvider_1_0_0.xml"
+   checkFileExists "$CAF_INPUT_DIR/providerReg/caf_InstallProvider_1_0_0.xml"
+   checkFileExists "$CAF_INPUT_DIR/providerReg/caf_RemoteCommandProvider_1_0_0.xml"
+}
+
+function checkFileExists() {
+   local path="$1"
+   validateNotEmpty "$path" "path"
+
+   if [ ! -f "$path" ]; then
+      echo "*** File existence check failed - expected: $path"
+      exit 1
+   fi
+}
+
 function checkFsPerms() {
    local dirOrFile="$1"
    local permExp="$2"
index 02937f3e5b5a09470815b93285c3c71185c0d205..0a2f1e27772056800039a59dde87e30849e527eb 100644 (file)
@@ -23,7 +23,7 @@ baseLibDir='/usr/lib'
 baseBinDir='/usr/lib'
 baseInputDir='/var/lib'
 baseOutputDir='/var/lib'
-brokerAddr='@brokerAddr@'
+brokerAddr='#brokerAddr#'
 linkSo='yes'
 
 #Help function
@@ -117,8 +117,6 @@ configDir="$baseEtcDir/config"
 installDir="$baseEtcDir/install"
 scriptDir="$baseEtcDir/scripts"
 
-brokerUriOpts="vhost=caf;connection_timeout=150000;connection_retries=10;connection_seconds_to_wait=10;channel_cache_size=3"
-
 #Ensure directories exist
 mkdir -p "$outputDir"
 mkdir -p "$persistenceDir"
@@ -143,17 +141,11 @@ fi
 
 tunnelPort=$(netstat -ldn | egrep ":6672 ")
 if [ -f "$vcidPath" -a "$tunnelPort" != "" ]; then
-       commAmqpListenerContext="$configDir/CommAmqpListener-context-tunnel.xml"
-       brokerUri="tunnel:agentId1:bogus@localhost:6672/${reactiveRequestAmqpQueueId}?${brokerUriOpts}"
+       brokerUri="tunnel:agentId1:bogus@localhost:6672/${reactiveRequestAmqpQueueId}"
 else
-       commAmqpListenerContext="$configDir/CommAmqpListener-context-amqp.xml"
-       brokerUri="amqp:@amqpUsername@:@amqpPassword@@${brokerAddr}:5672/${reactiveRequestAmqpQueueId}?${brokerUriOpts}"
+       brokerUri="amqp:#amqpUsername#:#amqpPassword#@${brokerAddr}:5672/${reactiveRequestAmqpQueueId}"
 fi
 
-echo "[globals]" > "$configDir/persistence-appconfig"
-echo "reactive_request_amqp_queue_id=$reactiveRequestAmqpQueueId" >> "$configDir/persistence-appconfig"
-echo "comm_amqp_listener_context=$commAmqpListenerContext" >> "$configDir/persistence-appconfig"
-
 echo -n "$brokerUri" > "$amqpBrokerDir/uri.txt"
 echo -n "$reactiveRequestAmqpQueueId" > "$localDir/localId.txt"