Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

XDI4j Endpoints

About

This page documents several demo XDI4j endpoints which can be talked to via XDI Messaging.

Native XDI endpoints

A native XDI endpoint is backed by an actual XDI document and can potentially process any XDI message.

http://graceland.parityinc.net/xdi-endpoint/mem-graph/

  • This is an XDI endpoint backed by an in-memory store.
  • Versioning: disabled. Link contracts: disabled.

http://graceland.parityinc.net/xdi-endpoint/mem-graph-ver/

  • This is an XDI endpoint backed by an in-memory store.
  • Versioning: enabled. Link contracts: disabled.

http://graceland.parityinc.net/xdi-endpoint/xml-graph/

  • This is an XDI endpoint backed by an XDI/XML store.
  • Versioning: disabled. Link contracts: disabled.

http://graceland.parityinc.net/xdi-endpoint/xml-graph-ver/

  • This is an XDI endpoint backed by an XDI/XML store.
  • Versioning: enabled. Link contracts: disabled.

http://graceland.parityinc.net/xdi-endpoint/bdb-graph/

  • This is an XDI endpoint backed by a Berkely DB store.
  • Versioning: disabled. Link contracts: disabled.

http://graceland.parityinc.net/xdi-endpoint/bdb-graph-ver/

  • This is an XDI endpoint backed by a Berkely DB store.
  • Versioning: enabled. Link contracts: disabled.

http://graceland.parityinc.net/xdi-endpoint/hibernate-graph-ver/

  • This is an XDI endpoint backed by a Hibernate store using an Apache Derby database.
  • Versioning: enabled. Link contracts: disabled.

http://graceland.parityinc.net/xdi-endpoint/x3-graph/

  • This is an XDI endpoint backed by a X3 text file.
  • Versioning: disabled. Link contracts: disabled.

Non-native XDI endpoints

These endpoints can also be accessed using XDI, but may not accept all messages.

http://graceland.parityinc.net/xdi-endpoint/xml-file/

  • This is an XDI endpoint backed by an XML file.
  • It accepts only $get messages.
  • Versioning: disabled. Link contracts: disabled.

http://graceland.parityinc.net/xdi-endpoint/xrd-file/

  • This is an XDI endpoint backed by an XRD file.
  • It accepts only $get messages.
  • Versioning: disabled. Link contracts: disabled.

http://graceland.parityinc.net/xdi-endpoint/text-file/

  • This is an XDI endpoint backed by a simple text file.
  • A $add message in the form [=yourname[$add[[$[$type$mime$text["test text"]]]]]] adds a line to the text file.
  • A $del message in the form [=yourname[$del+line*3]] deletes a line from the text file.
  • A $mod message in the form [=yourname[$mod[[+line*3[$type$mime$text["Edit line"]]]]]] replaces a line in the file.
  • A $get message in the form [=yourname[$get]] reads the whole file.
  • A $get message in the form [=yourname[$get+line*3]] reads a single line.
  • A $del message in the form [=yourname[$del]] deletes the whole file.
  • Versioning: disabled. Link contracts: disabled.

http://graceland.parityinc.net/xdi-idas/context-ldap/

  • This is an XDI endpoint backed by a Higgins IdAS LDAP context.
  • It is realized with the IdAS XDI Engine
  • It accepts only $get messages.
  • Versioning: disabled. Link contracts: disabled.

http://graceland.parityinc.net/xdi-endpoint/counter/

  • This is an XDI endpoint that exposes a single integer value.
  • A $add message increments the integer.
  • A $del message decrements the integer.
  • A $mod message can change the integer to an arbitrary value.
  • Versioning: disabled. Link contracts: disabled.

http://graceland.parityinc.net/xdi-endpoint/echo/

  • This is an XDI endpoint that simply returns all messages you send to it.
  • Versioning: disabled. Link contracts: disabled.

Back to the top