Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

Summary

The OSIDs (available from osid.org) are the service interface definitions. This wiki has information about the OSIDs and the Okapia open-source implementation.

Table of Contents
excludeSummary

Try An Example

Clone a sample application and OSID Provider:

Code Block
% git clone githttps://git.assembla.com/osidbitbucket.org/okapia/9-planets-sample.git
% cd osid9-planets-sample
% make run

If you count nine planets, your OSID environment is working. Anything less would be a serious problem.

What It Does

OSID Consumer

net.okapia.osid.sample.Test illustrates the basics of consuming an OSID. 

  • Starting up the OSID Runtime environment.
  • Loading a Resource OSID Provider
  • Getting some stuff from it.

OSID Provider

The OSID Resource Provider is net.okapia.osid.sample.providers.resource.solarsystem. It demonstrates the basics of an OSID Provider using the Okapia OSID implementation framework.

  • An OsidManager.
  • Setting up the identity of the service provider.
  • Implementing a simple OsidSession.
  • Implementing an OsidRecord attached to an OsidObject.

Configuration

An example configuration for this OSID Resource Provider is net.okapia.osid.sample.providers.resource.solarsystem.ResourceManager.xml.