Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

  • Name changed from CollectionSettings to Repository settings.
  • Versioning switched to integer numbering.
  • Support for multiple collections in a bitrepository instance (Repository). This means that the collectionID elements has been replaced by a list of collection, each with a ID, a name and a list of pillars. See RepositorySettings.xsd for details.
  • Add configuration option to require checksums for pillar verification.
  • Add configuration option to require checksums for new files.
  • AuditTrail- and Status 'ContributorIDs' changed to 'NonPillarContributorIDs'.
  • Introducing (optional) dedicated topics for pillar, audittrail- and status contributors.

Upgrading from CollectionSettings 0.9

Using update script

A script for migrating the previous CollectionSettings 0.9 to a RepositorySettings 10 file can be found in the bitrepository-repository-settings-10-scripts.tar.gz as script/migration/migrateCollectionSettings.sh. The script will xsl transform a ./CollectionSettings.xml file into a RepositorySettings.xml file.

Manually
  1. Change the <CollectionID> element into A <Collections> element containing a <Collection> element with a <ID> element one and a <PillarIDs> element with one or more <PillarID> elements correspoding to the previous <PillarIDs> list under <ClientSettings>. Example:

    Change

    <CollectionID>SomeCollection</CollectionID>

    To

      <Collections>
        <Collection>
          <ID>SB-devel-test2</ID>
          <PillarIDs>
            <PillarID>tapepillar</PillarID>
            <PillarID>diskpillar</PillarID>
            <PillarID>refpillar</PillarID>
            <PillarID>checksumpillar</PillarID>
          </PillarIDs>
        </Collection>
      </Collections>
  2. Remove the previous PillarIDs list under ClientSettings.
  3. Change the <ContributorIDs> elements under the <GetAuditTrailSettings> and <GetStatusSettings> elements and remove all pillar contributors. Example:
    Change 

    <GetAuditTrailSettings>
      <ContributorIDs>tapepillar</ContributorIDs>
      <ContributorIDs>diskpillar</ContributorIDs>
      <ContributorIDs>refpillar</ContributorIDs>   
      <ContributorIDs>checksumpillar</ContributorIDs>
      <ContributorIDs>integrity-service</ContributorIDs>
    </GetAuditTrailSettings>
    <GetStatusSettings>
       <ContributorIDs>tapepillar</ContributorIDs>
       <ContributorIDs>diskpillar</ContributorIDs>
       <ContributorIDs>refpillar</ContributorIDs>
       <ContributorIDs>checksumpillar</ContributorIDs>
       <ContributorIDs>alarm-service</ContributorIDs>
       <ContributorIDs>audit-trail-service</ContributorIDs>
       <ContributorIDs>integrity-service</ContributorIDs>
    </GetStatusSettings>

    to
     

    <GetAuditTrailSettings>
      <NonPillarContributorIDs>integrity-service</NonPillarContributorIDs>
    </GetAuditTrailSettings>
    <GetStatusSettings>
      <NonPillarContributorIDs>alarm-service</NonPillarContributorIDs>
      <NonPillarContributorIDs>audit-trail-service</NonPillarContributorIDs>
      <NonPillarContributorIDs>integrity-service</NonPillarContributorIDs>
    </GetStatusSettings>
  • No labels