Project

General

Profile

Story #6711

Add extensible key/value metadata to Node Registry structures

Added by Matthew Jones over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
d1_schemas
Target version:
Start date:
2014-12-01
Due date:
2014-12-17
% Done:

100%

Story Points:
Sprint:

Description

The current Node XML schema structure (see http://jenkins-1.dataone.org/jenkins/job/API%20Documentation%20-%20trunk/ws/api-documentation/build/html/apis/Types.html#Types.Node) has a fixed set of fields for describing required details of a node. For user interface purposes, we need structured metadata about nodes that we can reliablly retrieve but that is extensible over time. Addition of simple, repeatable key/value pair would allow us to add to the node registry descriptions and use the field keys by convention. For example, in the UI we need the following metadata about nodes:

  • NodeLatitude: {latitude of the node in decimal degrees}
  • NodeLongitude: {longitude of the node in decimal degrees}
  • NodeContactName: {name for current node contact}
  • NodeContactEmail: {email for current node contact}
  • NodeWebURL: {URL of links to the main MN web presence, different than baseURL}
  • NodeAffiliation: {Institution name}
  • NodeLogo: {BINHEX encoded png or other image file}

The addition to the schema could be a simple key/nodemetadata pair like so, that is added as an optional repeatable element to the Node structure:

@

xs:simpleContent


/xs:attribute
/xs:extension
/xs:simpleContent
/xs:complexType
@

and within the Node definition, we would add:
@

@


Related issues

Related to CN REST - Story #7197: Test changes to Node Registry Closed 2015-08-06

History

#1 Updated by Matthew Jones over 9 years ago

  • Start date set to 2014-12-01
  • Due date set to 2014-12-17
  • Target version set to CCI-2.0.0

#2 Updated by Matthew Jones over 9 years ago

  • Category set to d1_schemas
  • Milestone changed from None to CCI-2.0
  • Tracker changed from Feature to Story
  • Description updated (diff)

#3 Updated by Matthew Jones over 9 years ago

  • Description updated (diff)

#4 Updated by Dave Vieglais almost 9 years ago

  • % Done changed from 0 to 30
  • Status changed from New to In Progress
  • Assignee set to Dave Vieglais

This was added to dataoneTypes_v2.0.xsd bey Leinfelder, r14126

#5 Updated by Dave Vieglais almost 9 years ago

  • Target version changed from CCI-2.0.0 to CCI-2.0-TRUNK

#6 Updated by Dave Vieglais almost 9 years ago

  • Status changed from In Progress to Testing
  • % Done changed from 30 to 50

#7 Updated by Dave Vieglais almost 9 years ago

  • Related to Story #7197: Test changes to Node Registry added

#8 Updated by Dave Vieglais almost 9 years ago

  • Target version changed from CCI-2.0-TRUNK to CCI-2.0.0

#9 Updated by Ben Leinfelder over 8 years ago

  • Status changed from Testing to Closed
  • % Done changed from 50 to 100

Implementation and unit test now in trunk.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)