This repository has been archived by the owner on Jan 3, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from barmintor/fcrepo-659
- Loading branch information
Showing
14 changed files
with
291 additions
and
603 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...rc/main/resources/dbspec/server/org/fcrepo/server/storage/resources/DBPIDGenerator.dbspec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<database> | ||
<table name="pidGen"> | ||
<comment>For each namespace the DBPIDGenerator keeps track of, | ||
the highestID is the highest known id ever used from that namespace. | ||
The PID generation algorithm simply increments this value to get | ||
the next id within the namespace.</comment> | ||
<column name="namespace" type="varchar(255)" notNull="true" binary="true"/> | ||
<column name="highestID" type="int(11)" notNull="true"/> | ||
</table> | ||
</database> |
13 changes: 13 additions & 0 deletions
13
...rc/main/resources/dbspec/server/org/fcrepo/server/storage/resources/DBPathRegistry.dbspec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<database> | ||
<table name="objectPaths" primaryKey="tokenDbID"> | ||
<column name="tokenDbID" type="int(11)" notNull="true" autoIncrement="true"/> | ||
<column name="token" type="varchar(64)" notNull="true" default="" unique="true"/> | ||
<column name="path" type="varchar(255)" notNull="true" default=""/> | ||
</table> | ||
<table name="datastreamPaths" primaryKey="tokenDbID"> | ||
<column name="tokenDbID" type="int(11)" notNull="true" autoIncrement="true"/> | ||
<column name="token" type="varchar(199)" notNull="true" default="" unique="true"/> | ||
<column name="path" type="varchar(255)" notNull="true" default=""/> | ||
</table> | ||
</database> |
Oops, something went wrong.