AnalyzedSDD.xml

From Eclipsepedia

Jump to: navigation, search
<?xml version="1.0" encoding="ASCII"?>
<Analyzedsdd:Analyzedsdd xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Analyzedsdd="http://www.ibm.com/Analyzedsdd"
    xmlns:sa="http://www.schema.changeanalyzer.sdd.ibm.com/analyzedsdd" xmlns:sdd-dd="http://docs.oasis-open.org/sdd/ns/deploymentDescriptor"
    xmlns:starterProfile="http://docs.oasis-open.org/sdd/ns/starterProfile" xsi:type="sa:AnalyzedSDDOutputType">
  <sa:Requirements>
    <sa:RequirementType>
      <sa:TotalConsumption>
        <sa:ResourcePropertyConsumption resourceReference="filesystem">
          <sa:PropertyName>http://docs.oasis-open.org/sdd/ns/starterProfile#CIM_FileSystem.AvailableSpace</sa:PropertyName>
          <sa:MinimumValue>2000</sa:MinimumValue>
          <sa:MaximumValue>2000</sa:MaximumValue>
          <sa:Unit>512-blocks</sa:Unit>
        </sa:ResourcePropertyConsumption>
      </sa:TotalConsumption>
      <sa:RequirementAbsolutes>
        <sa:RequirementAbsolute>
          <sa:UniqueAbsoluteResourceReference>
            <sa:uniqueResourceReferenceID>filesystem1</sa:uniqueResourceReferenceID>
            <sa:uniqueResourceReferenceID>installDir1</sa:uniqueResourceReferenceID>
          </sa:UniqueAbsoluteResourceReference>
        </sa:RequirementAbsolute>
      </sa:RequirementAbsolutes>
      <sa:RequirementOptions>
        <sa:Option OptionsId="Group1">
          <sa:Alternative AlternativeId="Alternative1">
            <sa:UniqueResourceReference>
              <sa:uniqueResourceReferenceID>os1</sa:uniqueResourceReferenceID>
            </sa:UniqueResourceReference>
            <sa:Consumption/>
          </sa:Alternative>
          <sa:Alternative AlternativeId="Alternative2">
            <sa:AlternativeName></sa:AlternativeName>
            <sa:UniqueResourceReference>
              <sa:uniqueResourceReferenceID>os2</sa:uniqueResourceReferenceID>
            </sa:UniqueResourceReference>
            <sa:Consumption/>
          </sa:Alternative>
        </sa:Option>
      </sa:RequirementOptions>
    </sa:RequirementType>
  </sa:Requirements>
  <sa:UniqueResources>
    <sa:UniqueResource uniqueResourceId="os1" sDDResourceIDReference="os" requireBase="false">
      <sa:Name xsi:nil="true"/>
      <sa:Property>
        <sdd-dd:PropertyName>starterProfile:CIM_OperatingSystem.OSType</sdd-dd:PropertyName>
        <sdd-dd:Value>LINUX</sdd-dd:Value>
      </sa:Property>
      <sa:Version>
        <sdd-dd:Supported>
          <sdd-dd:Range>
            <sdd-dd:MinVersion>5.0</sdd-dd:MinVersion>
          </sdd-dd:Range>
        </sdd-dd:Supported>
      </sa:Version>
    </sa:UniqueResource>
    <sa:UniqueResource uniqueResourceId="os2" sDDResourceIDReference="os" requireBase="false">
      <sa:Name xsi:nil="true"/>
      <sa:Property>
        <sdd-dd:PropertyName>starterProfile:CIM_OperatingSystem.OSType</sdd-dd:PropertyName>
        <sdd-dd:Value>Windows XP</sdd-dd:Value>
      </sa:Property>
      <sa:Version>
        <sdd-dd:Supported>
          <sdd-dd:Range>
            <sdd-dd:MinVersion>5.1.2600 SP2</sdd-dd:MinVersion>
          </sdd-dd:Range>
        </sdd-dd:Supported>
      </sa:Version>
    </sa:UniqueResource>
    <sa:UniqueResource uniqueResourceId="filesystem1" sDDResourceIDReference="filesystem"
        requireBase="false">
      <sa:Name xsi:nil="true"/>
      <sa:Consumption>
        <sdd-dd:PropertyName>starterProfile:CIM_FileSystem.AvailableSpace</sdd-dd:PropertyName>
        <sdd-dd:Value unit="512-blocks">2000</sdd-dd:Value>
      </sa:Consumption>
      <sa:Property>
        <sdd-dd:PropertyName>HostedBy</sdd-dd:PropertyName>
        <sdd-dd:Value>os</sdd-dd:Value>
      </sa:Property>
    </sa:UniqueResource>
    <sa:UniqueResource uniqueResourceId="installDir1" sDDResourceIDReference="installDir"
        requireBase="false">
      <sa:Name xsi:nil="true"/>
      <sa:Property>
        <sdd-dd:PropertyName>starterProfile:CIM_Directory.Root</sdd-dd:PropertyName>
        <sdd-dd:Value>$(installLocation)</sdd-dd:Value>
      </sa:Property>
      <sa:Property>
        <sdd-dd:PropertyName>HostedBy</sdd-dd:PropertyName>
        <sdd-dd:Value>filesystem</sdd-dd:Value>
      </sa:Property>
      <sa:Property>
        <sdd-dd:PropertyName>starterProfile:CIM_Directory.Writable</sdd-dd:PropertyName>
        <sdd-dd:Value>true</sdd-dd:Value>
      </sa:Property>
    </sa:UniqueResource>
  </sa:UniqueResources>
  <sa:Artifacts>
    <sa:Artifact>
      <sa:ArtifactId>Artifact1</sa:ArtifactId>
      <sa:ArtifactType>installArtifact</sa:ArtifactType>
      <sa:Type>zip</sa:Type>
      <sa:ArtifactFile>cosmosApp.zip</sa:ArtifactFile>
      <sa:Arguments>
        <sa:Argument>
          <sa:Name>installloc</sa:Name>
          <sa:Value>$(installLocation)</sa:Value>
        </sa:Argument>
      </sa:Arguments>
    </sa:Artifact>
  </sa:Artifacts>
  <sa:Variables>
    <sa:Variable Required="false">
      <sa:SDDVariableID>installLocation</sa:SDDVariableID>
      <sa:DefaultValue>$(installRoot)/COSMOS/1.0</sa:DefaultValue>
      <sa:Expression xsi:nil="true"/>
      <sa:Type>Parameter</sa:Type>
      <sa:ResourceRef xsi:nil="true"/>
    </sa:Variable>
    <sa:Variable VariableId="installRoot1" Required="false">
      <sa:SDDVariableID>installRoot</sa:SDDVariableID>
      <sa:Expression xsi:nil="true"/>
      <sa:Type>ConditionalDerivedVariable</sa:Type>
      <sa:ResourceRef xsi:nil="true"/>
    </sa:Variable>
    <sa:Variable VariableId="installRoot2" Required="false">
      <sa:SDDVariableID>installRoot</sa:SDDVariableID>
      <sa:Expression xsi:nil="true"/>
      <sa:Type>ConditionalDerivedVariable</sa:Type>
      <sa:ResourceRef xsi:nil="true"/>
    </sa:Variable>
  </sa:Variables>
  <sa:Completions/>
</Analyzedsdd:Analyzedsdd>