[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cosmos-dev] COSMOS SDD first draft
|
--
Mark McCraw
919.531.2787
http://www.sas.com
SAS Institute Inc.
SAS Campus Drive
Cary, NC 27513
<?xml version="1.0" encoding="UTF-8"?>
<sdd-pd:PackageDescriptor xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:p="http://docs.oasis-open.org/sdd/ns/common"
xmlns:sdd-pd="http://docs.oasis-open.org/sdd/ns/packageDescriptor"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://docs.oasis-open.org/sdd/ns/packageDescriptor cd04-sdd-packageDescriptor-1.0.xsd http://www.w3.org/2000/09/xmldsig# http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd http://docs.oasis-open.org/sdd/ns/common http://docs.oasis-open.org/sdd/v1.0/cd04/cd04-sdd-common-1.0.xsd ">
<sdd-pd:PackageIdentity>
<p:Name>COSMOS-Server-Side-Files</p:Name>
<p:Description>We think this zip includes mostly the server-side files that run whatever it is
that COSMOS is.</p:Description>
</sdd-pd:PackageIdentity>
<sdd-pd:Contents>
<sdd-pd:Content id="COSMOS-Main-Zip"
pathname="cosmos-dr-incubation-COSMOS-1.0.0-200802261616.zip" purpose="content"/>
<sdd-pd:Content pathname="COSMOS-Deployment-Descriptor.xml"
id="COSMOS-Main-DeploymentDescriptor" purpose="deploymentDescriptor"/>
<sdd-pd:Content pathname="cosmos-dr-incubation-COSMOS-1.0.0-200802261616.metadata.xml"
id="COSMOS-Main-Zip-Metadata"/>
</sdd-pd:Contents>
</sdd-pd:PackageDescriptor>
<?xml version="1.0" encoding="UTF-8"?>
<sdd-dd:DeploymentDescriptor xmlns:p="http://docs.oasis-open.org/sdd/ns/common"
xmlns:sdd-dd="http://docs.oasis-open.org/sdd/ns/deploymentDescriptor"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://docs.oasis-open.org/sdd/ns/deploymentDescriptor cd04-sdd-deploymentDescriptor-1.0.xsd http://docs.oasis-open.org/sdd/ns/common http://docs.oasis-open.org/sdd/v1.0/cd04/cd04-sdd-common-1.0.xsd ">
<sdd-dd:Topology>
<sdd-dd:Resource id="COSMOS-Server-Operating-System" type="sp:CIM_OperatingSystem">
<sdd-dd:HostedResource type="sp:CIM_FileSystem" id="Unzip-File-System">
<sdd-dd:Description>The file system that hosts the unzip location</sdd-dd:Description>
<sdd-dd:HostedResource type="sp:CIM_Directory" id="Unzip-Directory">
<sdd-dd:Name>$(UnzipLocation)</sdd-dd:Name>
</sdd-dd:HostedResource>
</sdd-dd:HostedResource>
<sdd-dd:HostedResource type="QName" id="COSMOS-Zip-Extractor">
<sdd-dd:Description>We are very nervous about putting a piece of the runtime into
the topology. Consider this a prompt for a discussion about implications and
alternatives. In this case, the runtime does not just "glue" the SDD's XML
artifact description to the install program, it also provides the install
program, i.e. the extractor. </sdd-dd:Description>
</sdd-dd:HostedResource>
</sdd-dd:Resource>
</sdd-dd:Topology>
<sdd-dd:InstallableUnit targetResourceRef="COSMOS-Zip-Extractor" id="123456789012345">
<sdd-dd:Variables>
<sdd-dd:Parameters>
<sdd-dd:URIParameter id="UnzipLocation">
<sdd-dd:Description>The unzip location is where the COSMOS Main zip file will be
initially unzipped. The configuration SDD will move these files to their
final destinations.</sdd-dd:Description>
</sdd-dd:URIParameter>
</sdd-dd:Parameters>
</sdd-dd:Variables>
<sdd-dd:Requirements>
<sdd-dd:Requirement operation="install" id="Operating System Requirements">
<sdd-dd:Alternative id="Linux-Alternative">
<sdd-dd:ResourceConstraint resourceRef="COSMOS-Server-Operating-System"
id="ResourceConstraint1ID">
<sdd-dd:PropertyConstraint>
<sdd-dd:PropertyName>OSTYPE</sdd-dd:PropertyName>
<sdd-dd:Value>LINUX</sdd-dd:Value>
</sdd-dd:PropertyConstraint>
</sdd-dd:ResourceConstraint>
</sdd-dd:Alternative>
<sdd-dd:Alternative id="Windows-Alternative">
<sdd-dd:ResourceConstraint resourceRef="COSMOS-Server-Operating-System"
id="ResourceConstraint2ID">
<sdd-dd:PropertyConstraint>
<sdd-dd:PropertyName>OSTYPE</sdd-dd:PropertyName>
<sdd-dd:Value>Windows XP</sdd-dd:Value>
</sdd-dd:PropertyConstraint>
</sdd-dd:ResourceConstraint>
</sdd-dd:Alternative>
</sdd-dd:Requirement>
<sdd-dd:Requirement operation="install" id="Availalbe-Space-Requirement">
<sdd-dd:ResourceConstraint resourceRef="Unzip-File-System" id="RC3ID">
<sdd-dd:CapacityConstraint>
<sdd-dd:Description> sdd-dd:Description </sdd-dd:Description>
<sdd-dd:PropertyName>QName</sdd-dd:PropertyName>
<sdd-dd:Value/>
</sdd-dd:CapacityConstraint>
</sdd-dd:ResourceConstraint>
</sdd-dd:Requirement>
</sdd-dd:Requirements>
<sdd-dd:ResultingResource resourceRef="sp:CIM_Directory">
<sdd-dd:Description>The unzip directory will exist and contain all the files in the zip
archive after the zip artifact is processed.</sdd-dd:Description>
</sdd-dd:ResultingResource>
<sdd-dd:Artifacts>
<sdd-dd:InstallArtifact contentRef="COSMOS-Main-Zip"
type="cosmosRuntimeProfile:COSMOS-ZIP">
<sdd-dd:Arguments>
<sdd-dd:Argument name="UnzipLocation" value="$(UnzipLocation)"/>
</sdd-dd:Arguments>
<sdd-dd:AdditionalContent contentRef="COSMOS-Main-Zip-Metadata"
> </sdd-dd:AdditionalContent>
</sdd-dd:InstallArtifact>
</sdd-dd:Artifacts>
</sdd-dd:InstallableUnit>
</sdd-dd:DeploymentDescriptor>