Versions Compared

Key

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

...

This actor establishes a connection to a Fedora Repository and sends a request using the Fedora REST API.

Source file :

FCRepoGETActor.py

Input ports :
  • repository : StringToken containing the base URL of the Fedora Repository.
  • method_uri : StringToken containing the URI for the REST API method to be executed.
  • username : StringToken containing the name of a Fedora Repository user with sufficient access authority to execute the method.
  • password : StringToken containing the password corresponding to the username.

...

This actor is a helper that determines the type of object returned by a GET request and reformats the output so that other Kepler actors can handle it.

Source file :

FormatSerializerActor.py

Input port:
  • in : ObjectToken containing the results of the method executed by a "FCRepo REST GET" actor.

...

This actor displays a SWING dialog that allows the user to enter parameters required to connect to a Fedora Repository.

Source file :

FCRepoDialogActor.py

Input ports :
  • None
Output port :

...

This actor displays a SWING dialog that allows the user to enter parameters required to connect to a Fedora Repository and access a particular datastream.

Source file :

FCRepoDatastreamDialogActor.py

Input port :
  • None
Output port:

...

DatastreamDisseminationActor

Source file :
Input port:
  • dialog_info : ObjectToken containing a Jython dictionary containing data from a form usbmitted via "FCRepo Datastream Dialog". Alternately, any Jython dictionary with the following keys:
    • fcrepoURL = base URL of the Fedora Repository.
    • username = name of a Fedora Repository user.
    • password = password corresponding to the username.
    • pid = identifier for object to be queried.
    • dsid = identifier of datastream to be queried.

...