wiki:RuSqr

Version 2 (modified by fred, 14 years ago) (diff)

--

Web Interface

The web interface leverages the Freemarker template engine and allows users to access the SQR main functionalities.

Table of Contents

  1. Index Page
  2. Request Resources
  3. Browse Entities
  4. Register a new Binding
  5. Lookup Bindings
  6. Subscribe to Bindings

Index Page

From the index page at http://host:port/sqr/, you can select the functionality you want to access from the top menu.

Request Resources

From this page you can lookup resource descriptions either directly from the RD interface or through selector queries.

Browse Entities

From this page you can see the list of Entities of Interest that are currently registered in the ED.

Register a new Binding

From this page you can register a new Binding in the ED. The binding XML Stream has to satisfy the schema specified at https://ncit-cluster.grid.pub.ro/trac/Sensei-Cookbook/attachment/wiki/ED/binding.xsd, the server returns an error otherwise.

Lookup Bindings

From this page you can lookup the entries within the ED. You can do so either by using the form for simple queries or an XML Stream for complex ones.

For a simple query, a validation process takes place on the server side to verify that the following set of rules is satisfied.

The four first fields i.e. ID, ResourceID, Operation, ObservationArea? do not have any specific requirements.

When one of the fields EoI, Attribute, EntityType?, Value, QoA, QoI, Cost, an IOPEType has to be specified. As a matter of fact this part of the lookup will try to identify tuples of parameters e.g. (EoI, EntityType?) when an EoI and an EntityType? are specified that belongs to the same type of IOPE, for instance Input. The IOPEType parameter can take a value in the set {Input, Output, PreCondition?, PostCondition?, any}. The GUI returns a set of bindings matching the request.

For a complex query, the Template has to match the schema specified at https://ncit-cluster.grid.pub.ro/trac/Sensei-Cookbook/attachment/wiki/ED/binding.xsd, the server returns an error otherwise.

Subscribe to Bindings

From this page you can create a subscription to receive a notification whenever a binding relevant to your subscription has been added or modified. You can do so by using a simple form or an XML Stream. The subscriptions in both cases follow the same validity rules as for the Lookup queries as they rely on the same match making algorithm. In addition, a callback URL is required.


Attachments (11)

Download all attachments as: .zip