head 1.12;
access;
symbols;
locks; strict;
comment @# @;
1.12
date 2007.01.09.00.00.00; author MoinMoin; state Exp;
branches;
next 1.11;
1.11
date 2007.01.09.00.00.00; author MoinMoin; state Exp;
branches;
next 1.10;
1.10
date 2007.01.09.00.00.00; author MoinMoin; state Exp;
branches;
next 1.9;
1.9
date 2007.01.09.00.00.00; author MoinMoin; state Exp;
branches;
next 1.8;
1.8
date 2007.01.09.00.00.00; author MoinMoin; state Exp;
branches;
next 1.7;
1.7
date 2007.01.09.00.00.00; author MoinMoin; state Exp;
branches;
next 1.6;
1.6
date 2007.01.09.00.00.00; author MoinMoin; state Exp;
branches;
next 1.5;
1.5
date 2007.01.09.00.00.00; author MoinMoin; state Exp;
branches;
next 1.4;
1.4
date 2007.01.09.00.00.00; author MoinMoin; state Exp;
branches;
next 1.3;
1.3
date 2007.01.09.00.00.00; author MoinMoin; state Exp;
branches;
next 1.2;
1.2
date 2007.01.09.00.00.00; author MoinMoin; state Exp;
branches;
next 1.1;
1.1
date 2007.01.09.00.00.00; author MoinMoin; state Exp;
branches;
next ;
desc
@Initial revision
@
1.12
log
@Revision 12
@
text
@Currently (August 2006) a capabilities response (without dynamic output models) looks like:
2
10
20
500
500
But when the specification was being prepared and PyWrapper being updated, it has been recognized that the "view" operation and the understanding of templates and output models was confusing. So to help making the protocol clearer and more symmetric, a new capabilities proposal was made, mainly removing the view operation and allowing the different levels of provider implementation to be expressed through other capabilities elements. So a new capabilities response would now look like:
(optional)
(optional)
...
(optional)
(optional)
(optional)
...
(optional)
(optional)
...
(optional)
...xml schema options...
(= URL key-value pairs)
(optional)
accepted
(optional)
....
....
....
....
---++ Additional constraints that go beyond the protocol schema
---+++ Inventory operation
If a provider supports the inventory operation, it must advertise either one or more inventory templates, or the capability. But this is still not a choice, because it can actually advertise both things (even supporting a provider may wish to point to useful inventory templates). So the only situation not accepted is to advertise inventory with an empty element.
Additionally, if a provider supports , it must understand filters.
---+++ Search operation
If a provider supports the search operation, it must advertise either one or more search templates, or the capability. But this is still not a choice, because it can actually advertise both things (even supporting a provider may wish to point to useful search templates). So the only situation not accepted is to advertise search with an empty element.
The same is valid for the section: if present, then a provider should either indicate one or more or the capability. Both can be advertised, but an empty element will be considered wrong.
Additionally, if a provider supports , it must undertand filters, partial selection and order by parameters. But it can optionally support .
---++ Suggested levels of provider implementations
---+++ TAPIRLite
TapirLite only supports KVP request encoding and templates for both inventory and search (with no additional parameters).
---+++ Intermediate TAPIR
Supports inventory on any concepts (and therefore supports order by and filter parameters). Supports search only based on known output models (and therefore supports partial selection, order by and filter parameters).
---+++ Full TAPIR
Supports inventory on any concepts and supports search with any output model (provided it maps to known concepts).
@
1.11
log
@Revision 11
@
text
@d151 1
a151 1
@
1.10
log
@Revision 10
@
text
@d186 1
a186 1
If a provider supports , it must understand filters.
d190 1
a190 1
If a provider supports the search operation, it must advertise either one or more search templates, or the capability. But this is still not a choice, because it can actually advertise both things (even supporting a provider may wish to point to useful search templates). So the only situation not accepted is to advertise search with an empty element.
d192 3
a194 1
If a provider supports , it must undertand filters, partial selection and order by parameters. But it can optionally support .
@
1.9
log
@Revision 9
@
text
@d198 1
a198 1
Only supports KVP request encoding and templates for both inventory and search (with no additional parameters).
@
1.8
log
@Revision 8
@
text
@d186 1
a186 1
If a provider supports , it must understand filters and order by parameters.
@
1.7
log
@Revision 7
@
text
@d206 1
a206 1
Supports inventory on any concepts and supports any output models (provided they reference output models that map to known concepts.
@
1.6
log
@Revision 6
@
text
@d198 1
a198 1
Only supports KVP request encoding and templates for both inventory and search. Doesn't support filters as well.
@
1.5
log
@Revision 5
@
text
@d193 14
@
1.4
log
@Revision 4
@
text
@d141 1
a141 1
(optional)
d158 1
a158 2
d160 1
a160 2
@
1.3
log
@Revision 3
@
text
@d188 7
a194 1
If a provider supports , it must understand filters and order by instructions.
@
1.2
log
@Revision 2
@
text
@d181 8
@
1.1
log
@Initial revision
@
text
@a144 2
@