Project

General

Profile

Story #2167

Indirection service for long term support of schema and other persistent URLs

Added by Dave Vieglais almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Support Operations
Start date:
2012-01-05
Due date:
% Done:

100%

Story Points:
Sprint:

Description

There is a need for permanent URLs to support functionality such as the schemaLocation attribute of content conforming to the dataoneTypes.xsd schema.

Ideally, the schemaLocation should use the same URL as the namespace of the schema, and since the namespace can not change for a schema version, the schemaLocation must also not change regardless of where the schema is stored (e.g. in subversion vs some other revision control system).

This can be achieved through a redirection service, where the persistent URL resolves to a redirect to the current location of the content. For small sets of content, this can be managed through apache configuration files, though such a mechanism can become unwieldy as the number of indirects to be supported grows.

This story is to design an implement a mechanism that supports the immediate goals of aligning schemaLocation with the dataoneTypes.xsd schema location.

Thus the URL:

http://ns.dataone.org/service/types/v1

should resolve to:

https://repository.dataone.org/software/cicore/tags/D1_SCHEMA_1_0_0/dataoneTypes.xsd

History

#1 Updated by Dave Vieglais almost 13 years ago

  • Category changed from d1_schemas to Support Operations
  • Status changed from New to Closed
  • Assignee changed from Matthew Jones to Dave Vieglais

Implemented as follows:

DNS:

releases.dataone.org = A 129.24.0.11
ns.dataone.org = CNAME releases.dataone.org

Apache:

NameVirtualHost 129.24.0.11:80
NameVirtualHost 129.24.0.11:443

homedir of releases.dataone.org = /var/www/releases -> /var/dataone/releases
homedir of ns.datone.org = /var/www/ns -> /var/dataone/ns

Filesystem:

/var/dataone/ns/service/types/v1 -> /var/dataone/releases/online/D1_SCHEMA_1_0_0

So http(s)://ns.dataone.org/service/types/v1 resolves to D1_SCHEMA_1_0_0 folder containing dataoneTypes.xsd and dataoneErrors.xsd

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)